Not able to run FirefoxDriver on CI Server

876 views
Skip to first unread message

Sai

unread,
May 23, 2013, 1:04:22 AM5/23/13
to webd...@googlegroups.com
 Hi Guys , 

i'm trying to run my scripts on Jenkins on a CI Server hosted . i get the below error .

When  i launch Jenkins on my local system it works fine . FF is launched . 

I build my project a free CI Server which i found 


Someone please help me 

Running com.test.example.SuiteTest
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
Error: no display specified
Error: no display specified

	at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
	at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)


Nareshkumar.prathipati

unread,
May 23, 2013, 5:49:25 AM5/23/13
to webd...@googlegroups.com
Check if your Firefox version is supported with selenium server

Sent from my iPhone
Naresh
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Richard Lavoie

unread,
May 23, 2013, 8:32:14 AM5/23/13
to webd...@googlegroups.com
If you need to run that on jenkins, you need your server to have a display available (X11 server, or xvfb) otherwise no GUI application will be able to run as your server won't know where to display it.

If you have one installed/running, maybe it's only a matter of setting the environment variable DISPLAY to the right x11 display.

There is also the selenium plugin on jenkins that adds the grid to jenkins and then you could configure desktop nodes.

Bill Ross

unread,
May 23, 2013, 1:28:20 PM5/23/13
to webd...@googlegroups.com
> Error: no display specified

That's your problem. If on linux, use Xvfb. In my case I launch
the RC like this (Ubuntu):

sudo xvfb-run -s"-screen 0 1200x480x8" java -Xmx1536m -jar <standalone jar> -port 4443

With that on 64-bit I can run up to 15 FF's.

Bill
Reply all
Reply to author
Forward
0 new messages