You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by Stefan Seelmann <se...@apache.org> on 2010/09/28 18:26:07 UTC
Hudson Windows Slave: Unable to delete
Hi,
A job on windows failed for two days [1], the logs tells me
[INFO] Failed to clean project: Failed to delete
C:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\i18n\target\apacheds-i18n-1.5.8-SNAPSHOT.jar
Now I tried to wipe out the workspace, but get the Tomcat 500 page with
hudson.util.IOException2: remote file operation failed:
c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win at
hudson.remoting.Channel@52105584:windows1
hudson.FilePath.act(FilePath.java:749)
hudson.FilePath.act(FilePath.java:735)
...
root cause
java.io.IOException: Unable to delete
c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\core\target\apacheds-core-1.5.8-SNAPSHOT.jar
hudson.Util.deleteFile(Util.java:260)
hudson.Util.deleteRecursive(Util.java:302)
hudson.Util.deleteContentsRecursive(Util.java:221)
hudson.Util.deleteRecursive(Util.java:301)
hudson.Util.deleteContentsRecursive(Util.java:221)
hudson.Util.deleteRecursive(Util.java:301)
hudson.Util.deleteContentsRecursive(Util.java:221)
hudson.Util.deleteRecursive(Util.java:301)
hudson.Util.deleteContentsRecursive(Util.java:221)
hudson.Util.deleteRecursive(Util.java:301)
hudson.FilePath$9.invoke(FilePath.java:821)
hudson.FilePath$9.invoke(FilePath.java:819)
hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
hudson.remoting.UserRequest.perform(UserRequest.java:114)
hudson.remoting.UserRequest.perform(UserRequest.java:48)
hudson.remoting.Request$2.run(Request.java:270)
...
Anything I can do?
Thanks,
Stefan
[1] https://hudson.apache.org/hudson/view/Directory/job/dir-apacheds-jdk16-win/
Re: Hudson Windows Slave: Unable to delete
Posted by Stefan Seelmann <se...@apache.org>.
On Wed, Sep 29, 2010 at 1:53 PM, Niklas Gustavsson <ni...@protocol7.com> wrote:
> On Tue, Sep 28, 2010 at 11:26 PM, Stefan Seelmann <se...@apache.org> wrote:
>> I tried again, but get a similar exception now:
>>
>> Caused by: java.io.IOException: Unable to delete
>> c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk - files
>> in dir: [c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\core-annotations,
>> ... ]
>
> Your latest build seem to have succeeded so I'm assuming this somehow
> solved itself?
Must be Windows' self-healing system ;-)
Thanks anyway.
Stefan
Re: Hudson Windows Slave: Unable to delete
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Tue, Sep 28, 2010 at 11:26 PM, Stefan Seelmann <se...@apache.org> wrote:
> I tried again, but get a similar exception now:
>
> Caused by: java.io.IOException: Unable to delete
> c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk - files
> in dir: [c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\core-annotations,
> ... ]
Your latest build seem to have succeeded so I'm assuming this somehow
solved itself?
/niklas
Re: Hudson Windows Slave: Unable to delete
Posted by Stefan Seelmann <se...@apache.org>.
Thanks Niklas for the great support.
I tried again, but get a similar exception now:
Caused by: java.io.IOException: Unable to delete
c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk - files
in dir: [c:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\core-annotations,
... ]
Could you have another look?
Many Thanks,
Stefan
On Tue, Sep 28, 2010 at 10:58 PM, Niklas Gustavsson
<ni...@protocol7.com> wrote:
> On Tue, Sep 28, 2010 at 6:26 PM, Stefan Seelmann <se...@apache.org> wrote:
>> A job on windows failed for two days [1], the logs tells me
>> [INFO] Failed to clean project: Failed to delete
>> C:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\i18n\target\apacheds-i18n-1.5.8-SNAPSHOT.jar
>
> Looks like the file was locked by the slave JVM somehow. I've killed
> and restarted the JVM and deleted the file.
>
> /niklas
>
Re: Hudson Windows Slave: Unable to delete
Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Tue, Sep 28, 2010 at 6:26 PM, Stefan Seelmann <se...@apache.org> wrote:
> A job on windows failed for two days [1], the logs tells me
> [INFO] Failed to clean project: Failed to delete
> C:\hudson\hudson-slave\workspace\dir-apacheds-jdk16-win\trunk\i18n\target\apacheds-i18n-1.5.8-SNAPSHOT.jar
Looks like the file was locked by the slave JVM somehow. I've killed
and restarted the JVM and deleted the file.
/niklas