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

feat: add Model Garden deploy API #5836

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

feat: add Model Garden deploy API

1a09118
Select commit
Loading
Failed to load commit list.
Open

feat: add Model Garden deploy API #5836

feat: add Model Garden deploy API
1a09118
Select commit
Loading
Failed to load commit list.
Google Cloud Build / samples-presubmit-node14 (long-door-651) failed Dec 21, 2024 in 5m 58s

Summary

Build Information

Trigger samples-presubmit-node14
Build 44a95335-7f0b-4cb7-8c3d-c11506c17213
Start 2024-12-20T17:59:35-08:00
Duration 5m57.375s
Status FAILURE

Steps

Step Status Duration
gcr.io/kaniko-project/executor:v1.23.2 SUCCESS 1m32.961s
gcr.io/google.com/cloudsdktool/cloud-sdk SUCCESS 1m6.746s
run-tests FAILURE 30.96s

Details

starting build "44a95335-7f0b-4cb7-8c3d-c11506c17213"

FETCHSOURCE
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /workspace/.git/
From https://github.com/googleapis/google-cloud-node
 * branch              1a09118662619e395425c90da1193348889b9751 -> FETCH_HEAD
Updating files:  21% (4707/21452)
Updating files:  22% (4720/21452)
Updating files:  23% (4934/21452)
Updating files:  24% (5149/21452)
Updating files:  25% (5363/21452)
Updating files:  26% (5578/21452)
Updating files:  27% (5793/21452)
Updating files:  28% (6007/21452)
Updating files:  29% (6222/21452)
Updating files:  30% (6436/21452)
Updating files:  31% (6651/21452)
Updating files:  32% (6865/21452)
Updating files:  33% (7080/21452)
Updating files:  34% (7294/21452)
Updating files:  35% (7509/21452)
Updating files:  36% (7723/21452)
Updating files:  37% (7938/21452)
Updating files:  38% (8152/21452)
Updating files:  39% (8367/21452)
Updating files:  40% (8581/21452)
Updating files:  41% (8796/21452)
Updating files:  42% (9010/21452)
Updating files:  43% (9225/21452)
Updating files:  44% (9439/21452)
Updating files:  44% (9537/21452)
Updating files:  45% (9654/21452)
Updating files:  46% (9868/21452)
Updating files:  47% (10083/21452)
Updating files:  48% (10297/21452)
Updating files:  49% (10512/21452)
Updating files:  50% (10726/21452)
Updating files:  51% (10941/21452)
Updating files:  52% (11156/21452)
Updating files:  53% (11370/21452)
Updating files:  54% (11585/21452)
Updating files:  55% (11799/21452)
Updating files:  56% (12014/21452)
Updating files:  57% (12228/21452)
Updating files:  58% (12443/21452)
Updating files:  59% (12657/21452)
Updating files:  60% (12872/21452)
Updating files:  61% (13086/21452)
Updating files:  62% (13301/21452)
Updating files:  63% (13515/21452)
Updating files:  64% (13730/21452)
Updating files:  65% (13944/21452)
Updating files:  65% (14140/21452)
Updating files:  66% (14159/21452)
Updating files:  67% (14373/21452)
Updating files:  68% (14588/21452)
Updating files:  69% (14802/21452)
Updating files:  70% (15017/21452)
Updating files:  71% (15231/21452)
Updating files:  72% (15446/21452)
Updating files:  73% (15660/21452)
Updating files:  74% (15875/21452)
Updating files:  75% (16089/21452)
Updating files:  76% (16304/21452)
Updating files:  77% (16519/21452)
Updating files:  78% (16733/21452)
Updating files:  79% (16948/21452)
Updating files:  80% (17162/21452)
Updating files:  81% (17377/21452)
Updating files:  82% (17591/21452)
Updating files:  83% (17806/21452)
Updating files:  84% (18020/21452)
Updating files:  84% (18203/21452)
Updating files:  85% (18235/21452)
Updating files:  86% (18449/21452)
Updating files:  87% (18664/21452)
Updating files:  88% (18878/21452)
Updating files:  89% (19093/21452)
Updating files:  90% (19307/21452)
Updating files:  91% (19522/21452)
Updating files:  92% (19736/21452)
Updating files:  93% (19951/21452)
Updating files:  94% (20165/21452)
Updating files:  95% (20380/21452)
Updating files:  96% (20594/21452)
Updating files:  97% (20809/21452)
Updating files:  98% (21023/21452)
Updating files:  99% (21238/21452)
Updating files: 100% (21452/21452)
Updating files: 100% (21452/21452), done.
HEAD is now at 1a091186 feat: add Model Garden deploy API docs: A comment for field `labels` in message `.google.cloud.aiplatform.v1beta1.PublisherModel` is changed
BUILD
Starting Step #0
Step #0: Pulling image: gcr.io/kaniko-project/executor:v1.23.2
Step #0: v1.23.2: Pulling from kaniko-project/executor
Step #0: Digest: sha256:9e69fd4330ec887829c780f5126dd80edc663df6def362cd22e79bcdf00ac53f
Step #0: Status: Downloaded newer image for gcr.io/kaniko-project/executor:v1.23.2
Step #0: gcr.io/kaniko-project/executor:v1.23.2
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Resolved base name node:16-alpine to build"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Retrieving image node:16-alpine from registry index.docker.io"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Returning cached image manifest"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Returning cached image manifest"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Returning cached image manifest"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Built cross stage deps: map[0:[/usr/local/gcloud /bin/flakybot /root/.local/share/pnpm]]"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Returning cached image manifest"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Returning cached image manifest"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Executing 0 build triggers"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Building stage 'node:16-alpine' [idx: '0', base-idx: '-1']"
Step #0: time="2024-12-21T02:02:23Z" level=info msg="Checking for cached layer gcr.io/long-door-651/google-cloud-node-16/cache:598834ceec6e800cb07116a9d16c9893217476427fecc6f80c5a4891b464f918..."
Step #0: time="2024-12-21T02:02:24Z" level=info msg="Using caching version of cmd: RUN apk add --no-cache curl tar python3"
Step #0: time="2024-12-21T02:02:24Z" level=info msg="Checking for cached layer gcr.io/long-door-651/google-cloud-node-16/cache:27ddec25aa6dc0d5379d61ac1524bde970bef59dc0f3df08af22dbbf06169cef..."
Step #0: time="2024-12-21T02:02:24Z" level=info msg="Using caching version of cmd: RUN curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz"
Step #0: time="2024-12-21T02:02:24Z" level=info msg="Checking for cached layer gcr.io/long-door-651/google-cloud-node-16/cache:85480e683319a3038d5e8fb37a675c6d8733fe95361d9aaa1780c33ee96f9b20..."
Step #0: time="2024-12-21T02:02:25Z" level=info msg="Using caching version of cmd: RUN mkdir -p /usr/local/gcloud   && tar -C /usr/local/gcloud -xvf /tmp/google-cloud-sdk.tar.gz   && /usr/local/gcloud/google-cloud-sdk/install.sh"
Step #0: time="2024-12-21T02:02:25Z" level=info msg="Checking for cached layer gcr.io/long-door-651/google-cloud-node-16/cache:db1eddbe52558aa7d33b2e2433abb18ca07f296c212d4b8dd6234fa677917ad2..."
Step #0: time="2024-12-21T02:02:25Z" level=info msg="Using caching version of cmd: RUN curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-${FLAKYBOT_VERSION}/flakybot     -o /bin/flakybot -s -L     && chmod +x /bin/flakybot"
Step #0: time="2024-12-21T02:02:25Z" level=info msg="Checking for cached layer gcr.io/long-door-651/google-cloud-node-16/cache:7d141148270105cc32aaf6cb1917d2d73817b9417e8be2fceb4914bbd09beabf..."
Step #0: time="2024-12-21T02:02:25Z" level=info msg="Using caching version of cmd: RUN curl https://get.pnpm.io/install.sh | ENV=\"$HOME/.shrc\" SHELL=\"$(which sh)\" sh -"
Step #0: time="2024-12-21T02:02:28Z" level=info msg="RUN apk add --no-cache curl tar python3"
Step #0: time="2024-12-21T02:02:28Z" level=info msg="Found cached layer, extracting to filesystem"
Step #0: time="2024-12-21T02:02:29Z" level=info msg="RUN curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz"
Step #0: time="2024-12-21T02:02:29Z" level=info msg="Found cached layer, extracting to filesystem"
Step #0: time="2024-12-21T02:02:30Z" level=info msg="RUN mkdir -p /usr/local/gcloud   && tar -C /usr/local/gcloud -xvf /tmp/google-cloud-sdk.tar.gz   && /usr/local/gcloud/google-cloud-sdk/install.sh"
Step #0: time="2024-12-21T02:02:30Z" level=info msg="Found cached layer, extracting to filesystem"
Step #0: time="2024-12-21T02:02:48Z" level=info msg="RUN curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-${FLAKYBOT_VERSION}/flakybot     -o /bin/flakybot -s -L     && chmod +x /bin/flakybot"
Step #0: time="2024-12-21T02:02:48Z" level=info msg="Found cached layer, extracting to filesystem"
Step #0: time="2024-12-21T02:02:48Z" level=info msg="ENV PNPM_VERSION=7.32.2"
Step #0: time="2024-12-21T02:02:48Z" level=info msg="No files changed in this command, skipping snapshotting."
Step #0: time="2024-12-21T02:02:48Z" level=info msg="RUN curl https://get.pnpm.io/install.sh | ENV=\"$HOME/.shrc\" SHELL=\"$(which sh)\" sh -"
Step #0: time="2024-12-21T02:02:48Z" level=info msg="Found cached layer, extracting to filesystem"
Step #0: time="2024-12-21T02:02:50Z" level=info msg="Saving file usr/local/gcloud for later use"
Step #0: time="2024-12-21T02:02:58Z" level=info msg="Saving file bin/flakybot for later use"
Step #0: time="2024-12-21T02:02:58Z" level=info msg="Saving file root/.local/share/pnpm for later use"
Step #0: time="2024-12-21T02:02:58Z" level=info msg="Deleting filesystem..."
Step #0: time="2024-12-21T02:02:59Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:59Z" level=info msg="Returning cached image manifest"
Step #0: time="2024-12-21T02:02:59Z" level=info msg="Retrieving image manifest node:16-alpine"
Step #0: time="2024-12-21T02:02:59Z" level=info msg="Returning cached image manifest"
Step #0: time="2024-12-21T02:02:59Z" level=info msg="Executing 0 build triggers"
Step #0: time="2024-12-21T02:02:59Z" level=info msg="Building stage 'node:16-alpine' [idx: '1', base-idx: '-1']"
Step #0: time="2024-12-21T02:02:59Z" level=info msg="Checking for cached layer gcr.io/long-door-651/google-cloud-node-16/cache:cb67721988213a8d7b14590e8f8ee9518dca03078ad47a8cfbc8b9a6a81f18e0..."
Step #0: time="2024-12-21T02:03:00Z" level=info msg="Using caching version of cmd: RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2"
Step #0: time="2024-12-21T02:03:05Z" level=info msg="Checking for cached layer gcr.io/long-door-651/google-cloud-node-16/cache:f0a023327033c051dd8ed18de2db6105d77076c27c72cd69798f0914a6eb392b..."
Step #0: time="2024-12-21T02:03:05Z" level=info msg="Using caching version of cmd: RUN apk add --no-cache git bash python3"
Step #0: time="2024-12-21T02:03:05Z" level=info msg="Unpacking rootfs as cmd COPY --from=build /usr/local/gcloud /usr/local/gcloud requires it."
Step #0: time="2024-12-21T02:03:08Z" level=info msg="RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2"
Step #0: time="2024-12-21T02:03:08Z" level=info msg="Found cached layer, extracting to filesystem"
Step #0: time="2024-12-21T02:03:12Z" level=info msg="COPY --from=build /usr/local/gcloud /usr/local/gcloud"
Step #0: time="2024-12-21T02:03:21Z" level=info msg="Taking snapshot of files..."
Step #0: time="2024-12-21T02:03:44Z" level=info msg="COPY --from=build /bin/flakybot /bin/flakybot"
Step #0: time="2024-12-21T02:03:44Z" level=info msg="Taking snapshot of files..."
Step #0: time="2024-12-21T02:03:44Z" level=info msg="COPY --from=build /root/.local/share/pnpm /root/.local/share/pnpm"
Step #0: time="2024-12-21T02:03:44Z" level=info msg="Taking snapshot of files..."
Step #0: time="2024-12-21T02:03:45Z" level=info msg="RUN apk add --no-cache git bash python3"
Step #0: time="2024-12-21T02:03:45Z" level=info msg="Found cached layer, extracting to filesystem"
Step #0: time="2024-12-21T02:03:46Z" level=info msg="ENV PNPM_HOME=/root/.local/share/pnpm"
Step #0: time="2024-12-21T02:03:46Z" level=info msg="No files changed in this command, skipping snapshotting."
Step #0: time="2024-12-21T02:03:46Z" level=info msg="ENV PATH=$PNPM_HOME:/bin/flakybot:usr/local/gcloud/google-cloud-sdk/bin:$PATH"
Step #0: time="2024-12-21T02:03:46Z" level=info msg="No files changed in this command, skipping snapshotting."
Step #0: time="2024-12-21T02:03:46Z" level=info msg="Pushing image to gcr.io/long-door-651/google-cloud-node-16"
Step #0: time="2024-12-21T02:03:51Z" level=info msg="Pushed gcr.io/long-door-651/google-cloud-node-16@sha256:bc10f4663984c68886ffc9bab966e5dd2a04ecd77ead1e3369845a5c371e7071"
Finished Step #0
Starting Step #1
Step #1: Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk
Step #1: Using default tag: latest
Step #1: latest: Pulling from google.com/cloudsdktool/cloud-sdk
Step #1: 908b9e25258b: Already exists
Step #1: 0f014b55d253: Pulling fs layer
Step #1: ece996341dc8: Pulling fs layer
Step #1: ea89afd7089d: Pulling fs layer
Step #1: 922a32ac60cb: Pulling fs layer
Step #1: b036d70e6a3a: Pulling fs layer
Step #1: 448c4a8a6b0f: Pulling fs layer
Step #1: 922a32ac60cb: Waiting
Step #1: b036d70e6a3a: Waiting
Step #1: 448c4a8a6b0f: Waiting
Step #1: ea89afd7089d: Verifying Checksum
Step #1: ea89afd7089d: Download complete
Step #1: 0f014b55d253: Verifying Checksum
Step #1: 0f014b55d253: Download complete
Step #1: ece996341dc8: Verifying Checksum
Step #1: ece996341dc8: Download complete
Step #1: 448c4a8a6b0f: Verifying Checksum
Step #1: 448c4a8a6b0f: Download complete
Step #1: b036d70e6a3a: Verifying Checksum
Step #1: b036d70e6a3a: Download complete
Step #1: 0f014b55d253: Pull complete
Step #1: ece996341dc8: Pull complete
Step #1: ea89afd7089d: Pull complete
Step #1: 922a32ac60cb: Verifying Checksum
Step #1: 922a32ac60cb: Download complete
Step #1: 922a32ac60cb: Pull complete
Step #1: b036d70e6a3a: Pull complete
Step #1: 448c4a8a6b0f: Pull complete
Step #1: Digest: sha256:e0246385c6f43e997bb49541de7c684846ee9c2baa738a68613f14cab987feb8
Step #1: Status: Downloaded newer image for gcr.io/google.com/cloudsdktool/cloud-sdk:latest
Step #1: gcr.io/google.com/cloudsdktool/cloud-sdk:latest
Step #1: WARNING: The following filter keys were not present in any resource : create_time, status, substitutions.REF_NAME
Finished Step #1
Starting Step #2 - "run-tests"
Step #2 - "run-tests": Pulling image: gcr.io/long-door-651/google-cloud-node-16
Step #2 - "run-tests": Using default tag: latest
Step #2 - "run-tests": latest: Pulling from long-door-651/google-cloud-node-16
Step #2 - "run-tests": 7264a8db6415: Already exists
Step #2 - "run-tests": eee371b9ce3f: Pulling fs layer
Step #2 - "run-tests": 93b3025fe103: Pulling fs layer
Step #2 - "run-tests": d9059661ce70: Pulling fs layer
Step #2 - "run-tests": e3bcf902b196: Pulling fs layer
Step #2 - "run-tests": d931215d6cf2: Pulling fs layer
Step #2 - "run-tests": ba011494bc0f: Pulling fs layer
Step #2 - "run-tests": 6a3e32514808: Pulling fs layer
Step #2 - "run-tests": 0d15889e63f5: Pulling fs layer
Step #2 - "run-tests": e3bcf902b196: Waiting
Step #2 - "run-tests": d931215d6cf2: Waiting
Step #2 - "run-tests": ba011494bc0f: Waiting
Step #2 - "run-tests": 6a3e32514808: Waiting
Step #2 - "run-tests": 0d15889e63f5: Waiting
Step #2 - "run-tests": d9059661ce70: Verifying Checksum
Step #2 - "run-tests": d9059661ce70: Download complete
Step #2 - "run-tests": 93b3025fe103: Verifying Checksum
Step #2 - "run-tests": 93b3025fe103: Download complete
Step #2 - "run-tests": e3bcf902b196: Verifying Checksum
Step #2 - "run-tests": e3bcf902b196: Download complete
Step #2 - "run-tests": ba011494bc0f: Verifying Checksum
Step #2 - "run-tests": ba011494bc0f: Download complete
Step #2 - "run-tests": eee371b9ce3f: Verifying Checksum
Step #2 - "run-tests": eee371b9ce3f: Download complete
Step #2 - "run-tests": 0d15889e63f5: Verifying Checksum
Step #2 - "run-tests": 0d15889e63f5: Download complete
Step #2 - "run-tests": 6a3e32514808: Verifying Checksum
Step #2 - "run-tests": 6a3e32514808: Download complete
Step #2 - "run-tests": eee371b9ce3f: Pull complete
Step #2 - "run-tests": 93b3025fe103: Pull complete
Step #2 - "run-tests": d931215d6cf2: Verifying Checksum
Step #2 - "run-tests": d931215d6cf2: Download complete
Step #2 - "run-tests": d9059661ce70: Pull complete
Step #2 - "run-tests": e3bcf902b196: Pull complete
Step #2 - "run-tests": d931215d6cf2: Pull complete
Step #2 - "run-tests": ba011494bc0f: Pull complete
Step #2 - "run-tests": 6a3e32514808: Pull complete
Step #2 - "run-tests": 0d15889e63f5: Pull complete
Step #2 - "run-tests": Digest: sha256:18d3271b97e41ba03316d805102b6ac5c6231a7038bf9c71a617cc7426c5a9f0
Step #2 - "run-tests": Status: Downloaded newer image for gcr.io/long-door-651/google-cloud-node-16:latest
Step #2 - "run-tests": gcr.io/long-door-651/google-cloud-node-16:latest
Step #2 - "run-tests": Found owl-bot-staging directory, skipping all tests and failing the run.
Finished Step #2 - "run-tests"
ERROR
ERROR: build step 2 "gcr.io/long-door-651/google-cloud-node-16" failed: step exited with non-zero status: 1

Build Log: https://storage.cloud.google.com/cloud-node-public-logs/logs/google-cloud-node/presubmit/1a09118662619e395425c90da1193348889b9751/samples-presubmit-node14/log-44a95335-7f0b-4cb7-8c3d-c11506c17213.txt