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

Bug 340123

Summary: JUnit: cdt.core Intermittent CDescriptor test failure "description is being loadded"
Product: [Tools] CDT Reporter: James Blackburn <jamesblackburn+eclipse>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description James Blackburn CLA 2011-03-16 05:09:51 EDT
Some multi-threaded tests fail intermittently on HEAD.  

description is being loadded
Stacktrace

org.eclipse.core.runtime.CoreException: description is being loadded
	at org.eclipse.cdt.internal.core.settings.model.ExceptionFactory.createCoreException(ExceptionFactory.java:22)
	at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:829)
	at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:806)
	at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.setProjectDescription(CProjectDescriptionManager.java:801)
	at org.eclipse.cdt.internal.core.CConfigBasedDescriptor$SerializingJob.serialize(CConfigBasedDescriptor.java:137)
	at org.eclipse.cdt.internal.core.CConfigBasedDescriptor.apply(CConfigBasedDescriptor.java:260)
	at org.eclipse.cdt.internal.core.CConfigBasedDescriptor.saveProjectData(CConfigBasedDescriptor.java:621)
	at org.eclipse.cdt.core.cdescriptor.tests.CDescriptorTests.testConcurrentDescriptorCreation(CDescriptorTests.java:196)
	at org.eclipse.cdt.core.testplugin.util.BaseTestCase.runBare(BaseTestCase.java:155)
	at org.eclipse.cdt.core.testplugin.util.BaseTestCase.run(BaseTestCase.java:199)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
	at junit.extensions.TestSetup.run(TestSetup.java:27)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:416)
	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:249)
	at org.eclipse.test.UITestApplication$2.run(UITestApplication.java:197)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3524)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3173)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2697)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2661)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2495)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:140)
	at org.eclipse.test.UITestApplication.run(UITestApplication.java:62)
	at org.eclipse.test.UITestApplication.start(UITestApplication.java:212)
	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: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 1 Andrew Gvozdev CLA 2011-03-16 12:13:03 EDT
Changing description to be more specific. There are others intermittent failures in CDT suite including CDescriptor. Just search by "JUnit".
Comment 2 James Blackburn CLA 2011-03-16 12:18:02 EDT
(In reply to comment #1)
> Changing description to be more specific. There are others intermittent
> failures in CDT suite including CDescriptor. Just search by "JUnit".

Sure, they should probably be grouped together...
Comment 3 Andrew Gvozdev CLA 2011-03-16 12:22:23 EDT
Well generic task "Fix all JUnit tests" or some variation makes little sense to me since you can never fix that especially with intermittent failures.
Comment 4 CDT Genie CLA 2013-02-27 11:54:41 EST
*** cdt git genie on behalf of Anton Leherbauer ***

    Bug 340123 - Disable intermittently failing test

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fc304dbbe3edd867c54ebedf6b422ea6db09f7c9