Bug 51538 - Umbrella bug for sporadic test failures
Summary: Umbrella bug for sporadic test failures
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 51536 127752 (view as bug list)
Depends on: 296805 406829 412644 414490 415878 415879 448014
Blocks:
  Show dependency tree
 
Reported: 2004-02-10 15:45 EST by DJ Houghton CLA
Modified: 2020-01-31 01:18 EST (History)
5 users (show)

See Also:


Attachments
4 test failures (5.41 KB, text/plain)
2004-02-10 15:47 EST, DJ Houghton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2004-02-10 15:45:29 EST
build i0210-1200

We sometimes have failures on Linux-GTK with the following tests:

DeadlockDetectionTest
  testComplexRuleLockInteraction
  testJobRuleCancellation
  testLockMultipleAcquireThenSuspend
  testRuleHierarchyLockInteraction

I have disabled these for now.

Will attach file with 4 failures listed.
Comment 1 DJ Houghton CLA 2004-02-10 15:47:02 EST
Created attachment 7756 [details]
4 test failures
Comment 2 DJ Houghton CLA 2004-05-14 14:40:53 EDT
Also, doing a file search for "void _t" (looking for disabled tests) produces
the following results in the same area.

JobTest.java
DeadlockDetectionTest.java (4 matches)
IJobManagerTest.java (2 matches)
BeginEndRuleTest.java
Comment 3 John Arthorne CLA 2004-05-14 14:48:14 EDT
So I should change the convention of using _ at the beginning of disabled tests ;)

But seriously, the other disabled tests have an attached bugzilla number (these
tests have never passed but are not serious - more due to an over-eager tester
than broken functionality. The IJobManagerTest cases were removed because the
API they are testing was removed. I have deleted these tests.
Comment 4 John Arthorne CLA 2004-05-17 10:26:26 EDT
Failed in N20040515:

IResourceTest.testDelete

invocation 97 failed with org.eclipse.core.runtime.OperationCanceledException

junit.framework.AssertionFailedError: invocation 97 failed with
org.eclipse.core.runtime.OperationCanceledException
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:90)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:103)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:103)
at org.eclipse.core.tests.resources.TestPerformer.performTest(TestPerformer.java:55)
at org.eclipse.core.tests.resources.IResourceTest.testDelete(IResourceTest.java:850)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:322)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:198)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:299)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:256)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.basicRun(Main.java:184)
at org.eclipse.core.launcher.Main.run(Main.java:637)
at org.eclipse.core.launcher.Main.main(Main.java:621)
Comment 5 John Arthorne CLA 2004-06-02 09:56:14 EDT
Failed in N20040602:

junit.framework.AssertionFailedError: 3.2
at
org.eclipse.core.tests.resources.regression.IProjectTest.testAutoBuild_1GC2FKV(IProjectTest.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:322)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:198)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:334)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:638)
at org.eclipse.core.launcher.Main.main(Main.java:622)
Comment 6 DJ Houghton CLA 2004-06-25 15:44:43 EDT
Continued investigation post-3.0.
Comment 7 Rafael Chaves CLA 2004-11-22 22:59:06 EST
I have seen the following test consistently failing on my machine (XP), although
I cannot reproduce the failure while running this test case only.

junit.framework.AssertionFailedError: 3.1 expected:<1> but was:<2>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:282)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:201)
	at org.eclipse.core.tests.resources.regression.Bug_27271.testBug(Bug_27271.java:80)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at
org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:30)
	at
org.eclipse.pde.internal.junit.runtime.CoreTestApplication.run(CoreTestApplication.java:26)
	at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
	at org.eclipse.core.launcher.Main.run(Main.java:710)
	at org.eclipse.core.launcher.Main.main(Main.java:694)

Comment 8 Rafael Chaves CLA 2004-11-23 13:51:02 EST
The test starts with:

//this bug is only relevant on Windows
if (Platform.getOS() != Platform.OS_WIN32)
  return;

Using the identity operator instead of equals. Thus it won't get run except if
running on Windows and -os is not passed in. This test should be failing on
Windows since PathVariableManager was changed to use Path.toPortableString(),
which causes a path intentionally invalid ("c:\\a\\:\\b") to become valid.

