build(deps): bump types-pytz from 2024.1.0.20240417 to 2024.2.0.20240913 in /api/requirements #1237
firefoxci-taskcluster / tox-client-py312
succeeded
Sep 13, 2024 in 1m 43s
FirefoxCI (pull_request)
test the tooltool client
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-09-13 03:59:45.697Z] Task ID: LQY21J65Q3OdDWLlOHAvrw
[taskcluster 2024-09-13 03:59:45.697Z] Worker ID: 7474513643947558622
[taskcluster 2024-09-13 03:59:45.697Z] Worker Group: us-central1-b
[taskcluster 2024-09-13 03:59:45.697Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-09-13 03:59:45.697Z] Worker Pool: releng-t/linux-gcp
[taskcluster 2024-09-13 03:59:45.697Z] Worker Version: 38.0.5
[taskcluster 2024-09-13 03:59:45.697Z] Public IP: 34.44.43.140
[taskcluster 2024-09-13 03:59:45.697Z] Hostname: releng-t-linux-gcp-ez8ruq2arxou-3bispjbca
[taskcluster 2024-09-13 03:59:45.697Z] using cache "releng-level-1-checkouts-v3-7afeb851dd97df8f3607-SvSVKldDTqmrsNWMG0fNvw" -> /builds/worker/checkouts
[taskcluster 2024-09-13 03:59:46.179Z] Downloading artifact "public/image.tar.zst" from task ID: SvSVKldDTqmrsNWMG0fNvw.
[taskcluster 2024-09-13 03:59:48.798Z] Downloaded artifact successfully.
[taskcluster 2024-09-13 03:59:48.798Z] Downloaded 306.576 mb
[taskcluster 2024-09-13 03:59:48.798Z] Decompressing downloaded image
[taskcluster 2024-09-13 03:59:51.017Z] Loading docker image from downloaded archive.
[taskcluster 2024-09-13 03:59:59.915Z] Image 'public/image.tar.zst' from task 'SvSVKldDTqmrsNWMG0fNvw' loaded. Using image ID sha256:91d671c95bdce27588344a3f920a4cc7436ad18e7f32ab7329aa33eab2da01ce.
[taskcluster 2024-09-13 04:00:00.138Z] === 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-09-13T04:00:00.880Z] run-task started in /
[setup 2024-09-13T04:00:00.880Z] 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-09-13T04:00:00.880Z] Python version: 3.12.4
[cache 2024-09-13T04:00:00.882Z] 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-09-13T04:00:00.883Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-09-13T04:00:00.883Z] volume /builds/worker/checkouts is a cache
[setup 2024-09-13T04:00:00.883Z] running as worker:worker
[vcs 2024-09-13T04:00:00.883Z] 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-09-13T04:00:00.887Z] 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-09-13T04:00:00.889Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-09-13T04:00:01.398Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/types-pytz-2024.2.0.20240913']
/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-09-13T04:00:01.572Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-09-13T04:00:01.572Z] * branch dependabot/pip/api/requirements/types-pytz-2024.2.0.20240913 -> FETCH_HEAD
[vcs 2024-09-13T04:00:01.578Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/types-pytz-2024.2.0.20240913']
/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-09-13T04:00:01.773Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-09-13T04:00:01.773Z] * branch dependabot/pip/api/requirements/types-pytz-2024.2.0.20240913 -> FETCH_HEAD
[vcs 2024-09-13T04:00:01.777Z] executing ['git', 'checkout', '-f', '-B', 'dependabot/pip/api/requirements/types-pytz-2024.2.0.20240913', 'a4720bf3973e7d5e1a5b4c8807b6aef8debfe34f']
/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-09-13T04:00:01.791Z] Switched to a new branch 'dependabot/pip/api/requirements/types-pytz-2024.2.0.20240913'
[vcs 2024-09-13T04:00:01.791Z] cleaning git checkout...
[vcs 2024-09-13T04:00:01.791Z] 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-09-13T04:00:01.793Z] removing []
[vcs 2024-09-13T04:00:01.793Z] 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-09-13T04:00:01.795Z] TinderboxPrint:<a href='https://github.com/mozilla-releng/tooltool/commit/a4720bf3973e7d5e1a5b4c8807b6aef8debfe34f' title='Built from tooltool commit a4720bf3973e7d5e1a5b4c8807b6aef8debfe34f'>a4720bf3973e7d5e1a5b4c8807b6aef8debfe34f</a>
[task 2024-09-13T04:00:01.795Z] 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-09-13T04:00:01.796Z] + set +x
[task 2024-09-13T04:00:01.880Z] + tox -e tooltool_client-py312
[task 2024-09-13T04:00:02.512Z] tooltool_client-py312: install_deps> python -I -m pip install tox
[task 2024-09-13T04:00:06.281Z] tooltool_client-py312: commands[0] /builds/worker/checkouts/vcs/client> tox -e py312
[task 2024-09-13T04:00:06.741Z] py312: install_deps> python -I -m pip install -r requirements/test.txt
[task 2024-09-13T04:00:17.335Z] py312: commands[0]> ./validate.sh
[task 2024-09-13T04:00:17.342Z] -- running pyflakes --
[task 2024-09-13T04:00:17.514Z] -- running tests (under coverage) --
[task 2024-09-13T04:00:18.798Z] ============================= test session starts ==============================
[task 2024-09-13T04:00:18.798Z] platform linux -- Python 3.12.4, pytest-7.3.1, pluggy-1.0.0
[task 2024-09-13T04:00:18.798Z] cachedir: /builds/worker/checkouts/vcs/.tox/py312/.pytest_cache
[task 2024-09-13T04:00:18.798Z] rootdir: /builds/worker/checkouts/vcs/client
[task 2024-09-13T04:00:18.798Z] collected 152 items
[task 2024-09-13T04:00:18.798Z]
[task 2024-09-13T04:00:18.925Z] test_tooltool.py ....................................................... [ 36%]
[task 2024-09-13T04:00:25.897Z] ........................................................................ [ 83%]
[task 2024-09-13T04:00:26.209Z] ......................... [100%]
[task 2024-09-13T04:00:26.210Z]
[task 2024-09-13T04:00:26.210Z] =============================== warnings summary ===============================
[task 2024-09-13T04:00:26.210Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:965: 39 warnings
[task 2024-09-13T04:00:26.210Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:965: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.210Z] inlocs = ast.Compare(ast.Str(name.id), [ast.In()], [locs])
[task 2024-09-13T04:00:26.210Z]
[task 2024-09-13T04:00:26.210Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:968: 38 warnings
[task 2024-09-13T04:00:26.210Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:968: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.210Z] expr = ast.IfExp(test, self.display(name), ast.Str(name.id))
[task 2024-09-13T04:00:26.210Z]
[task 2024-09-13T04:00:26.210Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:927: 38 warnings
[task 2024-09-13T04:00:26.210Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:927: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.211Z] assertmsg = ast.Str("")
[task 2024-09-13T04:00:26.211Z]
[task 2024-09-13T04:00:26.211Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:929: 39 warnings
[task 2024-09-13T04:00:26.211Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:929: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.211Z] template = ast.BinOp(assertmsg, ast.Add(), ast.Str(explanation))
[task 2024-09-13T04:00:26.211Z]
[task 2024-09-13T04:00:26.211Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:817: 273 warnings
[task 2024-09-13T04:00:26.211Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:817: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.211Z] keys = [ast.Str(key) for key in current.keys()]
[task 2024-09-13T04:00:26.211Z]
[task 2024-09-13T04:00:26.211Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:941: 40 warnings
[task 2024-09-13T04:00:26.211Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:941: DeprecationWarning: ast.NameConstant is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.211Z] clear = ast.Assign(variables, ast.NameConstant(None))
[task 2024-09-13T04:00:26.211Z]
[task 2024-09-13T04:00:26.211Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1102: 32 warnings
[task 2024-09-13T04:00:26.211Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1102: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.211Z] syms.append(ast.Str(sym))
[task 2024-09-13T04:00:26.211Z]
[task 2024-09-13T04:00:26.211Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1104: 32 warnings
[task 2024-09-13T04:00:26.211Z] /builds/worker/checkouts/vcs/.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1104: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
[task 2024-09-13T04:00:26.211Z] expls.append(ast.Str(expl))
[task 2024-09-13T04:00:26.211Z]
[task 2024-09-13T04:00:26.211Z] test_tooltool.py::FetchTests::test_unpack_escape_tarfile
[task 2024-09-13T04:00:26.211Z] test_tooltool.py::FetchTests::test_unpack_file_tar
[task 2024-09-13T04:00:26.211Z] test_tooltool.py::FetchTests::test_unpack_file_tar_bz2
[task 2024-09-13T04:00:26.212Z] test_tooltool.py::FetchTests::test_unpack_file_tar_gz
[task 2024-09-13T04:00:26.212Z] test_tooltool.py::FetchTests::test_unpack_file_tar_xz
[task 2024-09-13T04:00:26.212Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-09-13T04:00:26.212Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-09-13T04:00:26.212Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-09-13T04:00:26.212Z] test_tooltool.py::FetchTests::test_unpack_setuid_tarfile
[task 2024-09-13T04:00:26.212Z] /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-09-13T04:00:26.212Z] super(TarFile, self).extractall(*args, **kwargs)
[task 2024-09-13T04:00:26.212Z]
[task 2024-09-13T04:00:26.212Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-09-13T04:00:26.212Z] ====================== 152 passed, 540 warnings in 8.10s =======================
[task 2024-09-13T04:00:26.263Z] -- checking coverage --
[task 2024-09-13T04:00:26.570Z] Wrote XML report to coverage.xml
[task 2024-09-13T04:00:26.816Z] Wrote HTML report to .coverage-html/index.html
[task 2024-09-13T04:00:26.835Z] Name Stmts Miss Cover
[task 2024-09-13T04:00:26.835Z] ---------------------------------
[task 2024-09-13T04:00:26.836Z] TOTAL 838 81 90%
[task 2024-09-13T04:00:26.837Z]
[task 2024-09-13T04:00:26.837Z] GOOD!
[task 2024-09-13T04:00:26.838Z] py312: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2024-09-13T04:00:26.841Z] py312: OK (20.33=setup[10.82]+cmd[9.50,0.00] seconds)
[task 2024-09-13T04:00:26.841Z] congratulations :) (20.39 seconds)
[task 2024-09-13T04:00:26.880Z] tooltool_client-py312: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2024-09-13T04:00:27.191Z] codecov: install_deps> python -I -m pip install codecov
[task 2024-09-13T04:00:30.163Z] codecov: commands[0]> codecov --disable pycov --commit=a4720bf3973e7d5e1a5b4c8807b6aef8debfe34f --branch= --pr=1237
[task 2024-09-13T04:00:30.937Z]
[task 2024-09-13T04:00:30.937Z] _____ _
[task 2024-09-13T04:00:30.937Z] / ____| | |
[task 2024-09-13T04:00:30.937Z] | | ___ __| | ___ ___ _____ __
[task 2024-09-13T04:00:30.937Z] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2024-09-13T04:00:30.937Z] | |___| (_) | (_| | __/ (_| (_) \ V /
[task 2024-09-13T04:00:30.937Z] \_____\___/ \____|\___|\___\___/ \_/
[task 2024-09-13T04:00:30.938Z] v2.1.13
[task 2024-09-13T04:00:30.938Z]
[task 2024-09-13T04:00:30.938Z] ==> Detecting CI provider
[task 2024-09-13T04:00:30.938Z] -> Got branch from git/hg
[task 2024-09-13T04:00:30.938Z] -> Got sha from git/hg
[task 2024-09-13T04:00:30.938Z] ==> Preparing upload
[task 2024-09-13T04:00:30.938Z] ==> Processing gcov (disable by -X gcov)
[task 2024-09-13T04:00:30.938Z] ==> Collecting reports
[task 2024-09-13T04:00:30.938Z] + /builds/worker/checkouts/vcs/client/coverage.xml bytes=31240
[task 2024-09-13T04:00:30.938Z] + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2024-09-13T04:00:30.938Z] ==> Uploading
[task 2024-09-13T04:00:30.938Z] .url https://codecov.io
[task 2024-09-13T04:00:30.938Z] .query commit=a4720bf3973e7d5e1a5b4c8807b6aef8debfe34f&branch=dependabot%2Fpip%2Fapi%2Frequirements%2Ftypes-pytz-2024.2.0.20240913&pr=1237&token=<secret>&package=py2.1.13
[task 2024-09-13T04:00:30.938Z] Gzipping contents..
[task 2024-09-13T04:00:30.939Z] Compressed contents to 3439 bytes
[task 2024-09-13T04:00:30.939Z] Pinging Codecov...
[task 2024-09-13T04:00:30.939Z] Uploading to S3...
[task 2024-09-13T04:00:30.939Z] Uploading to S3 took 0:00:00.193409
[task 2024-09-13T04:00:30.939Z] https://app.codecov.io/github/mozilla-releng/tooltool/commit/a4720bf3973e7d5e1a5b4c8807b6aef8debfe34f
[task 2024-09-13T04:00:30.961Z] codecov: OK (3.85=setup[3.05]+cmd[0.80] seconds)
[task 2024-09-13T04:00:30.961Z] congratulations :) (3.91 seconds)
[task 2024-09-13T04:00:30.997Z] tooltool_client-py312: OK (28.67=setup[3.96]+cmd[20.60,4.12] seconds)
[task 2024-09-13T04:00:30.997Z] congratulations :) (28.75 seconds)
[taskcluster 2024-09-13 04:00:31.413Z] === Task Finished ===
[taskcluster 2024-09-13 04:00:31.413Z] Successful task run with exit code: 0 completed in 45.718 seconds
Loading