build(deps): bump connexion[swagger-ui] from 2.14.2 to 3.1.0 in /api/requirements #1208
firefoxci-taskcluster / tox-client-py312
succeeded
Aug 28, 2024 in 1m 0s
FirefoxCI (pull_request)
test the tooltool client
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-08-28 03:44:53.010Z] Task ID: YBIiNAFnTaiAiXlVk3NIxQ
[taskcluster 2024-08-28 03:44:53.010Z] Worker ID: 6483787988682875990
[taskcluster 2024-08-28 03:44:53.010Z] Worker Group: us-west1-b
[taskcluster 2024-08-28 03:44:53.010Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-08-28 03:44:53.010Z] Worker Pool: releng-t/linux-gcp
[taskcluster 2024-08-28 03:44:53.010Z] Worker Version: 38.0.5
[taskcluster 2024-08-28 03:44:53.010Z] Public IP: 34.168.241.161
[taskcluster 2024-08-28 03:44:53.010Z] Hostname: releng-t-linux-gcp-ngo3uscesiyvrwfjwfv-7g
[taskcluster 2024-08-28 03:44:53.010Z] using cache "releng-level-1-checkouts-v3-7afeb851dd97df8f3607-SvSVKldDTqmrsNWMG0fNvw" -> /builds/worker/checkouts
[taskcluster 2024-08-28 03:44:53.374Z] Downloading artifact "public/image.tar.zst" from task ID: SvSVKldDTqmrsNWMG0fNvw.
[taskcluster 2024-08-28 03:44:58.377Z] Download Progress: 63.93%
[taskcluster 2024-08-28 03:45:01.064Z] Downloaded artifact successfully.
[taskcluster 2024-08-28 03:45:01.064Z] Downloaded 306.576 mb
[taskcluster 2024-08-28 03:45:01.064Z] Decompressing downloaded image
[taskcluster 2024-08-28 03:45:03.141Z] Loading docker image from downloaded archive.
[taskcluster 2024-08-28 03:45:12.253Z] Image 'public/image.tar.zst' from task 'SvSVKldDTqmrsNWMG0fNvw' loaded. Using image ID sha256:91d671c95bdce27588344a3f920a4cc7436ad18e7f32ab7329aa33eab2da01ce.
[taskcluster 2024-08-28 03:45:12.377Z] === 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:45:13.092Z] run-task started in /
[setup 2024-08-28T03:45:13.092Z] 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:45:13.093Z] Python version: 3.12.4
[cache 2024-08-28T03:45:13.094Z] 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-08-28T03:45:13.095Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-08-28T03:45:13.095Z] volume /builds/worker/checkouts is a cache
[setup 2024-08-28T03:45:13.095Z] running as worker:worker
[vcs 2024-08-28T03:45:13.095Z] 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:45:13.100Z] 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-08-28T03:45:13.101Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-08-28T03:45:13.619Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/connexion-swagger-ui--3.1.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:45:13.845Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-08-28T03:45:13.845Z] * branch dependabot/pip/api/requirements/connexion-swagger-ui--3.1.0 -> FETCH_HEAD
[vcs 2024-08-28T03:45:13.850Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/connexion-swagger-ui--3.1.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:45:14.062Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-08-28T03:45:14.063Z] * branch dependabot/pip/api/requirements/connexion-swagger-ui--3.1.0 -> FETCH_HEAD
[vcs 2024-08-28T03:45:14.067Z] executing ['git', 'checkout', '-f', '-B', 'dependabot/pip/api/requirements/connexion-swagger-ui--3.1.0', 'd4ac6e6c24eeb94facf1b17208f6215de2615a1e']
/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:45:14.080Z] Switched to a new branch 'dependabot/pip/api/requirements/connexion-swagger-ui--3.1.0'
[vcs 2024-08-28T03:45:14.081Z] cleaning git checkout...
[vcs 2024-08-28T03:45:14.081Z] 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:45:14.082Z] removing []
[vcs 2024-08-28T03:45:14.082Z] 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:45:14.084Z] TinderboxPrint:<a href='https://github.com/mozilla-releng/tooltool/commit/d4ac6e6c24eeb94facf1b17208f6215de2615a1e' title='Built from tooltool commit d4ac6e6c24eeb94facf1b17208f6215de2615a1e'>d4ac6e6c24eeb94facf1b17208f6215de2615a1e</a>
[task 2024-08-28T03:45:14.084Z] 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:45:14.086Z] + set +x
[task 2024-08-28T03:45:14.129Z] + tox -e tooltool_client-py312
[task 2024-08-28T03:45:14.747Z] tooltool_client-py312: install_deps> python -I -m pip install tox
[task 2024-08-28T03:45:17.297Z] tooltool_client-py312: commands[0] /builds/worker/checkouts/vcs/client> tox -e py312
[task 2024-08-28T03:45:17.672Z] py312: install_deps> python -I -m pip install -r requirements/test.txt
[task 2024-08-28T03:45:26.736Z] py312: commands[0]> ./validate.sh
[task 2024-08-28T03:45:26.742Z] -- running pyflakes --
[task 2024-08-28T03:45:26.913Z] -- running tests (under coverage) --
[task 2024-08-28T03:45:28.153Z] ============================= test session starts ==============================
[task 2024-08-28T03:45:28.153Z] platform linux -- Python 3.12.4, pytest-7.3.1, pluggy-1.0.0
[task 2024-08-28T03:45:28.153Z] cachedir: /builds/worker/checkouts/vcs/.tox/py312/.pytest_cache
[task 2024-08-28T03:45:28.153Z] rootdir: /builds/worker/checkouts/vcs/client
[task 2024-08-28T03:45:28.153Z] collected 152 items
[task 2024-08-28T03:45:28.153Z]
[task 2024-08-28T03:45:28.278Z] test_tooltool.py ....................................................... [ 36%]
[task 2024-08-28T03:45:34.252Z] ........................................................................ [ 83%]
[task 2024-08-28T03:45:34.573Z] ......................... [100%]
[task 2024-08-28T03:45:34.573Z]
[task 2024-08-28T03:45:34.573Z] =============================== warnings summary ===============================
[task 2024-08-28T03:45:34.573Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:965: 39 warnings
[task 2024-08-28T03:45:34.573Z] /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:45:34.573Z] inlocs = ast.Compare(ast.Str(name.id), [ast.In()], [locs])
[task 2024-08-28T03:45:34.573Z]
[task 2024-08-28T03:45:34.573Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:968: 38 warnings
[task 2024-08-28T03:45:34.573Z] /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:45:34.573Z] expr = ast.IfExp(test, self.display(name), ast.Str(name.id))
[task 2024-08-28T03:45:34.573Z]
[task 2024-08-28T03:45:34.573Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:927: 38 warnings
[task 2024-08-28T03:45:34.573Z] /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:45:34.573Z] assertmsg = ast.Str("")
[task 2024-08-28T03:45:34.573Z]
[task 2024-08-28T03:45:34.573Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:929: 39 warnings
[task 2024-08-28T03:45:34.573Z] /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:45:34.574Z] template = ast.BinOp(assertmsg, ast.Add(), ast.Str(explanation))
[task 2024-08-28T03:45:34.574Z]
[task 2024-08-28T03:45:34.574Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:817: 273 warnings
[task 2024-08-28T03:45:34.574Z] /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:45:34.574Z] keys = [ast.Str(key) for key in current.keys()]
[task 2024-08-28T03:45:34.574Z]
[task 2024-08-28T03:45:34.574Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:941: 40 warnings
[task 2024-08-28T03:45:34.574Z] /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:45:34.574Z] clear = ast.Assign(variables, ast.NameConstant(None))
[task 2024-08-28T03:45:34.574Z]
[task 2024-08-28T03:45:34.574Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1102: 32 warnings
[task 2024-08-28T03:45:34.574Z] /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:45:34.574Z] syms.append(ast.Str(sym))
[task 2024-08-28T03:45:34.574Z]
[task 2024-08-28T03:45:34.574Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1104: 32 warnings
[task 2024-08-28T03:45:34.574Z] /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:45:34.574Z] expls.append(ast.Str(expl))
[task 2024-08-28T03:45:34.574Z]
[task 2024-08-28T03:45:34.574Z] test_tooltool.py::FetchTests::test_unpack_escape_tarfile
[task 2024-08-28T03:45:34.574Z] test_tooltool.py::FetchTests::test_unpack_file_tar
[task 2024-08-28T03:45:34.574Z] test_tooltool.py::FetchTests::test_unpack_file_tar_bz2
[task 2024-08-28T03:45:34.575Z] test_tooltool.py::FetchTests::test_unpack_file_tar_gz
[task 2024-08-28T03:45:34.575Z] test_tooltool.py::FetchTests::test_unpack_file_tar_xz
[task 2024-08-28T03:45:34.575Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-08-28T03:45:34.575Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-08-28T03:45:34.575Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-08-28T03:45:34.575Z] test_tooltool.py::FetchTests::test_unpack_setuid_tarfile
[task 2024-08-28T03:45:34.575Z] /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:45:34.575Z] tar.extractall(path, members=_files(tar, path), numeric_owner=numeric_owner)
[task 2024-08-28T03:45:34.575Z]
[task 2024-08-28T03:45:34.575Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-08-28T03:45:34.575Z] ====================== 152 passed, 540 warnings in 7.09s =======================
[task 2024-08-28T03:45:34.623Z] -- checking coverage --
[task 2024-08-28T03:45:34.921Z] Wrote XML report to coverage.xml
[task 2024-08-28T03:45:35.158Z] Wrote HTML report to .coverage-html/index.html
[task 2024-08-28T03:45:35.177Z] Name Stmts Miss Cover
[task 2024-08-28T03:45:35.177Z] ---------------------------------
[task 2024-08-28T03:45:35.178Z] TOTAL 824 81 90%
[task 2024-08-28T03:45:35.179Z]
[task 2024-08-28T03:45:35.179Z] GOOD!
[task 2024-08-28T03:45:35.180Z] py312: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2024-08-28T03:45:35.183Z] py312: OK (17.66=setup[9.21]+cmd[8.44,0.00] seconds)
[task 2024-08-28T03:45:35.183Z] congratulations :) (17.72 seconds)
[task 2024-08-28T03:45:35.218Z] tooltool_client-py312: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2024-08-28T03:45:35.518Z] codecov: install_deps> python -I -m pip install codecov
[task 2024-08-28T03:45:37.756Z] codecov: commands[0]> codecov --disable pycov --commit=d4ac6e6c24eeb94facf1b17208f6215de2615a1e --branch= --pr=1208
[task 2024-08-28T03:45:38.516Z]
[task 2024-08-28T03:45:38.517Z] _____ _
[task 2024-08-28T03:45:38.517Z] / ____| | |
[task 2024-08-28T03:45:38.517Z] | | ___ __| | ___ ___ _____ __
[task 2024-08-28T03:45:38.517Z] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2024-08-28T03:45:38.517Z] | |___| (_) | (_| | __/ (_| (_) \ V /
[task 2024-08-28T03:45:38.517Z] \_____\___/ \____|\___|\___\___/ \_/
[task 2024-08-28T03:45:38.517Z] v2.1.13
[task 2024-08-28T03:45:38.517Z]
[task 2024-08-28T03:45:38.517Z] ==> Detecting CI provider
[task 2024-08-28T03:45:38.517Z] -> Got branch from git/hg
[task 2024-08-28T03:45:38.517Z] -> Got sha from git/hg
[task 2024-08-28T03:45:38.517Z] ==> Preparing upload
[task 2024-08-28T03:45:38.517Z] ==> Processing gcov (disable by -X gcov)
[task 2024-08-28T03:45:38.517Z] ==> Collecting reports
[task 2024-08-28T03:45:38.517Z] + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2024-08-28T03:45:38.517Z] + /builds/worker/checkouts/vcs/client/coverage.xml bytes=30717
[task 2024-08-28T03:45:38.517Z] ==> Uploading
[task 2024-08-28T03:45:38.517Z] .url https://codecov.io
[task 2024-08-28T03:45:38.517Z] .query commit=d4ac6e6c24eeb94facf1b17208f6215de2615a1e&branch=dependabot%2Fpip%2Fapi%2Frequirements%2Fconnexion-swagger-ui--3.1.0&pr=1208&token=<secret>&package=py2.1.13
[task 2024-08-28T03:45:38.517Z] Gzipping contents..
[task 2024-08-28T03:45:38.517Z] Compressed contents to 3381 bytes
[task 2024-08-28T03:45:38.517Z] Pinging Codecov...
[task 2024-08-28T03:45:38.517Z] Uploading to S3...
[task 2024-08-28T03:45:38.517Z] Uploading to S3 took 0:00:00.152061
[task 2024-08-28T03:45:38.517Z] https://app.codecov.io/github/mozilla-releng/tooltool/commit/d4ac6e6c24eeb94facf1b17208f6215de2615a1e
[task 2024-08-28T03:45:38.538Z] codecov: OK (3.10=setup[2.31]+cmd[0.78] seconds)
[task 2024-08-28T03:45:38.538Z] congratulations :) (3.16 seconds)
[task 2024-08-28T03:45:38.572Z] tooltool_client-py312: OK (24.00=setup[2.73]+cmd[17.92,3.35] seconds)
[task 2024-08-28T03:45:38.572Z] congratulations :) (24.08 seconds)
[taskcluster 2024-08-28 03:45:39.233Z] === Task Finished ===
[taskcluster 2024-08-28 03:45:39.234Z] Successful task run with exit code: 0 completed in 46.224 seconds
Loading