[ImageJ-builds] Build failed in Jenkins: ImageJ-scripting #48

jenkins at imagej.net jenkins at imagej.net
Mon Feb 13 05:58:36 CST 2017


See <http://jenkins.imagej.net/job/ImageJ-scripting/48/changes>

Changes:

[bnorthan] Add tests for several scripts

[hadrien.mary] Reorganize scripts by folder

------------------------------------------
Started by an SCM change
Building remotely on maven in workspace <http://jenkins.imagej.net/job/ImageJ-scripting/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-scripting # timeout=10
Fetching upstream changes from git://github.com/imagej/imagej-scripting
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/imagej/imagej-scripting +refs/heads/master:refs/remotes/origin/master
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 61a86f055e345e0ed0480a3c4bd458cb7bdf536f (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 61a86f055e345e0ed0480a3c4bd458cb7bdf536f
 > git rev-list 53f1d320664872995d39db1fcce4e5588411c9ed # timeout=10
 > git tag -a -f -m Jenkins Build #48 jenkins-ImageJ-scripting-48 # timeout=10
[ImageJ-scripting] $ /bin/sh -xe /tmp/hudson5280432951606519495.sh
+ git clean -dfx
Removing target/
[ImageJ-scripting] $ mvn -U -Pdeploy-to-imagej deploy
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ImageJ Scripting 0.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/com/github/jnr/jffi/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
Downloading: http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/maven-metadata.xml
829/829 B   918/918 B   
829/829 B   918/918 B   
                        
                        
Downloaded: http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/maven-metadata.xml (918 B at 2.3 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/com/github/jnr/jffi/maven-metadata.xml (829 B at 2.1 KB/sec)
400/400 B               
400/400 B   400/400 B   
                        
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (400 B at 0.3 KB/sec)
                        
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (400 B at 0.3 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.3.0-SNAPSHOT/maven-metadata.xml
Downloading: http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/1.3.0-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.3.0-SNAPSHOT/maven-metadata.xml
981/981 B               
            
Downloaded: http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/1.3.0-SNAPSHOT/maven-metadata.xml (981 B at 47.9 KB/sec)
981/981 B   
981/981 B   981/981 B   
                        
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.3.0-SNAPSHOT/maven-metadata.xml (981 B at 5.2 KB/sec)
                        
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.3.0-SNAPSHOT/maven-metadata.xml (981 B at 4.8 KB/sec)
Downloading: http://maven.imagej.net/content/groups/public/com/github/jnr/jnr-x86asm/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-x86asm/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-x86asm/maven-metadata.xml
362/362 B               
            
Downloaded: http://maven.imagej.net/content/groups/public/com/github/jnr/jnr-x86asm/maven-metadata.xml (362 B at 16.1 KB/sec)
362/362 B   
            
Downloaded: http://repo.maven.apache.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml (362 B at 8.2 KB/sec)
            
            
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-rules) @ imagej-scripting ---
[INFO] artifact com.github.jnr:jffi: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jffi: checking for updates from central
[INFO] artifact com.github.jnr:jffi: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jffi: checking for updates from central
[INFO] artifact com.github.jnr:jnr-x86asm: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jnr-x86asm: checking for updates from central
[INFO] artifact com.github.jnr:jffi: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jffi: checking for updates from central
[INFO] artifact com.github.jnr:jffi: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jffi: checking for updates from central
[INFO] artifact com.github.jnr:jnr-x86asm: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jnr-x86asm: checking for updates from central
[INFO] artifact com.github.jnr:jffi: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jffi: checking for updates from central
[INFO] artifact com.github.jnr:jffi: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jffi: checking for updates from central
[INFO] artifact com.github.jnr:jnr-x86asm: checking for updates from imagej.public
[INFO] artifact com.github.jnr:jnr-x86asm: checking for updates from central
[INFO] 
[INFO] --- build-helper-maven-plugin:1.12:regex-property (sanitize-version) @ imagej-scripting ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ imagej-scripting ---
[INFO] Executing: /bin/sh -c cd '/data/devel/jenkins-maven/workspace/ImageJ-scripting' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /data/devel/jenkins-maven/workspace/ImageJ-scripting
[INFO] Storing buildNumber: 61a86f055e345e0ed0480a3c4bd458cb7bdf536f at timestamp: 1486987094510
[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-maven/workspace/ImageJ-scripting' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /data/devel/jenkins-maven/workspace/ImageJ-scripting
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- scijava-maven-plugin:1.0.0:set-rootdir (set-rootdir) @ imagej-scripting ---
[INFO] Setting rootdir: /data/devel/jenkins-maven/workspace/ImageJ-scripting
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ imagej-scripting ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 27 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ imagej-scripting ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ imagej-scripting ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins-maven/workspace/ImageJ-scripting/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ imagej-scripting ---
[INFO] Compiling 6 source files to /data/devel/jenkins-maven/workspace/ImageJ-scripting/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ imagej-scripting ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.imagej.scripting.TutorialsScriptTest
log4j:WARN No appenders could be found for logger (org.bushe.swing.event.EventService).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[100L, 100L]
axis 0: type: X length: 100
axis 1: type: Y length: 100
axis 2: type: Z length: 100
size 212 intensity -6.21226415094
size 8971 intensity -74.9077025973
[WARNING] Unmatched input: sigma2
[WARNING] Unmatched input: sigma1
axis d: type: X length: 400
axis d: type: Y length: 400
axis d: type: Channel length: 2
axis d: type: Z length: 25
Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.676 sec <<< FAILURE! - in net.imagej.scripting.TutorialsScriptTest
testCreateAndConvolvePoints(net.imagej.scripting.TutorialsScriptTest)  Time elapsed: 0.07 sec  <<< ERROR!
java.lang.NullPointerException
	at net.imagej.scripting.TutorialsScriptTest.testCreateAndConvolvePoints(TutorialsScriptTest.java:85)

Running net.imagej.scripting.DeconvolutionScriptTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.336 sec - in net.imagej.scripting.DeconvolutionScriptTest
Running net.imagej.scripting.ImageJ2ScriptTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.271 sec - in net.imagej.scripting.ImageJ2ScriptTest

Results :

Tests in error: 
  TutorialsScriptTest.testCreateAndConvolvePoints:85 NullPointer

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45.117s
[INFO] Finished at: Mon Feb 13 05:58:36 CST 2017
[INFO] Final Memory: 46M/499M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project imagej-scripting: There are test failures.
[ERROR] 
[ERROR] Please refer to /data/devel/jenkins-maven/workspace/ImageJ-scripting/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



More information about the ImageJ-builds mailing list