[ImageJ-builds] Build failed in Jenkins: ImageJ-legacy #262
jenkins at imagej.net
jenkins at imagej.net
Wed Aug 26 10:48:32 CDT 2015
See <http://jenkins.imagej.net/job/ImageJ-legacy/262/changes>
Changes:
[Johannes Schindelin] Add a test demonstrating that the automatic suffix is reset
[Curtis Rueden] LegacyOpenerTest: clean up style
------------------------------------------
Started by an SCM change
Building on master in workspace <http://jenkins.imagej.net/job/ImageJ-legacy/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git://github.com/imagej/imagej-legacy # timeout=10
Fetching upstream changes from git://github.com/imagej/imagej-legacy
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress git://github.com/imagej/imagej-legacy +refs/heads/master:refs/remotes/origin/master
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 76ff9942419c3d02cf9730c38af167817149c9f4 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 76ff9942419c3d02cf9730c38af167817149c9f4
> git rev-list d9f7665f9f3597021a2cff03a5d5c316cd1b51b2 # timeout=10
> git tag -a -f -m Jenkins Build #262 jenkins-ImageJ-legacy-262 # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson1467573900338968609.sh
+ git clean -dfx
Removing target/
[workspace] $ mvn -U -Pdeploy-to-imagej -Prun-its deploy
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Legacy Bridge 0.17.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-rules) @ imagej-legacy ---
Downloading: http://maven.imagej.net/content/groups/public/com/sun/tools/1.4.2/tools-1.4.2.pom
Downloading: http://repo.maven.apache.org/maven2/com/sun/tools/1.4.2/tools-1.4.2.pom
[INFO] Adding ignorable dependency: null:jcodings:null
[INFO] Adding ignore: org/jcodings/*
[INFO] Adding ignorable dependency: null:jnr-constants:null
[INFO] Adding ignore: com/kenai/constantine/*
[INFO] Adding ignore: jnr/constants/*
[INFO] Adding ignorable dependency: null:jnr-ffi:null
[INFO] Adding ignore: jnr/ffi/*
[INFO] Adding ignorable dependency: null:VIB-lib:null
[INFO] Adding ignore: javax/media/j3d/
[INFO] Adding ignorable dependency: null:j3d-core:null
[INFO] Adding ignore: javax/media/j3d/
[INFO] Adding ignorable dependency: null:joda-time:null
[INFO] Adding ignore: *
[INFO] Adding ignorable dependency: null:slf4j-log4j12:null
[INFO] Adding ignore: org/slf4j/impl/*
[INFO] Adding ignorable dependency: batik:batik:null
[INFO] Adding ignore: *
[INFO] Adding ignorable dependency: jama:jama:null
[INFO] Adding ignore: Jama/*
[INFO] Adding ignorable dependency: com.sun:tools:null
[INFO] Adding ignore: *
[INFO]
[INFO] --- build-helper-maven-plugin:1.9.1:regex-property (sanitize-version) @ 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: 76ff9942419c3d02cf9730c38af167817149c9f4 at timestamp: 1440604102926
[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 32 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ imagej-legacy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 76 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 14 source files to /data/devel/jenkins/jobs/ImageJ-legacy/workspace/target/test-classes
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[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.ImageJ1EncapsulationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.118 sec - in net.imagej.legacy.ImageJ1EncapsulationTest
Running net.imagej.legacy.OverlayHarmonizerTest
[ECLIPSE HELPER] Indexing annotations...
[WARNING] ====> Roi class = ij.gui.ShapeRoi
[WARNING] ====> COMPOSITE: Roi[Composite, x=6, y=9, width=5, height=6]
[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] ====> Roi class = ij.gui.PolygonRoi
[WARNING] ====> FREEROI: Roi[Freehand, x=6, y=9, width=5, height=6]
[WARNING] ====> Roi class = ij.gui.ShapeRoi
[WARNING] ====> COMPOSITE: Roi[Composite, x=3, y=3, width=7, height=7]
[WARNING] ====> Roi class = ij.gui.PolygonRoi
[WARNING] ====> POLYGON: Roi[Polygon, x=0, y=0, width=5, height=5]
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.738 sec - in net.imagej.legacy.OverlayHarmonizerTest
Running net.imagej.legacy.LegacyServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 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.078 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
Compiling 1 file in /tmp/java8617524044809938119
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.506 sec - in net.imagej.legacy.MacroTest
Running net.imagej.legacy.LegacyOpenerTest
Oh no!
[WARNING] Ignoring unsupported output: nResults [java.lang.Integer]
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.466 sec <<< FAILURE! - in net.imagej.legacy.LegacyOpenerTest
testPaulsMacro(net.imagej.legacy.LegacyOpenerTest) Time elapsed: 0.075 sec <<< FAILURE!
java.lang.AssertionError: expected:<3> 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:87)
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:87 expected:<3> but was:<0>
Tests run: 28, Failures: 1, Errors: 0, Skipped: 4
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.338s
[INFO] Finished at: Wed Aug 26 10:48:31 CDT 2015
[INFO] Final Memory: 30M/558M
[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'
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.ImageJ1EncapsulationTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.LegacyImageMapTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.LegacyOpenerTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.LegacyServiceTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.MacroTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.OverlayHarmonizerTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.ShutdownTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.SwitchToModernTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.translate.LegacyUtilsTest.xml'.
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-legacy/builds/262/performance-reports/JUnit/TEST-net.imagej.legacy.translate.MergedRgbVirtualStackTest.xml'.
TEST-net.imagej.legacy.ImageJ1EncapsulationTest.xml has an average of: 163
Performance: File TEST-net.imagej.legacy.ImageJ1EncapsulationTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE
TEST-net.imagej.legacy.LegacyImageMapTest.xml has an average of: 25
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: 155
Performance: File TEST-net.imagej.legacy.LegacyOpenerTest.xml reported 33.33333333333333% of errors [FAILURE]. Build status is: FAILURE
TEST-net.imagej.legacy.LegacyServiceTest.xml has an average of: 56
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: 753
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: 173
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: 3
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