build(deps): bump structlog from 24.2.0 to 24.4.0 in /api/requirements #1209
firefoxci-taskcluster / tox-client-py312
succeeded
Aug 28, 2024 in 1m 7s
FirefoxCI (pull_request)
test the tooltool client
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-08-28 03:46:47.203Z] Task ID: PYLhQ0sMQYGV67qwMk8tXw
[taskcluster 2024-08-28 03:46:47.203Z] Worker ID: 7514095379649078358
[taskcluster 2024-08-28 03:46:47.203Z] Worker Group: us-west1-a
[taskcluster 2024-08-28 03:46:47.203Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-08-28 03:46:47.203Z] Worker Pool: releng-t/linux-gcp
[taskcluster 2024-08-28 03:46:47.203Z] Worker Version: 38.0.5
[taskcluster 2024-08-28 03:46:47.203Z] Public IP: 34.83.174.74
[taskcluster 2024-08-28 03:46:47.203Z] Hostname: releng-t-linux-gcp-iomdkfatr32uhoeqtyhjgq
[taskcluster 2024-08-28 03:46:47.203Z] using cache "releng-level-1-checkouts-v3-7afeb851dd97df8f3607-SvSVKldDTqmrsNWMG0fNvw" -> /builds/worker/checkouts
[taskcluster 2024-08-28 03:46:47.762Z] Image 'public/image.tar.zst' from task 'SvSVKldDTqmrsNWMG0fNvw' loaded. Using image ID sha256:91d671c95bdce27588344a3f920a4cc7436ad18e7f32ab7329aa33eab2da01ce.
[taskcluster 2024-08-28 03:46:47.778Z] === 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-08-28T03:46:48.037Z] run-task started in /
[setup 2024-08-28T03:46:48.037Z] 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-08-28T03:46:48.038Z] Python version: 3.12.4
[cache 2024-08-28T03:46:48.039Z] cache /builds/worker/checkouts exists; 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-08-28T03:46:48.040Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-08-28T03:46:48.040Z] volume /builds/worker/checkouts is a cache
[setup 2024-08-28T03:46:48.040Z] running as worker:worker
[vcs 2024-08-28T03:46:48.040Z] 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-08-28T03:46:48.043Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/structlog-24.4.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-08-28T03:46:48.370Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-08-28T03:46:48.370Z] * branch dependabot/pip/api/requirements/structlog-24.4.0 -> FETCH_HEAD
[vcs 2024-08-28T03:46:48.372Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/structlog-24.4.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-08-28T03:46:48.627Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-08-28T03:46:48.627Z] * branch dependabot/pip/api/requirements/structlog-24.4.0 -> FETCH_HEAD
[vcs 2024-08-28T03:46:48.632Z] executing ['git', 'checkout', '-f', '-B', 'dependabot/pip/api/requirements/structlog-24.4.0', 'ac09600104bde95c632c2e4adb86daa62ccb878f']
/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-08-28T03:46:48.645Z] Switched to a new branch 'dependabot/pip/api/requirements/structlog-24.4.0'
[vcs 2024-08-28T03:46:48.645Z] cleaning git checkout...
[vcs 2024-08-28T03:46:48.645Z] 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-08-28T03:46:48.681Z] removing ['/builds/worker/checkouts/vcs/.tox/', '/builds/worker/checkouts/vcs/client/.coverage', '/builds/worker/checkouts/vcs/client/.coverage-html/', '/builds/worker/checkouts/vcs/client/coverage.xml']
[vcs 2024-08-28T03:46:48.834Z] 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-08-28T03:46:48.836Z] TinderboxPrint:<a href='https://github.com/mozilla-releng/tooltool/commit/ac09600104bde95c632c2e4adb86daa62ccb878f' title='Built from tooltool commit ac09600104bde95c632c2e4adb86daa62ccb878f'>ac09600104bde95c632c2e4adb86daa62ccb878f</a>
[task 2024-08-28T03:46:48.836Z] 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-08-28T03:46:48.838Z] + set +x
[task 2024-08-28T03:46:48.883Z] + tox -e tooltool_client-py312
[task 2024-08-28T03:46:49.514Z] tooltool_client-py312: install_deps> python -I -m pip install tox
[task 2024-08-28T03:46:52.152Z] tooltool_client-py312: commands[0] /builds/worker/checkouts/vcs/client> tox -e py312
[task 2024-08-28T03:46:52.524Z] py312: install_deps> python -I -m pip install -r requirements/test.txt
[task 2024-08-28T03:47:01.607Z] py312: commands[0]> ./validate.sh
[task 2024-08-28T03:47:01.613Z] -- running pyflakes --
[task 2024-08-28T03:47:01.775Z] -- running tests (under coverage) --
[task 2024-08-28T03:47:03.036Z] ============================= test session starts ==============================
[task 2024-08-28T03:47:03.036Z] platform linux -- Python 3.12.4, pytest-7.3.1, pluggy-1.0.0
[task 2024-08-28T03:47:03.036Z] cachedir: /builds/worker/checkouts/vcs/.tox/py312/.pytest_cache
[task 2024-08-28T03:47:03.036Z] rootdir: /builds/worker/checkouts/vcs/client
[task 2024-08-28T03:47:03.036Z] collected 152 items
[task 2024-08-28T03:47:03.036Z]
[task 2024-08-28T03:47:03.161Z] test_tooltool.py ....................................................... [ 36%]
[task 2024-08-28T03:47:08.681Z] ........................................................................ [ 83%]
[task 2024-08-28T03:47:08.989Z] ......................... [100%]
[task 2024-08-28T03:47:08.989Z]
[task 2024-08-28T03:47:08.990Z] =============================== warnings summary ===============================
[task 2024-08-28T03:47:08.990Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:965: 39 warnings
[task 2024-08-28T03:47:08.990Z] /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-08-28T03:47:08.990Z] inlocs = ast.Compare(ast.Str(name.id), [ast.In()], [locs])
[task 2024-08-28T03:47:08.991Z]
[task 2024-08-28T03:47:08.991Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:968: 38 warnings
[task 2024-08-28T03:47:08.991Z] /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-08-28T03:47:08.991Z] expr = ast.IfExp(test, self.display(name), ast.Str(name.id))
[task 2024-08-28T03:47:08.991Z]
[task 2024-08-28T03:47:08.991Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:927: 38 warnings
[task 2024-08-28T03:47:08.991Z] /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-08-28T03:47:08.992Z] assertmsg = ast.Str("")
[task 2024-08-28T03:47:08.992Z]
[task 2024-08-28T03:47:08.992Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:929: 39 warnings
[task 2024-08-28T03:47:08.992Z] /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-08-28T03:47:08.992Z] template = ast.BinOp(assertmsg, ast.Add(), ast.Str(explanation))
[task 2024-08-28T03:47:08.992Z]
[task 2024-08-28T03:47:08.992Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:817: 273 warnings
[task 2024-08-28T03:47:08.992Z] /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-08-28T03:47:08.992Z] keys = [ast.Str(key) for key in current.keys()]
[task 2024-08-28T03:47:08.992Z]
[task 2024-08-28T03:47:08.992Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:941: 40 warnings
[task 2024-08-28T03:47:08.992Z] /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-08-28T03:47:08.992Z] clear = ast.Assign(variables, ast.NameConstant(None))
[task 2024-08-28T03:47:08.992Z]
[task 2024-08-28T03:47:08.992Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1102: 32 warnings
[task 2024-08-28T03:47:08.992Z] /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-08-28T03:47:08.992Z] syms.append(ast.Str(sym))
[task 2024-08-28T03:47:08.992Z]
[task 2024-08-28T03:47:08.992Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1104: 32 warnings
[task 2024-08-28T03:47:08.992Z] /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-08-28T03:47:08.992Z] expls.append(ast.Str(expl))
[task 2024-08-28T03:47:08.993Z]
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_escape_tarfile
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_file_tar
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_file_tar_bz2
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_file_tar_gz
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_file_tar_xz
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-08-28T03:47:08.993Z] test_tooltool.py::FetchTests::test_unpack_setuid_tarfile
[task 2024-08-28T03:47:08.993Z] /builds/worker/checkouts/vcs/client/tooltool.py:983: 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-08-28T03:47:08.993Z] tar.extractall(path, members=_files(tar, path), numeric_owner=numeric_owner)
[task 2024-08-28T03:47:08.993Z]
[task 2024-08-28T03:47:08.993Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-08-28T03:47:08.993Z] ====================== 152 passed, 540 warnings in 6.63s =======================
[task 2024-08-28T03:47:09.042Z] -- checking coverage --
[task 2024-08-28T03:47:09.343Z] Wrote XML report to coverage.xml
[task 2024-08-28T03:47:09.583Z] Wrote HTML report to .coverage-html/index.html
[task 2024-08-28T03:47:09.602Z] Name Stmts Miss Cover
[task 2024-08-28T03:47:09.603Z] ---------------------------------
[task 2024-08-28T03:47:09.603Z] TOTAL 824 81 90%
[task 2024-08-28T03:47:09.604Z]
[task 2024-08-28T03:47:09.604Z] GOOD!
[task 2024-08-28T03:47:09.605Z] py312: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2024-08-28T03:47:09.608Z] py312: OK (17.23=setup[9.23]+cmd[8.00,0.00] seconds)
[task 2024-08-28T03:47:09.608Z] congratulations :) (17.30 seconds)
[task 2024-08-28T03:47:09.642Z] tooltool_client-py312: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2024-08-28T03:47:09.964Z] codecov: install_deps> python -I -m pip install codecov
[task 2024-08-28T03:47:12.192Z] codecov: commands[0]> codecov --disable pycov --commit=ac09600104bde95c632c2e4adb86daa62ccb878f --branch= --pr=1209
[task 2024-08-28T03:47:12.970Z]
[task 2024-08-28T03:47:12.970Z] _____ _
[task 2024-08-28T03:47:12.971Z] / ____| | |
[task 2024-08-28T03:47:12.971Z] | | ___ __| | ___ ___ _____ __
[task 2024-08-28T03:47:12.971Z] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2024-08-28T03:47:12.971Z] | |___| (_) | (_| | __/ (_| (_) \ V /
[task 2024-08-28T03:47:12.971Z] \_____\___/ \____|\___|\___\___/ \_/
[task 2024-08-28T03:47:12.971Z] v2.1.13
[task 2024-08-28T03:47:12.971Z]
[task 2024-08-28T03:47:12.971Z] ==> Detecting CI provider
[task 2024-08-28T03:47:12.971Z] -> Got branch from git/hg
[task 2024-08-28T03:47:12.971Z] -> Got sha from git/hg
[task 2024-08-28T03:47:12.971Z] ==> Preparing upload
[task 2024-08-28T03:47:12.971Z] ==> Processing gcov (disable by -X gcov)
[task 2024-08-28T03:47:12.971Z] ==> Collecting reports
[task 2024-08-28T03:47:12.971Z] + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2024-08-28T03:47:12.971Z] + /builds/worker/checkouts/vcs/client/coverage.xml bytes=30717
[task 2024-08-28T03:47:12.971Z] ==> Uploading
[task 2024-08-28T03:47:12.971Z] .url https://codecov.io
[task 2024-08-28T03:47:12.971Z] .query commit=ac09600104bde95c632c2e4adb86daa62ccb878f&branch=dependabot%2Fpip%2Fapi%2Frequirements%2Fstructlog-24.4.0&pr=1209&token=<secret>&package=py2.1.13
[task 2024-08-28T03:47:12.971Z] Gzipping contents..
[task 2024-08-28T03:47:12.971Z] Compressed contents to 3382 bytes
[task 2024-08-28T03:47:12.971Z] Pinging Codecov...
[task 2024-08-28T03:47:12.971Z] Uploading to S3...
[task 2024-08-28T03:47:12.971Z] Uploading to S3 took 0:00:00.177100
[task 2024-08-28T03:47:12.971Z] https://app.codecov.io/github/mozilla-releng/tooltool/commit/ac09600104bde95c632c2e4adb86daa62ccb878f
[task 2024-08-28T03:47:12.992Z] codecov: OK (3.11=setup[2.31]+cmd[0.80] seconds)
[task 2024-08-28T03:47:12.992Z] congratulations :) (3.18 seconds)
[task 2024-08-28T03:47:13.028Z] tooltool_client-py312: OK (23.70=setup[2.82]+cmd[17.49,3.38] seconds)
[task 2024-08-28T03:47:13.028Z] congratulations :) (23.77 seconds)
[taskcluster 2024-08-28 03:47:13.411Z] === Task Finished ===
[taskcluster 2024-08-28 03:47:13.412Z] Successful task run with exit code: 0 completed in 26.21 seconds
Loading