Skip to content

Fix link check test - #2691

Closed
rahulpinto19 wants to merge 28 commits into
googleapis:fix-link-check-testfrom
rahulpinto19:fix-link-check-test
Closed

Fix link check test#2691
rahulpinto19 wants to merge 28 commits into
googleapis:fix-link-check-testfrom
rahulpinto19:fix-link-check-test

test

564c2f6
Select commit
Loading
Failed to load commit list.
Google Cloud Build / pre-post-processing-test-js (toolbox-testing-438616) succeeded Mar 10, 2026 in 55s

Summary

Build Information

Trigger pre-post-processing-test-js
Build 3e20b433-f018-40a2-af6f-45971d6c3cff
Start 2026-03-10T02:04:16-07:00
Duration 53.382s
Status SUCCESS

Steps

Step Status Duration
js-pre-post-processing-test SUCCESS 46.976s

Details


starting build "3e20b433-f018-40a2-af6f-45971d6c3cff"

FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
 * branch            564c2f69286b129aa1802ffe48ab254463ba7297 -> FETCH_HEAD
HEAD is now at 564c2f6 test
GitCommit:
564c2f69286b129aa1802ffe48ab254463ba7297
BUILD
Pulling image: node:22
22: Pulling from library/node
6a7e0620566c: Already exists
aab3b37e4807: Already exists
fa27031269f0: Already exists
c032818082ff: Already exists
1bea79857a56: Pulling fs layer
89e89251b642: Pulling fs layer
8004d887531e: Pulling fs layer
ac992760fada: Pulling fs layer
1bea79857a56: Download complete
8004d887531e: Verifying Checksum
8004d887531e: Download complete
1bea79857a56: Pull complete
ac992760fada: Verifying Checksum
ac992760fada: Download complete
89e89251b642: Verifying Checksum
89e89251b642: Download complete
89e89251b642: Pull complete
8004d887531e: Pull complete
ac992760fada: Pull complete
Digest: sha256:b501c082306a4f528bc4038cbf2fbb58095d583d0419a259b2114b5ac53d12e9
Status: Downloaded newer image for node:22
docker.io/library/node:22
+ 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 [293 kB]
Fetched 9346 kB in 1s (8698 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 (26.5 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_pre_post_processing using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/samples/pre_post_processing/js for tests with pattern agent.js...
--- 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

added 128 packages, and audited 129 packages in 3s

36 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Found native test: ./agent.test.js. Running node --test...
TAP version 13
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# Subtest: langchain Pre/Post Processing Agent
    # Subtest: runs without errors and outputContainsRequiredKeywords
    ok 1 - runs without errors and outputContainsRequiredKeywords
      ---
      duration_ms: 3797.069323
      type: 'test'
      ...
    1..1
ok 1 - langchain Pre/Post Processing Agent
  ---
  duration_ms: 3798.562453
  type: 'suite'
  ...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 4429.497611
--- Running JS Test: adk ---
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: 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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: 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 glob@7.2.3: 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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated tar@6.2.1: Old versions of tar 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 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

added 569 packages, and audited 570 packages in 12s

96 packages are looking for funding
  run `npm fund` for details

15 vulnerabilities (5 low, 10 high)

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: ./agent.test.js. Running node --test...
TAP version 13
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-805cfdf1-9b5c-48bb-a0b0-e04555f0e259","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Book hotel with id 3."}]},"id":"ZOK5tHyw","longRunningToolIds":[],"timestamp":1773133501337}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-93c06aeb-b909-42c3-9c64-4b828643c48c","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Book hotel with id 3."}]},"id":"ookcWIJz","longRunningToolIds":[],"timestamp":1773133501406}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-a4312e4f-8bc5-4d8a-9210-84261df3b4cf","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10"}]},"id":"qwDYrJpN","longRunningToolIds":[],"timestamp":1773133503138}
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-93c06aeb-b909-42c3-9c64-4b828643c48c","author":"hotel_agent","id":"GGjDKHLZ","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"longRunningToolIds":[],"timestamp":1773133502635,"content":{"parts":[{"text":"Booking Confirmed! You earned 500 Loyalty Points with this stay."}],"role":"model"},"usageMetadata":{"promptTokenCount":489,"candidatesTokenCount":16,"totalTokenCount":505,"promptTokensDetails":[{"modality":"TEXT","tokenCount":489}]},"finishReason":"STOP"}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# Subtest: adk Pre/Post Processing Agent
    # Subtest: runs without errors and outputContainsRequiredKeywords
    ok 1 - runs without errors and outputContainsRequiredKeywords
      ---
      duration_ms: 3489.444792
      type: 'test'
      ...
    1..1
