Community
Participate
Working Groups
build: I20110118-0800 The second reference count test failed with the following output: Incorrect number of references for the set 3 expected:<3> but was:<1> junit.framework.AssertionFailedError: Incorrect number of references for the set 3 expected:<3> but was:<1> at org.eclipse.pde.api.tools.apiusescan.tests.ReferenceCountTests.verifyReferenceCount(ReferenceCountTests.java:63) at org.eclipse.pde.api.tools.apiusescan.tests.ReferenceCountTests.testReferenceCountReportOne(ReferenceCountTests.java:81) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249) 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:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) at org.eclipse.core.launcher.Main.main(Main.java:34) There are some entires in the test console logs, I am not sure if they are related or not: !ENTRY org.eclipse.pde.api.tools 4 0 2011-01-18 15:02:08.856 !MESSAGE Unable to resolve method signature: a.b.c.TestClass1#void foo() !ENTRY org.eclipse.pde.api.tools 4 120 2011-01-18 15:03:04.400 !MESSAGE Error logged from API Tools Core: !STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource '/APIPluginTests' does not exist. at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326) at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200) at org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:147) at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:33) at org.eclipse.core.internal.resources.Folder.create(Folder.java:95) at org.eclipse.core.internal.resources.Folder.create(Folder.java:125) at org.eclipse.pde.api.tools.internal.ApiFilterStore$1.runInWorkspace(ApiFilterStore.java:166) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 org.eclipse.core.resources 4 368 2011-01-18 15:03:04.402 !MESSAGE Resource '/APIPluginTests' does not exist. !ENTRY org.eclipse.pde.api.tools 4 120 2011-01-18 15:03:06.561 !MESSAGE Error logged from API Tools Core: !STACK 1 org.eclipse.core.internal.resources.ResourceException: Resource '/APIPluginTests/.settings' does not exist. at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326) at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200) at org.eclipse.core.internal.resources.File.create(File.java:123) at org.eclipse.core.internal.resources.File.create(File.java:196) at org.eclipse.pde.api.tools.internal.ApiFilterStore$1.runInWorkspace(ApiFilterStore.java:168) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 org.eclipse.core.resources 4 368 2011-01-18 15:03:06.561 !MESSAGE Resource '/APIPluginTests/.settings' does not exist. !ENTRY org.eclipse.core.resources 4 368 2011-01-18 15:07:27.297 !MESSAGE Resource '/a.b.c' does not exist.
The tests succeeded in N20110118-2000 suggest this to be an intermittent problem. The tests are succeeding locally also with I20110118-0800 on windows machine. I will try to get hold of a Mac machine tomorrow to investigate further.
I managed to reproduce this after a few test runs of the plug-in test suite.
Leaving open for continuing investigation in M6
The tests succeeded in I20110125-2012. I will watch it for I20110126-0800 too and will close the bug if it succeeds again. No plans for any investigations till then.
The test has been succeeding last few I builds. Closing it now. Will reopen a new report if encountered again.
Our luck has ran out. The tests have failed again http://download.eclipse.org/eclipse/downloads/drops/I20110127-1100/testresults/html/org.eclipse.pde.api.tools.tests_win32.win32.x86_6.0.html Investigating now...
...and again in N20110203-2000 (testReferenceCountReportAll)... Incorrect number of references for the set 3 expected:<5> but was:<1> junit.framework.AssertionFailedError: Incorrect number of references for the set 3 expected:<5> but was:<1> at org.eclipse.pde.api.tools.apiusescan.tests.ReferenceCountTests.verifyReferenceCount(ReferenceCountTests.java:63) at org.eclipse.pde.api.tools.apiusescan.tests.ReferenceCountTests.testReferenceCountReportAll(ReferenceCountTests.java:56) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249) 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:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) at org.eclipse.core.launcher.Main.main(Main.java:34) Except this time the test failure occurred on Windows
Failed for I20110215-0800 Incorrect number of references for the set 1 expected:<7> but was:<0> junit.framework.AssertionFailedError: Incorrect number of references for the set 1 expected:<7> but was:<0> at org.eclipse.pde.api.tools.apiusescan.tests.ReferenceCountTests.verifyReferenceCount(ReferenceCountTests.java:63) at org.eclipse.pde.api.tools.apiusescan.tests.ReferenceCountTests.testReferenceCountReportOne(ReferenceCountTests.java:81) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249) 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:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) at org.eclipse.core.launcher.Main.main(Main.java:34)
Please make the test stable or remove it.
*** Bug 335853 has been marked as a duplicate of this bug. ***
I have disabled the use scan tests until we re-write them - they are too brittle to run each build.
These tests are still disabled in the main suite.
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.