Only when user not logged in to the Ubuntu slave: java.io.IOException: Failed to mkdirs

85 views
Skip to first unread message

Pasi

unread,
Mar 15, 2013, 3:42:41 AM3/15/13
to jenkins...@googlegroups.com
Hi guys,

I've run into a weird issue, for quite some time some of my jobs have failed during the weekends, and I have now understood that it happens because usually I'm not logged in to the slave executing the jobs during weekends. Today morning this also happened as I was logged in during the whole week but just for the fun of it I logged out to see if my idea is valid and sure enough, the jobs started to fail right after logging out of the slave.

This is the failure:

Started by upstream project "network_test" build number 2816 
Building remotely on ourserver in workspace /home/ouruser/jenkins/workspace/network_test_summary 
java.io.IOException: Failed to mkdirs: /home/ouruser/jenkins/workspace/network_test_summary 
at hudson.FilePath.mkdirs(FilePath.java:898) 
at hudson.model.AbstractProject.checkout(AbstractProject.java:1224) 
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) 
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) 
at hudson.model.Run.run(Run.java:1438) 
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
at hudson.model.ResourceController.execute(ResourceController.java:88) 
at hudson.model.Executor.run(Executor.java:239) 
Recording plot data
...

Jenkins master is v1.466.2 running on Ubuntu 12.04.2 LTS (64-bit), installed via .deb package, Java version "1.7.0_17". Slave running on Ubuntu 12.04.2 LTS (32-bit), started via JNLP (using command: screen -d -m java -jar ...), Java version "1.7.0_17".

How could I try fix this issue?

Thanks!

-Pasi


Reply all
Reply to author
Forward
0 new messages