build(deps-dev): bump eslint-plugin-mozilla from 3.7.5 to 4.0.0 in /addon #2520
firefoxci-taskcluster / Code Coverage checks: linting
succeeded
Oct 21, 2024 in 1m 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: 2024-10-21T16:37:09.390Z
Resolved: 2024-10-21T16:38:31.683Z
Task Execution Time: 1 minute, 22 seconds, 293 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-10-21T16:37:09.439Z] Worker Type (code-analysis-1/linux-gw-gcp) settings:
[taskcluster 2024-10-21T16:37:09.439Z] {
[taskcluster 2024-10-21T16:37:09.439Z] "config": {
[taskcluster 2024-10-21T16:37:09.439Z] "deploymentId": ""
[taskcluster 2024-10-21T16:37:09.439Z] },
[taskcluster 2024-10-21T16:37:09.439Z] "generic-worker": {
[taskcluster 2024-10-21T16:37:09.439Z] "engine": "multiuser",
[taskcluster 2024-10-21T16:37:09.439Z] "go-arch": "amd64",
[taskcluster 2024-10-21T16:37:09.439Z] "go-os": "linux",
[taskcluster 2024-10-21T16:37:09.439Z] "go-version": "go1.22.2",
[taskcluster 2024-10-21T16:37:09.439Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v64.3.0",
[taskcluster 2024-10-21T16:37:09.439Z] "revision": "b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2024-10-21T16:37:09.439Z] "source": "https://github.com/taskcluster/taskcluster/commits/b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2024-10-21T16:37:09.439Z] "version": "64.3.0"
[taskcluster 2024-10-21T16:37:09.439Z] },
[taskcluster 2024-10-21T16:37:09.439Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-gui-googlecompute-2024-08-22t22-48-09z",
[taskcluster 2024-10-21T16:37:09.439Z] "instance-id": "5844336876671680225",
[taskcluster 2024-10-21T16:37:09.439Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2024-10-21T16:37:09.439Z] "local-ipv4": "10.128.0.240",
[taskcluster 2024-10-21T16:37:09.439Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2024-10-21T16:37:09.439Z] "public-hostname": "code-analysis-1-linux-gw-gcp-ztj-fsoirygpit024iykdg.c.fxci-production-level1-workers.internal",
[taskcluster 2024-10-21T16:37:09.439Z] "public-ipv4": "34.69.231.56",
[taskcluster 2024-10-21T16:37:09.439Z] "region": "us-central1",
[taskcluster 2024-10-21T16:37:09.439Z] "zone": "us-central1-c"
[taskcluster 2024-10-21T16:37:09.439Z] }
[taskcluster 2024-10-21T16:37:09.439Z] Task ID: LhyFeNvRRQSPkMPubiroFA
[taskcluster 2024-10-21T16:37:09.439Z] === Task Starting ===
[taskcluster:warn 2024-10-21T16:37:09.442Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-10-21T16:37:09.442Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-10-21T16:37:09.442Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-10-21T16:37:09.442Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-10-21T16:37:09.442Z]
[taskcluster:warn 2024-10-21T16:37:09.442Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-10-21T16:37:09.442Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-10-21T16:37:09.442Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-10-21T16:37:09.442Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-10-21T16:37:09.442Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-10-21T16:37:09.442Z]
[taskcluster:warn 2024-10-21T16:37:09.442Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-10-21T16:37:09.442Z] ---
[taskcluster:warn 2024-10-21T16:37:09.442Z] created: "2024-10-21T16:37:08.458Z"
[taskcluster:warn 2024-10-21T16:37:09.442Z] deadline: "2024-10-21T17:37:08.458Z"
[taskcluster:warn 2024-10-21T16:37:09.442Z] dependencies: []
[taskcluster:warn 2024-10-21T16:37:09.442Z] expires: "2025-10-21T17:37:08.458Z"
[taskcluster:warn 2024-10-21T16:37:09.442Z] extra: {}
[taskcluster:warn 2024-10-21T16:37:09.442Z] metadata:
[taskcluster:warn 2024-10-21T16:37:09.442Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2024-10-21T16:37:09.442Z] name: 'Code Coverage checks: linting'
[taskcluster:warn 2024-10-21T16:37:09.442Z] owner: bastien@mozilla.com
[taskcluster:warn 2024-10-21T16:37:09.442Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-10-21T16:37:09.442Z] payload:
[taskcluster:warn 2024-10-21T16:37:09.442Z] command:
[taskcluster:warn 2024-10-21T16:37:09.442Z] - - bash
[taskcluster:warn 2024-10-21T16:37:09.442Z] - -cx
[taskcluster:warn 2024-10-21T16:37:09.442Z] - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2024-10-21T16:37:09.442Z] -e TASK_ID 'python:3.9' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-10-21T16:37:09.442Z] /src && cd /src && git checkout e6bacf8174e59c309f2625b6dd7b2460c1fbc806 -b
[taskcluster:warn 2024-10-21T16:37:09.442Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-10-21T16:37:09.442Z] --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2024-10-21T16:37:09.442Z] --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2024-10-21T16:37:09.442Z] -a --show-diff-on-failure'
[taskcluster:warn 2024-10-21T16:37:09.442Z] features:
[taskcluster:warn 2024-10-21T16:37:09.442Z] backingLog: true
[taskcluster:warn 2024-10-21T16:37:09.442Z] liveLog: true
[taskcluster:warn 2024-10-21T16:37:09.442Z] logs:
[taskcluster:warn 2024-10-21T16:37:09.442Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-10-21T16:37:09.442Z] live: public/logs/live.log
[taskcluster:warn 2024-10-21T16:37:09.442Z] maxRunTime: 3600
[taskcluster:warn 2024-10-21T16:37:09.442Z] onExitStatus:
[taskcluster:warn 2024-10-21T16:37:09.442Z] retry:
[taskcluster:warn 2024-10-21T16:37:09.442Z] - 125
[taskcluster:warn 2024-10-21T16:37:09.442Z] - 128
[taskcluster:warn 2024-10-21T16:37:09.442Z] priority: lowest
[taskcluster:warn 2024-10-21T16:37:09.442Z] projectId: none
[taskcluster:warn 2024-10-21T16:37:09.442Z] provisionerId: code-analysis-1
[taskcluster:warn 2024-10-21T16:37:09.442Z] requires: all-completed
[taskcluster:warn 2024-10-21T16:37:09.442Z] retries: 5
[taskcluster:warn 2024-10-21T16:37:09.442Z] routes:
[taskcluster:warn 2024-10-21T16:37:09.442Z] - checks
[taskcluster:warn 2024-10-21T16:37:09.442Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-10-21T16:37:09.442Z] scopes: []
[taskcluster:warn 2024-10-21T16:37:09.442Z] tags: {}
[taskcluster:warn 2024-10-21T16:37:09.442Z] taskGroupId: LgPXndpwQieMZ72WYgPthg
[taskcluster:warn 2024-10-21T16:37:09.442Z] taskQueueId: code-analysis-1/linux-gw-gcp
[taskcluster:warn 2024-10-21T16:37:09.442Z] workerType: linux-gw-gcp
[taskcluster:warn 2024-10-21T16:37:09.442Z]
[taskcluster 2024-10-21T16:37:10.017Z] Uploading redirect artifact public/logs/live.log to URL https://firefoxci-websocktunnel.services.mozilla.com/us-central1-c.5844336876671680225.60099/log/cMVdvrPBSTWJGmPNSEfjCw with mime type "text/plain; charset=utf-8" and expiry 2024-10-21T17:52:09.966Z
[taskcluster 2024-10-21T16:37:10.072Z] 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.9'\'' sh -lxce '\''git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout e6bacf8174e59c309f2625b6dd7b2460c1fbc806 -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 --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID python:3.9 sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout e6bacf8174e59c309f2625b6dd7b2460c1fbc806 -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.9...
Getting image source signatures
Copying blob sha256:7aadc5092c3b7a865666b14bef3d4d038282b19b124542f1a158c98ea8c1ed1b
Copying blob sha256:ccecc6c1c4bf5a8539f053b01dda5a0fba46a5b04afdd30fb30dcaf526778824
Copying blob sha256:ad1c7cfc347f5c86fc2678b58f6a8fb6c6003471405760532fc3240b9eb1b343
Copying blob sha256:da802df85c965baeca9d39869f9e2cbb3dc844d4627f413bfbb2f2c3d6055988
Copying blob sha256:7d98d813d54f6207a57721008a4081378343ad8f1b2db66c121406019171805b
Copying blob sha256:4eb48115a0423399a647666a3212b3977f31d779480dca8d8d8f9bbfb35f92e4
Copying blob sha256:ccecc6c1c4bf5a8539f053b01dda5a0fba46a5b04afdd30fb30dcaf526778824
Copying blob sha256:7aadc5092c3b7a865666b14bef3d4d038282b19b124542f1a158c98ea8c1ed1b
Copying blob sha256:ad1c7cfc347f5c86fc2678b58f6a8fb6c6003471405760532fc3240b9eb1b343
Copying blob sha256:4eb48115a0423399a647666a3212b3977f31d779480dca8d8d8f9bbfb35f92e4
Copying blob sha256:7d98d813d54f6207a57721008a4081378343ad8f1b2db66c121406019171805b
Copying blob sha256:da802df85c965baeca9d39869f9e2cbb3dc844d4627f413bfbb2f2c3d6055988
Copying blob sha256:63dc518f902b82e47f42908845205bcbdd2bea1a70e1f13f4fb0859fbfd91671
Copying blob sha256:63dc518f902b82e47f42908845205bcbdd2bea1a70e1f13f4fb0859fbfd91671
Copying config sha256:24e94023d80962f8ad8e7a968fad0ea47c4fd9992938e18270f8f49859a35a62
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 e6bacf8174e59c309f2625b6dd7b2460c1fbc806 -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/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@3.1.0.
[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/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/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...
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
mypy-backend.............................................................Passed
mypy-bot.................................................................Passed
mypy-events..............................................................Passed
mypy-report..............................................................Passed
mypy-tools...............................................................Passed
Check for useless excludes...............................................Passed
[taskcluster 2024-10-21T16:38:31.353Z] Exit Code: 0
[taskcluster 2024-10-21T16:38:31.353Z] User Time: 24.387473s
[taskcluster 2024-10-21T16:38:31.353Z] Kernel Time: 4.780608s
[taskcluster 2024-10-21T16:38:31.353Z] Wall Time: 1m21.281102313s
[taskcluster 2024-10-21T16:38:31.353Z] Result: SUCCEEDED
[taskcluster 2024-10-21T16:38:31.354Z] === Task Finished ===
[taskcluster 2024-10-21T16:38:31.354Z] Task Duration: 1m21.281763322s
[taskcluster 2024-10-21T16:38:31.415Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-10-21T17:37:08.458Z
Loading