Skip to content

fix type hints for earlier python versions

28a3a4b
Select commit
Loading
Failed to load commit list.
Open

feat(manifest): Add initial tooling for Test262 test types [pt 1/5] #56840

fix type hints for earlier python versions
28a3a4b
Select commit
Loading
Failed to load commit list.
Community-TC Integration / resources/ tests (Python 3.13) succeeded Dec 19, 2025 in 5m 5s

Community-TC (pull_request)

Tests for testharness.js and other files in resources/ under Python 3.13

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2025-12-19T18:09:37.725Z
Resolved: 2025-12-19T18:13:50.422Z
Task Execution Time: 4 minutes, 12 seconds, 697 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2025-12-19 18:09:37.839Z] Task ID: eIPQ2ZbnR6apEhUyM4GNuA
[taskcluster 2025-12-19 18:09:37.840Z] Worker ID: 2009443217508411995
[taskcluster 2025-12-19 18:09:37.840Z] Worker Group: us-east4-b
[taskcluster 2025-12-19 18:09:37.840Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-12-19 18:09:37.840Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-12-19 18:09:37.840Z] Worker Version: 46.1.0
[taskcluster 2025-12-19 18:09:37.840Z] Public IP: 34.21.55.123
[taskcluster 2025-12-19 18:09:37.840Z] Hostname: proj-wpt-ci-cxfmepa-r4kjqippovox2q

8f84a9f2102e - Started downloading
40516d781e70 - Started downloading
ac811f28856d - Started downloading
ac811f28856d - Downloaded in 0.007 seconds
44ebbf800033 - Started downloading
44ebbf800033 - Downloaded in 0.012 seconds
8f84a9f2102e - Downloaded in 0.182 seconds
a8884b21e40e - Started downloading
4f4fb700ef54 - Started downloading
4f4fb700ef54 - Downloaded in 0.001 seconds
79c347416ee8 - Started downloading

...(481 lines hidden)...

+ ./wpt install firefox browser --destination /home/test
INFO:tools.wpt.virtualenv:Creating new venv at '/home/test/web-platform-tests/_venv3'
INFO:install:Now installing firefox browser...
INFO:install:Downloading Firefox from https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US
INFO:install:Binary installed as /home/test/browsers/nightly/firefox/firefox
+ ./wpt install firefox webdriver --destination /home/test/firefox
INFO:install:Now installing firefox webdriver...
INFO:install:Attempting to install webdriver from nightly
INFO:install:Extracted geckodriver to /home/test/firefox/geckodriver
INFO:install:Installed b'geckodriver 0.36.0 (7c6e6dc03dc0 2025-12-09 16:28 +0200)'
INFO:install:Binary installed as /home/test/firefox/geckodriver
+ export PATH=/home/test/firefox:/home/test/bin:/home/test/bin:/home/test/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ PATH=/home/test/firefox:/home/test/bin:/home/test/bin:/home/test/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ cd /home/test/web-platform-tests/tools/ci/../../resources/test
+ tox -- --binary=/home/test/browsers/nightly/firefox/firefox
py313: install_deps> python -I -m pip install -r /home/test/web-platform-tests/resources/test/../../tools/requirements_pytest.txt -r /home/test/web-platform-tests/resources/test/requirements.txt
py313: commands[0]> pytest -vv --binary=/home/test/browsers/nightly/firefox/firefox
1766167916665	geckodriver	INFO	Listening on 127.0.0.1:4444
1766167916668	mozrunner::runner	INFO	Running command: MOZ_CRASHREPORTER="1" MOZ_CRASHREPORTER_NO_REPORT="1" MOZ_CRASHREPORTER_SHUTDOWN="1" "/home/test/browsers/nightly/firefox/firefox" "--marionette" "-no-remote" "-profile" "/tmp/rust_mozprofileP7guyj"
[733] Sandbox: CanCreateUserNamespace() clone() failure: EPERM
1766167917170	Marionette	INFO	Marionette enabled
1766167917266	Marionette	INFO	Listening on port 33769
Read port: 33769
1766167917297	RemoteAgent	WARN	TLS certificate errors will be ignored for this session
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
console.error: RSLoader: 
  Failed to retrieve recipes from Remote Settings
  Message: Error: Could not sync nimbus-desktop-experiments: get-exception
  Stack:
    RemoteSettingsSyncError@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:1328:5
