build(deps): bump pytest-cov from 5.0.0 to 6.0.0 in /api/requirements #1300
firefoxci-taskcluster / tox-client-py312
succeeded
Oct 30, 2024 in 46s
FirefoxCI (pull_request)
test the tooltool client
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2024-10-30T03:59:15.675Z
Resolved: 2024-10-30T03:59:59.636Z
Task Execution Time: 43 seconds, 961 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-10-30 03:59:15.757Z] Task ID: C_xWbQy3TZ6OnXIxf3kGjQ
[taskcluster 2024-10-30 03:59:15.757Z] Worker ID: 5363732432837939374
[taskcluster 2024-10-30 03:59:15.757Z] Worker Group: us-west1-a
[taskcluster 2024-10-30 03:59:15.757Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-10-30 03:59:15.757Z] Worker Pool: releng-t/linux-gcp
[taskcluster 2024-10-30 03:59:15.757Z] Worker Version: 38.0.5
[taskcluster 2024-10-30 03:59:15.757Z] Public IP: 35.199.157.161
[taskcluster 2024-10-30 03:59:15.757Z] Hostname: releng-t-linux-gcp-au26-bl0sxovtznfmuzuzg
[taskcluster 2024-10-30 03:59:15.757Z] using cache "releng-level-1-checkouts-v3-7afeb851dd97df8f3607-SvSVKldDTqmrsNWMG0fNvw" -> /builds/worker/checkouts
[taskcluster 2024-10-30 03:59:16.297Z] Downloading artifact "public/image.tar.zst" from task ID: SvSVKldDTqmrsNWMG0fNvw.
[taskcluster 2024-10-30 03:59:21.299Z] Download Progress: 67.85%
[taskcluster 2024-10-30 03:59:23.718Z] Downloaded artifact successfully.
[taskcluster 2024-10-30 03:59:23.718Z] Downloaded 306.576 mb
[taskcluster 2024-10-30 03:59:23.719Z] Decompressing downloaded image
[taskcluster 2024-10-30 03:59:25.832Z] Loading docker image from downloaded archive.
[taskcluster 2024-10-30 03:59:35.063Z] Image 'public/image.tar.zst' from task 'SvSVKldDTqmrsNWMG0fNvw' loaded. Using image ID sha256:91d671c95bdce27588344a3f920a4cc7436ad18e7f32ab7329aa33eab2da01ce.
[taskcluster 2024-10-30 03:59:35.184Z] === Task Starting ===
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[setup 2024-10-30T03:59:36.020Z] run-task started in /
[setup 2024-10-30T03:59:36.020Z] Invoked by command: --tooltool-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx set +x && export CODECOV_TOKEN=$(wget -qO- $SECRET_URL | jq -r '.["secret"]["codecov"]["token"]') && set -x && tox -e tooltool_client-py312
[setup 2024-10-30T03:59:36.021Z] Python version: 3.12.4
[cache 2024-10-30T03:59:36.022Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
/usr/local/bin/run-task:328: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[volume 2024-10-30T03:59:36.022Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-10-30T03:59:36.023Z] volume /builds/worker/checkouts is a cache
[setup 2024-10-30T03:59:36.023Z] running as worker:worker
[vcs 2024-10-30T03:59:36.023Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[vcs 2024-10-30T03:59:36.026Z] executing ['git', 'clone', 'https://github.com/mozilla-releng/tooltool', '/builds/worker/checkouts/vcs']
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[vcs 2024-10-30T03:59:36.028Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-10-30T03:59:36.582Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/pytest-cov-6.0.0']
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[vcs 2024-10-30T03:59:36.878Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-10-30T03:59:36.878Z] * branch dependabot/pip/api/requirements/pytest-cov-6.0.0 -> FETCH_HEAD
[vcs 2024-10-30T03:59:36.883Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/pytest-cov-6.0.0']
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[vcs 2024-10-30T03:59:37.152Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-10-30T03:59:37.152Z] * branch dependabot/pip/api/requirements/pytest-cov-6.0.0 -> FETCH_HEAD
[vcs 2024-10-30T03:59:37.157Z] executing ['git', 'checkout', '-f', '-B', 'dependabot/pip/api/requirements/pytest-cov-6.0.0', '42492829e6582992e7b2f82fc6312b37845718f3']
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[vcs 2024-10-30T03:59:37.170Z] Switched to a new branch 'dependabot/pip/api/requirements/pytest-cov-6.0.0'
[vcs 2024-10-30T03:59:37.170Z] cleaning git checkout...
[vcs 2024-10-30T03:59:37.170Z] executing ['git', 'clean', '-nxdff']
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[vcs 2024-10-30T03:59:37.172Z] removing []
[vcs 2024-10-30T03:59:37.172Z] successfully cleaned git checkout!
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[vcs 2024-10-30T03:59:37.173Z] TinderboxPrint:<a href='https://github.com/mozilla-releng/tooltool/commit/42492829e6582992e7b2f82fc6312b37845718f3' title='Built from tooltool commit 42492829e6582992e7b2f82fc6312b37845718f3'>42492829e6582992e7b2f82fc6312b37845718f3</a>
[task 2024-10-30T03:59:37.173Z] executing ['bash', '-cx', 'set +x && export CODECOV_TOKEN=$(wget -qO- $SECRET_URL | jq -r \'.["secret"]["codecov"]["token"]\') && set -x && tox -e tooltool_client-py312']
/usr/local/bin/run-task:118: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
now = datetime.datetime.utcnow().isoformat().encode("utf-8")
[task 2024-10-30T03:59:37.175Z] + set +x
[task 2024-10-30T03:59:37.236Z] + tox -e tooltool_client-py312
[task 2024-10-30T03:59:37.846Z] tooltool_client-py312: install_deps> python -I -m pip install tox
[task 2024-10-30T03:59:40.440Z] tooltool_client-py312: commands[0] /builds/worker/checkouts/vcs/client> tox -e py312
[task 2024-10-30T03:59:40.931Z] py312: install_deps> python -I -m pip install -r requirements/test.txt
[task 2024-10-30T03:59:47.251Z] py312: commands[0]> ./validate.sh
[task 2024-10-30T03:59:47.258Z] -- running pyflakes --
[task 2024-10-30T03:59:47.425Z] -- running tests (under coverage) --
[task 2024-10-30T03:59:48.710Z] ============================= test session starts ==============================
[task 2024-10-30T03:59:48.710Z] platform linux -- Python 3.12.4, pytest-8.3.3, pluggy-1.5.0
[task 2024-10-30T03:59:48.710Z] cachedir: /builds/worker/checkouts/vcs/.tox/py312/.pytest_cache
[task 2024-10-30T03:59:48.710Z] rootdir: /builds/worker/checkouts/vcs/client
[task 2024-10-30T03:59:48.710Z] collected 153 items
[task 2024-10-30T03:59:48.710Z]
[task 2024-10-30T03:59:48.830Z] test_tooltool.py ....................................................... [ 35%]
[task 2024-10-30T03:59:54.319Z] ........................................................................ [ 83%]
[task 2024-10-30T03:59:54.418Z] .......................... [100%]
[task 2024-10-30T03:59:54.418Z]
[task 2024-10-30T03:59:54.418Z] =============================== warnings summary ===============================
[task 2024-10-30T03:59:54.418Z] test_tooltool.py: 10 warnings
[task 2024-10-30T03:59:54.418Z] /builds/worker/checkouts/vcs/client/tooltool.py:1016: 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-10-30T03:59:54.418Z] super(TarFile, self).extractall(*args, **kwargs)
[task 2024-10-30T03:59:54.418Z]
[task 2024-10-30T03:59:54.418Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-10-30T03:59:54.418Z] ======================= 153 passed, 10 warnings in 6.40s =======================
[task 2024-10-30T03:59:54.466Z] -- checking coverage --
[task 2024-10-30T03:59:54.856Z] Wrote XML report to coverage.xml
[task 2024-10-30T03:59:55.186Z] Wrote HTML report to .coverage-html/index.html
[task 2024-10-30T03:59:55.210Z] Name Stmts Miss Cover
[task 2024-10-30T03:59:55.210Z] ---------------------------------
[task 2024-10-30T03:59:55.211Z] TOTAL 838 67 92%
[task 2024-10-30T03:59:55.212Z]
[task 2024-10-30T03:59:55.212Z] GOOD!
[task 2024-10-30T03:59:55.222Z] py312: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2024-10-30T03:59:55.225Z] py312: OK (14.53=setup[6.56]+cmd[7.97,0.00] seconds)
[task 2024-10-30T03:59:55.225Z] congratulations :) (14.60 seconds)
[task 2024-10-30T03:59:55.262Z] tooltool_client-py312: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2024-10-30T03:59:55.587Z] codecov: install_deps> python -I -m pip install codecov
[task 2024-10-30T03:59:57.997Z] codecov: commands[0]> codecov --disable pycov --commit=42492829e6582992e7b2f82fc6312b37845718f3 --branch= --pr=1300
[task 2024-10-30T03:59:58.599Z]
[task 2024-10-30T03:59:58.599Z] _____ _
[task 2024-10-30T03:59:58.599Z] / ____| | |
[task 2024-10-30T03:59:58.599Z] | | ___ __| | ___ ___ _____ __
[task 2024-10-30T03:59:58.599Z] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2024-10-30T03:59:58.599Z] | |___| (_) | (_| | __/ (_| (_) \ V /
[task 2024-10-30T03:59:58.599Z] \_____\___/ \____|\___|\___\___/ \_/
[task 2024-10-30T03:59:58.599Z] v2.1.13
[task 2024-10-30T03:59:58.599Z]
[task 2024-10-30T03:59:58.599Z] ==> Detecting CI provider
[task 2024-10-30T03:59:58.599Z] -> Got branch from git/hg
[task 2024-10-30T03:59:58.599Z] -> Got sha from git/hg
[task 2024-10-30T03:59:58.599Z] ==> Preparing upload
[task 2024-10-30T03:59:58.599Z] ==> Processing gcov (disable by -X gcov)
[task 2024-10-30T03:59:58.599Z] ==> Collecting reports
[task 2024-10-30T03:59:58.599Z] + /builds/worker/checkouts/vcs/client/coverage.xml bytes=31243
[task 2024-10-30T03:59:58.599Z] + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2024-10-30T03:59:58.599Z] ==> Uploading
[task 2024-10-30T03:59:58.599Z] .url https://codecov.io
[task 2024-10-30T03:59:58.599Z] .query commit=42492829e6582992e7b2f82fc6312b37845718f3&branch=dependabot%2Fpip%2Fapi%2Frequirements%2Fpytest-cov-6.0.0&pr=1300&token=<secret>&package=py2.1.13
[task 2024-10-30T03:59:58.599Z] Gzipping contents..
[task 2024-10-30T03:59:58.599Z] Compressed contents to 3460 bytes
[task 2024-10-30T03:59:58.599Z] Pinging Codecov...
[task 2024-10-30T03:59:58.599Z] Uploading to S3...
[task 2024-10-30T03:59:58.599Z] Uploading to S3 took 0:00:00.164025
[task 2024-10-30T03:59:58.599Z] https://app.codecov.io/github/mozilla-releng/tooltool/commit/42492829e6582992e7b2f82fc6312b37845718f3
[task 2024-10-30T03:59:58.622Z] codecov: OK (3.11=setup[2.49]+cmd[0.62] seconds)
[task 2024-10-30T03:59:58.622Z] congratulations :) (3.18 seconds)
[task 2024-10-30T03:59:58.657Z] tooltool_client-py312: OK (20.99=setup[2.78]+cmd[14.82,3.39] seconds)
[task 2024-10-30T03:59:58.657Z] congratulations :) (21.07 seconds)
[taskcluster 2024-10-30 03:59:59.154Z] === Task Finished ===
[taskcluster 2024-10-30 03:59:59.155Z] Successful task run with exit code: 0 completed in 43.399 seconds
Loading