build(deps-dev): bump eslint from 8.57.1 to 9.27.0 in /frontend #2650
Community-TC Integration / Code Coverage Events checks: unit tests
succeeded
May 22, 2025 in 2m 40s
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-05-22T12:29:58.715Z
Resolved: 2025-05-22T12:30:50.930Z
Task Execution Time: 52 seconds, 215 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-05-22T12:29:58.778Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2025-05-22T12:29:58.779Z] {
[taskcluster 2025-05-22T12:29:58.779Z] "config": {
[taskcluster 2025-05-22T12:29:58.779Z] "deploymentId": "c5ce21e09461a422"
[taskcluster 2025-05-22T12:29:58.779Z] },
[taskcluster 2025-05-22T12:29:58.779Z] "generic-worker": {
[taskcluster 2025-05-22T12:29:58.779Z] "config": {
[taskcluster 2025-05-22T12:29:58.779Z] "headlessTasks": false
[taskcluster 2025-05-22T12:29:58.779Z] },
[taskcluster 2025-05-22T12:29:58.779Z] "engine": "multiuser",
[taskcluster 2025-05-22T12:29:58.779Z] "go-arch": "amd64",
[taskcluster 2025-05-22T12:29:58.779Z] "go-os": "linux",
[taskcluster 2025-05-22T12:29:58.779Z] "go-version": "go1.24.2",
[taskcluster 2025-05-22T12:29:58.779Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v83.8.0",
[taskcluster 2025-05-22T12:29:58.779Z] "revision": "f890ebf91e50708df52b1a709f12348b4cbe11f2",
[taskcluster 2025-05-22T12:29:58.779Z] "source": "https://github.com/taskcluster/taskcluster/commits/f890ebf91e50708df52b1a709f12348b4cbe11f2",
[taskcluster 2025-05-22T12:29:58.779Z] "version": "83.8.0"
[taskcluster 2025-05-22T12:29:58.779Z] },
[taskcluster 2025-05-22T12:29:58.779Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-2uo4gttmexnap22h9yfl",
[taskcluster 2025-05-22T12:29:58.779Z] "instance-id": "2644839940520847061",
[taskcluster 2025-05-22T12:29:58.779Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2025-05-22T12:29:58.779Z] "local-ipv4": "10.142.0.43",
[taskcluster 2025-05-22T12:29:58.779Z] "machine-setup": {
[taskcluster 2025-05-22T12:29:58.779Z] "maintainer": "taskcluster-notifications+workers@mozilla.com",
[taskcluster 2025-05-22T12:29:58.779Z] "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/7abe3a020de571b9a9a33be380498ae027ec4756/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2025-05-22T12:29:58.779Z] },
[taskcluster 2025-05-22T12:29:58.779Z] "project-id": "community-tc-workers",
[taskcluster 2025-05-22T12:29:58.779Z] "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-hzq3kaiiqv-1muaoiirybq.c.community-tc-workers.internal",
[taskcluster 2025-05-22T12:29:58.779Z] "public-ipv4": "34.148.3.55",
[taskcluster 2025-05-22T12:29:58.779Z] "region": "us-east1",
[taskcluster 2025-05-22T12:29:58.779Z] "zone": "us-east1-c"
[taskcluster 2025-05-22T12:29:58.779Z] }
[taskcluster 2025-05-22T12:29:58.779Z] Task ID: QpX9RHsqSuyv5I_x6N_Smw
[taskcluster 2025-05-22T12:29:58.779Z] === Task Starting ===
[taskcluster:warn 2025-05-22T12:29:58.811Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2025-05-22T12:29:58.811Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2025-05-22T12:29:58.811Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2025-05-22T12:29:58.811Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2025-05-22T12:29:58.811Z]
[taskcluster:warn 2025-05-22T12:29:58.811Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2025-05-22T12:29:58.811Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2025-05-22T12:29:58.811Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2025-05-22T12:29:58.811Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2025-05-22T12:29:58.811Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2025-05-22T12:29:58.811Z]
[taskcluster:warn 2025-05-22T12:29:58.811Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2025-05-22T12:29:58.811Z] ---
[taskcluster:warn 2025-05-22T12:29:58.811Z] created: "2025-05-22T12:28:10.828Z"
[taskcluster:warn 2025-05-22T12:29:58.811Z] deadline: "2025-05-22T13:28:10.828Z"
[taskcluster:warn 2025-05-22T12:29:58.811Z] dependencies: []
[taskcluster:warn 2025-05-22T12:29:58.811Z] expires: "2026-05-22T13:28:10.828Z"
[taskcluster:warn 2025-05-22T12:29:58.811Z] extra: {}
[taskcluster:warn 2025-05-22T12:29:58.811Z] metadata:
[taskcluster:warn 2025-05-22T12:29:58.811Z] description: Check python code with pytest
[taskcluster:warn 2025-05-22T12:29:58.811Z] name: 'Code Coverage Events checks: unit tests'
[taskcluster:warn 2025-05-22T12:29:58.811Z] owner: bastien@mozilla.com
[taskcluster:warn 2025-05-22T12:29:58.811Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-05-22T12:29:58.811Z] payload:
[taskcluster:warn 2025-05-22T12:29:58.811Z] command:
[taskcluster:warn 2025-05-22T12:29:58.811Z] - - /usr/bin/env
[taskcluster:warn 2025-05-22T12:29:58.811Z] - bash
[taskcluster:warn 2025-05-22T12:29:58.811Z] - -cx
[taskcluster:warn 2025-05-22T12:29:58.811Z] - docker run -t --name taskcontainer_HCA1Ut7KTdWoqTEiWJF5FA --memory-swap -1 --pids-limit
[taskcluster:warn 2025-05-22T12:29:58.811Z] -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2025-05-22T12:29:58.811Z] -e TASK_GROUP_ID -e TASK_ID 'python:3.9' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-05-22T12:29:58.811Z] /src && cd /src && git checkout 8014999fae01ff7daa9cd7c59777aac56e87501a -b
[taskcluster:warn 2025-05-22T12:29:58.811Z] checks && cd /src/events && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2025-05-22T12:29:58.811Z] --quiet -q -r requirements.txt && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2025-05-22T12:29:58.811Z] --quiet . && pip install --disable-pip-version-check --no-cache-dir --quiet
[taskcluster:warn 2025-05-22T12:29:58.811Z] -r requirements-dev.txt && pytest -v'
[taskcluster:warn 2025-05-22T12:29:58.811Z] features:
[taskcluster:warn 2025-05-22T12:29:58.811Z] backingLog: true
[taskcluster:warn 2025-05-22T12:29:58.811Z] liveLog: true
[taskcluster:warn 2025-05-22T12:29:58.811Z] resourceMonitor: true
[taskcluster:warn 2025-05-22T12:29:58.811Z] logs:
[taskcluster:warn 2025-05-22T12:29:58.811Z] backing: public/logs/live_backing.log
[taskcluster:warn 2025-05-22T12:29:58.811Z] live: public/logs/live.log
[taskcluster:warn 2025-05-22T12:29:58.811Z] maxRunTime: 3600
[taskcluster:warn 2025-05-22T12:29:58.811Z] onExitStatus:
[taskcluster:warn 2025-05-22T12:29:58.811Z] retry:
[taskcluster:warn 2025-05-22T12:29:58.811Z] - 125
[taskcluster:warn 2025-05-22T12:29:58.811Z] - 128
[taskcluster:warn 2025-05-22T12:29:58.811Z] osGroups:
[taskcluster:warn 2025-05-22T12:29:58.811Z] - docker
[taskcluster:warn 2025-05-22T12:29:58.811Z] taskclusterProxyInterface: docker-bridge
[taskcluster:warn 2025-05-22T12:29:58.811Z] priority: lowest
[taskcluster:warn 2025-05-22T12:29:58.811Z] projectId: none
[taskcluster:warn 2025-05-22T12:29:58.811Z] provisionerId: proj-relman
[taskcluster:warn 2025-05-22T12:29:58.811Z] requires: all-completed
[taskcluster:warn 2025-05-22T12:29:58.811Z] retries: 5
[taskcluster:warn 2025-05-22T12:29:58.811Z] routes:
[taskcluster:warn 2025-05-22T12:29:58.811Z] - checks
[taskcluster:warn 2025-05-22T12:29:58.811Z] schedulerId: taskcluster-github
[taskcluster:warn 2025-05-22T12:29:58.811Z] scopes:
[taskcluster:warn 2025-05-22T12:29:58.811Z] - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2025-05-22T12:29:58.811Z] tags: {}
[taskcluster:warn 2025-05-22T12:29:58.811Z] taskGroupId: LLP55LOfTkqpp8XmHt27GA
[taskcluster:warn 2025-05-22T12:29:58.811Z] taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2025-05-22T12:29:58.811Z] workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2025-05-22T12:29:58.811Z]
[taskcluster 2025-05-22T12:29:59.375Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-c.2644839940520847061.60099/log/L_LwGNa4S-O6W4NHb7pjJw with mime type "text/plain; charset=utf-8" and expiry 2025-05-22T13:44:59.293Z
[taskcluster 2025-05-22T12:30:21.519Z] Executing command 0: /usr/bin/env bash -cx 'docker run -t --name taskcontainer_HCA1Ut7KTdWoqTEiWJF5FA --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID '\''python:3.9'\'' sh -lxce '\''git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 8014999fae01ff7daa9cd7c59777aac56e87501a -b checks && cd /src/events && pip install --disable-pip-version-check --no-cache-dir --quiet -q -r requirements.txt && 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'\'
+ docker run -t --name taskcontainer_HCA1Ut7KTdWoqTEiWJF5FA --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID python:3.9 sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 8014999fae01ff7daa9cd7c59777aac56e87501a -b checks && cd /src/events && pip install --disable-pip-version-check --no-cache-dir --quiet -q -r requirements.txt && 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 ]
+ [ -r /etc/profile.d/*.sh ]
+ unset i
+ [ ]
+ mesg n
+ true
+ git clone --quiet https://github.com/mozilla/code-coverage /src
+ cd /src
+ git checkout 8014999fae01ff7daa9cd7c59777aac56e87501a -b checks
Switched to a new branch 'checks'
+ cd /src/events
+ pip install --disable-pip-version-check --no-cache-dir --quiet -q -r requirements.txt
+ 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
/usr/local/lib/python3.9/site-packages/pytest_asyncio/plugin.py:217: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"
warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
============================= test session starts ==============================
platform linux -- Python 3.9.22, pytest-8.3.5, pluggy-1.6.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
rootdir: /src/events
plugins: responses-0.5.1, asyncio-0.26.0
asyncio: mode=strict, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ...
collected 9 items
tests/test_workflow.py::test_is_coverage_task PASSED [ 11%]
tests/test_workflow.py::test_get_coverage_task_in_group PASSED [ 22%]
tests/test_workflow.py::test_parse PASSED [ 33%]
tests/test_workflow.py::test_wrong_branch PASSED [ 44%]
tests/test_workflow.py::test_success PASSED [ 55%]
tests/test_workflow.py::test_scheduler PASSED [ 66%]
tests/test_workflow.py::test_success_windows PASSED [ 77%]
tests/test_workflow.py::test_success_try PASSED [ 88%]
tests/test_workflow.py::test_hook_group PASSED [100%]
============================== 9 passed in 0.29s ===============================
[taskcluster 2025-05-22T12:30:50.320Z] Exit Code: 0
[taskcluster 2025-05-22T12:30:50.320Z] User Time: 10.307ms
[taskcluster 2025-05-22T12:30:50.320Z] Kernel Time: 18.324ms
[taskcluster 2025-05-22T12:30:50.320Z] Wall Time: 28.80083001s
[taskcluster 2025-05-22T12:30:50.320Z] Average System Memory Used: 987.00 MiB
[taskcluster 2025-05-22T12:30:50.320Z] Peak System Memory Used: 1.09 GiB
[taskcluster 2025-05-22T12:30:50.320Z] Total System Memory: 15.62 GiB
[taskcluster 2025-05-22T12:30:50.320Z] Result: SUCCEEDED
[taskcluster 2025-05-22T12:30:50.320Z] === Task Finished ===
[taskcluster 2025-05-22T12:30:50.320Z] Task Duration: 28.801426251s
[taskcluster 2025-05-22T12:30:50.617Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-05-22T13:28:10.828Z
Loading