Open Bug 1947927 Opened 12 days ago Updated 13 hours ago

Intermittent /webdriver/tests/bidi/browsing_context/navigate/navigate.py | single tracking bug

Categories

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

defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Depends on 2 open bugs)

Details

(Keywords: intermittent-failure, leave-open, test-disabled)

Attachments

(1 file)

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


[task 2025-02-13T00:46:37.498Z] 00:46:37     INFO - TEST-FAIL | /webdriver/tests/bidi/browsing_context/navigate/navigate.py | test_same_document_navigation_in_before_unload - AssertionError
[task 2025-02-13T00:46:37.498Z] 00:46:37     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x1031b3e90>
[task 2025-02-13T00:46:37.498Z] 00:46:37     INFO - new_tab = {'context': '78346d42-23bb-458a-a7d2-c63dcd092aa3'}
[task 2025-02-13T00:46:37.498Z] 00:46:37     INFO - url = <function url.<locals>.url at 0x1031b53a0>
[task 2025-02-13T00:46:37.498Z] 00:46:37     INFO - 
[task 2025-02-13T00:46:37.498Z] 00:46:37     INFO -     async def test_same_document_navigation_in_before_unload(bidi_session, new_tab, url):
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -         url_before = url(
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -             "/webdriver/tests/bidi/browsing_context/support/empty.html"
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -         )
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -     
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -         await navigate_and_assert(bidi_session, new_tab, url_before, "complete")
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -     
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -         await bidi_session.script.evaluate(
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -             expression="""window.addEventListener(
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -               'beforeunload',
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -               () => history.replaceState(null, 'initial', window.location.href),
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -               false
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -             );""",
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -             target=ContextTarget(new_tab["context"]),
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -             await_promise=False)
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -     
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -         url_after = url_before.replace("empty.html", "other.html")
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - >       await navigate_and_assert(bidi_session, new_tab, url_after, "complete")
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - 
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x1031b3e90>
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - new_tab    = {'context': '78346d42-23bb-458a-a7d2-c63dcd092aa3'}
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - url        = <function url.<locals>.url at 0x1031b53a0>
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - url_after  = 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/other.html'
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - url_before = 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html'
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - 
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - tests/web-platform/tests/webdriver/tests/bidi/browsing_context/navigate/navigate.py:110: 
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - 
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x1031b3e90>
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - context = {'context': '78346d42-23bb-458a-a7d2-c63dcd092aa3'}
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - url = 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/other.html'
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - wait = 'complete', expected_error = False
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO - 
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -     async def navigate_and_assert(bidi_session, context, url, wait="complete", expected_error=False):
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -         if expected_error:
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -             with pytest.raises(UnknownErrorException):
[task 2025-02-13T00:46:37.499Z] 00:46:37     INFO -                 await bidi_session.browsing_context.navigate(
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -                     context=context['context'], url=url, wait=wait
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -                 )
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -     
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -         else:
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -             result = await bidi_session.browsing_context.navigate(
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -                 context=context['context'], url=url, wait=wait
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -             )
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - >           assert result["url"] == url
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - E           AssertionError
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - 
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x1031b3e90>
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - context    = {'context': '78346d42-23bb-458a-a7d2-c63dcd092aa3'}
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - expected_error = False
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - result     = {'navigation': '8f4f12de-4854-4066-8da9-ea2cafc07318',
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO -  'url': 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html'}
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - url        = 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/other.html'
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - wait       = 'complete'
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - 
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - tests/web-platform/tests/webdriver/tests/bidi/browsing_context/navigate/__init__.py:19: AssertionError
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - TEST-UNEXPECTED-PASS | /webdriver/tests/bidi/browsing_context/navigate/navigate.py | test_navigate_with_beforeunload_prompt[capabilities0-True-none] - expected FAIL
[task 2025-02-13T00:46:37.500Z] 00:46:37     INFO - TEST-INFO | expected FAIL
[task 2025-02-13T00:46:37.667Z] 00:46:37     INFO - .................
[task 2025-02-13T00:46:37.667Z] 00:46:37     INFO - TEST-OK | /webdriver/tests/bidi/browsing_context/navigate/navigate.py | took 29032ms
Summary: Intermittent [tier 2] /webdriver/tests/bidi/browsing_context/navigate/navigate.py | single tracking bug → Intermittent /webdriver/tests/bidi/browsing_context/navigate/navigate.py | single tracking bug
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Depends on: 1948700
Assignee: hskupin → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: