build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend #2579
Community-TC Integration / Code Review Bot checks: linting
succeeded
Dec 16, 2024 in 3m 37s
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-12-16T14:48:02.863Z
Resolved: 2024-12-16T14:49:26.918Z
Task Execution Time: 1 minute, 24 seconds, 55 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-12-16T14:48:02.915Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-12-16T14:48:02.915Z] {
[taskcluster 2024-12-16T14:48:02.915Z] "config": {
[taskcluster 2024-12-16T14:48:02.915Z] "deploymentId": "601b89ce4ec2e922"
[taskcluster 2024-12-16T14:48:02.915Z] },
[taskcluster 2024-12-16T14:48:02.915Z] "generic-worker": {
[taskcluster 2024-12-16T14:48:02.915Z] "config": {
[taskcluster 2024-12-16T14:48:02.915Z] "headlessTasks": false,
[taskcluster 2024-12-16T14:48:02.915Z] "runTasksAsCurrentUser": false
[taskcluster 2024-12-16T14:48:02.915Z] },
[taskcluster 2024-12-16T14:48:02.915Z] "engine": "multiuser",
[taskcluster 2024-12-16T14:48:02.915Z] "go-arch": "amd64",
[taskcluster 2024-12-16T14:48:02.915Z] "go-os": "linux",
[taskcluster 2024-12-16T14:48:02.915Z] "go-version": "go1.23.2",
[taskcluster 2024-12-16T14:48:02.915Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v74.0.0",
[taskcluster 2024-12-16T14:48:02.915Z] "revision": "fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-16T14:48:02.915Z] "source": "https://github.com/taskcluster/taskcluster/commits/fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-16T14:48:02.915Z] "version": "74.0.0"
[taskcluster 2024-12-16T14:48:02.915Z] },
[taskcluster 2024-12-16T14:48:02.915Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-ddqyjsebv0cix9iqxo98",
[taskcluster 2024-12-16T14:48:02.915Z] "instance-id": "5783141796092412868",
[taskcluster 2024-12-16T14:48:02.915Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-12-16T14:48:02.915Z] "local-ipv4": "10.142.0.94",
[taskcluster 2024-12-16T14:48:02.915Z] "machine-setup": {
[taskcluster 2024-12-16T14:48:02.915Z] "maintainer": "[email protected]",
[taskcluster 2024-12-16T14:48:02.915Z] "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/73f19c0b4d7f82e8ae3f249c6ec5b0e9ceb484ab/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2024-12-16T14:48:02.915Z] },
[taskcluster 2024-12-16T14:48:02.915Z] "project-id": "community-tc-workers",
[taskcluster 2024-12-16T14:48:02.915Z] "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-jcc3zl31tvwarvt6puoisa.c.community-tc-workers.internal",
[taskcluster 2024-12-16T14:48:02.915Z] "public-ipv4": "35.231.53.3",
[taskcluster 2024-12-16T14:48:02.915Z] "region": "us-east1",
[taskcluster 2024-12-16T14:48:02.915Z] "zone": "us-east1-d"
[taskcluster 2024-12-16T14:48:02.915Z] }
[taskcluster 2024-12-16T14:48:02.915Z] Task ID: HFUOcrB8QlaFjhLFGKDlqQ
[taskcluster 2024-12-16T14:48:02.915Z] === Task Starting ===
[taskcluster:warn 2024-12-16T14:48:02.918Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-12-16T14:48:02.918Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-12-16T14:48:02.918Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-12-16T14:48:02.918Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-12-16T14:48:02.918Z]
[taskcluster:warn 2024-12-16T14:48:02.918Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-12-16T14:48:02.918Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-12-16T14:48:02.918Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-12-16T14:48:02.918Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-12-16T14:48:02.918Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-12-16T14:48:02.918Z]
[taskcluster:warn 2024-12-16T14:48:02.918Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-12-16T14:48:02.918Z] ---
[taskcluster:warn 2024-12-16T14:48:02.918Z] created: "2024-12-16T14:45:49.877Z"
[taskcluster:warn 2024-12-16T14:48:02.918Z] deadline: "2024-12-16T15:45:49.877Z"
[taskcluster:warn 2024-12-16T14:48:02.918Z] dependencies: []
[taskcluster:warn 2024-12-16T14:48:02.918Z] expires: "2025-12-16T15:45:49.877Z"
[taskcluster:warn 2024-12-16T14:48:02.918Z] extra: {}
[taskcluster:warn 2024-12-16T14:48:02.918Z] metadata:
[taskcluster:warn 2024-12-16T14:48:02.918Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2024-12-16T14:48:02.918Z] name: 'Code Review Bot checks: linting'
[taskcluster:warn 2024-12-16T14:48:02.918Z] owner: [email protected]
[taskcluster:warn 2024-12-16T14:48:02.918Z] source: https://github.com/mozilla/code-review
[taskcluster:warn 2024-12-16T14:48:02.918Z] payload:
[taskcluster:warn 2024-12-16T14:48:02.918Z] command:
[taskcluster:warn 2024-12-16T14:48:02.918Z] - - bash
[taskcluster:warn 2024-12-16T14:48:02.918Z] - -cx
[taskcluster:warn 2024-12-16T14:48:02.918Z] - docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE
[taskcluster:warn 2024-12-16T14:48:02.918Z] -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID
[taskcluster:warn 2024-12-16T14:48:02.918Z] 'python:3.12' sh -lxce 'git clone --quiet https://github.com/mozilla/code-review
[taskcluster:warn 2024-12-16T14:48:02.918Z] /src && cd /src && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b
[taskcluster:warn 2024-12-16T14:48:02.918Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-12-16T14:48:02.918Z] --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'
[taskcluster:warn 2024-12-16T14:48:02.918Z] features:
[taskcluster:warn 2024-12-16T14:48:02.918Z] backingLog: true
[taskcluster:warn 2024-12-16T14:48:02.918Z] liveLog: true
[taskcluster:warn 2024-12-16T14:48:02.918Z] logs:
[taskcluster:warn 2024-12-16T14:48:02.918Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-12-16T14:48:02.918Z] live: public/logs/live.log
[taskcluster:warn 2024-12-16T14:48:02.918Z] maxRunTime: 3600
[taskcluster:warn 2024-12-16T14:48:02.918Z] onExitStatus:
[taskcluster:warn 2024-12-16T14:48:02.918Z] retry:
[taskcluster:warn 2024-12-16T14:48:02.918Z] - 125
[taskcluster:warn 2024-12-16T14:48:02.918Z] - 128
[taskcluster:warn 2024-12-16T14:48:02.918Z] osGroups:
[taskcluster:warn 2024-12-16T14:48:02.918Z] - docker
[taskcluster:warn 2024-12-16T14:48:02.918Z] priority: lowest
[taskcluster:warn 2024-12-16T14:48:02.918Z] projectId: none
[taskcluster:warn 2024-12-16T14:48:02.918Z] provisionerId: proj-relman
[taskcluster:warn 2024-12-16T14:48:02.918Z] requires: all-completed
[taskcluster:warn 2024-12-16T14:48:02.918Z] retries: 5
[taskcluster:warn 2024-12-16T14:48:02.918Z] routes:
[taskcluster:warn 2024-12-16T14:48:02.918Z] - checks
[taskcluster:warn 2024-12-16T14:48:02.918Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-12-16T14:48:02.918Z] scopes:
[taskcluster:warn 2024-12-16T14:48:02.918Z] - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2024-12-16T14:48:02.918Z] tags: {}
[taskcluster:warn 2024-12-16T14:48:02.918Z] taskGroupId: Ib-HKQyER3KkSCQNgEmugw
[taskcluster:warn 2024-12-16T14:48:02.918Z] taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-16T14:48:02.918Z] workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-16T14:48:02.918Z]
[taskcluster 2024-12-16T14:48:04.404Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-d.5783141796092412868.60099/log/Bi8OHHLDR9GhqpGo7hjU-A with mime type "text/plain; charset=utf-8" and expiry 2024-12-16T16:03:04.310Z
[taskcluster 2024-12-16T14:48:04.804Z] 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.12'\'' sh -lxce '\''git clone --quiet https://github.com/mozilla/code-review /src && cd /src && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b checks && cd /src/bot && 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 -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.12 sh -lxce 'git clone --quiet https://github.com/mozilla/code-review /src && cd /src && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b checks && cd /src/bot && 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.12' locally
3.12: Pulling from library/python
fdf894e782a2: Pulling fs layer
5bd71677db44: Pulling fs layer
551df7f94f9c: Pulling fs layer
ce82e98d553d: Pulling fs layer
53dbba7cf7ca: Pulling fs layer
b167200c1204: Pulling fs layer
8871a2ca0dba: Pulling fs layer
ce82e98d553d: Waiting
53dbba7cf7ca: Waiting
b167200c1204: Waiting
8871a2ca0dba: Waiting
5bd71677db44: Verifying Checksum
5bd71677db44: Download complete
fdf894e782a2: Download complete
53dbba7cf7ca: Verifying Checksum
53dbba7cf7ca: Download complete
b167200c1204: Verifying Checksum
b167200c1204: Download complete
551df7f94f9c: Verifying Checksum
551df7f94f9c: Download complete
8871a2ca0dba: Download complete
fdf894e782a2: Pull complete
5bd71677db44: Pull complete
ce82e98d553d: Verifying Checksum
ce82e98d553d: Download complete
551df7f94f9c: Pull complete
ce82e98d553d: Pull complete
53dbba7cf7ca: Pull complete
b167200c1204: Pull complete
8871a2ca0dba: Pull complete
Digest: sha256:752ce4a954589eb94d32849db7ede17ce120945cb71f6feabab3697550932ff9
Status: Downloaded newer image for python:3.12
+ 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-review /src
+ cd /src
+ git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -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, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ cd /src
+ pre-commit run -a --show-diff-on-failure
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:[email protected].
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo.
[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] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[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-prettier.
[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...
ruff.....................................................................Passed
ruff-format..............................................................Passed
prettier.................................................................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
Check for useless excludes...............................................Passed
[taskcluster 2024-12-16T14:49:26.385Z] Exit Code: 0
[taskcluster 2024-12-16T14:49:26.385Z] User Time: 40.419ms
[taskcluster 2024-12-16T14:49:26.385Z] Kernel Time: 46.482ms
[taskcluster 2024-12-16T14:49:26.385Z] Wall Time: 1m21.580268837s
[taskcluster 2024-12-16T14:49:26.385Z] Result: SUCCEEDED
[taskcluster 2024-12-16T14:49:26.385Z] === Task Finished ===
[taskcluster 2024-12-16T14:49:26.385Z] Task Duration: 1m21.58058373s
[taskcluster 2024-12-16T14:49:26.601Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-12-16T15:45:49.877Z
Loading