[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-25 Thread zikas_...@hotmail.com (JIRA)














































Abdelrahman Elogeel
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















This issue really affects our projects, we had lot of projects failing because of this issue. Please consider fixing it soon.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread kcbu...@gmail.com (JIRA)














































Kevin Burge
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















I'm also seeing the same issue.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread kcbu...@gmail.com (JIRA)












































 
Kevin Burge
 edited a comment on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















I'm also seeing the same issue.

Edit: I'm seeing this issue with just a branch specifier of "master" (implicit */master).  Started occurring in release 1.504.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread kcbu...@gmail.com (JIRA)














































Kevin Burge
 updated  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















Change By:


Kevin Burge
(20/Mar/13 11:36 AM)




Environment:


WindowsXPSlavewithmsysgitv1.7.11Windows732-BitSP1withmsysgit1.7.9
WindowsServer2008withmsysgit1.8.0-preview20121012



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread mescherya...@rutoken.ru (JIRA)












































 
Kirill Mescheryakov
 edited a comment on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















Seeing the same.
Please fix.
We dont have any workaround for this issue.

"I'm seeing this issue with just a branch specifier of "master" - I confirm it



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread jens.hohm...@xcom.de (JIRA)














































Jens Hohmuth
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















I was able to successfully work around this issue by the workaround mentioned in the Description: Disabling the "Wipe out workspace before build" Option has worked for me BUT to get it working I had to stop our Windows Jenkins slave first, remove the workspace manually and restart the Windows Jenkins slave. Just disabling "Wipe out workspace before build" was not enough.

+1 from me for fixing this issue as well!



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread kcbu...@gmail.com (JIRA)














































Kevin Burge
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















The work around works for me, but I had to remove "Wipe out workspace after build" post build step as well as restart the slaves.  I did not have the "Wipe out workspace before build" option enabled.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread kcbu...@gmail.com (JIRA)












































 
Kevin Burge
 edited a comment on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















The work around works for me, but I had to remove "Wipe out workspace after build" post build step as well as restart the slaves.  I did not have the "Wipe out workspace before build" option enabled.

Edit: of course, I won't really know until I re-run the build.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread omi...@yahoo.com (JIRA)














































Omid RA
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















I am also seeing this happening. My setup is as follows:


	Jenkins 1.506 (all plugins up to date as of 2013/03/20)
	Build master and slaves are all RedHat 5 machines.
	Using git for all SCM
	Currently using "Wipe out workspace before build" option



If I log into any build slave and use the "lsof" command to see what processes have files open, I see that the java instance of the build slave has files open in the .git/objects/pack/ directory of several jobs.

I have to restart all build-slaves that have files open before I can run the job again.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread omi...@yahoo.com (JIRA)














































Omid RA
 updated  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















Change By:


Omid RA
(20/Mar/13 3:11 PM)




Environment:


WindowsXPSlavewithmsysgitv1.7.11Windows732-BitSP1withmsysgit1.7.9WindowsServer2008withmsysgit1.8.0-preview20121012
RedHat5slavewithstandardgitversion1.7.4.1



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread omi...@yahoo.com (JIRA)












































 
Omid RA
 edited a comment on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















I am also seeing this happening. My setup is as follows:


	Jenkins 1.506 (all plugins up to date as of 2013/03/20)
	Build master and slaves are all RedHat 5 machines.
	Using git for all SCM
	Currently using "Wipe out workspace before build" option



If I log into any build slave and use the "lsof" command to see what processes have files open, I see that the java instance of the build slave has files open in the .git/objects/pack/ directory of several jobs.

I have to restart all build-slaves that have files open before I can run the job again.

EDIT: I also want to say that I'm seeing this even when the branch specifier is explicit: "origin/master". no wildcard is being used...



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-20 Thread omi...@yahoo.com (JIRA)












































 
Omid RA
 edited a comment on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















I am also seeing this happening. My setup is as follows:


	Jenkins 1.506 (all plugins up to date as of 2013/03/20)
	Build master and slaves are all RedHat 5 machines.
	Using git for all SCM
	Currently using "Wipe out workspace before build" option



If I log into any build slave and use the "lsof" command to see what processes have files open, I see that the java instance of the build slave has files open in the .git/objects/pack/ directory of several jobs.

I have to restart all build-slaves that have files open before I can run the job again.

EDIT: I also want to say that I'm seeing this even when the branch specifier is explicit: "origin/master". no wildcard is being used...

EDIT2: So, I've figured out how to work around my issue. If I add this JVM option to each slave, everything works fine:
   -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2013-03-14 Thread mescherya...@rutoken.ru (JIRA)














































Kirill Mescheryakov
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















Seeing the same.
Please fix.
We dont have any workaround for this issue.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2012-11-08 Thread deepak.ar...@ch1group.com (JIRA)














































Deepak Arora
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















Seeing the same issue, not able to clear out the workspace. Had to restart Jenkins. It is painful specially in case of nightly jobs.
Any idea when this will be fixed? or is there a workaround on the Git side?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2012-11-08 Thread deepak.ar...@ch1group.com (JIRA)














































Deepak Arora
 updated  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















Change By:


Deepak Arora
(08/Nov/12 1:40 PM)




Priority:


Major
Critical



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2012-11-08 Thread deepak.ar...@ch1group.com (JIRA)














































Deepak Arora
 updated  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace
















Change By:


Deepak Arora
(08/Nov/12 1:48 PM)




Environment:


WindowsXPSlavewithmsysgitv1.7.11
Windows732-BitSP1withmsysgit1.7.9



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2012-09-19 Thread danny.gersh...@gmail.com (JIRA)














































Danny Gershman
 commented on  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















I am seeing this same issue, cannot clear the workspace without restarting Jenkins.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-15103) jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace

