Skip to content

Update tests

0db79aa
Select commit
Loading
Failed to load commit list.
Open

Backend support for github provider #3252

Update tests
0db79aa
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / Code Review Bot checks: linting succeeded Mar 11, 2026 in 5m 23s

FirefoxCI (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: 2026-03-11T14:31:45.187Z
Resolved: 2026-03-11T14:32:57.951Z
Task Execution Time: 1 minute, 12 seconds, 764 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: WyHcQSLrSOSiDd1NxRE_zg
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2026-03-11T14:31:45.236Z] Worker Type (code-analysis-1/linux-gw-gcp) settings:
[taskcluster 2026-03-11T14:31:45.236Z]   {
[taskcluster 2026-03-11T14:31:45.236Z]     "config": {
[taskcluster 2026-03-11T14:31:45.236Z]       "deploymentId": ""
[taskcluster 2026-03-11T14:31:45.236Z]     },
[taskcluster 2026-03-11T14:31:45.236Z]     "generic-worker": {
[taskcluster 2026-03-11T14:31:45.236Z]       "engine": "multiuser",
[taskcluster 2026-03-11T14:31:45.236Z]       "go-arch": "amd64",
[taskcluster 2026-03-11T14:31:45.236Z]       "go-os": "linux",
[taskcluster 2026-03-11T14:31:45.236Z]       "go-version": "go1.22.2",
[taskcluster 2026-03-11T14:31:45.236Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v64.3.0",
[taskcluster 2026-03-11T14:31:45.236Z]       "revision": "b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2026-03-11T14:31:45.236Z]       "source": "https://github.com/taskcluster/taskcluster/commits/b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2026-03-11T14:31:45.236Z]       "version": "64.3.0"
[taskcluster 2026-03-11T14:31:45.236Z]     },
[taskcluster 2026-03-11T14:31:45.236Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-gui-googlecompute-2024-08-22t22-48-09z",
[taskcluster 2026-03-11T14:31:45.236Z]     "instance-id": "7141541790294524622",
[taskcluster 2026-03-11T14:31:45.236Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-03-11T14:31:45.236Z]     "local-ipv4": "10.128.0.41",
[taskcluster 2026-03-11T14:31:45.236Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-11T14:31:45.236Z]     "public-hostname": "code-analysis-1-linux-gw-gcp-dvpnt5zqs6qvx2qcqkxnag.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-11T14:31:45.236Z]     "public-ipv4": "34.72.114.233",
[taskcluster 2026-03-11T14:31:45.236Z]     "region": "us-central1",
[taskcluster 2026-03-11T14:31:45.236Z]     "zone": "us-central1-c"
[taskcluster 2026-03-11T14:31:45.236Z]   }
[taskcluster 2026-03-11T14:31:45.236Z] Task ID: WyHcQSLrSOSiDd1NxRE_zg
[taskcluster 2026-03-11T14:31:45.236Z] === Task Starting ===
[taskcluster:warn 2026-03-11T14:31:45.240Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2026-03-11T14:31:45.240Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2026-03-11T14:31:45.240Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2026-03-11T14:31:45.240Z]     https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2026-03-11T14:31:45.240Z] 
[taskcluster:warn 2026-03-11T14:31:45.240Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2026-03-11T14:31:45.240Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2026-03-11T14:31:45.240Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2026-03-11T14:31:45.240Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2026-03-11T14:31:45.240Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2026-03-11T14:31:45.240Z] 
[taskcluster:warn 2026-03-11T14:31:45.240Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2026-03-11T14:31:45.240Z] ---
[taskcluster:warn 2026-03-11T14:31:45.240Z]   created: "2026-03-11T14:27:34.722Z"
[taskcluster:warn 2026-03-11T14:31:45.240Z]   deadline: "2026-03-11T15:27:34.722Z"
[taskcluster:warn 2026-03-11T14:31:45.240Z]   dependencies: []
[taskcluster:warn 2026-03-11T14:31:45.240Z]   expires: "2027-03-11T15:27:34.722Z"
[taskcluster:warn 2026-03-11T14:31:45.240Z]   extra: {}
[taskcluster:warn 2026-03-11T14:31:45.240Z]   metadata:
[taskcluster:warn 2026-03-11T14:31:45.240Z]     description: Check code style with pre-commit hooks
[taskcluster:warn 2026-03-11T14:31:45.240Z]     name: 'Code Review Bot checks: linting'
[taskcluster:warn 2026-03-11T14:31:45.240Z]     owner: bastien@mozilla.com
[taskcluster:warn 2026-03-11T14:31:45.240Z]     source: https://github.com/mozilla/code-review
[taskcluster:warn 2026-03-11T14:31:45.240Z]   payload:
[taskcluster:warn 2026-03-11T14:31:45.240Z]     command:
[taskcluster:warn 2026-03-11T14:31:45.240Z]     - - bash
[taskcluster:warn 2026-03-11T14:31:45.240Z]       - -cx
[taskcluster:warn 2026-03-11T14:31:45.240Z]       - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2026-03-11T14:31:45.240Z]         -e TASK_ID 'python:3.12' sh -lxce 'git clone --quiet https://github.com/vrigal/code-review
[taskcluster:warn 2026-03-11T14:31:45.240Z]         /src && cd /src && git checkout 0db79aafaa9b858d2e37c2908a87b113053c53f3 -b
[taskcluster:warn 2026-03-11T14:31:45.240Z]         checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2026-03-11T14:31:45.240Z]         --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'
[taskcluster:warn 2026-03-11T14:31:45.240Z]     features:
[taskcluster:warn 2026-03-11T14:31:45.240Z]       backingLog: true
[taskcluster:warn 2026-03-11T14:31:45.240Z]       liveLog: true
[taskcluster:warn 2026-03-11T14:31:45.240Z]     logs:
[taskcluster:warn 2026-03-11T14:31:45.240Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2026-03-11T14:31:45.240Z]       live: public/logs/live.log
[taskcluster:warn 2026-03-11T14:31:45.240Z]     maxRunTime: 3600
[taskcluster:warn 2026-03-11T14:31:45.240Z]     onExitStatus:
[taskcluster:warn 2026-03-11T14:31:45.240Z]       retry:
[taskcluster:warn 2026-03-11T14:31:45.240Z]       - 125
[taskcluster:warn 2026-03-11T14:31:45.240Z]       - 128
[taskcluster:warn 2026-03-11T14:31:45.240Z]   priority: lowest
[taskcluster:warn 2026-03-11T14:31:45.240Z]   projectId: none
[taskcluster:warn 2026-03-11T14:31:45.240Z]   provisionerId: code-analysis-1
[taskcluster:warn 2026-03-11T14:31:45.240Z]   requires: all-completed
[taskcluster:warn 2026-03-11T14:31:45.240Z]   retries: 5
[taskcluster:warn 2026-03-11T14:31:45.240Z]   routes:
[taskcluster:warn 2026-03-11T14:31:45.240Z]   - checks
[taskcluster:warn 2026-03-11T14:31:45.240Z]   schedulerId: taskcluster-github
[taskcluster:warn 2026-03-11T14:31:45.240Z]   scopes: []
[taskcluster:warn 2026-03-11T14:31:45.240Z]   tags: {}
[taskcluster:warn 2026-03-11T14:31:45.240Z]   taskGroupId: MJTZOgVvQfm3KwvcXbKXGg
[taskcluster:warn 2026-03-11T14:31:45.240Z]   taskQueueId: code-analysis-1/linux-gw-gcp
[taskcluster:warn 2026-03-11T14:31:45.240Z]   workerType: linux-gw-gcp
[taskcluster:warn 2026-03-11T14:31:45.240Z] 
[taskcluster 2026-03-11T14:31:45.944Z] Uploading redirect artifact public/logs/live.log to URL https://firefoxci-websocktunnel.services.mozilla.com/us-central1-c.7141541790294524622.60099/log/OHjqh1GkRFyfg2-mStJsoQ with mime type "text/plain; charset=utf-8" and expiry 2026-03-11T15:46:45.805Z
[taskcluster 2026-03-11T14:31:46.065Z] 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.12'\'' sh -lxce '\''git clone --quiet https://github.com/vrigal/code-review /src && cd /src && git checkout 0db79aafaa9b858d2e37c2908a87b113053c53f3 -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'\'
+ podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID python:3.12 sh -lxce 'git clone --quiet https://github.com/vrigal/code-review /src && cd /src && git checkout 0db79aafaa9b858d2e37c2908a87b113053c53f3 -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'
Resolved "python" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/python:3.12...
Getting image source signatures
Copying blob sha256:7313614466feaa3dfe28dc9489b4484bab13313583e672cd5bbbf7ab4a05efed
Copying blob sha256:fb7859c7d5c2ab339d66b33645ccdef67e34f2f06e32129b9c0c92819f3832aa
Copying blob sha256:ed881fbf1b07b42dd470cd5b56a8feb684d60879c6f8028a9e7a8715e0e72361
Copying blob sha256:9da421ddeb655bdfb3960e490b39373b0d1351e3eaba61d01978107920638392
Copying blob sha256:866771c43bf5eb77362eeeb163c0c825e194c2806d0b697028434e3b9c02f59d
Copying blob sha256:a793e3c6bce826c77a6bfec52e3e42691937f0e5701d8efa06d32850314d3f30
Copying blob sha256:a793e3c6bce826c77a6bfec52e3e42691937f0e5701d8efa06d32850314d3f30
Copying blob sha256:ed881fbf1b07b42dd470cd5b56a8feb684d60879c6f8028a9e7a8715e0e72361
Copying blob sha256:7313614466feaa3dfe28dc9489b4484bab13313583e672cd5bbbf7ab4a05efed
Copying blob sha256:866771c43bf5eb77362eeeb163c0c825e194c2806d0b697028434e3b9c02f59d
Copying blob sha256:fb7859c7d5c2ab339d66b33645ccdef67e34f2f06e32129b9c0c92819f3832aa
Copying blob sha256:9da421ddeb655bdfb3960e490b39373b0d1351e3eaba61d01978107920638392
Copying blob sha256:9fc0edd953013b388b2a18ebe72aa4d1e226b2807c6c09f3cfadbccadce6be39
Copying blob sha256:9fc0edd953013b388b2a18ebe72aa4d1e226b2807c6c09f3cfadbccadce6be39
Copying config sha256:16f554efe9f9e182e2ec6b86ad37360138407a456a69982ed1b8261716ce5163
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 ]
+ run-parts --list --regex ^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$ /etc/profile.d
+ unset i
+ [  ]
+ git clone --quiet https://github.com/vrigal/code-review /src
+ cd /src
+ git checkout 0db79aafaa9b858d2e37c2908a87b113053c53f3 -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:prettier@2.7.1.
[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 2026-03-11T14:32:57.422Z]    Exit Code: 0
[taskcluster 2026-03-11T14:32:57.422Z]    User Time: 26.261009s
[taskcluster 2026-03-11T14:32:57.422Z]  Kernel Time: 5.707815s
[taskcluster 2026-03-11T14:32:57.422Z]    Wall Time: 1m11.356474844s
[taskcluster 2026-03-11T14:32:57.422Z]       Result: SUCCEEDED
[taskcluster 2026-03-11T14:32:57.422Z] === Task Finished ===
[taskcluster 2026-03-11T14:32:57.422Z] Task Duration: 1m11.356760857s
[taskcluster 2026-03-11T14:32:57.566Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2027-03-11T15:27:34.722Z