Sam Gleske commented on Bug JENKINS-20769

I have this issue though I may be able to provide a more reliable repeatable method. My setup is as follows.

-> Jenkins running in JBoss as jboss system user (RHEL 6.5) - jboss-eap-5.1.2 - Jenkins ver. 1.532.2
  -> slave.jar running on RHEL6.5 slave as jenkins system user which is started via SSH keys.
-> Eclipse Standard 4.3.2 - eclipse-standard-kepler-SR2-win32-x86_64
  -> Tried Mylyn build connector for Jenkins using both latest or weekly
  -> Execute a build from the Builds view.

When I run a build a couple of times every once in a while the JBoss server will crash completely. Here's the log output.

13:34:33,581 SEVERE [Channel] Failed to execute command Pipe.EOF(22) (channel <host omitted>)
java.lang.NullPointerException
        at hudson.remoting.ProxyWriter$EOF.execute(ProxyWriter.java:177)
        at hudson.remoting.Channel$2.handle(Channel.java:461)
        at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60)
13:34:33,581 SEVERE [Channel] This command is created here
Command Pipe.EOF(22) created at
        at hudson.remoting.Command.<init>(Command.java:67)
        at hudson.remoting.Command.<init>(Command.java:50)
        at hudson.remoting.ProxyWriter$EOF.<init>(ProxyWriter.java:169)
        at hudson.remoting.ProxyWriter.close(ProxyWriter.java:124)
        at hudson.remoting.ProxyWriter.finalize(ProxyWriter.java:132)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
13:36:39,627 INFO  [Run] Coeus-Local #31 main build action completed: SUCCESS
/app/jboss/bin/run.sh: line 284: 20872 Killed                  "/app/java/bin/java" -Dprogram.name=run.sh -server -Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs="/app/jboss/lib/endorsed" -classpath "/app/jboss/bin/run.jar:/app/java/lib/tools.jar" org.jboss.Main -c jenkins-ci -b <interface omitted>

In Eclipse, I get errors like the following.

Message:
Unexpected error: Unexpected response from Hudson server for '/jenkins/job/Coeus-Local/build': Created

Exception Stack Trace:
org.eclipse.mylyn.internal.hudson.core.client.HudsonException: Unexpected response from Hudson server for '/jenkins/job/Coeus-Local/build': Created
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.validate(HudsonOperation.java:235)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$7.doValidate(RestfulHudsonClient.java:359)
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.processAndRelease(HudsonOperation.java:220)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$7.execute(RestfulHudsonClient.java:353)
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:167)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.runBuild(RestfulHudsonClient.java:361)
	at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.runBuild(HudsonServerBehaviour.java:791)
	at org.eclipse.mylyn.builds.internal.core.operations.RunBuildOperation$1.doExecute(RunBuildOperation.java:55)
	at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Session Data:
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.standard.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.standard.product

I don't know what the plugin is doing over the API to cause this but since it works sometimes but not others I would agree it is likely a race condition.

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.

Reply via email to