[ImageJ-builds] Build failed in Jenkins: ImageJ-legacy #140

jenkins at imagej.net jenkins at imagej.net
Tue Jul 29 13:08:07 CDT 2014


See <http://jenkins.imagej.net/job/ImageJ-legacy/140/changes>

Changes:

[Mark Hiner] Bump to next development cycle

------------------------------------------
Started by an SCM change
Started by an SCM change
Building on master in workspace <http://jenkins.imagej.net/job/ImageJ-legacy/ws/>
Fetching changes from the remote Git repository
Fetching upstream changes from git://github.com/imagej/imagej-legacy
Checking out Revision 17f6fcae215a19d4e7a379d796a36b88f2a2bd09 (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson4907385880723472129.sh
+ git clean -dfx
Removing target/
[workspace] $ mvn -U -Pdeploy-to-imagej -Prun-its clean deploy
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Legacy Bridge 0.6.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ imagej-legacy ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ imagej-legacy ---
[INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/ImageJ-legacy/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace
[INFO] Storing buildNumber: 17f6fcae215a19d4e7a379d796a36b88f2a2bd09 at timestamp: 1406657277570
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/ImageJ-legacy/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ imagej-legacy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 30 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ imagej-legacy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 69 source files to /data/devel/jenkins/jobs/ImageJ-legacy/workspace/target/classes
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ imagej-legacy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ imagej-legacy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to /data/devel/jenkins/jobs/ImageJ-legacy/workspace/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ imagej-legacy ---
[INFO] Surefire report directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.imagej.legacy.OverlayHarmonizerTest
[ECLIPSE HELPER] Indexing annotations...
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] ====> Roi class = ij.gui.ShapeRoi
[WARNING] ====> COMPOSITE: Roi[Composite, x=6, y=9, width=5, height=6]
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] ====> Roi class = ij.gui.PolygonRoi
[WARNING] ====> POLYGON: Roi[Polygon, x=0, y=0, width=5, height=5]
[WARNING] ====> Roi class = ij.gui.PolygonRoi
[WARNING] ====> POLYGON: Roi[Polygon, x=3, y=5, width=5, height=4]
[WARNING] ====> Roi class = ij.gui.PolygonRoi
[WARNING] ====> POLYGON: Roi[Polygon, x=1, y=2, width=5, height=62]
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] ====> Roi class = ij.gui.PolygonRoi
[WARNING] ====> FREEROI: Roi[Freehand, x=6, y=9, width=5, height=6]
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] ====> Roi class = ij.gui.ShapeRoi
[WARNING] ====> COMPOSITE: Roi[Composite, x=3, y=3, width=7, height=7]
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] ====> Roi class = ij.gui.PolygonRoi
[WARNING] ====> POLYGON: Roi[Polygon, x=0, y=0, width=5, height=5]
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.982 sec - in net.imagej.legacy.OverlayHarmonizerTest
Running net.imagej.legacy.LegacyServiceTest
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 sec - in net.imagej.legacy.LegacyServiceTest
Running net.imagej.legacy.SwitchToModernTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in net.imagej.legacy.SwitchToModernTest
Running net.imagej.legacy.LegacyImageMapTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec - in net.imagej.legacy.LegacyImageMapTest
Running net.imagej.legacy.ShutdownTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0 sec - in net.imagej.legacy.ShutdownTest
Running net.imagej.legacy.MacroTest
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
Compiling 1 file in /tmp/java6154035968373210655
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.182 sec - in net.imagej.legacy.MacroTest
Running net.imagej.legacy.LegacyOpenerTest
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
[WARNING] Expected positive value for PhysicalSizeX; got 0.0
[WARNING] Expected positive value for PhysicalSizeY; got 0.0
[WARNING] Expected positive value for PhysicalSizeX; got 0.0
[WARNING] Expected positive value for PhysicalSizeY; got 0.0
1
[WARNING] Ignoring non-existent scripts directory: /data/devel/jenkins/jobs/ImageJ-legacy/workspace/scripts
Oh no!
[WARNING] Ignoring unsupported output: nResults [java.lang.Integer]
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.056 sec <<< FAILURE! - in net.imagej.legacy.LegacyOpenerTest
testPaulsMacro(net.imagej.legacy.LegacyOpenerTest)  Time elapsed: 0.612 sec  <<< FAILURE!
java.lang.AssertionError: expected:<10> but was:<0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at net.imagej.legacy.LegacyOpenerTest.testPaulsMacro(LegacyOpenerTest.java:84)

Running net.imagej.legacy.translate.MergedRgbVirtualStackTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - in net.imagej.legacy.translate.MergedRgbVirtualStackTest
Running net.imagej.legacy.translate.LegacyUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in net.imagej.legacy.translate.LegacyUtilsTest

Results :

Failed tests: 
  LegacyOpenerTest.testPaulsMacro:84 expected:<10> but was:<0>

Tests run: 26, Failures: 1, Errors: 0, Skipped: 4

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.249s
[INFO] Finished at: Tue Jul 29 13:08:07 CDT 2014
[INFO] Final Memory: 22M/455M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project imagej-legacy: There are test failures.
[ERROR] 
[ERROR] Please refer to /data/devel/jenkins/jobs/ImageJ-legacy/workspace/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
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: Percentage of errors greater or equal than 0% sets the build as unstable
Performance: Percentage of errors greater or equal than 0% sets the build as failure



Performance: Recording JUnit reports '**/TEST-*.xml'
TEST-net.imagej.legacy.LegacyImageMapTest.xml has an average of: 11
Performance: File TEST-net.imagej.legacy.LegacyImageMapTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE



TEST-net.imagej.legacy.LegacyOpenerTest.xml has an average of: 528
Performance: File TEST-net.imagej.legacy.LegacyOpenerTest.xml reported 50.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.legacy.LegacyServiceTest.xml has an average of: 86
Performance: File TEST-net.imagej.legacy.LegacyServiceTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.legacy.MacroTest.xml has an average of: 590
Performance: File TEST-net.imagej.legacy.MacroTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.legacy.OverlayHarmonizerTest.xml has an average of: 195
Performance: File TEST-net.imagej.legacy.OverlayHarmonizerTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.legacy.ShutdownTest.xml has an average of: 0
Performance: File TEST-net.imagej.legacy.ShutdownTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.legacy.SwitchToModernTest.xml has an average of: 0
Performance: File TEST-net.imagej.legacy.SwitchToModernTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.legacy.translate.LegacyUtilsTest.xml has an average of: 0
Performance: File TEST-net.imagej.legacy.translate.LegacyUtilsTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.legacy.translate.MergedRgbVirtualStackTest.xml has an average of: 5
Performance: File TEST-net.imagej.legacy.translate.MergedRgbVirtualStackTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE






More information about the ImageJ-builds mailing list