getRecipesFromCollection@resource://nimbus/lib/RemoteSettingsExperimentLoader.sys.mjs:618:13

console.warn: BackupService: "There was an error while trying to get the Document's directory" [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/backup/BackupService.sys.mjs :: get docsDirFolderPath :: line 1245"  data: no]
[2025-12-19 18:11:59,355 None on port 36287] INFO - Starting http server on http://web-platform.test:36287
[2025-12-19 18:12:00,144 None on port 36287] INFO - Stopped http server on web-platform.test:36287
[2025-12-19 18:12:01,674 http on port 8000] INFO - Starting http server on http://web-platform.test:8000
[2025-12-19 18:12:01,724 https-public on port 35659] INFO - Starting https server on https://web-platform.test:35659
[2025-12-19 18:12:01,773 http-local on port 40955] INFO - Starting http server on http://web-platform.test:40955
[2025-12-19 18:12:01,819 https-local on port 57911] INFO - Starting https server on https://web-platform.test:57911
[2025-12-19 18:12:01,884 http on port 33803] INFO - Starting http server on http://web-platform.test:33803
[2025-12-19 18:12:01,905 h2 on port 9000] INFO - Starting http2 server on https://web-platform.test:9000
[2025-12-19 18:12:01,937 https on port 8444] INFO - Starting https server on https://web-platform.test:8444
[2025-12-19 18:12:01,941 http-public on port 36727] INFO - Starting http server on http://web-platform.test:36727
[2025-12-19 18:12:01,956 https on port 8443] INFO - Starting https server on https://web-platform.test:8443
[2025-12-19 18:12:02,119 wss on port 40565] INFO - Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 40565))
[2025-12-19 18:12:02,122 wss on port 40565] INFO - Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 40565))
[2025-12-19 18:12:02,122 wss on port 40565] INFO - Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 40565))
[2025-12-19 18:12:02,275 ws on port 44057] INFO - Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 44057))
[2025-12-19 18:12:02,275 ws on port 44057] INFO - Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 44057))
[2025-12-19 18:12:02,275 ws on port 44057] INFO - Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 44057))
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-8.3.2, pluggy-1.6.0 -- /home/test/web-platform-tests/resources/test/.tox/py313/bin/python
cachedir: .tox/py313/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/home/test/web-platform-tests/resources/test/.hypothesis/examples'))
rootdir: /home/test/web-platform-tests/resources/test
plugins: hypothesis-6.112.0, cov-5.0.0
collecting ... 
collected 88 items                                                             

