Closed Bug 1798409 Opened 2 years ago Closed 2 years ago

Intermittent /webdriver/tests/bidi/script/get_realms/get_realms.py | test_multiple_top_level_contexts[tab] - webdriver.bidi.error.UnknownErrorException: unknown error (AbortError: Actor 'MessageHandlerFrame' destroyed before query 'MessageHandlerFramePare

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1767226

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=395013561&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aSvZ1-xFTmujS1CdJnBwTg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-10-31T20:03:00.268Z] 20:03:00     INFO - TEST-PASS | /webdriver/tests/bidi/script/get_realms/get_realms.py | test_realm_is_different_after_reload 
[task 2022-10-31T20:03:00.268Z] 20:03:00     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/script/get_realms/get_realms.py | test_multiple_top_level_contexts[tab] - webdriver.bidi.error.UnknownErrorException: unknown error (AbortError: Actor 'MessageHandlerFrame' destroyed before query 'MessageHandlerFrameParent:sendCommand' was resolved)
[task 2022-10-31T20:03:00.268Z] 20:03:00     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f7d9640d358>
[task 2022-10-31T20:03:00.268Z] 20:03:00     INFO - top_context = {'children': [], 'context': '2efa7b0d-9a96-444b-bd68-db18ec1feddf', 'parent': None, 'url': 'about:blank'}
[task 2022-10-31T20:03:00.268Z] 20:03:00     INFO - type_hint = 'tab'
[task 2022-10-31T20:03:00.268Z] 20:03:00     INFO - 
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -     @pytest.mark.asyncio
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -     @pytest.mark.parametrize("type_hint", ["tab", "window"])
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -     async def test_multiple_top_level_contexts(bidi_session, top_context, type_hint):
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -         new_context = await bidi_session.browsing_context.create(type_hint=type_hint)
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -         result = await bidi_session.script.get_realms()
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -     
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -         # Evaluate to get realm ids
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -         top_context_result = await bidi_session.script.evaluate(
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -             raw_result=True,
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -             expression="1 + 2",
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -             target=ContextTarget(top_context["context"]),
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -             await_promise=False,
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -         )
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -         new_context_result = await bidi_session.script.evaluate(
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -             raw_result=True,
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -             expression="1 + 2",
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -             target=ContextTarget(new_context["context"]),
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO - >           await_promise=False,
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO -         )
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO - 
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f7d9640d358>
[task 2022-10-31T20:03:00.269Z] 20:03:00     INFO - new_context = {'context': '5c10799b-4b41-4484-bc17-27e4bf00cbd0'}
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO - result     = [{'context': '2efa7b0d-9a96-444b-bd68-db18ec1feddf',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'origin': 'null',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'realm': 'd9ebfe23-4584-460f-976e-e58cd22a087b',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'sandbox': None,
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'type': 'window'},
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -  {'context': '5c10799b-4b41-4484-bc17-27e4bf00cbd0',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'origin': 'null',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'realm': '4cce013f-0509-488d-a2f7-64a1c0447779',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'sandbox': None,
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -   'type': 'window'}]
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO - top_context = {'children': [],
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -  'context': '2efa7b0d-9a96-444b-bd68-db18ec1feddf',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -  'parent': None,
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -  'url': 'about:blank'}
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO - top_context_result = {'realm': 'd9ebfe23-4584-460f-976e-e58cd22a087b',
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO -  'result': {'type': 'number', 'value': 3}}
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO - type_hint  = 'tab'
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO - 
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO - tests/web-platform/tests/webdriver/tests/bidi/script/get_realms/get_realms.py:67: 
[task 2022-10-31T20:03:00.271Z] 20:03:00     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1767226
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.