Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend #2579

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend

44db81f
Select commit
Loading
Failed to load commit list.
Open

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend #2579

build(deps): bump sqlparse from 0.5.2 to 0.5.3 in /backend
44db81f
Select commit
Loading
Failed to load commit list.
Community-TC Integration / Code Review Backend docker build succeeded Dec 16, 2024 in 6m 15s

Community-TC (pull_request)

Build docker image of code review backend

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-12-16T14:50:18.411Z
Resolved: 2024-12-16T14:52:05.624Z
Task Execution Time: 1 minute, 47 seconds, 213 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/code-review-backend.tar.zst
- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2024-12-16T14:50:18.475Z] Worker Type (proj-relman/generic-worker-ubuntu-24-04) settings:
[taskcluster 2024-12-16T14:50:18.475Z]   {
[taskcluster 2024-12-16T14:50:18.475Z]     "config": {
[taskcluster 2024-12-16T14:50:18.475Z]       "deploymentId": "601b89ce4ec2e922"
[taskcluster 2024-12-16T14:50:18.475Z]     },
[taskcluster 2024-12-16T14:50:18.475Z]     "generic-worker": {
[taskcluster 2024-12-16T14:50:18.475Z]       "config": {
[taskcluster 2024-12-16T14:50:18.475Z]         "headlessTasks": false,
[taskcluster 2024-12-16T14:50:18.475Z]         "runTasksAsCurrentUser": false
[taskcluster 2024-12-16T14:50:18.475Z]       },
[taskcluster 2024-12-16T14:50:18.475Z]       "engine": "multiuser",
[taskcluster 2024-12-16T14:50:18.475Z]       "go-arch": "amd64",
[taskcluster 2024-12-16T14:50:18.475Z]       "go-os": "linux",
[taskcluster 2024-12-16T14:50:18.475Z]       "go-version": "go1.23.2",
[taskcluster 2024-12-16T14:50:18.475Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v74.0.0",
[taskcluster 2024-12-16T14:50:18.475Z]       "revision": "fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-16T14:50:18.475Z]       "source": "https://github.com/taskcluster/taskcluster/commits/fc2ffecedd4c0364ab0a98ae5cc895b94ee8a709",
[taskcluster 2024-12-16T14:50:18.475Z]       "version": "74.0.0"
[taskcluster 2024-12-16T14:50:18.475Z]     },
[taskcluster 2024-12-16T14:50:18.475Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-ddqyjsebv0cix9iqxo98",

...(7 lines hidden)...

[taskcluster 2024-12-16T14:50:18.475Z]     "project-id": "community-tc-workers",
[taskcluster 2024-12-16T14:50:18.475Z]     "public-hostname": "proj-relman-generic-worker-ubuntu-24-0-w22fu-xhq-snlnwtfpns3g.c.community-tc-workers.internal",
[taskcluster 2024-12-16T14:50:18.475Z]     "public-ipv4": "35.231.57.207",
[taskcluster 2024-12-16T14:50:18.475Z]     "region": "us-east1",
[taskcluster 2024-12-16T14:50:18.475Z]     "zone": "us-east1-d"
[taskcluster 2024-12-16T14:50:18.475Z]   }
[taskcluster 2024-12-16T14:50:18.475Z] Task ID: TggcTqk1SYKeZ7MInKZamA
[taskcluster 2024-12-16T14:50:18.475Z] === Task Starting ===
[taskcluster:warn 2024-12-16T14:50:18.479Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2024-12-16T14:50:18.479Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2024-12-16T14:50:18.479Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2024-12-16T14:50:18.479Z]     https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2024-12-16T14:50:18.479Z] 
[taskcluster:warn 2024-12-16T14:50:18.479Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2024-12-16T14:50:18.479Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2024-12-16T14:50:18.479Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2024-12-16T14:50:18.479Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2024-12-16T14:50:18.479Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2024-12-16T14:50:18.479Z] 
[taskcluster:warn 2024-12-16T14:50:18.479Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2024-12-16T14:50:18.479Z] ---
[taskcluster:warn 2024-12-16T14:50:18.479Z]   created: "2024-12-16T14:45:49.877Z"
[taskcluster:warn 2024-12-16T14:50:18.479Z]   deadline: "2024-12-16T15:45:49.877Z"
[taskcluster:warn 2024-12-16T14:50:18.479Z]   dependencies:
[taskcluster:warn 2024-12-16T14:50:18.479Z]   - HFUOcrB8QlaFjhLFGKDlqQ
[taskcluster:warn 2024-12-16T14:50:18.479Z]   - KLqH9tB-Rbi60Zxre6lm_A
[taskcluster:warn 2024-12-16T14:50:18.479Z]   expires: "2025-12-16T15:45:49.877Z"
[taskcluster:warn 2024-12-16T14:50:18.479Z]   extra: {}
[taskcluster:warn 2024-12-16T14:50:18.479Z]   metadata:
[taskcluster:warn 2024-12-16T14:50:18.479Z]     description: Build docker image of code review backend
[taskcluster:warn 2024-12-16T14:50:18.479Z]     name: Code Review Backend docker build
[taskcluster:warn 2024-12-16T14:50:18.479Z]     owner: [email protected]
[taskcluster:warn 2024-12-16T14:50:18.479Z]     source: https://github.com/mozilla/code-review
[taskcluster:warn 2024-12-16T14:50:18.479Z]   payload:
[taskcluster:warn 2024-12-16T14:50:18.479Z]     artifacts:
[taskcluster:warn 2024-12-16T14:50:18.479Z]     - expires: "2024-12-30T14:45:49.877Z"
[taskcluster:warn 2024-12-16T14:50:18.479Z]       name: public/code-review-backend.tar.zst
[taskcluster:warn 2024-12-16T14:50:18.479Z]       path: artifact0.zst
[taskcluster:warn 2024-12-16T14:50:18.479Z]       type: file
[taskcluster:warn 2024-12-16T14:50:18.479Z]     command:
[taskcluster:warn 2024-12-16T14:50:18.479Z]     - - bash
[taskcluster:warn 2024-12-16T14:50:18.479Z]       - -cx
[taskcluster:warn 2024-12-16T14:50:18.479Z]       - |-
[taskcluster:warn 2024-12-16T14:50:18.479Z]         timeout -s KILL 3600 docker run -t --name taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w --memory-swap -1 --pids-limit -1 --privileged -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID 'mozilla/taskboot:0.4.1' /bin/sh -lxce 'git clone --quiet https://github.com/mozilla/code-review /code-review && cd /code-review && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b build && backend/build.sh 44db81fc414c53d808bd39bd55fe5bfd97180564 dependabot/pip/backend/sqlparse-0.5.3 https://github.com/mozilla/code-review dev'
[taskcluster:warn 2024-12-16T14:50:18.479Z]         exit_code=$?
[taskcluster:warn 2024-12-16T14:50:18.479Z]         docker cp taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w:'/backend.tar.zst' 'artifact0.zst'
[taskcluster:warn 2024-12-16T14:50:18.479Z]         docker rm taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w
[taskcluster:warn 2024-12-16T14:50:18.479Z]         exit "${exit_code}"
[taskcluster:warn 2024-12-16T14:50:18.479Z]     features:
[taskcluster:warn 2024-12-16T14:50:18.479Z]       backingLog: true
[taskcluster:warn 2024-12-16T14:50:18.479Z]       liveLog: true
[taskcluster:warn 2024-12-16T14:50:18.479Z]     logs:
[taskcluster:warn 2024-12-16T14:50:18.479Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2024-12-16T14:50:18.479Z]       live: public/logs/live.log
[taskcluster:warn 2024-12-16T14:50:18.479Z]     maxRunTime: 4500
[taskcluster:warn 2024-12-16T14:50:18.479Z]     onExitStatus:
[taskcluster:warn 2024-12-16T14:50:18.479Z]       retry:
[taskcluster:warn 2024-12-16T14:50:18.479Z]       - 125
[taskcluster:warn 2024-12-16T14:50:18.479Z]       - 128
[taskcluster:warn 2024-12-16T14:50:18.479Z]     osGroups:
[taskcluster:warn 2024-12-16T14:50:18.479Z]     - docker
[taskcluster:warn 2024-12-16T14:50:18.479Z]   priority: lowest
[taskcluster:warn 2024-12-16T14:50:18.479Z]   projectId: none
[taskcluster:warn 2024-12-16T14:50:18.479Z]   provisionerId: proj-relman
[taskcluster:warn 2024-12-16T14:50:18.479Z]   requires: all-completed
[taskcluster:warn 2024-12-16T14:50:18.479Z]   retries: 5
[taskcluster:warn 2024-12-16T14:50:18.479Z]   routes:
[taskcluster:warn 2024-12-16T14:50:18.479Z]   - checks
[taskcluster:warn 2024-12-16T14:50:18.479Z]   schedulerId: taskcluster-github
[taskcluster:warn 2024-12-16T14:50:18.479Z]   scopes:
[taskcluster:warn 2024-12-16T14:50:18.479Z]   - docker-worker:capability:privileged
[taskcluster:warn 2024-12-16T14:50:18.479Z]   - generic-worker:capability:privileged
[taskcluster:warn 2024-12-16T14:50:18.479Z]   - generic-worker:os-group:proj-relman/generic-worker-ubuntu-24-04/docker
[taskcluster:warn 2024-12-16T14:50:18.479Z]   tags: {}
[taskcluster:warn 2024-12-16T14:50:18.479Z]   taskGroupId: Ib-HKQyER3KkSCQNgEmugw
[taskcluster:warn 2024-12-16T14:50:18.479Z]   taskQueueId: proj-relman/generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-16T14:50:18.479Z]   workerType: generic-worker-ubuntu-24-04
[taskcluster:warn 2024-12-16T14:50:18.479Z] 
[taskcluster 2024-12-16T14:50:19.494Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1-d.8830656628610925553.60099/log/BO8b6c76QJeyAp6EBcldrw with mime type "text/plain; charset=utf-8" and expiry 2024-12-16T16:20:19.404Z
[taskcluster 2024-12-16T14:50:19.700Z] Executing command 0: bash -cx 'timeout -s KILL 3600 docker run -t --name taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w --memory-swap -1 --pids-limit -1 --privileged -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID '\''mozilla/taskboot:0.4.1'\'' /bin/sh -lxce '\''git clone --quiet https://github.com/mozilla/code-review /code-review && cd /code-review && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b build && backend/build.sh 44db81fc414c53d808bd39bd55fe5bfd97180564 dependabot/pip/backend/sqlparse-0.5.3 https://github.com/mozilla/code-review dev'\''
[taskcluster 2024-12-16T14:50:19.700Z] exit_code=$?
[taskcluster 2024-12-16T14:50:19.700Z] docker cp taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w:'\''/backend.tar.zst'\'' '\''artifact0.zst'\''
[taskcluster 2024-12-16T14:50:19.700Z] docker rm taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w
[taskcluster 2024-12-16T14:50:19.700Z] exit "${exit_code}"'
+ timeout -s KILL 3600 docker run -t --name taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w --memory-swap -1 --pids-limit -1 --privileged -e RUN_ID -e TASKCLUSTER_INSTANCE_TYPE -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_GROUP_ID -e TASK_ID mozilla/taskboot:0.4.1 /bin/sh -lxce 'git clone --quiet https://github.com/mozilla/code-review /code-review && cd /code-review && git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b build && backend/build.sh 44db81fc414c53d808bd39bd55fe5bfd97180564 dependabot/pip/backend/sqlparse-0.5.3 https://github.com/mozilla/code-review dev'
Unable to find image 'mozilla/taskboot:0.4.1' locally
0.4.1: Pulling from mozilla/taskboot
97d7b294855e: Pulling fs layer
39fedac446aa: Pulling fs layer
6ebb90661979: Pulling fs layer
ec2cdc79601e: Pulling fs layer
5c33c79ec915: Pulling fs layer
16e75dc827cd: Pulling fs layer
1548fd74bd8d: Pulling fs layer
44f5ccd769d3: Pulling fs layer
ec2cdc79601e: Waiting
1548fd74bd8d: Waiting
5c33c79ec915: Waiting
16e75dc827cd: Waiting
44f5ccd769d3: Waiting
39fedac446aa: Verifying Checksum
39fedac446aa: Download complete
97d7b294855e: Verifying Checksum
97d7b294855e: Download complete
ec2cdc79601e: Verifying Checksum
ec2cdc79601e: Download complete
6ebb90661979: Verifying Checksum
6ebb90661979: Download complete
97d7b294855e: Pull complete
5c33c79ec915: Verifying Checksum
5c33c79ec915: Download complete
1548fd74bd8d: Download complete
39fedac446aa: Pull complete
44f5ccd769d3: Verifying Checksum
44f5ccd769d3: Download complete
6ebb90661979: Pull complete
ec2cdc79601e: Pull complete
5c33c79ec915: Pull complete
16e75dc827cd: Verifying Checksum
16e75dc827cd: Download complete
16e75dc827cd: Pull complete
1548fd74bd8d: Pull complete
44f5ccd769d3: Pull complete
Digest: sha256:d066590f57230759fd232571cbd976612f8fd5cef79ccbab981f60472c99c708
Status: Downloaded newer image for mozilla/taskboot:0.4.1
+ export 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
+ export 'PAGER=less'
+ umask 022
+ '[' -n  -o 1.36.1 ]
+ PS1='\h:\w\$ '
+ '[' -n  ]
+ '[' -r /etc/profile.d/20locale.sh ]
+ . /etc/profile.d/20locale.sh
+ export 'CHARSET=UTF-8'
+ export 'LANG=C.UTF-8'
+ export 'LC_COLLATE=C'
+ unset script
+ git clone --quiet https://github.com/mozilla/code-review /code-review
+ cd /code-review
+ git checkout 44db81fc414c53d808bd39bd55fe5bfd97180564 -b build
Switched to a new branch 'build'
+ backend/build.sh 44db81fc414c53d808bd39bd55fe5bfd97180564 dependabot/pip/backend/sqlparse-0.5.3 https://github.com/mozilla/code-review dev
INFO:root:Target setup in /code-review
WARNING:taskboot.target:No target cloned
WARNING:taskboot.config:No configuration available
INFO:taskboot.build:Will produce image registry.hub.docker.com/mozilla/code-review:44db81fc414c53d808bd39bd55fe5bfd97180564
INFO:taskboot.build:Will produce image registry.hub.docker.com/mozilla/code-review:dev
INFO:taskboot.docker:Building docker image /code-review/backend/Dockerfile
INFO:taskboot.docker:Running docker command: ['build', '--file', '/code-review/backend/Dockerfile', '--tag', 'registry.hub.docker.com/mozilla/code-review:44db81fc414c53d808bd39bd55fe5bfd97180564', '--tag', 'registry.hub.docker.com/mozilla/code-review:dev', '/code-review']
STEP 1/9: FROM python:3.13.1-slim
Resolving "python" using unqualified-search registries (/etc/containers/registries.conf)
Trying to pull docker.io/library/python:3.13.1-slim...
Getting image source signatures
Writing manifest to image destination
Storing signatures
STEP 2/9: ADD tools /src/tools
--> 116f11920ea5
STEP 3/9: ADD backend /src/backend
--> af714560ec11
STEP 4/9: 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, 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.
--> f8f68b323eec
STEP 5/9: WORKDIR /src/backend
--> d5b154f7248f
STEP 6/9: ENV DEBUG=false
--> 88967b7beb6a
STEP 7/9: RUN 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.
--> 24b677ff60a2
STEP 8/9: RUN ./manage.py collectstatic --no-input
Running application with SQLite backend. Data may be lost.

