Bug 490379 - Xvnc plugin: NoClassDefFoundError causes job failures and exhaustion of available displays
Summary: Xvnc plugin: NoClassDefFoundError causes job failures and exhaustion of avail...
Status: NEW
Alias: None
Product: Hudson
Classification: Technology
Component: Plugins (show other bugs)
Version: 3.2.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Winston Prakash CLA
QA Contact: Geoff Waymark CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-24 11:34 EDT by Andreas Sewe CLA
Modified: 2016-03-24 11:52 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sewe CLA 2016-03-24 11:34:09 EDT
Termininating xvnc fails when running Hudson under Java 8:

Terminating xvnc.
FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
java.lang.NoClassDefFoundError: Could not initialize class hudson.util.ProcessTree$UnixReflection
	at hudson.util.ProcessTree$Unix.get(ProcessTree.java:494)
	at hudson.util.ProcessTree.killAll(ProcessTree.java:135)
	at hudson.Proc$LocalProc.destroy(Proc.java:284)
	at hudson.Proc$LocalProc.kill(Proc.java:276)
	at hudson.plugins.xvnc.Xvnc$3.tearDown(Xvnc.java:139)
	at hudson.model.Build$RunnerImpl.doRun(Build.java:149)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:524)
	at hudson.model.Run.run(Run.java:1493)
	at hudson.matrix.MatrixRun.run(MatrixRun.java:142)
	at hudson.model.ResourceController.execute(ResourceController.java:82)
	at hudson.model.Executor.run(Executor.java:137)

Besides the obvious problem that the job fails because of this, there's also the additional problem that the system runs out of displays, as xvnc is only ever started but never stopped.

This makes Hudson with xvnc effectively unusable.
Comment 1 Bob Foster CLA 2016-03-24 11:49:24 EDT
Does it work when Hudson is run in Java 7?
Comment 2 Andreas Sewe CLA 2016-03-24 11:52:27 EDT
(In reply to Bob Foster from comment #1)
> Does it work when Hudson is run in Java 7?

Yes, has been working for years on our HIPP. Webmaster changing JAVA_HOME to /opt/public/common/jdk1.8.0_51/jre broke the build (see Bug 490293).