Quantcast

[JIRA] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Build-Run1.log, Build-Run2.log, Build-Run3.log
Components: core
Created: 15/Aug/12 12:59 PM
Description:

We have updated our Jenkins Server from 1.474 to 1.477 last week and since then have an increasing number of failing jobs caused by an IOException. Our jobs are configured to clean and checkout the project at start and clean the workspace at the end of the job. Sometimes the failure occures at the end (Run1 and Run2) and sometime right after start execution (Run3). I have attached the logs from different jobs.

We have 5 slaves with Windows Server 2008 RC2 and the failure occures on all of them. Actually we are cleaning the workspace by hand so that the jobs could start executing the build but failing and the final clean up, so many of our jobs are running red at the moment but building correctly.

Environment: Server: Ubuntu 2.6.35-28-server
Slaves: Windows Server 2008 RC2
Project: Jenkins
Labels: jenkins exception windows
Priority: Major Major
Reporter: Sebastian Woeste
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
Change By: Sebastian Woeste (15/Aug/12 1:02 PM)
Description: We have updated our Jenkins Server from 1.474 to 1.477 last week and since then have an increasing number of failing jobs caused by an IOException. Our jobs are configured to clean and checkout the project at start and clean the workspace at the end of the job. Sometimes the failure occures at the end (Run1 and Run2) and sometime right after start execution (Run3). I have attached the logs from different jobs.

We have 5 slaves with Windows Server 2008 RC2 and the failure occures on all of them. Actually we are cleaning the workspace by hand so that the jobs could start executing the build but failing
 and  at  the final clean up, so many of our jobs are running red at the moment but building correctly.
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

This happend after update from 1.474 to 1.477. After downgrade it works again. We could not find a reason in sourcecode. It works if the filepath is smaller than 256 chars. Java have normally no problems with this limit. Same problem is also with clearing workspace at the beginning of an 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

We have the same problem with version 1.479 on windows slaves. Same build on a linux-slave works fine

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

workaroung:
install Pre SCM BuildStep Plugin and execute as pre-scm step the following ant-script

<?xml version="1.0"?>
<project default="clean" > 
<target name="clean" description="clean"> 
<delete dir="dirToDelete"/> 
</target> 
</project>
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

I'm having the same issue and @Ralfs solution doesn't seem to work for me. I've tested 1.474 through 1.500.

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] [core] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: Valentin Baranov (12/Apr/13 11:18 AM)
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

--
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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] [core] (JENKINS-14808) IOException: Unable to delete <FileName> on Windows Slaves

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Hello.
I've changed the ticket priority to critical, because we have a large amount of CI-projects with the same problem.
Can you, please, fix this problem?

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 [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Loading...