[ImageJ-builds] Build failed in Jenkins: ImageJ #5693
jenkins at imagej.net
jenkins at imagej.net
Thu Apr 7 10:15:36 CDT 2016
See <http://jenkins.imagej.net/job/ImageJ/5693/changes>
Changes:
[Curtis Rueden] MainTest: fix javadoc formatting
[Curtis Rueden] MainTest: fix testMains when in headless mode
------------------------------------------
[...truncated 30 lines...]
Downloaded: http://repo.maven.apache.org/maven2/com/github/jnr/jffi/maven-metadata.xml (733 B at 4.4 KB/sec)
441/441 B
441/441 B 441/441 B
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (441 B at 0.8 KB/sec)
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (441 B at 0.7 KB/sec)
863/863 B
Downloaded: http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/maven-metadata.xml (863 B at 0.5 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.12-SNAPSHOT/maven-metadata.xml
Downloading: http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/1.2.12-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.12-SNAPSHOT/maven-metadata.xml
985/985 B
Downloaded: http://maven.imagej.net/content/groups/public/com/github/jnr/jffi/1.2.12-SNAPSHOT/maven-metadata.xml (985 B at 43.7 KB/sec)
985/985 B
985/985 B 985/985 B
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.12-SNAPSHOT/maven-metadata.xml (985 B at 6.0 KB/sec)
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/1.2.12-SNAPSHOT/maven-metadata.xml (985 B at 4.5 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/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
Downloading: http://maven.imagej.net/content/groups/public/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 43.5 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.4 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.1 KB/sec)
Downloading: http://maven.imagej.net/content/groups/public/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: 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
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)
362/362 B
Downloaded: http://maven.imagej.net/content/groups/public/com/github/jnr/jnr-x86asm/maven-metadata.xml (362 B at 0.3 KB/sec)
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-rules) @ imagej ---
[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
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] 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] 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: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] 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.9.1:regex-property (sanitize-version) @ imagej ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ imagej ---
[INFO] Executing: /bin/sh -c cd /data/devel/jenkins-maven/workspace/ImageJ && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins-maven/workspace/ImageJ
[INFO] Storing buildNumber: 2a13198fbcd9f140f5d0ccd85d264acdb61cf038 at timestamp: 1460042131136
[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 && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins-maven/workspace/ImageJ
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ imagej ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins-maven/workspace/ImageJ/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ imagej ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to /data/devel/jenkins-maven/workspace/ImageJ/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ imagej ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins-maven/workspace/ImageJ/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ imagej ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to /data/devel/jenkins-maven/workspace/ImageJ/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ imagej ---
[INFO] Surefire report directory: /data/devel/jenkins-maven/workspace/ImageJ/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running net.imagej.app.ToplevelImageJAppTest
[ECLIPSE HELPER] Indexing annotations...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.218 sec - in net.imagej.app.ToplevelImageJAppTest
Running net.imagej.app.MainTest
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.354 sec <<< FAILURE! - in net.imagej.app.MainTest
testMains(net.imagej.app.MainTest) Time elapsed: 0.251 sec <<< FAILURE!
java.lang.AssertionError: expected:<true> but was:<false>
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:144)
at net.imagej.app.MainTest.testMains(MainTest.java:64)
testHeadless(net.imagej.app.MainTest) Time elapsed: 0.103 sec <<< ERROR!
java.lang.IllegalArgumentException: Invalid service: net.imagej.legacy.LegacyConsoleService
at net.imagej.legacy.LegacyService.initialize(LegacyService.java:447)
at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:353)
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:340)
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194)
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166)
at org.scijava.Context.<init>(Context.java:278)
at org.scijava.Context.<init>(Context.java:234)
at org.scijava.Context.<init>(Context.java:174)
at org.scijava.Context.<init>(Context.java:160)
at net.imagej.ImageJ.<init>(ImageJ.java:76)
at net.imagej.Main.launch(Main.java:61)
at net.imagej.app.MainTest.testMains(MainTest.java:60)
Running net.imagej.app.ServiceCompletenessTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.048 sec <<< FAILURE! - in net.imagej.app.ServiceCompletenessTest
testServices(net.imagej.app.ServiceCompletenessTest) Time elapsed: 0.048 sec <<< ERROR!
java.lang.IllegalArgumentException: Invalid service: net.imagej.legacy.LegacyService
at net.imagej.legacy.LegacyService.checkInstance(LegacyService.java:649)
at net.imagej.legacy.LegacyService.initialize(LegacyService.java:429)
at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:353)
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194)
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166)
at org.scijava.Context.<init>(Context.java:278)
at org.scijava.Context.<init>(Context.java:234)
at org.scijava.Context.<init>(Context.java:174)
at org.scijava.Context.<init>(Context.java:160)
at net.imagej.app.ServiceCompletenessTest.setUp(ServiceCompletenessTest.java:57)
Caused by: java.lang.Throwable: Initialized here:
at net.imagej.legacy.LegacyService.initialize(LegacyService.java:447)
at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:353)
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
at org.scijava.service.ServiceHelper.createServiceRecursively(ServiceHelper.java:340)
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:269)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:231)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:194)
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:166)
at org.scijava.Context.<init>(Context.java:278)
at org.scijava.Context.<init>(Context.java:234)
at org.scijava.Context.<init>(Context.java:174)
at org.scijava.Context.<init>(Context.java:160)
at net.imagej.ImageJ.<init>(ImageJ.java:76)
at net.imagej.Main.launch(Main.java:61)
at net.imagej.app.MainTest.testMains(MainTest.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
testServices(net.imagej.app.ServiceCompletenessTest) Time elapsed: 0.048 sec <<< ERROR!
java.lang.NullPointerException: null
at net.imagej.app.ServiceCompletenessTest.tearDown(ServiceCompletenessTest.java:62)
Results :
Failed tests:
MainTest.testMains:64 expected:<true> but was:<false>
Tests in error:
MainTest.testHeadless:77 » IllegalArgument Invalid service: net.imagej.legacy....
ServiceCompletenessTest.setUp:57 » IllegalArgument Invalid service: net.imagej...
ServiceCompletenessTest.tearDown:62 NullPointer
Tests run: 5, Failures: 1, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.431s
[INFO] Finished at: Thu Apr 07 10:15:36 CDT 2016
[INFO] Final Memory: 42M/582M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project imagej: There are test failures.
[ERROR]
[ERROR] Please refer to /data/devel/jenkins-maven/workspace/ImageJ/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
Publishing Javadoc
More information about the ImageJ-builds
mailing list