Open
Bug 1929494
Opened 13 days ago
Updated 23 hours ago
Intermittent /webdriver/tests/bidi/browser/get_client_windows/get_client_windows.py | single tracking bug
Categories
(Testing :: web-platform-tests, defect, P5)
Testing
web-platform-tests
Tracking
(Not tracked)
NEW
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: intermittent-failure)
Filed by: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=481372611&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QF9akw9_SbeNbvvOo2CFhg/runs/0/artifacts/public/logs/live_backing.log
[task 2024-11-06T07:14:24.202Z] 07:14:24 INFO - STDOUT: =================================== FAILURES ===================================
[task 2024-11-06T07:14:24.202Z] 07:14:24 INFO - STDOUT: _____________________________ test_open_and_close ______________________________
[task 2024-11-06T07:14:24.203Z] 07:14:24 INFO - STDOUT: bidi_session = <webdriver.bidi.client.BidiSession object at 0x728e4b11e440>
[task 2024-11-06T07:14:24.203Z] 07:14:24 INFO - STDOUT: async def test_open_and_close(bidi_session):
[task 2024-11-06T07:14:24.204Z] 07:14:24 INFO - STDOUT: initial_windows = await bidi_session.browser.get_client_windows()
[task 2024-11-06T07:14:24.204Z] 07:14:24 INFO - STDOUT: assert len(initial_windows) == 1
[task 2024-11-06T07:14:24.205Z] 07:14:24 INFO - STDOUT:
[task 2024-11-06T07:14:24.205Z] 07:14:24 INFO - STDOUT: new_browsing_context = await bidi_session.browsing_context.create(type_hint="window")
[task 2024-11-06T07:14:24.206Z] 07:14:24 INFO - STDOUT: try:
[task 2024-11-06T07:14:24.206Z] 07:14:24 INFO - STDOUT: updated_windows = await bidi_session.browser.get_client_windows()
[task 2024-11-06T07:14:24.207Z] 07:14:24 INFO - STDOUT: assert isinstance(updated_windows, list)
[task 2024-11-06T07:14:24.207Z] 07:14:24 INFO - STDOUT: assert len(updated_windows) == 2
[task 2024-11-06T07:14:24.208Z] 07:14:24 INFO - STDOUT: assert updated_windows[0]["clientWindow"] != updated_windows[1]["clientWindow"]
[task 2024-11-06T07:14:24.208Z] 07:14:24 INFO - STDOUT: finally:
[task 2024-11-06T07:14:24.209Z] 07:14:24 INFO - STDOUT: await bidi_session.browsing_context.close(context=new_browsing_context["context"])
[task 2024-11-06T07:14:24.209Z] 07:14:24 INFO - STDOUT:
[task 2024-11-06T07:14:24.210Z] 07:14:24 INFO - STDOUT: final_windows = await bidi_session.browser.get_client_windows()
[task 2024-11-06T07:14:24.210Z] 07:14:24 INFO - STDOUT: > assert final_windows == initial_windows
[task 2024-11-06T07:14:24.211Z] 07:14:24 INFO - STDOUT: E AssertionError: assert [{'active': False, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}] == [{'active': True, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}]
[task 2024-11-06T07:14:24.211Z] 07:14:24 INFO - STDOUT: E
[task 2024-11-06T07:14:24.212Z] 07:14:24 INFO - STDOUT: E At index 0 diff: {'active': False, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23} != {'active': True, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}
[task 2024-11-06T07:14:24.212Z] 07:14:24 INFO - STDOUT: E
[task 2024-11-06T07:14:24.212Z] 07:14:24 INFO - STDOUT: E Full diff:
[task 2024-11-06T07:14:24.213Z] 07:14:24 INFO - STDOUT: E [
[task 2024-11-06T07:14:24.213Z] 07:14:24 INFO - STDOUT: E {
[task 2024-11-06T07:14:24.213Z] 07:14:24 INFO - STDOUT: E - 'active': True,
[task 2024-11-06T07:14:24.214Z] 07:14:24 INFO - STDOUT: E ? ^^^
[task 2024-11-06T07:14:24.214Z] 07:14:24 INFO - STDOUT: E + 'active': False,
[task 2024-11-06T07:14:24.214Z] 07:14:24 INFO - STDOUT: E ? ^^^^
[task 2024-11-06T07:14:24.215Z] 07:14:24 INFO - STDOUT: E 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.215Z] 07:14:24 INFO - STDOUT: E 'height': 600,
[task 2024-11-06T07:14:24.215Z] 07:14:24 INFO - STDOUT: E 'state': 'normal',
[task 2024-11-06T07:14:24.216Z] 07:14:24 INFO - STDOUT: E 'width': 800,
[task 2024-11-06T07:14:24.216Z] 07:14:24 INFO - STDOUT: E 'x': 26,
[task 2024-11-06T07:14:24.217Z] 07:14:24 INFO - STDOUT: E 'y': 23,
[task 2024-11-06T07:14:24.217Z] 07:14:24 INFO - STDOUT: E },
[task 2024-11-06T07:14:24.218Z] 07:14:24 INFO - STDOUT: E ]
[task 2024-11-06T07:14:24.218Z] 07:14:24 INFO - STDOUT: bidi_session = <webdriver.bidi.client.BidiSession object at 0x728e4b11e440>
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - STDOUT: final_windows = [{'active': False,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'height': 600,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'width': 800,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'y': 23}]
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - STDOUT: initial_windows = [{'active': True,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'height': 600,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'width': 800,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.219Z] 07:14:24 INFO - 'y': 23}]
[task 2024-11-06T07:14:24.220Z] 07:14:24 INFO - STDOUT: new_browsing_context = {'context': '72bec2ef-c924-4526-bab1-ba8c9f1eb087'}
[task 2024-11-06T07:14:24.220Z] 07:14:24 INFO - STDOUT: updated_windows = [{'active': False,
[task 2024-11-06T07:14:24.220Z] 07:14:24 INFO - 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'height': 600,
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'width': 800,
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'y': 23},
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - {'active': True,
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'clientWindow': '4eefd6e6-a5ca-4893-88e4-94ea0249d3ef',
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'height': 972,
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'width': 1280,
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - 'y': 23}]
[task 2024-11-06T07:14:24.221Z] 07:14:24 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/bidi/browser/get_client_windows/get_client_windows.py
[task 2024-11-06T07:14:24.222Z] 07:14:24 INFO - STDOUT: :19: AssertionError
[task 2024-11-06T07:14:24.222Z] 07:14:24 INFO - STDOUT: =========================== short test summary info ============================
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - STDOUT: FAILED tests/web-platform/tests/webdriver/tests/bidi/browser/get_client_windows/get_client_windows.py::test_open_and_close - AssertionError: assert [{'active': False, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}] == [{'active': True, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}]
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - At index 0 diff: {'active': False, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23} != {'active': True, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - Full diff:
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - [
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - {
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - - 'active': True,
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - ? ^^^
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - + 'active': False,
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - ? ^^^^
[task 2024-11-06T07:14:24.223Z] 07:14:24 INFO - 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - 'height': 600,
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - 'width': 800,
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - 'y': 23,
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - },
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - ]
[task 2024-11-06T07:14:24.224Z] 07:14:24 INFO - STDOUT: ========================= 1 failed, 1 passed in 7.44s ==========================
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/browser/get_client_windows/get_client_windows.py | test_open_and_close - AssertionError: assert [{'active': False, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}] == [{'active': True, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}]
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x728e4b11e440>
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - async def test_open_and_close(bidi_session):
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - initial_windows = await bidi_session.browser.get_client_windows()
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - assert len(initial_windows) == 1
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - new_browsing_context = await bidi_session.browsing_context.create(type_hint="window")
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - try:
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - updated_windows = await bidi_session.browser.get_client_windows()
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - assert isinstance(updated_windows, list)
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - assert len(updated_windows) == 2
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - assert updated_windows[0]["clientWindow"] != updated_windows[1]["clientWindow"]
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - finally:
[task 2024-11-06T07:14:24.228Z] 07:14:24 INFO - await bidi_session.browsing_context.close(context=new_browsing_context["context"])
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - final_windows = await bidi_session.browser.get_client_windows()
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - > assert final_windows == initial_windows
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E AssertionError: assert [{'active': False, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}] == [{'active': True, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}]
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E At index 0 diff: {'active': False, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23} != {'active': True, 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6', 'height': 600, 'state': 'normal', 'width': 800, 'x': 26, 'y': 23}
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E Full diff:
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E [
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E {
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E - 'active': True,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E ? ^^^
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E + 'active': False,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E ? ^^^^
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E 'height': 600,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E 'state': 'normal',
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E 'width': 800,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E 'x': 26,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E 'y': 23,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E },
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - E ]
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x728e4b11e440>
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - final_windows = [{'active': False,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - 'height': 600,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - 'width': 800,
[task 2024-11-06T07:14:24.229Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'y': 23}]
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - initial_windows = [{'active': True,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'height': 600,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'width': 800,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'y': 23}]
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - new_browsing_context = {'context': '72bec2ef-c924-4526-bab1-ba8c9f1eb087'}
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - updated_windows = [{'active': False,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'clientWindow': '052f4321-2e44-430c-9d11-a0ac205cdff6',
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'height': 600,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'width': 800,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'y': 23},
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - {'active': True,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'clientWindow': '4eefd6e6-a5ca-4893-88e4-94ea0249d3ef',
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'height': 972,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'state': 'normal',
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'width': 1280,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'x': 26,
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - 'y': 23}]
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO -
[task 2024-11-06T07:14:24.230Z] 07:14:24 INFO - tests/web-platform/tests/webdriver/tests/bidi/browser/get_client_windows/get_client_windows.py:19: AssertionError
[task 2024-11-06T07:14:24.231Z] 07:14:24 INFO - .
[task 2024-11-06T07:14:24.231Z] 07:14:24 INFO - TEST-OK | /webdriver/tests/bidi/browser/get_client_windows/get_client_windows.py | took 7896ms
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•