Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365611

Summary: status 500: can't wipe out hudson workspace of job egit-github
Product: Community Reporter: Matthias Sohn <matthias.sohn>
Component: CI-JenkinsAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kevin
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Matthias Sohn CLA 2011-12-05 10:05:30 EST
I need to wipe out the hudson workspace of the job egit-github, but this returns an internal server error:

Status Code: 500

Exception: 
Stacktrace:
java.io.IOException: Unable to delete /opt/users/hudsonbuild/.hudson/jobs/egit-github/workspace/.git/objects/pack/.nfs00000000003c02650000d795
	at hudson.Util.deleteFile(Util.java:263)
	at hudson.Util.deleteRecursive(Util.java:305)
	at hudson.Util.deleteContentsRecursive(Util.java:224)
	at hudson.Util.deleteRecursive(Util.java:304)
	at hudson.Util.deleteContentsRecursive(Util.java:224)
	at hudson.Util.deleteRecursive(Util.java:304)
	at hudson.Util.deleteContentsRecursive(Util.java:224)
	at hudson.Util.deleteRecursive(Util.java:304)
	at hudson.Util.deleteContentsRecursive(Util.java:224)
	at hudson.Util.deleteRecursive(Util.java:304)
	at hudson.FilePath$9.invoke(FilePath.java:826)
	at hudson.FilePath$9.invoke(FilePath.java:824)
	at hudson.FilePath.act(FilePath.java:758)
	at hudson.FilePath.act(FilePath.java:740)
	at hudson.FilePath.deleteRecursive(FilePath.java:824)
	at hudson.model.AbstractProject.cleanWorkspace(AbstractProject.java:1774)
	at hudson.model.AbstractProject.doDoWipeOutWorkspace(AbstractProject.java:1762)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646)

https://hudson.eclipse.org/hudson/job/egit-github/doWipeOutWorkspace
Comment 1 Eclipse Webmaster CLA 2011-12-05 15:16:22 EST
From bug 363222:

The .nfs0000000 etc.  file represents a file that was deleted, but was still in
use.  The OS is just waiting for the file to no longer be used to completely
remove it.

The master process has been restarted so you should be able to clear your workspace now.

-M.
Comment 2 Matthias Sohn CLA 2011-12-05 17:01:15 EST
thanks, this helped