chore: pre-commit autoupdate #52
Merged
firefoxci-taskcluster / test-unit
succeeded
Dec 2, 2024 in 2m 16s
FirefoxCI (pull_request)
Run unit tests
to validate the latest changes
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2024-12-02T22:34:13.868Z
Resolved: 2024-12-02T22:35:19.300Z
Task Execution Time: 1 minute, 5 seconds, 432 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/coverage.xml
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-12-02 22:34:14.077Z] Task ID: cP0AUOzkSyqrYYByLMtG6g
[taskcluster 2024-12-02 22:34:14.077Z] Worker ID: 6973200547174386524
[taskcluster 2024-12-02 22:34:14.077Z] Worker Group: us-central1-a
[taskcluster 2024-12-02 22:34:14.077Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-12-02 22:34:14.077Z] Worker Type: t-linux-large-gcp
[taskcluster 2024-12-02 22:34:14.077Z] Public IP: 34.41.198.130
[taskcluster 2024-12-02 22:34:14.077Z] Hostname: mozilla-t-t-linux-large-gcp-cgkdhqzrt36ebqtrq024kg
[taskcluster 2024-12-02 22:34:14.077Z] using cache "mozilla-level-1-checkouts-v3-7afeb851dd97df8f3607-aWyKOWP4RGWBM3PC6n5Sow" -> /builds/worker/checkouts
[taskcluster 2024-12-02 22:34:14.653Z] Downloading artifact "public/image.tar.zst" from task ID: aWyKOWP4RGWBM3PC6n5Sow.
[taskcluster 2024-12-02 22:34:18.664Z] Downloaded artifact successfully.
[taskcluster 2024-12-02 22:34:18.664Z] Downloaded 412.254 mb
[taskcluster 2024-12-02 22:34:18.665Z] Decompressing downloaded image
[taskcluster 2024-12-02 22:34:21.100Z] Loading docker image from downloaded archive.
[taskcluster 2024-12-02 22:34:41.327Z] Image 'public/image.tar.zst' from task 'aWyKOWP4RGWBM3PC6n5Sow' loaded. Using image ID sha256:d1582e1f57df0777ef9ee5fdc94de00337431a516056d2524dc4cb9b8ecff794.
[taskcluster 2024-12-02 22:34:41.548Z] === Task Starting ===
[setup 2024-12-02T22:34:42.149Z] run-task started in /
[setup 2024-12-02T22:34:42.149Z] Invoked by command: --reps-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx uv run tox --parallel
[setup 2024-12-02T22:34:42.149Z] Python version: 3.9.19
[cache 2024-12-02T22:34:42.150Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2024-12-02T22:34:42.150Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-12-02T22:34:42.150Z] volume /builds/worker/checkouts is a cache
[setup 2024-12-02T22:34:42.151Z] running as worker:worker
[vcs 2024-12-02T22:34:42.151Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-12-02T22:34:42.153Z] executing ['git', 'clone', 'https://github.com/mozilla-releng/reps', '/builds/worker/checkouts/vcs']
[vcs 2024-12-02T22:34:42.155Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-12-02T22:34:42.524Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/reps', 'pre-commit-ci-update-config']
[vcs 2024-12-02T22:34:42.720Z] From https://github.com/mozilla-releng/reps
[vcs 2024-12-02T22:34:42.720Z] * branch pre-commit-ci-update-config -> FETCH_HEAD
[vcs 2024-12-02T22:34:42.724Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-releng/reps', 'pre-commit-ci-update-config']
[vcs 2024-12-02T22:34:42.947Z] From https://github.com/mozilla-releng/reps
[vcs 2024-12-02T22:34:42.947Z] * branch pre-commit-ci-update-config -> FETCH_HEAD
[vcs 2024-12-02T22:34:42.951Z] executing ['git', 'checkout', '-f', '-B', 'pre-commit-ci-update-config', '2db82960301d25d434d83b798d5615f9528bba0d']
[vcs 2024-12-02T22:34:42.957Z] Switched to a new branch 'pre-commit-ci-update-config'
[vcs 2024-12-02T22:34:42.957Z] cleaning git checkout...
[vcs 2024-12-02T22:34:42.957Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-12-02T22:34:42.959Z] removing []
[vcs 2024-12-02T22:34:42.959Z] successfully cleaned git checkout!
[vcs 2024-12-02T22:34:42.961Z] TinderboxPrint:<a href='https://github.com/mozilla-releng/reps/commit/2db82960301d25d434d83b798d5615f9528bba0d' title='Built from reps commit 2db82960301d25d434d83b798d5615f9528bba0d'>2db82960301d25d434d83b798d5615f9528bba0d</a>
[task 2024-12-02T22:34:42.961Z] executing ['bash', '-cx', 'uv run tox --parallel']
[task 2024-12-02T22:34:42.963Z] + uv run tox --parallel
[task 2024-12-02T22:34:43.103Z] Using Python 3.11.9
[task 2024-12-02T22:34:43.103Z] Creating virtualenv at: .venv
[task 2024-12-02T22:34:44.115Z] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2024-12-02T22:34:44.116Z] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2024-12-02T22:34:44.116Z] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2024-12-02T22:34:44.163Z] Installed 53 packages in 48ms
[task 2024-12-02T22:35:18.081Z] .pkg: install_requires> python -I -m pip install hatchling
[task 2024-12-02T22:35:18.081Z] .pkg: _optional_hooks> python /builds/worker/checkouts/vcs/.venv/lib/python3.11/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2024-12-02T22:35:18.081Z] .pkg: get_requires_for_build_sdist> python /builds/worker/checkouts/vcs/.venv/lib/python3.11/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2024-12-02T22:35:18.081Z] .pkg: build_sdist> python /builds/worker/checkouts/vcs/.venv/lib/python3.11/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2024-12-02T22:35:18.081Z] clean: install_package_deps> python -I -m pip install 'cookiecutter<3,>=2.6.0' 'halo<1,>=0.0.31' 'pip-tools<8,>=7.4.0' 'pre-commit<4,>=3.5.0' 'ruamel-yaml<1,>=0.18.6'
[task 2024-12-02T22:35:18.081Z] clean: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/1/reps_new-0.3.6.tar.gz
[task 2024-12-02T22:35:18.081Z] clean: commands[0]> uv run coverage erase
[task 2024-12-02T22:35:18.081Z] py310: skipped because could not find python interpreter with spec(s): py310
[task 2024-12-02T22:35:18.081Z] py38: skipped because could not find python interpreter with spec(s): py38
[task 2024-12-02T22:35:18.081Z] py311: install_package_deps> python -I -m pip install 'cookiecutter<3,>=2.6.0' 'halo<1,>=0.0.31' 'pip-tools<8,>=7.4.0' 'pre-commit<4,>=3.5.0' 'ruamel-yaml<1,>=0.18.6'
[task 2024-12-02T22:35:18.081Z] py311: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/2/reps_new-0.3.6.tar.gz
[task 2024-12-02T22:35:18.081Z] py311: commands[0]> uv run python --version
[task 2024-12-02T22:35:18.081Z] Python 3.11.9
[task 2024-12-02T22:35:18.081Z] py311: commands[1]> uv run coverage run --context=py311 -p -m pytest -vv
[task 2024-12-02T22:35:18.081Z] ============================= test session starts ==============================
[task 2024-12-02T22:35:18.081Z] platform linux -- Python 3.11.9, pytest-7.4.4, pluggy-1.5.0 -- /builds/worker/checkouts/vcs/.venv/bin/python
[task 2024-12-02T22:35:18.081Z] cachedir: .tox/py311/.pytest_cache
[task 2024-12-02T22:35:18.081Z] rootdir: /builds/worker/checkouts/vcs
[task 2024-12-02T22:35:18.081Z] configfile: pyproject.toml
[task 2024-12-02T22:35:18.081Z] testpaths: test
[task 2024-12-02T22:35:18.081Z] collecting ... collected 3 items
[task 2024-12-02T22:35:18.081Z]
[task 2024-12-02T22:35:18.081Z] test/test_template_python.py::test_generated_files PASSED [ 33%]
[task 2024-12-02T22:35:18.081Z] test/test_template_python.py::test_cookiecutter_json[defaults] PASSED [ 66%]
[task 2024-12-02T22:35:18.081Z] test/test_template_python.py::test_cookiecutter_json[package_name_normalized] PASSED [100%]
[task 2024-12-02T22:35:18.081Z]
[task 2024-12-02T22:35:18.081Z] ============================== 3 passed in 8.82s ===============================
[task 2024-12-02T22:35:18.081Z] py39: install_package_deps> python -I -m pip install 'cookiecutter<3,>=2.6.0' 'halo<1,>=0.0.31' 'pip-tools<8,>=7.4.0' 'pre-commit<4,>=3.5.0' 'ruamel-yaml<1,>=0.18.6'
[task 2024-12-02T22:35:18.081Z] py39: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/3/reps_new-0.3.6.tar.gz
[task 2024-12-02T22:35:18.081Z] py39: commands[0]> uv run python --version
[task 2024-12-02T22:35:18.081Z] Python 3.11.9
[task 2024-12-02T22:35:18.081Z] py39: commands[1]> uv run coverage run --context=py39 -p -m pytest -vv
[task 2024-12-02T22:35:18.081Z] ============================= test session starts ==============================
[task 2024-12-02T22:35:18.081Z] platform linux -- Python 3.11.9, pytest-7.4.4, pluggy-1.5.0 -- /builds/worker/checkouts/vcs/.venv/bin/python
[task 2024-12-02T22:35:18.081Z] cachedir: .tox/py39/.pytest_cache
[task 2024-12-02T22:35:18.081Z] rootdir: /builds/worker/checkouts/vcs
[task 2024-12-02T22:35:18.081Z] configfile: pyproject.toml
[task 2024-12-02T22:35:18.081Z] testpaths: test
[task 2024-12-02T22:35:18.081Z] collecting ... collected 3 items
[task 2024-12-02T22:35:18.081Z]
[task 2024-12-02T22:35:18.081Z] test/test_template_python.py::test_generated_files PASSED [ 33%]
[task 2024-12-02T22:35:18.081Z] test/test_template_python.py::test_cookiecutter_json[defaults] PASSED [ 66%]
[task 2024-12-02T22:35:18.081Z] test/test_template_python.py::test_cookiecutter_json[package_name_normalized] PASSED [100%]
[task 2024-12-02T22:35:18.081Z]
[task 2024-12-02T22:35:18.081Z] ============================== 3 passed in 5.64s ===============================
[task 2024-12-02T22:35:18.081Z] .pkg: _exit> python /builds/worker/checkouts/vcs/.venv/lib/python3.11/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2024-12-02T22:35:18.081Z] report: install_package_deps> python -I -m pip install 'cookiecutter<3,>=2.6.0' 'halo<1,>=0.0.31' 'pip-tools<8,>=7.4.0' 'pre-commit<4,>=3.5.0' 'ruamel-yaml<1,>=0.18.6'
[task 2024-12-02T22:35:18.081Z] report: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/4/reps_new-0.3.6.tar.gz
[task 2024-12-02T22:35:18.081Z] report: commands[0]> uv run coverage combine
[task 2024-12-02T22:35:18.081Z] Combined data file .coverage.1975575d54b5.247.XGfdKmEx
[task 2024-12-02T22:35:18.081Z] Combined data file .coverage.1975575d54b5.354.XSlOVyxx
[task 2024-12-02T22:35:18.081Z] report: commands[1]> uv run coverage xml -o /builds/worker/artifacts/coverage.xml
[task 2024-12-02T22:35:18.081Z] Wrote XML report to /builds/worker/artifacts/coverage.xml
[task 2024-12-02T22:35:18.081Z] clean: OK ✔ in 9.65 seconds
[task 2024-12-02T22:35:18.081Z] py310: SKIP ⚠ in 0.31 seconds
[task 2024-12-02T22:35:18.081Z] py38: SKIP ⚠ in 0.31 seconds
[task 2024-12-02T22:35:18.081Z] py311: OK ✔ in 16.96 seconds
[task 2024-12-02T22:35:18.081Z] py39: OK ✔ in 17.51 seconds
[task 2024-12-02T22:35:18.081Z] clean: OK (9.65=setup[9.44]+cmd[0.21] seconds)
[task 2024-12-02T22:35:18.081Z] py38: SKIP (0.31 seconds)
[task 2024-12-02T22:35:18.081Z] py39: OK (17.51=setup[11.23]+cmd[0.03,6.25] seconds)
[task 2024-12-02T22:35:18.081Z] py310: SKIP (0.31 seconds)
[task 2024-12-02T22:35:18.081Z] py311: OK (16.96=setup[6.72]+cmd[0.02,10.22] seconds)
[task 2024-12-02T22:35:18.081Z] report: OK (6.26=setup[6.05]+cmd[0.10,0.11] seconds)
[task 2024-12-02T22:35:18.081Z] congratulations :) (33.55 seconds)
[taskcluster 2024-12-02 22:35:18.383Z] === Task Finished ===
[taskcluster 2024-12-02 22:35:18.698Z] Successful task run with exit code: 0 completed in 64.622 seconds
Loading