197 static files copied to '/static'.
--> 82dcfd594930
STEP 9/9: CMD gunicorn code_review_backend.app.wsgi
COMMIT registry.hub.docker.com/mozilla/code-review:44db81fc414c53d808bd39bd55fe5bfd97180564
--> 7bf50b6239b5
Successfully tagged registry.hub.docker.com/mozilla/code-review:44db81fc414c53d808bd39bd55fe5bfd97180564
Successfully tagged registry.hub.docker.com/mozilla/code-review:dev
7bf50b6239b53cc1f0c9a12fa04c2a2791242a7b242c0d23a9c776fdddabc8b1
INFO:taskboot.docker:Built image registry.hub.docker.com/mozilla/code-review:44db81fc414c53d808bd39bd55fe5bfd97180564, registry.hub.docker.com/mozilla/code-review:dev
INFO:taskboot.docker:Saving image with tags registry.hub.docker.com/mozilla/code-review:44db81fc414c53d808bd39bd55fe5bfd97180564, registry.hub.docker.com/mozilla/code-review:dev to /backend.tar
Writing manifest to image destination
Storing signatures

                                                                               
Read:     0   B /   246 MiB ==>  0%
                                                                               
Read:  35.0 MiB /   246 MiB ==> 31%
                                                                               
Read:  68.0 MiB /   246 MiB ==> 33%
                                                                               
