Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Hudson build failure(hudson.remoting.RequestAbortedException)
Hudson build failure [message #887653] Sat, 16 June 2012 20:40 Go to next message
Joseph Carroll is currently offline Joseph Carroll
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

After working through the tycho-demo from EclipseCon I wanted to use that as the first project I attempted to build in Hudson. I worked through the hudson book and was careful to keep settings at a minimum for my first job. However, my builds keep failing with: [ERROR] Failure: hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel

The complete console output is listed below. It seems like all of the threads I come across talk about slave provisioning issues and I am running a single instance of Hudson.

Any one have any ideas?

Cleaning up /var/lib/hudson/jobs/Tycho-Demo/workspace/.
Deleting /var/lib/hudson/jobs/Tycho-Demo/workspace/.maven
Updating [... repo-location ...]: Jun 17, 2012 12:31:21 AM depth:infinity ignoreExternals: false
At revision 5
no change for [... repo-location ...] since the previous build
[INFO] Using Maven 3 installation: Maven 3
[INFO] Checking Maven 3 installation environment
[workspace] $ /usr/local/apache-maven/apache-maven-3.0.4/bin/mvn --help
[TRACE] Process output:
Unrecognized option: --no-such-option
Could not create the Java virtual machine.

[INFO] Checking Maven 3 installation version
[TRACE] Maven installation properties: {version=3.0.4, buildNumber=1232337, distributionId=apache-maven, timestamp=1326789896232, distributionName=Apache Maven, distributionShortName=Maven}
[INFO] Detected Maven 3 installation version: 3.0.4
[DEBUG] Arguments:
[DEBUG] '/usr/local/apache-maven/apache-maven-3.0.4/bin/mvn'
[DEBUG] 'clean'
[DEBUG] 'install'
[DEBUG] '-V'
[DEBUG] '-B'
[DEBUG] '-Dmaven.ext.class.path=/var/lib/hudson/maven/slavebundle/resources:/var/lib/hudson/maven/slavebundle/lib/maven3-eventspy-3.0.jar:/var/lib/hudson/war/WEB-INF/lib/hudson-remoting-2.2.1.jar'
[DEBUG] '-Dhudson.eventspy.port=37454'
[DEBUG] '-f'
[DEBUG] 'tychodemo.parent/pom.xml'
[DEBUG] Environment:
[DEBUG] _='/usr/lib/jvm/java-1.6.0/bin/java'
[DEBUG] BUILD_ID='2012-06-17_00-31-20'
[DEBUG] BUILD_NUMBER='6'
[DEBUG] BUILD_TAG='hudson-Tycho-Demo-6'
[DEBUG] BUILD_URL='[http:]//23.21.54.123:8080/job/Tycho-Demo/6/'
[DEBUG] CLASSPATH=''
[DEBUG] CONSOLETYPE='serial'
[DEBUG] EXECUTOR_NUMBER='1'
[DEBUG] HOME='/var/lib/hudson'
[DEBUG] HUDSON_HOME='/var/lib/hudson'
[DEBUG] HUDSON_SERVER_COOKIE='8e493f02f514e1b8e7057656001c23f5'
[DEBUG] HUDSON_URL='[http:]//23.21.54.123:8080/'
[DEBUG] HUDSON_USER='bmansfield'
[DEBUG] JAVA_HOME='/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64'
[DEBUG] JOB_NAME='Tycho-Demo'
[DEBUG] JOB_URL='http:]//23.21.54.123:8080/job/Tycho-Demo/'
[DEBUG] LANG='en_US.UTF-8'
[DEBUG] LANGSH_SOURCED='1'
[DEBUG] LD_LIBRARY_PATH='/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64'
[DEBUG] LOGNAME='hudson'
[DEBUG] M2_HOME='/usr/local/apache-maven/apache-maven-3.0.4'
[DEBUG] MAVEN_OPTS=''
[DEBUG] MAVEN_SKIP_RC='true'
[DEBUG] NLSPATH='/usr/dt/lib/nls/msg/%L/%N.cat'
[DEBUG] NODE_LABELS='master'
[DEBUG] NODE_NAME=''
[DEBUG] PATH='/sbin:/usr/sbin:/bin:/usr/bin'
[DEBUG] PATH+JDK='/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin'
[DEBUG] previous='N'
[DEBUG] PREVLEVEL='N'
[DEBUG] PWD='/'
[DEBUG] RUNLEVEL='3'
[DEBUG] SHELL='/bin/bash'
[DEBUG] SHLVL='3'
[DEBUG] SVN_REVISION='5'
[DEBUG] SVN_URL='https:]//subversion.assembla.com/svn/financialopensource/trunk/tycho-demo'
[DEBUG] TERM='linux'
[DEBUG] UPSTART_EVENTS='runlevel'
[DEBUG] UPSTART_INSTANCE=''
[DEBUG] UPSTART_JOB='rc'
[DEBUG] USER='hudson'
[DEBUG] WORKSPACE='/var/lib/hudson/jobs/Tycho-Demo/workspace'
[DEBUG] XFILESEARCHPATH='/usr/dt/app-defaults/%L/Dt'
[workspace] $ /usr/local/apache-maven/apache-maven-3.0.4/bin/mvn clean install -V -B -Dmaven.ext.class.path=/var/lib/hudson/maven/slavebundle/resources:/var/lib/hudson/maven/slavebundle/lib/maven3-eventspy-3.0.jar:/var/lib/hudson/war/WEB-INF/lib/hudson-remoting-2.2.1.jar -Dhudson.eventspy.port=37454 -f tychodemo.parent/pom.xml
[DEBUG] Waiting for connection on port: 37454
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: /usr/local/apache-maven/apache-maven-3.0.4
Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.18-1.26.6.amzn1.x86_64", arch: "amd64", family: "unix"
[DEBUG] Connected to remote
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: tychodemo:tychodemo.bundle:1.0.0-SNAPSHOT @ /var/lib/hudson/jobs/Tycho-Demo/workspace/tychodemo.bundle/pom.xml
[INFO] Fetching p2.index (0B of 96B at 0B/s) from http:]//download.eclipse.org/releases/juno/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (128B of 96B at 0B/s) from http:]//download.eclipse.org/releases/juno/
[INFO] Adding repository http:]//download.eclipse.org/releases/juno/
[INFO] Fetching p2.index (0B of 245B at 0B/s) from http:]//download.eclipse.org/releases/juno/201206080900/
[INFO] 1 operation remaining.
[INFO] Fetching p2.index (365B of 245B at 0B/s) from http:]//download.eclipse.org/releases/juno/201206080900/
[INFO] Fetching p2.index (0B of 96B at 0B/s) from http:]//download.eclipse.org/releases/juno/
[INFO] Fetching p2.index (128B of 96B at 0B/s) from http:]//download.eclipse.org/releases/juno/
[INFO] Adding repository http:]//download.eclipse.org/releases/juno/
[INFO] Fetching p2.index (0B of 245B at 0B/s) from http:]//download.eclipse.org/releases/juno/201206080900/
[INFO] Fetching p2.index (365B of 245B at 0B/s) from http:]//download.eclipse.org/releases/juno/201206080900/
[INFO] Resolving dependencies of MavenProject: tychodemo:tychodemo.bundle:1.0.0-SNAPSHOT @ /var/lib/hudson/jobs/Tycho-Demo/workspace/tychodemo.bundle/pom.xml
[ERROR] Failure: hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
FATAL: hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
org.hudsonci.utils.tasks.OperationFailure: hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
at org.hudsonci.utils.tasks.PerformOperation.execute(PerformOperation.java:75)
at org.hudsonci.maven.plugin.builder.MavenBuilder.perform(MavenBuilder.java:169)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:630)
at hudson.model.Build$RunnerImpl.build(Build.java:175)
at hudson.model.Build$RunnerImpl.doRun(Build.java:137)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:429)
at hudson.model.Run.run(Run.java:1366)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
Caused by: 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:650)
at org.hudsonci.maven.plugin.builder.internal.PerformBuild.doExecute(PerformBuild.java:198)
at org.hudsonci.utils.tasks.PerformOperation.execute(PerformOperation.java:58)
... 10 more
Caused by: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Request.abort(Request.java:269)
at hudson.remoting.Channel.terminate(Channel.java:750)
at hudson.slaves.Channels$1.terminate(Channels.java:77)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1049)
Caused by: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1030)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2570)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1314)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at hudson.remoting.Channel$ReaderThread.run(Channel.java:1024)
Re: Hudson build failure [message #888284 is a reply to message #887653] Sun, 17 June 2012 20:17 Go to previous message
Joseph Carroll is currently offline Joseph Carroll
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

Figured out that it was failing while building a product for MacOS. I updated Tycho to use version 0.15.0 and all work well.

For more information on the bug (case sensitive file systems) see:
bugs.eclipse.org/bugs/show_bug.cgi?id=349877
Previous Topic:Problem with object heap using Hudson and Grails plugin
Next Topic:Cannot login to Hudson
Goto Forum:
  


Current Time: Thu Aug 28 03:12:53 EDT 2014

Powered by FUDForum. Page generated in 0.02090 seconds