Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 05/Feb/13 8:42 AM
Description:

We have a JNLP slave which failed to connect.
On the slave side there was something about a connection reset as error.

On the server side we found this in the log:

Feb 5, 2013 9:36:44 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
INFO: Accepted connection #142 from /10.1.31.168:4798
Feb 5, 2013 9:36:44 AM hudson.TcpSlaveAgentListener$ConnectionHandler run
WARNING: Connection #142 failed
hudson.util.IOException2: Failed to open /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log
	at hudson.util.io.ReopenableFileOutputStream.current(ReopenableFileOutputStream.java:58)
	at hudson.util.io.ReopenableFileOutputStream.write(ReopenableFileOutputStream.java:65)
	at hudson.remoting.ClassicCommandTransport.create(ClassicCommandTransport.java:137)
	at hudson.remoting.Channel.<init>(Channel.java:392)
	at hudson.remoting.Channel.<init>(Channel.java:388)
	at hudson.remoting.Channel.<init>(Channel.java:349)
	at hudson.remoting.Channel.<init>(Channel.java:345)
	at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:320)
	at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:120)
	at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:100)
	at jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44)
	at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150)
Caused by: java.io.FileNotFoundException: /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log (No such file or directory)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
	at hudson.util.io.ReopenableFileOutputStream.current(ReopenableFileOutputStream.java:56)
	... 11 more

It appeared to be that the folder /opt/jenkins_home/logs/slaves/srv-nl-crd62 did not exist.
After creating the folder, the slave could connect.

Environment: Jenkins 1.500
Project: Jenkins
Priority: Blocker Blocker
Reporter: Cees Bos
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to