[ImageJ-devel] Build failed in Jenkins: ImageJ #3034

jenkins at imagej.net jenkins at imagej.net
Thu Apr 26 14:28:17 CDT 2012


See <http://jenkins.imagej.net/job/ImageJ/3034/changes>

Changes:

[Curtis Rueden] Add TODO to eliminate ugly case logic

[Curtis Rueden] Add StatusService to simplify status notifications

[Curtis Rueden] Fix warnings

[Curtis Rueden] Use StatusService where it makes sense to do so

[Curtis Rueden] Fix version number

------------------------------------------
[...truncated 2186 lines...]
[WARN ] ====> Roi class = ij.gui.PolygonRoi
[WARN ] ====> POLYGON: Roi[Polygon, x=3, y=8, width=2, height=2]
[INFO ] Created service: imagej.event.DefaultEventService
[INFO ] Created service: imagej.thread.DefaultThreadService
[INFO ] Created service: imagej.ext.module.DefaultModuleService
[INFO ] Found 34 plugins.
[INFO ] Created service: imagej.ext.plugin.DefaultPluginService
[INFO ] Created service: imagej.options.OptionsService
[INFO ] Created service: imagej.object.DefaultObjectService
[INFO ] Created service: imagej.ext.display.DefaultDisplayService
[INFO ] Created service: imagej.data.display.DefaultImageDisplayService
[WARN ] Failed to instantiate IJ1.
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
	at java.awt.Window.<init>(Window.java:476)
	at java.awt.Frame.<init>(Frame.java:419)
	at ij.ImageJ.<init>(ImageJ.java:132)
	at ij.ImageJ.<init>(ImageJ.java:120)
	at imagej.legacy.LegacyService.<init>(LegacyService.java:123)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at imagej.service.ServiceHelper.createService(ServiceHelper.java:186)
	at imagej.service.ServiceHelper.createExactService(ServiceHelper.java:150)
	at imagej.service.ServiceHelper.loadService(ServiceHelper.java:132)
	at imagej.service.ServiceHelper.loadServices(ServiceHelper.java:110)
	at imagej.ImageJ.createContext(ImageJ.java:91)
	at imagej.ImageJ.createContext(ImageJ.java:77)
	at imagej.legacy.OverlayHarmonizerTest.testDonut(OverlayHarmonizerTest.java:282)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
[WARN ] Could not load launcher config file /data/devel/jenkins/jobs/ImageJ/workspace/core/core/ImageJ.cfg
[INFO ] Created service: imagej.legacy.LegacyService
[WARN ] ====> Roi class = ij.gui.ShapeRoi
[WARN ] ====> COMPOSITE: Roi[Composite, x=6, y=9, width=5, height=6]
[WARN ] ====> Roi class = ij.gui.PolygonRoi
[WARN ] ====> POLYGON: Roi[Polygon, x=8, y=11, width=1, height=2]
[WARN ] ====> Roi class = ij.gui.PolygonRoi
[WARN ] ====> POLYGON: Roi[Polygon, x=6, y=9, width=5, height=6]
[INFO ] Created service: imagej.event.DefaultEventService
[INFO ] Created service: imagej.thread.DefaultThreadService
[INFO ] Created service: imagej.ext.module.DefaultModuleService
[INFO ] Found 34 plugins.
[INFO ] Created service: imagej.ext.plugin.DefaultPluginService
[INFO ] Created service: imagej.options.OptionsService
[INFO ] Created service: imagej.object.DefaultObjectService
[INFO ] Created service: imagej.ext.display.DefaultDisplayService
[INFO ] Created service: imagej.data.display.DefaultImageDisplayService
[WARN ] Failed to instantiate IJ1.
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
	at java.awt.Window.<init>(Window.java:476)
	at java.awt.Frame.<init>(Frame.java:419)
	at ij.ImageJ.<init>(ImageJ.java:132)
	at ij.ImageJ.<init>(ImageJ.java:120)
	at imagej.legacy.LegacyService.<init>(LegacyService.java:123)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at imagej.service.ServiceHelper.createService(ServiceHelper.java:186)
	at imagej.service.ServiceHelper.createExactService(ServiceHelper.java:150)
	at imagej.service.ServiceHelper.loadService(ServiceHelper.java:132)
	at imagej.service.ServiceHelper.loadServices(ServiceHelper.java:110)
	at imagej.ImageJ.createContext(ImageJ.java:91)
	at imagej.ImageJ.createContext(ImageJ.java:77)
	at imagej.legacy.OverlayHarmonizerTest.testCreateBinaryMaskOverlay(OverlayHarmonizerTest.java:341)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
[WARN ] Could not load launcher config file /data/devel/jenkins/jobs/ImageJ/workspace/core/core/ImageJ.cfg
[INFO ] Created service: imagej.legacy.LegacyService
[WARN ] ====> Roi class = ij.gui.PolygonRoi
[WARN ] ====> FREEROI: Roi[Freehand, x=6, y=9, width=5, height=6]
[INFO ] Created service: imagej.event.DefaultEventService
[INFO ] Created service: imagej.thread.DefaultThreadService
[INFO ] Created service: imagej.ext.module.DefaultModuleService
[INFO ] Found 34 plugins.
[INFO ] Created service: imagej.ext.plugin.DefaultPluginService
[INFO ] Created service: imagej.options.OptionsService
[INFO ] Created service: imagej.object.DefaultObjectService
[INFO ] Created service: imagej.ext.display.DefaultDisplayService
[INFO ] Created service: imagej.data.display.DefaultImageDisplayService
[WARN ] Failed to instantiate IJ1.
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
	at java.awt.Window.<init>(Window.java:476)
	at java.awt.Frame.<init>(Frame.java:419)
	at ij.ImageJ.<init>(ImageJ.java:132)
	at ij.ImageJ.<init>(ImageJ.java:120)
	at imagej.legacy.LegacyService.<init>(LegacyService.java:123)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
	at imagej.service.ServiceHelper.createService(ServiceHelper.java:186)
	at imagej.service.ServiceHelper.createExactService(ServiceHelper.java:150)
	at imagej.service.ServiceHelper.loadService(ServiceHelper.java:132)
	at imagej.service.ServiceHelper.loadServices(ServiceHelper.java:110)
	at imagej.ImageJ.createContext(ImageJ.java:91)
	at imagej.ImageJ.createContext(ImageJ.java:77)
	at imagej.legacy.OverlayHarmonizerTest.testCreateBinaryMaskROI(OverlayHarmonizerTest.java:372)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
[WARN ] Could not load launcher config file /data/devel/jenkins/jobs/ImageJ/workspace/core/core/ImageJ.cfg
[INFO ] Created service: imagej.legacy.LegacyService
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.086 sec <<< FAILURE!
Running imagej.legacy.LegacyImageMapTest
[INFO ] Created service: imagej.event.DefaultEventService
[INFO ] Created service: imagej.object.DefaultObjectService
[INFO ] Created service: imagej.data.DefaultDatasetService
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.02 sec <<< FAILURE!
Running imagej.legacy.translate.LegacyUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec

Results :

Tests in error: 
  testCreateBinaryMaskROI(imagej.legacy.OverlayHarmonizerTest)
  testRegisterLegacyImage(imagej.legacy.LegacyImageMapTest)

Tests run: 15, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /data/devel/jenkins/jobs/ImageJ/workspace/core/legacy/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57 seconds
[INFO] Finished at: Thu Apr 26 14:28:16 CDT 2012
[INFO] Final Memory: 107M/974M
[INFO] ------------------------------------------------------------------------
Archiving artifacts
Performance: No threshold configured for making the test unstable
Performance: No threshold configured for making the test failure
Performance: Recording JUnit reports '**/TEST-*.xml'
Performance: Parsing JUnit report file TEST-imagej.object.ObjectIndexTest.xml
Performance: Parsing JUnit report file TEST-imagej.util.ColorRGBTest.xml
Performance: Parsing JUnit report file TEST-imagej.util.FileUtilsTest.xml
Performance: Parsing JUnit report file TEST-imagej.util.UnitUtilsTest.xml
Performance: Parsing JUnit report file TEST-imagej.data.DatasetTest.xml
Performance: Parsing JUnit report file TEST-imagej.data.ExtentsTest.xml
Performance: Parsing JUnit report file TEST-imagej.data.PositionTest.xml
Performance: Parsing JUnit report file TEST-imagej.data.TestCursorSpeeds.xml
Performance: Parsing JUnit report file TEST-imagej.data.overlay.TestBinaryMaskOverlay.xml
Performance: Parsing JUnit report file TEST-imagej.ext.menu.ShadowMenuTest.xml
Performance: Parsing JUnit report file TEST-imagej.legacy.LegacyImageMapTest.xml
Performance: Parsing JUnit report file TEST-imagej.legacy.OverlayHarmonizerTest.xml
Performance: Parsing JUnit report file TEST-imagej.legacy.translate.LegacyUtilsTest.xml
Performance: Parsing JUnit report file TEST-imagej.updater.core.UpdaterTest.xml
Performance: File TEST-imagej.object.ObjectIndexTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.util.ColorRGBTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.util.FileUtilsTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.util.UnitUtilsTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.data.DatasetTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.data.ExtentsTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.data.PositionTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.data.TestCursorSpeeds.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.data.overlay.TestBinaryMaskOverlay.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.ext.menu.ShadowMenuTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.legacy.LegacyImageMapTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.legacy.OverlayHarmonizerTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.legacy.translate.LegacyUtilsTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.updater.core.UpdaterTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE



More information about the ImageJ-devel mailing list