build(deps): bump python from 3.12.4-slim to 3.13.0-slim in /bot #2501
Community-TC Integration / Code Coverage checks: linting
succeeded
Oct 14, 2024 in 1m 52s
Community-TC (pull_request)
Check code style with pre-commit hooks
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2024-10-14T15:38:04.187Z
Resolved: 2024-10-14T15:39:42.498Z
Task Execution Time: 1 minute, 38 seconds, 311 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-10-14T15:38:04.242Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-10-14T15:38:04.242Z] {
[taskcluster 2024-10-14T15:38:04.242Z] "config": {
[taskcluster 2024-10-14T15:38:04.242Z] "deploymentId": "9b5eb46204e9d9c4"
[taskcluster 2024-10-14T15:38:04.242Z] },
[taskcluster 2024-10-14T15:38:04.242Z] "generic-worker": {
[taskcluster 2024-10-14T15:38:04.242Z] "config": {
[taskcluster 2024-10-14T15:38:04.242Z] "headlessTasks": false,
[taskcluster 2024-10-14T15:38:04.242Z] "runTasksAsCurrentUser": false
[taskcluster 2024-10-14T15:38:04.242Z] },
[taskcluster 2024-10-14T15:38:04.242Z] "engine": "multiuser",
[taskcluster 2024-10-14T15:38:04.242Z] "go-arch": "amd64",
[taskcluster 2024-10-14T15:38:04.242Z] "go-os": "linux",
[taskcluster 2024-10-14T15:38:04.242Z] "go-version": "go1.23.2",
[taskcluster 2024-10-14T15:38:04.242Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v72.1.0",
[taskcluster 2024-10-14T15:38:04.242Z] "revision": "114df53f4887bd7e18fdfd834cdd9997e17f8774",
[taskcluster 2024-10-14T15:38:04.242Z] "source": "https://github.com/taskcluster/taskcluster/commits/114df53f4887bd7e18fdfd834cdd9997e17f8774",
[taskcluster 2024-10-14T15:38:04.242Z] "version": "72.1.0"
[taskcluster 2024-10-14T15:38:04.242Z] },
[taskcluster 2024-10-14T15:38:04.242Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-prp1zx02fyf9y08yq91g",
...(8 lines hidden)...
[taskcluster 2024-10-14T15:38:04.242Z] "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-dlzzayx5qmolrjmb4anjfq.c.community-tc-workers.internal",
[taskcluster 2024-10-14T15:38:04.242Z] "public-ipv4": "35.237.254.67",
[taskcluster 2024-10-14T15:38:04.242Z] "region": "us-east1",
[taskcluster 2024-10-14T15:38:04.242Z] "zone": "us-east1-c"
[taskcluster 2024-10-14T15:38:04.242Z] }
[taskcluster 2024-10-14T15:38:04.242Z] Task ID: XI4cviHLTDSzzwt0XBIkIg
[taskcluster 2024-10-14T15:38:04.242Z] === Task Starting ===
[taskcluster:warn 2024-10-14T15:38:04.245Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-10-14T15:38:04.245Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-10-14T15:38:04.245Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-10-14T15:38:04.245Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-10-14T15:38:04.245Z]
[taskcluster:warn 2024-10-14T15:38:04.245Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-10-14T15:38:04.245Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-10-14T15:38:04.245Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-10-14T15:38:04.245Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-10-14T15:38:04.245Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-10-14T15:38:04.245Z]
[taskcluster:warn 2024-10-14T15:38:04.245Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-10-14T15:38:04.245Z] ---
[taskcluster:warn 2024-10-14T15:38:04.245Z] created: "2024-10-14T15:37:49.858Z"
[taskcluster:warn 2024-10-14T15:38:04.245Z] deadline: "2024-10-14T16:37:49.858Z"
[taskcluster:warn 2024-10-14T15:38:04.245Z] dependencies: []
[taskcluster:warn 2024-10-14T15:38:04.245Z] expires: "2025-10-14T16:37:49.858Z"
[taskcluster:warn 2024-10-14T15:38:04.245Z] extra: {}
[taskcluster:warn 2024-10-14T15:38:04.245Z] metadata:
[taskcluster:warn 2024-10-14T15:38:04.245Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2024-10-14T15:38:04.245Z] name: 'Code Coverage checks: linting'
[taskcluster:warn 2024-10-14T15:38:04.245Z] owner: [email protected]
[taskcluster:warn 2024-10-14T15:38:04.245Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-10-14T15:38:04.245Z] payload:
[taskcluster:warn 2024-10-14T15:38:04.245Z] command:
[taskcluster:warn 2024-10-14T15:38:04.245Z] - - bash
[taskcluster:warn 2024-10-14T15:38:04.245Z] - -cx
[taskcluster:warn 2024-10-14T15:38:04.245Z] - docker run --init -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE
[taskcluster:warn 2024-10-14T15:38:04.245Z] -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID
[taskcluster:warn 2024-10-14T15:38:04.245Z] 'python:3.8' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-10-14T15:38:04.245Z] /src && cd /src && git checkout d913fbd89affdc8dc06dfa397271a93df740713a -b
[taskcluster:warn 2024-10-14T15:38:04.245Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-10-14T15:38:04.245Z] --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2024-10-14T15:38:04.245Z] --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2024-10-14T15:38:04.245Z] -a --show-diff-on-failure'
[taskcluster:warn 2024-10-14T15:38:04.245Z] features:
[taskcluster:warn 2024-10-14T15:38:04.245Z] backingLog: true
[taskcluster:warn 2024-10-14T15:38:04.245Z] liveLog: true
[taskcluster:warn 2024-10-14T15:38:04.245Z] logs:
[taskcluster:warn 2024-10-14T15:38:04.245Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-10-14T15:38:04.245Z] live: public/logs/live.log
[taskcluster:warn 2024-10-14T15:38:04.245Z] maxRunTime: 3600
[taskcluster:warn 2024-10-14T15:38:04.245Z] onExitStatus:
[taskcluster:warn 2024-10-14T15:38:04.245Z] retry:
[taskcluster:warn 2024-10-14T15:38:04.245Z] - 125
[taskcluster:warn 2024-10-14T15:38:04.245Z] - 128
[taskcluster:warn 2024-10-14T15:38:04.245Z] osGroups:
[taskcluster:warn 2024-10-14T15:38:04.245Z] - docker
[taskcluster:warn 2024-10-14T15:38:04.245Z] priority: lowest
[taskcluster:warn 2024-10-14T15:38:04.245Z] projectId: none
[taskcluster:warn 2024-10-14T15:38:04.245Z] provisionerId: proj-relman
[taskcluster:warn 2024-10-14T15:38:04.245Z] requires: all-completed
[taskcluster:warn 2024-10-14T15:38:04.245Z] retries: 5
[taskcluster:warn 2024-10-14T15:38:04.245Z] routes:
[taskcluster:warn 2024-10-14T15:38:04.245Z] - checks
[taskcluster:warn 2024-10-14T15:38:04.245Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-10-14T15:38:04.245Z] scopes:
[taskcluster:warn 2024-10-14T15:38:04.245Z] - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2024-10-14T15:38:04.245Z] tags: {}
[taskcluster:warn 2024-10-14T15:38:04.245Z] taskGroupId: chNSyoRaTd-I8-ay9xc2ww
[taskcluster:warn 2024-10-14T15:38:04.245Z] taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2024-10-14T15:38:04.245Z] workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2024-10-14T15:38:04.245Z]
[taskcluster 2024-10-14T15:38:05.167Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-c.4543970648029955882.60099/log/RcYEul63RpWR9bUGs46fQQ with mime type "text/plain; charset=utf-8" and expiry 2024-10-14T16:53:05.064Z
[taskcluster 2024-10-14T15:38:05.439Z] Executing command 0: bash -cx 'docker run --init -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.8'\'' sh -lxce '\''git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout d913fbd89affdc8dc06dfa397271a93df740713a -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'\'
+ docker run --init -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.8 sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout d913fbd89affdc8dc06dfa397271a93df740713a -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'
Unable to find image 'python:3.8' locally
3.8: Pulling from library/python
cdd62bf39133: Already exists
a47cff7f31e9: Already exists
a173f2aee8e9: Already exists
01272fe8adba: Already exists
cddc73e4e6c7: Pulling fs layer
cc48f13b5f0f: Pulling fs layer
5a98c896c047: Pulling fs layer
5a98c896c047: Verifying Checksum
5a98c896c047: Download complete
cddc73e4e6c7: Verifying Checksum
cddc73e4e6c7: Download complete
cc48f13b5f0f: Verifying Checksum
cc48f13b5f0f: Download complete
cddc73e4e6c7: Pull complete
cc48f13b5f0f: Pull complete
5a98c896c047: Pull complete
Digest: sha256:d411270700143fa2683cc8264d9fa5d3279fd3b6afff62ae81ea2f9d070e390c
Status: Downloaded newer image for python:3.8
+ 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 d913fbd89affdc8dc06dfa397271a93df740713a -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-10-14T15:39:41.929Z] Exit Code: 0
[taskcluster 2024-10-14T15:39:41.929Z] User Time: 28.778ms
[taskcluster 2024-10-14T15:39:41.929Z] Kernel Time: 62.354ms
[taskcluster 2024-10-14T15:39:41.929Z] Wall Time: 1m36.489899392s
[taskcluster 2024-10-14T15:39:41.929Z] Result: SUCCEEDED
[taskcluster 2024-10-14T15:39:41.929Z] === Task Finished ===
[taskcluster 2024-10-14T15:39:41.929Z] Task Duration: 1m36.490493545s
[taskcluster 2024-10-14T15:39:42.170Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-10-14T16:37:49.858Z
Loading