Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: create new 'pytest-taskgraph' package to house test fixtures #613

Merged
merged 1 commit into from
Dec 12, 2024

test: create new 'pytest-taskgraph' package to house test fixtures

e8b03a8
Select commit
Loading
Failed to load commit list.
Merged

refactor: create new 'pytest-taskgraph' package to house test fixtures #613

test: create new 'pytest-taskgraph' package to house test fixtures
e8b03a8
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / check-type succeeded Dec 11, 2024 in 3m 10s

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: 2024-12-11T22:08:39.790Z
Resolved: 2024-12-11T22:09:01.944Z
Task Execution Time: 22 seconds, 154 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2024-12-11 22:08:39.909Z] Task ID: O-lksbU9QBWnhfNWkgBWLg
[taskcluster 2024-12-11 22:08:39.909Z] Worker ID: 9084024931317428798
[taskcluster 2024-12-11 22:08:39.909Z] Worker Group: us-central1-c
[taskcluster 2024-12-11 22:08:39.909Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-12-11 22:08:39.909Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2024-12-11 22:08:39.909Z] Worker Version: 38.0.5
[taskcluster 2024-12-11 22:08:39.909Z] Public IP: 34.45.131.224
[taskcluster 2024-12-11 22:08:39.909Z] Hostname: taskgraph-t-linux-gcp-ny-xl4hkq1aspto7-yokow
[taskcluster 2024-12-11 22:08:39.909Z] using cache "taskgraph-level-1-checkouts-v3-492fcd7a01ebf3b75635-G-vMRQvDQKi3FxMT0LpA5w" -> /builds/worker/checkouts

[taskcluster 2024-12-11 22:08:40.372Z] Image 'public/image.tar.zst' from task 'G-vMRQvDQKi3FxMT0LpA5w' loaded.  Using image ID sha256:a5cb5c7652b1dee6ee8d9e0c429aa992e544fd6e625a9d99ed8756ac22138c6f.
[taskcluster 2024-12-11 22:08:40.429Z] === Task Starting ===
[setup 2024-12-11T22:08:40.727Z] run-task started in /
[setup 2024-12-11T22:08:40.727Z] Invoked by command: --ci-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx uv run pyright
[setup 2024-12-11T22:08:40.727Z] Python version: 3.11.2
[cache 2024-12-11T22:08:40.728Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2024-12-11T22:08:40.728Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-12-11T22:08:40.728Z] volume /builds/worker/checkouts is a cache
[setup 2024-12-11T22:08:40.729Z] running as worker:worker
[vcs 2024-12-11T22:08:40.729Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-12-11T22:08:40.733Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/taskgraph', 'push-yxzwkuysqytn']
[vcs 2024-12-11T22:08:40.928Z] From https://github.com/ahal/taskgraph
[vcs 2024-12-11T22:08:40.928Z]  * branch              push-yxzwkuysqytn -> FETCH_HEAD
[vcs 2024-12-11T22:08:40.933Z] executing ['git', 'checkout', '-f', '-B', 'push-yxzwkuysqytn', 'e8b03a805e0631e5fca7909ac25545f35af67104']
[vcs 2024-12-11T22:08:40.949Z] Reset branch 'push-yxzwkuysqytn'
[vcs 2024-12-11T22:08:40.949Z] cleaning git checkout...
[vcs 2024-12-11T22:08:40.949Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-12-11T22:08:41.006Z] removing ['/builds/worker/checkouts/vcs/.pytest_cache/', '/builds/worker/checkouts/vcs/.venv/', '/builds/worker/checkouts/vcs/__pycache__/', '/builds/worker/checkouts/vcs/artifacts/', '/builds/worker/checkouts/vcs/src/taskgraph/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/actions/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/loader/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/optimize/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/run-task/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/transforms/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/transforms/run/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/util/__pycache__/', '/builds/worker/checkouts/vcs/test/__pycache__/', '/builds/worker/checkouts/vcs/test/data/taskcluster/test_taskgraph/transforms/__pycache__/', '/builds/worker/checkouts/vcs/test/data/testmod/__pycache__/']
[vcs 2024-12-11T22:08:41.214Z] successfully cleaned git checkout!
[vcs 2024-12-11T22:08:41.216Z] TinderboxPrint:<a href='https://github.com/ahal/taskgraph/commit/e8b03a805e0631e5fca7909ac25545f35af67104' title='Built from taskgraph commit e8b03a805e0631e5fca7909ac25545f35af67104'>e8b03a805e0631e5fca7909ac25545f35af67104</a>
[task 2024-12-11T22:08:41.216Z] executing ['bash', '-cx', 'uv run pyright']
[task 2024-12-11T22:08:41.217Z] + uv run pyright
[task 2024-12-11T22:08:41.417Z] Using Python 3.13.0rc2
[task 2024-12-11T22:08:41.417Z] Creating virtualenv at: .venv
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `coverage`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `mock`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `pre-commit`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `pyright`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `pytest`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `pytest-mock`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `responses`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `sphinx`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `sphinx-autobuild`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `sphinx-argparse`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `sphinxcontrib-mermaid`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `zstandard`
[task 2024-12-11T22:08:42.551Z] warning: Missing version constraint (e.g., a lower bound) for `mozilla-repo-urls`
[task 2024-12-11T22:08:45.651Z] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2024-12-11T22:08:45.652Z]          If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2024-12-11T22:08:45.653Z]          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2024-12-11T22:08:45.807Z] Installed 74 packages in 158ms
[task 2024-12-11T22:08:49.891Z]  * Install prebuilt node (23.4.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 2024-12-11T22:08:49.892Z]   archive.extractall(src_dir, extract_list)
[task 2024-12-11T22:08:52.428Z] ... done.
[task 2024-12-11T22:08:54.811Z] 
[task 2024-12-11T22:08:54.811Z] added 1 package, and audited 2 packages in 2s
[task 2024-12-11T22:08:54.812Z] 
[task 2024-12-11T22:08:54.812Z] found 0 vulnerabilities
[task 2024-12-11T22:08:59.320Z] 0 errors, 0 warnings, 0 informations 
[task 2024-12-11T22:08:59.342Z] WARNING: there is a new pyright version available (v1.1.379 -> v1.1.390).
[task 2024-12-11T22:08:59.342Z] Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`
[task 2024-12-11T22:08:59.342Z] 
[taskcluster 2024-12-11 22:09:01.364Z] === Task Finished ===
[taskcluster 2024-12-11 22:09:01.364Z] Successful task run with exit code: 0 completed in 21.456 seconds