build(deps): bump structlog from 23.2.0 to 24.2.0 in /tools #2289
Community-TC Integration / Code Coverage checks: linting
succeeded
Jun 11, 2024 in 21m 51s
Community-TC (pull_request)
Check code style with pre-commit hooks
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-06-11T17:28:27.349Z] Worker Type (proj-relman/generic-worker-ubuntu-22-04) settings:
[taskcluster 2024-06-11T17:28:27.350Z] {
[taskcluster 2024-06-11T17:28:27.350Z] "config": {
[taskcluster 2024-06-11T17:28:27.350Z] "deploymentId": "06dd6a003a5443dd"
[taskcluster 2024-06-11T17:28:27.350Z] },
[taskcluster 2024-06-11T17:28:27.350Z] "generic-worker": {
[taskcluster 2024-06-11T17:28:27.350Z] "engine": "multiuser",
[taskcluster 2024-06-11T17:28:27.350Z] "go-arch": "amd64",
[taskcluster 2024-06-11T17:28:27.350Z] "go-os": "linux",
[taskcluster 2024-06-11T17:28:27.350Z] "go-version": "go1.22.3",
[taskcluster 2024-06-11T17:28:27.350Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v65.1.0",
[taskcluster 2024-06-11T17:28:27.350Z] "revision": "1a085daa37b887ee519970b7a223194868787be5",
[taskcluster 2024-06-11T17:28:27.350Z] "source": "https://github.com/taskcluster/taskcluster/commits/1a085daa37b887ee519970b7a223194868787be5",
[taskcluster 2024-06-11T17:28:27.350Z] "version": "65.1.0"
[taskcluster 2024-06-11T17:28:27.350Z] },
[taskcluster 2024-06-11T17:28:27.350Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-22-04-u80y83f2537lh3782jwn",
[taskcluster 2024-06-11T17:28:27.350Z] "instance-id": "3280140641010792786",
[taskcluster 2024-06-11T17:28:27.350Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-06-11T17:28:27.350Z] "local-ipv4": "10.142.0.42",
[taskcluster 2024-06-11T17:28:27.350Z] "machine-setup": {
[taskcluster 2024-06-11T17:28:27.350Z] "maintainer": "[email protected]",
[taskcluster 2024-06-11T17:28:27.350Z] "script": "https://github.com/taskcluster/community-tc-config/blob/27655cba48bc00ddf2dfad0dbe394a9ccdfbc7d0/imagesets/generic-worker-ubuntu-22-04/bootstrap.sh"
[taskcluster 2024-06-11T17:28:27.350Z] },
[taskcluster 2024-06-11T17:28:27.350Z] "project-id": "community-tc-workers",
[taskcluster 2024-06-11T17:28:27.350Z] "public-hostname": "proj-relman-generic-worker-ubuntu-22-0-br2gfmsqs-i8khkqzdqtxa.c.community-tc-workers.internal",
[taskcluster 2024-06-11T17:28:27.350Z] "public-ipv4": "34.23.103.39",
[taskcluster 2024-06-11T17:28:27.350Z] "region": "us-east1",
[taskcluster 2024-06-11T17:28:27.350Z] "zone": "us-east1-c"
[taskcluster 2024-06-11T17:28:27.350Z] }
[taskcluster 2024-06-11T17:28:27.350Z] Task ID: YTYnZLXOTsKFpZK0IFSnrw
[taskcluster 2024-06-11T17:28:27.350Z] === Task Starting ===
[taskcluster:warn 2024-06-11T17:28:27.354Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-06-11T17:28:27.354Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-06-11T17:28:27.354Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-06-11T17:28:27.354Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-06-11T17:28:27.354Z]
[taskcluster:warn 2024-06-11T17:28:27.354Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-06-11T17:28:27.354Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-06-11T17:28:27.354Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-06-11T17:28:27.354Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-06-11T17:28:27.354Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-06-11T17:28:27.354Z]
[taskcluster:warn 2024-06-11T17:28:27.354Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-06-11T17:28:27.354Z] ---
[taskcluster:warn 2024-06-11T17:28:27.354Z] created: "2024-06-11T17:07:58.365Z"
[taskcluster:warn 2024-06-11T17:28:27.354Z] deadline: "2024-06-11T18:07:58.365Z"
[taskcluster:warn 2024-06-11T17:28:27.354Z] dependencies: []
[taskcluster:warn 2024-06-11T17:28:27.354Z] expires: "2025-06-11T18:07:58.365Z"
[taskcluster:warn 2024-06-11T17:28:27.354Z] extra: {}
[taskcluster:warn 2024-06-11T17:28:27.354Z] metadata:
[taskcluster:warn 2024-06-11T17:28:27.354Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2024-06-11T17:28:27.354Z] name: 'Code Coverage checks: linting'
[taskcluster:warn 2024-06-11T17:28:27.354Z] owner: [email protected]
[taskcluster:warn 2024-06-11T17:28:27.354Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-06-11T17:28:27.354Z] payload:
[taskcluster:warn 2024-06-11T17:28:27.354Z] command:
[taskcluster:warn 2024-06-11T17:28:27.354Z] - - bash
[taskcluster:warn 2024-06-11T17:28:27.354Z] - -cx
[taskcluster:warn 2024-06-11T17:28:27.354Z] - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2024-06-11T17:28:27.354Z] -e TASK_ID 'python:3.8' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-06-11T17:28:27.354Z] /src && cd /src && git checkout 4a3305fddc5fcf1a4b8a9a54a644cb56d45c13dc -b
[taskcluster:warn 2024-06-11T17:28:27.354Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-06-11T17:28:27.354Z] --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2024-06-11T17:28:27.354Z] --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2024-06-11T17:28:27.354Z] -a --show-diff-on-failure'
[taskcluster:warn 2024-06-11T17:28:27.354Z] features:
[taskcluster:warn 2024-06-11T17:28:27.354Z] backingLog: true
[taskcluster:warn 2024-06-11T17:28:27.354Z] liveLog: true
[taskcluster:warn 2024-06-11T17:28:27.354Z] logs:
[taskcluster:warn 2024-06-11T17:28:27.354Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-06-11T17:28:27.354Z] live: public/logs/live.log
[taskcluster:warn 2024-06-11T17:28:27.354Z] maxRunTime: 3600
[taskcluster:warn 2024-06-11T17:28:27.354Z] onExitStatus:
[taskcluster:warn 2024-06-11T17:28:27.354Z] retry:
[taskcluster:warn 2024-06-11T17:28:27.354Z] - 125
[taskcluster:warn 2024-06-11T17:28:27.354Z] - 128
[taskcluster:warn 2024-06-11T17:28:27.354Z] priority: lowest
[taskcluster:warn 2024-06-11T17:28:27.354Z] projectId: none
[taskcluster:warn 2024-06-11T17:28:27.354Z] provisionerId: proj-relman
[taskcluster:warn 2024-06-11T17:28:27.354Z] requires: all-completed
[taskcluster:warn 2024-06-11T17:28:27.354Z] retries: 5
[taskcluster:warn 2024-06-11T17:28:27.354Z] routes:
[taskcluster:warn 2024-06-11T17:28:27.354Z] - checks
[taskcluster:warn 2024-06-11T17:28:27.354Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-06-11T17:28:27.354Z] scopes: []
[taskcluster:warn 2024-06-11T17:28:27.354Z] tags: {}
[taskcluster:warn 2024-06-11T17:28:27.354Z] taskGroupId: E3mWJUe0QROQ8cWHvuwz1Q
[taskcluster:warn 2024-06-11T17:28:27.354Z] taskQueueId: proj-relman/generic-worker-ubuntu-22-04
[taskcluster:warn 2024-06-11T17:28:27.354Z] workerType: generic-worker-ubuntu-22-04
[taskcluster:warn 2024-06-11T17:28:27.354Z]
[taskcluster 2024-06-11T17:28:27.739Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-c.3280140641010792786.60099/log/NOqkkTScR_GoqeHM5zdtjg with mime type "text/plain; charset=utf-8" and expiry 2024-06-11T18:43:27.650Z
[taskcluster 2024-06-11T17:28:27.815Z] 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 4a3305fddc5fcf1a4b8a9a54a644cb56d45c13dc -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 4a3305fddc5fcf1a4b8a9a54a644cb56d45c13dc -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:7327cba2bf36683c119324ade7c9ed62f8a95523d745bb55658ee7f0554a3dd0
Copying blob sha256:bf2c3e352f3d2eed4eda4feeed44a1022a881058df20ac0584db70c138b041e2
Copying blob sha256:6582c62583ef22717db8d306b1d6a0c288089ff607d9c0d2d81c4f8973cbfee3
Copying blob sha256:a99509a323905a80628005e4f3bc26ac15ebaf3ffdb08a9646a7f2d110ab38f9
Copying blob sha256:c6cf28de8a067787ee0d08f8b01d7f1566a508b56f6e549687b41dfd375f12c7
Copying blob sha256:891494355808bdd3db5552f0d3723fd0fa826675f774853796fafa221d850d42
Copying blob sha256:7327cba2bf36683c119324ade7c9ed62f8a95523d745bb55658ee7f0554a3dd0
Copying blob sha256:c6cf28de8a067787ee0d08f8b01d7f1566a508b56f6e549687b41dfd375f12c7
Copying blob sha256:bf2c3e352f3d2eed4eda4feeed44a1022a881058df20ac0584db70c138b041e2
Copying blob sha256:a99509a323905a80628005e4f3bc26ac15ebaf3ffdb08a9646a7f2d110ab38f9
Copying blob sha256:6582c62583ef22717db8d306b1d6a0c288089ff607d9c0d2d81c4f8973cbfee3
Copying blob sha256:891494355808bdd3db5552f0d3723fd0fa826675f774853796fafa221d850d42
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 4a3305fddc5fcf1a4b8a9a54a644cb56d45c13dc -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-11T17:29:49.036Z] Exit Code: 0
[taskcluster 2024-06-11T17:29:49.036Z] User Time: 25.241216s
[taskcluster 2024-06-11T17:29:49.036Z] Kernel Time: 4.631226s
[taskcluster 2024-06-11T17:29:49.036Z] Wall Time: 1m21.220180644s
[taskcluster 2024-06-11T17:29:49.036Z] Result: SUCCEEDED
[taskcluster 2024-06-11T17:29:49.036Z] === Task Finished ===
[taskcluster 2024-06-11T17:29:49.036Z] Task Duration: 1m21.220621119s
[taskcluster 2024-06-11T17:29:49.131Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-06-11T18:07:58.365Z
Loading