Community-TC Integration / wpt-chrome-dev-wdspec-2
succeeded
Jan 15, 2024 in 16m 18s
Community-TC (push)
A subset of WPT's "wdspec" tests (chunk number 2 of 2), run in the dev release of chrome.
Details
View task in Taskcluster
View logs in Taskcluster
WPT Command: python3 ./wpt run --channel=dev --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --no-fail-on-unexpected --this-chunk=2 --total-chunks=2 --test-type=wdspec --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader chrome
webdriver/tests/classic/is_element_enabled/enabled.py:32:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response status=404 error=<NoSuchElementException http_status=404>>
error_code = 'no such window'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
assert response.status == errors[error_code]
assert "value" in response.body
> assert response.body["value"]["error"] == error_code
E AssertionError: assert 'no such element' == 'no such window'
E - no such window
E + no such element
error_code = 'no such window'
response = <Response status=404 error=<NoSuchElementException http_status=404>>
webdriver/tests/support/asserts.py:53: AssertionError
FAIL test_no_such_element_with_shadow_root - assert 200 == 404
session = <Session 6bbccdad152c34854294fada2acb5fe5>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7ff258e76160>
def test_no_such_element_with_shadow_root(session, get_test_page):
session.url = get_test_page()
element = session.find.css("custom-element", all=False)
result = is_element_enabled(session, element.shadow_root.id)
> assert_error(result, "no such element")
element = <WebElement f.13B2DDA68BA824DDE6027525BF43FB9C.d.D0B1EDB133B3AB25A91643CA4ED439E4.e.6>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7ff258e76160>
result = <Response: status=200 body={"value": true}>
session = <Session 6bbccdad152c34854294fada2acb5fe5>
webdriver/tests/classic/is_element_enabled/enabled.py:48:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response: status=200 body={"value": true}>
error_code = 'no such element'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
> assert response.status == errors[error_code]
E assert 200 == 404
E +200
E -404
error_code = 'no such element'
response = <Response: status=200 body={"value": true}>
webdriver/tests/support/asserts.py:51: AssertionError
/webdriver/tests/classic/new_session/default_values.py
FAIL test_repeat_new_session - assert 200 == 500
new_session = <function fixture_new_session.<locals>.new_session at 0x7ff258b773a0>
add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x7ff258b771f0>
def test_repeat_new_session(new_session, add_browser_capabilities):
response, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilities({})}})
assert_success(response)
response, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilities({})}})
> assert_error(response, "session not created")
_ = {'capabilities': {'acceptInsecureCerts': False,
'browserName': 'chrome',
'browserVersion': '122.0.6238.2',
'chrome': {'chromedriverVersion': '122.0.6238.2 '
'(34b83c624420b3f3436cdc9889b2b4ce0d020f00-refs/branch-heads/6238@{#5})',
'userDataDir': '/tmp/.org.chromium.Chromium.nodSQV'},
'fedcm:accounts': True,
'goog:chromeOptions': {'debuggerAddress': 'localhost:46531'},
'networkConnectionEnabled': False,
'pageLoadStrategy': 'normal',
'platformName': 'linux',
'proxy': {},
'setWindowRect': True,
'strictFileInteractability': False,
'timeouts': {'implicit': 0,
'pageLoad': 300000,
'script': 30000},
'unhandledPromptBehavior': 'dismiss and notify',
'webauthn:extension:credBlob': True,
'webauthn:extension:largeBlob': True,
'webauthn:extension:minPinLength': True,
'webauthn:extension:prf': True,
'webauthn:virtualAuthenticators': True},
'sessionId': '7b2a875b177cad6067388bd3c2bc4087'}
add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x7ff258b771f0>
new_session = <function fixture_new_session.<locals>.new_session at 0x7ff258b773a0>
response = <Response: status=200 body={"value": {"capabilities": {"acceptInsecureCerts": false, "browserName": "chrome", "browserVersion": "122.0.6238.2", "chrome": {"chromedriverVersion": "122.0.6238.2 (34b83c624420b3f3436cdc9889b2b4ce0d020f00-refs/branch-heads/6238@{#5})", "userDataDir": "/tmp/.org.chromium.Chromium.nodSQV"}, "fedcm:accounts": true, "goog:chromeOptions": {"debuggerAddress": "localhost:46531"}, "networkConnectionEnabled": false, "pageLoadStrategy": "normal", "platformName": "linux", "proxy": {}, "setWindowRect": true, "strictFileInteractability": false, "timeouts": {"implicit": 0, "pageLoad": 300000, "script": 30000}, "unhandledPromptBehavior": "dismiss and notify", "webauthn:extension:credBlob": true, "webauthn:extension:largeBlob": true, "webauthn:extension:minPinLength": true, "webauthn:extension:prf": true, "webauthn:virtualAuthenticators": true}, "sessionId": "7b2a875b177cad6067388bd3c2bc4087"}}>
webdriver/tests/classic/new_session/default_values.py:16:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response: status=200 body={"value": {"capabilities": {"acceptInsecureCerts": false, "browserName": "chrome", "browser...authn:extension:prf": true, "webauthn:virtualAuthenticators": true}, "sessionId": "7b2a875b177cad6067388bd3c2bc4087"}}>
error_code = 'session not created'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
> assert response.status == errors[error_code]
E assert 200 == 500
E +200
E -500
error_code = 'session not created'
response = <Response: status=200 body={"value": {"capabilities": {"acceptInsecureCerts": false, "browserName": "chrome", "browserVersion": "122.0.6238.2", "chrome": {"chromedriverVersion": "122.0.6238.2 (34b83c624420b3f3436cdc9889b2b4ce0d020f00-refs/branch-heads/6238@{#5})", "userDataDir": "/tmp/.org.chromium.Chromium.nodSQV"}, "fedcm:accounts": true, "goog:chromeOptions": {"debuggerAddress": "localhost:46531"}, "networkConnectionEnabled": false, "pageLoadStrategy": "normal", "platformName": "linux", "proxy": {}, "setWindowRect": true, "strictFileInteractability": false, "timeouts": {"implicit": 0, "pageLoad": 300000, "script": 30000}, "unhandledPromptBehavior": "dismiss and notify", "webauthn:extension:credBlob": true, "webauthn:extension:largeBlob": true, "webauthn:extension:minPinLength": true, "webauthn:extension:prf": true, "webauthn:virtualAuthenticators": true}, "sessionId": "7b2a875b177cad6067388bd3c2bc4087"}}>
webdriver/tests/support/asserts.py:51: AssertionError
/webdriver/tests/classic/release_actions/release.py
FAIL test_no_browsing_context - assert 200 == 404
session = <Session 80718c093755b73f9f9b111469909179>, closed_frame = None
def test_no_browsing_context(session, closed_frame):
response = release_actions(session)
> assert_error(response, "no such window")
closed_frame = None
response = <Response: status=200 body={"value": null}>
session = <Session 80718c093755b73f9f9b111469909179>
webdriver/tests/classic/release_actions/release.py:23:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response: status=200 body={"value": null}>
error_code = 'no such window'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
> assert response.status == errors[error_code]
E assert 200 == 404
E +200
E -404
error_code = 'no such window'
response = <Response: status=200 body={"value": null}>
webdriver/tests/support/asserts.py:51: AssertionError
/webdriver/tests/classic/status/status.py
FAIL test_status_with_session_running_on_endpoint_node - assert True is False
session = <Session 9c79ae3a8e77fec76c91a671667a7ef9>
def test_status_with_session_running_on_endpoint_node(session):
response = get_status(session)
value = assert_success(response)
> assert value["ready"] is False
E assert True is False
response = <Response: status=200 body={"value": {"build": {"version": "122.0.6238.2 (34b83c624420b3f3436cdc9889b2b4ce0d020f00-refs/branch-heads/6238@{#5})"}, "message": "ChromeDriver ready for new sessions.", "os": {"arch": "x86_64", "name": "Linux", "version": "5.15.0-1025-gcp"}, "ready": true}}>
session = <Session 9c79ae3a8e77fec76c91a671667a7ef9>
value = {'build': {'version': '122.0.6238.2 '
'(34b83c624420b3f3436cdc9889b2b4ce0d020f00-refs/branch-heads/6238@{#5})'},
'message': 'ChromeDriver ready for new sessions.',
'os': {'arch': 'x86_64', 'name': 'Linux', 'version': '5.15.0-1025-gcp'},
'ready': True}
webdriver/tests/classic/status/status.py:25: AssertionError
/webdriver/tests/classic/take_element_screenshot/screenshot.py
FAIL test_no_such_element_with_shadow_root - assert 500 == 404
session = <Session 46429f08fa1f1f353463625de7c0ff04>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7ff258294c10>
def test_no_such_element_with_shadow_root(session, get_test_page):
session.url = get_test_page()
element = session.find.css("custom-element", all=False)
result = take_element_screenshot(session, element.shadow_root.id)
> assert_error(result, "no such element")
element = <WebElement f.A28C640529F4ECCED768BE0BB69B18C5.d.A458D250DDF6C525C5A53D8568CB926D.e.6>
get_test_page = <function get_test_page.<locals>.get_test_page at 0x7ff258294c10>
result = <Response status=500 error=<JavascriptErrorException http_status=500>>
session = <Session 46429f08fa1f1f353463625de7c0ff04>
webdriver/tests/classic/take_element_screenshot/screenshot.py:48:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
response = <Response status=500 error=<JavascriptErrorException http_status=500>>
error_code = 'no such element'
def assert_error(response, error_code):
"""
Verify that the provided webdriver.Response instance described
a valid error response as defined by `dfn-send-an-error` and
the provided error code.
:param response: ``webdriver.Response`` instance.
:param error_code: String value of the expected error code
"""
> assert response.status == errors[error_code]
E assert 500 == 404
E +500
E -404
error_code = 'no such element'
response = <Response status=500 error=<JavascriptErrorException http_status=500>>
webdriver/tests/support/asserts.py:51: AssertionError
12:57.62 INFO Got 51 unexpected results, with 0 unexpected passes
12:57.62 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
12:57.66 wptserve INFO Stopped http server on 127.0.0.1:8443
12:57.70 wptserve INFO Stopped http server on 127.0.0.1:8000
12:57.90 wptserve INFO Stopped http server on 127.0.0.1:8002
12:57.90 wptserve INFO Stopped http server on 127.0.0.1:9000
12:57.90 wptserve INFO Stopped http server on 127.0.0.1:8001
12:57.91 wptserve INFO Stopped http server on 127.0.0.1:8446
12:57.91 wptserve INFO Stopped http server on 127.0.0.1:8003
12:57.91 wptserve INFO Stopped http server on 127.0.0.1:8445
12:57.91 wptserve INFO Stopped http server on 127.0.0.1:8444
12:57.91 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
12:57.92 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
12:57.99 INFO Removed font: Ahem.ttf
12:58.02 INFO Closing logging queue
12:58.02 INFO queue closed
12:58.02 INFO Tolerating 51 unexpected results
X connection to :99.0 broken (explicit kill or server shutdown).
[taskcluster 2024-01-15 00:11:48.932Z] === Task Finished ===
[taskcluster 2024-01-15 00:12:19.976Z] Successful task run with exit code: 0 completed in 924.922 seconds
Loading