[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Hudson build is unstable: cdt-nightly #743

Ah, yes, I forgot that the managed build core tests need the UI. I’ll turn on the UI harness for them.

 

BTW, I’m glad 69 failed tests out of over 11,000 is unusual J.

 

Doug.

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Gvozdev
Sent: Friday, July 01, 2011 11:28 AM
To: Doug Schaefer; CDT General developers list.
Subject: Re: [cdt-dev] Hudson build is unstable: cdt-nightly #743

 

Hi Doug,

There is an abnormal number of unit tests failing in Hudson build under Maven. Are the unit tests running as "JUnit Plugin Tests" rather than plain JUnit?

 

testProjectUpdate12_Update(org.eclipse.cdt.managedbuilder.core.tests.ManagedProjectUpdateTests)  Time elapsed: 0.065 sec  <<< ERROR!

java.lang.IllegalStateException: Workbench has not been created yet.

          at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)

          at org.eclipse.cdt.managedbuilder.internal.dataprovider.ProjectConverter.openInformation(ProjectConverter.java:281)

          at org.eclipse.cdt.managedbuilder.internal.dataprovider.ProjectConverter.displayInfo(ProjectConverter.java:241)

          at org.eclipse.cdt.managedbuilder.internal.dataprovider.ProjectConverter.convertProject(ProjectConverter.java:149)

          at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getConvertedDescription(XmlProjectDescriptionStorage.java:414)

          at org.eclipse.cdt.internal.core.settings.model.xml.XmlProjectDescriptionStorage.getProjectDescription(XmlProjectDescriptionStorage.java:240)

          at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescriptionInternal(CProjectDescriptionManager.java:416)

          at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:398)

          at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.findBuildInfo(ManagedBuildManager.java:2709)

          at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.getBuildInfo(ManagedBuildManager.java:2970)

          at org.eclipse.cdt.managedbuilder.core.ManagedBuildManager.getBuildInfo(ManagedBuildManager.java:2925)

          at org.eclipse.cdt.managedbuilder.core.tests.ManagedProjectUpdateTests.doTestProjectUpdate(ManagedProjectUpdateTests.java:128)

          at org.eclipse.cdt.managedbuilder.core.tests.ManagedProjectUpdateTests.testProjectUpdate12_Update(ManagedProjectUpdateTests.java:210)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at junit.framework.TestCase.runTest(TestCase.java:168)

          at junit.framework.TestCase.runBare(TestCase.java:134)

          at junit.framework.TestResult$1.protect(TestResult.java:110)

          at junit.framework.TestResult.runProtected(TestResult.java:128)

          at junit.framework.TestResult.run(TestResult.java:113)

          at junit.framework.TestCase.run(TestCase.java:124)

          at junit.framework.TestSuite.runTest(TestSuite.java:243)

          at junit.framework.TestSuite.run(TestSuite.java:238)

          at junit.framework.TestSuite.runTest(TestSuite.java:243)

          at junit.framework.TestSuite.run(TestSuite.java:238)

          at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)

          at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)

          at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)

          at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)

          at org.apache.maven.surefire.Surefire.run(Surefire.java:177)

          at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:72)

          at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          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)

 

Thanks,

Andrew