Closed
Bug 1832587
Opened 2 years ago
Closed 8 months ago
Intermittent /webdriver/tests/bidi/browsing_context/capture_screenshot/frame.py | test_iframe - IndexError: list index out of range
Categories
(Remote Protocol :: WebDriver BiDi, defect, P5)
Remote Protocol
WebDriver BiDi
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: intermittent-failure)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=415339892&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/VvuaRoKPS3OBbpOXNekVIQ/runs/0/artifacts/public/logs/live_backing.log
[task 2023-05-11T11:58:31.069Z] 11:58:31 INFO - STDOUT: ================================== FAILURES ===================================
[task 2023-05-11T11:58:31.070Z] 11:58:31 INFO - STDOUT: _________________________________ test_iframe _________________________________
[task 2023-05-11T11:58:31.071Z] 11:58:31 INFO - STDOUT: bidi_session = <webdriver.bidi.client.BidiSession object at 0x000001A32C2CC400>
[task 2023-05-11T11:58:31.072Z] 11:58:31 INFO - STDOUT: top_context = {'children': [], 'context': 'ed896af0-3ee9-4fc5-bb16-251d12964f7d', 'parent': None, 'url': 'about:blank'}
[task 2023-05-11T11:58:31.073Z] 11:58:31 INFO - STDOUT: inline = <function inline.<locals>.inline at 0x000001A32C2E7040>
[task 2023-05-11T11:58:31.074Z] 11:58:31 INFO - STDOUT: iframe = <function iframe.<locals>.iframe at 0x000001A32C2E7160>
[task 2023-05-11T11:58:31.074Z] 11:58:31 INFO - STDOUT: @pytest.mark.asyncio
[task 2023-05-11T11:58:31.075Z] 11:58:31 INFO - STDOUT: async def test_iframe(bidi_session, top_context, inline, iframe):
[task 2023-05-11T11:58:31.076Z] 11:58:31 INFO - STDOUT: viewport_size = await viewport_dimensions(bidi_session, top_context)
[task 2023-05-11T11:58:31.076Z] 11:58:31 INFO - STDOUT:
[task 2023-05-11T11:58:31.077Z] 11:58:31 INFO - STDOUT: iframe_content = f"{INNER_IFRAME_STYLE}{DEFAULT_CONTENT}"
[task 2023-05-11T11:58:31.112Z] 11:58:31 INFO -
[task 2023-05-11T11:58:31.112Z] 11:58:31 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/browsing_context/capture_screenshot/frame.py | test_iframe - IndexError: list index out of range
[task 2023-05-11T11:58:31.112Z] 11:58:31 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x000001A32C2CC400>
[task 2023-05-11T11:58:31.112Z] 11:58:31 INFO - top_context = {'children': [], 'context': 'ed896af0-3ee9-4fc5-bb16-251d12964f7d', 'parent': None, 'url': 'about:blank'}
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - inline = <function inline.<locals>.inline at 0x000001A32C2E7040>
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - iframe = <function iframe.<locals>.iframe at 0x000001A32C2E7160>
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO -
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - @pytest.mark.asyncio
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - async def test_iframe(bidi_session, top_context, inline, iframe):
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - viewport_size = await viewport_dimensions(bidi_session, top_context)
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO -
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - iframe_content = f"{INNER_IFRAME_STYLE}{DEFAULT_CONTENT}"
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - url = inline(f"{OUTER_IFRAME_STYLE}{iframe(iframe_content)}")
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - await bidi_session.browsing_context.navigate(context=top_context["context"],
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - url=url,
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - wait="complete")
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - reference_data = await bidi_session.browsing_context.capture_screenshot(
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - context=top_context["context"])
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - assert png_dimensions(reference_data) == viewport_size
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO -
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - all_contexts = await bidi_session.browsing_context.get_tree(root=top_context["context"])
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - > frame_context = all_contexts[0]["children"][0]
[task 2023-05-11T11:58:31.119Z] 11:58:31 INFO - E IndexError: list index out of range
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 4•1 years ago
|
||
All the recent failures were mis-classifications and are actually related to bug 1737282.
Given that we haven't seen the original failure anymore I'm going to close this issue as incomplete.
Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → INCOMPLETE
Reporter | ||
Comment 5•1 year ago
|
||
treeherder |
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=418791990&repo=mozilla-central
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 17•8 months ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Status: REOPENED → RESOLVED
Closed: 1 years ago → 8 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•