build(deps): bump flask-cors from 4.0.1 to 5.0.0 in /api/requirements #1216
firefoxci-taskcluster / tox-client-py312
succeeded
Sep 2, 2024 in 2m 23s
FirefoxCI (pull_request)
test the tooltool client
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-09-02 03:14:24.173Z] Task ID: XFAwvK7-R0ub27795V8Rxw
[taskcluster 2024-09-02 03:14:24.173Z] Worker ID: 790998091275211680
[taskcluster 2024-09-02 03:14:24.173Z] Worker Group: us-west1-b
[taskcluster 2024-09-02 03:14:24.173Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-09-02 03:14:24.174Z] Worker Pool: releng-t/linux-gcp
[taskcluster 2024-09-02 03:14:24.174Z] Worker Version: 38.0.5
[taskcluster 2024-09-02 03:14:24.174Z] Public IP: 34.168.105.15
[taskcluster 2024-09-02 03:14:24.174Z] Hostname: releng-t-linux-gcp-tw-wfkgmrjil3ypju0hovq
[taskcluster 2024-09-02 03:14:24.174Z] using cache "releng-level-1-checkouts-v3-7afeb851dd97df8f3607-SvSVKldDTqmrsNWMG0fNvw" -> /builds/worker/checkouts
[taskcluster 2024-09-02 03:14:27.587Z] Downloading artifact "public/image.tar.zst" from task ID: SvSVKldDTqmrsNWMG0fNvw.
[taskcluster 2024-09-02 03:14:30.905Z] Downloaded artifact successfully.
[taskcluster 2024-09-02 03:14:30.906Z] Downloaded 306.576 mb
[taskcluster 2024-09-02 03:14:30.907Z] Decompressing downloaded image
[taskcluster 2024-09-02 03:14:33.493Z] Loading docker image from downloaded archive.
[taskcluster 2024-09-02 03:14:52.002Z] Image 'public/image.tar.zst' from task 'SvSVKldDTqmrsNWMG0fNvw' loaded. Using image ID sha256:91d671c95bdce27588344a3f920a4cc7436ad18e7f32ab7329aa33eab2da01ce.
[taskcluster 2024-09-02 03:14:52.132Z] === 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-02T03:14:55.272Z] run-task started in /
[setup 2024-09-02T03:14:55.272Z] 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-02T03:14:55.272Z] Python version: 3.12.4
[cache 2024-09-02T03:14:55.274Z] 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-02T03:14:55.274Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-09-02T03:14:55.274Z] volume /builds/worker/checkouts is a cache
[setup 2024-09-02T03:14:55.274Z] running as worker:worker
[vcs 2024-09-02T03:14:55.275Z] 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-02T03:14:55.278Z] 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-02T03:14:55.280Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2024-09-02T03:14:55.729Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/flask-cors-5.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-09-02T03:14:55.978Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-09-02T03:14:55.978Z] * branch dependabot/pip/api/requirements/flask-cors-5.0.0 -> FETCH_HEAD
[vcs 2024-09-02T03:14:55.983Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla-releng/tooltool', 'dependabot/pip/api/requirements/flask-cors-5.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-09-02T03:14:56.198Z] From https://github.com/mozilla-releng/tooltool
[vcs 2024-09-02T03:14:56.198Z] * branch dependabot/pip/api/requirements/flask-cors-5.0.0 -> FETCH_HEAD
[vcs 2024-09-02T03:14:56.203Z] executing ['git', 'checkout', '-f', '-B', 'dependabot/pip/api/requirements/flask-cors-5.0.0', '2d95df85f101f81d8bdcdbfdf28a267a4d9b3708']
/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-02T03:14:56.216Z] Switched to a new branch 'dependabot/pip/api/requirements/flask-cors-5.0.0'
[vcs 2024-09-02T03:14:56.216Z] cleaning git checkout...
[vcs 2024-09-02T03:14:56.216Z] 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-02T03:14:56.219Z] removing []
[vcs 2024-09-02T03:14:56.219Z] 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-02T03:14:56.220Z] TinderboxPrint:<a href='https://github.com/mozilla-releng/tooltool/commit/2d95df85f101f81d8bdcdbfdf28a267a4d9b3708' title='Built from tooltool commit 2d95df85f101f81d8bdcdbfdf28a267a4d9b3708'>2d95df85f101f81d8bdcdbfdf28a267a4d9b3708</a>
[task 2024-09-02T03:14:56.220Z] 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-02T03:14:56.222Z] + set +x
[task 2024-09-02T03:14:56.342Z] + tox -e tooltool_client-py312
[task 2024-09-02T03:14:56.999Z] tooltool_client-py312: install_deps> python -I -m pip install tox
[task 2024-09-02T03:14:59.878Z] tooltool_client-py312: commands[0] /builds/worker/checkouts/vcs/client> tox -e py312
[task 2024-09-02T03:15:00.279Z] py312: install_deps> python -I -m pip install -r requirements/test.txt
[task 2024-09-02T03:15:10.054Z] py312: commands[0]> ./validate.sh
[task 2024-09-02T03:15:10.060Z] -- running pyflakes --
[task 2024-09-02T03:15:10.239Z] -- running tests (under coverage) --
[task 2024-09-02T03:15:11.548Z] ============================= test session starts ==============================
[task 2024-09-02T03:15:11.548Z] platform linux -- Python 3.12.4, pytest-7.3.1, pluggy-1.0.0
[task 2024-09-02T03:15:11.548Z] cachedir: /builds/worker/checkouts/vcs/.tox/py312/.pytest_cache
[task 2024-09-02T03:15:11.548Z] rootdir: /builds/worker/checkouts/vcs/client
[task 2024-09-02T03:15:11.549Z] collected 152 items
[task 2024-09-02T03:15:11.549Z]
[task 2024-09-02T03:15:11.679Z] test_tooltool.py ....................................................... [ 36%]
[task 2024-09-02T03:15:17.702Z] ........................................................................ [ 83%]
[task 2024-09-02T03:15:18.019Z] ......................... [100%]
[task 2024-09-02T03:15:18.019Z]
[task 2024-09-02T03:15:18.019Z] =============================== warnings summary ===============================
[task 2024-09-02T03:15:18.019Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:965: 39 warnings
[task 2024-09-02T03:15:18.019Z] /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-02T03:15:18.019Z] inlocs = ast.Compare(ast.Str(name.id), [ast.In()], [locs])
[task 2024-09-02T03:15:18.020Z]
[task 2024-09-02T03:15:18.020Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:968: 38 warnings
[task 2024-09-02T03:15:18.020Z] /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-02T03:15:18.020Z] expr = ast.IfExp(test, self.display(name), ast.Str(name.id))
[task 2024-09-02T03:15:18.020Z]
[task 2024-09-02T03:15:18.020Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:927: 38 warnings
[task 2024-09-02T03:15:18.020Z] /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-02T03:15:18.020Z] assertmsg = ast.Str("")
[task 2024-09-02T03:15:18.020Z]
[task 2024-09-02T03:15:18.020Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:929: 39 warnings
[task 2024-09-02T03:15:18.020Z] /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-02T03:15:18.020Z] template = ast.BinOp(assertmsg, ast.Add(), ast.Str(explanation))
[task 2024-09-02T03:15:18.020Z]
[task 2024-09-02T03:15:18.020Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:817: 273 warnings
[task 2024-09-02T03:15:18.020Z] /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-02T03:15:18.020Z] keys = [ast.Str(key) for key in current.keys()]
[task 2024-09-02T03:15:18.020Z]
[task 2024-09-02T03:15:18.020Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:941: 40 warnings
[task 2024-09-02T03:15:18.020Z] /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-02T03:15:18.020Z] clear = ast.Assign(variables, ast.NameConstant(None))
[task 2024-09-02T03:15:18.020Z]
[task 2024-09-02T03:15:18.020Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1102: 32 warnings
[task 2024-09-02T03:15:18.020Z] /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-02T03:15:18.020Z] syms.append(ast.Str(sym))
[task 2024-09-02T03:15:18.020Z]
[task 2024-09-02T03:15:18.020Z] ../.tox/py312/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:1104: 32 warnings
[task 2024-09-02T03:15:18.021Z] /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-02T03:15:18.021Z] expls.append(ast.Str(expl))
[task 2024-09-02T03:15:18.021Z]
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_escape_tarfile
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_file_tar
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_file_tar_bz2
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_file_tar_gz
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_file_tar_xz
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_link_tarfile
[task 2024-09-02T03:15:18.021Z] test_tooltool.py::FetchTests::test_unpack_setuid_tarfile
[task 2024-09-02T03:15:18.021Z] /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-09-02T03:15:18.021Z] tar.extractall(path, members=_files(tar, path), numeric_owner=numeric_owner)
[task 2024-09-02T03:15:18.021Z]
[task 2024-09-02T03:15:18.021Z] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2024-09-02T03:15:18.021Z] ====================== 152 passed, 540 warnings in 7.16s =======================
[task 2024-09-02T03:15:18.082Z] -- checking coverage --
[task 2024-09-02T03:15:18.411Z] Wrote XML report to coverage.xml
[task 2024-09-02T03:15:18.657Z] Wrote HTML report to .coverage-html/index.html
[task 2024-09-02T03:15:18.678Z] Name Stmts Miss Cover
[task 2024-09-02T03:15:18.679Z] ---------------------------------
[task 2024-09-02T03:15:18.680Z] TOTAL 824 81 90%
[task 2024-09-02T03:15:18.680Z]
[task 2024-09-02T03:15:18.680Z] GOOD!
[task 2024-09-02T03:15:18.682Z] py312: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2024-09-02T03:15:18.685Z] py312: OK (18.56=setup[9.93]+cmd[8.63,0.00] seconds)
[task 2024-09-02T03:15:18.685Z] congratulations :) (18.63 seconds)
[task 2024-09-02T03:15:18.728Z] tooltool_client-py312: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2024-09-02T03:15:19.063Z] codecov: install_deps> python -I -m pip install codecov
[task 2024-09-02T03:15:21.463Z] codecov: commands[0]> codecov --disable pycov --commit=2d95df85f101f81d8bdcdbfdf28a267a4d9b3708 --branch= --pr=1216
[task 2024-09-02T03:15:22.178Z]
[task 2024-09-02T03:15:22.178Z] _____ _
[task 2024-09-02T03:15:22.178Z] / ____| | |
[task 2024-09-02T03:15:22.178Z] | | ___ __| | ___ ___ _____ __
[task 2024-09-02T03:15:22.178Z] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2024-09-02T03:15:22.178Z] | |___| (_) | (_| | __/ (_| (_) \ V /
[task 2024-09-02T03:15:22.178Z] \_____\___/ \____|\___|\___\___/ \_/
[task 2024-09-02T03:15:22.178Z] v2.1.13
[task 2024-09-02T03:15:22.179Z]
[task 2024-09-02T03:15:22.179Z] ==> Detecting CI provider
[task 2024-09-02T03:15:22.179Z] -> Got branch from git/hg
[task 2024-09-02T03:15:22.179Z] -> Got sha from git/hg
[task 2024-09-02T03:15:22.179Z] ==> Preparing upload
[task 2024-09-02T03:15:22.179Z] ==> Processing gcov (disable by -X gcov)
[task 2024-09-02T03:15:22.179Z] ==> Collecting reports
[task 2024-09-02T03:15:22.179Z] + /builds/worker/checkouts/vcs/client/coverage.xml bytes=30717
[task 2024-09-02T03:15:22.179Z] + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2024-09-02T03:15:22.179Z] ==> Uploading
[task 2024-09-02T03:15:22.179Z] .url https://codecov.io
[task 2024-09-02T03:15:22.179Z] .query commit=2d95df85f101f81d8bdcdbfdf28a267a4d9b3708&branch=dependabot%2Fpip%2Fapi%2Frequirements%2Fflask-cors-5.0.0&pr=1216&token=<secret>&package=py2.1.13
[task 2024-09-02T03:15:22.179Z] Gzipping contents..
[task 2024-09-02T03:15:22.179Z] Compressed contents to 3390 bytes
[task 2024-09-02T03:15:22.179Z] Pinging Codecov...
[task 2024-09-02T03:15:22.179Z] Uploading to S3...
[task 2024-09-02T03:15:22.179Z] Uploading to S3 took 0:00:00.206036
[task 2024-09-02T03:15:22.179Z] https://app.codecov.io/github/mozilla-releng/tooltool/commit/2d95df85f101f81d8bdcdbfdf28a267a4d9b3708
[task 2024-09-02T03:15:22.205Z] codecov: OK (3.22=setup[2.48]+cmd[0.74] seconds)
[task 2024-09-02T03:15:22.205Z] congratulations :) (3.30 seconds)
[task 2024-09-02T03:15:22.253Z] tooltool_client-py312: OK (25.44=setup[3.07]+cmd[18.85,3.52] seconds)
[task 2024-09-02T03:15:22.253Z] congratulations :) (25.52 seconds)
[taskcluster 2024-09-02 03:15:22.732Z] === Task Finished ===
[taskcluster 2024-09-02 03:15:22.733Z] Successful task run with exit code: 0 completed in 58.561 seconds
Loading