build(deps-dev): bump pytest from 7.4.3 to 8.0.1 in /bot #2267
Community-TC Integration / Code Coverage checks: linting
succeeded
Feb 19, 2024 in 3m 1s
Community-TC (pull_request)
Check code style with pre-commit hooks
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-02-19T15:37:41.073Z] Worker Type (proj-relman/generic-worker-ubuntu-22-04) settings:
[taskcluster 2024-02-19T15:37:41.073Z] {
[taskcluster 2024-02-19T15:37:41.073Z] "config": {
[taskcluster 2024-02-19T15:37:41.073Z] "deploymentId": "52510511b573574e"
[taskcluster 2024-02-19T15:37:41.073Z] },
[taskcluster 2024-02-19T15:37:41.073Z] "generic-worker": {
[taskcluster 2024-02-19T15:37:41.073Z] "engine": "multiuser",
[taskcluster 2024-02-19T15:37:41.073Z] "go-arch": "amd64",
[taskcluster 2024-02-19T15:37:41.073Z] "go-os": "linux",
[taskcluster 2024-02-19T15:37:41.073Z] "go-version": "go1.22.0",
[taskcluster 2024-02-19T15:37:41.073Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v60.3.4",
[taskcluster 2024-02-19T15:37:41.073Z] "revision": "943a6f2b0d14fa0270280bc6f23acc2945d0fe45",
[taskcluster 2024-02-19T15:37:41.073Z] "source": "https://github.com/taskcluster/taskcluster/commits/943a6f2b0d14fa0270280bc6f23acc2945d0fe45",
[taskcluster 2024-02-19T15:37:41.073Z] "version": "60.3.4"
[taskcluster 2024-02-19T15:37:41.073Z] },
[taskcluster 2024-02-19T15:37:41.073Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-22-04-kzcagf1do6zgav3crq26",
[taskcluster 2024-02-19T15:37:41.073Z] "instance-id": "2662066667881681616",
[taskcluster 2024-02-19T15:37:41.073Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-02-19T15:37:41.073Z] "local-ipv4": "10.128.0.31",
[taskcluster 2024-02-19T15:37:41.073Z] "machine-setup": {
[taskcluster 2024-02-19T15:37:41.073Z] "maintainer": "[email protected]",
[taskcluster 2024-02-19T15:37:41.073Z] "script": "https://github.com/taskcluster/community-tc-config/blob/0967e581c4fa4457fe7cd752ffc114e4d0b0d3c4/imagesets/generic-worker-ubuntu-22-04/bootstrap.sh"
[taskcluster 2024-02-19T15:37:41.073Z] },
[taskcluster 2024-02-19T15:37:41.073Z] "project-id": "community-tc-workers",
[taskcluster 2024-02-19T15:37:41.073Z] "public-hostname": "proj-relman-generic-worker-ubuntu-22-0-lsnyrxo-tfa29rmfpfzb5q.c.community-tc-workers.internal",
[taskcluster 2024-02-19T15:37:41.073Z] "public-ipv4": "35.202.27.143",
[taskcluster 2024-02-19T15:37:41.073Z] "region": "us-central1",
[taskcluster 2024-02-19T15:37:41.073Z] "zone": "us-central1-a"
[taskcluster 2024-02-19T15:37:41.073Z] }
[taskcluster 2024-02-19T15:37:41.073Z] Task ID: NR1DBhs_RiSefjws-q-laQ
[taskcluster 2024-02-19T15:37:41.073Z] === Task Starting ===
[taskcluster:warn 2024-02-19T15:37:41.076Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-02-19T15:37:41.076Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-02-19T15:37:41.076Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-02-19T15:37:41.076Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-02-19T15:37:41.076Z]
[taskcluster:warn 2024-02-19T15:37:41.076Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-02-19T15:37:41.076Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-02-19T15:37:41.076Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-02-19T15:37:41.076Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-02-19T15:37:41.076Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-02-19T15:37:41.076Z]
[taskcluster:warn 2024-02-19T15:37:41.076Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-02-19T15:37:41.076Z] ---
[taskcluster:warn 2024-02-19T15:37:41.076Z] created: "2024-02-19T15:36:05.289Z"
[taskcluster:warn 2024-02-19T15:37:41.076Z] deadline: "2024-02-19T16:36:05.289Z"
[taskcluster:warn 2024-02-19T15:37:41.076Z] dependencies: []
[taskcluster:warn 2024-02-19T15:37:41.076Z] expires: "2025-02-19T16:36:05.289Z"
[taskcluster:warn 2024-02-19T15:37:41.076Z] extra: {}
[taskcluster:warn 2024-02-19T15:37:41.076Z] metadata:
[taskcluster:warn 2024-02-19T15:37:41.076Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2024-02-19T15:37:41.076Z] name: 'Code Coverage checks: linting'
[taskcluster:warn 2024-02-19T15:37:41.076Z] owner: [email protected]
[taskcluster:warn 2024-02-19T15:37:41.076Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-02-19T15:37:41.076Z] payload:
[taskcluster:warn 2024-02-19T15:37:41.076Z] command:
[taskcluster:warn 2024-02-19T15:37:41.076Z] - - bash
[taskcluster:warn 2024-02-19T15:37:41.076Z] - -cx
[taskcluster:warn 2024-02-19T15:37:41.076Z] - podman run -t --rm -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2024-02-19T15:37:41.076Z] -e TASK_ID 'python:3.8' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-02-19T15:37:41.076Z] /src && cd /src && git checkout b7e722a15b0e2007caee479908f4b5cc5ea44a77 -b
[taskcluster:warn 2024-02-19T15:37:41.076Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-02-19T15:37:41.076Z] --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2024-02-19T15:37:41.076Z] --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2024-02-19T15:37:41.076Z] -a --show-diff-on-failure'
[taskcluster:warn 2024-02-19T15:37:41.076Z] features:
[taskcluster:warn 2024-02-19T15:37:41.076Z] backingLog: true
[taskcluster:warn 2024-02-19T15:37:41.076Z] liveLog: true
[taskcluster:warn 2024-02-19T15:37:41.076Z] logs:
[taskcluster:warn 2024-02-19T15:37:41.076Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-02-19T15:37:41.076Z] live: public/logs/live.log
[taskcluster:warn 2024-02-19T15:37:41.076Z] maxRunTime: 3600
[taskcluster:warn 2024-02-19T15:37:41.076Z] onExitStatus:
[taskcluster:warn 2024-02-19T15:37:41.076Z] retry:
[taskcluster:warn 2024-02-19T15:37:41.076Z] - 125
[taskcluster:warn 2024-02-19T15:37:41.076Z] - 128
[taskcluster:warn 2024-02-19T15:37:41.076Z] priority: lowest
[taskcluster:warn 2024-02-19T15:37:41.076Z] projectId: none
[taskcluster:warn 2024-02-19T15:37:41.076Z] provisionerId: proj-relman
[taskcluster:warn 2024-02-19T15:37:41.076Z] requires: all-completed
[taskcluster:warn 2024-02-19T15:37:41.076Z] retries: 5
[taskcluster:warn 2024-02-19T15:37:41.076Z] routes:
[taskcluster:warn 2024-02-19T15:37:41.076Z] - checks
[taskcluster:warn 2024-02-19T15:37:41.076Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-02-19T15:37:41.076Z] scopes: []
[taskcluster:warn 2024-02-19T15:37:41.076Z] tags: {}
[taskcluster:warn 2024-02-19T15:37:41.076Z] taskGroupId: BentrwVvRA60-vdTrUKemA
[taskcluster:warn 2024-02-19T15:37:41.076Z] taskQueueId: proj-relman/generic-worker-ubuntu-22-04
[taskcluster:warn 2024-02-19T15:37:41.076Z] workerType: generic-worker-ubuntu-22-04
[taskcluster:warn 2024-02-19T15:37:41.076Z]
[taskcluster 2024-02-19T15:37:41.356Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-central1.2662066667881681616.60099/log/Az2qvHhGSc2682jJRia7yQ with mime type "text/plain; charset=utf-8" and expiry 2024-02-19T16:52:41.304Z
[taskcluster 2024-02-19T15:37:41.407Z] Executing command 0: bash -cx 'podman run -t --rm -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 b7e722a15b0e2007caee479908f4b5cc5ea44a77 -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 -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 b7e722a15b0e2007caee479908f4b5cc5ea44a77 -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:11402150a57e537c64dc69a28bba37f13acdedd50d8788894398a7b774786e7d
Copying blob sha256:4532b04ec8f74504e51d2e559a91696cf1d2abb690871b18983ccaf7f75800f9
Copying blob sha256:c558fac597f8ecbb7a66712e14912ce1d83b23a92ca8b6ff14eef209ab01aff2
Copying blob sha256:2b9b41aaa3c52ab268b47da303015b94ced04a1eb02e58860e58b283404974f4
Copying blob sha256:49b40be4436eff6fe463f6977159dc727df37cabe65ade75c75c1caa3cb0a234
Copying blob sha256:7bb465c2914923b08ae03b7fc67b92a1ef9b09c4c1eb9d6711b22ee6bbb46a00
Copying blob sha256:4532b04ec8f74504e51d2e559a91696cf1d2abb690871b18983ccaf7f75800f9
Copying blob sha256:49b40be4436eff6fe463f6977159dc727df37cabe65ade75c75c1caa3cb0a234
Copying blob sha256:7bb465c2914923b08ae03b7fc67b92a1ef9b09c4c1eb9d6711b22ee6bbb46a00
Copying blob sha256:2b9b41aaa3c52ab268b47da303015b94ced04a1eb02e58860e58b283404974f4
Copying blob sha256:c558fac597f8ecbb7a66712e14912ce1d83b23a92ca8b6ff14eef209ab01aff2
Copying blob sha256:11402150a57e537c64dc69a28bba37f13acdedd50d8788894398a7b774786e7d
Copying blob sha256:4df0efb76c10b517a5e00bb6e8d1215e7425e48c6897ba7e858da16de78daabf
Copying blob sha256:951fd003e72c32d376eaba82f18c2e31e52ade7a970c732bd189a59b68b6efee
Copying blob sha256:4df0efb76c10b517a5e00bb6e8d1215e7425e48c6897ba7e858da16de78daabf
Copying blob sha256:951fd003e72c32d376eaba82f18c2e31e52ade7a970c732bd189a59b68b6efee
Copying config sha256:e88393a58f956e0c224a2489fa277944ef20603af906d5c1098d6bdcc1c7cf59
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 b7e722a15b0e2007caee479908f4b5cc5ea44a77 -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-02-19T15:39:06.331Z] Exit Code: 0
[taskcluster 2024-02-19T15:39:06.331Z] User Time: 24.750043s
[taskcluster 2024-02-19T15:39:06.331Z] Kernel Time: 3.904828s
[taskcluster 2024-02-19T15:39:06.331Z] Wall Time: 1m24.924271587s
[taskcluster 2024-02-19T15:39:06.331Z] Result: SUCCEEDED
[taskcluster 2024-02-19T15:39:06.331Z] === Task Finished ===
[taskcluster 2024-02-19T15:39:06.331Z] Task Duration: 1m24.924665169s
[taskcluster 2024-02-19T15:39:06.390Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-02-19T16:36:05.289Z
Loading