You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Hi were you able to resolve this issue? I am getting the exact same
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.