I can run every test locally just fine
if I run my test on jenkins, on a docker file, I get this error
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '3.14.0', revision: 'aacccce0', time: '2018-08-02T20:19:58.91Z'
System info: host: 'ip-172-31-10-102.eu-central-1.compute.internal', ip: '172.31.10.102', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-693.21.1.el7.x86_64', java.version: '1.8.0_221'
Driver info: driver.version: RemoteWebDriver
(...)
Caused by: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:4444
This is my maven run config for docker
-B -f /data/workspace/workspace/testing/web-full-suite/pom.xml -B -ntp clean verify -fae -P genericSuite -Denv=zalenium -DcucumberTag=full -DtestEnv=staging -Dthreads=2 -DaccessKey=xyz
I am not sure why I can run locally but not on Docker.
Thanks