[JIRA] [windows-slaves] (JENKINS-22692) Jenkins Windows-Slave throwing exception on shutdown causes connection reset issues

2014-07-08 Thread ryan.cr...@ni.com (JIRA)














































Ryan Croom
 commented on  JENKINS-22692


Jenkins Windows-Slave throwing exception on shutdown causes connection reset issues















So, I think this is a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-22932, updating to 1.568 (which contains this fix) seemed to fix the issue for me. Can anyone else confirm that it now works for them?



























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/d/optout.


[JIRA] [master-slave] (JENKINS-22722) Master doesn't show connected slave

2014-06-09 Thread ryan.cr...@ni.com (JIRA)














































Ryan Croom
 commented on  JENKINS-22722


Master doesnt show connected slave















We experienced the exact same issue with the same log information that Michaƫl commented with. A master restart would bring things back to normal until we restarted the slave and then subsequent connections would fail until the master was restarted again.

Reverting to 1.559 fixed the issue. Our Jenkins machine is running on ArchLinux.



























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/d/optout.


[JIRA] [windows-slaves] (JENKINS-22692) Jenkins Windows-Slave throwing exception on shutdown causes connection reset issues

2014-04-19 Thread ryan.cr...@ni.com (JIRA)














































Ryan Croom
 created  JENKINS-22692


Jenkins Windows-Slave throwing exception on shutdown causes connection reset issues















Issue Type:


Bug



Affects Versions:


current



Assignee:


Kohsuke Kawaguchi



Components:


windows-slaves



Created:


20/Apr/14 5:44 AM



Description:


Using the most recent build of Jenkins I have been seeing connection issues after issuing reboot commands to targets. After looking at some logs it looks like the slave service on Windows may not be shutting down correctly and is not disconnecting from the Jenkins Server. I suspect that this is causing the reconnect issues that I'm seeing after the machine comes back online. Below is the failure as reported by the Jenkins server and excerpts from log files on the slave machine when the issue reproduced.

Error as reported from Jenkins Server:
FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
	at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
	at hudson.remoting.Request.call(Request.java:174)
	at hudson.remoting.Channel.call(Channel.java:722)
	at hudson.FilePath.act(FilePath.java:1009)
	at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:44)
	at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:81)
	at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39)
	at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:575)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:481)
	at hudson.model.Run.execute(Run.java:1700)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)
Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
	at hudson.remoting.Request.abort(Request.java:299)
	at hudson.remoting.Channel.terminate(Channel.java:782)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
Caused by: java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:185)
	at java.io.FilterInputStream.read(FilterInputStream.java:133)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
	at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77)
	at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2265)
	at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2558)
	at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2568)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
	at hudson.remoting.Command.readFrom(Command.java:92)
	at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)


From jenkins-slave.err.log:

Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up slave: Slave Machine
Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener init
INFO: Jenkins agent is running in headless mode.
Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among http://Jenkins Server/
Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to Jenkins Server
Apr 19, 2014 11:52:09 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Apr 19, 2014 11:52:09 PM