Bug 441465

Summary: [test][model] testMoveCU05 Failed
Product: [Eclipse Project] JDT Reporter: shankha banerjee <shankhba>
Component: CoreAssignee: Jay Arthanareeswaran <jarthana>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: jarthana, manoj.palat, shankhba
Version: 4.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard: stalebug

Description shankha banerjee CLA 2014-08-10 07:48:32 EDT
Build ID: N20140809-1500

Test Results: http://download.eclipse.org/eclipse/downloads/drops4/N20140809-1500/testresults/html/org.eclipse.jdt.core.tests.model_linux.gtk.x86_64_8.0.html

Incorrect delta. ----------- Expected ------------ P[*]: {CHILDREN}\n src[*]: {CHILDREN}\n p1[*]: {CHILDREN}\n X.java[-]: {MOVED_TO(Y.java [in p2 [in src [in P]]])}\n p2[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[+]: {MOVED_FROM(X [in X.java [in p1 [in src [in P]]]])} ------------ but was ------------ P[*]: {CHILDREN}\n src[*]: {CHILDREN}\n p2[+]: {}\n \n P[*]: {CHILDREN}\n src[*]: {CHILDREN}\n p1[*]: {CHILDREN}\n X.java[-]: {MOVED_TO(Y.java [in p2 [in src [in P]]])}\n p2[*]: {CHILDREN}\n Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n Y[+]: {MOVED_FROM(X [in X.java [in p1 [in src [in P]]]])} --------- Difference is ---------- expected:<...*]: {CHILDREN}\n p[]1[*]: {CHILDREN}\n ...> but was:<...*]: {CHILDREN}\n p[2[+]: {}\n \n P[*]: {CHILDREN}\n src[*]: {CHILDREN}\n p]1[*]: {CHILDREN}\n ...> 

junit.framework.ComparisonFailure: Incorrect delta.
----------- Expected ------------
P[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
p1[*]: {CHILDREN}\n
X.java[-]: {MOVED_TO(Y.java [in p2 [in src [in P]]])}\n
p2[*]: {CHILDREN}\n
Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n
Y[+]: {MOVED_FROM(X [in X.java [in p1 [in src [in P]]]])}
------------ but was ------------
P[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
p2[+]: {}\n
\n
P[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
p1[*]: {CHILDREN}\n
X.java[-]: {MOVED_TO(Y.java [in p2 [in src [in P]]])}\n
p2[*]: {CHILDREN}\n
Y.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n
Y[+]: {MOVED_FROM(X [in X.java [in p1 [in src [in P]]]])}
--------- Difference is ----------
expected:<...*]: {CHILDREN}\n
p[]1[*]: {CHILDREN}\n
...> but was:<...*]: {CHILDREN}\n
p[2[+]: {}\n
\n
P[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
p]1[*]: {CHILDREN}\n
...>
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.assertDeltas(AbstractJavaModelTests.java:1026)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertDeltas(AbstractJavaModelTests.java:1016)
at org.eclipse.jdt.core.tests.model.CopyMoveResourcesTests.testMoveCU05(CopyMoveResourcesTests.java:895)
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-09-01 05:24:26 EDT
testDeleteType2 Failed.
Build ID: N20140831-2000
Platform: Windows
Test Location: http://download.eclipse.org/eclipse/downloads/drops4/N20140831-2000/testresults/html/org.eclipse.jdt.core.tests.model_win32.win32.x86_7.0.html

Similar failure message as mentioned in Comment 0.

---

Unexpected delta. ----------- Expected ------------ P1[*]: {CHILDREN}\n src[*]: {CHILDREN}\n <default>[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n X[-]: {} ------------ but was ------------ P1[+]: {}\n \n P1[*]: {CHILDREN}\n src[*]: {CHILDREN}\n <default>[*]: {CHILDREN}\n X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n X[-]: {} --------- Difference is ---------- expected:<P1[[]*]: {CHILDREN}\n sr...> but was:<P1[[+]: {}\n \n P1[]*]: {CHILDREN}\n sr...> 

junit.framework.ComparisonFailure: Unexpected delta.
----------- Expected ------------
P1[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
<default>[*]: {CHILDREN}\n
X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n
X[-]: {}
------------ but was ------------
P1[+]: {}\n
\n
P1[*]: {CHILDREN}\n
src[*]: {CHILDREN}\n
<default>[*]: {CHILDREN}\n
X.java[*]: {CHILDREN | FINE GRAINED | PRIMARY RESOURCE}\n
X[-]: {}
--------- Difference is ----------
expected:<P1[[]*]: {CHILDREN}\n
sr...> but was:<P1[[+]: {}\n
\n
P1[]*]: {CHILDREN}\n
sr...>
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.assertDeltas(AbstractJavaModelTests.java:1026)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.assertDeltas(AbstractJavaModelTests.java:1016)
at org.eclipse.jdt.core.tests.model.DeleteTests.testDeleteType2(DeleteTests.java:1046)
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:384)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
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 2 Manoj N Palat CLA 2018-08-23 19:08:22 EDT
error at http://download.eclipse.org/eclipse/downloads/drops4/I20180823-0450/testresults/html/org.eclipse.jdt.core.tests.model_ep49I-unit-win32_win32.win32.x86_8.0.html with st:

Problems encountered while deleting resources. 

Java Model Exception: Core Exception [code 273] Problems encountered while deleting resources.
at org.eclipse.jdt.internal.core.MultiOperation.processElements(MultiOperation.java:177)
at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processElements(CopyResourceElementsOperation.java:433)
at org.eclipse.jdt.internal.core.MultiOperation.executeOperation(MultiOperation.java:92)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:733)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2289)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2316)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:804)
at org.eclipse.jdt.internal.core.JavaModel.runOperation(JavaModel.java:298)
at org.eclipse.jdt.internal.core.JavaModel.move(JavaModel.java:257)
at org.eclipse.jdt.core.tests.model.CopyMoveTests.movePositive(CopyMoveTests.java:284)
at org.eclipse.jdt.core.tests.model.CopyMoveResourcesTests.testMoveCU05(CopyMoveResourcesTests.java:899)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at junit.framework.TestCase.runTest(TestCase.java:176)
Comment 3 Eclipse Genie CLA 2020-09-06 03:43:26 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.

If you have further information on the current state of the bug, please add it. 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.
Comment 4 Eclipse Genie CLA 2022-12-01 13:59:08 EST
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.

If you have further information on the current state of the bug, please add it. 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.