Xvfb failed during running tests on Jenkins

83 views
Skip to first unread message

Anna Filippova

unread,
Jun 21, 2016, 6:23:02 AM6/21/16
to Jenkins Users
Hi guys,


could anybody please help me? 
I try to use Xvfb plugin for running selenium tests on Jenkins.
Plugin is installed, Xvfb installation is configured in System settings and running of xvfb added to Job as environment step


I see this in console

Xvfb starting$ Xvfb -displayfd 2 -screen 0  -fbdir /var/lib/jenkins/xvfb-22-4279356492497909622.fbdir
ERROR
: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
java.lang.IllegalStateException: No display name received from Xvfb within 10 seconds
        at
org.jenkinsci.plugins.xvfb.AutoDisplayNameFilterStream.getDisplayNumber(AutoDisplayNameFilterStream.java:77)
        at
org.jenkinsci.plugins.xvfb.Xvfb.launchXvfb(Xvfb.java:601)
        at
org.jenkinsci.plugins.xvfb.Xvfb.setUp(Xvfb.java:688)
        at
jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146)
        at
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)
        at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
        at
hudson.model.Run.execute(Run.java:1741)
        at
hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
        at
hudson.model.ResourceController.execute(ResourceController.java:98)
        at
hudson.model.Executor.run(Executor.java:410)
project
=hudson.maven.MavenModuleSet@4a73ffa8[_run_ui_tests]
project
.getModules()=[hudson.maven.MavenModule@3903e39e[_run_ui_tests/net.serenity_bdd.im.junit:junit-quick-start][_run_ui_tests/net.serenity_bdd.im.junit:junit-quick-start][relativePath:bdd-tests]]
project
.getRootModule()=hudson.maven.MavenModule@3903e39e[_run_ui_tests/net.serenity_bdd.im.junit:junit-quick-start][_run_ui_tests/net.serenity_bdd.im.junit:junit-quick-start][relativePath:bdd-tests]
FATAL
: No display name received from Xvfb within 10 seconds
java.lang.IllegalStateException: No display name received from Xvfb within 10 seconds
        at
org.jenkinsci.plugins.xvfb.AutoDisplayNameFilterStream.getDisplayNumber(AutoDisplayNameFilterStream.java:77)
        at
org.jenkinsci.plugins.xvfb.Xvfb.launchXvfb(Xvfb.java:601)
        at
org.jenkinsci.plugins.xvfb.Xvfb.setUp(Xvfb.java:688)
        at
jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:146)
        at
hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655)
        at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
        at
hudson.model.Run.execute(Run.java:1741)
        at
hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
        at
hudson.model.ResourceController.execute(ResourceController.java:98)
        at
hudson.model.Executor.run(Executor.java:410)

Reply all
Reply to author
Forward
0 new messages