[ImageJ-builds] Build failed in Jenkins: ImageJ-plugins-uploader-SSH #25

jenkins at imagej.net jenkins at imagej.net
Wed Dec 28 10:28:55 CST 2016


See <http://jenkins.imagej.net/job/ImageJ-plugins-uploader-SSH/25/>

------------------------------------------
Started by user Curtis Rueden
Building remotely on maven in workspace <http://jenkins.imagej.net/job/ImageJ-plugins-uploader-SSH/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-plugins-uploader-ssh # timeout=10
Fetching upstream changes from git://github.com/imagej/imagej-plugins-uploader-ssh
 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress git://github.com/imagej/imagej-plugins-uploader-ssh +refs/heads/master:refs/remotes/origin/master
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision dbcaa230beca1d6bb84a4a1a425035e1a2e73c0a (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dbcaa230beca1d6bb84a4a1a425035e1a2e73c0a
 > git rev-list dbcaa230beca1d6bb84a4a1a425035e1a2e73c0a # timeout=10
[ImageJ-plugins-uploader-SSH] $ /bin/sh -xe /tmp/hudson1993685477050572707.sh
+ git clean -dfx
Removing target/
[ImageJ-plugins-uploader-SSH] $ mvn -Dssh.test.upload-directory=. -Djava.awt.headless=true -Dssh.test.url=http://test.imagej.net/ssh-upload-test/ -Dssh.test.host=ssh-upload-test verify
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 Plugins: Uploader: SSH 0.3.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-rules) @ imagej-plugins-uploader-ssh ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.12:regex-property (sanitize-version) @ imagej-plugins-uploader-ssh ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ imagej-plugins-uploader-ssh ---
[INFO] Executing: /bin/sh -c cd '/data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH
[INFO] Storing buildNumber: dbcaa230beca1d6bb84a4a1a425035e1a2e73c0a at timestamp: 1482942532129
[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-plugins-uploader-SSH' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- scijava-maven-plugin:1.0.0:set-rootdir (set-rootdir) @ imagej-plugins-uploader-ssh ---
[INFO] Setting rootdir: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ imagej-plugins-uploader-ssh ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ imagej-plugins-uploader-ssh ---
[INFO] Compiling 4 source files to /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ imagej-plugins-uploader-ssh ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ imagej-plugins-uploader-ssh ---
[INFO] Compiling 2 source files to /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ imagej-plugins-uploader-ssh ---
[INFO] 
[INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ imagej-plugins-uploader-ssh ---
[INFO] Building jar: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/imagej-plugins-uploader-ssh-0.3.1-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar-no-fork (default) @ imagej-plugins-uploader-ssh ---
[INFO] Building jar: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/imagej-plugins-uploader-ssh-0.3.1-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.6:test-jar (default) @ imagej-plugins-uploader-ssh ---
[INFO] Building jar: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/imagej-plugins-uploader-ssh-0.3.1-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-failsafe-plugin:2.14:integration-test (default) @ imagej-plugins-uploader-ssh ---
[INFO] Failsafe report directory: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/failsafe-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running net.imagej.plugins.uploaders.ssh.SSHUploaderITCase
[ECLIPSE HELPER] Indexing annotations...
Updating the index of available files (Updating from ImageJ site: file:/data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/ij-web-testSSHUpload-L69/) 
Updating from ImageJ site: file:/data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/ij-web-testSSHUpload-L69/ done

Done: Checksummer

logging into ssh-upload-test
com.jcraft.jsch.JSchException: Could not determine user name or identity for ssh-upload-test
	at net.imagej.plugins.uploaders.ssh.SSHSessionCreator.debugConnect(SSHSessionCreator.java:286)
	at net.imagej.plugins.uploaders.ssh.SSHFileUploader.debugLogin(SSHFileUploader.java:92)
	at net.imagej.plugins.uploaders.ssh.SSHDeleter.login(SSHDeleter.java:55)
	at net.imagej.updater.AbstractUploaderTestBase.test(AbstractUploaderTestBase.java:87)
	at net.imagej.plugins.uploaders.ssh.SSHUploaderITCase.testSSHUpload(SSHUploaderITCase.java:69)
	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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	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 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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
Updating the index of available files (Updating from ImageJ site: file:/data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/ij-web-testSFTPUpload-L76/) 
Updating from ImageJ site: file:/data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/ij-web-testSFTPUpload-L76/ done

Done: Checksummer

logging into ssh-upload-test
com.jcraft.jsch.JSchException: Could not determine user name or identity for ssh-upload-test
	at net.imagej.plugins.uploaders.ssh.SSHSessionCreator.debugConnect(SSHSessionCreator.java:286)
	at net.imagej.plugins.uploaders.ssh.SSHFileUploader.debugLogin(SSHFileUploader.java:92)
	at net.imagej.plugins.uploaders.ssh.SSHDeleter.login(SSHDeleter.java:55)
	at net.imagej.updater.AbstractUploaderTestBase.test(AbstractUploaderTestBase.java:87)
	at net.imagej.plugins.uploaders.ssh.SSHUploaderITCase.testSFTPUpload(SSHUploaderITCase.java:76)
	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:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	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 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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.552 sec <<< FAILURE!
testSSHUpload(net.imagej.plugins.uploaders.ssh.SSHUploaderITCase)  Time elapsed: 0.468 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at net.imagej.updater.AbstractUploaderTestBase.test(AbstractUploaderTestBase.java:87)
	at net.imagej.plugins.uploaders.ssh.SSHUploaderITCase.testSSHUpload(SSHUploaderITCase.java:69)

testSFTPUpload(net.imagej.plugins.uploaders.ssh.SSHUploaderITCase)  Time elapsed: 0.04 sec  <<< FAILURE!
java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at net.imagej.updater.AbstractUploaderTestBase.test(AbstractUploaderTestBase.java:87)
	at net.imagej.plugins.uploaders.ssh.SSHUploaderITCase.testSFTPUpload(SSHUploaderITCase.java:76)


Results :

Failed tests: 
  SSHUploaderITCase.testSSHUpload:69->AbstractUploaderTestBase.test:87 null
  SSHUploaderITCase.testSFTPUpload:76->AbstractUploaderTestBase.test:87 null

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

[INFO] 
[INFO] --- maven-failsafe-plugin:2.14:verify (default) @ imagej-plugins-uploader-ssh ---
[INFO] Failsafe report directory: /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/failsafe-reports
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.803s
[INFO] Finished at: Wed Dec 28 10:28:54 CST 2016
[INFO] Final Memory: 31M/472M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.14:verify (default) on project imagej-plugins-uploader-ssh: There are test failures.
[ERROR] 
[ERROR] Please refer to /data/devel/jenkins-maven/workspace/ImageJ-plugins-uploader-SSH/target/failsafe-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
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'
Performance: Parsing JMeter report file '/var/lib/jenkins/jobs/ImageJ-plugins-uploader-SSH/builds/25/performance-reports/JUnit/TEST-net.imagej.plugins.uploaders.ssh.SSHUploaderITCase.xml'.
TEST-net.imagej.plugins.uploaders.ssh.SSHUploaderITCase.xml has an average of: 254
Performance: File TEST-net.imagej.plugins.uploaders.ssh.SSHUploaderITCase.xml reported 100.0% of errors [FAILURE]. Build status is: FAILURE






More information about the ImageJ-builds mailing list