The fix is to change the test to use toPortableString when setting variables
directly into the preferences (it was using toString() before). This way, the
result of calling Path.fromPortableString will still be an invalid path, what is
the intent.
Comment 9 John Arthorne CLA 2004-12-14 11:17:59 EST
Failure in build I20041214-0010 (3.1 M4 test candidate):

test_1GEAB3CFailureVerifier has not yet been given a resource delta

junit.framework.AssertionFailedError: Verifier has not yet been given a resource
delta
at
org.eclipse.core.tests.resources.ResourceDeltaVerifier.getMessage(ResourceDeltaVerifier.java:478)
at
org.eclipse.core.tests.resources.regression.PR_1GEAB3C_Test.assertDelta(PR_1GEAB3C_Test.java:34)
at
org.eclipse.core.tests.resources.regression.PR_1GEAB3C_Test.test_1GEAB3C(PR_1GEAB3C_Test.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)
Comment 10 John Arthorne CLA 2004-12-14 11:31:50 EST
The test failure in I20041214-0010 is likely because some other workspace change
was still occurring at the time the test started (the previous test creates and
opens a project, and performs several refreshes). The test is verifying the
contents of a resource delta, and is very sensitive to resource change events
occurring during the test.  I have added "waitForBuild" and "waitForRefresh" to
the test's setup method to prevent this from happening.
Comment 11 John Arthorne CLA 2004-12-16 16:31:55 EST
Build I20041216-1200

testBeginRuleNoEndFailuredone has not been called on ProgressMonitor

org.eclipse.core.tests.harness.FussyProgressMonitor$FussyProgressAssertionFailed:
done has not been called on ProgressMonitor
at
org.eclipse.core.tests.harness.FussyProgressMonitor.assertTrue(FussyProgressMonitor.java:63)
at
org.eclipse.core.tests.harness.FussyProgressMonitor.sanityCheck(FussyProgressMonitor.java:140)
at
org.eclipse.core.tests.runtime.jobs.FussyProgressProvider.sanityCheck(FussyProgressProvider.java:33)
at
org.eclipse.core.tests.runtime.jobs.AbstractJobManagerTest.tearDown(AbstractJobManagerTest.java:90)
at
org.eclipse.core.tests.runtime.jobs.IJobManagerTest.tearDown(IJobManagerTest.java:144)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)
Comment 12 John Arthorne CLA 2004-12-16 17:00:40 EST
For the failure in comment #11, I have added begin/end on the monitor in the
test job, with the end in a finally block.

However, there is a general problem with our fussy progress monitor checking. 
If a previous test schedules a job for some time in the future, it can start
running during a later test.  Each test installs a new fussy progress provider,
and ensures that all jobs started during that test have ended.  Even if a test
is well-behaved, if a previous test was not well-behaved and left a pending job
behind, the failure will be blamed on the later test.  I have added an argument
to FussyProgressMonitor so it knows what job it belongs to.  Then when it fails,
it reports in the assertion failure message its owner job.  This will help us
track down these failures to the correct place in the future.

I will release the specific fix and the improvements to fussy progress provider
today, but will not contribute them to 3.1 M4 rebuilds.
Comment 13 John Arthorne CLA 2005-01-24 13:14:50 EST
Build N20050122-0010

junit.framework.AssertionFailedError: 3.2
at
org.eclipse.core.tests.resources.regression.IProjectTest.testAutoBuild_1GC2FKV(IProjectTest.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:225)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:274)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.basicRun(Main.java:255)
at org.eclipse.core.launcher.Main.run(Main.java:811)
at org.eclipse.core.launcher.Main.main(Main.java:795)
Comment 14 John Arthorne CLA 2005-01-25 14:11:40 EST
*** Bug 51536 has been marked as a duplicate of this bug. ***
Comment 15 John Arthorne CLA 2005-01-25 15:24:55 EST
IProjectTest.testAutoBuild_1GC2FKV is likely failing because autobuild is
running in the background, and there is a race between the builders running and
the builders being "reset" by the test.  If the builders are reset before they
are run, the test will fail.  I have added the usual "waitForBuild()" calls to
the test after each workspace change to prevent this race from happening.
Comment 16 John Arthorne CLA 2005-02-07 09:42:16 EST
N20050205-0010 Linux

