• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • pipeline

      After running a trivial flow

      node {}
      

      on Windows, trying to delete it fails due to a lock error on 3.log, the one with (one line of) output.

      Deleting a build of an empty flow works, as does a flow

      echo 'hello'
      

      so the problem might be specific to ExecutorStep.

          [JENKINS-26030] Build deletion fails due to file lock

          Jesse Glick added a comment -

          Symptoms similar to those in JENKINS-22205 reported in the case of NFS storage.

          Jesse Glick added a comment - Symptoms similar to those in JENKINS-22205 reported in the case of NFS storage.

          Jesse Glick added a comment -

          7608ed3dc3c77fbfd946697869d4e669c1fc334b

          Jesse Glick added a comment - 7608ed3dc3c77fbfd946697869d4e669c1fc334b

          Code changed in jenkins
          User: ikedam
          Path:
          src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
          src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java
          http://jenkins-ci.org/commit/copyartifact-plugin/1308f8da0170ff3010054417bdcf5d88bd536df4
          Log:
          JENKINS-26694 Make tests succeed on Windows: HudsonTestCase using workflow-1.1 fails for JENKINS-26030.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java src/test/java/hudson/plugins/copyartifact/CopyArtifactWorkflowTest.java http://jenkins-ci.org/commit/copyartifact-plugin/1308f8da0170ff3010054417bdcf5d88bd536df4 Log: JENKINS-26694 Make tests succeed on Windows: HudsonTestCase using workflow-1.1 fails for JENKINS-26030 .

          Code changed in jenkins
          User: Jesse Glick
          Path:
          support/src/main/java/org/jenkinsci/plugins/workflow/support/DefaultStepContext.java
          http://jenkins-ci.org/commit/workflow-support-plugin/d054b77128dcf8e83563271bc216edabcf493c4c
          Log:
          [FIXED JENKINS-26030] Close logger streams after the owning node finishes, so we do not leak file handles.
          Originally-Committed-As: 7608ed3dc3c77fbfd946697869d4e669c1fc334b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: support/src/main/java/org/jenkinsci/plugins/workflow/support/DefaultStepContext.java http://jenkins-ci.org/commit/workflow-support-plugin/d054b77128dcf8e83563271bc216edabcf493c4c Log: [FIXED JENKINS-26030] Close logger streams after the owning node finishes, so we do not leak file handles. Originally-Committed-As: 7608ed3dc3c77fbfd946697869d4e669c1fc334b

          We are running Jenkins version 2.56  on Windows 7

          We have separated builds storage (builds on anther driver)

          We have the same problem (deletion of builds fails due to file lock on log file). But only on Builds, which run hourly.

          need help. Thank you very much

          Mengesteab Ghebreyesus added a comment - We are running Jenkins version 2.56  on Windows 7 We have separated builds storage (builds on anther driver) We have the same problem (deletion of builds fails due to file lock on log file). But only on Builds, which run hourly. need help. Thank you very much

          Jesse Glick added a comment -

          menges_ghebre please do not reopen. File a fresh bug report with complete, self-contained steps to reproduce your error from scratch, and link to this or anything else which seems potentially related.

          Jesse Glick added a comment - menges_ghebre please do not reopen. File a fresh bug report with complete, self-contained steps to reproduce your error from scratch, and link to this or anything else which seems potentially related.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: