Closed Bug 1677717 Opened 5 years ago Closed 5 years ago

Perma /_mozilla/webdriver/new_session/debugger_address.py | test_debugger_address_true - assert None is not None when Gecko 85 merges to Beta on 2020-12-14

Categories

(Testing :: geckodriver, defect, P1)

Firefox 85
defect

Tracking

(firefox-esr78 unaffected, firefox82 unaffected, firefox83 unaffected, firefox84 unaffected, firefox85+ verified)

VERIFIED FIXED
85 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox82 --- unaffected
firefox83 --- unaffected
firefox84 --- unaffected
firefox85 + verified

People

(Reporter: aryx, Assigned: whimboo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

central-as-beta simulation
Failure log

[task 2020-11-17T11:51:58.533Z] 11:51:58 INFO - STDOUT: =================================== FAILURES ===================================
[task 2020-11-17T11:51:58.533Z] 11:51:58 INFO - STDOUT: __________________________ test_debugger_address_true __________________________
[task 2020-11-17T11:51:58.533Z] 11:51:58 INFO - STDOUT: new_session = <function new_session at 0x7f646b066cd0>
[task 2020-11-17T11:51:58.533Z] 11:51:58 INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 39236}
[task 2020-11-17T11:51:58.534Z] 11:51:58 INFO - STDOUT: def test_debugger_address_true(new_session, configuration):
[task 2020-11-17T11:51:58.534Z] 11:51:58 INFO - STDOUT: capabilities = dict(configuration["capabilities"])
[task 2020-11-17T11:51:58.534Z] 11:51:58 INFO - STDOUT: capabilities["moz:debuggerAddress"] = True
[task 2020-11-17T11:51:58.534Z] 11:51:58 INFO - STDOUT:
[task 2020-11-17T11:51:58.536Z] 11:51:58 INFO - STDOUT: response, _ = new_session({"capabilities": {"alwaysMatch": capabilities}})
[task 2020-11-17T11:51:58.536Z] 11:51:58 INFO - STDOUT: result = assert_success(response)
[task 2020-11-17T11:51:58.536Z] 11:51:58 INFO - STDOUT:
[task 2020-11-17T11:51:58.536Z] 11:51:58 INFO - STDOUT: debugger_address = result["capabilities"].get("moz:debuggerAddress")
[task 2020-11-17T11:51:58.536Z] 11:51:58 INFO - STDOUT: > assert debugger_address is not None
[task 2020-11-17T11:51:58.536Z] 11:51:58 INFO - STDOUT: E assert None is not None
[task 2020-11-17T11:51:58.538Z] 11:51:58 INFO - STDOUT: _ = {'capabilities': {'acceptInsecureCerts': False, 'browserName': 'firefox', 'browserVersion': '85.0', 'moz:accessibilityChecks': False, ...}, 'sessionId': 'fdb1ea6f-bff8-40bd-896b-35164ef96d9a'}
[task 2020-11-17T11:51:58.538Z] 11:51:58 INFO - STDOUT: capabilities = {'moz:debuggerAddress': True, 'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/fir...m.test,xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}
[task 2020-11-17T11:51:58.538Z] 11:51:58 INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 39236}
[task 2020-11-17T11:51:58.539Z] 11:51:58 INFO - STDOUT: debugger_address = None
[task 2020-11-17T11:51:58.539Z] 11:51:58 INFO - STDOUT: new_session = <function new_session at 0x7f646b066cd0>
[task 2020-11-17T11:51:58.540Z] 11:51:58 INFO - STDOUT: response = <Responsetatus=200 body={"value": {"sessionId": "fdb1ea6f-bff8-40bd-896b-35164...Version": "4.4.0-1014-aws", "unhandledPromptBehavior": "dismiss and notify"}}}>
[task 2020-11-17T11:51:58.540Z] 11:51:58 INFO - STDOUT: result = {'capabilities': {'acceptInsecureCerts': False, 'browserName': 'firefox', 'browserVersion': '85.0', 'moz:accessibilityChecks': False, ...}, 'sessionId': 'fdb1ea6f-bff8-40bd-896b-35164ef96d9a'}
[task 2020-11-17T11:51:58.541Z] 11:51:58 INFO - STDOUT: tests/web-platform/mozilla/tests/webdriver/new_session/debugger_address.py
[task 2020-11-17T11:51:58.541Z] 11:51:58 INFO - STDOUT: :36: AssertionError
[task 2020-11-17T11:51:58.542Z] 11:51:58 INFO - STDOUT: ===================== 1 failed, 2 passed in 24.26 seconds ======================
[task 2020-11-17T11:51:58.544Z] 11:51:58 INFO -
[task 2020-11-17T11:51:58.544Z] 11:51:58 INFO - TEST-PASS | /_mozilla/webdriver/new_session/debugger_address.py | test_debugger_address_not_set
[task 2020-11-17T11:51:58.544Z] 11:51:58 INFO - TEST-PASS | /_mozilla/webdriver/new_session/debugger_address.py | test_debugger_address_false
[task 2020-11-17T11:51:58.544Z] 11:51:58 INFO - TEST-UNEXPECTED-FAIL | /_mozilla/webdriver/new_session/debugger_address.py | test_debugger_address_true - assert None is not None

Flags: needinfo?(hskupin)

Sorry, those tests should only run for Nightly builds given that the Remote Agent is only available there.

Assignee: nobody → hskupin
Blocks: 1669746
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(hskupin)
Priority: -- → P1
Attachment #9188322 - Attachment description: Bug 1677717 - [wdspec] Disable debuggerAddress tests on release channels. → Bug 1677717 - [wdspec] Mark enabled debuggerAddress test as expected to fail on release channels.
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1a24c7916671 [wdspec] Mark enabled debuggerAddress test as expected to fail on release channels. r=webdriver-reviewers,jgraham
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: