build(deps): bump axios from 1.7.2 to 1.7.9 in /frontend #2574
Community-TC Integration / Code Review Integration checks: unit tests
succeeded
Jan 2, 2025 in 3m 21s
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: 2025-01-02T10:16:39.942Z
Resolved: 2025-01-02T10:17:40.527Z
Task Execution Time: 1 minute, 585 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-01-02T10:16:39.980Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2025-01-02T10:16:39.980Z] {
[taskcluster 2025-01-02T10:16:39.980Z] "config": {
[taskcluster 2025-01-02T10:16:39.980Z] "deploymentId": "1ce97b667461a3b3"
[taskcluster 2025-01-02T10:16:39.980Z] },
[taskcluster 2025-01-02T10:16:39.980Z] "generic-worker": {
[taskcluster 2025-01-02T10:16:39.980Z] "config": {
[taskcluster 2025-01-02T10:16:39.980Z] "headlessTasks": false,
[taskcluster 2025-01-02T10:16:39.980Z] "runTasksAsCurrentUser": false
[taskcluster 2025-01-02T10:16:39.980Z] },
[taskcluster 2025-01-02T10:16:39.980Z] "engine": "multiuser",
[taskcluster 2025-01-02T10:16:39.980Z] "go-arch": "amd64",
[taskcluster 2025-01-02T10:16:39.980Z] "go-os": "linux",
[taskcluster 2025-01-02T10:16:39.980Z] "go-version": "go1.23.4",
[taskcluster 2025-01-02T10:16:39.980Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v77.0.0",
[taskcluster 2025-01-02T10:16:39.980Z] "revision": "4e04b1997ded4dc7d50c25ccd72d2eee8f5b7f65",
[taskcluster 2025-01-02T10:16:39.980Z] "source": "https://github.com/taskcluster/taskcluster/commits/4e04b1997ded4dc7d50c25ccd72d2eee8f5b7f65",
[taskcluster 2025-01-02T10:16:39.980Z] "version": "77.0.0"
[taskcluster 2025-01-02T10:16:39.980Z] },
[taskcluster 2025-01-02T10:16:39.980Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-8d44y714pa2kw7unk7pb",
[taskcluster 2025-01-02T10:16:39.980Z] "instance-id": "3099458934618708463",
[taskcluster 2025-01-02T10:16:39.980Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2025-01-02T10:16:39.980Z] "local-ipv4": "10.128.0.166",
[taskcluster 2025-01-02T10:16:39.980Z] "machine-setup": {
[taskcluster 2025-01-02T10:16:39.980Z] "maintainer": "[email protected]",
[taskcluster 2025-01-02T10:16:39.980Z] "script": "https://raw.githubusercontent.com/taskcluster/community-tc-config/65f5de8cb1dc3a9377cb862e266564faa88fd1c0/imagesets/generic-worker-ubuntu-24-04/bootstrap.sh"
[taskcluster 2025-01-02T10:16:39.980Z] },
[taskcluster 2025-01-02T10:16:39.980Z] "project-id": "community-tc-workers",
[taskcluster 2025-01-02T10:16:39.980Z] "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-bwbsjmdrsskdajsyq-isqq.c.community-tc-workers.internal",
[taskcluster 2025-01-02T10:16:39.980Z] "public-ipv4": "35.224.78.181",
[taskcluster 2025-01-02T10:16:39.980Z] "region": "us-central1",
[taskcluster 2025-01-02T10:16:39.980Z] "zone": "us-central1-a"
[taskcluster 2025-01-02T10:16:39.980Z] }
[taskcluster 2025-01-02T10:16:39.980Z] Task ID: FZ61GfW7QBq4JMaNlAc79Q
[taskcluster 2025-01-02T10:16:39.980Z] === Task Starting ===
[taskcluster:warn 2025-01-02T10:16:39.984Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2025-01-02T10:16:39.984Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2025-01-02T10:16:39.984Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2025-01-02T10:16:39.984Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2025-01-02T10:16:39.984Z]
[taskcluster:warn 2025-01-02T10:16:39.984Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2025-01-02T10:16:39.984Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2025-01-02T10:16:39.984Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2025-01-02T10:16:39.984Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2025-01-02T10:16:39.984Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2025-01-02T10:16:39.984Z]
[taskcluster:warn 2025-01-02T10:16:39.984Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2025-01-02T10:16:39.984Z] ---
[taskcluster:warn 2025-01-02T10:16:39.984Z] created: "2025-01-02T10:14:19.165Z"
[taskcluster:warn 2025-01-02T10:16:39.984Z] deadline: "2025-01-02T11:14:19.165Z"
[taskcluster:warn 2025-01-02T10:16:39.984Z] dependencies: []
[taskcluster:warn 2025-01-02T10:16:39.984Z] expires: "2026-01-02T11:14:19.165Z"
[taskcluster:warn 2025-01-02T10:16:39.984Z] extra: {}
[taskcluster:warn 2025-01-02T10:16:39.984Z] metadata:
[taskcluster:warn 2025-01-02T10:16:39.984Z] description: Check python code with pytest
[taskcluster:warn 2025-01-02T10:16:39.984Z] name: 'Code Review Integration checks: unit tests'
[taskcluster:warn 2025-01-02T10:16:39.984Z] owner: [email protected]
[taskcluster:warn 2025-01-02T10:16:39.984Z] source: https://github.com/mozilla/code-review
[taskcluster:warn 2025-01-02T10:16:39.984Z] payload:
[taskcluster:warn 2025-01-02T10:16:39.984Z] command:
[taskcluster:warn 2025-01-02T10:16:39.984Z] - - bash
[taskcluster:warn 2025-01-02T10:16:39.984Z] - -cx
[taskcluster:warn 2025-01-02T10:16:39.984Z] - docker run -t --rm --memory-swap -1 --pids-limit -1 -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE
[taskcluster:warn 2025-01-02T10:16:39.984Z] -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID
[taskcluster:warn 2025-01-02T10:16:39.984Z] 'python:3.12' sh -lxce 'git clone --quiet https://github.com/mozilla/code-review
[taskcluster:warn 2025-01-02T10:16:39.984Z] /src && cd /src && git checkout 0e75a0f81771b592305df9aa05bb84196917ddcd -b
[taskcluster:warn 2025-01-02T10:16:39.984Z] checks && cd /src/tools && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2025-01-02T10:16:39.984Z] --quiet . && cd /src/integration && pip install --disable-pip-version-check
[taskcluster:warn 2025-01-02T10:16:39.984Z] --no-cache-dir --quiet -r requirements.txt -r requirements-dev.txt && pytest
[taskcluster:warn 2025-01-02T10:16:39.984Z] -v'
[taskcluster:warn 2025-01-02T10:16:39.984Z] features:
[taskcluster:warn 2025-01-02T10:16:39.984Z] backingLog: true
[taskcluster:warn 2025-01-02T10:16:39.984Z] liveLog: true
[taskcluster:warn 2025-01-02T10:16:39.984Z] logs:
[taskcluster:warn 2025-01-02T10:16:39.984Z] backing: public/logs/live_backing.log
[taskcluster:warn 2025-01-02T10:16:39.984Z] live: public/logs/live.log
[taskcluster:warn 2025-01-02T10:16:39.984Z] maxRunTime: 3600
[taskcluster:warn 2025-01-02T10:16:39.984Z] onExitStatus:
[taskcluster:warn 2025-01-02T10:16:39.984Z] retry:
[taskcluster:warn 2025-01-02T10:16:39.984Z] - 125
[taskcluster:warn 2025-01-02T10:16:39.984Z] - 128
[taskcluster:warn 2025-01-02T10:16:39.984Z] osGroups:
[taskcluster:warn 2025-01-02T10:16:39.984Z] - docker
[taskcluster:warn 2025-01-02T10:16:39.984Z] priority: lowest
[taskcluster:warn 2025-01-02T10:16:39.984Z] projectId: none
[taskcluster:warn 2025-01-02T10:16:39.984Z] provisionerId: proj-relman
[taskcluster:warn 2025-01-02T10:16:39.984Z] requires: all-completed
[taskcluster:warn 2025-01-02T10:16:39.984Z] retries: 5
[taskcluster:warn 2025-01-02T10:16:39.984Z] routes:
[taskcluster:warn 2025-01-02T10:16:39.984Z] - checks
[taskcluster:warn 2025-01-02T10:16:39.984Z] schedulerId: taskcluster-github
[taskcluster:warn 2025-01-02T10:16:39.984Z] scopes:
[taskcluster:warn 2025-01-02T10:16:39.984Z] - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2025-01-02T10:16:39.984Z] tags: {}
[taskcluster:warn 2025-01-02T10:16:39.984Z] taskGroupId: N6-_xrm9Rm-KOohKCFEP3w
[taskcluster:warn 2025-01-02T10:16:39.984Z] taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2025-01-02T10:16:39.984Z] workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2025-01-02T10:16:39.984Z]
[taskcluster 2025-01-02T10:16:40.773Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-central1-a.3099458934618708463.60099/log/SzikkWnlSd6jquwg6Lc4cA with mime type "text/plain; charset=utf-8" and expiry 2025-01-02T11:31:40.720Z
[taskcluster 2025-01-02T10:16:40.924Z] 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 0e75a0f81771b592305df9aa05bb84196917ddcd -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 0e75a0f81771b592305df9aa05bb84196917ddcd -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
0a96bdb82805: Pulling fs layer
54c7be425079: Pulling fs layer
7aa8176e6d89: Pulling fs layer
1523f4b3f560: Pulling fs layer
e3696bf6d1ae: Pulling fs layer
9668c23f1ccb: Pulling fs layer
cc9fb0d581e7: Pulling fs layer
1523f4b3f560: Waiting
e3696bf6d1ae: Waiting
9668c23f1ccb: Waiting
cc9fb0d581e7: Waiting
54c7be425079: Verifying Checksum
54c7be425079: Download complete
0a96bdb82805: Verifying Checksum
0a96bdb82805: Download complete
7aa8176e6d89: Verifying Checksum
7aa8176e6d89: Download complete
e3696bf6d1ae: Verifying Checksum
e3696bf6d1ae: Download complete
cc9fb0d581e7: Verifying Checksum
cc9fb0d581e7: Download complete
9668c23f1ccb: Verifying Checksum
9668c23f1ccb: Download complete
1523f4b3f560: Verifying Checksum
1523f4b3f560: Download complete
0a96bdb82805: Pull complete
54c7be425079: Pull complete
7aa8176e6d89: Pull complete
1523f4b3f560: Pull complete
e3696bf6d1ae: Pull complete
9668c23f1ccb: Pull complete
cc9fb0d581e7: Pull complete
Digest: sha256:251ef8e69b6ccdf3c7bf7effaa51179d59af35364dd9c86469142aa72a2c8cfc
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 0e75a0f81771b592305df9aa05bb84196917ddcd -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.41s =========================
[taskcluster 2025-01-02T10:17:40.152Z] Exit Code: 0
[taskcluster 2025-01-02T10:17:40.152Z] User Time: 65.089ms
[taskcluster 2025-01-02T10:17:40.152Z] Kernel Time: 60.177ms
[taskcluster 2025-01-02T10:17:40.152Z] Wall Time: 59.22740772s
[taskcluster 2025-01-02T10:17:40.152Z] Result: SUCCEEDED
[taskcluster 2025-01-02T10:17:40.152Z] === Task Finished ===
[taskcluster 2025-01-02T10:17:40.152Z] Task Duration: 59.227769633s
[taskcluster 2025-01-02T10:17:40.263Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-01-02T11:14:19.165Z
Loading