Community
Participate
Working Groups
http://download.eclipse.org/eclipse/downloads/drops4/N20160404-2000/testresults/html/org.eclipse.core.filebuffers.tests_ep46N-unit-cen64_linux.gtk.x86_64_8.0.html : org.junit.ComparisonFailure: expected:<... in a linked folder.[]> but was:<... in a linked folder.[appendix]> at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:221) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:743) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:351) 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:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492) at org.eclipse.core.launcher.Main.main(Main.java:34) Failing test: org.eclipse.core.filebuffers.tests.FileBuffersForFilesInLinkedFolders#test6() On N20160403-2000, the same test method was failing, but in another test class: org.eclipse.core.filebuffers.tests.FileStoreFileBuffersForWorkspaceFiles#test6() We should watch these, but it's going to be hard to fix without being able to reproduce.
The first failure was before the final commit for bug 487095, and nothing relevant had to be changed for JUnit 4 in these tests.
Failed again: http://download.eclipse.org/eclipse/downloads/drops4/I20160512-1000/testresults/html/org.eclipse.core.filebuffers.tests_ep46I-unit-cen64_linux.gtk.x86_64_8.0.html
I donot see these test failures in the latest build. so keeping in observation
Failed again: http://download.eclipse.org/eclipse/downloads/drops4/M20170222-0400/testresults/html/org.eclipse.core.filebuffers.tests_ep46M-unit-cen64-gtk3_linux.gtk.x86_64_8.0.html
*** Bug 534543 has been marked as a duplicate of this bug. ***
filebuffers tests fail ranmdomly on Linux builds, and there is no way to understand which test was it, because there are 8 classes extending the base class with identical test signatures and stupid asserts like assertTrue(1 == x). Stack trace looks then like this: test12_2 Error N/A java.lang.AssertionError at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test12_2(FileBufferFunctions.java:588) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:689) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:346) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:38) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:34) 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:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592) at org.eclipse.equinox.launcher.Main.run(Main.java:1498) at org.eclipse.equinox.launcher.Main.main(Main.java:1471) at org.eclipse.core.launcher.Main.main(Main.java:34) or this: test16_3 Error N/A java.lang.AssertionError at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test16_3(FileBufferFunctions.java:998) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:689) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:346) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:38) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:34) 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:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592) at org.eclipse.equinox.launcher.Main.run(Main.java:1498) at org.eclipse.equinox.launcher.Main.main(Main.java:1471) at org.eclipse.core.launcher.Main.main(Main.java:34) We need better asserts and test names. I will provide both.
New Gerrit change created: https://git.eclipse.org/r/126798
Gerrit change https://git.eclipse.org/r/126798 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=97ddfd50df364aeecf50475f6d45cb04c81ea46c
OK, here the first de-obfuscated stack !ENTRY org.eclipse.core.filebuffers.tests 4 0 2018-08-08 08:26:05.840 !MESSAGE FAIL in test12_2(org.eclipse.core.filebuffers.tests.FileBuffersForFilesInLinkedFolders) !STACK 0 java.lang.AssertionError: expected:<1> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:631) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test12_2(FileBufferFunctions.java:617)
Failed in the build I20191009-1800 https://download.eclipse.org/eclipse/downloads/drops4/I20191009-1800/testresults/html/org.eclipse.core.filebuffers.tests_ep414I-unit-win32-java8_win32.win32.x86_64_8.0.html on windows with the below error: expected:<content[]> but was:<content[appendix]> org.junit.ComparisonFailure: expected:<content[]> but was:<content[appendix]> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253)
Failed in the build I20200820-0230 https://download.eclipse.org/eclipse/downloads/drops4/I20200820-0230/testresults/html/org.eclipse.core.filebuffers.tests_ep417I-unit-win32-java11_win32.win32.x86_64_11.html org.junit.ComparisonFailure: expected:<... of the link target.[]> but was:<... of the link target.[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253)
Failed in the build I20201007-1800 https://download.eclipse.org/eclipse/downloads/drops4/I20201007-1800/testresults/html/org.eclipse.core.filebuffers.tests_ep418I-unit-win32-java11_win32.win32.x86_64_11.html with the below error expected:<... of the link target.[]> but was:<... of the link target.[appendix]> org.junit.ComparisonFailure: expected:<... of the link target.[]> but was:<... of the link target.[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253)
org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6 failed in the IBuild I20201125-1800 https://download.eclipse.org/eclipse/downloads/drops4/I20201125-1800/testresults/html/org.eclipse.core.filebuffers.tests_ep418I-unit-win32-java11_win32.win32.x86_64_11.html with the below error expected:<content[]> but was:<content[appendix]> org.junit.ComparisonFailure: expected:<content[]> but was:<content[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253)
org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6 failed in the IBuild I20210106-1800 https://download.eclipse.org/eclipse/downloads/drops4/I20210106-1800/testresults/html/org.eclipse.core.filebuffers.tests_ep419I-unit-win32-java11_win32.win32.x86_64_11.html with the below error expected:<content[]> but was:<content[appendix]> org.junit.ComparisonFailure: expected:<content[]> but was:<content[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253)
org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6 failed in the IBuild I20211110-1800 https://download.eclipse.org/eclipse/downloads/drops4/I20211110-1800/testresults/html/org.eclipse.core.filebuffers.tests_ep422I-unit-win32-java11_win32.win32.x86_64_11.html with the below error expected:<content[]> but was:<content[appendix]> org.junit.ComparisonFailure: expected:<content[]> but was:<content[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253)
org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6 failed in the IBuild I20220106-0000 https://download.eclipse.org/eclipse/downloads/drops4/I20220106-0000/testresults/html/org.eclipse.core.filebuffers.tests_ep423I-unit-win32-java11_win32.win32.x86_64_11.html#FileBuffersTestSuite for org.eclipse.core.filebuffers.tests.FileBuffersForWorkspaceFiles with the below error expected:<content[]> but was:<content[appendix]> org.junit.ComparisonFailure: expected:<content[]> but was:<content[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253) and for org.eclipse.core.filebuffers.tests.FileBuffersForFilesInLinkedFolders with the below error expected:<... in a linked folder.[]> but was:<... in a linked folder.[appendix]> org.junit.ComparisonFailure: expected:<... in a linked folder.[]> but was:<... in a linked folder.[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253)
org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6 failed in the IBuild I20220223-1800 on windows with the below error /********************/ expected:<content[]> but was:<content[appendix]> org.junit.ComparisonFailure: expected:<content[]> but was:<content[appendix]> at org.junit.Assert.assertEquals(Assert.java:117) at org.junit.Assert.assertEquals(Assert.java:146) at org.eclipse.core.filebuffers.tests.FileBufferFunctions.test6(FileBufferFunctions.java:253) /********************/ https://download.eclipse.org/eclipse/downloads/drops4/I20220223-1800/testresults/html/org.eclipse.core.filebuffers.tests_ep423I-unit-win32-java11_win32.win32.x86_64_11.html