Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Chrome not started: /opt/atlassian/pipelines/agent/build/chromedriver.exe:cannot execute binary file

Abhinandan_Sapkal April 6, 2020

Project Details:  Selenium+Java+TestNG+Maven

Project contains one test method:

  • testLaunchBrowserAndOpenURL()

Bitbucket-pipelines.yml:

image: maven:3.6.3
pipelines:
custom:
selenium-test:
- step:
script:
- mvn compile
- mvn test

 Issue(s):

While executing test script locally in eclipse, it runs successfully, Chrome browser gets open and then it opens specified URL also.

But while executing same on bitbucket pipeline, it fails with below error(s):

/opt/atlassian/pipelines/agent/build/chromedriver.exe: /opt/atlassian/pipelines/agent/build/chromedriver.exe: cannot execute binary 
file
Apr 06, 2020 11:39:17 AM org.openqa.selenium.os.OsProcess checkForError
SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: 126 (Exit value: 126)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 20.619 sec <<< FAILURE! - in TestSuite
launchBrowserAndOpenURL(packageCustomer.Customer) Time elapsed: 20.293 sec <<< FAILURE!
org.openqa.selenium.WebDriverException: Timed out waiting for driver server to start.:
  

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events