Closed
Bug 1769036
Opened 3 years ago
Closed 3 years ago
Intermittent [tier 2] /webdriver/tests/bidi/browsing_context/navigate/wait.py | test_slow_script[interactive-True] - AssertionError: assert 'about:blank' == 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cm
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1767839
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: assertion, intermittent-failure)
Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=377797783&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ftdeWf9tSviJ-rHxMpVZeA/runs/0/artifacts/public/logs/live_backing.log
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/navigate/wait.py | test_slow_page[interactive-True]
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/navigate/wait.py | test_slow_page[complete-True]
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/navigate/wait.py | test_slow_script[none-False]
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/browsing_context/navigate/wait.py | test_slow_script[interactive-True] - AssertionError: assert 'about:blank' == 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cscript+src%3D%27%2Fwebdriver%2Ftests%2Fbidi%2Fbrowsing_context%2Fnavigate%2Fsupport%2Fempty.js%3Fpipe%3Dtrickle%28d10%29%27%3E%3C%2Fscript%3E&mime=text%2Fhtml&charset=UTF-8'
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f9688851cd0>
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - inline = <function inline.<locals>.inline at 0x7f96888ab710>
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - new_tab = {'children': None, 'context': '46f2798b-d628-4610-9426-20d285efdd5f', 'parent': None, 'url': 'about:blank'}
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - wait = 'interactive', expect_timeout = True
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO -
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - @pytest.mark.parametrize(
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - "wait, expect_timeout",
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - [
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - ("none", False),
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - ("interactive", True),
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - ("complete", True),
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - ],
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - )
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - async def test_slow_script(bidi_session, inline, new_tab, wait, expect_timeout):
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - script_url = "/webdriver/tests/bidi/browsing_context/navigate/support/empty.js"
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - url = inline(f"<script src='{script_url}?pipe=trickle(d10)'></script>")
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO -
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - wait_for_navigation = asyncio.wait_for(
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - bidi_session.browsing_context.navigate(
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - context=new_tab["context"], url=url, wait=wait
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - ),
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - timeout=1,
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - )
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO -
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - if expect_timeout:
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - with pytest.raises(asyncio.TimeoutError):
[task 2022-05-12T10:52:03.929Z] 10:52:03 INFO - await wait_for_navigation
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - else:
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - await wait_for_navigation
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO -
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - if wait != "none":
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - contexts = await bidi_session.browsing_context.get_tree(
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - root=new_tab["context"], max_depth=0
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - )
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - > assert contexts[0]["url"] == url
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - E AssertionError: assert 'about:blank' == 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cscript+src%3D%27%2Fwebdriver%2Ftests%2Fbidi%2Fbrowsing_context%2Fnavigate%2Fsupport%2Fempty.js%3Fpipe%3Dtrickle%28d10%29%27%3E%3C%2Fscript%3E&mime=text%2Fhtml&charset=UTF-8'
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - E - http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cscript+src%3D%27%2Fwebdriver%2Ftests%2Fbidi%2Fbrowsing_context%2Fnavigate%2Fsupport%2Fempty.js%3Fpipe%3Dtrickle%28d10%29%27%3E%3C%2Fscript%3E&mime=text%2Fhtml&charset=UTF-8
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - E + about:blank
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO -
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f9688851cd0>
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - contexts = [{'children': None,
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - 'context': '46f2798b-d628-4610-9426-20d285efdd5f',
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - 'parent': None,
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - 'url': 'about:blank'}]
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - expect_timeout = True
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - inline = <function inline.<locals>.inline at 0x7f96888ab710>
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - new_tab = {'children': None,
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - 'context': '46f2798b-d628-4610-9426-20d285efdd5f',
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - 'parent': None,
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - 'url': 'about:blank'}
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - script_url = '/webdriver/tests/bidi/browsing_context/navigate/support/empty.js'
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - url = 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cscript+src%3D%27%2Fwebdriver%2Ftests%2Fbidi%2Fbrowsing_context%2Fnavigate%2Fsupport%2Fempty.js%3Fpipe%3Dtrickle%28d10%29%27%3E%3C%2Fscript%3E&mime=text%2Fhtml&charset=UTF-8'
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - wait = 'interactive'
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - wait_for_navigation = <coroutine object wait_for at 0x7f96888abcb0>
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO -
[task 2022-05-12T10:52:03.930Z] 10:52:03 INFO - tests/web-platform/tests/webdriver/tests/bidi/browsing_context/navigate/wait.py:114: AssertionError
[task 2022-05-12T10:52:03.931Z] 10:52:03 INFO - .
[task 2022-05-12T10:52:03.931Z] 10:52:03 INFO - TEST-OK | /webdriver/tests/bidi/browsing_context/navigate/wait.py | took 8790ms
Comment 1•3 years ago
|
||
Same as bug 1767839 but just for interactive.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Comment 2•2 years ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•