invocation 53 should fail, but it doesn't
[false,org.eclipse.core.tests.harness.CancelingProgressMonitor@18600d6,F/openProject/1/1/2/2]

junit.framework.AssertionFailedError: invocation 53 should fail, but it doesn't
[false,org.eclipse.core.tests.harness.CancelingProgressMonitor@18600d6,F/openProject/1/1/2/2]
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:80)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
at org.eclipse.core.tests.resources.TestPerformer.performTest(TestPerformer.java:55)
at org.eclipse.core.tests.resources.IResourceTest.testDelete(IResourceTest.java:982)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:227)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:281)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.basicRun(Main.java:261)
at org.eclipse.core.launcher.Main.run(Main.java:817)
at org.eclipse.core.launcher.Main.main(Main.java:801)
Comment 17 John Arthorne CLA 2005-03-16 12:11:12 EST
Failed on Windows in N20050316:

testBeginRuleNoEnd	Failure	done has not been called on ProgressMonitor in job:
Building workspace

org.eclipse.core.tests.harness.FussyProgressMonitor$FussyProgressAssertionFailed:
done has not been called on ProgressMonitor in job: Building workspace
at
org.eclipse.core.tests.harness.FussyProgressMonitor.assertTrue(FussyProgressMonitor.java:75)
at
org.eclipse.core.tests.harness.FussyProgressMonitor.sanityCheck(FussyProgressMonitor.java:152)
at
org.eclipse.core.tests.runtime.jobs.FussyProgressProvider.sanityCheck(FussyProgressProvider.java:34)
at
org.eclipse.core.tests.runtime.jobs.AbstractJobManagerTest.tearDown(AbstractJobManagerTest.java:91)
at
org.eclipse.core.tests.runtime.jobs.IJobManagerTest.tearDown(IJobManagerTest.java:145)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:338)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268)
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)
Comment 18 John Arthorne CLA 2005-03-24 11:36:29 EST
Failed on Windows, I20050324-0800:

testBeginRuleNoEnd	Failure	done has not been called on ProgressMonitor in job:
Building workspace

org.eclipse.core.tests.harness.FussyProgressMonitor$FussyProgressAssertionFailed:
done has not been called on ProgressMonitor in job: Building workspace
at
org.eclipse.core.tests.harness.FussyProgressMonitor.assertTrue(FussyProgressMonitor.java:75)
at
org.eclipse.core.tests.harness.FussyProgressMonitor.sanityCheck(FussyProgressMonitor.java:152)
at
org.eclipse.core.tests.runtime.jobs.FussyProgressProvider.sanityCheck(FussyProgressProvider.java:34)
at
org.eclipse.core.tests.runtime.jobs.AbstractJobManagerTest.tearDown(AbstractJobManagerTest.java:91)
at
org.eclipse.core.tests.runtime.jobs.IJobManagerTest.tearDown(IJobManagerTest.java:145)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:338)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:268)
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)
Comment 19 John Arthorne CLA 2005-03-24 11:45:21 EST
The failures in comment #17 and comment #18 indicate that a builder is still
running during the runtime tests.  The teardown of ResourceTest deletes all
resources in the workspace.  This will cause an autobuild, but it should run
very quickly.  I have added a waitForBuild() call at the end of
ResourceTest.tearDown to ensure that the autobuild completes before the resource
tests end.  Unless builders are somehow being run by other runtime tests, this
should fix the intermittent failure.
Comment 20 John Arthorne CLA 2005-03-24 12:07:20 EST
It turns out that the runtime charset tests cause builders to run.  Changing
charsets causes CharsetDeltaJob in resources to run.  This job does a
beginOperation/endOperation, which causes the autobuild job to run.  This
explanation makes much more sense, since the charset tests run immediately
before the IJobManagerTest that failed in the builds.

Essentially the IJobManager test tearDown asserts that all jobs started during
the test are finished when the test is finished - thus a build job that starts
during the test causes it to fail.  It performs this assertion by installing a
FussyProgressMonitor on all jobs that start during the test, and then assertion
on the monitors in the test's tearDown().

