Error launching Edge on Windows 10 in CI environment (karma, jenkins)
Closed this issue · 6 comments
Scenario:
- Windows 10 running as jenkins build node. Node is connected via Jenkins Java applet, not running as a service.
- karma run is started with with --singleRun=true --browsers=Edge,ChromeHeadless,Firefox
=> all things run fine except with Edge
detailed example output:
18 01 2018 10:37:40.961:INFO [launcher]: Starting browser Edge
18 01 2018 10:38:03.043:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
FEHLER: Der Prozess "MicrosoftEdge.exe" wurde nicht gefunden. (translates as: ERROR: The process "MicrosoftEdge.exe" was not found)
18 01 2018 10:38:03.043:ERROR [launcher]: Cannot start Edge
18 01 2018 10:38:03.043:ERROR [launcher]: Edge stdout:
Couldn't find Edge URL with URL: 00891F48
Found
18 01 2018 10:38:03.043:ERROR [launcher]: Edge stderr:
18 01 2018 10:38:03.044:INFO [launcher]: Trying to start Edge again (1/2).
18 01 2018 10:38:24.359:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
FEHLER: Der Prozess "MicrosoftEdge.exe" wurde nicht gefunden.
18 01 2018 10:38:24.359:ERROR [launcher]: Cannot start Edge
18 01 2018 10:38:24.359:ERROR [launcher]: Edge stdout:
Couldn't find Edge URL with URL: 00D42178
Found
18 01 2018 10:38:24.359:ERROR [launcher]: Edge stderr:
18 01 2018 10:38:24.360:INFO [launcher]: Trying to start Edge again (2/2).
18 01 2018 10:38:45.691:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
FEHLER: Der Prozess "MicrosoftEdge.exe" wurde nicht gefunden.
18 01 2018 10:38:45.691:ERROR [launcher]: Cannot start Edge
18 01 2018 10:38:45.691:ERROR [launcher]: Edge stdout:
Couldn't find Edge URL with URL: 00BF2530
Found
18 01 2018 10:38:45.691:ERROR [launcher]: Edge stderr:
18 01 2018 10:38:45.692:ERROR [launcher]: Edge failed 2 times (cannot start). Giving up.
Issue nickserv/karma-edge-launcher#34 seems related to this.
Detail environment:
- Windows 10.0.15063
- Edge 40.15063.674.0
- karma-edge-launcher 0.4.2
- node v8.1.4
Good to hear. 😄 I don't use Jenkins so I don't think I could write something good on my own, but do you think it would be helpful to have Jenkin's specific setup tips in the readme to warn users of this issue?
a hint in the README couldn't hurt, me thinks. want me to do a PR?
Sure, that would be great.
@nickmccurdy hi,
This seems to happen in AppVeyor too:
Windows 8.1.0.0
karma-edge-launcher: 0.4.2
00:03:19] 06 03 2018 14:20:56.798:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
[00:03:19] ERROR: The process "MicrosoftEdge.exe" not found.
[00:03:19]
[00:03:19] 06 03 2018 14:20:56.798:ERROR [launcher]: Cannot start Edge
[00:03:19]
[00:03:19] 06 03 2018 14:20:56.798:ERROR [launcher]: Edge stdout:
[00:03:19] Couldn't find Edge URL with URL: 00A3DEB0
[00:03:19] Found
[00:03:19] 06 03 2018 14:20:56.798:ERROR [launcher]: Edge stderr:
[00:03:19] 06 03 2018 14:20:56.798:INFO [launcher]: Trying to start Edge again (1/2).
[00:03:25] 06 03 2018 14:21:02.665:WARN [Firefox 57.0.0 (Windows 8.1.0.0)]: Disconnected (1 times), because no message in 10000 ms.
[00:03:25] Firefox 57.0.0 (Windows 8.1.0.0) ERROR
[00:03:25] Disconnected, because no message in 10000 ms.
[00:03:41] 06 03 2018 14:21:18.416:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
[00:03:41] ERROR: The process "MicrosoftEdge.exe" not found.
[00:03:41]
[00:03:41] 06 03 2018 14:21:18.416:ERROR [launcher]: Cannot start Edge
[00:03:41]
[00:03:41] 06 03 2018 14:21:18.416:ERROR [launcher]: Edge stdout:
[00:03:41] Couldn't find Edge URL with URL: 004B5FC8
[00:03:41] Found
[00:03:41] 06 03 2018 14:21:18.416:ERROR [launcher]: Edge stderr:
[00:03:41] 06 03 2018 14:21:18.416:INFO [launcher]: Trying to start Edge again (2/2).
[00:04:02] 06 03 2018 14:21:39.727:ERROR [launcher]: Killing Edge process failed. Error: Command failed: taskkill /t /f /im MicrosoftEdge.exe
[00:04:02] ERROR: The process "MicrosoftEdge.exe" not found.
[00:04:02]
[00:04:02] 06 03 2018 14:21:39.727:ERROR [launcher]: Cannot start Edge
[00:04:02]
[00:04:02] 06 03 2018 14:21:39.727:ERROR [launcher]: Edge stdout:
[00:04:02] Couldn't find Edge URL with URL: 00B063F0
[00:04:02] Found
[00:04:02] 06 03 2018 14:21:39.727:ERROR [launcher]: Edge stderr:
[00:04:02] 06 03 2018 14:21:39.727:ERROR [launcher]: Edge failed 2 times (cannot start). Giving up.
have any idea how to solve?
Unfortunately AppVeyor doesn't support Edge, it uses Windows Server 2016 which doesn't support UWP apps like Edge because it's a long term support release and isn't intended to be compatible with Windows 10. See nickserv/karma-edge-launcher#34.