-
Bug
-
Resolution: Fixed
-
Minor
-
None
When a connection to a slave is unexpectedly broken during a build, an Xvfb process started by the plugin is not killed. After the slave is reconnected, subsequent builds on it fail immediately because the plugin tries to start a new Xvfb process on the same display as the old one.
It would be helpful if the plugin could kill left over Xvfb processes before trying to start a new one. There could be a configuration option to kill all Xvfb processes. More robustly, it could probably find just the problematic one by command line.
Code changed in jenkins
User: Zoran Regvart
Path:
src/main/java/org/jenkinsci/plugins/xvfb/XvfbBuildWrapper.java
src/main/java/org/jenkinsci/plugins/xvfb/XvfbEnvironment.java
src/main/resources/org/jenkinsci/plugins/xvfb/Messages.properties
http://jenkins-ci.org/commit/xvfb-plugin/4137f5c1f6b262ca878005a07cbf270d2c0bcaf9
Log:
JENKINS-20758Xvfb processes remain after slave disconnect