tests/functional/abortsignal.html::Test#get_signal console.error: (new NotFoundError("Could not find fa0fc42c-d91d-fca7-34eb-806ff46062dc in cache or dump", "resource://services-settings/Attachments.sys.mjs", 48))
console.warn: "Unable to find the attachment for" "fa0fc42c-d91d-fca7-34eb-806ff46062dc"
PASSED                [  1%]
tests/functional/add_cleanup.html::Test#add_cleanup PASSED               [  2%]
tests/functional/add_cleanup_async.html::Test#add_cleanup with Promise-returning functions PASSED [  3%]
tests/functional/add_cleanup_async_bad_return.html::Test#add_cleanup with non-thenable-returning function PASSED [  4%]
tests/functional/add_cleanup_async_rejection.html::Test#add_cleanup with Promise-returning functions (rejection handling) PASSED [  5%]
tests/functional/add_cleanup_async_rejection_after_load.html::Test#add_cleanup with Promise-returning functions (rejection handling following "load" event) PASSED [  6%]
tests/functional/add_cleanup_async_timeout.html::Test#add_cleanup with Promise-returning functions (timeout handling) console.warn: BackupService: "There was an error while trying to get the Document's directory" [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIProperties.get]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource:///modules/backup/BackupService.sys.mjs :: get docsDirFolderPath :: line 1245"  data: no]
JavaScript error: resource:///modules/backup/BackupService.sys.mjs, line 3812: NotAllowedError: PathUtils.join: PathUtils does not support empty paths
PASSED [  7%]
tests/functional/add_cleanup_bad_return.html::Test#add_cleanup with value-returning function PASSED [  9%]
tests/functional/add_cleanup_count.html::Test#add_cleanup reported count PASSED [ 10%]
tests/functional/add_cleanup_err.html::Test#add_cleanup: error PASSED    [ 11%]
tests/functional/add_cleanup_err_multi.html::Test#add_cleanup: multiple functions with one in error PASSED [ 12%]
tests/functional/add_cleanup_sync_queue.html::Test#add_cleanup: queuing tests PASSED [ 13%]
tests/functional/api-tests-1.html::Sample HTML5 API Tests console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 482))
console.error: "Could not download new icon" (new ServerInfoError("Server response is invalid SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data", "resource://services-settings/Attachments.sys.mjs", 40))
PASSED         [ 14%]
tests/functional/api-tests-2.html::Sample HTML5 API Tests PASSED         [ 15%]
tests/functional/api-tests-3.html::Sample HTML5 API Tests PASSED         [ 17%]
tests/functional/assert-array-equals.html::assert_array_equals PASSED    [ 18%]
tests/functional/assert-throws-dom.html::assert_throws_dom PASSED        [ 19%]
tests/functional/force_timeout.html::Test#force_timeout PASSED           [ 20%]
tests/functional/generate-callback.html::Sample for using generate_tests to create a series of tests that share the same callback. PASSED [ 21%]
tests/functional/idlharness/IdlDictionary/test_partial_interface_of.html::idlharness: Partial dictionary PASSED [ 22%]
tests/functional/idlharness/IdlInterface/test_exposed_wildcard.html::idlharness: Exposed=* PASSED [ 23%]
tests/functional/idlharness/IdlInterface/test_immutable_prototype.html::idlharness: Immutable prototypes PASSED [ 25%]
tests/functional/idlharness/IdlInterface/test_interface_mixin.html::idlharness: interface mixins PASSED [ 26%]
tests/functional/idlharness/IdlInterface/test_partial_interface_of.html::idlharness: Partial interface PASSED [ 27%]
tests/functional/idlharness/IdlInterface/test_primary_interface_of.html::idlharness: Primary interface PASSED [ 28%]
tests/functional/idlharness/IdlInterface/test_to_json_operation.html::IdlInterface.prototype.test_to_json_operation() PASSED [ 29%]
tests/functional/idlharness/IdlNamespace/test_attribute.html::idlharness: namespace attribute PASSED [ 30%]
tests/functional/idlharness/IdlNamespace/test_operation.html::idlharness: namespace operation PASSED [ 31%]
tests/functional/idlharness/IdlNamespace/test_partial_namespace.html::idlharness: Partial namespace PASSED [ 32%]
tests/functional/iframe-callback.html::Example with iframe that notifies containing document via callbacks PASSED [ 34%]
JavaScript error: https://web-platform.test:8443/resources/test/tests/functional/uncaught-exception-handle.html, line 13: Error: Example Error
tests/functional/iframe-consolidate-errors.html::Example with iframe that consolidates errors via fetch_tests_from_window PASSED [ 35%]
tests/functional/iframe-consolidate-tests.html::Example with iframe that consolidates tests via fetch_tests_from_window PASSED [ 36%]
tests/functional/iframe-msg.html::Example with iframe that notifies containing document via cross document messaging PASSED [ 37%]
tests/functional/log-insertion.html::Log insertion PASSED                [ 38%]
tests/functional/no-title.html::Tests with no title PASSED               [ 39%]
tests/functional/order.html::Ordering PASSED                             [ 40%]
tests/functional/promise-async.html::Async Tests and Promises PASSED     [ 42%]
tests/functional/promise-with-sync.html::Promise Tests and Synchronous Tests PASSED [ 43%]
tests/functional/promise.html::Promise Tests PASSED                      [ 44%]
tests/functional/queue.html::Test queuing synchronous tests PASSED       [ 45%]
tests/functional/setup-worker-service.html::Setup function in a service worker PASSED [ 46%]
JavaScript error: https://web-platform.test:8443/resources/testharness.js, line 1524: uncaught exception: Error: assert_true: expected true got false
tests/functional/single-page-test-fail.html::Example with file_is_test (should fail) PASSED [ 47%]
tests/functional/single-page-test-no-assertions.html::Example single page test with no asserts PASSED [ 48%]
tests/functional/single-page-test-no-body.html::Example single page test with no body PASSED [ 50%]
tests/functional/single-page-test-pass.html::Example with file_is_test PASSED [ 51%]
tests/functional/step_wait.html::Tests for step_wait PASSED              [ 52%]
tests/functional/step_wait_func.html::Tests for step_wait_func and step_wait_func_done PASSED [ 53%]
tests/functional/task-scheduling-promise-test.html::testharness.js - task scheduling PASSED [ 54%]
tests/functional/task-scheduling-test.html::testharness.js - task scheduling PASSED [ 55%]
JavaScript error: https://web-platform.test:8443/resources/test/tests/functional/uncaught-exception-handle.html, line 13: Error: Example Error
tests/functional/uncaught-exception-handle.html::Harness Handling Uncaught Exception PASSED [ 56%]
JavaScript error: https://web-platform.test:8443/resources/test/tests/functional/uncaught-exception-ignore.html, line 15: Error: Example Error
tests/functional/uncaught-exception-ignore.html::Harness Ignoring Uncaught Exception PASSED [ 57%]
tests/functional/worker-dedicated-uncaught-allow.html::Dedicated Worker Tests - Allowed Uncaught Exception PASSED [ 59%]
tests/functional/worker-dedicated-uncaught-single.html::Dedicated Worker Tests - Uncaught Exception in Single-Page Test PASSED [ 60%]
tests/functional/worker-dedicated.sub.html::Dedicated Worker Tests PASSED [ 61%]
tests/functional/worker-service.html::Example with a service worker PASSED [ 62%]
tests/functional/worker-shared.html::Example with a shared worker PASSED [ 63%]
tests/unit/IdlArray/is_json_type.html::IdlArray.prototype.is_json_type() PASSED [ 64%]
tests/unit/IdlDictionary/get_reverse_inheritance_stack.html::IdlDictionary.prototype.get_reverse_inheritance_stack() PASSED [ 65%]
tests/unit/IdlDictionary/test_partial_dictionary.html::idlharness: partial dictionaries PASSED [ 67%]
tests/unit/IdlInterface/constructors.html::IdlInterface.prototype.constructors() PASSED [ 68%]
tests/unit/IdlInterface/default_to_json_operation.html::IdlDictionary.prototype.default_to_json_operation() PASSED [ 69%]
tests/unit/IdlInterface/do_member_unscopable_asserts.html::IdlDictionary.prototype.do_member_unscopable_asserts() PASSED [ 70%]
tests/unit/IdlInterface/get_interface_object.html::IdlInterface.prototype.get_interface_object() PASSED [ 71%]
tests/unit/IdlInterface/get_interface_object_owner.html::IdlInterface.prototype.get_interface_object_owner() PASSED [ 72%]
tests/unit/IdlInterface/get_legacy_namespace.html::IdlInterface.prototype.get_legacy_namespace() PASSED [ 73%]
tests/unit/IdlInterface/get_qualified_name.html::IdlInterface.prototype.get_qualified_name() PASSED [ 75%]
tests/unit/IdlInterface/get_reverse_inheritance_stack.html::IdlInterface.prototype.get_reverse_inheritance_stack() PASSED [ 76%]
tests/unit/IdlInterface/has_default_to_json_regular_operation.html::IdlInterface.prototype.has_default_to_json_regular_operation() PASSED [ 77%]
tests/unit/IdlInterface/has_to_json_regular_operation.html::IdlInterface.prototype.has_to_json_regular_operation() PASSED [ 78%]
tests/unit/IdlInterface/should_have_interface_object.html::IdlInterface.prototype.should_have_interface_object() PASSED [ 79%]
tests/unit/IdlInterface/test_primary_interface_of_undefined.html::idlharness test_primary_interface_of_undefined PASSED [ 80%]
tests/unit/IdlInterfaceMember/is_to_json_regular_operation.html::IdlInterfaceMember.prototype.is_to_json_regular_operation() PASSED [ 81%]
tests/unit/IdlInterfaceMember/toString.html::IdlInterfaceMember.prototype.toString() PASSED [ 82%]
tests/unit/assert_implements.html::assert_implements unittests PASSED    [ 84%]
tests/unit/assert_implements_optional.html::assert_implements_optional unittests PASSED [ 85%]
tests/unit/assert_object_equals.html::Assertion functions PASSED         [ 86%]
tests/unit/async-test-return-restrictions.html::Restrictions on return value from `async_test` PASSED [ 87%]
tests/unit/basic.html::idlharness basic PASSED                           [ 88%]
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases-timeouts.html, line 15: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases-timeouts.html, line 15: Error: this error is expected
tests/unit/exceptional-cases-timeouts.html::Exceptional cases - timeouts PASSED [ 89%]
tests/unit/exceptional-cases.html::Exceptional cases JavaScript error: https://web-platform.test:8443/resources/testharness.js?0.3058198722956458, line 1524: uncaught exception: Error: assert_false: expected false got true
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 11: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 13: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 16: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 17: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 11: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 11: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 11: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 13: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 19: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 14: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 14: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 14: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/exceptional-cases.html, line 14: Error: this error is expected
PASSED              [ 90%]
tests/unit/format-value.html::format_value utility function PASSED       [ 92%]
tests/unit/late-test.html::Test declared after harness completion PASSED [ 93%]
tests/unit/promise_setup-timeout.html::promise_setup - timeout PASSED    [ 94%]
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/promise_setup.html, line 15: Error: this error is expected
tests/unit/promise_setup.html::promise_setup JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/promise_setup.html, line 18: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/promise_setup.html, line 20: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/promise_setup.html, line 17: Error: this error is expected
PASSED                      [ 95%]
tests/unit/single_test.html::single_test JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/single_test.html, line 13: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/test/tests/unit/single_test.html, line 13: Error: this error is expected
JavaScript error: https://web-platform.test:8443/resources/testharness.js?0.4122968599825755, line 2724: Error: Tried to create a test with file_is_test
JavaScript error: https://web-platform.test:8443/resources/testharness.js?0.22021186599920228, line 2724: Error: Tried to create a test with file_is_test
JavaScript error: https://web-platform.test:8443/resources/testharness.js?0.558541928256806, line 2724: Error: Tried to create a test with file_is_test
PASSED                          [ 96%]
tests/unit/test-return-restrictions.html::Restrictions on return value from `test` PASSED [ 97%]
tests/unit/throwing-assertions.html::Test the methods that make assertions about exceptions PASSED [ 98%]
tests/unit/unpaired-surrogates.html::Restrictions on return value from `test` PASSED [100%]

=============================== warnings summary ===============================
conftest.py:32
  /home/test/web-platform-tests/resources/test/conftest.py:32: PytestRemovedIn9Warning: The (path: py.path.local) argument is deprecated, please use (file_path: pathlib.Path)
  see https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path
    def pytest_collect_file(file_path, path, parent):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================== 88 passed, 1 warning in 102.55s (0:01:42) ===================
1766168028185	Marionette	INFO	Stopped listening on port 33769
console.warn: TopSitesFeed: Failed to fetch data from MARS server: NetworkError when attempting to fetch resource.
  py313: OK (115.52=setup[2.89]+cmd[112.63] seconds)
  congratulations :) (115.54 seconds)
[taskcluster 2025-12-19 18:13:49.531Z] === Task Finished ===
[taskcluster 2025-12-19 18:13:49.578Z] Successful task run with exit code: 0 completed in 251.741 seconds