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

svnexternals causing issues with concurrent builds

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We're getting these quite often with concurrently running jobs that pull out of SVN:

      java.io.IOException: Unable to delete /var/lib/jenkins/jobs/[jobname]/svnexternals.txt
      at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:112)
      at hudson.XmlFile.write(XmlFile.java:174)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:708)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465)
      at hudson.model.Run.run(Run.java:1409)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)

        Attachments

          Activity

          Show
          oleg_nenashev Oleg Nenashev added a comment - PR: https://github.com/jenkinsci/subversion-plugin/pull/55
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          The PR is still waiting for Kutzi's review...

          Show
          oleg_nenashev Oleg Nenashev added a comment - The PR is still waiting for Kutzi's review...
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/scm/SubversionSCM.java
          src/main/java/hudson/scm/subversion/ExternalsFileManager.java
          http://jenkins-ci.org/commit/subversion-plugin/dc5e7a6c58c9d9d05cb89f1a56fa1f7eaf99a569
          Log:
          [FIXED JENKINS-15098] - Added synchronization of all reads/modifications of svnexternals.txt file.

          Resolves https://issues.jenkins-ci.org/browse/JENKINS-15098

          Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/scm/SubversionSCM.java src/main/java/hudson/scm/subversion/ExternalsFileManager.java http://jenkins-ci.org/commit/subversion-plugin/dc5e7a6c58c9d9d05cb89f1a56fa1f7eaf99a569 Log: [FIXED JENKINS-15098] - Added synchronization of all reads/modifications of svnexternals.txt file. Resolves https://issues.jenkins-ci.org/browse/JENKINS-15098 Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/scm/SubversionSCM.java
          src/main/java/hudson/scm/SvnExternalsFileManager.java
          src/main/java/hudson/scm/subversion/ExternalsFileManager.java
          http://jenkins-ci.org/commit/subversion-plugin/9e45adf03dde5e24ec19f80f044c266656136875
          Log:
          JENKINS-15098 - Refactoring
          Moved base class to another package, modified visibility and javadoc.

          Related issues: https://issues.jenkins-ci.org/browse/JENKINS-15098

          Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/scm/SubversionSCM.java src/main/java/hudson/scm/SvnExternalsFileManager.java src/main/java/hudson/scm/subversion/ExternalsFileManager.java http://jenkins-ci.org/commit/subversion-plugin/9e45adf03dde5e24ec19f80f044c266656136875 Log: JENKINS-15098 - Refactoring Moved base class to another package, modified visibility and javadoc. Related issues: https://issues.jenkins-ci.org/browse/JENKINS-15098 Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Christoph Kutzinski
          Path:
          src/main/java/hudson/scm/SubversionSCM.java
          src/main/java/hudson/scm/SvnExternalsFileManager.java
          http://jenkins-ci.org/commit/subversion-plugin/23168bd2710b672ac81b3eb397402b8fc809d301
          Log:
          Merge pull request #65 from synopsys-arc-oss/externalsfile-conflicts

          [FIXED JENKINS-15098] - Access conflicts to svnexternals.txt

          Compare: https://github.com/jenkinsci/subversion-plugin/compare/cd7b24e71725...23168bd2710b

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/main/java/hudson/scm/SubversionSCM.java src/main/java/hudson/scm/SvnExternalsFileManager.java http://jenkins-ci.org/commit/subversion-plugin/23168bd2710b672ac81b3eb397402b8fc809d301 Log: Merge pull request #65 from synopsys-arc-oss/externalsfile-conflicts [FIXED JENKINS-15098] - Access conflicts to svnexternals.txt Compare: https://github.com/jenkinsci/subversion-plugin/compare/cd7b24e71725...23168bd2710b

            People

            • Assignee:
              kutzi kutzi
              Reporter:
              mlewicka Margaret Lewicka
            • Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: