build(deps-dev): bump sass-loader from 16.0.3 to 16.0.4 in /frontend #2569
Community-TC Integration / Code Coverage Events checks: unit tests
succeeded
Dec 9, 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-12-09T15:59:08.611Z
Resolved: 2024-12-09T16:00:12.986Z
Task Execution Time: 1 minute, 4 seconds, 375 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-12-09T15:59:08.660Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-12-09T15:59:08.660Z] {
[taskcluster 2024-12-09T15:59:08.660Z] "config": {
[taskcluster 2024-12-09T15:59:08.660Z] "deploymentId": "601b89ce4ec2e922"
[taskcluster 2024-12-09T15:59:08.660Z] },
[taskcluster 2024-12-09T15:59:08.660Z] "generic-worker": {
[taskcluster 2024-12-09T15:59:08.660Z] "config": {
[taskcluster 2024-12-09T15:59:08.660Z] "headlessTasks": false,
[taskcluster 2024-12-09T15:59:08.660Z] "runTasksAsCurrentUser": false
[taskcluster 2024-12-09T15:59:08.660Z] },
[taskcluster 2024-12-09T15:59:08.660Z] "engine": "multiuser",
[taskcluster 2024-12-09T15:59:08.660Z] "go-arch": "amd64",
[taskcluster 2024-12-09T15:59:08.660Z] "go-os": "linux",
[taskcluster 2024-12-09T15:59:08.660Z] "go-version": "go1.23.2",
[taskcluster 2024-12-09T15:59:08.660Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v74.0.0",
[taskcluster 2024-12-09T15:59:08.660Z] "revision": "fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-09T15:59:08.660Z] "source": "https://github.com/taskcluster/taskcluster/commits/fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-09T15:59:08.660Z] "version": "74.0.0"
[taskcluster 2024-12-09T15:59:08.660Z] },
[taskcluster 2024-12-09T15:59:08.660Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-ddqyjsebv0cix9iqxo98",
[taskcluster 2024-12-09T15:59:08.660Z] "instance-id": "6670087130091007399",
[taskcluster 2024-12-09T15:59:08.660Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-12-09T15:59:08.660Z] "local-ipv4": "10.142.0.33",
[taskcluster 2024-12-09T15:59:08.660Z] "machine-setup": {
[taskcluster 2024-12-09T15:59:08.660Z] "maintainer": "[email protected]",
[taskcluster 2024-12-09T15:59:08.660Z] "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/73f19c0b4d7f82e8ae3f249c6ec5b0e9ceb484ab/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2024-12-09T15:59:08.660Z] },
[taskcluster 2024-12-09T15:59:08.660Z] "project-id": "community-tc-workers",
[taskcluster 2024-12-09T15:59:08.660Z] "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-bf42ooplrmc0ulcj9vuq8q.c.community-tc-workers.internal",
[taskcluster 2024-12-09T15:59:08.660Z] "public-ipv4": "34.75.138.103",
[taskcluster 2024-12-09T15:59:08.660Z] "region": "us-east1",
[taskcluster 2024-12-09T15:59:08.660Z] "zone": "us-east1-c"
[taskcluster 2024-12-09T15:59:08.660Z] }
[taskcluster 2024-12-09T15:59:08.660Z] Task ID: L3Rl4fEhRsu2AIKlFi6PFA
[taskcluster 2024-12-09T15:59:08.660Z] === Task Starting ===
[taskcluster:warn 2024-12-09T15:59:08.665Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-12-09T15:59:08.665Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-12-09T15:59:08.665Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-12-09T15:59:08.665Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-12-09T15:59:08.665Z]
[taskcluster:warn 2024-12-09T15:59:08.665Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-12-09T15:59:08.665Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-12-09T15:59:08.665Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-12-09T15:59:08.665Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-12-09T15:59:08.665Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-12-09T15:59:08.665Z]
[taskcluster:warn 2024-12-09T15:59:08.665Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-12-09T15:59:08.665Z] ---
[taskcluster:warn 2024-12-09T15:59:08.665Z] created: "2024-12-09T15:56:43.438Z"
[taskcluster:warn 2024-12-09T15:59:08.665Z] deadline: "2024-12-09T16:56:43.438Z"
[taskcluster:warn 2024-12-09T15:59:08.665Z] dependencies: []
[taskcluster:warn 2024-12-09T15:59:08.665Z] expires: "2025-12-09T16:56:43.438Z"
[taskcluster:warn 2024-12-09T15:59:08.665Z] extra: {}
[taskcluster:warn 2024-12-09T15:59:08.665Z] metadata:
[taskcluster:warn 2024-12-09T15:59:08.665Z] description: Check python code with pytest
[taskcluster:warn 2024-12-09T15:59:08.665Z] name: 'Code Coverage Events checks: unit tests'
[taskcluster:warn 2024-12-09T15:59:08.665Z] owner: [email protected]
[taskcluster:warn 2024-12-09T15:59:08.665Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-12-09T15:59:08.665Z] payload:
[taskcluster:warn 2024-12-09T15:59:08.665Z] command:
[taskcluster:warn 2024-12-09T15:59:08.665Z] - - bash
[taskcluster:warn 2024-12-09T15:59:08.665Z] - -cx
[taskcluster:warn 2024-12-09T15:59:08.665Z] - docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE
[taskcluster:warn 2024-12-09T15:59:08.665Z] -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID
[taskcluster:warn 2024-12-09T15:59:08.665Z] 'python:3.9' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-12-09T15:59:08.665Z] /src && cd /src && git checkout aa98b8df9d76c1287bb0fd1c1a6b4928f100e1f2 -b
[taskcluster:warn 2024-12-09T15:59:08.665Z] checks && cd /src/events && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-12-09T15:59:08.665Z] --quiet -q -r requirements.txt && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-12-09T15:59:08.665Z] --quiet . && pip install --disable-pip-version-check --no-cache-dir --quiet
[taskcluster:warn 2024-12-09T15:59:08.665Z] -r requirements-dev.txt && pytest -v'
[taskcluster:warn 2024-12-09T15:59:08.665Z] features:
[taskcluster:warn 2024-12-09T15:59:08.665Z] backingLog: true
[taskcluster:warn 2024-12-09T15:59:08.665Z] liveLog: true
[taskcluster:warn 2024-12-09T15:59:08.665Z] logs:
[taskcluster:warn 2024-12-09T15:59:08.665Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-12-09T15:59:08.665Z] live: public/logs/live.log
[taskcluster:warn 2024-12-09T15:59:08.665Z] maxRunTime: 3600
[taskcluster:warn 2024-12-09T15:59:08.665Z] onExitStatus:
[taskcluster:warn 2024-12-09T15:59:08.665Z] retry:
[taskcluster:warn 2024-12-09T15:59:08.665Z] - 125
[taskcluster:warn 2024-12-09T15:59:08.665Z] - 128
[taskcluster:warn 2024-12-09T15:59:08.665Z] osGroups:
[taskcluster:warn 2024-12-09T15:59:08.665Z] - docker
[taskcluster:warn 2024-12-09T15:59:08.665Z] priority: lowest
[taskcluster:warn 2024-12-09T15:59:08.665Z] projectId: none
[taskcluster:warn 2024-12-09T15:59:08.665Z] provisionerId: proj-relman
[taskcluster:warn 2024-12-09T15:59:08.665Z] requires: all-completed
[taskcluster:warn 2024-12-09T15:59:08.665Z] retries: 5
[taskcluster:warn 2024-12-09T15:59:08.665Z] routes:
[taskcluster:warn 2024-12-09T15:59:08.665Z] - checks
[taskcluster:warn 2024-12-09T15:59:08.665Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-12-09T15:59:08.665Z] scopes:
[taskcluster:warn 2024-12-09T15:59:08.665Z] - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2024-12-09T15:59:08.665Z] tags: {}
[taskcluster:warn 2024-12-09T15:59:08.665Z] taskGroupId: A1ZzgL3oSUSRfjLKrAi_hA
[taskcluster:warn 2024-12-09T15:59:08.665Z] taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-09T15:59:08.665Z] workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-09T15:59:08.665Z]
[taskcluster 2024-12-09T15:59:09.688Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-c.6670087130091007399.60099/log/Hf65M19uRD2xgAImXqPCmg with mime type "text/plain; charset=utf-8" and expiry 2024-12-09T17:14:09.594Z
[taskcluster 2024-12-09T15:59:09.880Z] 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 aa98b8df9d76c1287bb0fd1c1a6b4928f100e1f2 -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 aa98b8df9d76c1287bb0fd1c1a6b4928f100e1f2 -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
fdf894e782a2: Pulling fs layer
5bd71677db44: Pulling fs layer
551df7f94f9c: Pulling fs layer
ce82e98d553d: Pulling fs layer
2620fd693e71: Pulling fs layer
3b175598111c: Pulling fs layer
03d057de1320: Pulling fs layer
2620fd693e71: Waiting
ce82e98d553d: Waiting
3b175598111c: Waiting
03d057de1320: Waiting
551df7f94f9c: Verifying Checksum
551df7f94f9c: Download complete
fdf894e782a2: Verifying Checksum
fdf894e782a2: Download complete
5bd71677db44: Verifying Checksum
5bd71677db44: Download complete
2620fd693e71: Verifying Checksum
2620fd693e71: Download complete
03d057de1320: Download complete
3b175598111c: Verifying Checksum
3b175598111c: Download complete
fdf894e782a2: Pull complete
5bd71677db44: Pull complete
ce82e98d553d: Verifying Checksum
ce82e98d553d: Download complete
551df7f94f9c: Pull complete
ce82e98d553d: Pull complete
2620fd693e71: Pull complete
3b175598111c: Pull complete
03d057de1320: Pull complete
Digest: sha256:dd8b65c39a729f946398d2e03a3e6defc8c0cfec409b9f536200634ad6408b54
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 aa98b8df9d76c1287bb0fd1c1a6b4928f100e1f2 -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.21, pytest-8.3.4, pluggy-1.5.0 -- /usr/local/bin/python3.9
cachedir: .pytest_cache
rootdir: /src/events
plugins: responses-0.5.1, asyncio-0.24.0
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.36s ===============================
[taskcluster 2024-12-09T16:00:12.534Z] Exit Code: 0
[taskcluster 2024-12-09T16:00:12.534Z] User Time: 44.194ms
[taskcluster 2024-12-09T16:00:12.534Z] Kernel Time: 85.074ms
[taskcluster 2024-12-09T16:00:12.534Z] Wall Time: 1m2.653584751s
[taskcluster 2024-12-09T16:00:12.534Z] Result: SUCCEEDED
[taskcluster 2024-12-09T16:00:12.534Z] === Task Finished ===
[taskcluster 2024-12-09T16:00:12.534Z] Task Duration: 1m2.654283742s
[taskcluster 2024-12-09T16:00:12.682Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-12-09T16:56:43.438Z
Loading