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

Unable to delete windows workspace due to busy git pack file

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Most of our jenkins jobs which are running on the Windows systems are failing due to issues in "deleting the workspace".

      ERROR::

      7:07:03 Deleting project workspace... 
      Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server 
      Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
      07:07:09 ERROR: Cannot delete workspace: java.io.IOException: 
      Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
      

      The workaround is that we have go manually kill the process and re-start the jenkins services & finally re-trigger the job.

      But we need permanent solution for this , could you please support us here?

      Regards
      Aravind BK

        Attachments

          Issue Links

            Activity

            arvind62 ARAVIND BK created issue -
            arvind62 ARAVIND BK made changes -
            Field Original Value New Value
            Description Most of our jobs which are running on the Windows systems are failing due to issues in "deleting the workspace".

            ERROR::

            {code}

            7:07:03 Deleting project workspace... Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            07:07:09 ERROR: Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack


            {code}

            The workaround is that we have go manually kill the process and re-start the jenkins services & finally re-trigger the job.

            But we need permanent solution for this , could you please support us here?

            Regards
            Aravind BK
            Most of our jobs which are running on the Windows systems are failing due to issues in "deleting the workspace".

            ERROR::
            {code}
            7:07:03 Deleting project workspace...
            Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server
            Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            07:07:09 ERROR: Cannot delete workspace: java.io.IOException:
            Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            {code}

            The workaround is that we have go manually kill the process and re-start the jenkins services & finally re-trigger the job.

            But we need permanent solution for this , could you please support us here?

            Regards
            Aravind BK
            arvind62 ARAVIND BK made changes -
            Assignee Nicolas De Loof [ ndeloof ]
            Description Most of our jobs which are running on the Windows systems are failing due to issues in "deleting the workspace".

            ERROR::
            {code}
            7:07:03 Deleting project workspace...
            Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server
            Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            07:07:09 ERROR: Cannot delete workspace: java.io.IOException:
            Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            {code}

            The workaround is that we have go manually kill the process and re-start the jenkins services & finally re-trigger the job.

            But we need permanent solution for this , could you please support us here?

            Regards
            Aravind BK
            Most of jenkinsour jobs which are running on the Windows systems are failing due to issues in "deleting the workspace".

            ERROR::
            {code}
            7:07:03 Deleting project workspace...
            Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server
            Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            07:07:09 ERROR: Cannot delete workspace: java.io.IOException:
            Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            {code}

            The workaround is that we have go manually kill the process and re-start the jenkins services & finally re-trigger the job.

            But we need permanent solution for this , could you please support us here?

            Regards
            Aravind BK
            arvind62 ARAVIND BK made changes -
            Description Most of jenkinsour jobs which are running on the Windows systems are failing due to issues in "deleting the workspace".

            ERROR::
            {code}
            7:07:03 Deleting project workspace...
            Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server
            Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            07:07:09 ERROR: Cannot delete workspace: java.io.IOException:
            Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            {code}

            The workaround is that we have go manually kill the process and re-start the jenkins services & finally re-trigger the job.

            But we need permanent solution for this , could you please support us here?

            Regards
            Aravind BK
            Most of our jenkins jobs which are running on the Windows systems are failing due to issues in "deleting the workspace".

            ERROR::
            {code}
            7:07:03 Deleting project workspace...
            Cannot delete workspace: java.io.IOException: Unable to delete D:\Jenkins\workspace\Ifl GnB Server
            Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            07:07:09 ERROR: Cannot delete workspace: java.io.IOException:
            Unable to delete D:\Jenkins\workspace\Ifl GnB Server Gerrit Voter\.git\objects\pack\pack-0a42cbec0651000a728565330f096a38e565b10b.pack
            {code}

            The workaround is that we have go manually kill the process and re-start the jenkins services & finally re-trigger the job.

            But we need permanent solution for this , could you please support us here?

            Regards
            Aravind BK
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-14717 [ JENKINS-14717 ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            markewaite Mark Waite made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-18843 [ JENKINS-18843 ]
            markewaite Mark Waite made changes -
            Link This issue is related to JENKINS-15103 [ JENKINS-15103 ]
            thiagozanetti Thiago Zanetti made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            Assignee Mark Waite [ markewaite ]
            thiagozanetti Thiago Zanetti made changes -
            Attachment jgit_problem.PNG [ 26101 ]
            gbois Gregory Boissinot made changes -
            Component/s msbuild [ 15559 ]
            ioannis Ioannis Moutsatsos made changes -
            ioannis Ioannis Moutsatsos made changes -
            integer Kanstantsin Shautsou made changes -
            Component/s github-plugin [ 15896 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151516 ] JNJira + In-Review [ 186162 ]
            nishanthini Nishanthini Radhakrishnan made changes -
            Comment [ I faced the same issue, "WARNING: Cleaning workspace synchronously. FAILED". This happens because of hidden files (mostly .git file for git user ) in our workspace. If we configure to clean workspace with hidden files then it successfully delete the workspace.
            To give that option -> Under "Delete workspace before build starts" , click advanced -> choose " Patterns for files to be deleted" -> select " Include " -> in text box type ".* ". ]
            markewaite Mark Waite made changes -
            Summary Unable to delete workspace Unable to delete workspace due to busy pack file
            markewaite Mark Waite made changes -
            Summary Unable to delete workspace due to busy pack file Unable to delete windows workspace due to busy pack file
            markewaite Mark Waite made changes -
            Summary Unable to delete windows workspace due to busy pack file Unable to delete windows workspace due to busy git pack file
            markewaite Mark Waite made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                arvind62 ARAVIND BK
              • Votes:
                8 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: