build(deps-dev): bump fakeredis from 2.21.1 to 2.23.2 in /backend #2304
Community-TC Integration / Code Coverage checks: linting
succeeded
Jun 3, 2024 in 6m 41s
Community-TC (pull_request)
Check code style with pre-commit hooks
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-06-03T15:15:39.313Z] Worker Type (proj-relman/generic-worker-ubuntu-22-04) settings:
[taskcluster 2024-06-03T15:15:39.313Z] {
[taskcluster 2024-06-03T15:15:39.313Z] "config": {
[taskcluster 2024-06-03T15:15:39.313Z] "deploymentId": "06dd6a003a5443dd"
[taskcluster 2024-06-03T15:15:39.313Z] },
[taskcluster 2024-06-03T15:15:39.313Z] "generic-worker": {
[taskcluster 2024-06-03T15:15:39.313Z] "engine": "multiuser",
[taskcluster 2024-06-03T15:15:39.313Z] "go-arch": "amd64",
[taskcluster 2024-06-03T15:15:39.313Z] "go-os": "linux",
[taskcluster 2024-06-03T15:15:39.313Z] "go-version": "go1.22.3",
[taskcluster 2024-06-03T15:15:39.313Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v65.1.0",
[taskcluster 2024-06-03T15:15:39.313Z] "revision": "1a085daa37b887ee519970b7a223194868787be5",
[taskcluster 2024-06-03T15:15:39.313Z] "source": "https://github.com/taskcluster/taskcluster/commits/1a085daa37b887ee519970b7a223194868787be5",
[taskcluster 2024-06-03T15:15:39.313Z] "version": "65.1.0"
[taskcluster 2024-06-03T15:15:39.313Z] },
[taskcluster 2024-06-03T15:15:39.313Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-22-04-u80y83f2537lh3782jwn",
[taskcluster 2024-06-03T15:15:39.313Z] "instance-id": "7380793888441655911",
[taskcluster 2024-06-03T15:15:39.313Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-06-03T15:15:39.313Z] "local-ipv4": "10.142.0.98",
[taskcluster 2024-06-03T15:15:39.313Z] "machine-setup": {
[taskcluster 2024-06-03T15:15:39.313Z] "maintainer": "[email protected]",
[taskcluster 2024-06-03T15:15:39.313Z] "script": "https://github.com/taskcluster/community-tc-config/blob/27655cba48bc00ddf2dfad0dbe394a9ccdfbc7d0/imagesets/generic-worker-ubuntu-22-04/bootstrap.sh"
[taskcluster 2024-06-03T15:15:39.313Z] },
[taskcluster 2024-06-03T15:15:39.313Z] "project-id": "community-tc-workers",
[taskcluster 2024-06-03T15:15:39.313Z] "public-hostname": "proj-relman-generic-worker-ubuntu-22-0-cw-jr7l1sd6r2carb12pxq.c.community-tc-workers.internal",
[taskcluster 2024-06-03T15:15:39.313Z] "public-ipv4": "34.148.86.70",
[taskcluster 2024-06-03T15:15:39.313Z] "region": "us-east1",
[taskcluster 2024-06-03T15:15:39.313Z] "zone": "us-east1-d"
[taskcluster 2024-06-03T15:15:39.313Z] }
[taskcluster 2024-06-03T15:15:39.313Z] Task ID: Q6YqKmpqRbu9ss1vJi9KFQ
[taskcluster 2024-06-03T15:15:39.313Z] === Task Starting ===
[taskcluster:warn 2024-06-03T15:15:39.315Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-06-03T15:15:39.315Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-06-03T15:15:39.315Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-06-03T15:15:39.315Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-06-03T15:15:39.315Z]
[taskcluster:warn 2024-06-03T15:15:39.315Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-06-03T15:15:39.315Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-06-03T15:15:39.315Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-06-03T15:15:39.315Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-06-03T15:15:39.315Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-06-03T15:15:39.315Z]
[taskcluster:warn 2024-06-03T15:15:39.315Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-06-03T15:15:39.315Z] ---
[taskcluster:warn 2024-06-03T15:15:39.315Z] created: "2024-06-03T15:10:14.639Z"
[taskcluster:warn 2024-06-03T15:15:39.315Z] deadline: "2024-06-03T16:10:14.639Z"
[taskcluster:warn 2024-06-03T15:15:39.315Z] dependencies: []
[taskcluster:warn 2024-06-03T15:15:39.315Z] expires: "2025-06-03T16:10:14.639Z"
[taskcluster:warn 2024-06-03T15:15:39.315Z] extra: {}
[taskcluster:warn 2024-06-03T15:15:39.315Z] metadata:
[taskcluster:warn 2024-06-03T15:15:39.315Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2024-06-03T15:15:39.315Z] name: 'Code Coverage checks: linting'
[taskcluster:warn 2024-06-03T15:15:39.315Z] owner: [email protected]
[taskcluster:warn 2024-06-03T15:15:39.315Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-06-03T15:15:39.315Z] payload:
[taskcluster:warn 2024-06-03T15:15:39.315Z] command:
[taskcluster:warn 2024-06-03T15:15:39.315Z] - - bash
[taskcluster:warn 2024-06-03T15:15:39.315Z] - -cx
[taskcluster:warn 2024-06-03T15:15:39.315Z] - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2024-06-03T15:15:39.315Z] -e TASK_ID 'python:3.8' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-06-03T15:15:39.315Z] /src && cd /src && git checkout 7b71227497190b2423a7a72104006b5b7033a845 -b
[taskcluster:warn 2024-06-03T15:15:39.315Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-06-03T15:15:39.315Z] --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2024-06-03T15:15:39.315Z] --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2024-06-03T15:15:39.315Z] -a --show-diff-on-failure'
[taskcluster:warn 2024-06-03T15:15:39.315Z] features:
[taskcluster:warn 2024-06-03T15:15:39.315Z] backingLog: true
[taskcluster:warn 2024-06-03T15:15:39.315Z] liveLog: true
[taskcluster:warn 2024-06-03T15:15:39.315Z] logs:
[taskcluster:warn 2024-06-03T15:15:39.315Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-06-03T15:15:39.315Z] live: public/logs/live.log
[taskcluster:warn 2024-06-03T15:15:39.315Z] maxRunTime: 3600
[taskcluster:warn 2024-06-03T15:15:39.315Z] onExitStatus:
[taskcluster:warn 2024-06-03T15:15:39.315Z] retry:
[taskcluster:warn 2024-06-03T15:15:39.315Z] - 125
[taskcluster:warn 2024-06-03T15:15:39.315Z] - 128
[taskcluster:warn 2024-06-03T15:15:39.315Z] priority: lowest
[taskcluster:warn 2024-06-03T15:15:39.315Z] projectId: none
[taskcluster:warn 2024-06-03T15:15:39.315Z] provisionerId: proj-relman
[taskcluster:warn 2024-06-03T15:15:39.315Z] requires: all-completed
[taskcluster:warn 2024-06-03T15:15:39.315Z] retries: 5
[taskcluster:warn 2024-06-03T15:15:39.315Z] routes:
[taskcluster:warn 2024-06-03T15:15:39.315Z] - checks
[taskcluster:warn 2024-06-03T15:15:39.315Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-06-03T15:15:39.315Z] scopes: []
[taskcluster:warn 2024-06-03T15:15:39.315Z] tags: {}
[taskcluster:warn 2024-06-03T15:15:39.315Z] taskGroupId: JwtXViv1Q-aNZlk8Rar8TA
[taskcluster:warn 2024-06-03T15:15:39.315Z] taskQueueId: proj-relman/generic-worker-ubuntu-22-04
[taskcluster:warn 2024-06-03T15:15:39.315Z] workerType: generic-worker-ubuntu-22-04
[taskcluster:warn 2024-06-03T15:15:39.315Z]
[taskcluster 2024-06-03T15:15:40.000Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-d.7380793888441655911.60099/log/HVVKOzMGQRCTmPYdrp54pQ with mime type "text/plain; charset=utf-8" and expiry 2024-06-03T16:30:39.911Z
[taskcluster 2024-06-03T15:15:40.077Z] Executing command 0: bash -cx 'podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID '\''python:3.8'\'' sh -lxce '\''git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 7b71227497190b2423a7a72104006b5b7033a845 -b checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'\'
+ podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID python:3.8 sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 7b71227497190b2423a7a72104006b5b7033a845 -b checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'
Resolved "python" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/python:3.8...
Getting image source signatures
Copying blob sha256:bf2c3e352f3d2eed4eda4feeed44a1022a881058df20ac0584db70c138b041e2
Copying blob sha256:891494355808bdd3db5552f0d3723fd0fa826675f774853796fafa221d850d42
Copying blob sha256:a99509a323905a80628005e4f3bc26ac15ebaf3ffdb08a9646a7f2d110ab38f9
Copying blob sha256:c6cf28de8a067787ee0d08f8b01d7f1566a508b56f6e549687b41dfd375f12c7
Copying blob sha256:6582c62583ef22717db8d306b1d6a0c288089ff607d9c0d2d81c4f8973cbfee3
Copying blob sha256:7327cba2bf36683c119324ade7c9ed62f8a95523d745bb55658ee7f0554a3dd0
Copying blob sha256:6582c62583ef22717db8d306b1d6a0c288089ff607d9c0d2d81c4f8973cbfee3
Copying blob sha256:c6cf28de8a067787ee0d08f8b01d7f1566a508b56f6e549687b41dfd375f12c7
Copying blob sha256:a99509a323905a80628005e4f3bc26ac15ebaf3ffdb08a9646a7f2d110ab38f9
Copying blob sha256:891494355808bdd3db5552f0d3723fd0fa826675f774853796fafa221d850d42
Copying blob sha256:7327cba2bf36683c119324ade7c9ed62f8a95523d745bb55658ee7f0554a3dd0
Copying blob sha256:bf2c3e352f3d2eed4eda4feeed44a1022a881058df20ac0584db70c138b041e2
Copying blob sha256:c44e905d3c51b51708b9fde83dce11f6c5b23aae56d591228cab6babac67d71f
Copying blob sha256:c44e905d3c51b51708b9fde83dce11f6c5b23aae56d591228cab6babac67d71f
Copying blob sha256:e64bc13ba68336ce21a4ee8553c9e633c496c72408af8b4d5c45e949725b0894
Copying blob sha256:e64bc13ba68336ce21a4ee8553c9e633c496c72408af8b4d5c45e949725b0894
Copying config sha256:fc6a57648aa5e9aef11fe915791e34dfce19169a2a77a312b0bd3ab40e264d7c
Writing manifest to image destination
Storing signatures
+ 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 7b71227497190b2423a7a72104006b5b7033a845 -b checks
Switched to a new branch 'checks'
+ cd /src/bot
+ 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
+ cd /src/backend
+ 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
+ cd /src
+ pre-commit run -a --show-diff-on-failure
[INFO] Initializing environment for https://github.com/PyCQA/isort.
[INFO] Initializing environment for https://github.com/psf/black.
[INFO] Initializing environment for https://github.com/pycqa/flake8.
[INFO] Initializing environment for https://github.com/pycqa/flake8:flake8-coding==1.3.2,flake8-copyright==0.2.4,flake8-debugger==4.1.2.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Initializing environment for https://github.com/asottile/yesqa.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-redis==3.5.1,types-python-dateutil==0.1.3,types-PyYAML==5.4.0.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-pytz==2022.6.0.1,types-PyYAML==5.4.0.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-setuptools==67.6.0.0,types-pytz==2022.6.0.1.
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/psf/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
isort....................................................................Passed
black....................................................................Passed
flake8...................................................................Passed
check python ast.........................................................Passed
check docstring is first.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
debug statements (python)................................................Passed
trim trailing whitespace.................................................Passed
check yaml...............................................................Passed
mixed line ending........................................................Passed
python tests naming......................................................Passed
check json...............................................................Passed
fix requirements.txt.....................................................Passed
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Passed
Strip unnecessary `# noqa`s..............................................Passed
mypy-backend.............................................................Passed
mypy-bot.................................................................Passed
mypy-events..............................................................Passed
mypy-report..............................................................Passed
mypy-tools...............................................................Passed
Check for useless excludes...............................................Passed
[taskcluster 2024-06-03T15:16:54.774Z] Exit Code: 0
[taskcluster 2024-06-03T15:16:54.774Z] User Time: 23.892625s
[taskcluster 2024-06-03T15:16:54.774Z] Kernel Time: 3.793015s
[taskcluster 2024-06-03T15:16:54.774Z] Wall Time: 1m14.696113554s
[taskcluster 2024-06-03T15:16:54.774Z] Result: SUCCEEDED
[taskcluster 2024-06-03T15:16:54.774Z] === Task Finished ===
[taskcluster 2024-06-03T15:16:54.774Z] Task Duration: 1m14.696505088s
[taskcluster 2024-06-03T15:16:54.864Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-06-03T16:10:14.639Z
Loading