ok 1 - adk Pre/Post Processing Agent
  ---
  duration_ms: 3491.034853
  type: 'suite'
  ...
# --------------------------------------------------
# AI: Booking Confirmed! You earned 500 Loyalty Points with this stay.
# USER: 'Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10'
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-71c1d87d-0073-4567-8102-41bafa3d830a","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10"}]},"id":"dvPo53E2","longRunningToolIds":[],"timestamp":1773133505071}
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-805cfdf1-9b5c-48bb-a0b0-e04555f0e259","author":"hotel_agent","id":"Xa3ow1Rp","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"longRunningToolIds":[],"timestamp":1773133503064,"content":{"parts":[{"text":"Booking Confirmed! You earned 500 Loyalty Points with this stay."}],"role":"model"},"usageMetadata":{"promptTokenCount":489,"candidatesTokenCount":16,"totalTokenCount":505,"promptTokensDetails":[{"modality":"TEXT","tokenCount":489}]},"finishReason":"STOP"}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# POLICY CHECK: Intercepting 'update-hotel'
# BLOCKED: Stay too long
# ENRICHING RESPONSE: Intercepting 'update-hotel'
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# tests 1
# suites 1
# duration_ms 8179.419113

starting build "3e20b433-f018-40a2-af6f-45971d6c3cff"

FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
 * branch            564c2f69286b129aa1802ffe48ab254463ba7297 -> FETCH_HEAD
HEAD is now at 564c2f6 test
GitCommit:
564c2f69286b129aa1802ffe48ab254463ba7297
BUILD
Pulling image: node:22
22: Pulling from library/node
6a7e0620566c: Already exists
aab3b37e4807: Already exists
fa27031269f0: Already exists
c032818082ff: Already exists
1bea79857a56: Pulling fs layer
89e89251b642: Pulling fs layer
8004d887531e: Pulling fs layer
ac992760fada: Pulling fs layer
1bea79857a56: Download complete
8004d887531e: Verifying Checksum
8004d887531e: Download complete
1bea79857a56: Pull complete
ac992760fada: Verifying Checksum
ac992760fada: Download complete
89e89251b642: Verifying Checksum
89e89251b642: Download complete
89e89251b642: Pull complete
8004d887531e: Pull complete
ac992760fada: Pull complete
Digest: sha256:b501c082306a4f528bc4038cbf2fbb58095d583d0419a259b2114b5ac53d12e9
Status: Downloaded newer image for node:22
docker.io/library/node:22
+ 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 [293 kB]
Fetched 9346 kB in 1s (8698 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 (26.5 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_pre_post_processing using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/samples/pre_post_processing/js for tests with pattern agent.js...
--- 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

added 128 packages, and audited 129 packages in 3s

36 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Found native test: ./agent.test.js. Running node --test...
TAP version 13
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# Subtest: langchain Pre/Post Processing Agent
    # Subtest: runs without errors and outputContainsRequiredKeywords
    ok 1 - runs without errors and outputContainsRequiredKeywords
      ---
      duration_ms: 3797.069323
      type: 'test'
      ...
    1..1
ok 1 - langchain Pre/Post Processing Agent
  ---
  duration_ms: 3798.562453
  type: 'suite'
  ...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 4429.497611
--- Running JS Test: adk ---
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: 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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: 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 glob@7.2.3: 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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated tar@6.2.1: Old versions of tar 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 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

added 569 packages, and audited 570 packages in 12s

96 packages are looking for funding
  run `npm fund` for details

15 vulnerabilities (5 low, 10 high)

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: ./agent.test.js. Running node --test...
TAP version 13
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-805cfdf1-9b5c-48bb-a0b0-e04555f0e259","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Book hotel with id 3."}]},"id":"ZOK5tHyw","longRunningToolIds":[],"timestamp":1773133501337}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-93c06aeb-b909-42c3-9c64-4b828643c48c","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Book hotel with id 3."}]},"id":"ookcWIJz","longRunningToolIds":[],"timestamp":1773133501406}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-a4312e4f-8bc5-4d8a-9210-84261df3b4cf","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10"}]},"id":"qwDYrJpN","longRunningToolIds":[],"timestamp":1773133503138}
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-93c06aeb-b909-42c3-9c64-4b828643c48c","author":"hotel_agent","id":"GGjDKHLZ","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"longRunningToolIds":[],"timestamp":1773133502635,"content":{"parts":[{"text":"Booking Confirmed! You earned 500 Loyalty Points with this stay."}],"role":"model"},"usageMetadata":{"promptTokenCount":489,"candidatesTokenCount":16,"totalTokenCount":505,"promptTokensDetails":[{"modality":"TEXT","tokenCount":489}]},"finishReason":"STOP"}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# Subtest: adk Pre/Post Processing Agent
    # Subtest: runs without errors and outputContainsRequiredKeywords
    ok 1 - runs without errors and outputContainsRequiredKeywords
      ---
      duration_ms: 3489.444792
      type: 'test'
      ...
    1..1
