[ImageJ-builds] Build failed in Jenkins: ImgLib2-Script #4
jenkins at imagej.net
jenkins at imagej.net
Thu Nov 20 16:03:40 CST 2014
See <http://jenkins.imagej.net/job/ImgLib2-Script/4/>
------------------------------------------
Started by an SCM change
Building on master in workspace <http://jenkins.imagej.net/job/ImgLib2-Script/ws/>
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/imglib/imglib2-script
Checking out Revision c81d4681932c8922a9ed8066f215afeda17df041 (origin/master)
First time build. Skipping changelog.
[workspace] $ /bin/sh -xe /tmp/hudson4176059092847051639.sh
+ git clean -dfx
Removing target/
[workspace] $ mvn -U -Pdeploy-to-imagej clean deploy
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ImgLib2 Scripting 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ imglib2-script ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-rules) @ imglib2-script ---
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]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ imglib2-script ---
[INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/ImgLib2-Script/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImgLib2-Script/workspace
[INFO] Storing buildNumber: c81d4681932c8922a9ed8066f215afeda17df041 at timestamp: 1416521016191
[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/ImgLib2-Script/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImgLib2-Script/workspace
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ imglib2-script ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImgLib2-Script/workspace/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ imglib2-script ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 157 source files to /data/devel/jenkins/jobs/ImgLib2-Script/workspace/target/classes
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ imglib2-script ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImgLib2-Script/workspace/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ imglib2-script ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /data/devel/jenkins/jobs/ImgLib2-Script/workspace/target/test-classes
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ imglib2-script ---
[INFO] Surefire report directory: /data/devel/jenkins/jobs/ImgLib2-Script/workspace/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running net.imglib2.script.TestHistograms
sum is 216
elapsed nd: 7 ms
(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1)
Cummulative Histogram: {1:1, 2:3, 3:3, 4:3, 5:0, 6:6, 7:0, 8:1, 9:3, 10:0, 11:0, 12:3, 13:0, 14:0, 15:0, 16:0, 17:0, 18:3, 19:0, 20:0, 21:0, 22:0, 23:0, 24:0, 25:0, 26:0, 27:1}
sum is 27
elapsed nd: 1 ms
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.302 sec <<< FAILURE! - in net.imglib2.script.TestHistograms
testHistogramOf3x3Img(net.imglib2.script.TestHistograms) Time elapsed: 0.239 sec <<< ERROR!
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:159)
at java.awt.Window.<init>(Window.java:433)
at java.awt.Frame.<init>(Frame.java:403)
at ij.gui.ImageWindow.<init>(ImageWindow.java:66)
at ij.gui.ImageWindow.<init>(ImageWindow.java:62)
at ij.ImagePlus.show(ImagePlus.java:392)
at ij.ImagePlus.show(ImagePlus.java:365)
at net.imglib2.script.TestHistograms.testHistogramOf3x3Img(TestHistograms.java:155)
testHistogramOf2x2x2Img(net.imglib2.script.TestHistograms) Time elapsed: 0.006 sec <<< ERROR!
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:159)
at java.awt.Window.<init>(Window.java:433)
at java.awt.Frame.<init>(Frame.java:403)
at ij.gui.ImageWindow.<init>(ImageWindow.java:66)
at ij.gui.StackWindow.<init>(StackWindow.java:28)
at ij.gui.StackWindow.<init>(StackWindow.java:24)
at ij.ImagePlus.show(ImagePlus.java:390)
at ij.ImagePlus.show(ImagePlus.java:365)
at net.imglib2.script.TestHistograms.testHistogramOf2x2x2Img(TestHistograms.java:386)
Results :
Tests in error:
TestHistograms.testHistogramOf3x3Img:155 » Headless
No X11 DISPLAY variable w...
TestHistograms.testHistogramOf2x2x2Img:386 » Headless
No X11 DISPLAY variable...
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.690s
[INFO] Finished at: Thu Nov 20 16:03:40 CST 2014
[INFO] Final Memory: 17M/352M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project imglib2-script: There are test failures.
[ERROR]
[ERROR] Please refer to /data/devel/jenkins/jobs/ImgLib2-Script/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
More information about the ImageJ-builds
mailing list