build(deps-dev): bump pytest from 7.4.3 to 8.0.1 in /bot #2267
Community-TC Integration / Code Coverage Backend docker build
succeeded
Feb 19, 2024 in 4m 19s
Community-TC (pull_request)
Build docker image with taskboot
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster 2024-02-19T15:39:09.484Z] Worker Type (proj-relman/generic-worker-ubuntu-22-04) settings:
[taskcluster 2024-02-19T15:39:09.484Z] {
[taskcluster 2024-02-19T15:39:09.484Z] "config": {
[taskcluster 2024-02-19T15:39:09.484Z] "deploymentId": "52510511b573574e"
[taskcluster 2024-02-19T15:39:09.484Z] },
[taskcluster 2024-02-19T15:39:09.484Z] "generic-worker": {
[taskcluster 2024-02-19T15:39:09.484Z] "engine": "multiuser",
[taskcluster 2024-02-19T15:39:09.484Z] "go-arch": "amd64",
[taskcluster 2024-02-19T15:39:09.484Z] "go-os": "linux",
[taskcluster 2024-02-19T15:39:09.484Z] "go-version": "go1.22.0",
[taskcluster 2024-02-19T15:39:09.484Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v60.3.4",
[taskcluster 2024-02-19T15:39:09.484Z] "revision": "943a6f2b0d14fa0270280bc6f23acc2945d0fe45",
[taskcluster 2024-02-19T15:39:09.484Z] "source": "https://github.com/taskcluster/taskcluster/commits/943a6f2b0d14fa0270280bc6f23acc2945d0fe45",
[taskcluster 2024-02-19T15:39:09.484Z] "version": "60.3.4"
[taskcluster 2024-02-19T15:39:09.484Z] },
[taskcluster 2024-02-19T15:39:09.484Z] "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-22-04-kzcagf1do6zgav3crq26",
[taskcluster 2024-02-19T15:39:09.484Z] "instance-id": "2761010916106359370",
[taskcluster 2024-02-19T15:39:09.484Z] "instance-type": "projects/757942385826/machineTypes/n2-standard-4",
[taskcluster 2024-02-19T15:39:09.484Z] "local-ipv4": "10.128.15.204",
[taskcluster 2024-02-19T15:39:09.484Z] "machine-setup": {
[taskcluster 2024-02-19T15:39:09.484Z] "maintainer": "[email protected]",
[taskcluster 2024-02-19T15:39:09.484Z] "script": "https://github.com/taskcluster/community-tc-config/blob/0967e581c4fa4457fe7cd752ffc114e4d0b0d3c4/imagesets/generic-worker-ubuntu-22-04/bootstrap.sh"
[taskcluster 2024-02-19T15:39:09.484Z] },
[taskcluster 2024-02-19T15:39:09.484Z] "project-id": "community-tc-workers",
[taskcluster 2024-02-19T15:39:09.484Z] "public-hostname": "proj-relman-generic-worker-ubuntu-22-0-if0yupqvswinpsx1st8yfq.c.community-tc-workers.internal",
[taskcluster 2024-02-19T15:39:09.484Z] "public-ipv4": "34.71.144.190",
[taskcluster 2024-02-19T15:39:09.484Z] "region": "us-central1",
[taskcluster 2024-02-19T15:39:09.484Z] "zone": "us-central1-b"
[taskcluster 2024-02-19T15:39:09.484Z] }
[taskcluster 2024-02-19T15:39:09.484Z] Task ID: ES-NeNDgStaR3FOSj53q2Q
[taskcluster 2024-02-19T15:39:09.484Z] === Task Starting ===
[taskcluster:warn 2024-02-19T15:39:09.487Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-02-19T15:39:09.487Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-02-19T15:39:09.487Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-02-19T15:39:09.487Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-02-19T15:39:09.487Z]
[taskcluster:warn 2024-02-19T15:39:09.487Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-02-19T15:39:09.487Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-02-19T15:39:09.487Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-02-19T15:39:09.487Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-02-19T15:39:09.487Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-02-19T15:39:09.487Z]
[taskcluster:warn 2024-02-19T15:39:09.487Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-02-19T15:39:09.487Z] ---
[taskcluster:warn 2024-02-19T15:39:09.487Z] created: "2024-02-19T15:36:05.289Z"
[taskcluster:warn 2024-02-19T15:39:09.487Z] deadline: "2024-02-19T16:36:05.289Z"
[taskcluster:warn 2024-02-19T15:39:09.487Z] dependencies:
[taskcluster:warn 2024-02-19T15:39:09.487Z] - NR1DBhs_RiSefjws-q-laQ
[taskcluster:warn 2024-02-19T15:39:09.487Z] - SLhTC3vOThGe1WRk1caUMw
[taskcluster:warn 2024-02-19T15:39:09.487Z] expires: "2025-02-19T16:36:05.289Z"
[taskcluster:warn 2024-02-19T15:39:09.487Z] extra: {}
[taskcluster:warn 2024-02-19T15:39:09.487Z] metadata:
[taskcluster:warn 2024-02-19T15:39:09.487Z] description: Build docker image with taskboot
[taskcluster:warn 2024-02-19T15:39:09.487Z] name: Code Coverage Backend docker build
[taskcluster:warn 2024-02-19T15:39:09.487Z] owner: [email protected]
[taskcluster:warn 2024-02-19T15:39:09.487Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-02-19T15:39:09.487Z] payload:
[taskcluster:warn 2024-02-19T15:39:09.487Z] artifacts:
[taskcluster:warn 2024-02-19T15:39:09.487Z] - expires: "2024-03-04T15:36:05.289Z"
[taskcluster:warn 2024-02-19T15:39:09.487Z] name: public/code-coverage-backend.tar.zst
[taskcluster:warn 2024-02-19T15:39:09.487Z] path: artifact0.zst
[taskcluster:warn 2024-02-19T15:39:09.487Z] type: file
[taskcluster:warn 2024-02-19T15:39:09.487Z] command:
[taskcluster:warn 2024-02-19T15:39:09.487Z] - - bash
[taskcluster:warn 2024-02-19T15:39:09.487Z] - -cx
[taskcluster:warn 2024-02-19T15:39:09.487Z] - |-
[taskcluster:warn 2024-02-19T15:39:09.487Z] timeout 3600 podman run -t --name taskcontainer --privileged -e GIT_REPOSITORY -e GIT_REVISION -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID 'mozilla/taskboot:0.4.1' taskboot build --image mozilla/code-coverage/backend --tag dev --tag b7e722a15b0e2007caee479908f4b5cc5ea44a77 --write '/backend.tar' backend/Dockerfile
[taskcluster:warn 2024-02-19T15:39:09.487Z] exit_code=$?
[taskcluster:warn 2024-02-19T15:39:09.487Z] podman cp taskcontainer:'/backend.tar.zst' 'artifact0.zst'
[taskcluster:warn 2024-02-19T15:39:09.487Z] podman rm taskcontainer
[taskcluster:warn 2024-02-19T15:39:09.487Z] exit "${exit_code}"
[taskcluster:warn 2024-02-19T15:39:09.487Z] env:
[taskcluster:warn 2024-02-19T15:39:09.487Z] GIT_REPOSITORY: https://github.com/mozilla/code-coverage
[taskcluster:warn 2024-02-19T15:39:09.487Z] GIT_REVISION: b7e722a15b0e2007caee479908f4b5cc5ea44a77
[taskcluster:warn 2024-02-19T15:39:09.487Z] features:
[taskcluster:warn 2024-02-19T15:39:09.487Z] backingLog: true
[taskcluster:warn 2024-02-19T15:39:09.487Z] liveLog: true
[taskcluster:warn 2024-02-19T15:39:09.487Z] logs:
[taskcluster:warn 2024-02-19T15:39:09.487Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-02-19T15:39:09.487Z] live: public/logs/live.log
[taskcluster:warn 2024-02-19T15:39:09.487Z] maxRunTime: 4500
[taskcluster:warn 2024-02-19T15:39:09.487Z] onExitStatus:
[taskcluster:warn 2024-02-19T15:39:09.487Z] retry:
[taskcluster:warn 2024-02-19T15:39:09.487Z] - 125
[taskcluster:warn 2024-02-19T15:39:09.487Z] - 128
[taskcluster:warn 2024-02-19T15:39:09.487Z] priority: lowest
[taskcluster:warn 2024-02-19T15:39:09.487Z] projectId: none
[taskcluster:warn 2024-02-19T15:39:09.487Z] provisionerId: proj-relman
[taskcluster:warn 2024-02-19T15:39:09.487Z] requires: all-completed
[taskcluster:warn 2024-02-19T15:39:09.487Z] retries: 5
[taskcluster:warn 2024-02-19T15:39:09.487Z] routes:
[taskcluster:warn 2024-02-19T15:39:09.487Z] - checks
[taskcluster:warn 2024-02-19T15:39:09.487Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-02-19T15:39:09.487Z] scopes:
[taskcluster:warn 2024-02-19T15:39:09.487Z] - generic-worker:capability:privileged
[taskcluster:warn 2024-02-19T15:39:09.487Z] tags: {}
[taskcluster:warn 2024-02-19T15:39:09.487Z] taskGroupId: BentrwVvRA60-vdTrUKemA
[taskcluster:warn 2024-02-19T15:39:09.487Z] taskQueueId: proj-relman/generic-worker-ubuntu-22-04
[taskcluster:warn 2024-02-19T15:39:09.487Z] workerType: generic-worker-ubuntu-22-04
[taskcluster:warn 2024-02-19T15:39:09.487Z]
[taskcluster 2024-02-19T15:39:09.855Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-central1.2761010916106359370.60099/log/dPtHY7iSSQKBpuMMLtRj7g with mime type "text/plain; charset=utf-8" and expiry 2024-02-19T17:09:09.801Z
[taskcluster 2024-02-19T15:39:09.924Z] Executing command 0: bash -cx 'timeout 3600 podman run -t --name taskcontainer --privileged -e GIT_REPOSITORY -e GIT_REVISION -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID '\''mozilla/taskboot:0.4.1'\'' taskboot build --image mozilla/code-coverage/backend --tag dev --tag b7e722a15b0e2007caee479908f4b5cc5ea44a77 --write '\''/backend.tar'\'' backend/Dockerfile
[taskcluster 2024-02-19T15:39:09.924Z] exit_code=$?
[taskcluster 2024-02-19T15:39:09.924Z] podman cp taskcontainer:'\''/backend.tar.zst'\'' '\''artifact0.zst'\''
[taskcluster 2024-02-19T15:39:09.924Z] podman rm taskcontainer
[taskcluster 2024-02-19T15:39:09.924Z] exit "${exit_code}"'
+ timeout 3600 podman run -t --name taskcontainer --privileged -e GIT_REPOSITORY -e GIT_REVISION -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID mozilla/taskboot:0.4.1 taskboot build --image mozilla/code-coverage/backend --tag dev --tag b7e722a15b0e2007caee479908f4b5cc5ea44a77 --write /backend.tar backend/Dockerfile
Resolving "mozilla/taskboot" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/mozilla/taskboot:0.4.1...
Getting image source signatures
Copying blob sha256:16e75dc827cdd318da9cdc70e2818990af93374f19600524d54908774f9dc1ef
Copying blob sha256:ec2cdc79601e83be59e009bc0ad7aeac96d85f861877efacdf26f4e4e443260c
Copying blob sha256:39fedac446aa3b31fc41809fe984036d060e126ed51bfab8273dbd6695d70dac
Copying blob sha256:6ebb90661979f79d8eac78be22764d3188971291b34d62fc74c41ece490cb62a
Copying blob sha256:97d7b294855ea22919bd873ce14c0bde0ba6702a2324133153d589153d96bd93
Copying blob sha256:5c33c79ec915352cd0648d598d5733738a2ee39bcde63321e3a7aa80db5542c9
Copying blob sha256:ec2cdc79601e83be59e009bc0ad7aeac96d85f861877efacdf26f4e4e443260c
Copying blob sha256:5c33c79ec915352cd0648d598d5733738a2ee39bcde63321e3a7aa80db5542c9
Copying blob sha256:97d7b294855ea22919bd873ce14c0bde0ba6702a2324133153d589153d96bd93
Copying blob sha256:16e75dc827cdd318da9cdc70e2818990af93374f19600524d54908774f9dc1ef
Copying blob sha256:6ebb90661979f79d8eac78be22764d3188971291b34d62fc74c41ece490cb62a
Copying blob sha256:39fedac446aa3b31fc41809fe984036d060e126ed51bfab8273dbd6695d70dac
Copying blob sha256:1548fd74bd8d21ad27665d481326447bca655dd1387e5506be50e2e0f64f27a8
Copying blob sha256:44f5ccd769d3db0285e602924e531fb5ea56d6a623d31ef0d4e71fa7076523db
Copying blob sha256:1548fd74bd8d21ad27665d481326447bca655dd1387e5506be50e2e0f64f27a8
Copying blob sha256:44f5ccd769d3db0285e602924e531fb5ea56d6a623d31ef0d4e71fa7076523db
Copying config sha256:d952ddc1eccbdbec526b7938e0d6dd7d643ef83d3fe2a632c2a71f9caf94d7f1
Writing manifest to image destination
Storing signatures
INFO:root:Target setup in /tmp/taskboot.eoe7526f
INFO:taskboot.target:Cloning https://github.com/mozilla/code-coverage @ b7e722a15b0e2007caee479908f4b5cc5ea44a77
INFO:taskboot.target:Cloned into /tmp/taskboot.eoe7526f
Switched to a new branch 'taskboot'
INFO:taskboot.target:Checked out revision b7e722a15b0e2007caee479908f4b5cc5ea44a77
WARNING:taskboot.config:No configuration available
INFO:taskboot.build:Will produce image registry.hub.docker.com/mozilla/code-coverage/backend:b7e722a15b0e2007caee479908f4b5cc5ea44a77
INFO:taskboot.build:Will produce image registry.hub.docker.com/mozilla/code-coverage/backend:dev
INFO:taskboot.docker:Building docker image /tmp/taskboot.eoe7526f/backend/Dockerfile
INFO:taskboot.docker:Running docker command: ['build', '--file', '/tmp/taskboot.eoe7526f/backend/Dockerfile', '--tag', 'registry.hub.docker.com/mozilla/code-coverage/backend:b7e722a15b0e2007caee479908f4b5cc5ea44a77', '--tag', 'registry.hub.docker.com/mozilla/code-coverage/backend:dev', '/tmp/taskboot.eoe7526f']
STEP 1/6: FROM python:3.11.5-slim
Resolving "python" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/library/python:3.11.5-slim...
Getting image source signatures
Writing manifest to image destination
Storing signatures
STEP 2/6: ADD tools /src/tools
--> 291282387743
STEP 3/6: ADD backend /src/backend
--> e8b57ee022b6
STEP 4/6: RUN 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. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
--> 75d4ddedd187
STEP 5/6: RUN cd /src/backend && 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. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
--> 02ee15c7123b
STEP 6/6: CMD ["gunicorn", "code_coverage_backend.flask:app", "--timeout", "30"]
COMMIT registry.hub.docker.com/mozilla/code-coverage/backend:b7e722a15b0e2007caee479908f4b5cc5ea44a77
--> 694eed85fd6f
Successfully tagged registry.hub.docker.com/mozilla/code-coverage/backend:b7e722a15b0e2007caee479908f4b5cc5ea44a77
Successfully tagged registry.hub.docker.com/mozilla/code-coverage/backend:dev
694eed85fd6fc3d8c448ef96f53b7a4274d023caad39d4048b8a1b7e70eee9c1
INFO:taskboot.docker:Built image registry.hub.docker.com/mozilla/code-coverage/backend:b7e722a15b0e2007caee479908f4b5cc5ea44a77, registry.hub.docker.com/mozilla/code-coverage/backend:dev
INFO:taskboot.docker:Saving image with tags registry.hub.docker.com/mozilla/code-coverage/backend:b7e722a15b0e2007caee479908f4b5cc5ea44a77, registry.hub.docker.com/mozilla/code-coverage/backend:dev to /backend.tar
Writing manifest to image destination
Storing signatures
Read: 0 B / 221 MiB ==> 0%
Read: 33.5 MiB / 221 MiB ==> 30%
Read: 64.5 MiB / 221 MiB ==> 33%
Read: 102 MiB / 221 MiB ==> 33%
Read: 134 MiB / 221 MiB ==> 31%
Read: 168 MiB / 221 MiB ==> 31%
Read: 200 MiB / 221 MiB ==> 30%
/backend.tar : 29.26% ( 221 MiB => 64.6 MiB, /backend.tar.zst)
+ exit_code=0
+ podman cp taskcontainer:/backend.tar.zst artifact0.zst
+ podman rm taskcontainer
155d2cdd80b2ed101ed875310726f109002e17d1bb570f9aba3eca06dd62e40f
+ exit 0
[taskcluster 2024-02-19T15:40:22.631Z] Exit Code: 0
[taskcluster 2024-02-19T15:40:22.631Z] User Time: 32.259545s
[taskcluster 2024-02-19T15:40:22.631Z] Kernel Time: 5.824236s
[taskcluster 2024-02-19T15:40:22.631Z] Wall Time: 1m12.706603412s
[taskcluster 2024-02-19T15:40:22.631Z] Result: SUCCEEDED
[taskcluster 2024-02-19T15:40:22.631Z] === Task Finished ===
[taskcluster 2024-02-19T15:40:22.631Z] Task Duration: 1m12.706933277s
[taskcluster 2024-02-19T15:40:23.145Z] Uploading artifact public/code-coverage-backend.tar.zst from file /task_170835653928463/artifact0.zst with content encoding "identity", mime type "application/zstd" and expiry 2024-03-04T15:36:05.289Z
[taskcluster 2024-02-19T15:40:24.051Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-02-19T16:36:05.289Z
Loading