Closed
Bug 1811576
Opened 3 years ago
Closed 3 years ago
Intermittent /webdriver/tests/bidi/network/response_completed/response_completed_tentative.py | test_response_status[406-Not Acceptable] - webdriver.bidi.error.UnknownErrorException: unknown error (TypeError: target is null)
Categories
(Remote Protocol :: WebDriver BiDi, defect, P5)
Remote Protocol
WebDriver BiDi
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=403054138&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CLkvsLqiQnqwZn74C4eb_A/runs/0/artifacts/public/logs/live_backing.log
[task 2023-01-20T19:25:51.678Z] 19:25:51 INFO - TEST-PASS | /webdriver/tests/bidi/network/response_completed/response_completed_tentative.py | test_response_status[405-Method Not Allowed]
[task 2023-01-20T19:25:51.678Z] 19:25:51 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/network/response_completed/response_completed_tentative.py | test_response_status[406-Not Acceptable] - webdriver.bidi.error.UnknownErrorException: unknown error (TypeError: target is null)
[task 2023-01-20T19:25:51.678Z] 19:25:51 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7ff5b7724cf8>
[task 2023-01-20T19:25:51.678Z] 19:25:51 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7ff5b7663e18>
[task 2023-01-20T19:25:51.678Z] 19:25:51 INFO - url = <function url.<locals>.url at 0x7ff5b7663b70>
[task 2023-01-20T19:25:51.678Z] 19:25:51 INFO - fetch = <function fetch.<locals>.fetch at 0x7ff5b77ace18>
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x7ff5b7649a60>
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - status = 406, status_text = 'Not Acceptable'
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - @pytest.mark.parametrize(
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - "status, status_text",
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - HTTP_STATUS_AND_STATUS_TEXT,
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - )
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - @pytest.mark.asyncio
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - async def test_response_status(
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - bidi_session, wait_for_event, url, fetch, setup_network_test, status, status_text
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - ):
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - status_url = url(
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - f"/webdriver/tests/support/http_handlers/status.py?status={status}&nocache={RESPONSE_COMPLETED_EVENT}"
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - )
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - > network_events = await setup_network_test(events=[RESPONSE_COMPLETED_EVENT])
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7ff5b7724cf8>
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - fetch = <function fetch.<locals>.fetch at 0x7ff5b77ace18>
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x7ff5b7649a60>
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - status = 406
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - status_text = 'Not Acceptable'
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - status_url = 'http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=406&nocache=network.responseCompleted'
[task 2023-01-20T19:25:51.679Z] 19:25:51 INFO - url = <function url.<locals>.url at 0x7ff5b7663b70>
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7ff5b7663e18>
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - tests/web-platform/tests/webdriver/tests/bidi/network/response_completed/response_completed_tentative.py:146:
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - tests/web-platform/tests/webdriver/tests/bidi/network/conftest.py:59: in _setup_network_test
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - events=[RESPONSE_COMPLETED_EVENT], contexts=[top_context["context"]]
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7ff5b7724cf8>
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - contexts = None
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - events = ['network.responseCompleted']
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - listeners = []
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - subscribe_events = <function subscribe_events.<locals>.subscribe_events at 0x7ff5b7649c80>
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - test_url = 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - top_context = {'children': [],
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - 'context': '4b5de2d2-bb32-460f-bde4-445f3864a56b',
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - 'parent': None,
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7ff5b7663e18>
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - self = <webdriver.bidi.modules.session.Session object at 0x7ff5b7724c50>
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - kwargs = {'contexts': ['4b5de2d2-bb32-460f-bde4-445f3864a56b'], 'events': ['network.responseCompleted']}
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - raw_result = False
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - params = {'contexts': ['4b5de2d2-bb32-460f-bde4-445f3864a56b'], 'events': ['network.responseCompleted']}
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - mod_name = 'session', cmd_name = 'session.subscribe'
[task 2023-01-20T19:25:51.680Z] 19:25:51 INFO - future = <[AttributeError("'UnknownErrorException' object has no attribute 'error'",) raised in repr()] Future object at 0x7ff5b76753c8>
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - @functools.wraps(params_fn)
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - async def inner(self: Any, **kwargs: Any) -> Any:
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - raw_result = kwargs.pop("raw_result", False)
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - params = params_fn(self, **kwargs)
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - # Convert the classname and the method name to a bidi command name
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - mod_name = owner.__name__[0].lower() + owner.__name__[1:]
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - if hasattr(owner, "prefix"):
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - mod_name = f"{owner.prefix}:{mod_name}"
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - cmd_name = f"{mod_name}.{to_camelcase(name)}"
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - future = await self.session.send_command(cmd_name, params)
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - > result = await future
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E webdriver.bidi.error.UnknownErrorException: unknown error (TypeError: target is null)
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E Remote-end stacktrace:
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E #updateEventMap@chrome://remote/content/webdriver-bidi/modules/root/session.sys.mjs:358:26
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E subscribe@chrome://remote/content/webdriver-bidi/modules/root/session.sys.mjs:77:43
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E handleCommand@chrome://remote/content/shared/messagehandler/MessageHandler.sys.mjs:249:33
[task 2023-01-20T19:25:51.681Z] 19:25:51 INFO - E execute@chrome://remote/content/shared/webdriver/Session.sys.mjs:244:32
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - E onPacket@chrome://remote/content/webdriver-bidi/WebDriverBiDiConnection.sys.mjs:169:37
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - E onMessage@chrome://remote/content/server/WebSocketTransport.sys.mjs:83:18
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - E handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:65:14
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - cmd_name = 'session.subscribe'
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - future = <[AttributeError("'UnknownErrorException' object has no attribute 'error'",) raised in repr()] Future object at 0x7ff5b76753c8>
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - kwargs = {'contexts': ['4b5de2d2-bb32-460f-bde4-445f3864a56b'],
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - 'events': ['network.responseCompleted']}
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - mod_name = 'session'
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - name = 'subscribe'
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - owner = <class 'webdriver.bidi.modules.session.Session'>
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - params = {'contexts': ['4b5de2d2-bb32-460f-bde4-445f3864a56b'],
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - 'events': ['network.responseCompleted']}
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - params_fn = <function Session.subscribe at 0x7ff5c4e870d0>
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - raw_result = False
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - result_fn = None
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - self = <webdriver.bidi.modules.session.Session object at 0x7ff5b7724c50>
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO -
[task 2023-01-20T19:25:51.682Z] 19:25:51 INFO - tests/web-platform/tests/tools/webdriver/webdriver/bidi/modules/_module.py:73: UnknownErrorException
[task 2023-01-20T19:25:51.705Z] 19:25:51 INFO - .....................
[task 2023-01-20T19:25:51.705Z] 19:25:51 INFO - TEST-OK | /webdriver/tests/bidi/network/response_completed/response_completed_tentative.py | took 19587ms
| Comment hidden (Intermittent Failures Robot) |
Comment 2•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•