dart-lang / dart-lang/webdev

All tests using `package:webdriver` are failing

Open
#2,114 1 comment 0 reactions 0 assignees View on GitHub
P3 package:dwds triaged
Dominant language
Dart
Stars
224
Forks
94
Avg merge
4d 3h
Merged PRs (30d)
2

Description

All of our tests that rely on `webdriver` are currently failing with the following error:

```
WebDriverException (100): chrome not reachable
(Driver info: chromedriver=113.0.5672.63 (0e1a4471d5ae5bf128b1bd8f4d627c8cbd55f70c-refs/branch-heads/5672@{#912}),platform=Linux 5.15.0-1037-azure x86_64)
package:webdriver/src/handler/json_wire/utils.dart 86:9 parseJsonWireResponse
package:webdriver/src/handler/json_wire/session.dart 27:21 JsonWireSessionHandler.parseInfoResponse
package:webdriver/src/handler/json_wire/session.dart 18:7 JsonWireSessionHandler.parseCreateResponse
package:webdriver/src/common/request_client.dart 96:32 AsyncRequestClient.send
===== asynchronous gap ===========================
package:webdriver/async_core.dart 62:19 createDriver
===== asynchronous gap ===========================
test/fixtures/context.dart 362:22 TestContext.setUp
===== asynchronous gap ===========================
test/debug_extension_test.dart 228:7 main..
WebDriverException (100): chrome not reachable
(Driver info: chromedriver=113.0.5672.63 (0e1a4471d5ae5bf128b1bd8f4d627c8cbd55f70c-refs/branch-heads/5672@{#912}),platform=Linux 5.15.0-1037-azure x86_64)
package:webdriver/src/handler/json_wire/utils.dart 86:9 parseJsonWireResponse
package:webdriver/src/handler/json_wire/session.dart 27:21 JsonWireSessionHandler.parseInfoResponse
package:webdriver/src/handler/json_wire/session.dart 18:7 JsonWireSessionHandler.parseCreateResponse
package:webdriver/src/common/request_client.dart 96:32 AsyncRequestClient.send
===== asynchronous gap ===========================
package:webdriver/async_core.dart 62:19 createDriver
===== asynchronous gap ===========================
test/fixtures/context.dart 362:22 TestContext.setUp
===== asynchronous gap ===========================
test/debug_extension_test.dart 228:7 main..
WebDriverException (100): chrome not reachable
(Driver info: chromedriver=113.0.5672.63 (0e1a4471d5ae5bf128b1bd8f4d627c8cbd55f70c-refs/branch-heads/5672@{#912}),platform=Linux 5.15.0-1037-azure x86_64)
package:webdriver/src/handler/json_wire/utils.dart 86:9 parseJsonWireResponse
package:webdriver/src/handler/json_wire/session.dart 27:21 JsonWireSessionHandler.parseInfoResponse
package:webdriver/src/handler/json_wire/session.dart 18:7 JsonWireSessionHandler.parseCreateResponse
package:webdriver/src/common/request_client.dart 96:32 AsyncRequestClient.send
===== asynchronous gap ===========================
package:webdriver/async_core.dart 62:19 createDriver
===== asynchronous gap ===========================
test/fixtures/context.dart 362:22 TestContext.setUp
===== asynchronous gap ===========================
test/debug_extension_test.dart 228:7 main..
WebDriverException (100): chrome not reachable
(Driver info: chromedriver=113.0.5672.63 (0e1a4471d5ae5bf128b1bd8f4d627c8cbd55f70c-refs/branch-heads/5672@{#912}),platform=Linux 5.15.0-1037-azure x86_64)
package:webdriver/src/handler/json_wire/utils.dart 86:9 parseJsonWireResponse
package:webdriver/src/handler/json_wire/session.dart 27:21 JsonWireSessionHandler.parseInfoResponse
package:webdriver/src/handler/json_wire/session.dart 18:7 JsonWireSessionHandler.parseCreateResponse
package:webdriver/src/common/request_client.dart 96:32 AsyncRequestClient.send
===== asynchronous gap ===========================
package:webdriver/async_core.dart 62:19 createDriver
===== asynchronous gap ===========================
test/fixtures/context.dart 362:22 TestContext.setUp
===== asynchronous gap ===========================
test/debug_extension_test.dart 228:7 main..
```

Unfortunately I'm unable to reproduce locally, so maybe it's only affecting Linux not Mac OS. Since nothing has changed on our end, I'm guessing this is due to a Chrome update or Chromedriver update.

Contributor guide

Open the contributing guide

Research direction

Start with the WebDriver setup at test/fixtures/context.dart:362 and the failing test entry point at test/debug_extension_test.dart:228. Reproduce the failure on Linux with the reported ChromeDriver version and inspect the package:webdriver session-creation error; done means the WebDriver-dependent tests complete successfully in the affected environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.