I have released a less elegant solution that looks at the package names of jobs
before assing a FussyProgressMonitor to them.  If the job is not from a runtime
test package, I will give those jobs a NullProgressMonitor instead of a
FussyProgressMonitor during the runtime tests.  This will prevent the
IJobManager tests from failing if an autobuild job (or other job from outside
runtime tests) happens to start during the job test.  

Comment 21 John Arthorne CLA 2005-03-28 10:18:43 EST
N20050325 Linux:

testDelete	Failure	invocation 64 should fail, but it doesn't
[false,org.eclipse.core.tests.harness.CancelingProgressMonitor@1f42731,F/openProject/1/1]

junit.framework.AssertionFailedError: invocation 64 should fail, but it doesn't
[false,org.eclipse.core.tests.harness.CancelingProgressMonitor@1f42731,F/openProject/1/1]
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:80)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
at org.eclipse.core.tests.resources.TestPerformer.performTest(TestPerformer.java:55)
at org.eclipse.core.tests.resources.IResourceTest.testDelete(IResourceTest.java:982)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:338)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Comment 22 John Arthorne CLA 2005-09-07 12:11:32 EDT
I20050906 Linux:

testDelete	Failure	invocation 57 should fail, but it doesn't
[false,org.eclipse.core.tests.harness.CancelingProgressMonitor@1cc5461,P/openProject]

junit.framework.AssertionFailedError: invocation 57 should fail, but it doesn't
[false,org.eclipse.core.tests.harness.CancelingProgressMonitor@1cc5461,P/openProject]
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:80)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
at
org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
at org.eclipse.core.tests.resources.TestPerformer.performTest(TestPerformer.java:55)
at org.eclipse.core.tests.resources.IResourceTest.testDelete(IResourceTest.java:982)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:313)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:377)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 23 John Arthorne CLA 2005-09-22 11:48:22 EDT
I have fixed our good friend IResourceTest#testDelete in my abstract file system
branch.  It required fixing the implementation of delete to ensure that it
consistently checked for cancellation.  Since the fix is a bit complicated, I
have just modified the test in HEAD to not use the cancelling progress monitor
at all.
Comment 24 John Arthorne CLA 2005-10-14 16:50:37 EDT
I20051012-1200 Windows:

IProjectTest.testProjectDeletionOpenUserDefinedOutOfSync	

Failure	IResourceTest#clear.99: org.eclipse.core.runtime.CoreException: Problems
encountered while deleting files.

junit.framework.AssertionFailedError: IResourceTest#clear.99:
org.eclipse.core.runtime.CoreException: Problems encountered while deleting files.
at org.eclipse.core.tests.harness.CoreTest.fail(CoreTest.java:46)
at org.eclipse.core.tests.resources.ResourceTest.clear(ResourceTest.java:368)
at org.eclipse.core.tests.resources.ResourceTest.cleanup(ResourceTest.java:356)
at org.eclipse.core.tests.resources.ResourceTest.tearDown(ResourceTest.java:849)
at org.eclipse.core.tests.resources.IProjectTest.tearDown(IProjectTest.java:72)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:375)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 25 John Arthorne CLA 2006-01-24 16:49:48 EST
I20060124-0800 Windows

testJobFamilySleep	Error	assertion failed:

org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:107)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:93)
at org.eclipse.core.internal.jobs.JobQueue.enqueue(JobQueue.java:72)
at org.eclipse.core.internal.jobs.JobManager.changeState(JobManager.java:307)
at org.eclipse.core.internal.jobs.JobManager.sleep(JobManager.java:1055)
at org.eclipse.core.internal.jobs.JobManager.sleep(JobManager.java:1067)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilySleep(IJobManagerTest.java:970)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:109)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:93)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:69)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 26 John Arthorne CLA 2006-02-20 10:00:22 EST
N20060220 Linux GTK:

testMutexRule	Failure	Timeout waiting for job to start. Job: testSimpleRules(246), state: 2

junit.framework.AssertionFailedError: Timeout waiting for job to start. Job: testSimpleRules(246), state: 2
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.waitForStart(IJobManagerTest.java:1663)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testMutexRule(IJobManagerTest.java:1142)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 27 John Arthorne CLA 2006-02-27 13:44:37 EST
N20060226, Mac OSX

testJobFamilyJoin	Failure	2.11

junit.framework.AssertionFailedError: 2.11
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilyJoin(IJobManagerTest.java:619)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 28 John Arthorne CLA 2006-02-27 13:48:30 EST
Comment #27 was a race condition in the test.  I have released a fix in IJobManagerTest#testJobFamilyJoin
Comment 29 John Arthorne CLA 2006-02-27 13:49:09 EST
N20060225 Linux:

testMutexRule	Failure	Timeout waiting for job to start. Job: testSimpleRules(237), state: 2

junit.framework.AssertionFailedError: Timeout waiting for job to start. Job: testSimpleRules(237), state: 2
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.waitForStart(IJobManagerTest.java:1678)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testMutexRule(IJobManagerTest.java:1157)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:330)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:204)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338)
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 30 John Arthorne CLA 2006-02-27 13:55:09 EST
Comment 29 is a failure pattern I have seen a few times, but have not be able to reliably reproduce.  Simply, job i is canceled, and job i+1 should then be running. In the failure case, a job from near the *end* of the wait queue is running instead of the first job.  In this case, job 237 should have been running, but the failure state was:

 testSimpleRules(244) state: RUNNING
 testSimpleRules(245) state: WAITING
 testSimpleRules(237) state: WAITING
 testSimpleRules(238) state: WAITING
 testSimpleRules(239) state: WAITING
 testSimpleRules(240) state: WAITING
 testSimpleRules(241) state: WAITING
 testSimpleRules(242) state: WAITING
 testSimpleRules(243) state: WAITING
Comment 31 John Arthorne CLA 2006-05-24 09:54:21 EDT
N20060524

junit.framework.AssertionFailedError: 1.1./1 expected:<4> but was:<0>
org.eclipse.core.tests.resources.MarkerTest.testMarkerChangesInDelta3(MarkerTest.java:77)

junit.framework.AssertionFailedError: 1.2./ expected:<1> but was:<0>
org.eclipse.core.tests.resources.MarkerTest.testCreateMarker(MarkerTest.java:457)

junit.framework.AssertionFailedError: 2.0./ expected:<1> but was:<0>
org.eclipse.core.tests.resources.MarkerTest.testDeleteMarker(MarkerTest.java:520)

junit.framework.AssertionFailedError: 1.1./ expected:<1> but was:<0>
org.eclipse.core.tests.resources.MarkerTest.testMarkerChangesInDelta(MarkerTest.java:791)

junit.framework.AssertionFailedError: 2.2./ expected:<1> but was:<0>
org.eclipse.core.tests.resources.MarkerTest.testMarkerDeltasMerge(MarkerTest.java:1106)

junit.framework.AssertionFailedError: 3.1
org.eclipse.core.tests.resources.MarkerTest.testMarkerDeltasMoveFolder(MarkerTest.java:1232)
Comment 32 John Arthorne CLA 2006-09-26 13:53:06 EDT
I20060926-0800, Linux GTK:

testJobFamilySleep	Failure	2.0: expected state: RUNNING actual state: SLEEPING

junit.framework.AssertionFailedError: 2.0: expected state: RUNNING actual state: SLEEPING
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.assertState(IJobManagerTest.java:87)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilySleep(IJobManagerTest.java:985)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:327)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:201)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341)
at org.eclipse.core.launcher.Main.basicRun(Main.java:285)
at org.eclipse.core.launcher.Main.run(Main.java:987)
at org.eclipse.core.launcher.Main.main(Main.java:962)
Comment 33 John Arthorne CLA 2006-11-21 13:57:00 EST
*** Bug 129950 has been marked as a duplicate of this bug. ***
Comment 34 John Arthorne CLA 2007-06-18 09:41:59 EDT
I20070615-1200/testresults/html/org.eclipse.core.tests.runtime_win32.win32.x86.html

8.9: expected state: NONE actual state: RUNNING

junit.framework.AssertionFailedError: 8.9: expected state: NONE actual state: RUNNING
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.assertState(IJobManagerTest.java:87)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilyWakeUp(IJobManagerTest.java:1120)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:533)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:155)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Comment 35 John Arthorne CLA 2007-06-27 09:40:41 EDT
testJobFamilyWakeUp, N20070627-0010, win32


