perf: Improve test performance by parallelizing pytest #662
firefoxci-taskcluster / check-type
succeeded
Mar 10, 2025 in 2m 39s
FirefoxCI (pull_request)
Run type checking against src with Pyright (Treeherder push)
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2025-03-10T18:05:25.941Z
Resolved: 2025-03-10T18:06:21.457Z
Task Execution Time: 55 seconds, 516 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-03-10 18:05:26.038Z] Task ID: eORqUnklQUOHlwp3gCpJAg
[taskcluster 2025-03-10 18:05:26.038Z] Worker ID: 5768071747981186939
[taskcluster 2025-03-10 18:05:26.038Z] Worker Group: us-central1-a
[taskcluster 2025-03-10 18:05:26.038Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-03-10 18:05:26.038Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2025-03-10 18:05:26.038Z] Worker Version: 38.0.5
[taskcluster 2025-03-10 18:05:26.038Z] Public IP: 34.41.12.12
[taskcluster 2025-03-10 18:05:26.038Z] Hostname: taskgraph-t-linux-gcp-tgjtyovuqwcdbstos2toqg
[taskcluster 2025-03-10 18:05:26.038Z] using cache "taskgraph-level-1-uv-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/.task-cache/uv
[taskcluster 2025-03-10 18:05:26.038Z] using cache "taskgraph-level-1-checkouts-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/checkouts
[taskcluster 2025-03-10 18:05:28.779Z] Downloading artifact "public/image.tar.zst" from task ID: DioawIE5Qsm1jWS15x-kdA.
[taskcluster 2025-03-10 18:05:33.780Z] Download Progress: 64.24%
[taskcluster 2025-03-10 18:05:36.400Z] Downloaded artifact successfully.
[taskcluster 2025-03-10 18:05:36.405Z] Downloaded 255.298 mb
[taskcluster 2025-03-10 18:05:36.406Z] Decompressing downloaded image
[taskcluster 2025-03-10 18:05:38.662Z] Loading docker image from downloaded archive.
[taskcluster 2025-03-10 18:06:00.277Z] Image 'public/image.tar.zst' from task 'DioawIE5Qsm1jWS15x-kdA' loaded. Using image ID sha256:3bdbeef87bc568b141c346f85993bafb9d8fbfdfce1b6ee9652e0ba75764a5e2.
[taskcluster 2025-03-10 18:06:00.439Z] === Task Starting ===
[setup 2025-03-10T18:06:01.865+00:00] run-task started in /
[setup 2025-03-10T18:06:01.865+00:00] Invoked by command: --ci-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx uv run pyright
[setup 2025-03-10T18:06:01.865+00:00] Python version: 3.11.2
[cache 2025-03-10T18:06:01.867+00:00] cache /builds/worker/.task-cache/uv is empty; writing requirements: gid=1000 uid=1000 version=1
[cache 2025-03-10T18:06:01.867+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2025-03-10T18:06:01.867+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2025-03-10T18:06:01.867+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-03-10T18:06:01.867+00:00] running as worker:worker
[vcs 2025-03-10T18:06:01.868+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-03-10T18:06:01.870+00:00] executing ['git', 'clone', 'https://github.com/taskcluster/taskgraph', '/builds/worker/checkouts/vcs']
[vcs 2025-03-10T18:06:01.871+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2025-03-10T18:06:02.661+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/AnsahMohammad/taskgraph', 'optimize_tc_test']
[vcs 2025-03-10T18:06:03.036+00:00] From https://github.com/AnsahMohammad/taskgraph
[vcs 2025-03-10T18:06:03.036+00:00] * branch optimize_tc_test -> FETCH_HEAD
[vcs 2025-03-10T18:06:03.038+00:00] executing ['git', 'checkout', '-f', '-B', 'optimize_tc_test', 'b6fb5dc76c1ce4f86c7c18b27e47c0d62863e5b4']
[vcs 2025-03-10T18:06:03.054+00:00] Switched to a new branch 'optimize_tc_test'
[vcs 2025-03-10T18:06:03.054+00:00] cleaning git checkout...
[vcs 2025-03-10T18:06:03.054+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-03-10T18:06:03.056+00:00] removing []
[vcs 2025-03-10T18:06:03.056+00:00] successfully cleaned git checkout!
[vcs 2025-03-10T18:06:03.058+00:00] TinderboxPrint:<a href='https://github.com/AnsahMohammad/taskgraph/commit/b6fb5dc76c1ce4f86c7c18b27e47c0d62863e5b4' title='Built from taskgraph commit b6fb5dc76c1ce4f86c7c18b27e47c0d62863e5b4'>b6fb5dc76c1ce4f86c7c18b27e47c0d62863e5b4</a>
[task 2025-03-10T18:06:03.058+00:00] executing ['bash', '-cx', 'uv run pyright']
[task 2025-03-10T18:06:03.059+00:00] + uv run pyright
[task 2025-03-10T18:06:03.238+00:00] Using CPython 3.13.2
[task 2025-03-10T18:06:03.238+00:00] Creating virtual environment at: .venv
[task 2025-03-10T18:06:03.255+00:00] Building pytest-taskgraph @ file:///builds/worker/checkouts/vcs/packages/pytest-taskgraph
[task 2025-03-10T18:06:03.256+00:00] Building taskcluster-taskgraph @ file:///builds/worker/checkouts/vcs
[task 2025-03-10T18:06:03.321+00:00] Downloading pygments (1.1MiB)
[task 2025-03-10T18:06:03.322+00:00] Downloading zstandard (5.2MiB)
[task 2025-03-10T18:06:03.322+00:00] Downloading pydata-sphinx-theme (4.5MiB)
[task 2025-03-10T18:06:03.323+00:00] Downloading babel (9.1MiB)
[task 2025-03-10T18:06:03.323+00:00] Downloading sphinx (2.9MiB)
[task 2025-03-10T18:06:03.324+00:00] Downloading virtualenv (5.4MiB)
[task 2025-03-10T18:06:03.572+00:00] Building markupsafe==2.1.5
[task 2025-03-10T18:06:03.972+00:00] Downloaded zstandard
[task 2025-03-10T18:06:03.973+00:00] Downloaded pydata-sphinx-theme
[task 2025-03-10T18:06:03.982+00:00] Downloaded virtualenv
[task 2025-03-10T18:06:04.001+00:00] Downloaded pygments
[task 2025-03-10T18:06:04.095+00:00] Downloaded sphinx
[task 2025-03-10T18:06:04.238+00:00] Downloaded babel
[task 2025-03-10T18:06:04.629+00:00] Built pytest-taskgraph @ file:///builds/worker/checkouts/vcs/packages/pytest-taskgraph
[task 2025-03-10T18:06:04.885+00:00] Built taskcluster-taskgraph @ file:///builds/worker/checkouts/vcs
[task 2025-03-10T18:06:06.100+00:00] Built markupsafe==2.1.5
[task 2025-03-10T18:06:06.102+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2025-03-10T18:06:06.102+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2025-03-10T18:06:06.102+00:00] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2025-03-10T18:06:06.243+00:00] Installed 76 packages in 141ms
[task 2025-03-10T18:06:09.787+00:00] * Install prebuilt node (23.9.0) ../builds/worker/checkouts/vcs/.venv/lib/python3.13/site-packages/nodeenv.py:639: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
[task 2025-03-10T18:06:09.787+00:00] archive.extractall(src_dir, extract_list)
[task 2025-03-10T18:06:12.466+00:00] ... done.
[task 2025-03-10T18:06:14.906+00:00]
[task 2025-03-10T18:06:14.906+00:00] added 1 package, and audited 2 packages in 2s
[task 2025-03-10T18:06:14.907+00:00]
[task 2025-03-10T18:06:14.907+00:00] found 0 vulnerabilities
[task 2025-03-10T18:06:18.934+00:00] 0 errors, 0 warnings, 0 informations
[task 2025-03-10T18:06:18.954+00:00] WARNING: there is a new pyright version available (v1.1.379 -> v1.1.396).
[task 2025-03-10T18:06:18.954+00:00] Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`
[task 2025-03-10T18:06:18.954+00:00]
[taskcluster 2025-03-10 18:06:20.982Z] === Task Finished ===
[taskcluster 2025-03-10 18:06:20.982Z] Successful task run with exit code: 0 completed in 54.945 seconds
Loading