Closed Bug 1867779 Opened 1 year ago Closed 1 year ago

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

Categories

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

defect

Tracking

(firefox124 fixed)

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

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


[task 2023-12-01T12:14:18.412Z] 12:14:18     INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/traverse_history/delta.py | test_delta_forward_and_back 
[task 2023-12-01T12:14:18.412Z] 12:14:18     INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/traverse_history/delta.py | test_navigate_in_the_same_document 
[task 2023-12-01T12:14:18.412Z] 12:14:18     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/browsing_context/traverse_history/delta.py | test_history_push_state - AssertionError: assert 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#bar' == 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#foo'
[task 2023-12-01T12:14:18.413Z] 12:14:18     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f0e1b2a5d90>
[task 2023-12-01T12:14:18.413Z] 12:14:18     INFO - new_tab = {'context': '86b5fc55-7f34-4e75-85e5-0353731529f4'}
[task 2023-12-01T12:14:18.413Z] 12:14:18     INFO - url = <function url.<locals>.url at 0x7f0e1a9ede60>
[task 2023-12-01T12:14:18.413Z] 12:14:18     INFO - 
[task 2023-12-01T12:14:18.414Z] 12:14:18     INFO -     async def test_history_push_state(bidi_session, new_tab, url):
[task 2023-12-01T12:14:18.414Z] 12:14:18     INFO -         page_url = url("/webdriver/tests/bidi/browsing_context/support/empty.html")
[task 2023-12-01T12:14:18.414Z] 12:14:18     INFO -         await bidi_session.browsing_context.navigate(
[task 2023-12-01T12:14:18.414Z] 12:14:18     INFO -             context=new_tab["context"], url=page_url, wait="complete"
[task 2023-12-01T12:14:18.415Z] 12:14:18     INFO -         )
[task 2023-12-01T12:14:18.415Z] 12:14:18     INFO -         assert await get_url_for_context(bidi_session, new_tab["context"]) == page_url
[task 2023-12-01T12:14:18.415Z] 12:14:18     INFO -     
[task 2023-12-01T12:14:18.416Z] 12:14:18     INFO -         pages = [
[task 2023-12-01T12:14:18.416Z] 12:14:18     INFO -             f"{page_url}#foo",
[task 2023-12-01T12:14:18.416Z] 12:14:18     INFO -             f"{page_url}#bar",
[task 2023-12-01T12:14:18.416Z] 12:14:18     INFO -         ]
[task 2023-12-01T12:14:18.417Z] 12:14:18     INFO -         for page in pages:
[task 2023-12-01T12:14:18.417Z] 12:14:18     INFO -             await bidi_session.script.call_function(
[task 2023-12-01T12:14:18.417Z] 12:14:18     INFO -                 function_declaration="""(url) => {
[task 2023-12-01T12:14:18.417Z] 12:14:18     INFO -                     history.pushState(null, null, url);
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -                 }""",
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -                 arguments=[
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -                     {"type": "string", "value": page},
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -                 ],
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -                 await_promise=False,
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -                 target=ContextTarget(new_tab["context"]),
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -             )
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -             assert await get_url_for_context(bidi_session, new_tab["context"]) == page
[task 2023-12-01T12:14:18.418Z] 12:14:18     INFO -     
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO -         await bidi_session.browsing_context.traverse_history(
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO -             context=new_tab["context"], delta=-1
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO -         )
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO -     
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO - >       assert await get_url_for_context(bidi_session, new_tab["context"]) == pages[0]
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO - E       AssertionError: assert 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#bar' == 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#foo'
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO - E         - https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#foo
[task 2023-12-01T12:14:18.419Z] 12:14:18     INFO - E         ?                                                                                         ^^^
[task 2023-12-01T12:14:18.420Z] 12:14:18     INFO - E         + https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#bar
[task 2023-12-01T12:14:18.420Z] 12:14:18     INFO - E         ?                                                                                         ^^^
[task 2023-12-01T12:14:18.420Z] 12:14:18     INFO - 
[task 2023-12-01T12:14:18.420Z] 12:14:18     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f0e1b2a5d90>
[task 2023-12-01T12:14:18.420Z] 12:14:18     INFO - new_tab    = {'context': '86b5fc55-7f34-4e75-85e5-0353731529f4'}
[task 2023-12-01T12:14:18.421Z] 12:14:18     INFO - page       = 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#bar'
[task 2023-12-01T12:14:18.421Z] 12:14:18     INFO - page_url   = 'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html'
[task 2023-12-01T12:14:18.421Z] 12:14:18     INFO - pages      = ['https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#foo',
[task 2023-12-01T12:14:18.421Z] 12:14:18     INFO -  'https://web-platform.test:8443/webdriver/tests/bidi/browsing_context/support/empty.html#bar']
[task 2023-12-01T12:14:18.421Z] 12:14:18     INFO - url        = <function url.<locals>.url at 0x7f0e1a9ede60>
[task 2023-12-01T12:14:18.422Z] 12:14:18     INFO - 
[task 2023-12-01T12:14:18.422Z] 12:14:18     INFO - tests/web-platform/tests/webdriver/tests/bidi/browsing_context/traverse_history/delta.py:122: AssertionError
[task 2023-12-01T12:14:18.422Z] 12:14:18     INFO - ..
[task 2023-12-01T12:14:18.422Z] 12:14:18     INFO - TEST-OK | /webdriver/tests/bidi/browsing_context/traverse_history/delta.py | took 9181ms
[task 2023-12-01T12:14:18.423Z] 12:14:18     INFO - PID 10866 | 1701432858390	webdriver::server	DEBUG	-> GET /status
[task 2023-12-01T12:14:18.423Z] 12:14:18     INFO - PID 10866 | 1701432858390	webdriver::server	DEBUG	<- 200 OK {"value":{"message":"","ready":true}}
[task 2023-12-01T12:14:18.424Z] 12:14:18     INFO - PROCESS LEAKS /tmp/tmppvd3xjw5.mozrunner/runtests_leaks_1835.log
[task 2023-12-01T12:14:18.424Z] 12:14:18     INFO - leakcheck | Processing log file /tmp/tmppvd3xjw5.mozrunner/runtests_leaks_1835.log for scope /webdriver/tests/bidi/browsing_context/traverse_history
[task 2023-12-01T12:14:18.425Z] 12:14:18     INFO - TEST-INFO | leakcheck | default process: leak threshold set at 2867200 bytes
[task 2023-12-01T12:14:18.426Z] 12:14:18     INFO - TEST-INFO | leakcheck | tab process: leak threshold set at 10000 bytes
[task 2023-12-01T12:14:18.426Z] 12:14:18     INFO - TEST-INFO | leakcheck | gmplugin process: leak threshold set at 20000 bytes
[task 2023-12-01T12:14:18.427Z] 12:14:18     INFO - TEST-INFO | leakcheck | gpu process: leak threshold set at 10000 bytes
[task 2023-12-01T12:14:18.428Z] 12:14:18     INFO - TEST-INFO | leakcheck | vr process: leak threshold set at 0 bytes
[task 2023-12-01T12:14:18.428Z] 12:14:18     INFO - TEST-INFO | leakcheck | rdd process: leak threshold set at 400 bytes
[task 2023-12-01T12:14:18.429Z] 12:14:18     INFO - TEST-INFO | leakcheck | socket process: leak threshold set at 0 bytes
[task 2023-12-01T12:14:18.429Z] 12:14:18     INFO - TEST-INFO | leakcheck | sandboxbroker process: leak threshold set at 0 bytes
[task 2023-12-01T12:14:18.430Z] 12:14:18     INFO - TEST-INFO | leakcheck | forkserver process: leak threshold set at 0 bytes
[task 2023-12-01T12:14:18.431Z] 12:14:18     INFO - TEST-INFO | leakcheck | utility process: leak threshold set at 0 bytes
[task 2023-12-01T12:14:18.432Z] 12:14:18     INFO - leakcheck | Processing leak log file /tmp/tmppvd3xjw5.mozrunner/runtests_leaks_1835_tab_pid11060.log
[task 2023-12-01T12:14:18.432Z] 12:14:18     INFO - TEST-PASS | leakcheck | tab no leaks detected!

Seems to be coming from Bug 1866463. Linux only so far.

Flags: needinfo?(hskupin)
Flags: needinfo?(hskupin) → needinfo?(aborovova)

It looks like that all the failures so far only happen on Linux, and no other platform.

Flags: needinfo?(aborovova)

(In reply to Henrik Skupin [:whimboo][⌚️UTC+1] from comment #3)

It looks like that all the failures so far only happen on Linux, and no other platform.

Beside that it seems as well that only slow running builds (debug, asan, tsan, and maybe ccov) are affected.

Depends on: 1877096

No more failures visible since bug 1877096 has been landed. Marking as fixed.

Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.