karma-runner / karma-chrome-launcher

A Karma plugin. Launcher for Chrome and Chrome Canary.
MIT License
467 stars 120 forks source link

Chrome 62 couldn't launch in ubuntu #156

Open ajithr opened 6 years ago

ajithr commented 6 years ago

The latest update of chrome couldn't launch in linux machines.

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

ubuntu - 16.10

tariqbuilds commented 6 years ago

Our team is seeing this issue as well. Chrome 62.0.3202.62 (stable branch) is failing all builds in aws codebuild (linux container).

The karma output says Cannot start Chrome twice, like @ajithr pasted above.

Is there any workaround / fix / root cause for this?

boboldehampsink commented 6 years ago

Maybe this has something to do with #158

tariqbuilds commented 6 years ago

That worked for us. Using the solution/workaround @boboldehampsink posted in #158 worked for us.

Thank you!