Failure	8.4: expected state: NONE actual state: RUNNING

junit.framework.AssertionFailedError: 8.4: expected state: NONE actual state: RUNNING
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.assertState(IJobManagerTest.java:87)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilyWakeUp(IJobManagerTest.java:1120)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:533)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:155)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Comment 36 John Arthorne CLA 2007-07-11 14:13:09 EDT
*** Bug 127752 has been marked as a duplicate of this bug. ***
Comment 37 John Arthorne CLA 2007-11-15 14:00:42 EST
N20071115-0010, Mac Java 5:

8.0: expected state: NONE actual state: RUNNING

junit.framework.AssertionFailedError: 8.0: expected state: NONE actual state: RUNNING
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.assertState(IJobManagerTest.java:87)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilyWakeUp(IJobManagerTest.java:1152)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:570)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:516)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:456)
at org.eclipse.equinox.launcher.Main.run(Main.java:1194)
at org.eclipse.equinox.launcher.Main.main(Main.java:1170)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Comment 38 John Arthorne CLA 2009-03-08 13:51:27 EDT
N20090307-2000

junit.framework.AssertionFailedError: 5.0
at org.eclipse.core.tests.runtime.jobs.JobTest.testSetThread(JobTest.java:1251)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:32)
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:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
at org.eclipse.core.launcher.Main.main(Main.java:30)
Comment 39 John Arthorne CLA 2010-04-25 17:14:18 EDT
I20100424-2000 win xp java5

Timeout waiting for job to change state.

junit.framework.AssertionFailedError: Timeout waiting for job to change state.
at org.eclipse.core.tests.runtime.jobs.JobTest.waitForState(JobTest.java:1298)
at org.eclipse.core.tests.runtime.jobs.JobTest.testSetProgressGroup(JobTest.java:1178)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 40 John Arthorne CLA 2010-04-27 13:02:37 EDT
*** Bug 310393 has been marked as a duplicate of this bug. ***
Comment 41 John Arthorne CLA 2010-04-28 16:04:13 EDT
The failure in comment #39 also occurred in I20100428-0100, also on WinXP Java 5. This test had never failed in the past and has now happened twice in a week. I am investigating.
Comment 42 John Arthorne CLA 2010-06-28 13:28:29 EDT
M20100624-0800 win32:

While resuming from yieldRule, implicit Job should only run once expected:<0> but was:<1>

junit.framework.AssertionFailedError: While resuming from yieldRule, implicit Job should only run once expected:<0> but was:<1>
at org.eclipse.core.tests.runtime.jobs.YieldTest.testResumingThreadJobIsNotRescheduled(YieldTest.java:981)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 43 John Arthorne CLA 2010-07-02 11:26:58 EDT
N20100701 win32 Java 5

junit.framework.AssertionFailedError: 8.0
at org.eclipse.core.tests.runtime.jobs.JobTest.testSetThread(JobTest.java:1287)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 44 John Arthorne CLA 2010-07-02 11:28:26 EDT
M20100630-0800 win32 Java 6

While resuming from yieldRule, implicit Job should only run once expected:<0> but was:<1>

junit.framework.AssertionFailedError: While resuming from yieldRule, implicit Job should only run once expected:<0> but was:<1>
at org.eclipse.core.tests.runtime.jobs.YieldTest.testResumingThreadJobIsNotRescheduled(YieldTest.java:981)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 45 John Arthorne CLA 2010-07-21 12:03:12 EDT
I20100720-0800, win32

Timeout waiting for status to change from WAIT_FOR_START to RUNNING

junit.framework.AssertionFailedError: Timeout waiting for status to change from WAIT_FOR_START to RUNNING
at org.eclipse.core.tests.harness.TestBarrier.doWaitForStatus(TestBarrier.java:86)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:120)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:158)
at org.eclipse.core.tests.runtime.jobs.JobTest.testSetProgressGroup(JobTest.java:1197)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 46 John Arthorne CLA 2010-08-30 13:22:05 EDT
N20100828, Windows

While resuming from yieldRule, implicit Job should only run once expected:<0> but was:<1>