ok 1 - adk Pre/Post Processing Agent
  ---
  duration_ms: 3491.034853
  type: 'suite'
  ...
# --------------------------------------------------
# AI: Booking Confirmed! You earned 500 Loyalty Points with this stay.
# USER: 'Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10'
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-71c1d87d-0073-4567-8102-41bafa3d830a","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10"}]},"id":"dvPo53E2","longRunningToolIds":[],"timestamp":1773133505071}
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-805cfdf1-9b5c-48bb-a0b0-e04555f0e259","author":"hotel_agent","id":"Xa3ow1Rp","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"longRunningToolIds":[],"timestamp":1773133503064,"content":{"parts":[{"text":"Booking Confirmed! You earned 500 Loyalty Points with this stay."}],"role":"model"},"usageMetadata":{"promptTokenCount":489,"candidatesTokenCount":16,"totalTokenCount":505,"promptTokensDetails":[{"modality":"TEXT","tokenCount":489}]},"finishReason":"STOP"}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# POLICY CHECK: Intercepting 'update-hotel'
# BLOCKED: Stay too long
# ENRICHING RESPONSE: Intercepting 'update-hotel'
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# tests 1
# suites 1
# duration_ms 8179.419113

starting build "3e20b433-f018-40a2-af6f-45971d6c3cff"

FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
 * branch            564c2f69286b129aa1802ffe48ab254463ba7297 -> FETCH_HEAD
