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,465,201
Community Members
 
Community Events
176
Community Groups

Please help in setting up pipeline for bitbucket

Hi 

I am currently facing another issue. I am trying to configure bitbucket pipeline to execute maven project.

I am getting this error when chrome driver is trying to start. Please find the below log.



Please see https://chromedriver.chromium.org/security-considerations  for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
org.openqa.selenium.WebDriverException: 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: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: '7251d2f4-b7b8-4700-91d8-053c93c1eccc-kbp2q', ip: '10.36.42.23', os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.101', java.version: '18.0.2.1'
Driver info: driver.version: ChromeDriver

Please find below my bitbucket-pipeline.yml configurtion file.

image: markhobson/maven-chrome

pipelines:
branches:
main:
- step:
name: Build and Test
caches:
- maven
script:
- bash configure-maven.sh
- cd VuramAutomationTestingTool
- mvn compile exec:java -Dexec.cleanupDaemonThreads=false


Also please find my driver configuration code..

ChromeOptions Options = new ChromeOptions();
Options.addArguments("no-sandbox");
Options.addArguments("--disable-gpu");
Options.addArguments("--disable-dev-shm-usage");
Options.addArguments("disable-infobars");
Options.addArguments("--disable-extensions");
Options.addArguments("--headless");
Options.addArguments(new String[] { "--start-maximized" });
DesiredCapabilities Chromecapability = new DesiredCapabilities();
Chromecapability.setCapability("goog:chromeOptions", Options);
WebDriverManager.chromedriver().setup();

//owebdriver = (WebDriver)new ChromeDriver((Capabilities)Chromecapability);
owebdriver=new ChromeDriver(Options);

//owebdriver=new RemoteWebDriver(new URL("http://127.0.0.1:4444/wd/hub"), Options);
owebdriver.manage().timeouts().implicitlyWait(10L, TimeUnit.SECONDS);
this.mainwindowhandle = owebdriver.getWindowHandle();


Please help me with this issue.

Thank you

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events