Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365180

Summary: Test failures in TypeHierarchyTests
Product: [Eclipse Project] JDT Reporter: Jay Arthanareeswaran <jarthana>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, satyam.kandula, srikanth_sankaran
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jay Arthanareeswaran CLA 2011-11-30 07:34:03 EST
The following failures are occurring in TypeHierarchyTests. I think I have seen these failures before, though not being able to reproduce them locally on all occasions. I am attaching the stack for both tests. I guess the failures are related, though I am not absolutely sure.

-------
Unexpected work count expected:<85> but was:<81>

junit.framework.AssertionFailedError: Unexpected work count expected:<85> but was:<81>
at org.eclipse.jdt.core.tests.model.TypeHierarchyTests.testEfficiencyMultipleProjects(TypeHierarchyTests.java:671)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:100)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:84)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java:72)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:81)
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:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
at org.eclipse.core.launcher.Main.main(Main.java:34)

-----
Unexpected indexing of non-existent external jar file while building hierarchy! expected:<2> but was:<1>

junit.framework.AssertionFailedError: Unexpected indexing of non-existent external jar file while building hierarchy! expected:<2> but was:<1>
at org.eclipse.jdt.core.tests.model.TypeHierarchyTests.testBug215841(TypeHierarchyTests.java:2350)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.runTest(SuiteOfTestCases.java:100)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.superRun(SuiteOfTestCases.java:84)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$1.protect(SuiteOfTestCases.java:72)
at org.eclipse.jdt.core.tests.model.SuiteOfTestCases$Suite.run(SuiteOfTestCases.java:81)
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:1433)
at org.eclipse.equinox.launcher.Main.main(Main.java:1409)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Srikanth Sankaran CLA 2011-11-30 23:30:38 EST
(In reply to comment #0)
> The following failures are occurring in TypeHierarchyTests. I think I have seen
> these failures before, though not being able to reproduce them locally on all
> occasions. 

So are you able to reproduce them now ?
Comment 2 Jay Arthanareeswaran CLA 2011-11-30 23:33:34 EST
(In reply to comment #1)
> So are you able to reproduce them now ?
 No, not in my environment so far.
Comment 3 Jay Arthanareeswaran CLA 2012-01-09 23:30:00 EST
These failures occurred again in today's nightly build:
http://download.eclipse.org/eclipse/downloads/drops/N20120108-2000/
Comment 4 Markus Keller CLA 2014-06-13 12:12:17 EDT

*** This bug has been marked as a duplicate of bug 436563 ***