On 10/12/15 21:19, V. Mark Lehky wrote:
> I have just installed the xvfb-plugin on my Jenkins:
> - Linux jenkins 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u6 x86_64 GNU/Linux
> - Xvfb Version: 2:1.12.4-6+deb7u6
> - Jenkins ver. 1.641
> - Xvfb plugin 1.1.2
>
> I configured everything with defaults as per documentation.
>
> The first time I run a job, in the logs I can see:
>
> Xvfb starting$ Xvfb :1 -screen 0 -fbdir
> /var/lib/jenkins/xvfb-99-1021388786522495009.fbdir
> and my job runs fine.
>
> Every *subsequent* run, the logs say:
> Xvfb starting$ Xvfb :1 -screen 0 -fbdir
> /var/lib/jenkins/xvfb-100-2665068639033469958.fbdir
>
> ERROR: Xvfb failed to start, consult the lines above for errors
>
> The "lines above" are just those two, nothing else. Is there a log
> somewhere? If I reboot the server, then I am back to "first time";
> however this is a pretty drastic workaround.
> What do I do to resolve this?
>
> TIA for any advice.
I would guess that Xvfb isn't actually getting shut down after the
initial build? Do you see it still running after a build completes?
Do you see the "Xvfb stopping" line in the output, and any other errors
around the same time?
Regards,
Chris