HEAD is now at 564c2f6 test
GitCommit:
564c2f69286b129aa1802ffe48ab254463ba7297
BUILD
Pulling image: node:22
22: Pulling from library/node
6a7e0620566c: Already exists
aab3b37e4807: Already exists
fa27031269f0: Already exists
c032818082ff: Already exists
1bea79857a56: Pulling fs layer
89e89251b642: Pulling fs layer
8004d887531e: Pulling fs layer
ac992760fada: Pulling fs layer
1bea79857a56: Download complete
8004d887531e: Verifying Checksum
8004d887531e: Download complete
1bea79857a56: Pull complete
ac992760fada: Verifying Checksum
ac992760fada: Download complete
89e89251b642: Verifying Checksum
89e89251b642: Download complete
89e89251b642: Pull complete
8004d887531e: Pull complete
ac992760fada: Pull complete
Digest: sha256:b501c082306a4f528bc4038cbf2fbb58095d583d0419a259b2114b5ac53d12e9
Status: Downloaded newer image for node:22
docker.io/library/node:22
+ 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 [293 kB]
Fetched 9346 kB in 1s (8698 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 (26.5 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_pre_post_processing using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/samples/pre_post_processing/js for tests with pattern agent.js...
--- 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

added 128 packages, and audited 129 packages in 3s

36 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Found native test: ./agent.test.js. Running node --test...
TAP version 13
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# Subtest: langchain Pre/Post Processing Agent
    # Subtest: runs without errors and outputContainsRequiredKeywords
    ok 1 - runs without errors and outputContainsRequiredKeywords
      ---
      duration_ms: 3797.069323
      type: 'test'
      ...
    1..1
ok 1 - langchain Pre/Post Processing Agent
  ---
  duration_ms: 3798.562453
  type: 'suite'
  ...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 4429.497611
--- Running JS Test: adk ---
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: 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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: 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 glob@7.2.3: 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 rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated tar@6.2.1: Old versions of tar 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 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

added 569 packages, and audited 570 packages in 12s

96 packages are looking for funding
  run `npm fund` for details

15 vulnerabilities (5 low, 10 high)

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: ./agent.test.js. Running node --test...
TAP version 13
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# A newer version of MCP: v2025-11-25 is available. Please use MCP_v20251125 to use the latest features.
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-805cfdf1-9b5c-48bb-a0b0-e04555f0e259","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Book hotel with id 3."}]},"id":"ZOK5tHyw","longRunningToolIds":[],"timestamp":1773133501337}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-93c06aeb-b909-42c3-9c64-4b828643c48c","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Book hotel with id 3."}]},"id":"ookcWIJz","longRunningToolIds":[],"timestamp":1773133501406}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-a4312e4f-8bc5-4d8a-9210-84261df3b4cf","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10"}]},"id":"qwDYrJpN","longRunningToolIds":[],"timestamp":1773133503138}
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-93c06aeb-b909-42c3-9c64-4b828643c48c","author":"hotel_agent","id":"GGjDKHLZ","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"longRunningToolIds":[],"timestamp":1773133502635,"content":{"parts":[{"text":"Booking Confirmed! You earned 500 Loyalty Points with this stay."}],"role":"model"},"usageMetadata":{"promptTokenCount":489,"candidatesTokenCount":16,"totalTokenCount":505,"promptTokensDetails":[{"modality":"TEXT","tokenCount":489}]},"finishReason":"STOP"}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# Subtest: adk Pre/Post Processing Agent
    # Subtest: runs without errors and outputContainsRequiredKeywords
    ok 1 - runs without errors and outputContainsRequiredKeywords
      ---
      duration_ms: 3489.444792
      type: 'test'
      ...
    1..1
ok 1 - adk Pre/Post Processing Agent
  ---
  duration_ms: 3491.034853
  type: 'suite'
  ...
# --------------------------------------------------
# AI: Booking Confirmed! You earned 500 Loyalty Points with this stay.
# USER: 'Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10'
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-71c1d87d-0073-4567-8102-41bafa3d830a","author":"user","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"content":{"role":"user","parts":[{"text":"Update my hotel with id 3 with checkin date 2025-01-18 and checkout date 2025-02-10"}]},"id":"dvPo53E2","longRunningToolIds":[],"timestamp":1773133505071}
# �[32m[ADK INFO]:�[0m event:  {"invocationId":"e-805cfdf1-9b5c-48bb-a0b0-e04555f0e259","author":"hotel_agent","id":"Xa3ow1Rp","actions":{"stateDelta":{},"artifactDelta":{},"requestedAuthConfigs":{},"requestedToolConfirmations":{}},"longRunningToolIds":[],"timestamp":1773133503064,"content":{"parts":[{"text":"Booking Confirmed! You earned 500 Loyalty Points with this stay."}],"role":"model"},"usageMetadata":{"promptTokenCount":489,"candidatesTokenCount":16,"totalTokenCount":505,"promptTokensDetails":[{"modality":"TEXT","tokenCount":489}]},"finishReason":"STOP"}
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# POLICY CHECK: Intercepting 'update-hotel'
# BLOCKED: Stay too long
# ENRICHING RESPONSE: Intercepting 'update-hotel'
# �[32m[ADK INFO]:�[0m Sending out request, model: gemini-2.5-flash, backend: GEMINI_API, stream: false
# --------------------------------------------------
# AI: Error: Maximum stay duration is 14 days.
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 8179.419113
Cleaning up background processes...
PUSH
DONE

Build Log: https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22build%22+AND+resource.labels.build_id%3D%223e20b433-f018-40a2-af6f-45971d6c3cff%22+AND+resource.labels.build_trigger_id%3D%2216471e14-5416-4e12-80e4-ddb79d7933b4%22&project=toolbox-testing-438616