chore(deps): update JS sample deps #2969
Merged
Google Cloud Build / quickstart-test-js (toolbox-testing-438616)
failed
Apr 7, 2026 in 1m 52s
Summary
Build Information
| Trigger | quickstart-test-js |
| Build | 8cb4fe9d-2ef7-47c9-8adc-d5a8ef711f8b |
| Start | 2026-04-07T04:32:18-07:00 |
| Duration | 1m50.328s |
| Status | FAILURE |
Steps
| Step | Status | Duration |
|---|---|---|
| js-quickstart-test | FAILURE | 1m33.253s |
Details
starting build "8cb4fe9d-2ef7-47c9-8adc-d5a8ef711f8b"
FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
* branch 4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337 -> FETCH_HEAD
HEAD is now at 4a2f8a4 Merge branch 'main' into update-deps
GitCommit:
4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337
BUILD
Pulling image: node:22
22: Pulling from library/node
c150dd3f5fc9: Pulling fs layer
c2c3414b1d6b: Pulling fs layer
de73ef470b7b: Pulling fs layer
b267853a2602: Pulling fs layer
69aa42e2f5dc: Pulling fs layer
edd2033e60e9: Pulling fs layer
1890b0d39646: Pulling fs layer
7cef8de23212: Pulling fs layer
1890b0d39646: Waiting
7cef8de23212: Waiting
69aa42e2f5dc: Verifying Checksum
69aa42e2f5dc: Download complete
c2c3414b1d6b: Verifying Checksum
c2c3414b1d6b: Download complete
1890b0d39646: Verifying Checksum
1890b0d39646: Download complete
7cef8de23212: Verifying Checksum
7cef8de23212: Download complete
c150dd3f5fc9: Verifying Checksum
c150dd3f5fc9: Download complete
de73ef470b7b: Verifying Checksum
de73ef470b7b: Download complete
edd2033e60e9: Verifying Checksum
edd2033e60e9: Download complete
b267853a2602: Verifying Checksum
b267853a2602: Download complete
c150dd3f5fc9: Pull complete
c2c3414b1d6b: Pull complete
de73ef470b7b: Pull complete
b267853a2602: Pull complete
69aa42e2f5dc: Pull complete
edd2033e60e9: Pull complete
1890b0d39646: Pull complete
7cef8de23212: Pull complete
Digest: sha256:e7d95ac7c2c482384615faea13520d7125d3776b8aa3c57355a57fb0ab1c4f2e
Status: Downloaded newer image for node:22
docker.io/library/node:22
++ cat ./cmd/version.txt
+ export VERSION=0.31.0
+ VERSION=0.31.0
+ chmod +x .ci/sample_tests/run_tests.sh
+ .ci/sample_tests/run_tests.sh
Installing system packages...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [294 kB]
Fetched 9347 kB in 1s (8600 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.21.3-1+deb12u1).
The following additional packages will be installed:
postgresql-client-15 postgresql-client-common
Suggested packages:
postgresql-15 postgresql-doc-15
The following NEW packages will be installed:
gettext-base netcat-openbsd postgresql-client postgresql-client-15
postgresql-client-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1988 kB of archives.
After this operation, 9362 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 netcat-openbsd amd64 1.219-1 [41.5 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248+deb12u1 [35.2 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 postgresql-client-15 amd64 15.16-0+deb12u1 [1741 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 postgresql-client all 15+248+deb12u1 [10.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1988 kB in 0s (21.3 MB/s)
Selecting previously unselected package gettext-base.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23258 files and directories currently installed.)
Preparing to unpack .../gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package netcat-openbsd.
Preparing to unpack .../netcat-openbsd_1.219-1_amd64.deb ...
Unpacking netcat-openbsd (1.219-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_248+deb12u1_all.deb ...
Unpacking postgresql-client-common (248+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../postgresql-client-15_15.16-0+deb12u1_amd64.deb ...
Unpacking postgresql-client-15 (15.16-0+deb12u1) ...
Selecting previously unselected package postgresql-client.
Preparing to unpack .../postgresql-client_15+248+deb12u1_all.deb ...
Unpacking postgresql-client (15+248+deb12u1) ...
Setting up postgresql-client-common (248+deb12u1) ...
Setting up netcat-openbsd (1.219-1) ...
update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode
Setting up gettext-base (0.21-12) ...
Setting up postgresql-client-15 (15.16-0+deb12u1) ...
update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-client (15+248+deb12u1) ...
Starting Cloud SQL Proxy...
Cloud SQL Proxy is up and running.
Setting up Toolbox server...
Toolbox server is up and running.
Setting up database table hotels_js using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/documentation/getting-started/quickstart/js for tests with pattern quickstart.js...
--- Running JS Test: genAI ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 63 packages, and audited 64 packages in 2s
15 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1054) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: genAI Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 9364.831779
type: 'test'
...
1..1
ok 1 - genAI Quickstart Agent
---
duration_ms: 9366.342089
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 9676.422723
--- Running JS Test: langchain ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated @langchain/langgraph-sdk@2.0.0: This version is not intended for use. Please use 1.x versions of @langchain/langgraph-sdk instead
added 124 packages, and audited 125 packages in 4s
37 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: langchain Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 14155.905897
type: 'test'
...
1..1
ok 1 - langchain Quickstart Agent
---
duration_ms: 14157.578707
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 14854.324193
--- Running JS Test: genkit ---
npm warn deprecated @types/handlebars@4.1.0: This is a stub types definition. handlebars provides its own type definitions, so you do not need this installed.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 541 packages, and audited 542 packages in 11s
46 packages are looking for funding
run `npm fund` for details
17 low severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: genkit Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 8153.747269
type: 'test'
...
1..1
ok 1 - genkit Quickstart Agent
---
duration_ms: 8155.307389
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8953.229557
--- Running JS Test: llamaindex ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated @finom/zod-to-json-schema@3.24.11: Use https://www.npmjs.com/package/zod-v3-to-json-schema instead. See issue comment for details: https://github.com/StefanTerdell/zod-to-json-schema/issues/178#issuecomment-3533122539
added 104 packages, and audited 105 packages in 3s
27 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1198) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: llamaindex Quickstart Agent
# Subtest: outputContainsRequiredKeywords
not ok 1 - outputContainsRequiredKeywords
---
duration_ms: 6471.016146
type: 'test'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:45:3'
failureType: 'unhandledRejection'
error: '{"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}'
code: 'ERR_TEST_FAILURE'
name: 'ApiError'
stack: |-
throwErrorIfNotOK (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:14073:30)
process.processTicksAndRejections (node:internal/process/task_queues:103:5)
async file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:13864:13
async Models.generateContentStream (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:15205:24)
...
1..1
not ok 1 - llamaindex Quickstart Agent
---
duration_ms: 6473.642625
type: 'suite'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:30:1'
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
# Error: A resource generated asynchronous activity after the test ended. This activity created the error "ApiError: {"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}" which triggered an unhandledRejection event, caught by the test runner.
1..1
# tests 1
# suites 1
# pass 0
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7487.937846
Cleaning up background processes...
ERROR
ERROR: build step 0 "node:22" failed: step exited with non-zero status: 1
starting build "8cb4fe9d-2ef7-47c9-8adc-d5a8ef711f8b"
FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
* branch 4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337 -> FETCH_HEAD
HEAD is now at 4a2f8a4 Merge branch 'main' into update-deps
GitCommit:
4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337
BUILD
Pulling image: node:22
22: Pulling from library/node
c150dd3f5fc9: Pulling fs layer
c2c3414b1d6b: Pulling fs layer
de73ef470b7b: Pulling fs layer
b267853a2602: Pulling fs layer
69aa42e2f5dc: Pulling fs layer
edd2033e60e9: Pulling fs layer
1890b0d39646: Pulling fs layer
7cef8de23212: Pulling fs layer
1890b0d39646: Waiting
7cef8de23212: Waiting
69aa42e2f5dc: Verifying Checksum
69aa42e2f5dc: Download complete
c2c3414b1d6b: Verifying Checksum
c2c3414b1d6b: Download complete
1890b0d39646: Verifying Checksum
1890b0d39646: Download complete
7cef8de23212: Verifying Checksum
7cef8de23212: Download complete
c150dd3f5fc9: Verifying Checksum
c150dd3f5fc9: Download complete
de73ef470b7b: Verifying Checksum
de73ef470b7b: Download complete
edd2033e60e9: Verifying Checksum
edd2033e60e9: Download complete
b267853a2602: Verifying Checksum
b267853a2602: Download complete
c150dd3f5fc9: Pull complete
c2c3414b1d6b: Pull complete
de73ef470b7b: Pull complete
b267853a2602: Pull complete
69aa42e2f5dc: Pull complete
edd2033e60e9: Pull complete
1890b0d39646: Pull complete
7cef8de23212: Pull complete
Digest: sha256:e7d95ac7c2c482384615faea13520d7125d3776b8aa3c57355a57fb0ab1c4f2e
Status: Downloaded newer image for node:22
docker.io/library/node:22
++ cat ./cmd/version.txt
+ export VERSION=0.31.0
+ VERSION=0.31.0
+ chmod +x .ci/sample_tests/run_tests.sh
+ .ci/sample_tests/run_tests.sh
Installing system packages...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [294 kB]
Fetched 9347 kB in 1s (8600 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.21.3-1+deb12u1).
The following additional packages will be installed:
postgresql-client-15 postgresql-client-common
Suggested packages:
postgresql-15 postgresql-doc-15
The following NEW packages will be installed:
gettext-base netcat-openbsd postgresql-client postgresql-client-15
postgresql-client-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1988 kB of archives.
After this operation, 9362 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 netcat-openbsd amd64 1.219-1 [41.5 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248+deb12u1 [35.2 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 postgresql-client-15 amd64 15.16-0+deb12u1 [1741 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 postgresql-client all 15+248+deb12u1 [10.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1988 kB in 0s (21.3 MB/s)
Selecting previously unselected package gettext-base.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23258 files and directories currently installed.)
Preparing to unpack .../gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package netcat-openbsd.
Preparing to unpack .../netcat-openbsd_1.219-1_amd64.deb ...
Unpacking netcat-openbsd (1.219-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_248+deb12u1_all.deb ...
Unpacking postgresql-client-common (248+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../postgresql-client-15_15.16-0+deb12u1_amd64.deb ...
Unpacking postgresql-client-15 (15.16-0+deb12u1) ...
Selecting previously unselected package postgresql-client.
Preparing to unpack .../postgresql-client_15+248+deb12u1_all.deb ...
Unpacking postgresql-client (15+248+deb12u1) ...
Setting up postgresql-client-common (248+deb12u1) ...
Setting up netcat-openbsd (1.219-1) ...
update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode
Setting up gettext-base (0.21-12) ...
Setting up postgresql-client-15 (15.16-0+deb12u1) ...
update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-client (15+248+deb12u1) ...
Starting Cloud SQL Proxy...
Cloud SQL Proxy is up and running.
Setting up Toolbox server...
Toolbox server is up and running.
Setting up database table hotels_js using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/documentation/getting-started/quickstart/js for tests with pattern quickstart.js...
--- Running JS Test: genAI ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 63 packages, and audited 64 packages in 2s
15 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1054) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: genAI Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 9364.831779
type: 'test'
...
1..1
ok 1 - genAI Quickstart Agent
---
duration_ms: 9366.342089
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 9676.422723
--- Running JS Test: langchain ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated @langchain/langgraph-sdk@2.0.0: This version is not intended for use. Please use 1.x versions of @langchain/langgraph-sdk instead
added 124 packages, and audited 125 packages in 4s
37 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: langchain Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 14155.905897
type: 'test'
...
1..1
ok 1 - langchain Quickstart Agent
---
duration_ms: 14157.578707
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 14854.324193
--- Running JS Test: genkit ---
npm warn deprecated @types/handlebars@4.1.0: This is a stub types definition. handlebars provides its own type definitions, so you do not need this installed.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 541 packages, and audited 542 packages in 11s
46 packages are looking for funding
run `npm fund` for details
17 low severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: genkit Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 8153.747269
type: 'test'
...
1..1
ok 1 - genkit Quickstart Agent
---
duration_ms: 8155.307389
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8953.229557
--- Running JS Test: llamaindex ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated @finom/zod-to-json-schema@3.24.11: Use https://www.npmjs.com/package/zod-v3-to-json-schema instead. See issue comment for details: https://github.com/StefanTerdell/zod-to-json-schema/issues/178#issuecomment-3533122539
added 104 packages, and audited 105 packages in 3s
27 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1198) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: llamaindex Quickstart Agent
# Subtest: outputContainsRequiredKeywords
not ok 1 - outputContainsRequiredKeywords
---
duration_ms: 6471.016146
type: 'test'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:45:3'
failureType: 'unhandledRejection'
error: '{"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}'
code: 'ERR_TEST_FAILURE'
name: 'ApiError'
stack: |-
throwErrorIfNotOK (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:14073:30)
process.processTicksAndRejections (node:internal/process/task_queues:103:5)
async file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:13864:13
async Models.generateContentStream (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:15205:24)
...
1..1
not ok 1 - llamaindex Quickstart Agent
---
duration_ms: 6473.642625
type: 'suite'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:30:1'
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
# Error: A resource generated asynchronous activity after the test ended. This activity created the error "ApiError: {"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}" which triggered an unhandledRejection event, caught by the test runner.
1..1
# tests 1
# suites 1
# pass 0
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7487.937846
Cleaning up background processes...
ERROR
ERROR: build step 0 "node:22" failed: step exited with non-zero status: 1
starting build "8cb4fe9d-2ef7-47c9-8adc-d5a8ef711f8b"
FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
* branch 4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337 -> FETCH_HEAD
HEAD is now at 4a2f8a4 Merge branch 'main' into update-deps
GitCommit:
4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337
BUILD
Pulling image: node:22
22: Pulling from library/node
c150dd3f5fc9: Pulling fs layer
c2c3414b1d6b: Pulling fs layer
de73ef470b7b: Pulling fs layer
b267853a2602: Pulling fs layer
69aa42e2f5dc: Pulling fs layer
edd2033e60e9: Pulling fs layer
1890b0d39646: Pulling fs layer
7cef8de23212: Pulling fs layer
1890b0d39646: Waiting
7cef8de23212: Waiting
69aa42e2f5dc: Verifying Checksum
69aa42e2f5dc: Download complete
c2c3414b1d6b: Verifying Checksum
c2c3414b1d6b: Download complete
1890b0d39646: Verifying Checksum
1890b0d39646: Download complete
7cef8de23212: Verifying Checksum
7cef8de23212: Download complete
c150dd3f5fc9: Verifying Checksum
c150dd3f5fc9: Download complete
de73ef470b7b: Verifying Checksum
de73ef470b7b: Download complete
edd2033e60e9: Verifying Checksum
edd2033e60e9: Download complete
b267853a2602: Verifying Checksum
b267853a2602: Download complete
c150dd3f5fc9: Pull complete
c2c3414b1d6b: Pull complete
de73ef470b7b: Pull complete
b267853a2602: Pull complete
69aa42e2f5dc: Pull complete
edd2033e60e9: Pull complete
1890b0d39646: Pull complete
7cef8de23212: Pull complete
Digest: sha256:e7d95ac7c2c482384615faea13520d7125d3776b8aa3c57355a57fb0ab1c4f2e
Status: Downloaded newer image for node:22
docker.io/library/node:22
++ cat ./cmd/version.txt
+ export VERSION=0.31.0
+ VERSION=0.31.0
+ chmod +x .ci/sample_tests/run_tests.sh
+ .ci/sample_tests/run_tests.sh
Installing system packages...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:6
...
[Logs truncated due to log size limitations. For full logs, see https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22build%22+AND+resource.labels.build_id%3D%228cb4fe9d-2ef7-47c9-8adc-d5a8ef711f8b%22+AND+resource.labels.build_trigger_id%3D%223c157347-301a-4bc0-84c5-e2f6853d6d5e%22&project=toolbox-testing-438616.]
...
ailureType: 'unhandledRejection'
error: '{"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}'
code: 'ERR_TEST_FAILURE'
name: 'ApiError'
stack: |-
throwErrorIfNotOK (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:14073:30)
process.processTicksAndRejections (node:internal/process/task_queues:103:5)
async file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:13864:13
async Models.generateContentStream (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:15205:24)
...
1..1
not ok 1 - llamaindex Quickstart Agent
---
duration_ms: 6473.642625
type: 'suite'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:30:1'
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
# Error: A resource generated asynchronous activity after the test ended. This activity created the error "ApiError: {"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}" which triggered an unhandledRejection event, caught by the test runner.
1..1
# tests 1
# suites 1
# pass 0
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7487.937846
Cleaning up background processes...
ERROR
ERROR: build step 0 "node:22" failed: step exited with non-zero status: 1
starting build "8cb4fe9d-2ef7-47c9-8adc-d5a8ef711f8b"
FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
* branch 4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337 -> FETCH_HEAD
HEAD is now at 4a2f8a4 Merge branch 'main' into update-deps
GitCommit:
4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337
BUILD
Pulling image: node:22
22: Pulling from library/node
c150dd3f5fc9: Pulling fs layer
c2c3414b1d6b: Pulling fs layer
de73ef470b7b: Pulling fs layer
b267853a2602: Pulling fs layer
69aa42e2f5dc: Pulling fs layer
edd2033e60e9: Pulling fs layer
1890b0d39646: Pulling fs layer
7cef8de23212: Pulling fs layer
1890b0d39646: Waiting
7cef8de23212: Waiting
69aa42e2f5dc: Verifying Checksum
69aa42e2f5dc: Download complete
c2c3414b1d6b: Verifying Checksum
c2c3414b1d6b: Download complete
1890b0d39646: Verifying Checksum
1890b0d39646: Download complete
7cef8de23212: Verifying Checksum
7cef8de23212: Download complete
c150dd3f5fc9: Verifying Checksum
c150dd3f5fc9: Download complete
de73ef470b7b: Verifying Checksum
de73ef470b7b: Download complete
edd2033e60e9: Verifying Checksum
edd2033e60e9: Download complete
b267853a2602: Verifying Checksum
b267853a2602: Download complete
c150dd3f5fc9: Pull complete
c2c3414b1d6b: Pull complete
de73ef470b7b: Pull complete
b267853a2602: Pull complete
69aa42e2f5dc: Pull complete
edd2033e60e9: Pull complete
1890b0d39646: Pull complete
7cef8de23212: Pull complete
Digest: sha256:e7d95ac7c2c482384615faea13520d7125d3776b8aa3c57355a57fb0ab1c4f2e
Status: Downloaded newer image for node:22
docker.io/library/node:22
++ cat ./cmd/version.txt
+ export VERSION=0.31.0
+ VERSION=0.31.0
+ chmod +x .ci/sample_tests/run_tests.sh
+ .ci/sample_tests/run_tests.sh
Installing system packages...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [294 kB]
Fetched 9347 kB in 1s (8600 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.21.3-1+deb12u1).
The following additional packages will be installed:
postgresql-client-15 postgresql-client-common
Suggested packages:
postgresql-15 postgresql-doc-15
The following NEW packages will be installed:
gettext-base netcat-openbsd postgresql-client postgresql-client-15
postgresql-client-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1988 kB of archives.
After this operation, 9362 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 netcat-openbsd amd64 1.219-1 [41.5 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248+deb12u1 [35.2 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 postgresql-client-15 amd64 15.16-0+deb12u1 [1741 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 postgresql-client all 15+248+deb12u1 [10.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1988 kB in 0s (21.3 MB/s)
Selecting previously unselected package gettext-base.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23258 files and directories currently installed.)
Preparing to unpack .../gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package netcat-openbsd.
Preparing to unpack .../netcat-openbsd_1.219-1_amd64.deb ...
Unpacking netcat-openbsd (1.219-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_248+deb12u1_all.deb ...
Unpacking postgresql-client-common (248+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../postgresql-client-15_15.16-0+deb12u1_amd64.deb ...
Unpacking postgresql-client-15 (15.16-0+deb12u1) ...
Selecting previously unselected package postgresql-client.
Preparing to unpack .../postgresql-client_15+248+deb12u1_all.deb ...
Unpacking postgresql-client (15+248+deb12u1) ...
Setting up postgresql-client-common (248+deb12u1) ...
Setting up netcat-openbsd (1.219-1) ...
update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode
Setting up gettext-base (0.21-12) ...
Setting up postgresql-client-15 (15.16-0+deb12u1) ...
update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-client (15+248+deb12u1) ...
Starting Cloud SQL Proxy...
Cloud SQL Proxy is up and running.
Setting up Toolbox server...
Toolbox server is up and running.
Setting up database table hotels_js using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/documentation/getting-started/quickstart/js for tests with pattern quickstart.js...
--- Running JS Test: genAI ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 63 packages, and audited 64 packages in 2s
15 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1054) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: genAI Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 9364.831779
type: 'test'
...
1..1
ok 1 - genAI Quickstart Agent
---
duration_ms: 9366.342089
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 9676.422723
--- Running JS Test: langchain ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated @langchain/langgraph-sdk@2.0.0: This version is not intended for use. Please use 1.x versions of @langchain/langgraph-sdk instead
added 124 packages, and audited 125 packages in 4s
37 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: langchain Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 14155.905897
type: 'test'
...
1..1
ok 1 - langchain Quickstart Agent
---
duration_ms: 14157.578707
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 14854.324193
--- Running JS Test: genkit ---
npm warn deprecated @types/handlebars@4.1.0: This is a stub types definition. handlebars provides its own type definitions, so you do not need this installed.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 541 packages, and audited 542 packages in 11s
46 packages are looking for funding
run `npm fund` for details
17 low severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: genkit Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 8153.747269
type: 'test'
...
1..1
ok 1 - genkit Quickstart Agent
---
duration_ms: 8155.307389
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8953.229557
--- Running JS Test: llamaindex ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated @finom/zod-to-json-schema@3.24.11: Use https://www.npmjs.com/package/zod-v3-to-json-schema instead. See issue comment for details: https://github.com/StefanTerdell/zod-to-json-schema/issues/178#issuecomment-3533122539
added 104 packages, and audited 105 packages in 3s
27 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1198) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: llamaindex Quickstart Agent
# Subtest: outputContainsRequiredKeywords
not ok 1 - outputContainsRequiredKeywords
---
duration_ms: 6471.016146
type: 'test'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:45:3'
failureType: 'unhandledRejection'
error: '{"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}'
code: 'ERR_TEST_FAILURE'
name: 'ApiError'
stack: |-
throwErrorIfNotOK (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:14073:30)
process.processTicksAndRejections (node:internal/process/task_queues:103:5)
async file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:13864:13
async Models.generateContentStream (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:15205:24)
...
1..1
not ok 1 - llamaindex Quickstart Agent
---
duration_ms: 6473.642625
type: 'suite'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:30:1'
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
# Error: A resource generated asynchronous activity after the test ended. This activity created the error "ApiError: {"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}" which triggered an unhandledRejection event, caught by the test runner.
1..1
# tests 1
# suites 1
# pass 0
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7487.937846
Cleaning up background processes...
ERROR
ERROR: build step 0 "node:22" failed: step exited with non-zero status: 1
starting build "8cb4fe9d-2ef7-47c9-8adc-d5a8ef711f8b"
FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
* branch 4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337 -> FETCH_HEAD
HEAD is now at 4a2f8a4 Merge branch 'main' into update-deps
GitCommit:
4a2f8a475b36d9c65d08347d9fc2b7d5b87ea337
BUILD
Pulling image: node:22
22: Pulling from library/node
c150dd3f5fc9: Pulling fs layer
c2c3414b1d6b: Pulling fs layer
de73ef470b7b: Pulling fs layer
b267853a2602: Pulling fs layer
69aa42e2f5dc: Pulling fs layer
edd2033e60e9: Pulling fs layer
1890b0d39646: Pulling fs layer
7cef8de23212: Pulling fs layer
1890b0d39646: Waiting
7cef8de23212: Waiting
69aa42e2f5dc: Verifying Checksum
69aa42e2f5dc: Download complete
c2c3414b1d6b: Verifying Checksum
c2c3414b1d6b: Download complete
1890b0d39646: Verifying Checksum
1890b0d39646: Download complete
7cef8de23212: Verifying Checksum
7cef8de23212: Download complete
c150dd3f5fc9: Verifying Checksum
c150dd3f5fc9: Download complete
de73ef470b7b: Verifying Checksum
de73ef470b7b: Download complete
edd2033e60e9: Verifying Checksum
edd2033e60e9: Download complete
b267853a2602: Verifying Checksum
b267853a2602: Download complete
c150dd3f5fc9: Pull complete
c2c3414b1d6b: Pull complete
de73ef470b7b: Pull complete
b267853a2602: Pull complete
69aa42e2f5dc: Pull complete
edd2033e60e9: Pull complete
1890b0d39646: Pull complete
7cef8de23212: Pull complete
Digest: sha256:e7d95ac7c2c482384615faea13520d7125d3776b8aa3c57355a57fb0ab1c4f2e
Status: Downloaded newer image for node:22
docker.io/library/node:22
++ cat ./cmd/version.txt
+ export VERSION=0.31.0
+ VERSION=0.31.0
+ chmod +x .ci/sample_tests/run_tests.sh
+ .ci/sample_tests/run_tests.sh
Installing system packages...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [294 kB]
Fetched 9347 kB in 1s (8600 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.21.3-1+deb12u1).
The following additional packages will be installed:
postgresql-client-15 postgresql-client-common
Suggested packages:
postgresql-15 postgresql-doc-15
The following NEW packages will be installed:
gettext-base netcat-openbsd postgresql-client postgresql-client-15
postgresql-client-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1988 kB of archives.
After this operation, 9362 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 netcat-openbsd amd64 1.219-1 [41.5 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248+deb12u1 [35.2 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 postgresql-client-15 amd64 15.16-0+deb12u1 [1741 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 postgresql-client all 15+248+deb12u1 [10.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1988 kB in 0s (21.3 MB/s)
Selecting previously unselected package gettext-base.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23258 files and directories currently installed.)
Preparing to unpack .../gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package netcat-openbsd.
Preparing to unpack .../netcat-openbsd_1.219-1_amd64.deb ...
Unpacking netcat-openbsd (1.219-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../postgresql-client-common_248+deb12u1_all.deb ...
Unpacking postgresql-client-common (248+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../postgresql-client-15_15.16-0+deb12u1_amd64.deb ...
Unpacking postgresql-client-15 (15.16-0+deb12u1) ...
Selecting previously unselected package postgresql-client.
Preparing to unpack .../postgresql-client_15+248+deb12u1_all.deb ...
Unpacking postgresql-client (15+248+deb12u1) ...
Setting up postgresql-client-common (248+deb12u1) ...
Setting up netcat-openbsd (1.219-1) ...
update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode
Setting up gettext-base (0.21-12) ...
Setting up postgresql-client-15 (15.16-0+deb12u1) ...
update-alternatives: using /usr/share/postgresql/15/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-client (15+248+deb12u1) ...
Starting Cloud SQL Proxy...
Cloud SQL Proxy is up and running.
Setting up Toolbox server...
Toolbox server is up and running.
Setting up database table hotels_js using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/documentation/getting-started/quickstart/js for tests with pattern quickstart.js...
--- Running JS Test: genAI ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 63 packages, and audited 64 packages in 2s
15 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1054) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts thoughtSignature in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: genAI Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 9364.831779
type: 'test'
...
1..1
ok 1 - genAI Quickstart Agent
---
duration_ms: 9366.342089
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 9676.422723
--- Running JS Test: langchain ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated @langchain/langgraph-sdk@2.0.0: This version is not intended for use. Please use 1.x versions of @langchain/langgraph-sdk instead
added 124 packages, and audited 125 packages in 4s
37 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: langchain Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 14155.905897
type: 'test'
...
1..1
ok 1 - langchain Quickstart Agent
---
duration_ms: 14157.578707
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 14854.324193
--- Running JS Test: genkit ---
npm warn deprecated @types/handlebars@4.1.0: This is a stub types definition. handlebars provides its own type definitions, so you do not need this installed.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
added 541 packages, and audited 542 packages in 11s
46 packages are looking for funding
run `npm fund` for details
17 low severity vulnerabilities
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# Subtest: genkit Quickstart Agent
# Subtest: outputContainsRequiredKeywords
ok 1 - outputContainsRequiredKeywords
---
duration_ms: 8153.747269
type: 'test'
...
1..1
ok 1 - genkit Quickstart Agent
---
duration_ms: 8155.307389
type: 'suite'
...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8953.229557
--- Running JS Test: llamaindex ---
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated @finom/zod-to-json-schema@3.24.11: Use https://www.npmjs.com/package/zod-v3-to-json-schema instead. See issue comment for details: https://github.com/StefanTerdell/zod-to-json-schema/issues/178#issuecomment-3533122539
added 104 packages, and audited 105 packages in 3s
27 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Found native test: ./quickstart.test.js. Running node --test...
TAP version 13
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# A newer version of MCP: 2025-11-25 is available. Please use the latest version 2025-11-25 to use the latest features.
# (node:1198) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
# (Use `node --trace-deprecation ...` to show where the warning was created)
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# there are non-text parts functionCall in the response, returning concatenation of all text parts. Please refer to the non text parts for a full response from model.
# Subtest: llamaindex Quickstart Agent
# Subtest: outputContainsRequiredKeywords
not ok 1 - outputContainsRequiredKeywords
---
duration_ms: 6471.016146
type: 'test'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:45:3'
failureType: 'unhandledRejection'
error: '{"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}'
code: 'ERR_TEST_FAILURE'
name: 'ApiError'
stack: |-
throwErrorIfNotOK (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:14073:30)
process.processTicksAndRejections (node:internal/process/task_queues:103:5)
async file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:13864:13
async Models.generateContentStream (file:///workspace/docs/en/documentation/getting-started/quickstart/js/llamaindex/node_modules/@google/genai/dist/node/index.mjs:15205:24)
...
1..1
not ok 1 - llamaindex Quickstart Agent
---
duration_ms: 6473.642625
type: 'suite'
location: '/workspace/docs/en/documentation/getting-started/quickstart/js/quickstart.test.js:30:1'
failureType: 'subtestsFailed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
...
# Error: A resource generated asynchronous activity after the test ended. This activity created the error "ApiError: {"error":{"message":"{\\n \\"error\\": {\\n \\"code\\": 429,\\n \\"message\\": \\"Resource exhausted. Please try again later. Please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/error-code-429 for more details.\\",\\n \\"status\\": \\"RESOURCE_EXHAUSTED\\"\\n }\\n}\\n","code":429,"status":"Too Many Requests"}}" which triggered an unhandledRejection event, caught by the test runner.
1..1
# tests 1
# suites 1
# pass 0
# fail 1
# cancelled 0
# skipped 0
# todo 0
# duration_ms 7487.937846
Cleaning up background processes...
ERROR
ERROR: build step 0 "node:22" failed: step exited with non-zero status: 1
Loading