Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 24/Feb/14 8:47 AM
Description:

I keep getting failures on random jobs (see example below), when I take a slave offline.

I thought the purpose of "take slave offline" (versus disconnecting a slave) is that running jobs can continue to run, but no new jobs are started, and I can then disconnect the slave when all jobs are finished (we have a small script which does exactly that, to take a slave out of the cluster).

With the current behaviour, it is impossible to cleanly shutdown a slave.

Expected: Taking a slave offline should NEVER have any impact on any of the jobs running on that slave. They should not even be aware of the fact.

Looks like the node went offline during the build. Check the slave log for the details.FATAL: /var/lib/jenkins/logs/slaves/null/slave.log (No such file or directory)
java.io.FileNotFoundException: /var/lib/jenkins/logs/slaves/null/slave.log (No such file or directory)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
	at org.kohsuke.stapler.framework.io.LargeText$FileSession.<init>(LargeText.java:397)
	at org.kohsuke.stapler.framework.io.LargeText$2.open(LargeText.java:120)
	at org.kohsuke.stapler.framework.io.LargeText.writeLogTo(LargeText.java:210)
	at hudson.console.AnnotatedLargeText.writeHtmlTo(AnnotatedLargeText.java:159)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:605)
	at hudson.model.Run.execute(Run.java:1568)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:236)
Project: Jenkins
Priority: Major Major
Reporter: Marc Günther
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.

Reply via email to