Skip to content

change db

5dcf4f4
Select commit
Loading
Failed to load commit list.
Merged

chore: Azure Migration #443

change db
5dcf4f4
Select commit
Loading
Failed to load commit list.
Google Cloud Build / hopic-cloudbuild-trigger (pht-01hp04dtnkf) failed Feb 11, 2026 in 36s

Summary

Build Information

Trigger hopic-cloudbuild-trigger
Build 6159c0a2-0678-47c2-a0aa-7fcfdd1a4534
Start 2026-02-11T07:19:11-08:00
Duration 33.919s
Status FAILURE

Steps

Step Status Duration
Make .env.cloud_build for subsequent steps SUCCESS 8.146s
Run tests FAILURE 10.96s
Run format checks QUEUED 0s
Upload test coverage reports to Google Cloud Storage QUEUED 0s
Build and push app and management image if main QUEUED 0s

Details

starting build "6159c0a2-0678-47c2-a0aa-7fcfdd1a4534"

FETCHSOURCE
From https://github.com/PHACDataHub/cpho-phase2
 * branch            5dcf4f4b5e60cbba0b3fe1d9cfe0bcfda818abc7 -> FETCH_HEAD
HEAD is now at 5dcf4f4 change db
GitCommit:
5dcf4f4b5e60cbba0b3fe1d9cfe0bcfda818abc7
SETUPBUILD
BUILD
Starting Step #0 - "Make .env.cloud_build for subsequent steps"
Step #0 - "Make .env.cloud_build for subsequent steps": Already have image (with digest): gcr.io/cloud-builders/gcloud
Step #0 - "Make .env.cloud_build for subsequent steps": Write .env.cloud_build to disk, to provide consistent project configuration (no secrets) in subsequent steps
Step #0 - "Make .env.cloud_build for subsequent steps": Project 'pht-01hp04dtnkf' lacks an 'environment' tag. Please create or add a tag with key 'environment' and a value like 'Production', 'Development', 'Test', or 'Staging'. Add an 'environment' tag using `gcloud resource-manager tags bindings create`. See https://cloud.google.com/resource-manager/docs/creating-managing-projects#designate_project_environments_with_tags for details.
Step #0 - "Make .env.cloud_build for subsequent steps": Updated property [core/project].
Step #0 - "Make .env.cloud_build for subsequent steps": WARNING: Property validation for compute/region was skipped.
Step #0 - "Make .env.cloud_build for subsequent steps": Updated property [compute/region].
Finished Step #0 - "Make .env.cloud_build for subsequent steps"
Starting Step #1 - "Run tests"
Step #1 - "Run tests": Already have image (with digest): gcr.io/cloud-builders/docker
Step #1 - "Run tests": Get cloud build project configuration values
Step #1 - "Run tests": Make globally writable coverge dir, to be mounted as a volume on the test container
Step #1 - "Run tests": Build images for testing, run tests and create report
Step #1 - "Run tests": time="2026-02-11T15:19:24Z" level=warning msg="/workspace/docker-compose.run-tests.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
Step #1 - "Run tests":  db Pulling 
Step #1 - "Run tests":  96526aa774ef Pulling fs layer 
Step #1 - "Run tests":  cae7778f1ca2 Pulling fs layer 
Step #1 - "Run tests":  a068e763669a Pulling fs layer 
Step #1 - "Run tests":  0787333105a2 Pulling fs layer 
Step #1 - "Run tests":  e1c22c2c0cb8 Pulling fs layer 
Step #1 - "Run tests":  5eaf5c39276d Pulling fs layer 
Step #1 - "Run tests":  03ec842f1e62 Pulling fs layer 
Step #1 - "Run tests":  1c5e4ba76017 Pulling fs layer 
Step #1 - "Run tests":  03ec842f1e62 Waiting 
Step #1 - "Run tests":  1c5e4ba76017 Waiting 
Step #1 - "Run tests":  cae7778f1ca2 Downloading [===============================>                   ]     798B/1.265kB
Step #1 - "Run tests":  cae7778f1ca2 Downloading [==================================================>]  1.265kB/1.265kB
Step #1 - "Run tests":  cae7778f1ca2 Download complete 
Step #1 - "Run tests":  5eaf5c39276d Downloading [==================================================>]     129B/129B
Step #1 - "Run tests":  5eaf5c39276d Verifying Checksum 
Step #1 - "Run tests":  5eaf5c39276d Download complete 
Step #1 - "Run tests":  a068e763669a Downloading [==================================================>]     116B/116B
Step #1 - "Run tests":  a068e763669a Verifying Checksum 
Step #1 - "Run tests":  a068e763669a Download complete 
Step #1 - "Run tests":  e1c22c2c0cb8 Downloading [====>                                              ]     798B/9.195kB
Step #1 - "Run tests":  e1c22c2c0cb8 Downloading [==================================================>]  9.195kB/9.195kB
Step #1 - "Run tests":  e1c22c2c0cb8 Verifying Checksum 
Step #1 - "Run tests":  e1c22c2c0cb8 Download complete 
Step #1 - "Run tests":  96526aa774ef Downloading [>                                                  ]  34.38kB/3.402MB
Step #1 - "Run tests":  0787333105a2 Downloading [>                                                  ]  524.7kB/89.7MB
Step #1 - "Run tests":  96526aa774ef Verifying Checksum 
Step #1 - "Run tests":  96526aa774ef Download complete 
Step #1 - "Run tests":  96526aa774ef Extracting [>                                                  ]  65.54kB/3.402MB
Step #1 - "Run tests":  0787333105a2 Downloading [====>                                              ]  7.914MB/89.7MB
Step #1 - "Run tests":  96526aa774ef Extracting [=====>                                             ]  393.2kB/3.402MB
Step #1 - "Run tests":  03ec842f1e62 Downloading [==================================================>]     169B/169B
Step #1 - "Run tests":  03ec842f1e62 Verifying Checksum 
Step #1 - "Run tests":  03ec842f1e62 Download complete 
Step #1 - "Run tests":  0787333105a2 Downloading [========>                                          ]  14.77MB/89.7MB
Step #1 - "Run tests":  96526aa774ef Extracting [======================================>            ]  2.621MB/3.402MB
Step #1 - "Run tests":  96526aa774ef Extracting [==================================================>]  3.402MB/3.402MB
Step #1 - "Run tests":  96526aa774ef Extracting [==================================================>]  3.402MB/3.402MB
Step #1 - "Run tests":  1c5e4ba76017 Downloading [========>                                          ]     798B/4.783kB
Step #1 - "Run tests":  1c5e4ba76017 Downloading [==================================================>]  4.783kB/4.783kB
Step #1 - "Run tests":  1c5e4ba76017 Verifying Checksum 
Step #1 - "Run tests":  1c5e4ba76017 Download complete 
Step #1 - "Run tests":  0787333105a2 Downloading [===========>                                       ]   21.1MB/89.7MB
Step #1 - "Run tests":  96526aa774ef Pull complete 
Step #1 - "Run tests":  cae7778f1ca2 Extracting [==================================================>]  1.265kB/1.265kB
Step #1 - "Run tests":  cae7778f1ca2 Extracting [==================================================>]  1.265kB/1.265kB
Step #1 - "Run tests":  0787333105a2 Downloading [===============>                                   ]  28.47MB/89.7MB
Step #1 - "Run tests":  cae7778f1ca2 Pull complete 
Step #1 - "Run tests":  a068e763669a Extracting [==================================================>]     116B/116B
Step #1 - "Run tests":  a068e763669a Extracting [==================================================>]     116B/116B
Step #1 - "Run tests":  0787333105a2 Downloading [====================>                              ]  37.42MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Downloading [=========================>                         ]  46.39MB/89.7MB
Step #1 - "Run tests":  a068e763669a Pull complete 
Step #1 - "Run tests":  0787333105a2 Downloading [===============================>                   ]  56.94MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Downloading [=====================================>             ]  67.47MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Downloading [==========================================>        ]  76.96MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Downloading [================================================>  ]  86.97MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Verifying Checksum 
Step #1 - "Run tests":  0787333105a2 Download complete 
Step #1 - "Run tests":  0787333105a2 Extracting [>                                                  ]  557.1kB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=>                                                 ]  2.785MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [===>                                               ]  6.128MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=====>                                             ]   9.47MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=======>                                           ]  12.81MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=========>                                         ]  16.71MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [===========>                                       ]  20.61MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=============>                                     ]  24.51MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [===============>                                   ]  28.41MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [==================>                                ]  32.31MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [===================>                               ]  35.65MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [====================>                              ]  36.77MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=====================>                             ]  38.44MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [======================>                            ]  40.67MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [========================>                          ]  44.56MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [==========================>                        ]  46.79MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [===========================>                       ]  50.14MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=============================>                     ]  53.48MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [===============================>                   ]  57.38MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [================================>                  ]  58.49MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=================================>                 ]   59.6MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [==================================>                ]  61.83MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [====================================>              ]  65.18MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [======================================>            ]  68.52MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [========================================>          ]  71.86MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=========================================>         ]   75.2MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [==========================================>        ]  76.87MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=============================================>     ]  80.77MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [===============================================>   ]  84.67MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [================================================>  ]  87.46MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [=================================================> ]  89.69MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Extracting [==================================================>]   89.7MB/89.7MB
Step #1 - "Run tests":  0787333105a2 Pull complete 
Step #1 - "Run tests":  e1c22c2c0cb8 Extracting [==================================================>]  9.195kB/9.195kB
Step #1 - "Run tests":  e1c22c2c0cb8 Extracting [==================================================>]  9.195kB/9.195kB
Step #1 - "Run tests":  e1c22c2c0cb8 Pull complete 
Step #1 - "Run tests":  5eaf5c39276d Extracting [==================================================>]     129B/129B
Step #1 - "Run tests":  5eaf5c39276d Extracting [==================================================>]     129B/129B
Step #1 - "Run tests":  5eaf5c39276d Pull complete 
Step #1 - "Run tests":  03ec842f1e62 Extracting [==================================================>]     169B/169B
Step #1 - "Run tests":  03ec842f1e62 Extracting [==================================================>]     169B/169B
Step #1 - "Run tests":  03ec842f1e62 Pull complete 
Step #1 - "Run tests":  1c5e4ba76017 Extracting [==================================================>]  4.783kB/4.783kB
Step #1 - "Run tests":  1c5e4ba76017 Extracting [==================================================>]  4.783kB/4.783kB
Step #1 - "Run tests":  1c5e4ba76017 Pull complete 
Step #1 - "Run tests":  db Pulled 
Step #1 - "Run tests": Compose can now delegate builds to bake for better performance.
Step #1 - "Run tests":  To do so, set COMPOSE_BAKE=true.
Step #1 - "Run tests": #0 building with "default" instance using docker driver
Step #1 - "Run tests": 
Step #1 - "Run tests": #1 [server internal] load build definition from Dockerfile.prod
Step #1 - "Run tests": #1 transferring dockerfile: 3.10kB done
Step #1 - "Run tests": #1 DONE 0.1s
Step #1 - "Run tests": 
Step #1 - "Run tests": #2 [server internal] load .dockerignore
Step #1 - "Run tests": #2 transferring context: 229B done
Step #1 - "Run tests": #2 DONE 0.0s
Step #1 - "Run tests": 
Step #1 - "Run tests": #3 [server internal] load metadata for docker.io/library/python:3.11-slim-bookworm
Step #1 - "Run tests": failed to solve: failed to compute cache key: "/server/sshd_config" not found: not found
Step #1 - "Run tests": #3 ...
Step #1 - "Run tests": 
Step #1 - "Run tests": #4 [server internal] load build context
Step #1 - "Run tests": #4 transferring context: 31.91kB done
Step #1 - "Run tests": #4 DONE 0.0s
Step #1 - "Run tests": 
Step #1 - "Run tests": #5 [server builder 4/6] RUN pip install --upgrade pip wheel setuptools
Step #1 - "Run tests": #5 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #6 [server builder 3/6] RUN apt-get update &&     apt-get install -y --no-install-recommends     build-essential     libpq-dev     && apt-get clean     && rm -rf /var/lib/apt/lists/*
Step #1 - "Run tests": #6 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #7 [server builder 2/6] WORKDIR /usr/src/app
Step #1 - "Run tests": #7 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #8 [server builder 5/6] COPY server/requirements.txt .
Step #1 - "Run tests": #8 ERROR: "/server/requirements.txt" not found: not found
Step #1 - "Run tests": 
Step #1 - "Run tests": #9 [server stage-1  7/10] COPY --chown=hopicappuser:hopicapp server/ /hopicapp/web
Step #1 - "Run tests": #9 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #10 [server stage-1  2/10] RUN pip install --upgrade pip setuptools
Step #1 - "Run tests": #10 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #11 [server stage-1  6/10] RUN python -m venv /hopicapp/env &&     /hopicapp/env/bin/pip install --upgrade pip &&     /hopicapp/env/bin/pip install --no-cache-dir /hopicapp/wheels/* &&     /hopicapp/env/bin/pip install --force-reinstall setuptools &&     rm -rf /hopicapp/wheels
Step #1 - "Run tests": #11 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #12 [server stage-1  4/10] WORKDIR /hopicapp/web
Step #1 - "Run tests": #12 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #13 [server stage-1  3/10] RUN apt-get update &&     apt-get upgrade -y &&     apt-get install -y --no-install-recommends     gosu     libpq5     netcat-traditional     openssh-server     postgresql-common     && addgroup --system hopicapp     && adduser --disabled-password --shell /bin/bash hopicappuser --system --ingroup hopicapp --home /hopicapp     && mkdir -p /hopicapp/web /hopicapp/env /hopicapp/wheels     && chown -R hopicappuser:hopicapp /hopicapp     && echo "root:Docker!" | chpasswd     && echo -e "HOPIC Container\n\nFor management commands run: \ncd /hopicapp/web \npython manage\n\n" > /etc/motd     && echo -e "cd /hopicapp/web\n" >> /etc/profile
Step #1 - "Run tests": #13 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #14 [server stage-1  5/10] COPY --chown=hopicappuser:hopicapp --from=builder /usr/src/app/wheels /hopicapp/wheels
Step #1 - "Run tests": #14 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #15 [server builder 6/6] RUN pip wheel --no-cache-dir --no-deps --wheel-dir /usr/src/app/wheels -r requirements.txt
Step #1 - "Run tests": #15 CACHED
Step #1 - "Run tests": 
Step #1 - "Run tests": #16 [server stage-1  8/10] COPY server/sshd_config /etc/ssh/
Step #1 - "Run tests": #16 ERROR: "/server/sshd_config" not found: not found
Step #1 - "Run tests": 
Step #1 - "Run tests": #17 [server builder 1/6] FROM docker.io/library/python:3.11-slim-bookworm@sha256:04cd27899595a99dfe77709d96f08876bf2ee99139ee2f0fe9ac948005034e5b
Step #1 - "Run tests": #17 resolve docker.io/library/python:3.11-slim-bookworm@sha256:04cd27899595a99dfe77709d96f08876bf2ee99139ee2f0fe9ac948005034e5b 0.0s done
Step #1 - "Run tests": #17 sha256:04cd27899595a99dfe77709d96f08876bf2ee99139ee2f0fe9ac948005034e5b 9.13kB / 9.13kB done
Step #1 - "Run tests": #17 sha256:067222884359a2476ff344f92278df8fbe4792b7cf1a43d82d4a98befe8f89fb 1.75kB / 1.75kB done
Step #1 - "Run tests": #17 sha256:063fa8a969c3aaacda2cf13fbd6a5fa9634791719cb9c13993157d6f3136b09f 5.49kB / 5.49kB done
Step #1 - "Run tests": #17 CANCELED
Step #1 - "Run tests": ------
Step #1 - "Run tests":  > [server builder 5/6] COPY server/requirements.txt .:
Step #1 - "Run tests": ------
Step #1 - "Run tests": ------
Step #1 - "Run tests":  > [server stage-1  8/10] COPY server/sshd_config /etc/ssh/:
Step #1 - "Run tests": ------
Finished Step #1 - "Run tests"
ERROR
ERROR: build step 1 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1

Build Log: https://console.cloud.google.com/cloud-build/builds;region=northamerica-northeast1/6159c0a2-0678-47c2-a0aa-7fcfdd1a4534?project=791221659942