[ImageJ-builds] Build failed in Jenkins: ImageJ-1.x-patcher #26

jenkins at imagej.net jenkins at imagej.net
Sat May 3 12:40:58 CDT 2014


See <http://jenkins.imagej.net/job/ImageJ-1.x-patcher/26/changes>

Changes:

[Johannes Schindelin] Try to work around ext4 kludginess

------------------------------------------
Started by an SCM change
Building on master in workspace <http://jenkins.imagej.net/job/ImageJ-1.x-patcher/ws/>
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/imagej/ij1-patcher
Checking out Revision 6a6e9fca55975a0966968349bf565f98dd98311f (origin/master)
[workspace] $ /bin/sh -xe /tmp/hudson3133316599478231935.sh
+ git clean -dfx
Removing target/
[workspace] $ mvn -U -Prun-its clean install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Runtime patcher to introduce extension points into ImageJ 1.x 0.4.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ij1-patcher ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ ij1-patcher ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace
[INFO] Storing buildNumber: 6a6e9fca55975a0966968349bf565f98dd98311f at timestamp: 1399138850370
[INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ij1-patcher ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ij1-patcher ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to /data/devel/jenkins/jobs/ImageJ-1.x-patcher/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) @ ij1-patcher ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ij1-patcher ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace/target/test-classes
[WARNING] Note: /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace/src/test/java/net/imagej/patcher/ImageJ1EncapsulationTest.java uses or overrides a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ ij1-patcher ---
[INFO] Surefire report directory: /data/devel/jenkins/jobs/ImageJ-1.x-patcher/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.imagej.patcher.ImageJ1EncapsulationTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.015 sec - in net.imagej.patcher.ImageJ1EncapsulationTest
Running net.imagej.patcher.HeadlessEnvironmentTest
(unset)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at net.imagej.patcher.LegacyEnvironment.runPlugIn(LegacyEnvironment.java:356)
	at net.imagej.patcher.HeadlessEnvironmentTest.runExamplePlugin(HeadlessEnvironmentTest.java:144)
	at net.imagej.patcher.HeadlessEnvironmentTest.runExampleDialogPlugin(HeadlessEnvironmentTest.java:136)
	at net.imagej.patcher.HeadlessEnvironmentTest.testPatchIsRequired(HeadlessEnvironmentTest.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	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)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at net.imagej.patcher.LegacyEnvironment.runPlugIn(LegacyEnvironment.java:353)
	... 27 more
Caused by: 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 java.awt.Frame.<init>(Frame.java:368)
	at ij.gui.GenericDialog.<init>(GenericDialog.java:88)
	at net.imagej.patcher.Headless_Example_Plugin.run(Headless_Example_Plugin.java:84)
	at ij.IJ.runUserPlugIn(IJ.java:199)
	at ij.IJ.runPlugIn(IJ.java:163)
	at ij.IJ.runPlugIn(IJ.java:152)
	... 32 more
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.021 sec - in net.imagej.patcher.HeadlessEnvironmentTest
Running net.imagej.patcher.FatJarTest
first entry is xalan.jar
Now, first entry is xalaa.jar
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec <<< FAILURE! - in net.imagej.patcher.FatJarTest
testFatJars(net.imagej.patcher.FatJarTest)  Time elapsed: 0.033 sec  <<< FAILURE!
java.lang.AssertionError: 
	at org.junit.Assert.fail(Assert.java:91)
	at org.junit.Assert.assertTrue(Assert.java:43)
	at org.junit.Assert.assertTrue(Assert.java:54)
	at net.imagej.patcher.FatJarTest.testFatJars(FatJarTest.java:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	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)

Running net.imagej.patcher.HeadlessCompletenessTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec - in net.imagej.patcher.HeadlessCompletenessTest
Running net.imagej.patcher.ExtraPluginDirsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.856 sec - in net.imagej.patcher.ExtraPluginDirsTest
Running net.imagej.patcher.HelpfulExceptionTracesTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.307 sec - in net.imagej.patcher.HelpfulExceptionTracesTest

Results :

Failed tests: 
  FatJarTest.testFatJars:123 

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.520s
[INFO] Finished at: Sat May 03 12:40:58 CDT 2014
[INFO] Final Memory: 13M/360M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project ij1-patcher: There are test failures.
[ERROR] 
[ERROR] Please refer to /data/devel/jenkins/jobs/ImageJ-1.x-patcher/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
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'
TEST-net.imagej.patcher.ExtraPluginDirsTest.xml has an average of: 213
Performance: File TEST-net.imagej.patcher.ExtraPluginDirsTest.xml reported 0.0% of errors [SUCCESS]. Build status is: FAILURE



TEST-net.imagej.patcher.FatJarTest.xml has an average of: 33
Performance: File TEST-net.imagej.patcher.FatJarTest.xml reported 100.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.patcher.HeadlessCompletenessTest.xml has an average of: 0
Performance: File TEST-net.imagej.patcher.HeadlessCompletenessTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.patcher.HeadlessEnvironmentTest.xml has an average of: 503
Performance: File TEST-net.imagej.patcher.HeadlessEnvironmentTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.patcher.HelpfulExceptionTracesTest.xml has an average of: 153
Performance: File TEST-net.imagej.patcher.HelpfulExceptionTracesTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE



TEST-net.imagej.patcher.ImageJ1EncapsulationTest.xml has an average of: 997
Performance: File TEST-net.imagej.patcher.ImageJ1EncapsulationTest.xml reported 0.0% of errors [FAILURE]. Build status is: FAILURE






More information about the ImageJ-builds mailing list