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

"Checksum mismatch while updating" with Subversion Plugin 1.42

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      sles 11, Jenkins 1.470, subversion server is CollabNet Subversion Edge 1.3.1
    • Similar Issues:

      Description

      After upgrading to 1.42 of the plugin, using the "Emulate clean checkout by first deleting unversioned/ignored files, then 'svn update'" svn strategy intermittently results in errors that look like the following:

      ERROR: Failed to update svn://<path>
      org.tmatesoft.svn.core.SVNException: svn: E155017: Checksum mismatch while updating '/opt/jenkins/jobs/<job>/workspace/<path to folder>/.svn/text-base/<filename>.svn-base'; expected: '151afc3b6d79443cc57fd52080d5f4d7', actual: '97acf6bf0db0d86168866633488b1a93'
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:85)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:69)
      at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.driveEditor(SVNEditModeReader.java:250)
      at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:1503)
      at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.update(SVNUpdateClient16.java:557)
      at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doUpdate(SVNUpdateClient16.java:414)
      at org.tmatesoft.svn.core.internal.wc16.SVNUpdateClient16.doUpdate(SVNUpdateClient16.java:324)
      at org.tmatesoft.svn.core.internal.wc2.old.SvnOldUpdate.run(SvnOldUpdate.java:27)
      at org.tmatesoft.svn.core.internal.wc2.old.SvnOldUpdate.run(SvnOldUpdate.java:11)
      at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
      at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1221)
      at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:292)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:315)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:295)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:391)
      at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:136)
      at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:144)
      at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:789)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:770)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:753)
      at hudson.FilePath.act(FilePath.java:842)
      at hudson.FilePath.act(FilePath.java:824)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:743)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:685)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1242)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
      at hudson.model.Run.execute(Run.java:1460)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:239)

      I clicked the "Downgrade to 1.39" button in the installed plugins section, restarted Jenkins and the problem appears to be solved.

      However, I notice the installed plugins section now says I have 1.34 installed, which is a little confusing.

        Attachments

          Issue Links

            Activity

            Hide
            pthorson Peter Thorson added a comment -

            In searching this issue, I noticed a similar issue on the JetBrains site which they say is fixed with svnkit 1.7.5-v1. See here: http://youtrack.jetbrains.com/issue/IDEA-83673#comment=27-379397

            Based on the GIT site, https://github.com/jenkinsci/svnkit, I believe the 1.7.6 version of svnkit has been merged in October (and 1.7.5-v1 in July).

            In my Jenkins pluginManager I only see Subversion Plugin 1.45 offered. (I am at 1.44.) Based on https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin, it looks like 1.45 includes SVNKit 1.7.6 since January. Hopefully this new version will prevent these errors from happening anymore.

            Show
            pthorson Peter Thorson added a comment - In searching this issue, I noticed a similar issue on the JetBrains site which they say is fixed with svnkit 1.7.5-v1. See here: http://youtrack.jetbrains.com/issue/IDEA-83673#comment=27-379397 Based on the GIT site, https://github.com/jenkinsci/svnkit , I believe the 1.7.6 version of svnkit has been merged in October (and 1.7.5-v1 in July). In my Jenkins pluginManager I only see Subversion Plugin 1.45 offered. (I am at 1.44.) Based on https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin , it looks like 1.45 includes SVNKit 1.7.6 since January. Hopefully this new version will prevent these errors from happening anymore.
            Hide
            nicolat Nicola Tarbet added a comment -

            We can reliably reproduce the issue by renaming and then modifying the file.
            On Jenkins ver. 1.514, Subversion plugin 1.45, svnkit 1.7.6
            check out strategy: Use 'svn update' as much as possible

            We had to downgrade to Subversion plugin 1.39.
            For those wondering how to get their downgrade to stick you need to "pin" the downgraded plugin
            https://wiki.jenkins-ci.org/display/JENKINS/Pinned+Plugins

            Show
            nicolat Nicola Tarbet added a comment - We can reliably reproduce the issue by renaming and then modifying the file. On Jenkins ver. 1.514, Subversion plugin 1.45, svnkit 1.7.6 check out strategy: Use 'svn update' as much as possible We had to downgrade to Subversion plugin 1.39. For those wondering how to get their downgrade to stick you need to "pin" the downgraded plugin https://wiki.jenkins-ci.org/display/JENKINS/Pinned+Plugins
            Hide
            ryan0191 Ryan Kalinowski added a comment - - edited

            Currently experiencing this on 1.42. Trying to decide whether to downgrade to 1.39 or to try upgrading 1.53. Can anyone comment on whether this is resolved in 1.53?

            UPDATE
            Upgraded Jenkins from 1.529 to 1.535 and changed the project from using svn update to using a clean copy, and it looks like it's working now. Still on 1.42 of the svn plugin.

            Show
            ryan0191 Ryan Kalinowski added a comment - - edited Currently experiencing this on 1.42. Trying to decide whether to downgrade to 1.39 or to try upgrading 1.53. Can anyone comment on whether this is resolved in 1.53? UPDATE Upgraded Jenkins from 1.529 to 1.535 and changed the project from using svn update to using a clean copy, and it looks like it's working now. Still on 1.42 of the svn plugin.
            Hide
            bep Bernd bep added a comment -

            I do not experience this with SVN Plugin 1.50. (I did with older versions). Be careful with 1.51/1.53: https://issues.jenkins-ci.org/browse/JENKINS-19600

            Show
            bep Bernd bep added a comment - I do not experience this with SVN Plugin 1.50. (I did with older versions). Be careful with 1.51/1.53: https://issues.jenkins-ci.org/browse/JENKINS-19600
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Does anyone see the issue on Subversion 2.0+?

            Show
            oleg_nenashev Oleg Nenashev added a comment - Does anyone see the issue on Subversion 2.0+?

              People

              • Assignee:
                Unassigned
                Reporter:
                cjw296 Chris Withers
              • Votes:
                27 Vote for this issue
                Watchers:
                34 Start watching this issue

                Dates

                • Created:
                  Updated: