Skip to content

build(deps-dev): bump pytest from 8.4.1 to 9.0.0 in /backend

ad7dec5
Select commit
Loading
Failed to load commit list.
Closed

build(deps-dev): bump pytest from 8.4.1 to 9.0.0 in /backend #2841

build(deps-dev): bump pytest from 8.4.1 to 9.0.0 in /backend
ad7dec5
Select commit
Loading
Failed to load commit list.
Community-TC Integration / Code Coverage Backend checks: unit tests succeeded Nov 10, 2025 in 1m 20s

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: 2025-11-10T15:51:24.046Z
Resolved: 2025-11-10T15:52:05.724Z
Task Execution Time: 41 seconds, 678 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2025-11-10T15:51:24.129Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2025-11-10T15:51:24.129Z]   {
[taskcluster 2025-11-10T15:51:24.129Z]     "config": {
[taskcluster 2025-11-10T15:51:24.129Z]       "deploymentId": "fd4709993843c50b"
[taskcluster 2025-11-10T15:51:24.129Z]     },
[taskcluster 2025-11-10T15:51:24.129Z]     "generic-worker": {
[taskcluster 2025-11-10T15:51:24.129Z]       "config": {
[taskcluster 2025-11-10T15:51:24.129Z]         "headlessTasks": false
[taskcluster 2025-11-10T15:51:24.129Z]       },
[taskcluster 2025-11-10T15:51:24.129Z]       "engine": "multiuser",
[taskcluster 2025-11-10T15:51:24.129Z]       "go-arch": "amd64",
[taskcluster 2025-11-10T15:51:24.129Z]       "go-os": "linux",
[taskcluster 2025-11-10T15:51:24.129Z]       "go-version": "go1.25.3",
[taskcluster 2025-11-10T15:51:24.129Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v91.1.2",
[taskcluster 2025-11-10T15:51:24.129Z]       "revision": "377ec7fe44178a5f7d3b99e84555899e0ae7580b",
[taskcluster 2025-11-10T15:51:24.129Z]       "source": "https://github.com/taskcluster/taskcluster/commits/377ec7fe44178a5f7d3b99e84555899e0ae7580b",
[taskcluster 2025-11-10T15:51:24.129Z]       "version": "91.1.2"
[taskcluster 2025-11-10T15:51:24.129Z]     },
[taskcluster 2025-11-10T15:51:24.129Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-kyxthvgmnpkqitfjmupv",
[taskcluster 2025-11-10T15:51:24.129Z]     "instance-id": "7267150398094292519",
[taskcluster 2025-11-10T15:51:24.129Z]     "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2025-11-10T15:51:24.129Z]     "local-ipv4": "10.150.0.73",
[taskcluster 2025-11-10T15:51:24.129Z]     "machine-setup": {
[taskcluster 2025-11-10T15:51:24.129Z]       "maintainer": "taskcluster-notifications+workers@mozilla.com",
[taskcluster 2025-11-10T15:51:24.129Z]       "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/b5b7c2ad856c144a6759e6e72280c4a958f8a930/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2025-11-10T15:51:24.129Z]     },
[taskcluster 2025-11-10T15:51:24.129Z]     "project-id": "community-tc-workers",
[taskcluster 2025-11-10T15:51:24.129Z]     "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-h5ysbuxzsfwpnctydfmiuw.c.community-tc-workers.internal",
[taskcluster 2025-11-10T15:51:24.129Z]     "public-ipv4": "34.85.186.115",
[taskcluster 2025-11-10T15:51:24.129Z]     "region": "us-east4",
[taskcluster 2025-11-10T15:51:24.129Z]     "zone": "us-east4-c"
[taskcluster 2025-11-10T15:51:24.129Z]   }
[taskcluster 2025-11-10T15:51:24.129Z] Task ID: BMxcGgkgRQC4vFfiw56sWQ
[taskcluster 2025-11-10T15:51:24.129Z] === Task Starting ===
[taskcluster 2025-11-10T15:51:24.859Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east4-c.7267150398094292519.60099/log/T7KWgo6fQNmEU1SjoDc6Sg with mime type "text/plain; charset=utf-8" and expiry 2025-11-10T17:06:24.736Z
[taskcluster 2025-11-10T15:51:25.020Z] [d2g] Loading docker image
[taskcluster 2025-11-10T15:51:26.774Z] [d2g] Loaded docker image "docker.io/library/python:3.12"
[taskcluster 2025-11-10T15:51:26.775Z] Executing command 0: docker run -t --name taskcontainer_KaD9DXssQH-KmvqsHmcukg --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' --env-file 'env.list' 'python:3.12' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout ad7dec58001d9656eabff4335a965e16e2b2e8c5 -b checks && cd /src/tools && pip3 install --disable-pip-version-check --no-cache-dir --quiet . && cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet . && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && pytest -v'
+ id -u
+ [ 0 -eq 0 ]
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ [ #  ]
+ [  ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=# 
+ [ -d /etc/profile.d ]
+ run-parts --list --regex ^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$ /etc/profile.d
+ unset i
+ [  ]
+ git clone --quiet https://github.com/mozilla/code-coverage /src
+ cd /src
+ git checkout ad7dec58001d9656eabff4335a965e16e2b2e8c5 -b checks
Switched to a new branch 'checks'
+ cd /src/tools
+ pip3 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, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ 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, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ 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, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ pytest -v
;\============================= test session starts ==============================
platform linux -- Python 3.12.12, pytest-9.0.0, pluggy-1.6.0 -- /usr/local/bin/python3.12
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.12/site-packages/connexion/decorators/validation.py:16
../../usr/local/lib/python3.12/site-packages/connexion/decorators/validation.py:16
  /usr/local/lib/python3.12/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.12/site-packages/connexion/json_schema.py:16
../../usr/local/lib/python3.12/site-packages/connexion/json_schema.py:16
  /usr/local/lib/python3.12/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.12/site-packages/connexion/json_schema.py:17
  /usr/local/lib/python3.12/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: Call to deprecated hmset. (Use 'hset' instead.) -- Deprecated since version 4.0.0.
    self.redis.hmset(report.key_overall, overall_coverage)

tests/test_coverage.py::test_coverage_supported_extensions_api
  /usr/local/lib/python3.12/site-packages/flask/helpers.py:611: DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
    loader = pkgutil.get_loader(import_name)

tests/test_coverage.py::test_coverage_supported_extensions_api
tests/test_coverage.py::test_coverage_supported_extensions_api
  /usr/local/lib/python3.12/pkgutil.py:291: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
    return find_loader(fullname)

tests/test_coverage.py::test_coverage_supported_extensions_api
  /usr/local/lib/python3.12/site-packages/flask/scaffold.py:872: DeprecationWarning: 'pkgutil.get_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead
    loader = pkgutil.get_loader(root_mod_name)

tests/test_coverage.py: 25 warnings
  /usr/local/lib/python3.12/site-packages/werkzeug/routing/rules.py:751: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
    parts = parts or [ast.Str("")]

tests/test_coverage.py: 68 warnings
  /usr/local/lib/python3.12/site-packages/werkzeug/routing/rules.py:748: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
    _convert(elem) if is_dynamic else ast.Str(s=elem)

tests/test_coverage.py: 68 warnings
  /usr/local/lib/python3.12/ast.py:587: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
    return Constant(*args, **kwargs)

tests/test_coverage.py: 90 warnings
  /usr/local/lib/python3.12/site-packages/werkzeug/routing/rules.py:755: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
    if isinstance(p, ast.Str) and isinstance(ret[-1], ast.Str):

tests/test_coverage.py: 88 warnings
  /usr/local/lib/python3.12/site-packages/werkzeug/routing/rules.py:756: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
    ret[-1] = ast.Str(ret[-1].s + p.s)

tests/test_coverage.py: 44 warnings
  /usr/local/lib/python3.12/site-packages/werkzeug/routing/rules.py:756: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
    ret[-1] = ast.Str(ret[-1].s + p.s)

tests/test_coverage.py::test_coverage_supported_extensions_api
  /usr/local/lib/python3.12/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.12/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.12/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.12/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.12/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: 895 warnings
  /src/backend/code_coverage_backend/gcp.py:113: DeprecationWarning: Call to deprecated hmset. (Use 'hset' instead.) -- Deprecated since version 4.0.0.
    self.redis.hmset(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================== 11 passed, 1336 warnings in 0.35s =======================
[taskcluster 2025-11-10T15:52:05.065Z]                        Exit Code: 0
[taskcluster 2025-11-10T15:52:05.065Z]                        User Time: 16.457ms
[taskcluster 2025-11-10T15:52:05.065Z]                      Kernel Time: 16.457ms
[taskcluster 2025-11-10T15:52:05.065Z]                        Wall Time: 38.290660445s
[taskcluster 2025-11-10T15:52:05.065Z]  Average Available System Memory: 14.47 GiB
[taskcluster 2025-11-10T15:52:05.065Z]       Average System Memory Used: 1.14 GiB
[taskcluster 2025-11-10T15:52:05.065Z]          Peak System Memory Used: 1.42 GiB
[taskcluster 2025-11-10T15:52:05.065Z]              Total System Memory: 15.62 GiB
[taskcluster 2025-11-10T15:52:05.065Z]                           Result: SUCCEEDED
[taskcluster 2025-11-10T15:52:05.066Z] === Task Finished ===
[taskcluster 2025-11-10T15:52:05.066Z] Task Duration: 38.29139938s
[taskcluster 2025-11-10T15:52:05.346Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-11-10T16:50:45.016Z