Experiencing this issue, and now desperately seeking a resolution. Have attempted with multiple versions of Jenkins and the SVN plugin.
One thing I've identified, regards SVN sometimes hanging at "At revision" and then failing, but not for other builds, is that (for me) this is consistently happening when SVN detects a change in the repository. i.e. If SVN detects no change in the repository, the build will succeed. If SVN does detect a change, the build will hang at "At revision x" indefinitely.
This has the effect, that every time a change to the repository is committed, the first Jenkins build following will fail. All subsequent builds (where no change is detected) will then succeed without issue, until another change is committed.
Does this match behaviour other people are experiencing with this issue?
Master Jenkins - 1.631 OS - Ubuntu Linux Java - 1.7.0_75 SVN Plugin - 2.5.3
Slave Unix slave, version 2.52 OS - Mac OS X Yosemite 10.10.5 Java - 1.8.0_45
Console output of failed build:
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: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: 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
For successful builds:
At revision 16
no change for svn+ssh:Piping unity Editor.log from /Users/jenkins/Library/Logs/Unity/Editor.log
<redacted> *(will then proceed to build successfully without issue)*
Finished: SUCCESS
|