bidi: remove tlsEnd from network.FetchTimingInfo #40223
Merged
Community-TC Integration / wpt-chrome-dev-results-without-changes
succeeded
May 25, 2023 in 10m 2s
Community-TC (pull_request)
Collect results for all tests affected by a pull request in chrome but without the changes in the PR.
Details
View task in Taskcluster
View logs in Taskcluster
WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader chrome
events = ['network.responseStarted']
subscriptions = []
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <webdriver.bidi.modules.session.Session object at 0x7f967d241040>
kwargs = {'contexts': None, 'events': ['network.responseStarted']}
raw_result = False, params = {'events': ['network.responseStarted']}
mod_name = 'session', cmd_name = 'session.subscribe'
future = <[AttributeError("'InvalidArgumentException' object has no attribute 'error'") raised in repr()] Future object at 0x7f967d341bc0>
@functools.wraps(params_fn)
async def inner(self: Any, **kwargs: Any) -> Any:
raw_result = kwargs.pop("raw_result", False)
params = params_fn(self, **kwargs)
# Convert the classname and the method name to a bidi command name
mod_name = owner.__name__[0].lower() + owner.__name__[1:]
if hasattr(owner, "prefix"):
mod_name = f"{owner.prefix}:{mod_name}"
cmd_name = f"{mod_name}.{to_camelcase(name)}"
future = await self.session.send_command(cmd_name, params)
> result = await future
E webdriver.bidi.error.InvalidArgumentException: invalid argument (Invalid enum value. Expected 'browsingContext' | 'browsingContext.load' | 'browsingContext.domContentLoaded' | 'browsingContext.contextCreated' | 'browsingContext.contextDestroyed' | 'log' | 'log.entryAdded' | 'cdp' | 'cdp.eventReceived' | 'network' | 'network.beforeRequestSent' | 'network.responseCompleted' | 'network.fetchError' | 'script' | 'script.message', received 'network.responseStarted' in "events"/0.)
cmd_name = 'session.subscribe'
future = <[AttributeError("'InvalidArgumentException' object has no attribute 'error'") raised in repr()] Future object at 0x7f967d341bc0>
kwargs = {'contexts': None, 'events': ['network.responseStarted']}
mod_name = 'session'
name = 'subscribe'
owner = <class 'webdriver.bidi.modules.session.Session'>
params = {'events': ['network.responseStarted']}
params_fn = <function Session.subscribe at 0x7f967e4fbd30>
raw_result = False
result_fn = None
self = <webdriver.bidi.modules.session.Session object at 0x7f967d241040>
tools/webdriver/webdriver/bidi/modules/_module.py:72: InvalidArgumentException
FAIL test_cached_revalidate[HEAD] - webdriver.bidi.error.InvalidArgumentException: invalid argument (Invalid enum value. Expected 'browsingContext' | 'browsingContext.load' | 'browsingContext.domContentLoaded' | 'browsingContext.contextCreated' | 'browsingContext.contextDestroyed' | 'log' | 'log.entryAdded' | 'cdp' | 'cdp.eventReceived' | 'network' | 'network.beforeRequestSent' | 'network.responseCompleted' | 'network.fetchError' | 'script' | 'script.message', received 'network.responseStarted' in "events"/0.)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
top_context = {'children': [], 'context': '71C1703A2C14E5EAC3710B7D42523294', 'parent': None, 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f967d409160>
url = <function url.<locals>.url at 0x7f967d4091f0>
fetch = <function fetch.<locals>.fetch at 0x7f967d409280>
setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x7f967d447af0>
method = 'HEAD'
@pytest.mark.parametrize(
"method",
[
"GET",
"HEAD",
"OPTIONS",
],
)
@pytest.mark.asyncio
async def test_cached_revalidate(
bidi_session, top_context, wait_for_event, url, fetch, setup_network_test, method
):
> network_events = await setup_network_test(
events=[
"network.responseStarted",
]
)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
fetch = <function fetch.<locals>.fetch at 0x7f967d409280>
method = 'HEAD'
setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x7f967d447af0>
top_context = {'children': [],
'context': '71C1703A2C14E5EAC3710B7D42523294',
'parent': None,
'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
url = <function url.<locals>.url at 0x7f967d4091f0>
wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f967d409160>
webdriver/tests/bidi/network/response_started/response_started_cached.py:157:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
webdriver/tests/bidi/network/conftest.py:81: in _setup_network_test
await subscribe_events(events, contexts)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
contexts = None
events = ['network.responseStarted']
listeners = []
on_response_completed = <Future finished result={'context': '71C1703A2C14...10B7D42523294', 'navigation': '52FFAD0E7547...84288AEBAB86A', 'redirectCount': 0, 'request': {'bodySize': 0, 'cookies': [], 'headers': [{'name': 'Upgrade-Insecure-Requests', 'value': '1'}, {'name': 'User-Agent', 'value': 'Mozilla/5.0 ...Safari/537.36'}], 'headersSize': -1, ...}, ...}>
subscribe_events = <function subscribe_events.<locals>.subscribe_events at 0x7f967d46a790>
test_url = 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'
top_context = {'children': [],
'context': '71C1703A2C14E5EAC3710B7D42523294',
'parent': None,
'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f967d409160>
webdriver/tests/support/fixtures_bidi.py:44: in subscribe_events
await bidi_session.session.subscribe(events=events, contexts=contexts)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
contexts = None
events = ['network.responseStarted']
subscriptions = []
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <webdriver.bidi.modules.session.Session object at 0x7f967d241040>
kwargs = {'contexts': None, 'events': ['network.responseStarted']}
raw_result = False, params = {'events': ['network.responseStarted']}
mod_name = 'session', cmd_name = 'session.subscribe'
future = <[AttributeError("'InvalidArgumentException' object has no attribute 'error'") raised in repr()] Future object at 0x7f967d25b5c0>
@functools.wraps(params_fn)
async def inner(self: Any, **kwargs: Any) -> Any:
raw_result = kwargs.pop("raw_result", False)
params = params_fn(self, **kwargs)
# Convert the classname and the method name to a bidi command name
mod_name = owner.__name__[0].lower() + owner.__name__[1:]
if hasattr(owner, "prefix"):
mod_name = f"{owner.prefix}:{mod_name}"
cmd_name = f"{mod_name}.{to_camelcase(name)}"
future = await self.session.send_command(cmd_name, params)
> result = await future
E webdriver.bidi.error.InvalidArgumentException: invalid argument (Invalid enum value. Expected 'browsingContext' | 'browsingContext.load' | 'browsingContext.domContentLoaded' | 'browsingContext.contextCreated' | 'browsingContext.contextDestroyed' | 'log' | 'log.entryAdded' | 'cdp' | 'cdp.eventReceived' | 'network' | 'network.beforeRequestSent' | 'network.responseCompleted' | 'network.fetchError' | 'script' | 'script.message', received 'network.responseStarted' in "events"/0.)
cmd_name = 'session.subscribe'
future = <[AttributeError("'InvalidArgumentException' object has no attribute 'error'") raised in repr()] Future object at 0x7f967d25b5c0>
kwargs = {'contexts': None, 'events': ['network.responseStarted']}
mod_name = 'session'
name = 'subscribe'
owner = <class 'webdriver.bidi.modules.session.Session'>
params = {'events': ['network.responseStarted']}
params_fn = <function Session.subscribe at 0x7f967e4fbd30>
raw_result = False
result_fn = None
self = <webdriver.bidi.modules.session.Session object at 0x7f967d241040>
tools/webdriver/webdriver/bidi/modules/_module.py:72: InvalidArgumentException
FAIL test_cached_revalidate[OPTIONS] - webdriver.bidi.error.InvalidArgumentException: invalid argument (Invalid enum value. Expected 'browsingContext' | 'browsingContext.load' | 'browsingContext.domContentLoaded' | 'browsingContext.contextCreated' | 'browsingContext.contextDestroyed' | 'log' | 'log.entryAdded' | 'cdp' | 'cdp.eventReceived' | 'network' | 'network.beforeRequestSent' | 'network.responseCompleted' | 'network.fetchError' | 'script' | 'script.message', received 'network.responseStarted' in "events"/0.)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
top_context = {'children': [], 'context': '71C1703A2C14E5EAC3710B7D42523294', 'parent': None, 'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f967d221670>
url = <function url.<locals>.url at 0x7f967d221a60>
fetch = <function fetch.<locals>.fetch at 0x7f967d221160>
setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x7f967d614160>
method = 'OPTIONS'
@pytest.mark.parametrize(
"method",
[
"GET",
"HEAD",
"OPTIONS",
],
)
@pytest.mark.asyncio
async def test_cached_revalidate(
bidi_session, top_context, wait_for_event, url, fetch, setup_network_test, method
):
> network_events = await setup_network_test(
events=[
"network.responseStarted",
]
)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
fetch = <function fetch.<locals>.fetch at 0x7f967d221160>
method = 'OPTIONS'
setup_network_test = <function setup_network_test.<locals>._setup_network_test at 0x7f967d614160>
top_context = {'children': [],
'context': '71C1703A2C14E5EAC3710B7D42523294',
'parent': None,
'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
url = <function url.<locals>.url at 0x7f967d221a60>
wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f967d221670>
webdriver/tests/bidi/network/response_started/response_started_cached.py:157:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
webdriver/tests/bidi/network/conftest.py:81: in _setup_network_test
await subscribe_events(events, contexts)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
contexts = None
events = ['network.responseStarted']
listeners = []
on_response_completed = <Future finished result={'context': '71C1703A2C14...10B7D42523294', 'navigation': '795B6BB07D7F...62DB1F3F9FB02', 'redirectCount': 0, 'request': {'bodySize': 0, 'cookies': [], 'headers': [{'name': 'Upgrade-Insecure-Requests', 'value': '1'}, {'name': 'User-Agent', 'value': 'Mozilla/5.0 ...Safari/537.36'}], 'headersSize': -1, ...}, ...}>
subscribe_events = <function subscribe_events.<locals>.subscribe_events at 0x7f967d74dee0>
test_url = 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'
top_context = {'children': [],
'context': '71C1703A2C14E5EAC3710B7D42523294',
'parent': None,
'url': 'http://web-platform.test:8000/webdriver/tests/bidi/network/support/empty.html'}
wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7f967d221670>
webdriver/tests/support/fixtures_bidi.py:44: in subscribe_events
await bidi_session.session.subscribe(events=events, contexts=contexts)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7f967d241460>
contexts = None
events = ['network.responseStarted']
subscriptions = []
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <webdriver.bidi.modules.session.Session object at 0x7f967d241040>
kwargs = {'contexts': None, 'events': ['network.responseStarted']}
raw_result = False, params = {'events': ['network.responseStarted']}
mod_name = 'session', cmd_name = 'session.subscribe'
future = <[AttributeError("'InvalidArgumentException' object has no attribute 'error'") raised in repr()] Future object at 0x7f967d2dd9c0>
@functools.wraps(params_fn)
async def inner(self: Any, **kwargs: Any) -> Any:
raw_result = kwargs.pop("raw_result", False)
params = params_fn(self, **kwargs)
# Convert the classname and the method name to a bidi command name
mod_name = owner.__name__[0].lower() + owner.__name__[1:]
if hasattr(owner, "prefix"):
mod_name = f"{owner.prefix}:{mod_name}"
cmd_name = f"{mod_name}.{to_camelcase(name)}"
future = await self.session.send_command(cmd_name, params)
> result = await future
E webdriver.bidi.error.InvalidArgumentException: invalid argument (Invalid enum value. Expected 'browsingContext' | 'browsingContext.load' | 'browsingContext.domContentLoaded' | 'browsingContext.contextCreated' | 'browsingContext.contextDestroyed' | 'log' | 'log.entryAdded' | 'cdp' | 'cdp.eventReceived' | 'network' | 'network.beforeRequestSent' | 'network.responseCompleted' | 'network.fetchError' | 'script' | 'script.message', received 'network.responseStarted' in "events"/0.)
cmd_name = 'session.subscribe'
future = <[AttributeError("'InvalidArgumentException' object has no attribute 'error'") raised in repr()] Future object at 0x7f967d2dd9c0>
kwargs = {'contexts': None, 'events': ['network.responseStarted']}
mod_name = 'session'
name = 'subscribe'
owner = <class 'webdriver.bidi.modules.session.Session'>
params = {'events': ['network.responseStarted']}
params_fn = <function Session.subscribe at 0x7f967e4fbd30>
raw_result = False
result_fn = None
self = <webdriver.bidi.modules.session.Session object at 0x7f967d241040>
tools/webdriver/webdriver/bidi/modules/_module.py:72: InvalidArgumentException
1:29.81 INFO Got 6 unexpected results, with 0 unexpected passes
1:29.81 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
1:30.04 wptserve INFO Stopped http server on 127.0.0.1:8000
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:8002
1:30.19 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:9000
1:30.19 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:8444
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:8003
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:8445
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:8446
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:8001
1:30.19 wptserve INFO Stopped http server on 127.0.0.1:8443
1:30.33 INFO Removed font: Ahem.ttf
1:30.36 INFO Closing logging queue
1:30.36 INFO queue closed
1:30.36 INFO Tolerating 6 unexpected results
[taskcluster 2023-05-25 13:24:00.576Z] === Task Finished ===
[taskcluster 2023-05-25 13:24:02.105Z] Successful task run with exit code: 0 completed in 165.58 seconds
Loading