Read:   104 MiB /   246 MiB ==> 33%
                                                                               
Read:   136 MiB /   246 MiB ==> 32%
                                                                               
Read:   174 MiB /   246 MiB ==> 30%
                                                                               
Read:   208 MiB /   246 MiB ==> 29%
                                                                               
Read:   238 MiB /   246 MiB ==> 30%
                                                                               
/backend.tar         : 29.71%   (   246 MiB =>   73.2 MiB, /backend.tar.zst) 
+ exit_code=0
+ docker cp taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w:/backend.tar.zst artifact0.zst
+ docker rm taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w
taskcontainer_F5nUYUBYT4SvoCC0GZ4F9w
+ exit 0
[taskcluster 2024-12-16T14:52:03.403Z]    Exit Code: 0
[taskcluster 2024-12-16T14:52:03.403Z]    User Time: 72.906ms
[taskcluster 2024-12-16T14:52:03.403Z]  Kernel Time: 160.797ms
[taskcluster 2024-12-16T14:52:03.403Z]    Wall Time: 1m43.703063315s
[taskcluster 2024-12-16T14:52:03.403Z]       Result: SUCCEEDED
[taskcluster 2024-12-16T14:52:03.403Z] === Task Finished ===
[taskcluster 2024-12-16T14:52:03.403Z] Task Duration: 1m43.703484838s
[taskcluster 2024-12-16T14:52:04.094Z] Uploading artifact public/code-review-backend.tar.zst from file /home/task_173436047827839/artifact0.zst with content encoding "identity", mime type "application/zstd" and expiry 2024-12-30T14:45:49.877Z
[taskcluster 2024-12-16T14:52:05.351Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-12-16T15:45:49.877Z