I am using jenkins to run webdriver tests headless on a debian lenny
box and I am getting this error. Also i dont have a xserver directory
as the error points out. Any help on this would be greatly
appreciated.
Mon Nov 21 15:08:58 2011
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5939
vncext: created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/share/fonts/X11/Speedo/,
removing from list!
Could not init font path element /usr/share/fonts/X11/CID/, removing
from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing
from list!
Could not init font path element /usr/share/fonts/X11/100dpi/,
removing from list!
Buildfile: build.xml
Thanks,
Rivlin
No emails were triggered. Starting xvnc [workspace] $ vncserver :50 You will require a password to access your desktops. getpassword error: Invalid argument Password:Starting xvnc [workspace] $ vncserver :51 You will require a password to access your desktops. getpassword error: Invalid argument Password:Starting xvnc [workspace] $ vncserver :52 You will require a password to access your desktops. getpassword error: Invalid argument Password:Starting xvnc [workspace] $ vncserver :53 You will require a password to access your desktops. getpassword error: Invalid argument Password:FATAL: Failed to run 'vncserver :53' (exit code 1), blacklisting display #53; consider checking the "Clean up before start" option java.io.IOException: Failed to run 'vncserver :53' (exit code 1), blacklisting display #53; consider checking the "Clean up before start" option at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:100) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:98) at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:73) at hudson.model.Build$RunnerImpl.doRun(Build.java:133) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:459) at hudson.model.Run.run(Run.java:1389) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230)
I did set the password for the first time but still its giving me the same error.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/4EcsqcB2xgIJ.
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
At revision 17 no revision recorded for svn+ssh://svn.xxxxxxxx.com/svn/qa/xxxxxx-xxxxxxx in the previous build No emails were triggered. $ pkill Xvnc pkill: 30088 - Operation not permitted $ pkill Xrealvnc $ sh -c "rm -f /tmp/.X*-lock /tmp/.X11-unix/X*" rm: cannot remove `/tmp/.X15-lock': Operation not permitted rm: cannot remove `/tmp/.X19-lock': Operation not permitted rm: cannot remove `/tmp/.X5-lock': Operation not permitted rm: cannot remove `/tmp/.X11-unix/X0': Operation not permitted rm: cannot remove `/tmp/.X11-unix/X15': Operation not permitted rm: cannot remove `/tmp/.X11-unix/X19': Operation not permitted rm: cannot remove `/tmp/.X11-unix/X5': Operation not permitted Starting xvnc [workspace] $ sh -c "USER=xxxxxx HOME=/var/lib/jenkins vncserver :0 -geometry 1024x768 -depth 16" [core-publisher] $ ant test makexsltreports You will require a password to access your desktops. getpassword error: Invalid argument Password:Buildfile: build.xml compile: [echo] compiling tests test: [echo] running tests [testng] [TestNG] Running: [testng] /var/lib/jenkins/jobs/xxxx-xxxxx-xxxxxx/workspace/xxxx-xxxxx/testng.xml [testng] [testng] org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output: [testng] Error: cannot open display: :0
sh -c "USER=xxxxxx HOME=/var/lib/jenkins vncserver :0 -geometry 1024x768 -depth 16
Still it is giving me error saying