phabricator D199070 #44120
Closed
phabricator D199070 #44120
Community-TC Integration / wpt-firefox-nightly-results
succeeded
Jan 23, 2024 in 4m 53s
Community-TC (pull_request)
Collect results for all tests affected by a pull request in firefox.
Details
View task in Taskcluster
View logs in Taskcluster
WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox
domain_value = <function domain_value.<locals>.domain_value at 0x7ff578f5bca0>
inline = <function inline.<locals>.inline at 0x7ff578f62790>
new_tab = {'context': '0dc74dd7-52d7-41c7-b0e2-2ec618da6185'}
origin = <function origin.<locals>.origin at 0x7ff578f5b820>
protocol = 'http'
source_origin_1 = 'http://not-web-platform.test'
source_origin_2 = 'http://web-platform.test'
top_context = {'children': [],
'context': '0ed06875-f1c0-40df-bf77-5c7742b33422',
'parent': None,
'url': 'https://not-web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'}
url_1 = 'http://not-web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Efoo%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'
url_2 = 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'
webdriver/tests/bidi/storage/get_cookies/partition.py:200:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <webdriver.bidi.modules.storage.Storage object at 0x7ff578d3bd00>
kwargs = {'partition': {'type': 'storageKey', 'sourceOrigin': 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'}}
raw_result = False
params = {'partition': {'type': 'storageKey', 'sourceOrigin': 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'}}
mod_name = 'storage', cmd_name = 'storage.getCookies'
future = <[AttributeError("'UnknownCommandException' object has no attribute 'error'") raised in repr()] Future object at 0x7ff578e816c0>
@functools.wraps(params_fn)
async def inner(self: Any, **kwargs: Any) -> Any:
raw_result = kwargs.pop("raw_result", False)
params = remove_undefined(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.UnknownCommandException: unknown command (storage.getCookies)
E
E Remote-end stacktrace:
E
E RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
E WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:191:5
E UnknownCommandError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:784:5
E execute@chrome://remote/content/shared/webdriver/Session.sys.mjs:271:13
E onPacket@chrome://remote/content/webdriver-bidi/WebDriverBiDiConnection.sys.mjs:211:37
E onMessage@chrome://remote/content/server/WebSocketTransport.sys.mjs:127:18
E handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14
cmd_name = 'storage.getCookies'
future = <[AttributeError("'UnknownCommandException' object has no attribute 'error'") raised in repr()] Future object at 0x7ff578e816c0>
kwargs = {'partition': {'sourceOrigin': 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8',
'type': 'storageKey'}}
mod_name = 'storage'
name = 'get_cookies'
owner = <class 'webdriver.bidi.modules.storage.Storage'>
params = {'partition': {'sourceOrigin': 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8',
'type': 'storageKey'}}
params_fn = <function Storage.get_cookies at 0x7ff579b88820>
raw_result = False
result_fn = None
self = <webdriver.bidi.modules.storage.Storage object at 0x7ff578d3bd00>
tools/webdriver/webdriver/bidi/modules/_module.py:76: UnknownCommandException
FAIL test_partition_source_origin[https] - webdriver.bidi.error.UnknownCommandException: unknown command (storage.getCookies)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7ff578f99310>
top_context = {'children': [], 'context': '0ed06875-f1c0-40df-bf77-5c7742b33422', 'parent': None, 'url': 'http://not-web-platform.te...e.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Efoo%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'}
new_tab = {'context': '3a0b6f90-7542-46ec-bd17-ae2d50dfbd94'}
inline = <function inline.<locals>.inline at 0x7ff578f1b700>
domain_value = <function domain_value.<locals>.domain_value at 0x7ff578f961f0>
origin = <function origin.<locals>.origin at 0x7ff578f7d5e0>, protocol = 'https'
@pytest.mark.parametrize(
"protocol",
[
"http",
"https",
],
)
async def test_partition_source_origin(
bidi_session, top_context, new_tab, inline, domain_value, origin, protocol
):
url_1 = inline("<div>foo</div>", domain="alt", protocol=protocol)
await bidi_session.browsing_context.navigate(
context=top_context["context"], url=url_1, wait="complete"
)
source_origin_1 = origin(protocol, "alt")
url_2 = inline("<div>bar</div>", protocol=protocol)
await bidi_session.browsing_context.navigate(
context=new_tab["context"], url=url_2, wait="complete"
)
source_origin_2 = origin(protocol)
cookie_name = "foo"
cookie_value = "bar"
await add_cookie(bidi_session, new_tab["context"], cookie_name, cookie_value)
# Check that added cookies are present on the right context
> cookies = await bidi_session.storage.get_cookies(
partition=StorageKeyPartitionDescriptor(source_origin=url_2)
)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7ff578f99310>
cookie_name = 'foo'
cookie_value = 'bar'
domain_value = <function domain_value.<locals>.domain_value at 0x7ff578f961f0>
inline = <function inline.<locals>.inline at 0x7ff578f1b700>
new_tab = {'context': '3a0b6f90-7542-46ec-bd17-ae2d50dfbd94'}
origin = <function origin.<locals>.origin at 0x7ff578f7d5e0>
protocol = 'https'
source_origin_1 = 'https://not-web-platform.test'
source_origin_2 = 'https://web-platform.test'
top_context = {'children': [],
'context': '0ed06875-f1c0-40df-bf77-5c7742b33422',
'parent': None,
'url': 'http://not-web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Efoo%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'}
url_1 = 'https://not-web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Efoo%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'
url_2 = 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'
webdriver/tests/bidi/storage/get_cookies/partition.py:200:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <webdriver.bidi.modules.storage.Storage object at 0x7ff578d3bd00>
kwargs = {'partition': {'type': 'storageKey', 'sourceOrigin': 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'}}
raw_result = False
params = {'partition': {'type': 'storageKey', 'sourceOrigin': 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8'}}
mod_name = 'storage', cmd_name = 'storage.getCookies'
future = <[AttributeError("'UnknownCommandException' object has no attribute 'error'") raised in repr()] Future object at 0x7ff578e73940>
@functools.wraps(params_fn)
async def inner(self: Any, **kwargs: Any) -> Any:
raw_result = kwargs.pop("raw_result", False)
params = remove_undefined(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.UnknownCommandException: unknown command (storage.getCookies)
E
E Remote-end stacktrace:
E
E RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
E WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:191:5
E UnknownCommandError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:784:5
E execute@chrome://remote/content/shared/webdriver/Session.sys.mjs:271:13
E onPacket@chrome://remote/content/webdriver-bidi/WebDriverBiDiConnection.sys.mjs:211:37
E onMessage@chrome://remote/content/server/WebSocketTransport.sys.mjs:127:18
E handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14
cmd_name = 'storage.getCookies'
future = <[AttributeError("'UnknownCommandException' object has no attribute 'error'") raised in repr()] Future object at 0x7ff578e73940>
kwargs = {'partition': {'sourceOrigin': 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8',
'type': 'storageKey'}}
mod_name = 'storage'
name = 'get_cookies'
owner = <class 'webdriver.bidi.modules.storage.Storage'>
params = {'partition': {'sourceOrigin': 'https://web-platform.test:8443/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cdiv%3Ebar%3C%2Fdiv%3E&mime=text%2Fhtml&charset=UTF-8',
'type': 'storageKey'}}
params_fn = <function Storage.get_cookies at 0x7ff579b88820>
raw_result = False
result_fn = None
self = <webdriver.bidi.modules.storage.Storage object at 0x7ff578d3bd00>
tools/webdriver/webdriver/bidi/modules/_module.py:76: UnknownCommandException
/webdriver/tests/bidi/storage/get_cookies/partition_invalid.py
FAIL test_partition_invalid_context - webdriver.bidi.error.UnknownCommandException: unknown command (storage.getCookies)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7ff578e296a0>
async def test_partition_invalid_context(bidi_session):
with pytest.raises(error.NoSuchFrameException):
> await bidi_session.storage.get_cookies(
partition=BrowsingContextPartitionDescriptor("foo")
)
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7ff578e296a0>
webdriver/tests/bidi/storage/get_cookies/partition_invalid.py:11:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <webdriver.bidi.modules.storage.Storage object at 0x7ff578e29e80>
kwargs = {'partition': {'type': 'context', 'context': 'foo'}}
raw_result = False
params = {'partition': {'type': 'context', 'context': 'foo'}}
mod_name = 'storage', cmd_name = 'storage.getCookies'
future = <[AttributeError("'UnknownCommandException' object has no attribute 'error'") raised in repr()] Future object at 0x7ff578d93bc0>
@functools.wraps(params_fn)
async def inner(self: Any, **kwargs: Any) -> Any:
raw_result = kwargs.pop("raw_result", False)
params = remove_undefined(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.UnknownCommandException: unknown command (storage.getCookies)
E
E Remote-end stacktrace:
E
E RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
E WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:191:5
E UnknownCommandError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:784:5
E execute@chrome://remote/content/shared/webdriver/Session.sys.mjs:271:13
E onPacket@chrome://remote/content/webdriver-bidi/WebDriverBiDiConnection.sys.mjs:211:37
E onMessage@chrome://remote/content/server/WebSocketTransport.sys.mjs:127:18
E handleEvent@chrome://remote/content/server/WebSocketTransport.sys.mjs:109:14
cmd_name = 'storage.getCookies'
future = <[AttributeError("'UnknownCommandException' object has no attribute 'error'") raised in repr()] Future object at 0x7ff578d93bc0>
kwargs = {'partition': {'context': 'foo', 'type': 'context'}}
mod_name = 'storage'
name = 'get_cookies'
owner = <class 'webdriver.bidi.modules.storage.Storage'>
params = {'partition': {'context': 'foo', 'type': 'context'}}
params_fn = <function Storage.get_cookies at 0x7ff579b88820>
raw_result = False
result_fn = None
self = <webdriver.bidi.modules.storage.Storage object at 0x7ff578e29e80>
tools/webdriver/webdriver/bidi/modules/_module.py:76: UnknownCommandException
0:53.29 INFO Got 4 unexpected results, with 0 unexpected passes
0:53.29 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
0:53.36 wptserve INFO Stopped http server on 127.0.0.1:8000
0:53.40 wptserve INFO Stopped http server on 127.0.0.1:8001
0:53.40 wptserve INFO Stopped http server on 127.0.0.1:8444
0:53.40 wptserve INFO Stopped http server on 127.0.0.1:8445
0:53.40 wptserve INFO Stopped http server on 127.0.0.1:8002
0:53.41 wptserve INFO Stopped http server on 127.0.0.1:8446
0:53.41 wptserve INFO Stopped http server on 127.0.0.1:8003
0:53.41 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:53.41 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:53.42 wptserve INFO Stopped http server on 127.0.0.1:9000
0:53.58 wptserve INFO Stopped http server on 127.0.0.1:8443
0:53.61 INFO Removed font: Ahem.ttf
0:53.63 INFO Closing logging queue
0:53.63 INFO queue closed
0:53.63 INFO Tolerating 4 unexpected results
[taskcluster 2024-01-23 08:41:34.109Z] === Task Finished ===
[taskcluster 2024-01-23 08:41:34.707Z] Successful task run with exit code: 0 completed in 195.422 seconds
Loading