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

Jobs failing with cannot delete directory error

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      Jenkins ver 2.89.3 (OS X); p4-plugin ver 1.8.4; Windows slave - Windows 7 Professional SP1
    • Similar Issues:

      Description

      Jobs on our Windows slave machine are often failing with an "Unable to delete directory" error. The directory isn't locked, etc. and a subsequent run may succeed. This happens with various jobs and with different directories. It just started occurring within the last week. No backups are running during the build. We have tried updating Jenkins and the P4 plug-in, as well as Perforce on the slave machine to no avail. Any suggestions or workarounds would be appreciated. 

       

      P4 Task: attempt: 1
      P4 Task: failed: java.io.IOException: Unable to delete directory <path_to_file>.
      ERROR: P4 Task: failed: java.io.IOException: Unable to delete directory <path_to_file>.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arlyn R S
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: