Closed Bug 1762164 Opened 2 years ago Closed 10 months ago

Intermittent Android mozilla/tests/webdriver/bidi/websocket_upgrade.py | <test-name> - KeyError: 'binary'

Categories

(Remote Protocol :: WebDriver BiDi, defect, P5)

All
Android
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1762135

People

(Reporter: whimboo, Unassigned)

Details

(Keywords: intermittent-failure, test-disabled)

With the upcoming support for wdspec tests on Android the following test fails because it's wrongly assume that the browser configuration always has a binary property, but it's actually a packageName:

https://treeherder.mozilla.org/logviewer?job_id=372793054&repo=try&lineNumber=94730

[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO -         # Prepare Firefox runner
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - >       binary = firefox_options["binary"]
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - E       KeyError: 'binary'
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - 
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - extra_prefs = {'remote.origins.allowed': 'http://localhost:1234'}
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - firefox_options = {'androidDeviceSerial': 'emulator-5554',
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO -  'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO -  'args': ['--profile', '/tmp/tmpp9pq7248.mozrunner'],
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO -  'env': {'MOZ_CRASHREPORTER': '1',
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO -          'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO -          'RUST_BACKTRACE': '1',
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO -          'STYLO_THREADS': '1'}}
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - profile_arg = '--profile'
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - profile_folder = '/tmp/tmpp9pq7248.mozrunner'
[task 2022-03-30T08:48:36.539Z] 08:48:36     INFO - self       = <bidi.conftest.Browser object at 0x7f9ce82fc160>

I'm going to disable this test for now via bug 1749444.

This actually applies to all the tests in that specific file.

Summary: Intermittent Android mozilla/tests/webdriver/bidi/websocket_upgrade.py | test_allowed_origins[https://localhost:1234-400] - KeyError: 'binary' → Intermittent Android mozilla/tests/webdriver/bidi/websocket_upgrade.py | <test-name> - KeyError: 'binary'
Blocks: 1743116
Component: geckodriver → WebDriver BiDi
Product: Testing → Remote Protocol
Version: Default → unspecified
No longer blocks: 1729409, 1743116
Status: NEW → RESOLVED
Closed: 10 months ago
Duplicate of bug: 1762135
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.