[ImageJ-builds] Build failed in Jenkins: ImgLib2-Algorithm #27

jenkins at imagej.net jenkins at imagej.net
Tue Sep 15 09:16:17 CDT 2015


See <http://jenkins.imagej.net/job/ImgLib2-Algorithm/27/changes>

Changes:

[Tobias Pietzsch] Make cursor behave nicely when jumpFwd() to negative indices or beyond size().

[Tobias Pietzsch] add a test for HypersphereShape

------------------------------------------
Started by an SCM change
Building on master in workspace <http://jenkins.imagej.net/job/ImgLib2-Algorithm/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/imglib/imglib2-algorithm # timeout=10
Fetching upstream changes from git://github.com/imglib/imglib2-algorithm
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/imglib/imglib2-algorithm +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision a6b825c8f643c57064bcef5cf1c57cbad5285589 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a6b825c8f643c57064bcef5cf1c57cbad5285589
 > git rev-list 60d847b1d84577c7ca85570af2795c9a22ca5a8f # timeout=10
 > git tag -a -f -m Jenkins Build #27 jenkins-ImgLib2-Algorithm-27 # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson3095887002499756352.sh
+ git clean -dfx
Removing target/
[workspace] $ mvn -U -Pdeploy-to-imagej clean deploy
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building ImgLib2 Algorithms 0.3.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ imglib2-algorithm ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-rules) @ imglib2-algorithm ---
[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) @ imglib2-algorithm ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ imglib2-algorithm ---
[INFO] Executing: /bin/sh -c cd /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace
[INFO] Storing buildNumber: a6b825c8f643c57064bcef5cf1c57cbad5285589 at timestamp: 1442326569047
[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-Algorithm/workspace && git rev-parse --verify HEAD
[INFO] Working directory: /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ imglib2-algorithm ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ imglib2-algorithm ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 154 source files to /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace/target/classes
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[WARNING] Note: /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace/src/main/java/net/imglib2/algorithm/gauss/Gauss.java uses unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ imglib2-algorithm ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ imglib2-algorithm ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 21 source files to /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace/target/test-classes
[WARNING] Note: Some input files use or override a deprecated API.
[WARNING] Note: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ imglib2-algorithm ---
[INFO] Surefire report directory: /data/devel/jenkins/jobs/ImgLib2-Algorithm/workspace/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running tests.labeling.AllConnectedComponentsTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.205 sec - in tests.labeling.AllConnectedComponentsTest
Running tests.labeling.ConnectedComponentsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.209 sec - in tests.labeling.ConnectedComponentsTest
Running tests.labeling.WatershedTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec - in tests.labeling.WatershedTest
Running net.imglib2.algorithm.morphology.ErosionTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.493 sec - in net.imglib2.algorithm.morphology.ErosionTest
Running net.imglib2.algorithm.morphology.DilationTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.231 sec - in net.imglib2.algorithm.morphology.DilationTest
Running net.imglib2.algorithm.neighborhood.PeriodicLineNeighborhoodTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in net.imglib2.algorithm.neighborhood.PeriodicLineNeighborhoodTest
Running net.imglib2.algorithm.neighborhood.PairOfPointsShapeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in net.imglib2.algorithm.neighborhood.PairOfPointsShapeTest
Running net.imglib2.algorithm.neighborhood.DiamondNeighborhoodTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in net.imglib2.algorithm.neighborhood.DiamondNeighborhoodTest
Running net.imglib2.algorithm.neighborhood.PeriodicLineShapeTest
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec <<< FAILURE! - in net.imglib2.algorithm.neighborhood.PeriodicLineShapeTest
testNegativeIndices(net.imglib2.algorithm.neighborhood.PeriodicLineShapeTest)  Time elapsed: 0.006 sec  <<< FAILURE!
org.junit.internal.ArrayComparisonFailure: Incorrect position for jumpFwd() with negative indices: arrays first differed at element [0]; expected:<0> but was:<9>
	at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
	at org.junit.Assert.internalArrayEquals(Assert.java:473)
	at org.junit.Assert.assertArrayEquals(Assert.java:394)
	at net.imglib2.algorithm.neighborhood.AbstractShapeTest.testNegativeIndices(AbstractShapeTest.java:201)
	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: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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	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)

Running net.imglib2.algorithm.neighborhood.DiamondStrelTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.331 sec - in net.imglib2.algorithm.neighborhood.DiamondStrelTest
Running net.imglib2.algorithm.neighborhood.SquareStrelTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.866 sec - in net.imglib2.algorithm.neighborhood.SquareStrelTest
Running net.imglib2.algorithm.neighborhood.HorizontalLineShapeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec - in net.imglib2.algorithm.neighborhood.HorizontalLineShapeTest
Running net.imglib2.algorithm.neighborhood.DiamondShapeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec - in net.imglib2.algorithm.neighborhood.DiamondShapeTest
Running net.imglib2.algorithm.neighborhood.DiamondTipsShapeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in net.imglib2.algorithm.neighborhood.DiamondTipsShapeTest
Running net.imglib2.algorithm.neighborhood.RectangleShapeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 sec - in net.imglib2.algorithm.neighborhood.RectangleShapeTest
Running net.imglib2.algorithm.neighborhood.CenteredRectangleShapeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in net.imglib2.algorithm.neighborhood.CenteredRectangleShapeTest
Running net.imglib2.algorithm.neighborhood.DiamondTipsNeighorhoodTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in net.imglib2.algorithm.neighborhood.DiamondTipsNeighorhoodTest
Running net.imglib2.algorithm.neighborhood.HorizontalLineNeighborhoodTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in net.imglib2.algorithm.neighborhood.HorizontalLineNeighborhoodTest
Running net.imglib2.algorithm.neighborhood.HypersphereShapeTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec - in net.imglib2.algorithm.neighborhood.HypersphereShapeTest
Running net.imglib2.algorithm.kdtree.VolumetricSearchTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec - in net.imglib2.algorithm.kdtree.VolumetricSearchTest

Results :

Failed tests: 
  PeriodicLineShapeTest>AbstractShapeTest.testNegativeIndices:201 Incorrect position for jumpFwd() with negative indices: arrays first differed at element [0]; expected:<0> but was:<9>

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

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.266s
[INFO] Finished at: Tue Sep 15 09:16:17 CDT 2015
[INFO] Final Memory: 18M/455M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project imglib2-algorithm: There are test failures.
[ERROR] 
[ERROR] Please refer to /data/devel/jenkins/jobs/ImgLib2-Algorithm/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