在Chrome最新版本自动更新后,Jenkins业力无法在linux奴隶机器中启动Chrome浏览器。
2017年10月17日工作正常。即以61.0.3163.100-1版本运行。
版本更新到62.0.3202.62-1后,chrome没有启动。
WARN [karma]: Port 9876 in use
INFO [karma]: Karma v0.13.22 server started at http://localhost:9877/
INFO [launcher]: Starting browser Chrome
ERROR [launcher]: Cannot start Chrome
INFO [launcher]: Trying to start Chrome again (1/2).
ERROR [launcher]: Cannot start Chrome
INFO [launcher]: Trying to start Chrome again (2/2).
ERROR [launcher]: Cannot start Chrome
ERROR [launcher]: Chrome failed 2 times (cannot start). Giving up.
Karma has exited with 1
参考: https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable