Closed Bug 1769401 Opened 4 years ago Closed 4 years ago

Intermittent [tier2] /webdriver/tests/bidi/browsing_context/navigate/invalid.py | test_params_url_invalid_value[http://:invalid] - webdriver.bidi.error.UnknownErrorException: unknown error (AbortError: Actor 'MessageHandlerFrame' destroyed

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1767226

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2022-05-14T10:55:56.133Z] 10:55:56     INFO - TEST-START | /webdriver/tests/bidi/browsing_context/navigate/invalid.py
[task 2022-05-14T10:55:56.179Z] 10:55:56     INFO - STDOUT: ============================= test session starts ==============================
[task 2022-05-14T10:55:56.180Z] 10:55:56     INFO - STDOUT: platform linux -- Python 3.6.9, pytest-6.1.1, py-1.5.2, pluggy-unknown -- /builds/worker/workspace/build/venv/bin/python
[task 2022-05-14T10:55:56.181Z] 10:55:56     INFO - STDOUT: rootdir: /builds/worker/workspace/build
[task 2022-05-14T10:55:56.182Z] 10:55:56     INFO - STDOUT: plugins: asyncio-0.14.0
[task 2022-05-14T10:55:56.182Z] 10:55:56     INFO - STDOUT: collecting ... 
[task 2022-05-14T10:55:56.193Z] 10:55:56     INFO - STDOUT: collected 20 items
[task 2022-05-14T10:55:56.193Z] 10:55:56     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/bidi/browsing_context/navigate/invalid.py::test_params_context_invalid_type[None] 
[task 2022-05-14T10:55:56.195Z] 10:55:56     INFO - PID 1381 | 1652525756194	webdriver::server	DEBUG	-> POST /session {"capabilities": {"alwaysMatch": {"moz:firefoxOptions": {"args": ["--profile", "/tmp/tmp_9zstuh0.mozrunner"], "binary": "/builds/worker/workspace/build/application/firefox/firefox"}, "webSocketUrl": true}}}
[task 2022-05-14T10:55:56.195Z] 10:55:56     INFO - PID 1381 | 1652525756194	geckodriver::capabilities	DEBUG	Trying to read firefox version from ini files
[task 2022-05-14T10:55:56.196Z] 10:55:56     INFO - PID 1381 | 1652525756194	geckodriver::capabilities	DEBUG	Found version 102.0a1
[task 2022-05-14T10:55:56.196Z] 10:55:56     INFO - PID 1381 | 1652525756194	geckodriver::browser	DEBUG	Backing up prefs to "/tmp/tmp_9zstuh0.mozrunner/user.geckodriver_backup"
[task 2022-05-14T10:55:56.201Z] 10:55:56     INFO - PID 1381 | 1652525756200	mozrunner::runner	INFO	Running command: "/builds/worker/workspace/build/application/firefox/firefox" "--marionette" "--profile" "/tmp/tmp_9zstuh0.mozrunner" "--remote-debugging-port" "9222" "--remote-allow-hosts" "localhost" "-no-remote"
[task 2022-05-14T10:55:56.201Z] 10:55:56     INFO - PID 1381 | 1652525756200	geckodriver::marionette	DEBUG	Waiting 60s to connect to browser on 127.0.0.1
[task 2022-05-14T10:55:56.201Z] 10:55:56     INFO - PID 1381 | 1652525756200	geckodriver::browser	TRACE	Failed to open /tmp/tmp_9zstuh0.mozrunner/MarionetteActivePort
[task 2022-05-14T10:55:56.202Z] 10:55:56     INFO - PID 1381 | 1652525756200	geckodriver::marionette	TRACE	Retrying in 100ms
[task 2022-05-14T10:55:56.265Z] 10:55:56     INFO - PID 1381 | *** You are running in headless mode.
[task 2022-05-14T10:55:56.301Z] 10:55:56     INFO - PID 1381 | 1652525756300	geckodriver::browser	TRACE	Failed to open /tmp/tmp_9zstuh0.mozrunner/MarionetteActivePort
[task 2022-05-14T10:55:56.301Z] 10:55:56     INFO - PID 1381 | 1652525756300	geckodriver::marionette	TRACE	Retrying in 100ms
[task 2022-05-14T10:55:56.401Z] 10:55:56     INFO - PID 1381 | 1652525756400	geckodriver::browser	TRACE	Failed to open /tmp/tmp_9zstuh0.mozrunner/MarionetteActivePort
[task 2022-05-14T10:55:56.402Z] 10:55:56     INFO - PID 1381 | 1652525756400	geckodriver::marionette	TRACE	Retrying in 100ms
[task 2022-05-14T10:55:56.501Z] 10:55:56     INFO - PID 1381 | 1652525756500	geckodriver::browser	TRACE	Failed to open /tmp/tmp_9zstuh0.mozrunner/MarionetteActivePort
[task 2022-05-14T10:55:56.502Z] 10:55:56     INFO - PID 1381 | 1652525756500	geckodriver::marionette	TRACE	Retrying in 100ms
[task 2022-05-14T10:55:56.548Z] 10:55:56     INFO - PID 1381 | 1652525756547	RemoteAgent	DEBUG	WebDriver BiDi enabled
[task 2022-05-14T10:55:56.549Z] 10:55:56     INFO - PID 1381 | 1652525756548	RemoteAgent	DEBUG	CDP enabled
[task 2022-05-14T10:55:56.550Z] 10:55:56     INFO - PID 1381 | 1652525756548	Marionette	INFO	Marionette enabled
[task 2022-05-14T10:55:56.551Z] 10:55:56     INFO - PID 1381 | 1652525756550	Marionette	TRACE	Received observer notification final-ui-startup
[task 2022-05-14T10:55:56.552Z] 10:55:56     INFO - PID 1381 | 1652525756551	Marionette	INFO	Listening on port 36728
[task 2022-05-14T10:55:56.552Z] 10:55:56     INFO - PID 1381 | 1652525756551	Marionette	DEBUG	Marionette is listening
[task 2022-05-14T10:55:56.553Z] 10:55:56     INFO - PID 1381 | 1652525756552	RemoteAgent	TRACE	Received observer notification final-ui-startup
[task 2022-05-14T10:55:56.556Z] 10:55:56     INFO - PID 1381 | WebDriver BiDi listening on ws://localhost:9222
[task 2022-05-14T10:55:56.597Z] 10:55:56     INFO - PID 1381 | 1652525756596	CDP	DEBUG	Waiting for initial application window

