Closed
Bug 1831245
Opened 2 years ago
Closed 2 years ago
Intermittent [tier 2] /webdriver/tests/bidi/network/response_started/response_started.py | test_response_status[303-See Other] - webdriver.bidi.modules.script.ScriptEvaluateResultException: Script execution failed.
Categories
(Remote Protocol :: WebDriver BiDi, defect, P5)
Remote Protocol
WebDriver BiDi
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1830616
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=414586418&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cj3QfxTLQOWHnN9PD1NV2Q/runs/0/artifacts/public/logs/live_backing.log
[task 2023-05-04T04:08:12.438Z] 04:08:12 INFO - TEST-PASS | /webdriver/tests/bidi/network/response_started/response_started.py | test_response_status[302-Found]
[task 2023-05-04T04:08:12.438Z] 04:08:12 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/network/response_started/response_started.py | test_response_status[303-See Other] - webdriver.bidi.modules.script.ScriptEvaluateResultException: Script execution failed.
[task 2023-05-04T04:08:12.438Z] 04:08:12 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x0000024105438040>
[task 2023-05-04T04:08:12.438Z] 04:08:12 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x0000024105731820>
[task 2023-05-04T04:08:12.438Z] 04:08:12 INFO - url = <function url.<locals>.url at 0x00000241057315E0>
[task 2023-05-04T04:08:12.438Z] 04:08:12 INFO - fetch = <function fetch.<locals>.fetch at 0x0000024105731700>
[task 2023-05-04T04:08:12.438Z] 04:08:12 INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x0000024105731B80>
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - status = 303, status_text = 'See Other'
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - @pytest.mark.parametrize(
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - "status, status_text",
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - HTTP_STATUS_AND_STATUS_TEXT,
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - )
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - @pytest.mark.asyncio
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - async def test_response_status(
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - bidi_session, wait_for_event, url, fetch, setup_network_test, status, status_text
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - ):
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - status_url = url(f"/webdriver/tests/support/http_handlers/status.py?status={status}&nocache={RESPONSE_STARTED_EVENT}")
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - network_events = await setup_network_test(events=[RESPONSE_STARTED_EVENT])
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - events = network_events[RESPONSE_STARTED_EVENT]
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - on_response_started = wait_for_event(RESPONSE_STARTED_EVENT)
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO - > await fetch(status_url)
[task 2023-05-04T04:08:12.439Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x0000024105438040>
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - events = []
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - fetch = <function fetch.<locals>.fetch at 0x0000024105731700>
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - network_events = {'network.responseStarted': []}
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - on_response_started = <Future pending>
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x0000024105731B80>
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - status = 303
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - status_text = 'See Other'
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - status_url = 'http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=303&nocache=network.responseStarted'
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - url = <function url.<locals>.url at 0x00000241057315E0>
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x0000024105731820>
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - tests\web-platform\tests\webdriver\tests\bidi\network\response_started\response_started.py:123:
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - tests\web-platform\tests\webdriver\tests\bidi\network\conftest.py:30: in fetch
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - await bidi_session.script.evaluate(
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x0000024105438040>
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'args': ['--profile',
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - 'C:\\Users\\task_168317199313568\\AppData\\Local\\Temp\\tmpoebih3eo.mozrunner'],
[task 2023-05-04T04:08:12.440Z] 04:08:12 INFO - 'binary': 'Z:\\task_168317199313568\\build\\application\\firefox\\firefox.exe'}},
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'host': '127.0.0.1',
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'port': 53403,
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'timeout_multiplier': 1,
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'webdriver': {'args': ['-vv'],
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'binary': 'Z:\\task_168317199313568\\fetches\\geckodriver.exe'}}
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - context = {'children': [],
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'context': '1907ff9b-6f09-42fa-bda6-d0e782e9b6b2',
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'parent': None,
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - headers = None
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - headers_arg = ''
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - method = 'GET'
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - method_arg = "method: 'GET',"
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - timeout_in_seconds = 1
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - url = 'http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=303&nocache=network.responseStarted'
[task 2023-05-04T04:08:12.441Z] 04:08:12 INFO - tests\web-platform\tests\tools\webdriver\webdriver\bidi\modules\_module.py:76: in inner
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - result = result_fn(self, result)
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - cmd_name = 'script.evaluate'
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - future = <Future finished result={'exceptionDetails': {'columnNumber': 22, 'exception': {'type': 'error'}, 'lineNumber': 8, 'stackTrace': {'callFrames': [{'columnNumber': 22, 'functionName': '', 'lineNumber': 8, 'url': 'http://web-p...rt/empty.html'}]}, ...}, 'realm': 'fffc63ef-66c...-613753643dc8', 'type': 'exception'}>
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - kwargs = {'await_promise': True,
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - 'expression': '\n'
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - ' {\n'
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - ' const controller = new AbortController();\n'
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - ' setTimeout(() => controller.abort(), '
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - '1000);\n'
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - ' '
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - 'fetch("http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=303&nocache=network.responseStarted", '
[task 2023-05-04T04:08:12.442Z] 04:08:12 INFO - '{\n'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - " method: 'GET',\n"
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - ' \n'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - ' signal: controller.signal\n'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - ' }).then(response => response.text());\n'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - ' }',
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - 'target': {'context': '1907ff9b-6f09-42fa-bda6-d0e782e9b6b2'}}
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - mod_name = 'script'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - name = 'evaluate'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - owner = <class 'webdriver.bidi.modules.script.Script'>
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - params = {'awaitPromise': True,
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - 'expression': '\n'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - ' {\n'
[task 2023-05-04T04:08:12.443Z] 04:08:12 INFO - ' const controller = new AbortController();\n'
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - ' setTimeout(() => controller.abort(), '
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - '1000);\n'
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - ' '
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - 'fetch("http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=303&nocache=network.responseStarted", '
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - '{\n'
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - " method: 'GET',\n"
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - ' \n'
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - ' signal: controller.signal\n'
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - ' }).then(response => response.text());\n'
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - ' }',
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - 'target': {'context': '1907ff9b-6f09-42fa-bda6-d0e782e9b6b2'}}
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - params_fn = <function Script.evaluate at 0x0000024102AF2C10>
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - raw_result = False
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - result = {'exceptionDetails': {'columnNumber': 22,
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - 'exception': {'type': 'error'},
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - 'stackTrace': {'callFrames': [{'columnNumber': 22,
[task 2023-05-04T04:08:12.444Z] 04:08:12 INFO - 'functionName': '',
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}]},
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - 'text': 'AbortError: The operation was aborted. '},
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - 'realm': 'fffc63ef-66c0-41fb-8601-613753643dc8',
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - 'type': 'exception'}
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - result_fn = <function Script._evaluate at 0x0000024102AF2CA0>
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - self = <webdriver.bidi.modules.script.Script object at 0x0000024105488610>
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - self = <webdriver.bidi.modules.script.Script object at 0x0000024105488610>
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - result = {'exceptionDetails': {'columnNumber': 22, 'exception': {'type': 'error'}, 'lineNumber': 8, 'stackTrace': {'callFrames'.../tests/bidi/network/support/empty.html'}]}, ...}, 'realm': 'fffc63ef-66c0-41fb-8601-613753643dc8', 'type': 'exception'}
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - @evaluate.result
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - def _evaluate(self, result: Mapping[str, Any]) -> Any:
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - assert "type" in result
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - if result["type"] == "success":
[task 2023-05-04T04:08:12.445Z] 04:08:12 INFO - return result["result"]
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - elif result["type"] == "exception":
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - > raise ScriptEvaluateResultException(result)
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - E webdriver.bidi.modules.script.ScriptEvaluateResultException: Script execution failed.
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - result = {'exceptionDetails': {'columnNumber': 22,
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - 'exception': {'type': 'error'},
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - 'stackTrace': {'callFrames': [{'columnNumber': 22,
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - 'functionName': '',
[task 2023-05-04T04:08:12.446Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.447Z] 04:08:12 INFO - 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}]},
[task 2023-05-04T04:08:12.447Z] 04:08:12 INFO - 'text': 'AbortError: The operation was aborted. '},
[task 2023-05-04T04:08:12.447Z] 04:08:12 INFO - 'realm': 'fffc63ef-66c0-41fb-8601-613753643dc8',
[task 2023-05-04T04:08:12.447Z] 04:08:12 INFO - 'type': 'exception'}
[task 2023-05-04T04:08:12.447Z] 04:08:12 INFO - self = <webdriver.bidi.modules.script.Script object at 0x0000024105488610>
[task 2023-05-04T04:08:12.447Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.447Z] 04:08:12 INFO - tests\web-platform\tests\tools\webdriver\webdriver\bidi\modules\script.py:157: ScriptEvaluateResultException
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/network/response_started/response_started.py | test_response_status[305-Use Proxy] - webdriver.bidi.modules.script.ScriptEvaluateResultException: Script execution failed.
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x0000024105438040>
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x00000241056A20D0>
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - url = <function url.<locals>.url at 0x00000241056A2940>
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - fetch = <function fetch.<locals>.fetch at 0x00000241056A2700>
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x0000024105701280>
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - status = 305, status_text = 'Use Proxy'
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - @pytest.mark.parametrize(
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - "status, status_text",
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - HTTP_STATUS_AND_STATUS_TEXT,
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - )
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - @pytest.mark.asyncio
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - async def test_response_status(
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - bidi_session, wait_for_event, url, fetch, setup_network_test, status, status_text
[task 2023-05-04T04:08:12.457Z] 04:08:12 INFO - ):
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - status_url = url(f"/webdriver/tests/support/http_handlers/status.py?status={status}&nocache={RESPONSE_STARTED_EVENT}")
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - network_events = await setup_network_test(events=[RESPONSE_STARTED_EVENT])
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - events = network_events[RESPONSE_STARTED_EVENT]
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - on_response_started = wait_for_event(RESPONSE_STARTED_EVENT)
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - > await fetch(status_url)
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x0000024105438040>
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - events = []
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - fetch = <function fetch.<locals>.fetch at 0x00000241056A2700>
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - network_events = {'network.responseStarted': []}
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - on_response_started = <Future pending>
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x0000024105701280>
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - status = 305
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - status_text = 'Use Proxy'
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - status_url = 'http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=305&nocache=network.responseStarted'
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - url = <function url.<locals>.url at 0x00000241056A2940>
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x00000241056A20D0>
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.458Z] 04:08:12 INFO - tests\web-platform\tests\webdriver\tests\bidi\network\response_started\response_started.py:123:
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - tests\web-platform\tests\webdriver\tests\bidi\network\conftest.py:30: in fetch
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - await bidi_session.script.evaluate(
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x0000024105438040>
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'args': ['--profile',
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'C:\\Users\\task_168317199313568\\AppData\\Local\\Temp\\tmpoebih3eo.mozrunner'],
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'binary': 'Z:\\task_168317199313568\\build\\application\\firefox\\firefox.exe'}},
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'host': '127.0.0.1',
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'port': 53403,
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'timeout_multiplier': 1,
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'webdriver': {'args': ['-vv'],
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'binary': 'Z:\\task_168317199313568\\fetches\\geckodriver.exe'}}
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - context = {'children': [],
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'context': '1907ff9b-6f09-42fa-bda6-d0e782e9b6b2',
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'parent': None,
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - headers = None
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - headers_arg = ''
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - method = 'GET'
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - method_arg = "method: 'GET',"
[task 2023-05-04T04:08:12.459Z] 04:08:12 INFO - timeout_in_seconds = 1
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - url = 'http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=305&nocache=network.responseStarted'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - tests\web-platform\tests\tools\webdriver\webdriver\bidi\modules\_module.py:76: in inner
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - result = result_fn(self, result)
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - cmd_name = 'script.evaluate'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - future = <Future finished result={'exceptionDetails': {'columnNumber': 22, 'exception': {'type': 'error'}, 'lineNumber': 8, 'stackTrace': {'callFrames': [{'columnNumber': 22, 'functionName': '', 'lineNumber': 8, 'url': 'http://web-p...rt/empty.html'}]}, ...}, 'realm': '62808378-229...-5d6357998d3e', 'type': 'exception'}>
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - kwargs = {'await_promise': True,
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - 'expression': '\n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' {\n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' const controller = new AbortController();\n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' setTimeout(() => controller.abort(), '
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - '1000);\n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' '
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - 'fetch("http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=305&nocache=network.responseStarted", '
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - '{\n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - " method: 'GET',\n"
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' \n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' signal: controller.signal\n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' }).then(response => response.text());\n'
[task 2023-05-04T04:08:12.460Z] 04:08:12 INFO - ' }',
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - 'target': {'context': '1907ff9b-6f09-42fa-bda6-d0e782e9b6b2'}}
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - mod_name = 'script'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - name = 'evaluate'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - owner = <class 'webdriver.bidi.modules.script.Script'>
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - params = {'awaitPromise': True,
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - 'expression': '\n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' {\n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' const controller = new AbortController();\n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' setTimeout(() => controller.abort(), '
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - '1000);\n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' '
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - 'fetch("http://web-platform.test:8000/webdriver/tests/support/http_handlers/status.py?status=305&nocache=network.responseStarted", '
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - '{\n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - " method: 'GET',\n"
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' \n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' signal: controller.signal\n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' }).then(response => response.text());\n'
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - ' }',
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - 'target': {'context': '1907ff9b-6f09-42fa-bda6-d0e782e9b6b2'}}
[task 2023-05-04T04:08:12.461Z] 04:08:12 INFO - params_fn = <function Script.evaluate at 0x0000024102AF2C10>
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - raw_result = False
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - result = {'exceptionDetails': {'columnNumber': 22,
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'exception': {'type': 'error'},
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'stackTrace': {'callFrames': [{'columnNumber': 22,
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'functionName': '',
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}]},
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'text': 'AbortError: The operation was aborted. '},
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'realm': '62808378-229f-45cd-9512-5d6357998d3e',
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - 'type': 'exception'}
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - result_fn = <function Script._evaluate at 0x0000024102AF2CA0>
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - self = <webdriver.bidi.modules.script.Script object at 0x0000024105488610>
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - self = <webdriver.bidi.modules.script.Script object at 0x0000024105488610>
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - result = {'exceptionDetails': {'columnNumber': 22, 'exception': {'type': 'error'}, 'lineNumber': 8, 'stackTrace': {'callFrames'.../tests/bidi/network/support/empty.html'}]}, ...}, 'realm': '62808378-229f-45cd-9512-5d6357998d3e', 'type': 'exception'}
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.462Z] 04:08:12 INFO - @evaluate.result
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - def _evaluate(self, result: Mapping[str, Any]) -> Any:
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - assert "type" in result
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - if result["type"] == "success":
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - return result["result"]
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - elif result["type"] == "exception":
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - > raise ScriptEvaluateResultException(result)
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - E webdriver.bidi.modules.script.ScriptEvaluateResultException: Script execution failed.
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.463Z] 04:08:12 INFO - result = {'exceptionDetails': {'columnNumber': 22,
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'exception': {'type': 'error'},
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'stackTrace': {'callFrames': [{'columnNumber': 22,
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'functionName': '',
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'lineNumber': 8,
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}]},
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'text': 'AbortError: The operation was aborted. '},
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'realm': '62808378-229f-45cd-9512-5d6357998d3e',
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - 'type': 'exception'}
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - self = <webdriver.bidi.modules.script.Script object at 0x0000024105488610>
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO -
[task 2023-05-04T04:08:12.464Z] 04:08:12 INFO - tests\web-platform\tests\tools\webdriver\webdriver\bidi\modules\script.py:157: ScriptEvaluateResultException
<...>
[task 2023-05-04T04:08:12.547Z] 04:08:12 INFO - .........................
[task 2023-05-04T04:08:12.547Z] 04:08:12 INFO - TEST-OK | /webdriver/tests/bidi/network/response_started/response_started.py | took 13460ms
Comment 1•2 years ago
|
||
The failure here is caused by AbortError: The operation was aborted
.
You need to log in
before you can comment on or make changes to this bug.
Description
•