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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,462,886
Community Members
 
Community Events
176
Community Groups

Pipeline chrome DriverConfigurationError

We are trying to execute Serenity tests using Bitbucket pipeline by installing chrome and not able to run chromedriver.

Build log shows following -

-------------------------

It is using  google-chrome-stable - 100.0.4896.127-1 and chromedriver 100.0.4896.60 (resolved driver for Chrome 100)

-------------------------

Caused by: net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: '4.1.1', revision: 'e8fcc2cecf'
System info: host: 'a7c30361-578e-4621-ab4b-4e72c9da7548-vlf95', ip: '10.39.188.89', os.name: 'Linux', os.arch: 'amd64', os.version: '5.13.0-1017-aws', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: false, browserName: chrome, goog:chromeOptions: {args: [--start-maximized, --test-type, --no-sandbox, --ignore-certificate-errors, \n --disa..., --disable-default-apps, --disable-extensions-file-a..., \n --inco..., --disable-infobars,--disabl...], extensions: []}}]

-------------------------

 

Following is script from bitbucket-pipelines.yml -

-----------------------------------

image: maven:3.6.3
image: atlassian/default-image:2

pipelines:
default:
- parallel:
- step:
name: Build and Test
services:
- docker
caches:
- maven
script:
- apt-get update && apt install wget unzip xvfb
- apt-get install -y libasound2 libnspr4 libnss3 libxss1 xdg-utils unzip libappindicator1 fonts-liberation
- apt-get -f install
- wget http://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- dpkg -i google-chrome*.deb
- mvn clean verify -Dmaven.wagon.http.pool=false

----------------------------------

lease help me resolve this issue.

1 answer

0 votes

Hi were you able to resolve this issue? I am getting the exact same

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events