[ImageJ-builds] Build failed in Jenkins: ImageJ #4417

jenkins at imagej.net jenkins at imagej.net
Fri Apr 26 14:20:59 CDT 2013


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

Changes:

[Johannes Schindelin] Let the LegacyService set IJ._context properly

[Johannes Schindelin] Add a unit test for the LegacyService

------------------------------------------
[...truncated 3311 lines...]
[INFO] Compiling 3 source files to /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/classes
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] Surefire report directory: /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

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

[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/ij-util-awt-2.0.0-SNAPSHOT.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [imagej:set-rootdir {execution: set-rootdir}]
[INFO] [buildnumber:create {execution: default}]
[INFO] [source:jar {execution: default}]
[INFO] Building jar: /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/ij-util-awt-2.0.0-SNAPSHOT-sources.jar
[INFO] [jar:test-jar {execution: default}]
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/ij-util-awt-2.0.0-SNAPSHOT-tests.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/ij-util-awt-2.0.0-SNAPSHOT.jar to /var/lib/jenkins/.m2/repository/net/imagej/ij-util-awt/2.0.0-SNAPSHOT/ij-util-awt-2.0.0-SNAPSHOT.jar
[INFO] Installing /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/ij-util-awt-2.0.0-SNAPSHOT-sources.jar to /var/lib/jenkins/.m2/repository/net/imagej/ij-util-awt/2.0.0-SNAPSHOT/ij-util-awt-2.0.0-SNAPSHOT-sources.jar
[INFO] Installing /data/devel/jenkins/jobs/ImageJ/workspace/ui/awt-swing/util/target/ij-util-awt-2.0.0-SNAPSHOT-tests.jar to /var/lib/jenkins/.m2/repository/net/imagej/ij-util-awt/2.0.0-SNAPSHOT/ij-util-awt-2.0.0-SNAPSHOT-tests.jar
[INFO] [imagej:copy-jars {execution: copy-jars}]
[INFO] Property 'imagej.app.directory' unset; Skipping copy-jars
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Legacy Bridge
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [imagej:set-rootdir {execution: set-rootdir}]
[INFO] [buildnumber:create {execution: default}]
[debug] execute contextualize
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 46 source files to /data/devel/jenkins/jobs/ImageJ/workspace/core/legacy/target/classes
[debug] execute contextualize
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImageJ/workspace/core/legacy/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 6 source files to /data/devel/jenkins/jobs/ImageJ/workspace/core/legacy/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory: /data/devel/jenkins/jobs/ImageJ/workspace/core/legacy/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running imagej.legacy.OverlayHarmonizerTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 10, Time elapsed: 0.047 sec
Running imagej.legacy.LegacyServiceTest
WARN: Updating the annotation index in /data/devel/jenkins/jobs/ImageJ/workspace/core/legacy/target/classes
SezPoz generated annotations.
[WARNING] Invalid service: imagej.legacy.DefaultLegacyService
[INFO] Created service: org.scijava.log.StderrLogService
[INFO] Created service: org.scijava.thread.DefaultThreadService
[INFO] Created service: org.scijava.event.DefaultEventService
[WARNING] Invalid service: imagej.legacy.DefaultLegacyService
[INFO] Found 119 plugins.
[INFO] Created service: org.scijava.plugin.DefaultPluginService
[INFO] Created service: imagej.text.DefaultTextService
[INFO] Created service: org.scijava.object.DefaultObjectService
[INFO] Created service: imagej.display.DefaultDisplayService
[INFO] Created service: imagej.widget.DefaultWidgetService
[INFO] Created service: imagej.module.DefaultModuleService
[ERROR] Exception during event handling:
	[Event] imagej.module.event.ModulesAddedEvent
	context = org.scijava.Context at 71cf662f
	consumed = false
	items[0] = menu='Edit > Options > Appearance...', priority=0.0, enabled=true, pluginType=Command
	items[1] = menu='Edit > Options > Arrow Tool...', priority=0.0, enabled=true, pluginType=Command
	items[2] = menu='Edit > Options > Channels...', priority=0.0, enabled=true, pluginType=Command
	items[3] = menu='Edit > Options > Compatibility...', priority=0.0, enabled=true, pluginType=Command
	items[4] = menu='Edit > Options > Compiler...', priority=0.0, enabled=true, pluginType=Command
	items[5] = menu='Edit > Options > Conversions...', priority=0.0, enabled=true, pluginType=Command
	items[6] = menu='Edit > Options > DICOM...', priority=0.0, enabled=true, pluginType=Command
	items[7] = label='Default Overlay Settings', menu='Image > Overlay > Overlay Options...', priority=0.0, enabled=true, pluginType=Command
	items[8] = menu='Edit > Options > Fonts...', priority=0.0, enabled=true, pluginType=Command
	items[9] = menu='Edit > Options > Input/Output...', priority=0.0, enabled=true, pluginType=Command
	items[10] = menu='Edit > Options > Line Width...', priority=0.0, enabled=true, pluginType=Command
	items[11] = menu='Plugins > Script > List Engines', priority=0.0, enabled=true, pluginType=Command
	items[12] = menu='Edit > Options > Memory & Threads...', priority=0.0, enabled=true, pluginType=Command
	items[13] = menu='Edit > Options > Misc...', priority=0.0, enabled=true, pluginType=Command
	items[14] = menu='Plugins > Sandbox > Mixed World Command', priority=0.0, enabled=true, pluginType=Command
	items[15] = menu='Plugins > Script > Options...', priority=0.0, enabled=true, pluginType=Command
	items[16] = priority=0.0, enabled=true, pluginType=Command
	items[17] = menu='Edit > Options > Point Tool...', priority=0.0, enabled=true, pluginType=Command
	items[18] = menu='Edit > Options > Profile Plot Options...', priority=0.0, enabled=true, pluginType=Command
	items[19] = menu='Edit > Options > Proxy Settings...', priority=0.0, enabled=true, pluginType=Command
	items[20] = menu='Edit > Options > Reset', priority=0.0, enabled=true, pluginType=Command
	items[21] = menu='Edit > Options > Rounded Rect Tool...', priority=0.0, enabled=true, pluginType=Command
	items[22] = menu='Plugins > Script > Run Script', priority=0.0, enabled=true, pluginType=Command
	items[23] = label='Select Window...', priority=0.0, enabled=true, pluginType=Command
	items[24] = menu='Help > Switch to Legacy Mode', priority=0.0, enabled=true, pluginType=Command
	items[25] = label='There are updates available', priority=0.0, enabled=true, pluginType=Command
	items[26] = menu='Edit > Options > Wand Tool...', priority=0.0, enabled=true, pluginType=Command
	[Subscriber] imagej.menu.DefaultMenuService [priority = 0.0]
	[Method] protected void imagej.menu.DefaultMenuService.onEvent(imagej.module.event.ModulesAddedEvent)
java.lang.NullPointerException
	at imagej.menu.DefaultMenuService.addModules(DefaultMenuService.java:193)
	at imagej.menu.DefaultMenuService.onEvent(DefaultMenuService.java:157)
	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.scijava.event.DefaultEventService$ProxySubscriber.onEvent(DefaultEventService.java:248)
	at org.scijava.event.DefaultEventService$ProxySubscriber.onEvent(DefaultEventService.java:223)
	at org.bushe.swing.event.ThreadSafeEventService.publish(ThreadSafeEventService.java:971)
	at org.scijava.event.DefaultEventBus.access$101(DefaultEventBus.java:60)
	at org.scijava.event.DefaultEventBus$1.run(DefaultEventBus.java:200)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
	at java.awt.EventQueue.access$000(EventQueue.java:84)
	at java.awt.EventQueue$1.run(EventQueue.java:602)
	at java.awt.EventQueue$1.run(EventQueue.java:600)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[INFO] Created service: imagej.command.DefaultCommandService
[INFO] Created service: imagej.menu.DefaultMenuService
[INFO] Found 2 applications.
[INFO] Created service: org.scijava.app.DefaultAppService
[INFO] Created service: org.scijava.app.DefaultStatusService
[INFO] Created service: imagej.tool.DefaultToolService
[INFO] Created service: imagej.script.DefaultScriptService
[INFO] Created service: imagej.platform.DefaultAppEventService
[INFO] Configuring platform: imagej.platform.DefaultPlatform
[INFO] Created service: imagej.platform.DefaultPlatformService
[INFO] Created service: imagej.options.DefaultOptionsService
[INFO] Created service: org.scijava.event.DefaultEventHistory
[INFO] Created service: imagej.data.DefaultDatasetService
[INFO] Created service: imagej.data.operator.DefaultCalculatorService
[INFO] Created service: imagej.data.display.DefaultImageDisplayService
[INFO] Created service: imagej.render.DummyRenderingService
[INFO] Created service: imagej.data.display.DefaultOverlayService
[INFO] Created service: imagej.data.display.DefaultWindowService
[INFO] Created service: imagej.data.display.DefaultInputService
[INFO] Created service: imagej.data.animation.DefaultAnimationService
[INFO] Created service: imagej.data.lut.DefaultLUTService
[INFO] Created service: imagej.data.threshold.DefaultThresholdService
[INFO] Created service: imagej.data.measure.DefaultMeasurementService
[INFO] Created service: imagej.data.measure.DefaultStatisticsService
[INFO] Created service: imagej.data.sampler.DefaultSamplerService
[INFO] Created service: imagej.ui.DefaultUIService
[INFO] Found 3 drag-and-drop handlers.
[INFO] Created service: imagej.ui.dnd.DefaultDragAndDropService
[INFO] Found 1 upload mechanisms.
[INFO] Created service: imagej.updater.core.DefaultUploaderService
[INFO] Created service: imagej.data.display.DummyScreenCaptureService
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.605 sec <<< FAILURE!
Running imagej.legacy.LegacyImageMapTest
[INFO] Created service: org.scijava.log.StderrLogService
[INFO] Created service: org.scijava.thread.DefaultThreadService
[INFO] Created service: org.scijava.event.DefaultEventService
[INFO] Created service: org.scijava.object.DefaultObjectService
[INFO] Created service: imagej.data.DefaultDatasetService
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.117 sec
Running imagej.legacy.translate.LegacyUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.001 sec

Results :

Failed tests:   testContext(imagej.legacy.LegacyServiceTest): expected:<org.scijava.Context at 2e9dca26> but was:<org.scijava.Context at 71cf662f>

Tests run: 16, Failures: 1, Errors: 0, Skipped: 12

[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: 42 seconds
[INFO] Finished at: Fri Apr 26 14:20:58 CDT 2013
[INFO] Final Memory: 94M/1340M
[INFO] ------------------------------------------------------------------------
Build step 'Invoke top-level Maven targets' marked build as failure
Archiving artifacts
Build step 'Groovy Postbuild' marked build as failure
Recording test results
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.command.CommandServiceTest.xml
Performance: Parsing JUnit report file TEST-imagej.display.DisplayTest.xml
Performance: Parsing JUnit report file TEST-imagej.menu.ShadowMenuTest.xml
Performance: Parsing JUnit report file TEST-imagej.script.JavascriptTest.xml
Performance: Parsing JUnit report file TEST-imagej.util.ColorRGBTest.xml
Performance: Parsing JUnit report file TEST-imagej.util.PrefsTest.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.display.ImageCanvasTest.xml
Performance: Parsing JUnit report file TEST-imagej.data.overlay.TestBinaryMaskOverlay.xml
Performance: Parsing JUnit report file TEST-imagej.data.table.DefaultResultsTableTest.xml
Performance: Parsing JUnit report file TEST-imagej.legacy.LegacyImageMapTest.xml
Performance: Parsing JUnit report file TEST-imagej.legacy.LegacyServiceTest.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.CommandLineUpdaterTest.xml
Performance: Parsing JUnit report file TEST-imagej.updater.core.LocalhostUploaderTest.xml
Performance: Parsing JUnit report file TEST-imagej.updater.core.UpdaterTest.xml
Performance: Parsing JUnit report file TEST-imagej.core.commands.upload.InteractiveUploadTest.xml
Performance: File TEST-imagej.command.CommandServiceTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.display.DisplayTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.menu.ShadowMenuTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.script.JavascriptTest.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.PrefsTest.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.display.ImageCanvasTest.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.data.table.DefaultResultsTableTest.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.LegacyServiceTest.xml reported 100.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.CommandLineUpdaterTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
Performance: File TEST-imagej.updater.core.LocalhostUploaderTest.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
Performance: File TEST-imagej.core.commands.upload.InteractiveUploadTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE



More information about the ImageJ-builds mailing list