Closed
Bug 2013804
Opened 5 months ago
Closed 5 months ago
Manifest related failures /webdriver/tests/bidi/input/perform_actions/key.py | test_key_down_closes_browsing_context - Failed: DID NOT RAISE <class 'webdriver.bidi.error.NoSuchFrameException'>
Categories
(Remote Protocol :: WebDriver BiDi, defect, P5)
Remote Protocol
WebDriver BiDi
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 2012793
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=546565197&repo=autoland&task=c4c3LUPuTA-QxzFTjVETcA.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/c4c3LUPuTA-QxzFTjVETcA/runs/0/artifacts/public/logs/live_backing.log
[task 2026-02-01T23:11:20.309+00:00] 23:11:20 INFO - PID 2404 | 1769987480305 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - TEST-PASS | /webdriver/tests/bidi/input/perform_actions/key.py | test_invalid_browsing_context
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/input/perform_actions/key.py | test_key_down_closes_browsing_context - Failed: DID NOT RAISE <class 'webdriver.bidi.error.NoSuchFrameException'>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f80309c70b0>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - configuration = {'browser': {'args': ['--profile', '/tmp/tmp86xswf0w.mozrunner'], 'binary': None, 'env': {'MINIDUMP_SAVE_PATH': '/buil...CRASHREPORTER_SHUTDOWN': '1', 'MOZ_DISABLE_NONLOCAL_CONNECTIONS': '1', ...}}}, 'host': '127.0.0.1', 'port': 40781, ...}
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - new_tab = {'children': None, 'clientWindow': '356a97d1-ae74-4332-bc1b-19f4873089d1', 'context': 'e31375c2-e027-4c3d-aa9d-44e75031a8bf', 'originalOpener': None, ...}
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - inline = <function inline.<locals>.inline at 0x7f803043aa20>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - subscribe_events = <function subscribe_events.<locals>.subscribe_events at 0x7f803043ab60>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f803043a8e0>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - async def test_key_down_closes_browsing_context(
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - bidi_session, configuration, new_tab, inline, subscribe_events,
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - wait_for_event
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - ):
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - url = inline("""
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - <input onkeydown="window.close()">close</input>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - <script>document.querySelector("input").focus();</script>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - """)
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - # Opening a new context via `window.open` is required for script to be able
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - # to close it.
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - await subscribe_events(events=[CONTEXT_LOAD_EVENT])
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - on_load = wait_for_event(CONTEXT_LOAD_EVENT)
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - await bidi_session.script.evaluate(
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - expression=f"window.open('{url}')",
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - target=ContextTarget(new_tab["context"]),
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - await_promise=True
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - )
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - # Wait for the new context to be created and get it.
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - new_context = await on_load
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - actions = Actions()
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - (
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - actions.add_key()
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - .key_down("w")
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - .pause(100 * configuration["timeout_multiplier"])
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - .key_up("w")
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - )
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - > with pytest.raises(NoSuchFrameException):
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - E Failed: DID NOT RAISE <class 'webdriver.bidi.error.NoSuchFrameException'>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - actions = <webdriver.bidi.modules.input.Actions object at 0x7f803052df70>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f80309c70b0>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - configuration = {'browser': {'args': ['--profile', '/tmp/tmp86xswf0w.mozrunner'],
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'binary': None,
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'env': {'MINIDUMP_SAVE_PATH': '/builds/worker/workspace/build/blobber_upload_dir',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'MOZ_CRASHREPORTER': '1',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'MOZ_DISABLE_NONLOCAL_CONNECTIONS': '1',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'RUST_BACKTRACE': '1'}},
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'args': ['--profile',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - '/tmp/tmp86xswf0w.mozrunner'],
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'env': {'MINIDUMP_SAVE_PATH': '/builds/worker/workspace/build/blobber_upload_dir',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'MOZ_CRASHREPORTER': '1',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'MOZ_DISABLE_NONLOCAL_CONNECTIONS': '1',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'RUST_BACKTRACE': '1'}}},
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'host': '127.0.0.1',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'port': 40781,
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'target_platform': 'android',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'timeout_multiplier': 4,
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - inline = <function inline.<locals>.inline at 0x7f803043aa20>
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - new_context = {'context': '8935ce99-4ec8-46c1-964a-bc9c9804ee29',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'navigation': '58f646cd-5e31-49ec-aa93-86923538a69a',
[task 2026-02-01T23:11:20.329+00:00] 23:11:20 INFO - 'timestamp': 1769987475704,
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - 'url': 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%0A++++++++%3Cinput+onkeydown%3D%22window.close%28%29%22%3Eclose%3C%2Finput%3E%0A++++++++%3Cscript%3Edocument.querySelector%28%22input%22%29.focus%28%29%3B%3C%2Fscript%3E%0A++++++++&mime=text%2Fhtml&charset=UTF-8'}
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - new_tab = {'children': None,
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - 'clientWindow': '356a97d1-ae74-4332-bc1b-19f4873089d1',
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - 'context': 'e31375c2-e027-4c3d-aa9d-44e75031a8bf',
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - 'originalOpener': None,
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - 'parent': None,
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - 'url': 'about:blank',
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - 'userContext': 'default'}
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - on_load = <Future finished result={'context': '8935ce99-4ec...-bc9c9804ee29', 'navigation': '58f646cd-5e3...-86923538a69a', 'timestamp': 1769987475704, 'url': 'https://web-...charset=UTF-8'}>
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - subscribe_events = <function subscribe_events.<locals>.subscribe_events at 0x7f803043ab60>
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - url = 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%0A++++++++%3Cinput+onkeydown%3D%22window.close%28%29%22%3Eclose%3C%2Finput%3E%0A++++++++%3Cscript%3Edocument.querySelector%28%22input%22%29.focus%28%29%3B%3C%2Fscript%3E%0A++++++++&mime=text%2Fhtml&charset=UTF-8'
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f803043a8e0>
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO -
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - tests/web-platform/tests/webdriver/tests/bidi/input/perform_actions/key.py:54: Failed
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - ..........
[task 2026-02-01T23:11:20.332+00:00] 23:11:20 INFO - TEST-OK | /webdriver/tests/bidi/input/perform_actions/key.py | took 13004ms
| Comment hidden (Intermittent Failures Robot) |
Updated•5 months ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•