[ImageJ-builds] Build failed in Jenkins: MediaWiki-Maven-Info #5

jenkins at imagej.net jenkins at imagej.net
Wed Nov 4 15:35:57 CST 2015


See <http://jenkins.imagej.net/job/MediaWiki-Maven-Info/5/changes>

Changes:

[Curtis Rueden] ComponentIndex: render nulls as the empty string

------------------------------------------
Started by an SCM change
Building remotely on maven in workspace <http://jenkins.imagej.net/job/MediaWiki-Maven-Info/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/scijava/mediawiki-maven-info # timeout=10
Fetching upstream changes from git://github.com/scijava/mediawiki-maven-info
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/scijava/mediawiki-maven-info +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 175a6961081ee1bcaf38e1efd04d8a3b385a2475 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 175a6961081ee1bcaf38e1efd04d8a3b385a2475
 > git rev-list a28cf3bb4f6231c530f6c78b80f9a667dc289ddd # timeout=10
 > git tag -a -f -m Jenkins Build #5 jenkins-MediaWiki-Maven-Info-5 # timeout=10
[MediaWiki-Maven-Info] $ /bin/sh -xe /tmp/hudson1385773602154385089.sh
+ git clean -dfx
Removing target/
[MediaWiki-Maven-Info] $ mvn -U -Pdeploy-to-imagej deploy
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building MediaWiki Maven Info 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-rules) @ mediawiki-maven-info ---
[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) @ mediawiki-maven-info ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ mediawiki-maven-info ---
[INFO] Executing: /bin/sh -c cd /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info
[INFO] Storing buildNumber: 175a6961081ee1bcaf38e1efd04d8a3b385a2475 at timestamp: 1446672954661
[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/MediaWiki-Maven-Info && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mediawiki-maven-info ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ mediawiki-maven-info ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ mediawiki-maven-info ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ mediawiki-maven-info ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ mediawiki-maven-info ---
[INFO] Surefire report directory: /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.scijava.maven.wiki.ComponentIndexTest
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.797 sec <<< FAILURE! - in org.scijava.maven.wiki.ComponentIndexTest
testGenerateMasterTable(org.scijava.maven.wiki.ComponentIndexTest)  Time elapsed: 0.128 sec  <<< FAILURE!
org.junit.internal.ArrayComparisonFailure: arrays first differed at element [10]; expected:<| [null]> but was:<| []>
	at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
	at org.junit.Assert.internalArrayEquals(Assert.java:473)
	at org.junit.Assert.assertArrayEquals(Assert.java:265)
	at org.junit.Assert.assertArrayEquals(Assert.java:280)
	at org.scijava.maven.wiki.ComponentIndexTest.testGenerateMasterTable(ComponentIndexTest.java:78)


Results :

Failed tests: 
  ComponentIndexTest.testGenerateMasterTable:78 arrays first differed at element [10]; expected:<| [null]> but was:<| []>

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.734s
[INFO] Finished at: Wed Nov 04 15:35:57 CST 2015
[INFO] Final Memory: 20M/455M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project mediawiki-maven-info: There are test failures.
[ERROR] 
[ERROR] Please refer to /data/devel/jenkins-maven/workspace/MediaWiki-Maven-Info/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
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