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

Edge Detection Fails on Windows Server #35

Open
kspearrin opened this issue May 7, 2018 · 1 comment
Open

Edge Detection Fails on Windows Server #35

kspearrin opened this issue May 7, 2018 · 1 comment
Assignees

Comments

@kspearrin
Copy link

kspearrin commented May 7, 2018

Our CI system runs on Windows Server, which does not have Edge installed. It seems that karma-detect-browsers still thinks Edge is available and then fails when trying to execute Edge.

See our CI build output from the failure here: https://ci.appveyor.com/project/bitwarden/jslib/build/55

> karma start ./spec/support/karma.conf.js --single-run
07 05 2018 08:45:36.723:INFO [framework.detect-browsers]: The following browsers will be used: [ 'Chrome', 'Edge', 'Firefox' ]
07 05 2018 08:45:37.305:INFO [compiler.karma-typescript]: Compiling project using Typescript 2.7.1
07 05 2018 08:45:43.213:INFO [compiler.karma-typescript]: Compiled 191 files in 5855 ms.
07 05 2018 08:45:45.384:INFO [bundler.karma-typescript]: Bundled imports for 142 file(s) in 1669 ms.
07 05 2018 08:45:47.176:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
07 05 2018 08:45:47.177:INFO [launcher]: Launching browsers Chrome, Edge, Firefox with unlimited concurrency
07 05 2018 08:45:47.182:INFO [launcher]: Starting browser Chrome
07 05 2018 08:45:47.205:INFO [launcher]: Starting browser Edge
07 05 2018 08:45:47.228:INFO [launcher]: Starting browser Firefox
07 05 2018 08:45:52.238:INFO [Chrome 65.0.3325 (Windows 10.0.0)]: Connected on socket o9PBpnRej4e56GKRAAAA with id 35124980
Chrome 65.0.3325 (Windows 10.0.0): Executed 45 of 45 SUCCESS (0.305 secs / 0 secs)
Chrome 65.0.3325 (Windows 10.0.0): Executed 45 of 45 SUCCESS (0.305 secs / 0 secs)
Firefox 59.0.0 (Windows 10.0.0): Executed 45 of 45 SUCCESS (3.741 secs / 0 secs)
07 05 2018 08:46:10.284:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.
07 05 2018 08:46:10.284:ERROR [launcher]: Cannot start Edge
	
07 05 2018 08:46:10.285:ERROR [launcher]: Edge stdout: 
Couldn't find Edge URL with URL: 01263580
Found
07 05 2018 08:46:10.285:ERROR [launcher]: Edge stderr: 
07 05 2018 08:46:10.285:INFO [launcher]: Trying to start Edge again (1/2).
07 05 2018 08:46:31.510:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.
07 05 2018 08:46:31.510:ERROR [launcher]: Cannot start Edge
	
07 05 2018 08:46:31.510:ERROR [launcher]: Edge stdout: 
Couldn't find Edge URL with URL: 005BB1F8
Found
07 05 2018 08:46:31.510:ERROR [launcher]: Edge stderr: 
07 05 2018 08:46:31.511:INFO [launcher]: Trying to start Edge again (2/2).
07 05 2018 08:46:52.685:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
ERROR: The process "MicrosoftEdge.exe" not found.
07 05 2018 08:46:52.685:ERROR [launcher]: Cannot start Edge
	
07 05 2018 08:46:52.685:ERROR [launcher]: Edge stdout: 
Couldn't find Edge URL with URL: 0120B230
Found
07 05 2018 08:46:52.685:ERROR [launcher]: Edge stderr: 
07 05 2018 08:46:52.686:ERROR [launcher]: Edge failed 2 times (cannot start). Giving up.
TOTAL: 90 SUCCESS
TOTAL: 90 SUCCESS
@4kochi
Copy link
Collaborator

4kochi commented May 9, 2018

The problem is that Edge is an UWP and that is not supported by Windows Server 2016. See karma-runner/karma-edge-launcher#1

I will check if we can add an os detection to prevent this problem.

@4kochi 4kochi self-assigned this May 9, 2018
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

2 participants