build(deps-dev): bump webpack-cli from 5.1.4 to 6.0.1 in /frontend #2584
+71
−99
Community-TC Integration / Code Review Integration checks: unit tests
succeeded
Dec 23, 2024 in 3m 23s
Community-TC (pull_request)
Check python code with pytest
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2024-12-23T14:56:31.803Z
Resolved: 2024-12-23T14:57:34.871Z
Task Execution Time: 1 minute, 3 seconds, 68 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2024-12-23T14:56:31.880Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-12-23T14:56:31.880Z] {
[taskcluster 2024-12-23T14:56:31.880Z] "config": {
[taskcluster 2024-12-23T14:56:31.880Z] "deploymentId": "1ce97b667461a3b3"
[taskcluster 2024-12-23T14:56:31.880Z] },
[taskcluster 2024-12-23T14:56:31.880Z] "generic-worker": {
[taskcluster 2024-12-23T14:56:31.880Z] "config": {
[taskcluster 2024-12-23T14:56:31.880Z] "headlessTasks": false,
[taskcluster 2024-12-23T14:56:31.880Z] "runTasksAsCurrentUser": false
[taskcluster 2024-12-23T14:56:31.880Z] },
[taskcluster 2024-12-23T14:56:31.880Z] "engine": "multiuser",
[taskcluster 2024-12-23T14:56:31.880Z] "go-arch": "amd64",
[taskcluster 2024-12-23T14:56:31.880Z] "go-os": "linux",
[taskcluster 2024-12-23T14:56:31.880Z] "go-version": "go1.23.4",
[taskcluster 2024-12-23T14:56:31.880Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v77.0.0",
[taskcluster 2024-12-23T14:56:31.880Z] "revision": "4e04b1997ded4dc7d50c25ccd72d2eee8f5b7f65",
[taskcluster 2024-12-23T14:56:31.880Z] "source": "https://github.com/taskcluster/taskcluster/commits/4e04b1997ded4dc7d50c25ccd72d2eee8f5b7f65",
[taskcluster 2024-12-23T14:56:31.880Z] "version": "77.0.0"
[taskcluster 2024-12-23T14:56:31.880Z] },
[taskcluster 2024-12-23T14:56:31.880Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-8d44y714pa2kw7unk7pb",
[taskcluster 2024-12-23T14:56:31.880Z] "instance-id": "2531194203980220279",
[taskcluster 2024-12-23T14:56:31.880Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-12-23T14:56:31.880Z] "local-ipv4": "10.142.0.18",
[taskcluster 2024-12-23T14:56:31.880Z] "machine-setup": {
[taskcluster 2024-12-23T14:56:31.880Z] "maintainer": "[email protected]",
[taskcluster 2024-12-23T14:56:31.880Z] "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/65f5de8cb1dc3a9377cb862e266564faa88fd1c0/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2024-12-23T14:56:31.880Z] },
[taskcluster 2024-12-23T14:56:31.880Z] "project-id": "community-tc-workers",
[taskcluster 2024-12-23T14:56:31.880Z] "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-bnxgf2yzsfgsg4m2qmzwug.c.community-tc-workers.internal",
[taskcluster 2024-12-23T14:56:31.880Z] "public-ipv4": "34.23.184.203",
[taskcluster 2024-12-23T14:56:31.880Z] "region": "us-east1",
[taskcluster 2024-12-23T14:56:31.880Z] "zone": "us-east1-c"
[taskcluster 2024-12-23T14:56:31.880Z] }
[taskcluster 2024-12-23T14:56:31.881Z] Task ID: LSsX42KCT0my45HpiS-BNw
[taskcluster 2024-12-23T14:56:31.881Z] === Task Starting ===
[taskcluster:warn 2024-12-23T14:56:31.885Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-12-23T14:56:31.885Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-12-23T14:56:31.885Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-12-23T14:56:31.885Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-12-23T14:56:31.885Z]
[taskcluster:warn 2024-12-23T14:56:31.885Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-12-23T14:56:31.885Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-12-23T14:56:31.885Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-12-23T14:56:31.885Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-12-23T14:56:31.885Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-12-23T14:56:31.885Z]
[taskcluster:warn 2024-12-23T14:56:31.885Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-12-23T14:56:31.885Z] ---
[taskcluster:warn 2024-12-23T14:56:31.885Z] created: "2024-12-23T14:54:12.180Z"
[taskcluster:warn 2024-12-23T14:56:31.885Z] deadline: "2024-12-23T15:54:12.180Z"
[taskcluster:warn 2024-12-23T14:56:31.885Z] dependencies: []
[taskcluster:warn 2024-12-23T14:56:31.885Z] expires: "2025-12-23T15:54:12.180Z"
[taskcluster:warn 2024-12-23T14:56:31.885Z] extra: {}
[taskcluster:warn 2024-12-23T14:56:31.885Z] metadata:
[taskcluster:warn 2024-12-23T14:56:31.885Z] description: Check python code with pytest
[taskcluster:warn 2024-12-23T14:56:31.885Z] name: 'Code Review Integration checks: unit tests'
[taskcluster:warn 2024-12-23T14:56:31.885Z] owner: [email protected]
[taskcluster:warn 2024-12-23T14:56:31.885Z] source: https://github.com/mozilla/code-review
[taskcluster:warn 2024-12-23T14:56:31.885Z] payload:
[taskcluster:warn 2024-12-23T14:56:31.885Z] command:
[taskcluster:warn 2024-12-23T14:56:31.885Z] - - bash
[taskcluster:warn 2024-12-23T14:56:31.885Z] - -cx
[taskcluster:warn 2024-12-23T14:56:31.885Z] - docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE
[taskcluster:warn 2024-12-23T14:56:31.885Z] -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID
[taskcluster:warn 2024-12-23T14:56:31.885Z] 'python:3.12' sh -lxce 'git clone --quiet https://github.com/mozilla/code-review
[taskcluster:warn 2024-12-23T14:56:31.885Z] /src && cd /src && git checkout 7b6aa34b7f98b6bf5c301ea539529b16f3679252 -b
[taskcluster:warn 2024-12-23T14:56:31.885Z] checks && cd /src/tools && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2024-12-23T14:56:31.885Z] --quiet . && cd /src/integration && pip install --disable-pip-version-check
[taskcluster:warn 2024-12-23T14:56:31.885Z] --no-cache-dir --quiet -r requirements.txt -r requirements-dev.txt && pytest
[taskcluster:warn 2024-12-23T14:56:31.885Z] -v'
[taskcluster:warn 2024-12-23T14:56:31.885Z] features:
[taskcluster:warn 2024-12-23T14:56:31.885Z] backingLog: true
[taskcluster:warn 2024-12-23T14:56:31.885Z] liveLog: true
[taskcluster:warn 2024-12-23T14:56:31.885Z] logs:
[taskcluster:warn 2024-12-23T14:56:31.885Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-12-23T14:56:31.885Z] live: public/logs/live.log
[taskcluster:warn 2024-12-23T14:56:31.885Z] maxRunTime: 3600
[taskcluster:warn 2024-12-23T14:56:31.885Z] onExitStatus:
[taskcluster:warn 2024-12-23T14:56:31.885Z] retry:
[taskcluster:warn 2024-12-23T14:56:31.885Z] - 125
[taskcluster:warn 2024-12-23T14:56:31.885Z] - 128
[taskcluster:warn 2024-12-23T14:56:31.885Z] osGroups:
[taskcluster:warn 2024-12-23T14:56:31.885Z] - docker
[taskcluster:warn 2024-12-23T14:56:31.885Z] priority: lowest
[taskcluster:warn 2024-12-23T14:56:31.885Z] projectId: none
[taskcluster:warn 2024-12-23T14:56:31.885Z] provisionerId: proj-relman
[taskcluster:warn 2024-12-23T14:56:31.885Z] requires: all-completed
[taskcluster:warn 2024-12-23T14:56:31.885Z] retries: 5
[taskcluster:warn 2024-12-23T14:56:31.885Z] routes:
[taskcluster:warn 2024-12-23T14:56:31.885Z] - checks
[taskcluster:warn 2024-12-23T14:56:31.885Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-12-23T14:56:31.885Z] scopes:
[taskcluster:warn 2024-12-23T14:56:31.885Z] - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2024-12-23T14:56:31.885Z] tags: {}
[taskcluster:warn 2024-12-23T14:56:31.885Z] taskGroupId: KzKWoNV-Riur7Mv6REBEpg
[taskcluster:warn 2024-12-23T14:56:31.885Z] taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-23T14:56:31.885Z] workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-23T14:56:31.885Z]
[taskcluster 2024-12-23T14:56:33.132Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-c.2531194203980220279.60099/log/TIaBfejUR4GFVyX_dxo2fw with mime type "text/plain; charset=utf-8" and expiry 2024-12-23T16:11:33.039Z
[taskcluster 2024-12-23T14:56:33.365Z] 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 7b6aa34b7f98b6bf5c301ea539529b16f3679252 -b checks && cd /src/tools && pip install --disable-pip-version-check --no-cache-dir --quiet . && cd /src/integration && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements.txt -r requirements-dev.txt && pytest -v'\'
+ 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 7b6aa34b7f98b6bf5c301ea539529b16f3679252 -b checks && cd /src/tools && pip install --disable-pip-version-check --no-cache-dir --quiet . && cd /src/integration && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements.txt -r requirements-dev.txt && pytest -v'
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
53dbba7cf7ca: Waiting
b167200c1204: Waiting
8871a2ca0dba: Waiting
ce82e98d553d: Waiting
5bd71677db44: Verifying Checksum
5bd71677db44: Download complete
fdf894e782a2: Verifying Checksum
fdf894e782a2: Download complete
551df7f94f9c: Verifying Checksum
551df7f94f9c: Download complete
53dbba7cf7ca: Verifying Checksum
53dbba7cf7ca: Download complete
8871a2ca0dba: Verifying Checksum
8871a2ca0dba: Download complete
b167200c1204: Verifying Checksum
b167200c1204: Download complete
ce82e98d553d: Verifying Checksum
ce82e98d553d: Download complete
fdf894e782a2: Pull complete
5bd71677db44: Pull 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 7b6aa34b7f98b6bf5c301ea539529b16f3679252 -b checks
Switched to a new branch 'checks'
+ cd /src/tools
+ pip install --disable-pip-version-check --no-cache-dir --quiet .
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/integration
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements.txt -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.
+ pytest -v
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/local/bin/python3.12
cachedir: .pytest_cache
rootdir: /src
configfile: pyproject.toml
collecting ...
collected 2 items
tests/test_hooks.py::test_jsone_validates PASSED [ 50%]
tests/test_workflow.py::test_publish PASSED [100%]
=============================== warnings summary ===============================
integration/tests/test_hooks.py::test_jsone_validates
/usr/local/lib/python3.12/site-packages/jsone/shared.py:97: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
reference = datetime.datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================= 2 passed, 1 warning in 0.47s =========================
[taskcluster 2024-12-23T14:57:34.367Z] Exit Code: 0
[taskcluster 2024-12-23T14:57:34.367Z] User Time: 43.023ms
[taskcluster 2024-12-23T14:57:34.367Z] Kernel Time: 62.691ms
[taskcluster 2024-12-23T14:57:34.367Z] Wall Time: 1m1.002092456s
[taskcluster 2024-12-23T14:57:34.367Z] Result: SUCCEEDED
[taskcluster 2024-12-23T14:57:34.368Z] === Task Finished ===
[taskcluster 2024-12-23T14:57:34.368Z] Task Duration: 1m1.002599312s
[taskcluster 2024-12-23T14:57:34.547Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-12-23T15:54:12.180Z
Loading