junit.framework.AssertionFailedError: While resuming from yieldRule, implicit Job should only run once expected:<0> but was:<1>
at org.eclipse.core.tests.runtime.jobs.YieldTest.testNestedAcquireJobIsNotRescheduled(YieldTest.java:1039)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576)
at org.eclipse.equinox.launcher.Main.run(Main.java:1409)
at org.eclipse.equinox.launcher.Main.main(Main.java:1385)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 47 John Arthorne CLA 2010-09-02 10:40:51 EDT
M20100901-0800 Linux

Timeout waiting for status to change from WAIT_FOR_START to RUNNING

junit.framework.AssertionFailedError: Timeout waiting for status to change from WAIT_FOR_START to RUNNING
at org.eclipse.core.tests.harness.TestBarrier.doWaitForStatus(TestBarrier.java:86)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:120)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:158)
at org.eclipse.core.tests.runtime.jobs.JobTest.testSetProgressGroup(JobTest.java:1197)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 48 John Arthorne CLA 2010-09-08 09:30:08 EDT
N20100907-0100 Windows Java 6

junit.framework.AssertionFailedError: While resuming from yieldRule, implicit Job should only run once expected:<0> but was:<1>
at org.eclipse.core.tests.runtime.jobs.YieldTest.testNestedAcquireJobIsNotRescheduled(YieldTest.java:1039)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576)
at org.eclipse.equinox.launcher.Main.run(Main.java:1409)
at org.eclipse.equinox.launcher.Main.main(Main.java:1385)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 49 John Arthorne CLA 2010-09-08 09:40:12 EDT
(In reply to comment #48)
> N20100907-0100 Windows Java 6
> 
> junit.framework.AssertionFailedError: While resuming from yieldRule, implicit
> Job should only run once expected:<0> but was:<1>

This turned out to be a bogus assertion in the test. I have entered bug 324740 to track it, and released a fix to the test.
Comment 50 John Arthorne CLA 2011-05-02 15:17:03 EDT
N20110429, Mac OS X:

Timeout waiting for status to change from WAIT_FOR_START to RUNNING

junit.framework.AssertionFailedError: Timeout waiting for status to change from WAIT_FOR_START to RUNNING
at org.eclipse.core.tests.harness.TestBarrier.doWaitForStatus(TestBarrier.java:86)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:120)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:158)
at org.eclipse.core.tests.runtime.jobs.JobTest.testSetProgressGroup(JobTest.java:1259)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:495)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
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)
Comment 51 John Arthorne CLA 2011-06-30 11:48:06 EDT
N20110629-0200 Mac OS X

4.2.0: expected state: WAITING actual state: RUNNING

junit.framework.AssertionFailedError: 4.2.0: expected state: WAITING actual state: RUNNING
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.assertState(IJobManagerTest.java:86)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilyWakeUp(IJobManagerTest.java:1205)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
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)
Comment 52 John Arthorne CLA 2011-10-26 15:23:44 EDT
I20111025-1800 Linux x86_64

Timeout after 51097ms waiting for status to change from WAIT_FOR_START to RUNNING

junit.framework.AssertionFailedError: Timeout after 51097ms waiting for status to change from WAIT_FOR_START to RUNNING
at org.eclipse.core.tests.harness.TestBarrier.doWaitForStatus(TestBarrier.java:88)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:122)
at org.eclipse.core.tests.harness.TestBarrier.waitForStatus(TestBarrier.java:160)
at org.eclipse.core.tests.runtime.jobs.JobTest.testSetProgressGroup(JobTest.java:1259)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
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:352)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:624)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:579)
at org.eclipse.equinox.launcher.Main.run(Main.java:1431)
at org.eclipse.equinox.launcher.Main.main(Main.java:1407)
Comment 53 John Arthorne CLA 2012-06-08 10:52:38 EDT
I20120606 Mac OS X:

junit.framework.AssertionFailedError: 1.0
at org.eclipse.core.tests.runtime.jobs.OrderedLockTest.testLockAcquireInterrupt(OrderedLockTest.java:118)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:501)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:259)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 54 Dani Megert CLA 2013-04-10 04:12:18 EDT
IJobManagerTest.testJobFamilyWakeUp failed again, this time on Linux. Looks like something *is* wrong here.


7.1.0: expected state: WAITING actual state: RUNNING

