jenkins maven build job didn't get executed

36 views
Skip to first unread message

Simon Linden

unread,
Apr 18, 2011, 9:50:35 AM4/18/11
to Jenkins Users
Hello,

I'm using Jenkins 1.403 and created maven3 job to build some projects.
So I have one job which is'nt executed, other job's are executed very
well. I didn't get any usefull error messages in the Console View of
jenkins for this build job:

Started by upstream project "<job-name>" build number 14
Found mavenVersion 3.0.2 from file jar:file:/usr/lib/maven/lib/maven-
core-3.0.2.jar!/META-INF/maven/org.apache.maven/maven-core/
pom.properties
$ /usr/java/jdk1.5.0_16/bin/java -cp /home/<hudson-user>/.hudson/
plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.403.jar:/usr/lib/maven/
boot/plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main /usr/lib/maven /usr/lib/
apache-tomcat/webapps/hudson/WEB-INF/lib/remoting-1.403.jar /home/
<hudson-user>/.hudson/plugins/maven-plugin/WEB-INF/lib/maven3-
interceptor-1.403.jar 60124
<===[HUDSON REMOTING CAPACITY]===>channel started
Finished: ABORTED

I'm starting maven with die -X (debug) option but there are no usefull
informations at all. It seems to me, maven didn't get started by
Jenkins.

I googled for this error and tried to change the logger settings to
get more informations about this in the logfiles. Now I found this in
the catalina.out:

Apr 18, 2011 2:59:51 PM hudson.util.ProcessTree$UnixProcess
killRecursively
FINE: Recursively killing pid=1150
Apr 18, 2011 2:59:51 PM hudson.util.ProcessTree$UnixProcess kill
FINE: Killing pid=1150
Apr 18, 2011 2:59:51 PM hudson.model.Run setResult
FINE: <job-name> ? <job-name> Modul pom.xml #14 : result is set to
ABORTED
java.lang.Exception
at hudson.model.Run.setResult(Run.java:334)
at hudson.model.Run.run(Run.java:1362)
at hudson.maven.MavenBuild.run(MavenBuild.java:239)
at
hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Apr 18, 2011 2:59:51 PM hudson.model.Run run
INFO: <job-name> ? <job-name> Modul pom.xml #14 main build action
completed: ABORTED
Apr 18, 2011 2:59:51 PM hudson.tasks.LogRotator perform
FINE: Running the log rotation for <job-name> ? <job-name> Modul
pom.xml
Apr 18, 2011 2:59:51 PM hudson.model.Queue maintain
FINE: Queue maintenance started hudson.model.Queue@1d8211d
Apr 18, 2011 2:59:52 PM hudson.remoting.Channel$ReaderThread run
SEVERE: I/O error in channel Channel to Maven [/usr/java/jdk/bin/java,
-cp, /home/<hudson-user>/.hudson/plugins/maven-plugin/WEB-INF/lib/
maven3-agent-1.403.jar:/usr/lib/maven/boot/plexus-classworlds-2.4.jar,
org.jvnet.hudson.maven3.agent.Maven3Main, /usr/lib/maven, /opt/apache-
tomcat/webapps/hudson/WEB-INF/lib/remoting-1.403.jar, /home/<hudson-
user>/.hudson/plugins/maven-plugin/WEB-INF/lib/maven3-
interceptor-1.403.jar, 60124]
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:985)
Caused by: java.io.EOFException
at java.io.ObjectInputStream
$BlockDataInputStream.peekByte(ObjectInputStream.java:2554)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:
351)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:979)
Apr 18, 2011 2:59:52 PM hudson.util.ProcessTree killAll
FINE: killAll: process=java.lang.UNIXProcess@10465d2 and
envs={HUDSON_COOKIE=b85add66-8868-4cdd-b8e1-921c1670527b}
Apr 18, 2011 2:59:52 PM
org.acegisecurity.context.HttpSessionContextIntegrationFilter doFilter
FINE: Obtained a valid SecurityContext from ACEGI_SECURITY_CONTEXT to
associate with SecurityContextHolder:
'hudson.security.NotSerilizableSecurityContext@d14005e7:
Authentication:
org.acegisecurity.providers.UsernamePasswordAuthenticationToken@d14005e7:
Username: hudson.security.HudsonPrivateSecurityRealm$Details@1bd1a7f;
Password: [PROTECTED]; Authenticated: true; Details:
org.acegisecurity.ui.WebAuthenticationDetails@fffed504:
RemoteIpAddress: 10.2.198.223; SessionId:
EAAC5907FBF5D3F24D3A71D4DBE42911; Granted Authorities: authenticated'
Apr 18, 2011 2:59:52 PM
org.acegisecurity.ui.basicauth.BasicProcessingFilter doFilter

Does anybody have the same error or an idea what is going wrong..? Any
help is very appreciated
best regards and many thanks in advance..!

Neil Tingley

unread,
Apr 18, 2011, 10:03:52 AM4/18/11
to jenkins...@googlegroups.com
Is this on a slave ? 

Simon Linden

unread,
Apr 19, 2011, 3:38:15 AM4/19/11
to Jenkins Users
Hello Neil,

On 18 Apr., 16:03, Neil Tingley <neilting...@gmail.com> wrote:
> Is this on a slave ?

thank you for your reply!
no - there are no slaves configured.
Reply all
Reply to author
Forward
0 new messages