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,298,376
Community Members
 
Community Events
165
Community Groups

Chrome driver Error while running selenium test through Bamboo

I am getting the ExceptioninInitializerError as cannot find Chrome Binary error while trying to run the selenium test through Bamboo job. below is the snippet from the log file

 

error	17-May-2022 09:58:33	SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
error	17-May-2022 09:58:33	SLF4J: Defaulting to no-operation (NOP) logger implementation
error	17-May-2022 09:58:33	SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
error	17-May-2022 09:58:34	Starting ChromeDriver 101.0.4951.41 (93c720db8323b3ec10d056025ab95c23a31997c9-refs/branch-heads/4951@{#904}) on port 8798
error	17-May-2022 09:58:34	Only local connections are allowed.
error	17-May-2022 09:58:34	Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
error	17-May-2022 09:58:34	ChromeDriver was started successfully.
build	17-May-2022 09:58:35	[INFO] ------------------------------------------------------------------------
build	17-May-2022 09:58:35	[INFO] BUILD FAILURE
build	17-May-2022 09:58:35	[INFO] ------------------------------------------------------------------------
build	17-May-2022 09:58:35	[INFO] Total time: 7.782 s
build	17-May-2022 09:58:35	[INFO] Finished at: 2022-05-17T09:58:35+00:00
build	17-May-2022 09:58:35	[INFO] Final Memory: 40M/520M
build	17-May-2022 09:58:35	[INFO] ------------------------------------------------------------------------
build	17-May-2022 09:58:35	[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default) on project Uber: An exception occured while executing the Java class. null: InvocationTargetException: ExceptionInInitializerError: unknown error: cannot find Chrome binary
build	17-May-2022 09:58:35	[ERROR] Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
build	17-May-2022 09:58:35	[ERROR] System info: host: 'usw2a-bamboo-prod-node01', ip: '172.31.201.158', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.0-18-amd64', java.version: '1.8.0_332'
build	17-May-2022 09:58:35	[ERROR] Driver info: driver.version: Driver

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

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...

960 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you