Unable to open Chrome browser thru Selenium in Bamboo server

Vigor April 11, 2017

We are able to open chrome browser thru GRID using CI tool Bamboo. . But same is not working when we open chrome on Bamboo server itself by using Bamboo maven plan. We are getting below error. Please note that same was working fine for last 2-3 years. but we started facing a problem when we upgraded Selenium library and Chrome and Firefox browser. Now  after reverting the libraries we are able to open FF browser again but chrome is still not working. Any help or suggestions in this regard will be highly appreciated. Please note that things are also fine when tests are executed directly on Bamboo server, problem starts cropping up when Bamboo maven plan is used to invoke the browser thru Selenium. To us it seems like some problem with Bamboo servcies communicating with browser 

 

Earlier Chrome version : 56

FF : 31

Selenium web driver : 2.48

Java : 1.7

Maven : 3.2.1

Bamboo : 5

 

We upgraded it to :

 

Earlier Chrome version : 58

FF : 47.0.1

Selenium web driver : 2.53

Java : 1.7

Maven : 3.2.1

Bamboo : 5

 

We reverted FF again to 31 and Chrome 56. Now Firefox is fine but still chrome browser is not opening. Anybody has an idea?

 

we get error:

 

build      11-Apr-2017 02:30:42     11/04/2017 02:30:42 - Keywords:createDefaultDriver():673                           -                             Driverpath: C:\Bamboo-Home\xml-data\build-dir\Q3Q4TA-Q4BVTVCCCH-JOB1\lib\drivers\chrome\chromedriver.exe

error      11-Apr-2017 02:30:43     Starting ChromeDriver 2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9) on port 24390

error      11-Apr-2017 02:30:43     Only local connections are allowed.

error      11-Apr-2017 02:31:44     org.openqa.selenium.WebDriverException: chrome not reachable

error      11-Apr-2017 02:31:44       (Driver info: chromedriver=2.27.440174 (e97a722caafc2d3a8b807ee115bfb307f7d2cfd9),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)

error      11-Apr-2017 02:31:44     Command duration or timeout: 60.47 seconds

error      11-Apr-2017 02:31:44     Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'

error      11-Apr-2017 02:31:44     System info: host: 'US1BAMB17', ip: '10.192.3.17', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'

1 answer

0 votes
PG April 13, 2017

Can you verify the path of chrome driver (chromedriver.exe).  You can set the path of chromedriver in java startup parameters

"-Dwebdriver.chrome.driver=<path>"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events