-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins v1 1.514 , GIT Plugin 1.4.0 ,
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
- is duplicated by
-
JENKINS-18843 Jenkins Wiping out workspace hudson.util.IOException2: remote file operation failed
-
- Closed
-
-
JENKINS-14717 Wipe out workspace nonfunctional with local subdirecory
-
- Closed
-
- is related to
-
JENKINS-15103 jenkins git does not release pack files, prevents wiping workspace
-
- Closed
-
[JENKINS-19994] Unable to delete windows workspace due to busy git pack file
Description |
Original:
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 |
New:
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 |
Assignee | Original: Nicolas De Loof [ ndeloof ] | |
Description |
Original:
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 |
New:
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 |
Description |
Original:
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 |
New:
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 |
It is not clear based on the bug report if you're using the git command line implementation or if you're using the jgit implementation in your project definition. Can you clarify which you are using?
When I use Git plugin 2.0 and git client plugin 1.4.4 and I restrict the job to only run on windows and I add "Wipe out repository & force clone" as an additional action in the git configuration for that job, the first execution of the job succeeds, then all subsequent executions fail with a report that one of the pack files in the git repository is held open by another process and cannot be deleted.
The steps I used to define that failing job:
0 - Configure jgit as an available git implementation in the global configuration
1 - Create a new Jenkins job (I named mine jgit-windows)
2 - Configure the Jenkins job to use Git for SCM
3 - Enter https://github.com/MarkEWaite/check_git.git as the Git URL
4 - Switch from the git command line to jgit as the git executable
4 - Add "Checkout to specific local branch" to the branch master-local as part of the git configuration
5 - Restrict the job to only run on Windows
6 - Add "Wipe out repository & force clone" as part of the git configuration
7 - Save the job
Once the job has been saved, run it twice. The first run will succeed, the second run will fail with a report that pack file is busy