Open mpalat opened 8 months ago
caused by b2f56fbee3311425c351990cd8ca66d0ca73a940
somehow the path separators differ:
@mpalat i could reproduce and fix testExtraLibraries07 constantly failing on windows. However i can not locally reproduce failed CompletionTests testType1, testType10. Those seem to be unrelated random failures.
@mpalat i could reproduce and fix testExtraLibraries07 constantly failing on windows. However i can not locally reproduce failed CompletionTests testType1, testType10. Those seem to be unrelated random failures.
Thanks @jukzi for trying out and fixing the two issues. you can check for the other two if they are random and close this issue for after a day or two.
CompletionTests.testType1 and CompletionTests.testType10 still randomly fail for example:
----------- Expected ------------
booleanClass[TYPE_REF]{booleanClass, test, Ltest.booleanClass;, null, null, 72}
------------ but was ------------
---------------------- ----------
expected:<[booleanClass[TYPE_REF]{booleanClass, test, Ltest.booleanClass;, null, null, 72}]> but was:<[]>
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:267)
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:242)
at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:239)
at org.eclipse.jdt.core.tests.model.AbstractJavaModelCompletionTests.assertResults(AbstractJavaModelCompletionTests.java:215)
at org.eclipse.jdt.core.tests.model.CompletionTests.testType1(CompletionTests.java:19111)
From https://download.eclipse.org/eclipse/downloads/drops4/I20240229-0520/testresults/html/org.eclipse.jdt.core.tests.model_ep431I-unit-win32-java17_win32.win32.x86_64_17.html
the following tests are failing:
testExtraLibraries07 ----------- Expected ------------ /P[CPE_SOURCE][K_SOURCE][isExported:false]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\jclMin.jar[CPE_LIBRARY][K_BINARY][isExported:false]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\lib2.jar[CPE_LIBRARY][K_BINARY][isExported:true]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\lib1.jar[CPE_LIBRARY][K_BINARY][isExported:true] ------------ but was ------------ /P[CPE_SOURCE][K_SOURCE][isExported:false]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\jclMin.jar[CPE_LIBRARY][K_BINARY][isExported:false]\n C:/Users/genie.releng/workspace/AutomatedTests/ep431I-unit-win32-java17/workarea/I20240229-0520/eclipse-testing/test-eclipse/eclipse/jdt_model_folder/lib2.jar[CPE_LIBRARY][K_BINARY][isExported:true]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\lib1.jar[CPE_LIBRARY][K_BINARY][isExported:true] ---------------------- ---------- expected:<...Exported:false]\n C:[\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder]lib2.jar[CPE_LIBRARY...> but was:<...Exported:false]\n C:[/Users/genie.releng/workspace/AutomatedTests/ep431I-unit-win32-java17/workarea/I20240229-0520/eclipse-testing/test-eclipse/eclipse/jdt_model_folder/]lib2.jar[CPE_LIBRARY...>
junit.framework.ComparisonFailure: ----------- Expected ------------ /P[CPE_SOURCE][K_SOURCE][isExported:false]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\jclMin.jar[CPE_LIBRARY][K_BINARY][isExported:false]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\lib2.jar[CPE_LIBRARY][K_BINARY][isExported:true]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\lib1.jar[CPE_LIBRARY][K_BINARY][isExported:true] ------------ but was ------------ /P[CPE_SOURCE][K_SOURCE][isExported:false]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\jclMin.jar[CPE_LIBRARY][K_BINARY][isExported:false]\n C:/Users/genie.releng/workspace/AutomatedTests/ep431I-unit-win32-java17/workarea/I20240229-0520/eclipse-testing/test-eclipse/eclipse/jdt_model_folder/lib2.jar[CPE_LIBRARY][K_BINARY][isExported:true]\n C:\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder\lib1.jar[CPE_LIBRARY][K_BINARY][isExported:true]
expected:<...Exported:false]\n C:[\Users\genie.releng\workspace\AutomatedTests\ep431I-unit-win32-java17\workarea\I20240229-0520\eclipse-testing\test-eclipse\eclipse\jdt_model_folder]lib2.jar[CPE_LIBRARY...> but was:<...Exported:false]\n C:[/Users/genie.releng/workspace/AutomatedTests/ep431I-unit-win32-java17/workarea/I20240229-0520/eclipse-testing/test-eclipse/eclipse/jdt_model_folder/]lib2.jar[CPE_LIBRARY...> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:267) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:242) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(Test
testType1
testType10 ----------- Expected ------------ voi[POTENTIAL_METHOD_DECLARATION]{voi, Ltest.Test$InnerTest;, ()V, voi, null, 39}\n void[KEYWORD]{void, null, null, void, null, 49}\n voidClass[TYPE_REF]{voidClass, test, Ltest.voidClass;, null, null, 52} ------------ but was ------------ voi[POTENTIAL_METHOD_DECLARATION]{voi, Ltest.Test$InnerTest;, ()V, voi, null, 39}\n void[KEYWORD]{void, null, null, void, null, 49} ---------------------- ---------- expected:<...ull, void, null, 49}[\n voidClass[TYPE_REF]{voidClass, test, Ltest.voidClass;, null, null, 52}]> but was:<...ull, void, null, 49}[]>
junit.framework.ComparisonFailure: ----------- Expected ------------ voi[POTENTIAL_METHOD_DECLARATION]{voi, Ltest.Test$InnerTest;, ()V, voi, null, 39}\n void[KEYWORD]{void, null, null, void, null, 49}\n voidClass[TYPE_REF]{voidClass, test, Ltest.voidClass;, null, null, 52} ------------ but was ------------ voi[POTENTIAL_METHOD_DECLARATION]{voi, Ltest.Test$InnerTest;, ()V, voi, null, 39}\n void[KEYWORD]{void, null, null, void, null, 49}
expected:<...ull, void, null, 49}[\n voidClass[TYPE_REF]{voidClass, test, Ltest.voidClass;, null, null, 52}]> but was:<...ull, void, null, 49}[]> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:267) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:242) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertEquals(TestCase.java:239) at org.eclipse.jdt.core.tests.model.AbstractJavaModelCompletionTests.assertResults(AbstractJavaModelCompletionTests.java:215) at org.eclipse.jdt.core.tests.model.CompletionTests.testTyp
Investigate/Recheck for continued failures.