Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 436278

Summary: [test][model]RootGetPackageFragments2 Failed
Product: [Eclipse Project] JDT Reporter: shankha banerjee <shankhba>
Component: CoreAssignee: Jay Arthanareeswaran <jarthana>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jarthana, manoj.palat, shankhba
Version: 4.4   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
URL: http://download.eclipse.org/eclipse/downloads/drops4/I20140530-2000/testresults/html/org.eclipse.jdt.core.tests.model_linux.gtk.x86_64_8.0.html
Whiteboard: stalebug

Description shankha banerjee CLA 2014-05-31 06:59:57 EDT
Build ID: I20140530-2000


Unexpected packages. ----------- Expected ------------ <default> [in <project root> [in P]] ------------ but was ------------ <default> [in <project root> [in P]]\n bin [in <project root> [in P]]\n bin2 [in <project root> [in P]] --------- Difference is ---------- expected:<...roject root> [in P]][]> but was:<...roject root> [in P]][\n bin [in <project root> [in P]]\n bin2 [in <project root> [in P]]]>

junit.framework.ComparisonFailure: Unexpected packages.
----------- Expected ------------
<default> [in <project root> [in P]]
------------ but was ------------
<default> [in <project root> [in P]]\n
bin [in <project root> [in P]]\n
bin2 [in <project root> [in P]]
--------- Difference is ----------
expected:<...roject root> [in P]][]> but was:<...roject root> [in P]][\n
bin [in <project root> [in P]]\n
bin2 [in <project root> [in P]]]>
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:250)
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:226)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertElementsEqual(AbstractJavaModelTests.java:677)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertElementsEqual(AbstractJavaModelTests.java:655)
at org.eclipse.jdt.core.tests.model.JavaProjectTests.testRootGetPackageFragments2(JavaProjectTests.java:2205)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:104)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:88)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java:76)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:85)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:657)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:310)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 shankha banerjee CLA 2014-05-31 07:04:55 EDT
Did not fail locally.
Comment 2 shankha banerjee CLA 2014-07-21 00:00:22 EDT
testRootGetPackageFragments2 Failed again.

Build ID: N20140719-1500
Platform: Linux.
Comment 3 Sasikanth Bharadwaj CLA 2014-11-25 03:17:15 EST
Failed again

Build id N20141124-2000
platform: mac

details: Unexpected packages. ----------- Expected ------------ <default> [in <project root> [in P]] ------------ but was ------------ <default> [in <project root> [in P]]\n bin [in <project root> [in P]] --------- Difference is ---------- expected:<...roject root> [in P]][]> but was:<...roject root> [in P]][\n bin [in <project root> [in P]]]>

stacktrace: junit.framework.ComparisonFailure: Unexpected packages.
----------- Expected ------------
<default> [in <project root> [in P]]
------------ but was ------------
<default> [in <project root> [in P]]\n
bin [in <project root> [in P]]
--------- Difference is ----------
 expected:<...roject root> [in P]][]> but was:<...roject root> [in P]][\n
bin [in <project root> [in P]]]>
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:258)
	at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:234)
	at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertElementsEqual(AbstractJavaModelTests.java:677)
	at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertElementsEqual(AbstractJavaModelTests.java:655)
	at org.eclipse.jdt.core.tests.model.JavaProjectTests.testRootGetPackageFragments2(JavaProjectTests.java:2205)
	at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:104)
	at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:88)
	at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java:76)
	at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:85)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:657)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:310)
	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
	at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 4 Eclipse Genie CLA 2020-03-20 12:09:33 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.