junit.framework.AssertionFailedError: 7.1.0: expected state: WAITING actual state: RUNNING
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.assertState(IJobManagerTest.java:86)
at org.eclipse.core.tests.runtime.jobs.IJobManagerTest.testJobFamilyWakeUp(IJobManagerTest.java:1257)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:655)
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:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 55 Dani Megert CLA 2013-04-29 08:50:40 EDT
And again on Linux:
http://download.eclipse.org/eclipse/downloads/drops4/I20130428-2000/testresults/html/org.eclipse.core.tests.runtime_linux.gtk.x86_6.0.html

John, can you take a look whether there's a real issue, or whether the test is flaky and can be disabled for now?
Comment 56 John Arthorne CLA 2013-04-29 13:40:18 EDT
(In reply to comment #55)
> And again on Linux:
> http://download.eclipse.org/eclipse/downloads/drops4/I20130428-2000/
> testresults/html/org.eclipse.core.tests.runtime_linux.gtk.x86_6.0.html
> 
> John, can you take a look whether there's a real issue, or whether the test
> is flaky and can be disabled for now?

Indeed there is a problem with the test. Strange that this particular failure only started happening recently but it could be due to faster test slave hardware. I have opened bug 406829 to fix this particular bug.

I removed the milestone from this bug. I prefer keeping this one open because it enables me to see failure patterns over time.
Comment 57 Dani Megert CLA 2013-07-10 04:28:45 EDT
Another JobTest failed, see bug 412644.
Comment 58 Dani Megert CLA 2013-08-06 09:27:12 EDT
And bug 414490.
Comment 59 Dani Megert CLA 2013-08-26 10:07:07 EDT
Yet another JobTest failed, see bug 415878.
Comment 60 Dani Megert CLA 2013-08-26 10:11:06 EDT
And DeadlockDetectionTest.testThreeLocks failed (see bug 415879 and comment 0).
Comment 61 Dani Megert CLA 2013-10-31 05:49:16 EDT
JobTest.testSetProgressGroup failed again in I20131030-1400 (see bug 412644)
Comment 62 Kalyan Prasad Tatavarthi CLA 2017-09-07 07:32:39 EDT
org.eclipse.core.tests.resources.IResourceTest.testDelete failed on M20170906-1700

java.lang.AssertionError: invocation 68 should fail, but it doesn't [false,null,F/openProject/1/2]
	at org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:80)
	at org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
	at org.eclipse.core.tests.resources.TestPerformer.performTestRecursiveLoop(TestPerformer.java:111)
	at org.eclipse.core.tests.resources.TestPerformer.performTest(TestPerformer.java:55)
	at org.eclipse.core.tests.resources.IResourceTest.testDelete(IResourceTest.java:1028)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:749)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:350)
	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:653)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
	at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 63 Noopur Gupta CLA 2020-01-31 01:18:56 EST
4 tests failed on win32-java8 in I20200129-1800:

test5	Failure	N/A
junit.framework.AssertionFailedError: 3.0
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.core.tests.resources.usecase.Snapshot5Test.testVerifyPreviousSession(Snapshot5Test.java:53)
at org.eclipse.core.tests.resources.usecase.SnapshotTest.test5(SnapshotTest.java:99)
...


testBug256837	Error	N/A
java.lang.NullPointerException
at org.eclipse.core.tests.internal.alias.BasicAliasTest.testBug256837(BasicAliasTest.java:335)
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:177)
at junit.framework.TestCase.runBare(TestCase.java:142)
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:130)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at junit.framework.TestSuite.runTest(TestSuite.java:241)
at junit.framework.TestSuite.run(TestSuite.java:236)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:90)
...

test4	Failure	N/A
junit.framework.AssertionFailedError: 3.1
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.core.tests.resources.usecase.Snapshot4Test.testVerifyPreviousSession(Snapshot4Test.java:143)
...

test3	Failure	N/A
junit.framework.AssertionFailedError: 3.1
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.TestCase.assertTrue(TestCase.java:192)
at org.eclipse.core.tests.resources.usecase.Snapshot3Test.testVerifyPreviousSession(Snapshot3Test.java:62)
at org.eclipse.core.tests.resources.usecase.SnapshotTest.test3(SnapshotTest.java:80)
...