devhub-tud / build-server

A private docker-based build server.
1 stars 2 forks source link

Unknown build failure #28

Open jwgmeligmeyling opened 7 years ago

jwgmeligmeyling commented 7 years ago
java.util.concurrent.ExecutionException: java.io.IOException: org.eclipse.jgit.api.errors.TransportException: ssh://git@devhub.ewi.tudelft.nl/courses/ti1706/1617/group-35: verify: false
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_131]
    at java.util.concurrent.FutureTask.get(FutureTask.java:206) [na:1.8.0_131]
    at nl.tudelft.ewi.build.builds.BuildManager$Build.run(BuildManager.java:154) ~[build-server.jar:1.1.1-SNAPSHOT]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_131]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_131]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_131]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]
    at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
Caused by: java.io.IOException: org.eclipse.jgit.api.errors.TransportException: ssh://git@devhub.ewi.tudelft.nl/courses/ti1706/1617/group-35: verify: false
    at nl.tudelft.ewi.build.extensions.staging.GitStagingDirectoryPreparer.cloneRepository(GitStagingDirectoryPreparer.java:33) ~[build-server.jar:1.1.1-SNAPSHOT]
    at nl.tudelft.ewi.build.extensions.staging.GitStagingDirectoryPreparer.prepareStagingDirectory(GitStagingDirectoryPreparer.java:17) ~[build-server.jar:1.1.1-SNAPSHOT]
    at nl.tudelft.ewi.build.extensions.staging.GitStagingDirectoryPreparer.prepareStagingDirectory(GitStagingDirectoryPreparer.java:13) ~[build-server.jar:1.1.1-SNAPSHOT]
    at nl.tudelft.ewi.build.builds.BuildManager$BuildRunner.prepareStagingDirectory(BuildManager.java:376) ~[build-server.jar:1.1.1-SNAPSHOT]
    at nl.tudelft.ewi.build.builds.BuildManager$BuildRunner.call(BuildManager.java:262) ~[build-server.jar:1.1.1-SNAPSHOT]
    at nl.tudelft.ewi.build.builds.BuildManager$BuildRunner.call(BuildManager.java:237) ~[build-server.jar:1.1.1-SNAPSHOT]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]
    ... 7 common frames omitted
Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://git@devhub.ewi.tudelft.nl/courses/ti1706/1617/group-35: verify: false
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at nl.tudelft.ewi.build.extensions.staging.GitStagingDirectoryPreparer.cloneRepository(GitStagingDirectoryPreparer.java:29) ~[build-server.jar:1.1.1-SNAPSHOT]
    ... 13 common frames omitted
Caused by: org.eclipse.jgit.errors.TransportException: ssh://git@devhub.ewi.tudelft.nl/courses/ti1706/1617/group-35: verify: false
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:142) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    ... 16 common frames omitted
Caused by: com.jcraft.jsch.JSchException: verify: false
    at com.jcraft.jsch.Session.connect(Session.java:307) ~[jsch-0.1.46.jar:na]
    at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116) ~[org.eclipse.jgit-3.2.0.201312181205-r.jar:3.2.0.201312181205-r]
    ... 23 common frames omitted
jwgmeligmeyling commented 7 years ago

https://stackoverflow.com/a/16821000/2104280 mentions the same problem:

jsch 0.1.50 has been released and it fixes this problem.

The download page for jsch is http://www.jcraft.com/jsch/

The changelog of 0.1.50:

  • bugfix: reproducibility of "verify: false". FIXED. Hundreds of thousands of connections had caused that exception.

Seems updating JSch will solve the problem.