[task 2022-05-14T10:56:08.728Z] 10:56:08     INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/navigate/invalid.py | test_params_url_invalid_type[42] 
[task 2022-05-14T10:56:08.728Z] 10:56:08     INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/navigate/invalid.py | test_params_url_invalid_type[value3] 
[task 2022-05-14T10:56:08.728Z] 10:56:08     INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/navigate/invalid.py | test_params_url_invalid_type[value4] 
[task 2022-05-14T10:56:08.728Z] 10:56:08     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/browsing_context/navigate/invalid.py | test_params_url_invalid_value[http://:invalid] - webdriver.bidi.error.UnknownErrorException: unknown error (AbortError: Actor 'MessageHandlerFrame' destroyed before query 'MessageHandlerFrameParent:sendCommand' was resolved)
[task 2022-05-14T10:56:08.728Z] 10:56:08     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f079854b588>
[task 2022-05-14T10:56:08.728Z] 10:56:08     INFO - new_tab = {'children': None, 'context': '0a10a972-dd5d-4561-b618-f9fc0de36fe3', 'parent': None, 'url': 'about:blank'}
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - value = 'http://:invalid'
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - 
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -     @pytest.mark.parametrize("value", ["http://:invalid", "http://#invalid"])
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -     async def test_params_url_invalid_value(bidi_session, new_tab, value):
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -         with pytest.raises(error.InvalidArgumentException):
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -             await bidi_session.browsing_context.navigate(
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - >               context=new_tab["context"], url=value
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -             )
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - 
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f079854b588>
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - new_tab    = {'children': None,
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -  'context': '0a10a972-dd5d-4561-b618-f9fc0de36fe3',
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -  'parent': None,
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO -  'url': 'about:blank'}
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - value      = 'http://:invalid'
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - 
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - tests/web-platform/tests/webdriver/tests/bidi/browsing_context/navigate/invalid.py:35: 
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - 
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - self = <webdriver.bidi.modules.browsing_context.BrowsingContext object at 0x7f079854b3c8>
[task 2022-05-14T10:56:08.729Z] 10:56:08     INFO - kwargs = {'context': '0a10a972-dd5d-4561-b618-f9fc0de36fe3', 'url': 'http://:invalid'}
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - params = {'context': '0a10a972-dd5d-4561-b618-f9fc0de36fe3', 'url': 'http://:invalid'}
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - mod_name = 'browsingContext', cmd_name = 'browsingContext.navigate'
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - future = <Future finished exception=UnknownErrorException(unknown error, AbortError: Actor 'MessageHandlerFrame' destroyed before query 'MessageHandlerFrameParent:sendCommand' was resolved, )>
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - 
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -     @functools.wraps(params_fn)
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -     async def inner(self: Any, **kwargs: Any) -> Any:
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -         params = params_fn(self, **kwargs)
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -     
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -         # Convert the classname and the method name to a bidi command name
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -         mod_name = owner.__name__[0].lower() + owner.__name__[1:]
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -         if hasattr(owner, "prefix"):
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -             mod_name = f"{owner.prefix}:{mod_name}"
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -         cmd_name = f"{mod_name}.{to_camelcase(name)}"
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -     
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO -         future = await self.session.send_command(cmd_name, params)
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - >       result = await future
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - E       webdriver.bidi.error.UnknownErrorException: unknown error (AbortError: Actor 'MessageHandlerFrame' destroyed before query 'MessageHandlerFrameParent:sendCommand' was resolved)
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - 
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - cmd_name   = 'browsingContext.navigate'
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - future     = <Future finished exception=UnknownErrorException(unknown error, AbortError: Actor 'MessageHandlerFrame' destroyed before query 'MessageHandlerFrameParent:sendCommand' was resolved, )>
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - kwargs     = {'context': '0a10a972-dd5d-4561-b618-f9fc0de36fe3', 'url': 'http://:invalid'}
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - mod_name   = 'browsingContext'
[task 2022-05-14T10:56:08.730Z] 10:56:08     INFO - name       = 'navigate'
[task 2022-05-14T10:56:08.731Z] 10:56:08     INFO - owner      = <class 'webdriver.bidi.modules.browsing_context.BrowsingContext'>
[task 2022-05-14T10:56:08.731Z] 10:56:08     INFO - params     = {'context': '0a10a972-dd5d-4561-b618-f9fc0de36fe3', 'url': 'http://:invalid'}
[task 2022-05-14T10:56:08.731Z] 10:56:08     INFO - params_fn  = <function BrowsingContext.navigate at 0x7f07a8e55f28>
[task 2022-05-14T10:56:08.731Z] 10:56:08     INFO - result_fn  = <function BrowsingContext._navigate at 0x7f07a8e60048>
[task 2022-05-14T10:56:08.731Z] 10:56:08     INFO - self       = <webdriver.bidi.modules.browsing_context.BrowsingContext object at 0x7f079854b3c8>
[task 2022-05-14T10:56:08.731Z] 10:56:08     INFO - 
[task 2022-05-14T10:56:08.731Z] 10:56:08     INFO - tests/web-platform/tests/tools/webdriver/webdriver/bidi/modules/_module.py:62: UnknownErrorException
[task 2022-05-14T10:56:08.733Z] 10:56:08     INFO - .......
[task 2022-05-14T10:56:08.733Z] 10:56:08     INFO - TEST-OK | /webdriver/tests/bidi/browsing_context/navigate/invalid.py | took 12576ms
[task 2022-05-14T10:56:08.735Z] 10:56:08     INFO - PID 1381 | 1652525768708	webdriver::server	DEBUG	-> GET /status
[task 2022-05-14T10:56:08.735Z] 10:56:08     INFO - PID 1381 | 1652525768708	webdriver::server	DEBUG	<- 200 OK {"value":{"message":"","ready":true}}
[task 2022-05-14T10:56:08.778Z] 10:56:08     INFO - STDOUT: owner      = <class 'webdriver.bidi.modules.browsing_context.BrowsingContext'>
[task 2022-05-14T10:56:08.782Z] 10:56:08     INFO - STDOUT: params     = {'context': '0a10a972-dd5d-4561-b618-f9fc0de36fe3', 'url': 'http://:invalid'}
[task 2022-05-14T10:56:08.782Z] 10:56:08     INFO - STDOUT: params_fn  = <function BrowsingContext.navigate at 0x7f07a8e55f28>
[task 2022-05-14T10:56:08.782Z] 10:56:08     INFO - STDOUT: result_fn  = <function BrowsingContext._navigate at 0x7f07a8e60048>
[task 2022-05-14T10:56:08.782Z] 10:56:08     INFO - STDOUT: self       = <webdriver.bidi.modules.browsing_context.BrowsingContext object at 0x7f079854b3c8>
[task 2022-05-14T10:56:08.782Z] 10:56:08     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/bidi/modules/_module.py
[task 2022-05-14T10:56:08.782Z] 10:56:08     INFO - STDOUT: :62: UnknownErrorException
[task 2022-05-14T10:56:08.783Z] 10:56:08     INFO - STDOUT: =========================== short test summary info ============================
[task 2022-05-14T10:56:08.783Z] 10:56:08     INFO - STDOUT: FAILED tests/web-platform/tests/webdriver/tests/bidi/browsing_context/navigate/invalid.py::test_params_url_invalid_value[http://:invalid]
[task 2022-05-14T10:56:08.783Z] 10:56:08     INFO - STDOUT: ======================== 1 failed, 19 passed in 12.52s =========================
[task 2022-05-14T10:56:08.783Z] 10:56:08     INFO - Closing logging queue
[task 2022-05-14T10:56:08.783Z] 10:56:08     INFO - queue closed
[task 2022-05-14T10:56:08.787Z] 10:56:08     INFO - PID 4827 | 1652525768786	geckodriver	INFO	Listening on 127.0.0.1:57361
[task 2022-05-14T10:56:08.788Z] 10:56:08     INFO - Starting runner
Summary: Intermittent /webdriver/tests/bidi/browsing_context/navigate/invalid.py | test_params_url_invalid_value[http://:invalid] - webdriver.bidi.error.UnknownErrorException: unknown error (AbortError: Actor 'MessageHandlerFrame' destroyed → Intermittent [tier2] /webdriver/tests/bidi/browsing_context/navigate/invalid.py | test_params_url_invalid_value[http://:invalid] - webdriver.bidi.error.UnknownErrorException: unknown error (AbortError: Actor 'MessageHandlerFrame' destroyed
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
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.