Hello,
We are currently seeing the following issue using the jenkins-cli.jar
with Jenkins 1.430.
From inside a Jenkins job (I’ll call it the parent) I’m trying to
execute multiple jobs using the client jar. On the last job, I
include the –s parameter so the parent job will not finish until the
last job in the list is complete. The problem is that after about 15
secs of waiting, the parent job ends (fails) with the EOF exception
below. We have searched all day and tried numerous things including
reducing the number of jobs and also trying to run them sequentially.
Has anyone seen something similar?
Relevant info:
* Running on SLES9 Linux server with 4 CPUs and a plenty of diskspace.
* Tomcat 7.0.14
* JDK 1.6.0_14
* Only ONE Master configuration - no slaves are configured
* 3 Executors - (one less than the max number of CPUs)
Any insight as to what could be causing this would be appreciated...
-----------------------------------------------------------------------
[workspace] $ /bin/bash -xe /opt/apache-tomcat-7.0.14_jenkins/temp/
hudson4690948305077288103.sh
+ WAR_FOLDER=/tmp/trunk/UIToolkit1.1.2
+ rm -rf /tmp/trunk/UIToolkit1.1.2/calendar.war /tmp/trunk/
UIToolkit1.1.2/Pay.war /tmp/trunk/UIToolkit1.1.2/OrgChart.war
+ /opt/Sun/jdk1.6.0_14/bin/java -jar /opt/Sun/jdk1.6.0_14/lib/jenkins-
cli.jar -s
http://jenkins-host:8082/jenkins/ build XYZ_Platform-
Calendar -p SVN_PATH=trunk -p STATIC_PATH=UIToolkit1.1.2
+ /opt/Sun/jdk1.6.0_14/bin/java -jar /opt/Sun/jdk1.6.0_14/lib/jenkins-
cli.jar -s
http://jenkins-host:8082/jenkins/ build XYZ_Platform-Pay -p
SVN_PATH=trunk -p STATIC_PATH=UIToolkit1.1.2
+ /opt/Sun/jdk1.6.0_14/bin/java -jar /opt/Sun/jdk1.6.0_14/lib/jenkins-
cli.jar -s
http://jenkins-host:8082/jenkins/ build XYZ_Platform-
OrgChart -p SVN_PATH=trunk -p STATIC_PATH=UIToolkit1.1.2
+ /opt/Sun/jdk1.6.0_14/bin/java -jar /opt/Sun/jdk1.6.0_14/lib/jenkins-
cli.jar -s
http://jenkins-host:8082/jenkins/ build XYZ_Platform-
PolicyAck -s -p SVN_PATH=trunk -p STATIC_PATH=UIToolkit1.1.2
Sep 16, 2011 4:35:37 PM hudson.remoting.Channel$ReaderThread run
SEVERE: I/O error in channel Chunked connection to
http://jenkins-host:8082/jenkins/cli
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1093)
Caused by: java.io.EOFException
at java.io.ObjectInputStream
$BlockDataInputStream.peekByte(ObjectInputStream.java:2498)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:
348)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1087)
Exception in thread "main" hudson.remoting.RequestAbortedException:
hudson.remoting.RequestAbortedException: java.io.IOException:
Unexpected termination of the channel
at hudson.remoting.Request.call(Request.java:149)
at hudson.remoting.Channel.call(Channel.java:681)
at
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:
158)
at $Proxy2.main(Unknown Source)
at hudson.cli.CLI.execute(CLI.java:171)
at hudson.cli.CLI._main(CLI.java:297)
at hudson.cli.CLI.main(CLI.java:216)
Caused by: hudson.remoting.RequestAbortedException:
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Request.abort(Request.java:273)
at hudson.remoting.Channel.terminate(Channel.java:732)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1117)
Caused by: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1093)
Caused by: java.io.EOFException
at java.io.ObjectInputStream
$BlockDataInputStream.peekByte(ObjectInputStream.java:2498)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1273)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:
348)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1087)
Build step 'Execute shell' marked build as failure
Notifying upstream projects of job completion
Finished: FAILURE