build(deps-dev): bump webpack from 5.95.0 to 5.96.1 in /frontend #2537
Community-TC Integration / Code Coverage Backend checks: unit tests
succeeded
Nov 4, 2024 in 3m 24s
Community-TC (pull_request)
Check python code with pytest
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2024-11-04T15:54:45.503Z
Resolved: 2024-11-04T15:56:02.625Z
Task Execution Time: 1 minute, 17 seconds, 122 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-11-04T15:54:45.537Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-11-04T15:54:45.537Z] {
[taskcluster 2024-11-04T15:54:45.537Z] "config": {
[taskcluster 2024-11-04T15:54:45.537Z] "deploymentId": "ca9be1ec3241fd87"
[taskcluster 2024-11-04T15:54:45.537Z] },
[taskcluster 2024-11-04T15:54:45.537Z] "generic-worker": {
[taskcluster 2024-11-04T15:54:45.537Z] "config": {
[taskcluster 2024-11-04T15:54:45.537Z] "headlessTasks": false,
[taskcluster 2024-11-04T15:54:45.537Z] "runTasksAsCurrentUser": false
[taskcluster 2024-11-04T15:54:45.537Z] },
[taskcluster 2024-11-04T15:54:45.537Z] "engine": "multiuser",
[taskcluster 2024-11-04T15:54:45.537Z] "go-arch": "amd64",
[taskcluster 2024-11-04T15:54:45.537Z] "go-os": "linux",
[taskcluster 2024-11-04T15:54:45.537Z] "go-version": "go1.23.2",
[taskcluster 2024-11-04T15:54:45.537Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v74.0.0",
[taskcluster 2024-11-04T15:54:45.537Z] "revision": "fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-11-04T15:54:45.537Z] "source": "https://github.com/taskcluster/taskcluster/commits/fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-11-04T15:54:45.537Z] "version": "74.0.0"
[taskcluster 2024-11-04T15:54:45.537Z] },
[taskcluster 2024-11-04T15:54:45.537Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-s40adw6ki8n724herxu4",
...(282 lines hidden)...
Installed /usr/local/lib/python3.9/site-packages/mohawk-1.1.0-py3.9.egg
Searching for urllib3>=1.26.11
Reading https://pypi.org/simple/urllib3/
Downloading https://files.pythonhosted.org/packages/ce/d9/5f4c13cecde62396b0d3fe530a50ccea91e7dfc1ccf0e09c228841bb5ba8/urllib3-2.2.3-py3-none-any.whl#sha256=ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac
Best match: urllib3 2.2.3
Processing urllib3-2.2.3-py3-none-any.whl
Installing urllib3-2.2.3-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding urllib3 2.2.3 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/urllib3-2.2.3-py3.9.egg
Searching for certifi
Reading https://pypi.org/simple/certifi/
Downloading https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl#sha256=922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8
Best match: certifi 2024.8.30
Processing certifi-2024.8.30-py3-none-any.whl
Installing certifi-2024.8.30-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding certifi 2024.8.30 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/certifi-2024.8.30-py3.9.egg
Searching for yarl<2.0,>=1.12.0
Reading https://pypi.org/simple/yarl/
Downloading https://files.pythonhosted.org/packages/52/ad/1fe7ff5f3e8869d4c5070f47b96bac2b4d15e67c100a8278d8e7876329fc/yarl-1.17.1-py3-none-any.whl#sha256=f1790a4b1e8e8e028c391175433b9c8122c39b46e1663228158e61e6f915bf06
Best match: yarl 1.17.1
Processing yarl-1.17.1-py3-none-any.whl
Installing yarl-1.17.1-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding yarl 1.17.1 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/yarl-1.17.1-py3.9.egg
Searching for multidict<7.0,>=4.5
Reading https://pypi.org/simple/multidict/
Downloading https://files.pythonhosted.org/packages/99/b7/b9e70fde2c0f0c9af4cc5277782a89b66d35948ea3369ec9f598358c3ac5/multidict-6.1.0-py3-none-any.whl#sha256=48e171e52d1c4d33888e529b999e5900356b9ae588c2f09a52dcefb158b27506
Best match: multidict 6.1.0
Processing multidict-6.1.0-py3-none-any.whl
Installing multidict-6.1.0-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding multidict 6.1.0 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/multidict-6.1.0-py3.9.egg
Searching for frozenlist>=1.1.1
Reading https://pypi.org/simple/frozenlist/
Downloading https://files.pythonhosted.org/packages/f6/33/9f152105227630246135188901373c4f322cc026565ca6215b063f4c82f4/frozenlist-1.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=15b731db116ab3aedec558573c1a5eec78822b32292fe4f2f0345b7f697745c2
Best match: frozenlist 1.5.0
Processing frozenlist-1.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Installing frozenlist-1.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl to /usr/local/lib/python3.9/site-packages
Adding frozenlist 1.5.0 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/frozenlist-1.5.0-py3.9-linux-x86_64.egg
Searching for attrs>=17.3.0
Reading https://pypi.org/simple/attrs/
Downloading https://files.pythonhosted.org/packages/6a/21/5b6702a7f963e95456c0de2d495f67bf5fd62840ac655dc451586d23d39a/attrs-24.2.0-py3-none-any.whl#sha256=81921eb96de3191c8258c199618104dd27ac608d9366f5e35d011eae1867ede2
Best match: attrs 24.2.0
Processing attrs-24.2.0-py3-none-any.whl
Installing attrs-24.2.0-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding attrs 24.2.0 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/attrs-24.2.0-py3.9.egg
Searching for aiosignal>=1.1.2
Reading https://pypi.org/simple/aiosignal/
Downloading https://files.pythonhosted.org/packages/76/ac/a7305707cb852b7e16ff80eaf5692309bde30e2b1100a1fcacdc8f731d97/aiosignal-1.3.1-py3-none-any.whl#sha256=f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17
Best match: aiosignal 1.3.1
Processing aiosignal-1.3.1-py3-none-any.whl
Installing aiosignal-1.3.1-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding aiosignal 1.3.1 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/aiosignal-1.3.1-py3.9.egg
Searching for aiohappyeyeballs>=2.3.0
Reading https://pypi.org/simple/aiohappyeyeballs/
Downloading https://files.pythonhosted.org/packages/f7/d8/120cd0fe3e8530df0539e71ba9683eade12cae103dd7543e50d15f737917/aiohappyeyeballs-2.4.3-py3-none-any.whl#sha256=8a7a83727b2756f394ab2895ea0765a0a8c475e3c71e98d43d76f22b4b435572
Best match: aiohappyeyeballs 2.4.3
Processing aiohappyeyeballs-2.4.3-py3-none-any.whl
Installing aiohappyeyeballs-2.4.3-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding aiohappyeyeballs 2.4.3 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/aiohappyeyeballs-2.4.3-py3.9.egg
Searching for idna<4,>=2.5
Reading https://pypi.org/simple/idna/
Downloading https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl#sha256=946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
Best match: idna 3.10
Processing idna-3.10-py3-none-any.whl
Installing idna-3.10-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding idna 3.10 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/idna-3.10-py3.9.egg
Searching for charset-normalizer<4,>=2
Reading https://pypi.org/simple/charset-normalizer/
Downloading https://files.pythonhosted.org/packages/bf/9b/08c0432272d77b04803958a4598a51e2a4b51c06640af8b8f0f908c18bf2/charset_normalizer-3.4.0-py3-none-any.whl#sha256=fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079
Best match: charset-normalizer 3.4.0
Processing charset_normalizer-3.4.0-py3-none-any.whl
Installing charset_normalizer-3.4.0-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding charset-normalizer 3.4.0 to easy-install.pth file
Installing normalizer script to /usr/local/bin
Installed /usr/local/lib/python3.9/site-packages/charset_normalizer-3.4.0-py3.9.egg
Searching for six>=1.5
Reading https://pypi.org/simple/six/
Downloading https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl#sha256=8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
Best match: six 1.16.0
Processing six-1.16.0-py2.py3-none-any.whl
Installing six-1.16.0-py2.py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding six 1.16.0 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/six-1.16.0-py3.9.egg
Searching for propcache>=0.2.0
Reading https://pypi.org/simple/propcache/
Downloading https://files.pythonhosted.org/packages/ce/4e/97059dd24494d1c93d1efb98bb24825e1930265b41858dd59c15cb37a975/propcache-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=682a7c79a2fbf40f5dbb1eb6bfe2cd865376deeac65acf9beb607505dced9e12
Best match: propcache 0.2.0
Processing propcache-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Installing propcache-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl to /usr/local/lib/python3.9/site-packages
Adding propcache 0.2.0 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/propcache-0.2.0-py3.9-linux-x86_64.egg
Searching for typing-extensions>=4.1.0
Reading https://pypi.org/simple/typing-extensions/
Downloading https://files.pythonhosted.org/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl#sha256=04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d
Best match: typing-extensions 4.12.2
Processing typing_extensions-4.12.2-py3-none-any.whl
Installing typing_extensions-4.12.2-py3-none-any.whl to /usr/local/lib/python3.9/site-packages
Adding typing-extensions 4.12.2 to easy-install.pth file
Installed /usr/local/lib/python3.9/site-packages/typing_extensions-4.12.2-py3.9.egg
Finished processing dependencies for code-coverage-tools==0.1.0
+ cd /src/backend
+ pip install --disable-pip-version-check --no-cache-dir --quiet .
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ pytest -v
============================= test session starts ==============================
platform linux -- Python 3.9.20, pytest-8.3.3, pluggy-1.5.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
rootdir: /src/backend
plugins: responses-0.5.1
collecting ...
collected 11 items
tests/test_api.py::test_latest PASSED [ 9%]
tests/test_covdir.py::test_open_report PASSED [ 18%]
tests/test_covdir.py::test_get_path_coverage PASSED [ 27%]
tests/test_covdir.py::test_get_overall_coverage PASSED [ 36%]
tests/test_coverage.py::test_coverage_supported_extensions_api PASSED [ 45%]
tests/test_gcp.py::test_download_report PASSED [ 54%]
tests/test_gcp.py::test_ingestion PASSED [ 63%]
tests/test_gcp.py::test_expiry PASSED [ 72%]
tests/test_gcp.py::test_ingest_hgmo PASSED [ 81%]
tests/test_gcp.py::test_closest_report PASSED [ 90%]
tests/test_gcp.py::test_get_coverage PASSED [100%]
=============================== warnings summary ===============================
../../usr/local/lib/python3.9/site-packages/connexion/decorators/validation.py:16
../../usr/local/lib/python3.9/site-packages/connexion/decorators/validation.py:16
/usr/local/lib/python3.9/site-packages/connexion/decorators/validation.py:16: DeprecationWarning: Accessing jsonschema.draft4_format_checker is deprecated and will be removed in a future release. Instead, use the FORMAT_CHECKER attribute on the corresponding Validator.
from jsonschema import Draft4Validator, ValidationError, draft4_format_checker
../../usr/local/lib/python3.9/site-packages/connexion/json_schema.py:16
../../usr/local/lib/python3.9/site-packages/connexion/json_schema.py:16
/usr/local/lib/python3.9/site-packages/connexion/json_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
from jsonschema import Draft4Validator, RefResolver
../../usr/local/lib/python3.9/site-packages/connexion/json_schema.py:17
/usr/local/lib/python3.9/site-packages/connexion/json_schema.py:17: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
from jsonschema.exceptions import RefResolutionError, ValidationError # noqa
tests/test_api.py: 31 warnings
tests/test_gcp.py: 13 warnings
/src/backend/code_coverage_backend/gcp.py:142: DeprecationWarning: FakeStrictRedis.hmset() is deprecated. Use FakeStrictRedis.hset() instead.
self.redis.hmset(report.key_overall, overall_coverage)
tests/test_coverage.py::test_coverage_supported_extensions_api
/usr/local/lib/python3.9/site-packages/connexion/apps/flask_app.py:36: DeprecationWarning: 'app.json_encoder' is deprecated and will be removed in Flask 2.3. Customize 'app.json_provider_class' or 'app.json' instead.
app.json_encoder = FlaskJSONEncoder
tests/test_coverage.py::test_coverage_supported_extensions_api
/usr/local/lib/python3.9/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3.
setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict)
tests/test_coverage.py::test_coverage_supported_extensions_api
/usr/local/lib/python3.9/site-packages/connexion/apis/flask_api.py:236: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3. Use 'g' to store data, or 'request_ctx' to access the current context.
setattr(flask._request_ctx_stack.top, 'connexion_context', context_dict)
tests/test_coverage.py::test_coverage_supported_extensions_api
/usr/local/lib/python3.9/site-packages/flask/json/provider.py:188: DeprecationWarning: Setting 'json_encoder' on the app or a blueprint is deprecated and will be removed in Flask 2.3. Customize 'app.json' instead.
warnings.warn(
tests/test_coverage.py::test_coverage_supported_extensions_api
/usr/local/lib/python3.9/site-packages/flask/json/provider.py:230: DeprecationWarning: 'JSONEncoder' is deprecated and will be removed in Flask 2.3. Use 'Flask.json' to provide an alternate JSON implementation instead.
return json.dumps(obj, **kwargs)
tests/test_gcp.py: 832 warnings
/src/backend/code_coverage_backend/gcp.py:113: DeprecationWarning: FakeStrictRedis.hmset() is deprecated. Use FakeStrictRedis.hset() instead.
self.redis.hmset(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================= 11 passed, 886 warnings in 0.36s =======================
[taskcluster 2024-11-04T15:56:02.276Z] Exit Code: 0
[taskcluster 2024-11-04T15:56:02.276Z] User Time: 58.83ms
[taskcluster 2024-11-04T15:56:02.276Z] Kernel Time: 58.83ms
[taskcluster 2024-11-04T15:56:02.276Z] Wall Time: 1m15.582142614s
[taskcluster 2024-11-04T15:56:02.276Z] Result: SUCCEEDED
[taskcluster 2024-11-04T15:56:02.276Z] === Task Finished ===
[taskcluster 2024-11-04T15:56:02.276Z] Task Duration: 1m15.582680485s
[taskcluster 2024-11-04T15:56:02.379Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-11-04T16:52:35.455Z
Loading