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

Unable to delete workspace while using Integrity Plugin For Jenkins

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am trying to run a Jenkins job on a windows machine. This machine is setup with a dedicated Jenkins user account that runs the service. When this jobs starts running initially there is a connection issue with Integrity which gets resolved after a retry is executed for the checkout scm step. Once connection with Integrity is established successfully the server is unable to clean the workspace by deleting files present in the current workspace and this error keeps repeating until the max retry count is hit.

      I did look at a similar issue on the dashboard for which a fix was released for the plugin that specific user was utilizing(Issue Link: https://issues.jenkins.io/browse/JENKINS-55836). I am wondering if a similar fix is needed for the integrity plugin for Jenkins as well. 

      Please note Integrity is not being used as a local client on this setup. 

      Please let help me resolve this issue. This failure is occurring very frequently on all our setups and continues to occur after a restart as well.

      Console Log:

      Checkout started using remote client for :#/OEM/SW/TeamName#PROJECT/PRJNAME/MY/CONSTRUCTION/DEV/REV/SUBREV
      Change Log: http://jenkinsserver:8080/job/PRJ%20MY%20REV%20SUBREV%20Build/9/changes
      Build Log: http://jenkinsserver:8080/job/PRJ%20MY%20REV%20SUBREV%20Build/9/console
      Preparing to execute si projectinfo for #/OEM/SW/TeamName#PROJECT/PRJNAME/MY/CONSTRUCTION/DEV/REV/SUBREV
      Preparing to execute si viewproject for #/OEM/SW/TeamName#PROJECT/PRJNAME/MY/CONSTRUCTION/DEV/REV/SUBREV
      Checkout directory is C:\Jenkins\workspace\PRJ MY REV SUBREV Build@script
      A clean copy is requested; deleting contents of C:\Jenkins\workspace\PRJ MY REV SUBREV Build@script
      Terminating checkout threads
      Exception occured during checkout! : Unable to delete 'C:\Jenkins\workspace\PRJ MY REV SUBREV Build@script'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      ERROR: Exception occured during checkout! Unable to delete 'C:\Jenkins\workspace\PRJ MY REV SUBREV Build@script'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      Retrying after 10 seconds

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            integrity_jenkins_plugin PTC ALM
            Reporter:
            shashankash Shashank Ashok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: