hudson.util.IOException2: revision check failed on svn+ssh://<redacted>

Jenkins JIRA | Robbie Cargill | 1 year ago
  1. 0

    When attempting to build following a new commit to an SVN repository, the SVN plugin will consistently hang at "At revision x", before eventually failing with a "hudson.util.IOException2: revision check failed" caused by "org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data". What's notable is that this happens consistently only on the first revision check following a commit to the repository. On every subsequent revision check (where no change is detected) the build will succeed without issue. There appear to be numerous previous bug reports discussing similar issues which were closed due to an inability to reproduce, but due to some unique characteristics of my environment/setup it was requested I open a new bug report for this. Note, I've tried numerous version of both Jenkins and the SVN plugin in an attempt to resolve this. One factor that's worth highlighting of possible relevancy is that we're using the svn+ssh protocol. _Update: After some further tests I've identified this issue does not occur with http/s, further suggesting it may be related to the use of the svn+ssh protocol._ Console output of failed build: {code:java} Started by user Robbie Building remotely on mac-mini-slave (unity ios mac unity-ios) in workspace <redacted> Cleaning local Directory . Checking out svn+ssh:<redacted> at revision '2015-10-12T18:31:07.755 +0100' A Assets AU Assets/TestScene.unity <redacted> U . At revision 17 // < Will hang here for some time, until I presume the build attempt times out or is cancelled hudson.util.IOException2: revision check failed on svn+ssh://<redacted> at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:196) at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:123) at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:726) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:861) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1277) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data 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.SVNReader.readChar(SVNReader.java:473) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.skipWhiteSpace(SVNReader.java:485) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readTuple(SVNReader.java:287) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:241) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:276) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:174) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:1276) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.logImpl(SVNRepositoryImpl.java:728) at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1038) at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:181) at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:35) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:968) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:873) at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:184) ... 12 more Skipped archiving because build is not successful Publish artifacts to S3 Bucket Using S3 profile: Jenkins S3 Profile Publish artifacts to S3 Bucket Skipping publishing on S3 because build failed Finished: FAILURE {code} For successful builds: {code:java} At revision 16 no change for svn+ssh:<redacted> since the previous build Piping unity Editor.log from /Users/jenkins/Library/Logs/Unity/Editor.log <redacted> //(will then proceed to build successfully without issue) Finished: SUCCESS {code}

    Jenkins JIRA | 1 year ago | Robbie Cargill
    hudson.util.IOException2: revision check failed on svn+ssh://<redacted>
  2. 0

    When attempting to build following a new commit to an SVN repository, the SVN plugin will consistently hang at "At revision x", before eventually failing with a "hudson.util.IOException2: revision check failed" caused by "org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data". What's notable is that this happens consistently only on the first revision check following a commit to the repository. On every subsequent revision check (where no change is detected) the build will succeed without issue. There appear to be numerous previous bug reports discussing similar issues which were closed due to an inability to reproduce, but due to some unique characteristics of my environment/setup it was requested I open a new bug report for this. Note, I've tried numerous version of both Jenkins and the SVN plugin in an attempt to resolve this. One factor that's worth highlighting of possible relevancy is that we're using the svn+ssh protocol. _Update: After some further tests I've identified this issue does not occur with http/s, further suggesting it may be related to the use of the svn+ssh protocol._ Console output of failed build: {code:java} Started by user Robbie Building remotely on mac-mini-slave (unity ios mac unity-ios) in workspace <redacted> Cleaning local Directory . Checking out svn+ssh:<redacted> at revision '2015-10-12T18:31:07.755 +0100' A Assets AU Assets/TestScene.unity <redacted> U . At revision 17 // < Will hang here for some time, until I presume the build attempt times out or is cancelled hudson.util.IOException2: revision check failed on svn+ssh://<redacted> at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:196) at hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:123) at hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:726) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:861) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1277) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data 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.SVNReader.readChar(SVNReader.java:473) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.skipWhiteSpace(SVNReader.java:485) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readTuple(SVNReader.java:287) at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:241) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:276) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:174) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:1276) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.logImpl(SVNRepositoryImpl.java:728) at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1038) at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:181) at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:35) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:968) at org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:873) at hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:184) ... 12 more Skipped archiving because build is not successful Publish artifacts to S3 Bucket Using S3 profile: Jenkins S3 Profile Publish artifacts to S3 Bucket Skipping publishing on S3 because build failed Finished: FAILURE {code} For successful builds: {code:java} At revision 16 no change for svn+ssh:<redacted> since the previous build Piping unity Editor.log from /Users/jenkins/Library/Logs/Unity/Editor.log <redacted> //(will then proceed to build successfully without issue) Finished: SUCCESS {code}

    Jenkins JIRA | 1 year ago | Robbie Cargill
    hudson.util.IOException2: revision check failed on svn+ssh://<redacted>
  3. 0

    [JIRA] [subversion-plugin] (JENKINS-27231) Subversion fails first revision check

    Google Groups | 1 year ago | rec...@gmail.com (JIRA)
    hudson.util.IOException2: revision check failed on svn+ssh:<span class="code-comment" style="color: #808080">//&lt;redacted&gt;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SVN Checkout error in Jenkns

    Stack Overflow | 1 year ago | Manish
    hudson.util.IOException2: revision check failed on file:///C:/SVN_Repo/Developer Directory
  6. 0

    [Solved]Jenkins Build job fails -revision check failed

    Stack Overflow | 1 year ago | Coolbreeze
    hudson.util.IOException2: revision check failed on `enter code here`https://xxx.yyy.zzz.net/svn/repos/dev/trunk

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.tmatesoft.svn.core.SVNException

      svn: E210004: Malformed network data

      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error()
    2. SVNKit Library
      SVNLogClient.doLog
      1. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      2. org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      3. org.tmatesoft.svn.core.internal.io.svn.SVNReader.readChar(SVNReader.java:473)
      4. org.tmatesoft.svn.core.internal.io.svn.SVNReader.skipWhiteSpace(SVNReader.java:485)
      5. org.tmatesoft.svn.core.internal.io.svn.SVNReader.readTuple(SVNReader.java:287)
      6. org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:241)
      7. org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:276)
      8. org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:174)
      9. org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:1276)
      10. org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.logImpl(SVNRepositoryImpl.java:728)
      11. org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1038)
      12. org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:181)
      13. org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteLog.run(SvnRemoteLog.java:35)
      14. org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
      15. org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259)
      16. org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
      17. org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:968)
      18. org.tmatesoft.svn.core.wc.SVNLogClient.doLog(SVNLogClient.java:873)
      18 frames
    3. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SubversionChangeLogBuilder.buildModule(SubversionChangeLogBuilder.java:184)
      2. hudson.scm.SubversionChangeLogBuilder.run(SubversionChangeLogBuilder.java:123)
      3. hudson.scm.SubversionSCM.calcChangeLog(SubversionSCM.java:726)
      4. hudson.scm.SubversionSCM.checkout(SubversionSCM.java:861)
      5. hudson.scm.SCM.checkout(SCM.java:485)
      6. hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
      7. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      7 frames
    4. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      2. hudson.model.Run.execute(Run.java:1741)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:408)
      5 frames