build(deps-dev): bump webpack from 5.95.0 to 5.96.1 in /frontend #2537
Community-TC Integration / Code Coverage Events checks: unit tests
succeeded
Nov 4, 2024 in 3m 29s
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:55:11.670Z
Resolved: 2024-11-04T15:56:07.559Z
Task Execution Time: 55 seconds, 889 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-11-04T15:55:11.729Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-11-04T15:55:11.729Z] {
[taskcluster 2024-11-04T15:55:11.729Z] "config": {
[taskcluster 2024-11-04T15:55:11.729Z] "deploymentId": "ca9be1ec3241fd87"
[taskcluster 2024-11-04T15:55:11.729Z] },
[taskcluster 2024-11-04T15:55:11.729Z] "generic-worker": {
[taskcluster 2024-11-04T15:55:11.729Z] "config": {
[taskcluster 2024-11-04T15:55:11.729Z] "headlessTasks": false,
[taskcluster 2024-11-04T15:55:11.729Z] "runTasksAsCurrentUser": false
[taskcluster 2024-11-04T15:55:11.729Z] },
[taskcluster 2024-11-04T15:55:11.729Z] "engine": "multiuser",
[taskcluster 2024-11-04T15:55:11.729Z] "go-arch": "amd64",
[taskcluster 2024-11-04T15:55:11.729Z] "go-os": "linux",
[taskcluster 2024-11-04T15:55:11.729Z] "go-version": "go1.23.2",
[taskcluster 2024-11-04T15:55:11.729Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v74.0.0",
[taskcluster 2024-11-04T15:55:11.729Z] "revision": "fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-11-04T15:55:11.729Z] "source": "https://github.com/taskcluster/taskcluster/commits/fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-11-04T15:55:11.729Z] "version": "74.0.0"
[taskcluster 2024-11-04T15:55:11.729Z] },
[taskcluster 2024-11-04T15:55:11.729Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-s40adw6ki8n724herxu4",
[taskcluster 2024-11-04T15:55:11.729Z] "instance-id": "7198586064196686622",
[taskcluster 2024-11-04T15:55:11.729Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-11-04T15:55:11.729Z] "local-ipv4": "10.142.0.95",
[taskcluster 2024-11-04T15:55:11.729Z] "machine-setup": {
[taskcluster 2024-11-04T15:55:11.729Z] "maintainer": "[email protected]",
[taskcluster 2024-11-04T15:55:11.729Z] "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/4909017836625a209874e56c6bc5fc585aeb685d/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2024-11-04T15:55:11.729Z] },
[taskcluster 2024-11-04T15:55:11.729Z] "project-id": "community-tc-workers",
[taskcluster 2024-11-04T15:55:11.729Z] "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-foks1yfjtzac-eumozbdyq.c.community-tc-workers.internal",
[taskcluster 2024-11-04T15:55:11.729Z] "public-ipv4": "34.148.132.25",
[taskcluster 2024-11-04T15:55:11.729Z] "region": "us-east1",
[taskcluster 2024-11-04T15:55:11.729Z] "zone": "us-east1-b"
[taskcluster 2024-11-04T15:55:11.729Z] }
[taskcluster 2024-11-04T15:55:11.729Z] Task ID: Q2ZtBsjFRySD5PWewq0e_w
[taskcluster 2024-11-04T15:55:11.729Z] === Task Starting ===
[taskcluster:warn 2024-11-04T15:55:11.733Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-11-04T15:55:11.733Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-11-04T15:55:11.733Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-11-04T15:55:11.733Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-11-04T15:55:11.733Z]
[taskcluster:warn 2024-11-04T15:55:11.733Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-11-04T15:55:11.733Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-11-04T15:55:11.733Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-11-04T15:55:11.733Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-11-04T15:55:11.733Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-11-04T15:55:11.733Z]
[taskcluster:warn 2024-11-04T15:55:11.733Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-11-04T15:55:11.733Z] ---
[taskcluster:warn 2024-11-04T15:55:11.733Z] created: "2024-11-04T15:52:35.455Z"
[taskcluster:warn 2024-11-04T15:55:11.733Z] deadline: "2024-11-04T16:52:35.455Z"
[taskcluster:warn 2024-11-04T15:55:11.733Z] dependencies: []
[taskcluster:warn 2024-11-04T15:55:11.733Z] expires: "2025-11-04T16:52:35.455Z"
[taskcluster:warn 2024-11-04T15:55:11.733Z] extra: {}
[taskcluster:warn 2024-11-04T15:55:11.733Z] metadata:
[taskcluster:warn 2024-11-04T15:55:11.733Z] description: Check python code with pytest
[taskcluster:warn 2024-11-04T15:55:11.733Z] name: 'Code Coverage Events checks: unit tests'
[taskcluster:warn 2024-11-04T15:55:11.733Z] owner: [email protected]
[taskcluster:warn 2024-11-04T15:55:11.733Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-11-04T15:55:11.733Z] payload:
[taskcluster:warn 2024-11-04T15:55:11.733Z] command:
[taskcluster:warn 2024-11-04T15:55:11.733Z] - - bash
[taskcluster:warn 2024-11-04T15:55:11.733Z] - -cx
[taskcluster:warn 2024-11-04T15:55:11.733Z] - docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE
[taskcluster:warn 2024-11-04T15:55:11.733Z] -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID
[taskcluster:warn 2024-11-04T15:55:11.733Z] 'python:3.9' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-11-04T15:55:11.733Z] /src && cd /src && git checkout 537e5fb56f4a00548bc2c074234a2064f35cf38e -b
[taskcluster:warn 2024-11-04T15:55:11.733Z] checks && cd /src/events && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-11-04T15:55:11.733Z] --quiet -q -r requirements.txt && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-11-04T15:55:11.733Z] --quiet . && pip install --disable-pip-version-check --no-cache-dir --quiet
[taskcluster:warn 2024-11-04T15:55:11.733Z] -r requirements-dev.txt && pytest -v'
[taskcluster:warn 2024-11-04T15:55:11.733Z] features:
[taskcluster:warn 2024-11-04T15:55:11.733Z] backingLog: true
[taskcluster:warn 2024-11-04T15:55:11.733Z] liveLog: true
[taskcluster:warn 2024-11-04T15:55:11.733Z] logs:
[taskcluster:warn 2024-11-04T15:55:11.733Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-11-04T15:55:11.733Z] live: public/logs/live.log
[taskcluster:warn 2024-11-04T15:55:11.733Z] maxRunTime: 3600
[taskcluster:warn 2024-11-04T15:55:11.733Z] onExitStatus:
[taskcluster:warn 2024-11-04T15:55:11.733Z] retry:
[taskcluster:warn 2024-11-04T15:55:11.733Z] - 125
[taskcluster:warn 2024-11-04T15:55:11.733Z] - 128
[taskcluster:warn 2024-11-04T15:55:11.733Z] osGroups:
[taskcluster:warn 2024-11-04T15:55:11.733Z] - docker
[taskcluster:warn 2024-11-04T15:55:11.733Z] priority: lowest
[taskcluster:warn 2024-11-04T15:55:11.733Z] projectId: none
[taskcluster:warn 2024-11-04T15:55:11.733Z] provisionerId: proj-relman
[taskcluster:warn 2024-11-04T15:55:11.733Z] requires: all-completed
[taskcluster:warn 2024-11-04T15:55:11.733Z] retries: 5
[taskcluster:warn 2024-11-04T15:55:11.733Z] routes:
[taskcluster:warn 2024-11-04T15:55:11.733Z] - checks
[taskcluster:warn 2024-11-04T15:55:11.733Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-11-04T15:55:11.733Z] scopes:
[taskcluster:warn 2024-11-04T15:55:11.733Z] - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2024-11-04T15:55:11.733Z] tags: {}
[taskcluster:warn 2024-11-04T15:55:11.733Z] taskGroupId: Q98lDZSIRIm5fg_4lHk-uA
[taskcluster:warn 2024-11-04T15:55:11.733Z] taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2024-11-04T15:55:11.733Z] workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2024-11-04T15:55:11.733Z]
[taskcluster 2024-11-04T15:55:13.053Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-b.7198586064196686622.60099/log/fgQM6bhKSLCRNhjWcIDV2w with mime type "text/plain; charset=utf-8" and expiry 2024-11-04T17:10:12.972Z
[taskcluster 2024-11-04T15:55:13.435Z] Executing command 0: bash -cx 'docker run -t --rm --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 537e5fb56f4a00548bc2c074234a2064f35cf38e -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 --rm --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 537e5fb56f4a00548bc2c074234a2064f35cf38e -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'
Unable to find image 'python:3.9' locally
3.9: Pulling from library/python
7d98d813d54f: Pulling fs layer
da802df85c96: Pulling fs layer
7aadc5092c3b: Pulling fs layer
ad1c7cfc347f: Pulling fs layer
4eb48115a042: Pulling fs layer
ccecc6c1c4bf: Pulling fs layer
63dc518f902b: Pulling fs layer
ad1c7cfc347f: Waiting
4eb48115a042: Waiting
ccecc6c1c4bf: Waiting
63dc518f902b: Waiting
da802df85c96: Verifying Checksum
da802df85c96: Download complete
7d98d813d54f: Verifying Checksum
7d98d813d54f: Download complete
7aadc5092c3b: Verifying Checksum
7aadc5092c3b: Download complete
4eb48115a042: Verifying Checksum
4eb48115a042: Download complete
63dc518f902b: Verifying Checksum
63dc518f902b: Download complete
ccecc6c1c4bf: Verifying Checksum
ccecc6c1c4bf: Download complete
ad1c7cfc347f: Verifying Checksum
ad1c7cfc347f: Download complete
7d98d813d54f: Pull complete
da802df85c96: Pull complete
7aadc5092c3b: Pull complete
ad1c7cfc347f: Pull complete
4eb48115a042: Pull complete
ccecc6c1c4bf: Pull complete
63dc518f902b: Pull complete
Digest: sha256:ed8b9dd4e9f89c111f4bdb85a55f8c9f0e22796a298449380b15f627d9914095
Status: Downloaded newer image for python:3.9
+ 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 537e5fb56f4a00548bc2c074234a2064f35cf38e -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:208: 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.20, pytest-8.3.3, pluggy-1.5.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
rootdir: /src/events
plugins: asyncio-0.24.0, responses-0.5.1
asyncio: mode=strict, default_loop_scope=None
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.25s ===============================
[taskcluster 2024-11-04T15:56:07.133Z] Exit Code: 0
[taskcluster 2024-11-04T15:56:07.133Z] User Time: 34.135ms
[taskcluster 2024-11-04T15:56:07.133Z] Kernel Time: 52.854ms
[taskcluster 2024-11-04T15:56:07.133Z] Wall Time: 53.698201382s
[taskcluster 2024-11-04T15:56:07.133Z] Result: SUCCEEDED
[taskcluster 2024-11-04T15:56:07.133Z] === Task Finished ===
[taskcluster 2024-11-04T15:56:07.133Z] Task Duration: 53.698579568s
[taskcluster 2024-11-04T15:56:07.257Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-11-04T16:52:35.455Z
Loading