Intermittent Wd AssertionError: unknown error (500): AbortError: Failed to dispatch event "synthesize<*>AtPoint": NS_ERROR_FAILURE
Categories
(Remote Protocol :: WebDriver BiDi, defect, P5)
Tracking
(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox-esr140 unaffected, firefox142 unaffected, firefox143 unaffected, firefox144 disabled)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox142 | --- | unaffected |
| firefox143 | --- | unaffected |
| firefox144 | --- | disabled |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Blocks 1 open bug, Regression)
Details
(4 keywords, Whiteboard: [collect_confirm_failure])
Attachments
(2 files)
Filed by: sstanca [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=522943010&repo=autoland&task=KcRzxv-HRkWN0oROjl7zLg.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KcRzxv-HRkWN0oROjl7zLg/runs/0/artifacts/public/logs/live_backing.log
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - TEST-PASS | /webdriver/tests/bidi/input/perform_actions/navigation.py | test_key
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/input/perform_actions/navigation.py | test_pointer - webdriver.bidi.error.UnknownErrorException: unknown error ([Exception... "(null)" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://remote/content/external/EventUtils.js :: synthesizeMouseAtPoint :: line 762" data: no])
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fc994107740>
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - inline = <function inline.<locals>.inline at 0x7fc98767bce0>
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - top_context = {'children': [], 'clientWindow': '64d73403-5995-454b-8006-c67a3794f53e', 'context': 'd95baf79-82ba-4dcc-9d94-e3313210cdbe', 'originalOpener': None, ...}
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - get_element = <function get_element.<locals>.get_element at 0x7fc98767a0c0>
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - async def test_pointer(bidi_session, inline, top_context, get_element):
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - await bidi_session.browsing_context.navigate(
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - context=top_context["context"],
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - url=inline(
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - f"""<input onmousedown="window.location = '{inline(PAGE_CONTENT)}'"/>"""),
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - wait="complete"
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - )
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - input = await get_element("input")
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - actions = Actions()
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - (
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - actions.add_pointer()
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - .pointer_move(x=0, y=0, origin=get_element_origin(input))
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - .pointer_down(button=0)
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - .pointer_up(button=0)
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - .pause(1000)
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - .pointer_move(x=300, y=200)
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - )
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - > await bidi_session.input.perform_actions(
[task 2025-08-19T11:07:02.498+00:00] 11:07:02 INFO - actions=actions, context=top_context["context"]
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - )
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - actions = <webdriver.bidi.modules.input.Actions object at 0x7fc9940ac770>
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fc994107740>
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - get_element = <function get_element.<locals>.get_element at 0x7fc98767a0c0>
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - inline = <function inline.<locals>.inline at 0x7fc98767bce0>
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - input = {'sharedId': 'ed00bf44-50ed-4603-ad4d-fd680b8da34c',
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'type': 'node',
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'value': {'attributes': {'onmousedown': 'window.location = '
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - "'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%0A++++%3Cinput%3E%3C%2Finput%3E%0A++++%3Cscript%3E%0A++++++++%22use+strict%3B%22%0A%0A++++++++var+allEvents+%3D+%7B+events%3A+%5B%5D+%7D%3B%0A%0A++++++++const+input+%3D+document.querySelector%28%22input%22%29%3B%0A++++++++input.focus%28%29%3B%0A%0A++++++++window.addEventListener%28%22keydown%22%2C+e+%3D%3E+allEvents.events.push%28%5Be.key%5D%29%29%3B%0A++++++++window.addEventListener%28%22mousemove%22%2C+e+%3D%3E+%7B%0A++++++++++++allEvents.events.push%28%5B%0A++++++++++++++++e.clientX%2C%0A++++++++++++++++e.clientY%2C%0A++++++++++++%5D%29%3B%0A++++++++%7D%29%3B%0A++++%3C%2Fscript%3E%0A&mime=text%2Fhtml&charset=UTF-8'"},
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'childNodeCount': 0,
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'localName': 'input',
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'namespaceURI': 'http://www.w3.org/1999/xhtml',
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'nodeType': 1,
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'shadowRoot': None}}
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - top_context = {'children': [],
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'clientWindow': '64d73403-5995-454b-8006-c67a3794f53e',
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'context': 'd95baf79-82ba-4dcc-9d94-e3313210cdbe',
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'originalOpener': None,
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'parent': None,
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'url': 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%0A++++%3Cinput%3E%3C%2Finput%3E%0A++++%3Cscript%3E%0A++++++++%22use+strict%3B%22%0A%0A++++++++var+allEvents+%3D+%7B+events%3A+%5B%5D+%7D%3B%0A%0A++++++++const+input+%3D+document.querySelector%28%22input%22%29%3B%0A++++++++input.focus%28%29%3B%0A%0A++++++++window.addEventListener%28%22keydown%22%2C+e+%3D%3E+allEvents.events.push%28%5Be.key%5D%29%29%3B%0A++++++++window.addEventListener%28%22mousemove%22%2C+e+%3D%3E+%7B%0A++++++++++++allEvents.events.push%28%5B%0A++++++++++++++++e.clientX%2C%0A++++++++++++++++e.clientY%2C%0A++++++++++++%5D%29%3B%0A++++++++%7D%29%3B%0A++++%3C%2Fscript%3E%0A&mime=text%2Fhtml&charset=UTF-8',
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - 'userContext': 'default'}
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - tests/web-platform/tests/webdriver/tests/bidi/input/perform_actions/navigation.py:84:
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - self = <webdriver.bidi.modules.input.Input object at 0x7fc9940ad6d0>
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - kwargs = {'actions': <webdriver.bidi.modules.input.Actions object at 0x7fc9940ac770>, 'context': 'd95baf79-82ba-4dcc-9d94-e3313210cdbe'}
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - raw_result = False
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - params = {'actions': [{'actions': [{'origin': {'element': {...}, 'type': 'element'}, 'type': 'pointerMove', 'x': 0, 'y': 0}, {'...ter-0', 'parameters': {'pointerType': 'mouse'}, 'type': 'pointer'}], 'context': 'd95baf79-82ba-4dcc-9d94-e3313210cdbe'}
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - mod_name = 'input', cmd_name = 'input.performActions'
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - future = <Future finished exception=UnknownErrorException(unknown error, [Exception... "(null)" nsresult: "0x80004005 (NS_ERRO...age@chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs:78:37
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - )>
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - @functools.wraps(params_fn)
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - async def inner(self: Any, **kwargs: Any) -> Any:
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - raw_result = kwargs.pop("raw_result", False)
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - params = remove_undefined(params_fn(self, **kwargs))
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - # Convert the classname and the method name to a bidi command name
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - mod_name = owner.__name__[0].lower() + owner.__name__[1:]
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - if hasattr(owner, "prefix"):
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - mod_name = f"{owner.prefix}:{mod_name}"
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - cmd_name = f"{mod_name}.{to_camelcase(name)}"
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - future = await self.session.send_command(cmd_name, params)
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - > result = await future
[task 2025-08-19T11:07:02.499+00:00] 11:07:02 INFO - E webdriver.bidi.error.UnknownErrorException: unknown error ([Exception... "(null)" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://remote/content/external/EventUtils.js :: synthesizeMouseAtPoint :: line 762" data: no])
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E Remote-end stacktrace:
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E synthesizeMouseAtPoint@chrome://remote/content/external/EventUtils.js:762:49
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E event.synthesizeMouseAtPoint@chrome://remote/content/shared/webdriver/Event.sys.mjs:81:30
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E _dispatchEvent@chrome://remote/content/webdriver-bidi/modules/windowglobal/input.sys.mjs:72:22
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E handleCommand@chrome://remote/content/shared/messagehandler/MessageHandler.sys.mjs:260:33
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - E receiveMessage@chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs:78:37
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - cmd_name = 'input.performActions'
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - future = <Future finished exception=UnknownErrorException(unknown error, [Exception... "(null)" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://remote/content/external/EventUtils.js :: synthesizeMouseAtPoint :: line 762" data: no], synthesizeMouseAtPoint@chrome://remote/content/external/EventUtils.js:762:49
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - event.synthesizeMouseAtPoint@chrome://remote/content/shared/webdriver/Event.sys.mjs:81:30
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - _dispatchEvent@chrome://remote/content/webdriver-bidi/modules/windowglobal/input.sys.mjs:72:22
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - handleCommand@chrome://remote/content/shared/messagehandler/MessageHandler.sys.mjs:260:33
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - receiveMessage@chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs:78:37
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - )>
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - kwargs = {'actions': <webdriver.bidi.modules.input.Actions object at 0x7fc9940ac770>,
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'context': 'd95baf79-82ba-4dcc-9d94-e3313210cdbe'}
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - mod_name = 'input'
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - name = 'perform_actions'
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - owner = <class 'webdriver.bidi.modules.input.Input'>
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - params = {'actions': [{'actions': [{'origin': {'element': {'sharedId': 'ed00bf44-50ed-4603-ad4d-fd680b8da34c'},
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'type': 'element'},
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'type': 'pointerMove',
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'x': 0,
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'y': 0},
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - {'button': 0, 'type': 'pointerDown'},
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - {'button': 0, 'type': 'pointerUp'},
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - {'duration': 1000, 'type': 'pause'},
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - {'origin': 'viewport',
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'type': 'pointerMove',
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'x': 300,
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'y': 200}],
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'id': 'pointer-0',
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'parameters': {'pointerType': 'mouse'},
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'type': 'pointer'}],
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - 'context': 'd95baf79-82ba-4dcc-9d94-e3313210cdbe'}
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - params_fn = <function Input.perform_actions at 0x7fc99474e0c0>
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - raw_result = False
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - result_fn = None
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - self = <webdriver.bidi.modules.input.Input object at 0x7fc9940ad6d0>
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO -
[task 2025-08-19T11:07:02.500+00:00] 11:07:02 INFO - tests/web-platform/tests/tools/webdriver/webdriver/bidi/modules/_module.py:76: UnknownErrorException
[task 2025-08-19T11:07:02.501+00:00] 11:07:02 INFO - TEST-OK | /webdriver/tests/bidi/input/perform_actions/navigation.py | took 7858ms
Comment 1•1 year ago
|
||
Edgar, you actually tried to disable the test above but that doesn't work for wdspec subtests. You should have instead marked it as [PASS, FAIL]. If it happens too often we have to still get it fixed.
This is probably similar to bug 1941453.
Comment 2•1 year ago
|
||
:edgar, since you are the author of the regressor, bug 1977774, could you take a look?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•1 year ago
•
|
||
Yes, I think this is the same situation as the one described in bug 1941453. Oh, the test I disabled is the classic one, e.g. https://searchfox.org/firefox-main/source/testing/web-platform/tests/webdriver/tests/classic/perform_actions/navigation.py, so this happens on bidi one as well.
And I found mark subtest disabled doesn't really "disable" it, but ignore the error it reported, in this case, mark [PASS, FAIL] seems clearer. I will do that.
Comment 4•1 year ago
|
||
Updated•1 year ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 7•1 year ago
|
||
| bugherder | ||
Comment 8•1 year ago
|
||
Reopening the bug given that the test was only disabled.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 13•4 months ago
|
||
On bug 1941453 I've updated the metadata so that the test is always passing for async events and being flaky otherwise. Given that we are not going to allow the test to pass for the content dispatching case lets do a final update of the meta data and get this bug closed.
Comment 14•4 months ago
|
||
We cannot fix the tests for the sync dispatching case
in the content process. As such mark them as intermittently
failing.
Comment 15•4 months ago
|
||
Comment 16•4 months ago
|
||
| bugherder | ||
Comment 17•4 months ago
|
||
As mentioned above we are not going to fix this for the content dispatching code path. Lets close as wontfix.
Updated•4 months ago
|
Comment 18•5 days ago
|
||
We actually may have to keep the non async code path for some time especially when actions are performed in background tabs where async events cannot be used at all. So lets reopen this bug for tracking purposes.
Description
•