2012-09-10 Thread jeff.koe...@accunurse.com (JIRA)














































Jeff Koenig
 created  JENKINS-15103


jenkins slave process does not let go of .git\objects\pack\*.pack file causeing Unable to delete when wiping workspace















Issue Type:


Bug



Affects Versions:


current



Assignee:


Nicolas De Loof



Components:


git



Created:


10/Sep/12 6:45 PM



Description:


When building a job with a git branch specifier that ends with a wildcard (ie origin/feature/* or origin/feature*) jenkins never releases its hold on .git/object/pack/.pack files.  This causes the next build to not be able to wipe the workspace.  This is not a problem if the branch specifier does not end with a wildcard.

The *.pack file cannot be deleted until the javaw.exe process (JNLP connection to jenkins) is killed. 

The only way I have been able to get by is to not wipe the workspace before builds.


This is the stack trace that this causes...


Using strategy: Default
Last Built Revision: Revision cfd6d3ea8c621905444d4e84b4718bf5d40cbe59 (origin/feature/jeff-test)
Wiping out workspace first.
hudson.util.IOException2: remote file operation failed: E:\jenkins\workspace\VoiceFirst-WebServices-feature at hudson.remoting.Channel@3007615c:VHS-Lab-YosWin0
	at hudson.FilePath.act(FilePath.java:838)
	at hudson.FilePath.act(FilePath.java:824)
	at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1044)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1200)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1248)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
	at hudson.model.Run.execute(Run.java:1484)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:236)
Caused by: java.io.IOException: Unable to delete E:\jenkins\workspace\VoiceFirst-WebServices-feature\.git\objects\pack\pack-7afe54f6a971bd2518f1713140acd04dee21882c.pack
	at hudson.Util.deleteFile(Util.java:237)
	at hudson.Util.deleteRecursive(Util.java:287)
	at hudson.Util.deleteContentsRecursive(Util.java:198)
	at hudson.Util.deleteRecursive(Util.java:278)
	at hudson.Util.deleteContentsRecursive(Util.java:198)
	at hudson.Util.deleteRecursive(Util.java:278)
	at hudson.Util.deleteContentsRecursive(Util.java:198)
	at hudson.Util.deleteRecursive(Util.java:278)
	at hudson.Util.deleteContentsRecursive(Util.java:198)
	at hudson.FilePath$12.invoke(FilePath.java:922)
	at hudson.FilePath$12.invoke(FilePath.java:920)
	at hudson.FilePath.act(FilePath.java:842)
	at hudson.FilePath.act(FilePath.java:824)
	at hudson.FilePath.deleteContents(FilePath.java:920)
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1057)
	at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044)
	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:287)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at hudson.remoting.Engine$1$1.run(Engine.java:60)
	at java.lang.Thread.run(Thread.java:662)




Environment:


Windows XP Slave with msysgit v 1.7.11




Project:


Jenkins



Priority:


Major



Reporter: