The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Team,
When i was trying to run Selenium Test through bamboo i have noticed following exception but i could able to run this from local VM.
build 02-Nov-2017 05:23:46 2017-11-02 05:23:46,574 DEBUG [main] c.c.p.u.PulsarWebDriverSession [PulsarWebDriverSession.java:35] ...getWebDriverSession() build 02-Nov-2017 05:23:46 2017-11-02 05:23:46,574 DEBUG [main] c.c.p.u.PulsarWebDriverSession [PulsarWebDriverSession.java:49] webDriver() build 02-Nov-2017 05:23:47 2017-11-02 05:23:47,279 INFO [main] i.g.b.w.BrowserManager [BrowserManager.java:563] Reading https://chromedriver.storage.googleapis.com/ to seek [chromedriver] build 02-Nov-2017 05:23:47 2017-11-02 05:23:47,612 INFO [main] i.g.b.w.BrowserManager [BrowserManager.java:498] Latest version of [chromedriver] is 2.33 build 02-Nov-2017 05:23:47 2017-11-02 05:23:47,637 DEBUG [main] i.g.b.w.Downloader [Downloader.java:100] Using binary driver previously downloaded /root/.m2/repository/webdriver/chromedriver/linux64/2.33/chromedriver build 02-Nov-2017 05:23:47 2017-11-02 05:23:47,638 INFO [main] i.g.b.w.BrowserManager [BrowserManager.java:626] Exporting webdriver.chrome.driver as /root/.m2/repository/webdriver/chromedriver/linux64/2.33/chromedriver error 02-Nov-2017 05:23:48 Starting ChromeDriver 2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4) on port 2635 error 02-Nov-2017 05:23:48 Only local connections are allowed. error 02-Nov-2017 05:24:48 org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally error 02-Nov-2017 05:24:48 (Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 3.13.0-121-generic x86_64) (WARNING: The server did not provide any stacktrace information) error 02-Nov-2017 05:24:48 Command duration or timeout: 60.39 seconds error 02-Nov-2017 05:24:48 Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' error 02-Nov-2017 05:24:48 System info: host: 'ip-172-31-19-123', ip: '172.31.19.123', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-121-generic', java.version: '1.8.0_141' error 02-Nov-2017 05:24:48 Driver info: org.openqa.selenium.chrome.ChromeDriver error 02-Nov-2017 05:24:48 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) error 02-Nov-2017 05:24:48 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) error 02-Nov-2017 05:24:48 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) error 02-Nov-2017 05:24:48 at java.lang.reflect.Constructor.newInstance(Constructor.java:423) error 02-Nov-2017 05:24:48 at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) error 02-Nov-2017 05:24:48 at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) error 02-Nov-2017 05:24:48 at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) error 02-Nov-2017 05:24:48 at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249) error 02-Nov-2017 05:24:48 at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) error 02-Nov-2017 05:24:48 at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144) error 02-Nov-2017 05:24:48 at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:170) error 02-Nov-2017 05:24:48 at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:138) error 02-Nov-2017 05:24:48 at com.cavirin.pulsar.utils.PulsarWebDriverSession.webDriver(PulsarWebDriverSession.java:77) error 02-Nov-2017 05:24:48 at com.cavirin.pulsar.tests.BaseTest.setUp(BaseTest.java:46) error 02-Nov-2017 05:24:48 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) error 02-Nov-2017 05:24:48 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) error 02-Nov-2017 05:24:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) error 02-Nov-2017 05:24:48 at java.lang.reflect.Method.invoke(Method.java:498) error 02-Nov-2017 05:24:48
Can you please help me how to set up headless browser and how to run selenium tests through bamboo
Hey Sateesh, did you find any solution for this. I am kind of stuck too with the same error.
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.