Community
Participate
Working Groups
Platforms: all build Id: N20150325-2000 http://download.eclipse.org/eclipse/downloads/drops4/N20150325-2000/testResults.php testbBug386901 Failure Invalid problem(s)!!!. ----------- Expected ------------ Problem : AZ cannot be resolved to a type [ resource : </Project/src/p/AB.java> range : <36,38> category : <40> severity : <2>] ------------ but was ------------ --------- Difference is ---------- expected:<[Problem : AZ cannot be resolved to a type [ resource : </Project/src/p/AB.java> range : <36,38> category : <40> severity : <2>]]> but was:<[]> junit.framework.ComparisonFailure: Invalid problem(s)!!!. ----------- Expected ------------ Problem : AZ cannot be resolved to a type [ resource : </Project/src/p/AB.java> range : <36,38> category : <40> severity : <2>] ------------ but was ------------ --------- Difference is ---------- expected:<[Problem : AZ cannot be resolved to a type [ resource : </Project/src/p/AB.java> range : <36,38> category : <40> severity : <2>]]> but was:<[]> at org.eclipse.jdt.core.tests.junit.extension.TestCase.assertStringEquals(TestCase.java:268) at org.eclipse.jdt.core.tests.junit.extension.TestCase.assumeEquals(TestCase.java:288) at org.eclipse.jdt.core.tests.builder.BuilderTests.expectingProblemsFor(BuilderTests.java:333) at org.eclipse.jdt.core.tests.builder.BuilderTests.expectingProblemsFor(BuilderTests.java:326) at org.eclipse.jdt.core.tests.builder.BasicBuildTests.testbBug386901(BasicBuildTests.java:600) 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) testMissingLibrary2 Failure missing expected problem: Problem : The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files [ resource : </Project/src/p1/Test1.java> range : <-1,-1> category : <-1> severity : <2>] junit.framework.AssertionFailedError: missing expected problem: Problem : The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files [ resource : </Project/src/p1/Test1.java> range : <-1,-1> category : <-1> severity : <2>] at org.eclipse.jdt.core.tests.junit.extension.TestCase.assumeTrue(TestCase.java:350) at org.eclipse.jdt.core.tests.builder.BuilderTests.expectingSpecificProblemsFor(BuilderTests.java:389) at org.eclipse.jdt.core.tests.builder.BuilderTests.expectingSpecificProblemFor(BuilderTests.java:354) at org.eclipse.jdt.core.tests.builder.BuildpathTests.testMissingLibrary2(BuildpathTests.java:670) 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)
Failed in N20150325-2000 as well. Platform: all http://download.eclipse.org/eclipse/downloads/drops4/N20150326-2000/testResults.php
Gee, how can this consistently fail on all platforms, twice in a row, but pass when run locally? Has it been failing in any Gerrit jobs?
(In reply to Stephan Herrmann from comment #2) > Gee, how can this consistently fail on all platforms, twice in a row, but > pass when run locally? > > Has it been failing in any Gerrit jobs? To answer my own question, it also failed via Gerrit: https://hudson.eclipse.org/platform/job/eclipse.jdt.core-Gerrit/151/testReport/org.eclipse.jdt.core.tests.builder/BasicBuildTests/testbBug386901/ https://hudson.eclipse.org/platform/job/eclipse.jdt.core-Gerrit/151/testReport/org.eclipse.jdt.core.tests.builder/BuildpathTests/testMissingLibrary2/
The regression is caused by http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=f334481779d0a0d85761605e516392186acbb789 on behalf of bug 461838. I've disabled the two tests in question via http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=ade181db7356e902754c81dd9d71430c049ed0c1
Instead of disabling and forgetting the tests, let's just adapt them to the new build order. Fixed with http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=c7f9539fa0d2c7dd5ba718179636fb1d50eefced
Verified for 4.5 M7 with build I20150331-0800.