Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12058

Failed to get revision check failed after updating to latest Subversion plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • subversion-plugin
    • System: OS X 10.7
      java.version 1.6.0_26
      Jenkins ver. 1.442
      Subversion Plugin ver. 1.37

      Every time there is a svn update for a job I get the following java exception and failure of job.

      • Restarted Jenkins server after updating plugin
      • Rolling back plugin to 1.34 resolves issue

      At revision 111811
      hudson.util.IOException2: revision check failed on svn+ssh://[hostname]/repo/trunk
      at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:170)
      at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:112)
      at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:562)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:709)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:568)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:457)
      at hudson.model.Run.run(Run.java:1404)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
      Caused by: org.tmatesoft.svn.core.SVNException: svn: Sorry, this connection is closed.
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:154)
      at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:74)
      at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1242)
      at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getLatestRevision(SVNRepositoryImpl.java:168)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:876)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534)
      at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:1020)
      at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:895)
      at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:827)
      at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:158)
      ... 10 more
      Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: Sorry, this connection is closed.
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:101)
      at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:153)
      ... 20 more
      Caused by: java.io.IOException: Sorry, this connection is closed.
      at com.trilead.ssh2.transport.TransportManager.sendMessage(TransportManager.java:637)
      at com.trilead.ssh2.channel.ChannelManager.openSessionChannel(ChannelManager.java:582)
      at com.trilead.ssh2.Session.<init>(Session.java:40)
      at com.trilead.ssh2.Connection.openSession(Connection.java:1047)
      at org.tmatesoft.svn.core.internal.io.svn.ssh.SshConnection.openSession(SshConnection.java:22)
      at org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost.openSession(SshHost.java:139)
      at org.tmatesoft.svn.core.internal.io.svn.ssh.SshSessionPool.openSession(SshSessionPool.java:83)
      at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector2.open(SVNSSHConnector2.java:131)
      ... 20 more
      Caused by: java.io.IOException: Cannot read full block, EOF reached.
      at com.trilead.ssh2.crypto.cipher.CipherInputStream.getBlock(CipherInputStream.java:81)
      at com.trilead.ssh2.crypto.cipher.CipherInputStream.read(CipherInputStream.java:108)
      at com.trilead.ssh2.transport.TransportConnection.receiveMessage(TransportConnection.java:232)
      at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:672)
      at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:470)
      at java.lang.Thread.run(Thread.java:613)

          [JENKINS-12058] Failed to get revision check failed after updating to latest Subversion plugin

          David Riley added a comment -

          David Riley added a comment - See https://issues.jenkins-ci.org/browse/JENKINS-6044

          James Nord added a comment -

          I believe this may be fixed in Subversion plugin 1.45 by the use of the updated SVNKit library.

          It could be that the downgrade of the plugin wasn't the fix for you but the restart of jenkins that the downgrade needed.

          (we hit an almost identical stack traces every time the svn server was rebooted - and restarting Jenkins always made it go away until the next time...)

          James Nord added a comment - I believe this may be fixed in Subversion plugin 1.45 by the use of the updated SVNKit library. It could be that the downgrade of the plugin wasn't the fix for you but the restart of jenkins that the downgrade needed. (we hit an almost identical stack traces every time the svn server was rebooted - and restarting Jenkins always made it go away until the next time...)

            Unassigned Unassigned
            geevez guillermo c
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: