Question

I have a bat script that sets up Hudson in headless mode so that Jenkins can connect & perform automatic builds.

The script has worked for 2 years. To fix a problem, IT tech changed the internet port from 100Mb/s to 1Gigb/s. Now, the script has the following error. We switched the lines back but problem persists.

I'm no sure if the line speeds was the cause of the problem. All I know is that it worked, the ports changed speeds, and now it has stopped working.

slave_launch_command.bat

C:\IceBoX>java -jar c:\IceBoX\slave.jar -jnlpUrl http://XX.XX.XX.XX:8080/jenkins/computer/.../slave-agent.jnlp
Mar 20, 2013 3:31:59 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Hudson agent is running in headless mode.
Mar 20, 2013 3:31:59 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Locating server among [http://.....goldlnk.rootlnka.net:8080/jenkins/, http://XX.XX.XX.X:8080/jenkins/]
Mar 20, 2013 3:31:59 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Connecting to nhnaunxlbapp005.goldlnk.rootlnka.net:35204
Mar 20, 2013 3:31:59 PM hudson.remoting.jnlp.Main$CuiListener status
INFO: Handshaking
Mar 20, 2013 3:31:59 PM hudson.remoting.jnlp.Main$CuiListener error
SEVERE: unexpected stream termination
java.io.EOFException: unexpected stream termination
        at hudson.remoting.Channel.<init>(Channel.java:408)
        at hudson.remoting.Channel.<init>(Channel.java:366)
        at hudson.remoting.Channel.<init>(Channel.java:327)
        at hudson.remoting.Channel.<init>(Channel.java:323)
        at hudson.remoting.Channel.<init>(Channel.java:311)
        at hudson.remoting.Engine.run(Engine.java:238)
Was it helpful?

Solution

First, I would like to thank Gareth_Bowles because this information helped me push IT in the right direction.

When we found the slave's computer, we relized that it ran out of hard drive space. This was causing the failure to connect. We removed some old archived build history and were able to restore the system to operational.

We also updated the Jenkins configuration to remove build data after 30 days. Thanks again for the help!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top