chore: pre-commit autoupdate #53
Open
firefoxci-taskcluster / test-unit
succeeded
Jan 6, 2025 in 2m 20s
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: 2025-01-06T23:03:14.582Z
Resolved: 2025-01-06T23:03:47.679Z
Task Execution Time: 33 seconds, 97 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/coverage.xml
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-01-06 23:03:14.698Z] Task ID: d_-hQzHnQ7e6YRhqsapMPQ
[taskcluster 2025-01-06 23:03:14.698Z] Worker ID: 4312695407991971411
[taskcluster 2025-01-06 23:03:14.698Z] Worker Group: us-central1-a
[taskcluster 2025-01-06 23:03:14.698Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-01-06 23:03:14.698Z] Worker Type: t-linux-large-gcp
[taskcluster 2025-01-06 23:03:14.698Z] Public IP: 34.122.225.218
[taskcluster 2025-01-06 23:03:14.698Z] Hostname: mozilla-t-t-linux-large-gcp-zld0-s-us9ez8d0pmzvjgq
[taskcluster 2025-01-06 23:03:14.698Z] using cache "mozilla-level-1-checkouts-v3-7f8630edfaa3588fb9ab-RKykj-ytT0idWRtO_EtxDw" -> /builds/worker/checkouts
[taskcluster 2025-01-06 23:03:15.200Z] Image 'public/image.tar.zst' from task 'RKykj-ytT0idWRtO_EtxDw' loaded. Using image ID sha256:0351d190f33b3a68eff697937cb0023eadf2a896eb02a2cda3d4757aabc2965e.
[taskcluster 2025-01-06 23:03:15.248Z] === Task Starting ===
[setup 2025-01-06T23:03:15.606Z] run-task started in /
[setup 2025-01-06T23:03:15.606Z] Invoked by command: --simple_github-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx uv run tox --parallel
[setup 2025-01-06T23:03:15.606Z] Python version: 3.11.2
[cache 2025-01-06T23:03:15.607Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2025-01-06T23:03:15.607Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2025-01-06T23:03:15.607Z] volume /builds/worker/checkouts is a cache
[setup 2025-01-06T23:03:15.607Z] running as worker:worker
[vcs 2025-01-06T23:03:15.607Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-01-06T23:03:15.609Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/simple-github', 'pre-commit-ci-update-config']
[vcs 2025-01-06T23:03:15.811Z] From https://github.com/mozilla-releng/simple-github
[vcs 2025-01-06T23:03:15.811Z] * branch pre-commit-ci-update-config -> FETCH_HEAD
[vcs 2025-01-06T23:03:15.815Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-releng/simple-github', 'pre-commit-ci-update-config']
[vcs 2025-01-06T23:03:16.006Z] From https://github.com/mozilla-releng/simple-github
[vcs 2025-01-06T23:03:16.006Z] * branch pre-commit-ci-update-config -> FETCH_HEAD
[vcs 2025-01-06T23:03:16.010Z] executing ['git', 'checkout', '-f', '-B', 'pre-commit-ci-update-config', 'c6706e79cf84ed4e130e20dc909b13ef4afce2c3']
[vcs 2025-01-06T23:03:16.014Z] Reset branch 'pre-commit-ci-update-config'
[vcs 2025-01-06T23:03:16.014Z] cleaning git checkout...
[vcs 2025-01-06T23:03:16.014Z] executing ['git', 'clean', '-nxdff']
[vcs 2025-01-06T23:03:16.149Z] removing ['/builds/worker/checkouts/vcs/.coverage', '/builds/worker/checkouts/vcs/.tox/', '/builds/worker/checkouts/vcs/.venv/', '/builds/worker/checkouts/vcs/src/simple_github/__pycache__/', '/builds/worker/checkouts/vcs/test/__pycache__/']
[vcs 2025-01-06T23:03:16.679Z] successfully cleaned git checkout!
[vcs 2025-01-06T23:03:16.681Z] TinderboxPrint:<a href='https://github.com/mozilla-releng/simple-github/commit/c6706e79cf84ed4e130e20dc909b13ef4afce2c3' title='Built from simple-github commit c6706e79cf84ed4e130e20dc909b13ef4afce2c3'>c6706e79cf84ed4e130e20dc909b13ef4afce2c3</a>
[task 2025-01-06T23:03:16.681Z] executing ['bash', '-cx', 'uv run tox --parallel']
[task 2025-01-06T23:03:16.682Z] + uv run tox --parallel
[task 2025-01-06T23:03:16.823Z] Using Python 3.11.10
[task 2025-01-06T23:03:16.823Z] Creating virtualenv at: .venv
[task 2025-01-06T23:03:18.365Z] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2025-01-06T23:03:18.365Z] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2025-01-06T23:03:18.365Z] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2025-01-06T23:03:18.469Z] Installed 73 packages in 105ms
[task 2025-01-06T23:03:40.610Z] .pkg: install_requires> python -I -m pip install hatchling
[task 2025-01-06T23:03:40.610Z] .pkg: _optional_hooks> python /builds/worker/checkouts/vcs/.venv/lib/python3.11/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2025-01-06T23:03:40.610Z] .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 2025-01-06T23:03:40.610Z] .pkg: build_sdist> python /builds/worker/checkouts/vcs/.venv/lib/python3.11/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2025-01-06T23:03:40.610Z] clean: install_package_deps> python -I -m pip install 'aiohttp[speedups]~=3.8' 'gql[aiohttp,requests]~=3.4' 'pyjwt[crypto]~=2.8' 'requests~=2.31'
[task 2025-01-06T23:03:40.610Z] clean: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/1/simple_github-2.1.0.tar.gz
[task 2025-01-06T23:03:40.610Z] clean: commands[0]> uv run coverage erase
[task 2025-01-06T23:03:40.610Z] py312: skipped because could not find python interpreter with spec(s): py312
[task 2025-01-06T23:03:40.610Z] py38: skipped because could not find python interpreter with spec(s): py38
[task 2025-01-06T23:03:40.610Z] py310: skipped because could not find python interpreter with spec(s): py310
[task 2025-01-06T23:03:40.610Z] py311: install_package_deps> python -I -m pip install 'aiohttp[speedups]~=3.8' 'gql[aiohttp,requests]~=3.4' 'pyjwt[crypto]~=2.8' 'requests~=2.31'
[task 2025-01-06T23:03:40.610Z] py311: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/2/simple_github-2.1.0.tar.gz
[task 2025-01-06T23:03:40.610Z] py311: commands[0]> uv run python --version
[task 2025-01-06T23:03:40.610Z] Python 3.11.10
[task 2025-01-06T23:03:40.610Z] py311: commands[1]> uv run coverage run --context=py311 -p -m pytest -vv
[task 2025-01-06T23:03:40.610Z] ============================= test session starts ==============================
[task 2025-01-06T23:03:40.610Z] platform linux -- Python 3.11.10, pytest-7.4.4, pluggy-1.5.0 -- /builds/worker/checkouts/vcs/.venv/bin/python
[task 2025-01-06T23:03:40.610Z] cachedir: .tox/py311/.pytest_cache
[task 2025-01-06T23:03:40.610Z] rootdir: /builds/worker/checkouts/vcs
[task 2025-01-06T23:03:40.610Z] configfile: pyproject.toml
[task 2025-01-06T23:03:40.610Z] plugins: responses-0.5.1, aioresponses-0.2.0, asyncio-0.23.8, mock-3.14.0, anyio-4.4.0
[task 2025-01-06T23:03:40.610Z] asyncio: mode=Mode.STRICT
[task 2025-01-06T23:03:40.610Z] collecting ... collected 18 items
[task 2025-01-06T23:03:40.610Z]
[task 2025-01-06T23:03:40.610Z] test/test_auth.py::test_public_auth_get_token PASSED [ 5%]
[task 2025-01-06T23:03:40.610Z] test/test_auth.py::test_token_auth_get_token PASSED [ 11%]
[task 2025-01-06T23:03:40.610Z] test/test_auth.py::test_app_auth_get_token PASSED [ 16%]
[task 2025-01-06T23:03:40.610Z] test/test_auth.py::test_app_installation_auth_get_token PASSED [ 22%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_async_client_get_session PASSED [ 27%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_async_client_get_session_no_token PASSED [ 33%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_sync_client_get_session PASSED [ 38%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_sync_client_get_session_no_token PASSED [ 44%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_async_client_rest PASSED [ 50%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_sync_client_rest PASSED [ 55%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_async_client_rest_with_text PASSED [ 61%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_sync_client_rest_with_text PASSED [ 66%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_async_client_graphql PASSED [ 72%]
[task 2025-01-06T23:03:40.611Z] test/test_client.py::test_sync_client_graphql PASSED [ 77%]
[task 2025-01-06T23:03:40.612Z] test/test_simple_github.py::test_public_client PASSED [ 83%]
[task 2025-01-06T23:03:40.612Z] test/test_simple_github.py::test_token_client PASSED [ 88%]
[task 2025-01-06T23:03:40.612Z] test/test_simple_github.py::test_app_client PASSED [ 94%]
[task 2025-01-06T23:03:40.612Z] test/test_simple_github.py::test_app_installation_client PASSED [100%]
[task 2025-01-06T23:03:40.612Z]
[task 2025-01-06T23:03:40.612Z] ============================== 18 passed in 0.75s ==============================
[task 2025-01-06T23:03:46.552Z] warning: `VIRTUAL_ENV=.tox/clean` does not match the project environment path `.venv` and will be ignored
[task 2025-01-06T23:03:46.552Z] warning: `VIRTUAL_ENV=.tox/py311` does not match the project environment path `.venv` and will be ignored
[task 2025-01-06T23:03:46.552Z] warning: `VIRTUAL_ENV=.tox/py311` does not match the project environment path `.venv` and will be ignored
[task 2025-01-06T23:03:46.552Z] warning: `VIRTUAL_ENV=.tox/py39` does not match the project environment path `.venv` and will be ignored
[task 2025-01-06T23:03:46.552Z] warning: `VIRTUAL_ENV=.tox/py39` does not match the project environment path `.venv` and will be ignored
[task 2025-01-06T23:03:46.552Z] warning: `VIRTUAL_ENV=.tox/report` does not match the project environment path `.venv` and will be ignored
[task 2025-01-06T23:03:46.552Z] warning: `VIRTUAL_ENV=.tox/report` does not match the project environment path `.venv` and will be ignored
[task 2025-01-06T23:03:46.552Z] py39: install_package_deps> python -I -m pip install 'aiohttp[speedups]~=3.8' 'gql[aiohttp,requests]~=3.4' 'pyjwt[crypto]~=2.8' 'requests~=2.31'
[task 2025-01-06T23:03:46.552Z] py39: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/3/simple_github-2.1.0.tar.gz
[task 2025-01-06T23:03:46.552Z] py39: commands[0]> uv run python --version
[task 2025-01-06T23:03:46.552Z] Python 3.11.10
[task 2025-01-06T23:03:46.553Z] py39: commands[1]> uv run coverage run --context=py39 -p -m pytest -vv
[task 2025-01-06T23:03:46.553Z] ============================= test session starts ==============================
[task 2025-01-06T23:03:46.553Z] platform linux -- Python 3.11.10, pytest-7.4.4, pluggy-1.5.0 -- /builds/worker/checkouts/vcs/.venv/bin/python
[task 2025-01-06T23:03:46.553Z] cachedir: .tox/py39/.pytest_cache
[task 2025-01-06T23:03:46.553Z] rootdir: /builds/worker/checkouts/vcs
[task 2025-01-06T23:03:46.553Z] configfile: pyproject.toml
[task 2025-01-06T23:03:46.553Z] plugins: responses-0.5.1, aioresponses-0.2.0, asyncio-0.23.8, mock-3.14.0, anyio-4.4.0
[task 2025-01-06T23:03:46.553Z] asyncio: mode=Mode.STRICT
[task 2025-01-06T23:03:46.553Z] collecting ... collected 18 items
[task 2025-01-06T23:03:46.553Z]
[task 2025-01-06T23:03:46.553Z] test/test_auth.py::test_public_auth_get_token PASSED [ 5%]
[task 2025-01-06T23:03:46.553Z] test/test_auth.py::test_token_auth_get_token PASSED [ 11%]
[task 2025-01-06T23:03:46.553Z] test/test_auth.py::test_app_auth_get_token PASSED [ 16%]
[task 2025-01-06T23:03:46.553Z] test/test_auth.py::test_app_installation_auth_get_token PASSED [ 22%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_async_client_get_session PASSED [ 27%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_async_client_get_session_no_token PASSED [ 33%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_sync_client_get_session PASSED [ 38%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_sync_client_get_session_no_token PASSED [ 44%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_async_client_rest PASSED [ 50%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_sync_client_rest PASSED [ 55%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_async_client_rest_with_text PASSED [ 61%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_sync_client_rest_with_text PASSED [ 66%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_async_client_graphql PASSED [ 72%]
[task 2025-01-06T23:03:46.553Z] test/test_client.py::test_sync_client_graphql PASSED [ 77%]
[task 2025-01-06T23:03:46.553Z] test/test_simple_github.py::test_public_client PASSED [ 83%]
[task 2025-01-06T23:03:46.553Z] test/test_simple_github.py::test_token_client PASSED [ 88%]
[task 2025-01-06T23:03:46.553Z] test/test_simple_github.py::test_app_client PASSED [ 94%]
[task 2025-01-06T23:03:46.553Z] test/test_simple_github.py::test_app_installation_client PASSED [100%]
[task 2025-01-06T23:03:46.553Z]
[task 2025-01-06T23:03:46.553Z] ============================== 18 passed in 0.48s ==============================
[task 2025-01-06T23:03:46.553Z] .pkg: _exit> python /builds/worker/checkouts/vcs/.venv/lib/python3.11/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2025-01-06T23:03:46.553Z] report: install_package_deps> python -I -m pip install 'aiohttp[speedups]~=3.8' 'gql[aiohttp,requests]~=3.4' 'pyjwt[crypto]~=2.8' 'requests~=2.31'
[task 2025-01-06T23:03:46.553Z] report: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/.tox/.tmp/package/4/simple_github-2.1.0.tar.gz
[task 2025-01-06T23:03:46.553Z] report: commands[0]> uv run coverage combine
[task 2025-01-06T23:03:46.553Z] Combined data file .coverage.469a6796586c.204.XRwOyUCx
[task 2025-01-06T23:03:46.553Z] Combined data file .coverage.469a6796586c.278.XDfOtEax
[task 2025-01-06T23:03:46.553Z] report: commands[1]> uv run coverage xml -o /builds/worker/artifacts/coverage.xml
[task 2025-01-06T23:03:46.553Z] Wrote XML report to /builds/worker/artifacts/coverage.xml
[task 2025-01-06T23:03:46.553Z] clean: OK ✔ in 10.04 seconds
[task 2025-01-06T23:03:46.553Z] py312: SKIP ⚠ in 0.46 seconds
[task 2025-01-06T23:03:46.553Z] py38: SKIP ⚠ in 0.47 seconds
[task 2025-01-06T23:03:46.553Z] py310: SKIP ⚠ in 0.47 seconds
[task 2025-01-06T23:03:46.553Z] py311: OK ✔ in 8.4 seconds
[task 2025-01-06T23:03:46.553Z] py39: OK ✔ in 11.51 seconds
[task 2025-01-06T23:03:46.553Z] clean: OK (10.04=setup[9.81]+cmd[0.23] seconds)
[task 2025-01-06T23:03:46.553Z] py38: SKIP (0.46 seconds)
[task 2025-01-06T23:03:46.553Z] py39: OK (11.51=setup[10.37]+cmd[0.02,1.12] seconds)
[task 2025-01-06T23:03:46.553Z] py310: SKIP (0.47 seconds)
[task 2025-01-06T23:03:46.553Z] py311: OK (8.40=setup[6.34]+cmd[0.03,2.03] seconds)
[task 2025-01-06T23:03:46.553Z] py312: SKIP (0.46 seconds)
[task 2025-01-06T23:03:46.553Z] report: OK (5.94=setup[5.68]+cmd[0.12,0.15] seconds)
[task 2025-01-06T23:03:46.553Z] congratulations :) (27.65 seconds)
[taskcluster 2025-01-06 23:03:46.869Z] === Task Finished ===
[taskcluster 2025-01-06 23:03:47.065Z] Successful task run with exit code: 0 completed in 32.368 seconds
Loading