Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome does not start on Jenkins with Chrome 38.0.2125.104 m #30

Closed
gregwym opened this issue Oct 21, 2014 · 9 comments
Closed

Chrome does not start on Jenkins with Chrome 38.0.2125.104 m #30

gregwym opened this issue Oct 21, 2014 · 9 comments

Comments

@gregwym
Copy link

gregwym commented Oct 21, 2014

I have setup Jenkins to use karma for unit testing for long. It works fine until Chrome got updated to the latest. Like mentioned here http://stackoverflow.com/questions/26472457/jenkins-karma-chrome-not-working-after-last-auto-update-of-chrome.

Here is the debug log I captured.

c:\jenkins\workspace\UnitTest>karma start --reporters junit,html,coverage,progress --browsers Chrome --single-run --log-level debug --no-colors   || exit 0 
DEBUG [config]: Loading config c:\jenkins\workspace\UnitTest\test\ui-unit\karma.conf.js
DEBUG [config]: autoWatch set to false, because of singleRun
DEBUG [plugin]: Loading karma-* from c:\jenkins\workspace\UnitTest\node_modules
DEBUG [plugin]: Loading plugin c:\jenkins\workspace\UnitTest\node_modules/karma-chrome-launcher.
DEBUG [plugin]: Loading plugin c:\jenkins\workspace\UnitTest\node_modules/karma-coverage.
DEBUG [plugin]: Loading plugin c:\jenkins\workspace\UnitTest\node_modules/karma-firefox-launcher.
DEBUG [plugin]: Loading plugin c:\jenkins\workspace\UnitTest\node_modules/karma-html-reporter.
DEBUG [plugin]: Loading plugin c:\jenkins\workspace\UnitTest\node_modules/karma-jasmine.
DEBUG [plugin]: Loading plugin c:\jenkins\workspace\UnitTest\node_modules/karma-junit-reporter.
DEBUG [plugin]: Loading plugin c:\jenkins\workspace\UnitTest\node_modules/karma-osx-reporter.
INFO [karma]: Karma v0.12.24 server started at http://localhost:9876/
INFO [launcher]: Starting browser Chrome
DEBUG [temp-dir]: Creating temp dir at C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601
DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:9876/?id=28077601
WARN [launcher]: Chrome have not captured in 60000 ms, killing.
DEBUG [launcher]: Process Chrome exited with code 0
DEBUG [temp-dir]: Cleaning temp dir C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601
INFO [launcher]: Trying to start Chrome again (1/2).
DEBUG [launcher]: Restarting Chrome
DEBUG [temp-dir]: Creating temp dir at C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601
DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:9876/?id=28077601
WARN [launcher]: Chrome have not captured in 60000 ms, killing.
DEBUG [launcher]: Process Chrome exited with code 0
DEBUG [temp-dir]: Cleaning temp dir C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601
INFO [launcher]: Trying to start Chrome again (2/2).
DEBUG [launcher]: Restarting Chrome
DEBUG [temp-dir]: Creating temp dir at C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601
DEBUG [launcher]: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --user-data-dir=C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601 --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate http://localhost:9876/?id=28077601
WARN [launcher]: Chrome have not captured in 60000 ms, killing.
DEBUG [launcher]: Process Chrome exited with code 0
DEBUG [temp-dir]: Cleaning temp dir C:\Users\ADMINI~1\AppData\Local\Temp\karma-28077601
ERROR [launcher]: Chrome failed 2 times (timeout). Giving up.
DEBUG [karma]: Run complete, exiting.
DEBUG [launcher]: Disconnecting all browsers
@jonira
Copy link

jonira commented Oct 22, 2014

+1

@maksimr
Copy link

maksimr commented Oct 22, 2014

Related issue karma-runner/karma#1206

@blackjid
Copy link

I just get an update to 38.0.2125.111 and it works fine

@gregwym
Copy link
Author

gregwym commented Oct 28, 2014

@blackjid good to know. Will give a try tmr.

@tdekoning
Copy link

The issue is resolved in Chrome 41.X (Currently Chrome Canary is on that version).

@dignifiedquire
Copy link
Member

Closing as this seems to be resolved with later versions.

@eriktim
Copy link

eriktim commented Jun 23, 2016

The error seems to have returned with version 51.0.2704.103 m:

23 06 2016 10:18:58.524:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
23 06 2016 10:18:58.633:INFO [launcher]: Starting browser Chrome
23 06 2016 10:19:58.637:WARN [launcher]: Chrome have not captured in 60000 ms, killing.
23 06 2016 10:19:58.699:INFO [launcher]: Trying to start Chrome again (1/2).
23 06 2016 10:20:58.713:WARN [launcher]: Chrome have not captured in 60000 ms, killing.
23 06 2016 10:20:58.837:INFO [launcher]: Trying to start Chrome again (2/2).
23 06 2016 10:21:58.816:WARN [launcher]: Chrome have not captured in 60000 ms, killing.
23 06 2016 10:21:58.867:ERROR [launcher]: Chrome failed 2 times (timeout). Giving up.

@EniOnGit
Copy link

same with version 51.0.2704.106 m

@loma
Copy link

loma commented Aug 12, 2016

same with Version 52.0.2743.116 m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants