Community
Participate
Working Groups
https://download.eclipse.org/eclipse/downloads/drops4/I20181121-1800/testresults/html/org.eclipse.core.tests.resources_ep410I-unit-win32_win32.win32.x86_64_8.0.html Bug_006708.testBug fails with: 1.0: org.eclipse.core.internal.resources.ResourceException: A resource exists on disk with a different case: 'C:\jenkins_agent\workspace\ep410I-unit-win32\workarea\I20181121-1800\eclipse-testing\test-eclipse\eclipse\core_resources_sniff_folder\p2'. junit.framework.AssertionFailedError: 1.0: org.eclipse.core.internal.resources.ResourceException: A resource exists on disk with a different case: 'C:\jenkins_agent\workspace\ep410I-unit-win32\workarea\I20181121-1800\eclipse-testing\test-eclipse\eclipse\core_resources_sniff_folder\p2'. at org.eclipse.core.tests.harness.CoreTest.fail(CoreTest.java:72) at org.eclipse.core.tests.resources.regression.Bug_006708.testBug(Bug_006708.java:61) 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:498) at junit.framework.TestCase.runTest(TestCase.java:176) at junit.framework.TestCase.runBare(TestCase.java:141) at junit.framework.TestResult$1.protect(TestResult.java:122) at junit.framework.TestResult.runProtected(TestResult.java:142) at junit.framework.TestResult.run(TestResult.java:125) at junit.framework.TestCase.run(TestCase.java:129) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252) at junit.framework.TestSuite.run(TestSuite.java:247) at junit.framework.TestSuite.runTest(TestSuite.java:252)
The fail seem to appear in 4.10 Windows builds only. First occurrence I can see is in 4.10 M1 build: https://download.eclipse.org/eclipse/downloads/drops4/S-4.10M1-201810101800/testresults/html/org.eclipse.core.tests.resources_ep410I-unit-win32_win32.win32.x86_64_8.0.html The fails from the most recent build is caused by: Caused by: org.eclipse.core.internal.resources.ResourceException: A resource exists on disk with a different case: 'C:\jenkins_agent\workspace\ep410I-unit-win32\workarea\I20181121-1800\eclipse-testing\test-eclipse\eclipse\core_resources_sniff_folder\p2'. at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:69) at org.eclipse.core.internal.resources.Project.create(Project.java:267) at org.eclipse.core.internal.resources.Project.create(Project.java:251) at org.eclipse.core.internal.resources.Project.create(Project.java:246) at org.eclipse.core.tests.resources.regression.Bug_006708.testBug(Bug_006708.java:54) ... 56 more Caused by: java.lang.Exception: A resource exists on disk with a different case: 'C:\jenkins_agent\workspace\ep410I-unit-win32\workarea\I20181121-1800\eclipse-testing\test-eclipse\eclipse\core_resources_sniff_folder\p2'. at org.eclipse.core.internal.resources.ResourceException.provideStackTrace(ResourceException.java:42) at org.eclipse.core.internal.resources.ResourceException.<init>(ResourceException.java:38) ... 61 more I assume this can be related to the new Windows build machine, but it is hard to say for sure, because 4.10 Windows builds always had lot of errors and I've never tracked them.
I've found first fail in https://download.eclipse.org/eclipse/downloads/drops4/I20180924-1800/testResults.php Build https://download.eclipse.org/eclipse/downloads/drops4/I20180910-0310/testResults.php does not have it.
(In reply to Andrey Loskutov from comment #2) > I've found first fail in > https://download.eclipse.org/eclipse/downloads/drops4/I20180924-1800/ > testResults.php > > Build > https://download.eclipse.org/eclipse/downloads/drops4/I20180910-0310/ > testResults.php does not have it. The test fails because it detects already existing "p2" project created probably by some previous test. Most likely this is the test WorkspaceTest.testDanglingReferences() added for bug 538541. This test creates projects but never deletes them. The problem is: the tearDown() of the WorkspaceTest overrides the "usual" teardown of ResourcesTest which deleted entire workspace. So in the WorkspaceTest we have to *manually* cleanup created resources. I will push a patch in a moment.
New Gerrit change created: https://git.eclipse.org/r/132957
Gerrit change https://git.eclipse.org/r/132957 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=1867386fc36503af955a34d8152535aa3cf77373
New Gerrit change created: https://git.eclipse.org/r/133136
Gerrit change https://git.eclipse.org/r/133136 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=ebc7222c4d64cb0c7980a5396326986faf5f2f4c
New Gerrit change created: https://git.eclipse.org/r/133312
Gerrit change https://git.eclipse.org/r/133312 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=dd2e90d6733b0e90575d2ba29f20fd89e7397227
Last windows build finally had no test failure.