Unable to open Chrome browser thru Selenium in Bamboo server

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

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,064 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot