Skip to content

tests: add check for updates_disabled cache

93c93ca
Select commit
Loading
Failed to load commit list.
Draft

tests: add check for updates_disabled cache #3457

tests: add check for updates_disabled cache
93c93ca
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / test-client succeeded Jul 9, 2025 in 3m 3s

FirefoxCI (pull_request)

balrog client tests

Details

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

Task Status

Started: 2025-07-09T09:38:54.669Z
Resolved: 2025-07-09T09:39:30.829Z
Task Execution Time: 36 seconds, 160 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2025-07-09 09:38:54.771Z] Task ID: VE5OsHigTfipce77WFlG4A
[taskcluster 2025-07-09 09:38:54.771Z] Worker ID: 73802015251334857
[taskcluster 2025-07-09 09:38:54.771Z] Worker Group: us-central1-f
[taskcluster 2025-07-09 09:38:54.771Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-07-09 09:38:54.771Z] Worker Pool: releng-t/linux-gcp
[taskcluster 2025-07-09 09:38:54.771Z] Worker Version: 38.0.5
[taskcluster 2025-07-09 09:38:54.771Z] Public IP: 35.202.232.239
[taskcluster 2025-07-09 09:38:54.771Z] Hostname: releng-t-linux-gcp-pu7q3vemrtcp8qhytb1lfw
[taskcluster 2025-07-09 09:38:54.771Z] using cache "releng-level-1-checkouts-v3-581ca6876fac84fa2dd8-RewISYrbRzisB2m2L7wuHQ" -> /builds/worker/checkouts

[taskcluster 2025-07-09 09:38:55.205Z] Downloading artifact "public/image.tar.zst" from task ID: RewISYrbRzisB2m2L7wuHQ.
[taskcluster 2025-07-09 09:38:59.947Z] Downloaded artifact successfully.
[taskcluster 2025-07-09 09:38:59.947Z] Downloaded 283.631 mb
[taskcluster 2025-07-09 09:38:59.948Z] Decompressing downloaded image
[taskcluster 2025-07-09 09:39:02.329Z] Loading docker image from downloaded archive.
[taskcluster 2025-07-09 09:39:10.599Z] Image 'public/image.tar.zst' from task 'RewISYrbRzisB2m2L7wuHQ' loaded.  Using image ID sha256:eafcbad41e9bca42942f09f19f1e59833d4075e22438d7427dffad85e47727d4.
[taskcluster 2025-07-09 09:39:10.794Z] === Task Starting ===
[setup 2025-07-09T09:39:11.394+00:00] run-task started in /
[setup 2025-07-09T09:39:11.394+00:00] Invoked by command: --balrog-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs/client -- tox
[setup 2025-07-09T09:39:11.394+00:00] Python version: 3.9.23
[cache 2025-07-09T09:39:11.396+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2025-07-09T09:39:11.396+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2025-07-09T09:39:11.396+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-07-09T09:39:11.396+00:00] running as worker:worker
[vcs 2025-07-09T09:39:11.397+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-07-09T09:39:11.400+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/balrog', '/builds/worker/checkouts/vcs']
[vcs 2025-07-09T09:39:11.402+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2025-07-09T09:39:14.540+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/jcristau/balrog', 'updates-disabled-cache']
[vcs 2025-07-09T09:39:14.841+00:00] From https://github.com/jcristau/balrog
[vcs 2025-07-09T09:39:14.841+00:00]  * branch              updates-disabled-cache -> FETCH_HEAD
[vcs 2025-07-09T09:39:14.843+00:00] executing ['git', 'checkout', '-f', '-B', 'updates-disabled-cache', '93c93ca015047673284c9d6d4053982ad6ae9377']
[vcs 2025-07-09T09:39:14.975+00:00] Switched to a new branch 'updates-disabled-cache'
[vcs 2025-07-09T09:39:14.976+00:00] cleaning git checkout...
[vcs 2025-07-09T09:39:14.976+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-07-09T09:39:14.985+00:00] removing []
[vcs 2025-07-09T09:39:14.985+00:00] successfully cleaned git checkout!
[vcs 2025-07-09T09:39:14.988+00:00] TinderboxPrint:<a href='https://github.com/jcristau/balrog/commit/93c93ca015047673284c9d6d4053982ad6ae9377' title='Built from balrog commit 93c93ca015047673284c9d6d4053982ad6ae9377'>93c93ca015047673284c9d6d4053982ad6ae9377</a>
[task 2025-07-09T09:39:14.988+00:00] executing ['tox']
[task 2025-07-09T09:39:15.719+00:00] check: install_deps> python -I -m pip install black flake8 flake8-black isort
[task 2025-07-09T09:39:18.849+00:00] .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0'
[task 2025-07-09T09:39:19.859+00:00] .pkg: _optional_hooks> python /usr/local/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2025-07-09T09:39:20.211+00:00] .pkg: get_requires_for_build_editable> python /usr/local/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2025-07-09T09:39:20.487+00:00] .pkg: build_editable> python /usr/local/lib/python3.9/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
[task 2025-07-09T09:39:20.830+00:00] check: install_package_deps> python -I -m pip install requests
[task 2025-07-09T09:39:22.202+00:00] check: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/client/.tox/.tmp/package/1/balrogclient-1.4-0.editable-py3-none-any.whl
[task 2025-07-09T09:39:22.684+00:00] check: commands[0]> black --diff --check /builds/worker/checkouts/vcs/client
[task 2025-07-09T09:39:23.031+00:00] All done! ✨ 🍰 ✨
[task 2025-07-09T09:39:23.031+00:00] 4 files would be left unchanged.
[task 2025-07-09T09:39:23.066+00:00] check: commands[1]> isort --check --diff /builds/worker/checkouts/vcs/client
[task 2025-07-09T09:39:23.198+00:00] Skipped 1 files
[task 2025-07-09T09:39:23.214+00:00] check: commands[2]> flake8 /builds/worker/checkouts/vcs/client
[task 2025-07-09T09:39:23.873+00:00] check: OK ✔ in 8.37 seconds
[task 2025-07-09T09:39:23.874+00:00] py39: install_deps> python -I -m pip install pytest pytest-cov requests_mock
[task 2025-07-09T09:39:28.216+00:00] py39: install_package_deps> python -I -m pip install requests
[task 2025-07-09T09:39:28.722+00:00] py39: install_package> python -I -m pip install --force-reinstall --no-deps /builds/worker/checkouts/vcs/client/.tox/.tmp/package/2/balrogclient-1.4-0.editable-py3-none-any.whl
[task 2025-07-09T09:39:29.185+00:00] py39: commands[0]> py.test --cov-config=tox.ini --cov-append --cov=balrogclient --cov-report term-missing tests
[task 2025-07-09T09:39:29.679+00:00] ============================= test session starts ==============================
[task 2025-07-09T09:39:29.680+00:00] platform linux -- Python 3.9.23, pytest-8.4.1, pluggy-1.6.0
[task 2025-07-09T09:39:29.680+00:00] cachedir: .tox/py39/.pytest_cache
[task 2025-07-09T09:39:29.680+00:00] rootdir: /builds/worker/checkouts/vcs/client
[task 2025-07-09T09:39:29.680+00:00] configfile: tox.ini
[task 2025-07-09T09:39:29.681+00:00] plugins: cov-6.2.1, requests-mock-1.12.1
[task 2025-07-09T09:39:29.681+00:00] collected 1 item
[task 2025-07-09T09:39:29.681+00:00] 
[task 2025-07-09T09:39:29.773+00:00] tests/test_balrog_api.py .                                               [100%]
[task 2025-07-09T09:39:29.773+00:00] 
[task 2025-07-09T09:39:29.773+00:00] ================================ tests coverage ================================
[task 2025-07-09T09:39:29.773+00:00] _______________ coverage: platform linux, python 3.9.23-final-0 ________________
[task 2025-07-09T09:39:29.773+00:00] 
[task 2025-07-09T09:39:29.774+00:00] Name                           Stmts   Miss Branch BrPart  Cover   Missing
[task 2025-07-09T09:39:29.774+00:00] --------------------------------------------------------------------------
[task 2025-07-09T09:39:29.774+00:00] src/balrogclient/__init__.py       2      0      0      0   100%
[task 2025-07-09T09:39:29.774+00:00] src/balrogclient/api.py          198    102     38      4    42%   23->26, 36-40, 62, 65, 73-82, 88-108, 154-174, 186->188, 190->192, 193-195, 201-202, 210-212, 215-220, 233-235, 238, 241, 249-255, 258-285, 288-296, 306-308, 312, 322-324, 328
[task 2025-07-09T09:39:29.774+00:00] --------------------------------------------------------------------------
[task 2025-07-09T09:39:29.774+00:00] TOTAL                            200    102     38      4    43%
[task 2025-07-09T09:39:29.774+00:00] ============================== 1 passed in 0.07s ===============================
[task 2025-07-09T09:39:29.818+00:00]   check: OK (8.37=setup[7.36]+cmd[0.38,0.15,0.48] seconds)
[task 2025-07-09T09:39:29.818+00:00]   py39: OK (6.12=setup[5.49]+cmd[0.63] seconds)
[task 2025-07-09T09:39:29.818+00:00]   congratulations :) (14.63 seconds)
[taskcluster 2025-07-09 09:39:30.317Z] === Task Finished ===
[taskcluster 2025-07-09 09:39:30.317Z] Successful task run with exit code: 0 completed in 35.547 seconds