Skip to content

Start cloning the repository in the background as soon as possible - #3641

Draft
marco-c wants to merge 1 commit into
mozilla:masterfrom
marco-c:clone_asap
Draft

marco-c wants to merge 1 commit into
mozilla:masterfrom
marco-c:clone_asap

Start cloning the repository in the background as soon as possible

53fe07b
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / Code Review Bot checks: linting succeeded Sep 11, 2026 in 1m 6s

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-09-11T15:29:52.234Z
Resolved: 2026-09-11T15:30:57.607Z
Task Execution Time: 1 minute, 5 seconds, 373 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: aIjiBlH6THOzSBrpwEXK7g
RunId: 0

Artifacts

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


[taskcluster 2026-09-11T15:29:52.426Z] Worker Type (code-analysis-1/linux-gw-gcp) settings:
[taskcluster 2026-09-11T15:29:52.426Z]   {
[taskcluster 2026-09-11T15:29:52.426Z]     "config": {
[taskcluster 2026-09-11T15:29:52.426Z]       "deploymentId": ""
[taskcluster 2026-09-11T15:29:52.426Z]     },
[taskcluster 2026-09-11T15:29:52.426Z]     "generic-worker": {
[taskcluster 2026-09-11T15:29:52.426Z]       "engine": "multiuser",
[taskcluster 2026-09-11T15:29:52.426Z]       "go-arch": "amd64",
[taskcluster 2026-09-11T15:29:52.426Z]       "go-os": "linux",
[taskcluster 2026-09-11T15:29:52.426Z]       "go-version": "go1.22.2",
[taskcluster 2026-09-11T15:29:52.426Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v64.3.0",
[taskcluster 2026-09-11T15:29:52.426Z]       "revision": "b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2026-09-11T15:29:52.426Z]       "source": "https://github.com/taskcluster/taskcluster/commits/b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2026-09-11T15:29:52.426Z]       "version": "64.3.0"
[taskcluster 2026-09-11T15:29:52.426Z]     },
[taskcluster 2026-09-11T15:29:52.426Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-gui-googlecompute-2024-08-22t22-48-09z",
[taskcluster 2026-09-11T15:29:52.426Z]     "instance-id": "1205257870267490969",
[taskcluster 2026-09-11T15:29:52.426Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-09-11T15:29:52.426Z]     "local-ipv4": "10.128.0.98",
[taskcluster 2026-09-11T15:29:52.426Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-09-11T15:29:52.426Z]     "public-hostname": "code-analysis-1-linux-gw-gcp-zdr7ok3stbegyyju4sjalw.c.fxci-production-level1-workers.internal",
[taskcluster 2026-09-11T15:29:52.426Z]     "public-ipv4": "136.111.202.95",
[taskcluster 2026-09-11T15:29:52.426Z]     "region": "us-central1",
[taskcluster 2026-09-11T15:29:52.426Z]     "zone": "us-central1-b"
[taskcluster 2026-09-11T15:29:52.426Z]   }
[taskcluster 2026-09-11T15:29:52.426Z] Task ID: aIjiBlH6THOzSBrpwEXK7g
[taskcluster 2026-09-11T15:29:52.426Z] === Task Starting ===
[taskcluster:warn 2026-09-11T15:29:52.429Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2026-09-11T15:29:52.429Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2026-09-11T15:29:52.429Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2026-09-11T15:29:52.429Z]     https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2026-09-11T15:29:52.429Z] 
[taskcluster:warn 2026-09-11T15:29:52.429Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2026-09-11T15:29:52.429Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2026-09-11T15:29:52.429Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2026-09-11T15:29:52.429Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2026-09-11T15:29:52.429Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2026-09-11T15:29:52.429Z] 
[taskcluster:warn 2026-09-11T15:29:52.429Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2026-09-11T15:29:52.429Z] ---
[taskcluster:warn 2026-09-11T15:29:52.429Z]   created: "2026-09-11T15:29:51.689Z"
[taskcluster:warn 2026-09-11T15:29:52.429Z]   deadline: "2026-09-11T16:29:51.689Z"
[taskcluster:warn 2026-09-11T15:29:52.429Z]   dependencies: []
[taskcluster:warn 2026-09-11T15:29:52.429Z]   expires: "2027-09-11T16:29:51.689Z"
[taskcluster:warn 2026-09-11T15:29:52.429Z]   extra: {}
[taskcluster:warn 2026-09-11T15:29:52.429Z]   metadata:
[taskcluster:warn 2026-09-11T15:29:52.429Z]     description: Check code style with pre-commit hooks
[taskcluster:warn 2026-09-11T15:29:52.429Z]     name: 'Code Review Bot checks: linting'
[taskcluster:warn 2026-09-11T15:29:52.429Z]     owner: bastien@mozilla.com
[taskcluster:warn 2026-09-11T15:29:52.429Z]     source: https://github.com/mozilla/code-review
[taskcluster:warn 2026-09-11T15:29:52.429Z]   payload:
[taskcluster:warn 2026-09-11T15:29:52.429Z]     command:
[taskcluster:warn 2026-09-11T15:29:52.429Z]     - - bash
[taskcluster:warn 2026-09-11T15:29:52.429Z]       - -cx
[taskcluster:warn 2026-09-11T15:29:52.429Z]       - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2026-09-11T15:29:52.429Z]         -e TASK_ID 'python:3.12' sh -lxce 'git clone --quiet https://github.com/marco-c/code-review
[taskcluster:warn 2026-09-11T15:29:52.429Z]         /src && cd /src && git checkout 53fe07b3b31749926aff75019d81138d440c0666 -b
[taskcluster:warn 2026-09-11T15:29:52.429Z]         checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2026-09-11T15:29:52.429Z]         --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'
[taskcluster:warn 2026-09-11T15:29:52.429Z]     features:
[taskcluster:warn 2026-09-11T15:29:52.429Z]       backingLog: true
[taskcluster:warn 2026-09-11T15:29:52.429Z]       liveLog: true
[taskcluster:warn 2026-09-11T15:29:52.429Z]     logs:
[taskcluster:warn 2026-09-11T15:29:52.429Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2026-09-11T15:29:52.429Z]       live: public/logs/live.log
[taskcluster:warn 2026-09-11T15:29:52.429Z]     maxRunTime: 3600
[taskcluster:warn 2026-09-11T15:29:52.429Z]     onExitStatus:
[taskcluster:warn 2026-09-11T15:29:52.429Z]       retry:
[taskcluster:warn 2026-09-11T15:29:52.429Z]       - 125
[taskcluster:warn 2026-09-11T15:29:52.429Z]       - 128
[taskcluster:warn 2026-09-11T15:29:52.429Z]   priority: lowest
[taskcluster:warn 2026-09-11T15:29:52.429Z]   projectId: none
[taskcluster:warn 2026-09-11T15:29:52.429Z]   provisionerId: code-analysis-1
[taskcluster:warn 2026-09-11T15:29:52.429Z]   requires: all-completed
[taskcluster:warn 2026-09-11T15:29:52.429Z]   retries: 5
[taskcluster:warn 2026-09-11T15:29:52.429Z]   routes:
[taskcluster:warn 2026-09-11T15:29:52.429Z]   - checks
[taskcluster:warn 2026-09-11T15:29:52.429Z]   schedulerId: taskcluster-github
[taskcluster:warn 2026-09-11T15:29:52.429Z]   scopes: []
[taskcluster:warn 2026-09-11T15:29:52.429Z]   tags: {}
[taskcluster:warn 2026-09-11T15:29:52.429Z]   taskGroupId: YfznIHMVR9ez455QHQAx0w
[taskcluster:warn 2026-09-11T15:29:52.429Z]   taskQueueId: code-analysis-1/linux-gw-gcp
[taskcluster:warn 2026-09-11T15:29:52.429Z]   workerType: linux-gw-gcp
[taskcluster:warn 2026-09-11T15:29:52.429Z] 
[taskcluster 2026-09-11T15:29:52.952Z] Uploading redirect artifact public/logs/live.log to URL https://firefoxci-websocktunnel.services.mozilla.com/us-central1-b.1205257870267490969.60099/log/P63U-TX4QsyvHUvp7pTmiQ with mime type "text/plain; charset=utf-8" and expiry 2026-09-11T16:44:52.809Z
[taskcluster 2026-09-11T15:29:53.057Z] 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/marco-c/code-review /src && cd /src && git checkout 53fe07b3b31749926aff75019d81138d440c0666 -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/marco-c/code-review /src && cd /src && git checkout 53fe07b3b31749926aff75019d81138d440c0666 -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:4d36dfb28ac4f2ad342f76e0054125e2fb80343298b5a3ae0e87ce09d1bbd80b
Copying blob sha256:44fed46b68cf907ddf6afb6bc4211842f016a0876b02fc27912582de4c2fed3b
Copying blob sha256:3fc3140f3066d736966e38883278a77568075d4a11438b744d9f6eb2988e1af3
Copying blob sha256:cbc19164244e861d91ebd80a17e2c78c5be43a8059a32ab6fc459a92002b22f2
Copying blob sha256:00f78834a2fef03250be89a7741ff39d0e6bbd860298ea129a84ce5eadda1f6d
Copying blob sha256:27ee9a8250487842a26b1ffa1215982ba9ae27010bce1997d52f9f8628578d17
Copying blob sha256:44fed46b68cf907ddf6afb6bc4211842f016a0876b02fc27912582de4c2fed3b
Copying blob sha256:00f78834a2fef03250be89a7741ff39d0e6bbd860298ea129a84ce5eadda1f6d
Copying blob sha256:27ee9a8250487842a26b1ffa1215982ba9ae27010bce1997d52f9f8628578d17
Copying blob sha256:3fc3140f3066d736966e38883278a77568075d4a11438b744d9f6eb2988e1af3
Copying blob sha256:4d36dfb28ac4f2ad342f76e0054125e2fb80343298b5a3ae0e87ce09d1bbd80b
Copying blob sha256:cbc19164244e861d91ebd80a17e2c78c5be43a8059a32ab6fc459a92002b22f2
Copying blob sha256:cd6919adefd560190df962c11fda264a4981ff1cd601e41c92f8284f2d76ae9c
Copying blob sha256:cd6919adefd560190df962c11fda264a4981ff1cd601e41c92f8284f2d76ae9c
Copying config sha256:22653983114e747bb621877ab73b2454ff4e302743bdc0af019acf0a64ab51de
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/marco-c/code-review /src
+ cd /src
+ git checkout 53fe07b3b31749926aff75019d81138d440c0666 -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] Initializing environment for https://github.com/adamchainz/django-upgrade.
[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...
[INFO] Installing environment for https://github.com/adamchainz/django-upgrade.
[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
django-upgrade...........................................................Passed
[taskcluster 2026-09-11T15:30:57.107Z]    Exit Code: 0
[taskcluster 2026-09-11T15:30:57.107Z]    User Time: 25.662713s
[taskcluster 2026-09-11T15:30:57.107Z]  Kernel Time: 4.827609s
[taskcluster 2026-09-11T15:30:57.107Z]    Wall Time: 1m4.049857573s
[taskcluster 2026-09-11T15:30:57.107Z]       Result: SUCCEEDED
[taskcluster 2026-09-11T15:30:57.108Z] === Task Finished ===
[taskcluster 2026-09-11T15:30:57.108Z] Task Duration: 1m4.050192794s
[taskcluster 2026-09-11T15:30:57.230Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2027-09-11T16:29:51.689Z