Closed Bug 1829122 Opened 3 years ago Closed 3 years ago

Intermittent /webdriver/tests/bidi/network/response_started/response_started.py | test_response_status[302-Found] - webdriver.bidi.error.UnknownErrorException: unknown error (TypeError: can't access property "column", stack is null)

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1828930

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2023-04-20T11:20:35.132Z] 11:20:35     INFO - TEST-PASS | /webdriver/tests/bidi/network/response_started/response_started.py | test_response_status[301-Moved Permanently] 
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/network/response_started/response_started.py | test_response_status[302-Found] - webdriver.bidi.error.UnknownErrorException: unknown error (TypeError: can't access property "column", stack is null)
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x000002238FC0C9A0>
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x000002238FC738B0>
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - url = <function url.<locals>.url at 0x000002238FC73670>
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - fetch = <function fetch.<locals>.fetch at 0x000002238FC73DC0>
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x000002238FC73F70>
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - status = 302, status_text = 'Found'
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO - 
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -     @pytest.mark.parametrize(
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -         "status, status_text",
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -         HTTP_STATUS_AND_STATUS_TEXT,
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -     )
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -     @pytest.mark.asyncio
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -     async def test_response_status(
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -         bidi_session, wait_for_event, url, fetch, setup_network_test, status, status_text
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -     ):
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -         status_url = url(f"/webdriver/tests/support/http_handlers/status.py?status={status}&nocache={RESPONSE_STARTED_EVENT}")
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -     
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -         network_events = await setup_network_test(events=[RESPONSE_STARTED_EVENT])
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -         events = network_events[RESPONSE_STARTED_EVENT]
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -     
[task 2023-04-20T11:20:35.133Z] 11:20:35     INFO -         on_response_started = wait_for_event(RESPONSE_STARTED_EVENT)
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - >       await fetch(status_url)
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - 
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x000002238FC0C9A0>
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - events     = []
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - fetch      = <function fetch.<locals>.fetch at 0x000002238FC73DC0>
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - network_events = {'network.responseStarted': []}
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - on_response_started = <Future pending>
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x000002238FC73F70>
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - status     = 302
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - status_text = 'Found'
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - status_url = 'http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=302&nocache=network.responseStarted'
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - url        = <function url.<locals>.url at 0x000002238FC73670>
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x000002238FC738B0>
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - 
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - tests\web-platform\tests\webdriver\tests\bidi\network\response_started\response_started.py:123: 
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO - tests\web-platform\tests\webdriver\tests\bidi\network\conftest.py:30: in fetch
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO -     await bidi_session.script.evaluate(
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO -         bidi_session = <webdriver.bidi.client.BidiSession object at 0x000002238FC0C9A0>
[task 2023-04-20T11:20:35.134Z] 11:20:35     INFO -         configuration = {'capabilities': {'moz:firefoxOptions': {'args': ['--profile',
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -                                                   'C:\\Users\\task_168198115391653\\AppData\\Local\\Temp\\tmppflpbfd3.mozrunner'],
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -                                          'binary': 'Z:\\task_168198115391653\\build\\application\\firefox\\firefox.exe'}},
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -  'host': '127.0.0.1',
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -  'port': 62712,
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -  'timeout_multiplier': 1,
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -  'webdriver': {'args': ['-vv'],
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -                'binary': 'Z:\\task_168198115391653\\fetches\\geckodriver.exe'}}
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -         context    = {'children': [],
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -  'context': 'e42e9cd0-c224-42e7-aa65-9088a9ec96a9',
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -  'parent': None,
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -  'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -         headers    = None
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -         headers_arg = ''
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -         method     = 'GET'
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -         method_arg = "method: 'GET',"
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -         timeout_in_seconds = 1
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO -         url        = 'http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=302&nocache=network.responseStarted'
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO - 
[task 2023-04-20T11:20:35.135Z] 11:20:35     INFO - self = <webdriver.bidi.modules.script.Script object at 0x000002238FC0CC70>
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - kwargs = {'await_promise': True, 'expression': '\n                 const controller = new AbortController();\n                 ...                 }).then(response => response.text());', 'target': {'context': 'e42e9cd0-c224-42e7-aa65-9088a9ec96a9'}}
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - raw_result = False
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - params = {'awaitPromise': True, 'expression': '\n                 const controller = new AbortController();\n                 s...                 }).then(response => response.text());', 'target': {'context': 'e42e9cd0-c224-42e7-aa65-9088a9ec96a9'}}
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - mod_name = 'script', cmd_name = 'script.evaluate'
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - future = <[AttributeError("'UnknownErrorException' object has no attribute 'error'") raised in repr()] Future object at 0x2238df45040>
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - 
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -     @functools.wraps(params_fn)
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -     async def inner(self: Any, **kwargs: Any) -> Any:
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -         raw_result = kwargs.pop("raw_result", False)
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -         params = params_fn(self, **kwargs)
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -     
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -         # Convert the classname and the method name to a bidi command name
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -         mod_name = owner.__name__[0].lower() + owner.__name__[1:]
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -         if hasattr(owner, "prefix"):
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -             mod_name = f"{owner.prefix}:{mod_name}"
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -         cmd_name = f"{mod_name}.{to_camelcase(name)}"
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -     
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO -         future = await self.session.send_command(cmd_name, params)
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - >       result = await future
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - E       webdriver.bidi.error.UnknownErrorException: unknown error (TypeError: can't access property "column", stack is null)
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - E       
[task 2023-04-20T11:20:35.136Z] 11:20:35     INFO - E       Remote-end stacktrace:
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       #buildExceptionDetails@chrome://remote/content/webdriver-bidi/modules/windowglobal/script.sys.mjs:100:7
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       #buildReturnValue@chrome://remote/content/webdriver-bidi/modules/windowglobal/script.sys.mjs:174:56
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       setTimeout handler*@http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html:3:28
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       executeInGlobal@chrome://remote/content/webdriver-bidi/Realm.sys.mjs:252:40
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       evaluateExpression@chrome://remote/content/webdriver-bidi/modules/windowglobal/script.sys.mjs:415:22
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       handleCommand@chrome://remote/content/shared/messagehandler/MessageHandler.sys.mjs:249:33
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - E       receiveMessage@chrome://remote/content/shared/messagehandler/transports/js-window-actors/MessageHandlerFrameChild.sys.mjs:57:37
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - 
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - cmd_name   = 'script.evaluate'
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - future     = <[AttributeError("'UnknownErrorException' object has no attribute 'error'") raised in repr()] Future object at 0x2238df45040>
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO - kwargs     = {'await_promise': True,
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -  'expression': '\n'
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                '                 const controller = new AbortController();\n'
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                '                 setTimeout(() => controller.abort(), 1000);\n'
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                '                 '
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                'fetch("http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=302&nocache=network.responseStarted", '
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                '{\n'
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                "                   method: 'GET',\n"
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                '                   \n'
[task 2023-04-20T11:20:35.137Z] 11:20:35     INFO -                '                   signal: controller.signal\n'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '                 }).then(response => response.text());',
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -  'target': {'context': 'e42e9cd0-c224-42e7-aa65-9088a9ec96a9'}}
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO - mod_name   = 'script'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO - name       = 'evaluate'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO - owner      = <class 'webdriver.bidi.modules.script.Script'>
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO - params     = {'awaitPromise': True,
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -  'expression': '\n'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '                 const controller = new AbortController();\n'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '                 setTimeout(() => controller.abort(), 1000);\n'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '                 '
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                'fetch("http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=302&nocache=network.responseStarted", '
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '{\n'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                "                   method: 'GET',\n"
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '                   \n'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '                   signal: controller.signal\n'
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -                '                 }).then(response => response.text());',
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO -  'target': {'context': 'e42e9cd0-c224-42e7-aa65-9088a9ec96a9'}}
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO - params_fn  = <function Script.evaluate at 0x000002238D382AF0>
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO - raw_result = False
[task 2023-04-20T11:20:35.138Z] 11:20:35     INFO - result_fn  = <function Script._evaluate at 0x000002238D382B80>
[task 2023-04-20T11:20:35.139Z] 11:20:35     INFO - self       = <webdriver.bidi.modules.script.Script object at 0x000002238FC0CC70>
[task 2023-04-20T11:20:35.139Z] 11:20:35     INFO - 
[task 2023-04-20T11:20:35.139Z] 11:20:35     INFO - tests\web-platform\tests\tools\webdriver\webdriver\bidi\modules\_module.py:72: UnknownErrorException
[task 2023-04-20T11:20:35.153Z] 11:20:35     INFO - ...............................
[task 2023-04-20T11:20:35.153Z] 11:20:35     INFO - TEST-OK | /webdriver/tests/bidi/network/response_started/response_started.py | took 6916ms
Status: NEW → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1828930
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.