Skip to content

Merge branch 'main' into adk-python-processing

dbe1c2d
Select commit
Loading
Failed to load commit list.
Merged

docs: add pre/post processing docs for ADK Python #2534

Merge branch 'main' into adk-python-processing
dbe1c2d
Select commit
Loading
Failed to load commit list.
Google Cloud Build / pre-post-processing-test-py (toolbox-testing-438616) failed Feb 26, 2026 in 4m 16s

Summary

Build Information

Trigger pre-post-processing-test-py
Build 9a225f16-3c5f-4176-b6f1-85de8632fbf2
Start 2026-02-26T06:05:27-08:00
Duration 4m14.315s
Status FAILURE

Steps

Step Status Duration
py-pre-post-processing-test FAILURE 3m55.637s

Details


starting build "9a225f16-3c5f-4176-b6f1-85de8632fbf2"

FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
 * branch            dbe1c2d62701e3f0a669ea767d98eaaed5137d8b -> FETCH_HEAD
HEAD is now at dbe1c2d Merge branch 'main' into adk-python-processing
GitCommit:
dbe1c2d62701e3f0a669ea767d98eaaed5137d8b
BUILD
Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0
537.0.0: Pulling from google.com/cloudsdktool/cloud-sdk
0873b8cf69e3: Pulling fs layer
47614481de9f: Pulling fs layer
cee968bc61cc: Pulling fs layer
d11e9ae36f91: Pulling fs layer
1d7cf57d683c: Pulling fs layer
9ca482cbc1bd: Pulling fs layer
47614481de9f: Download complete
9ca482cbc1bd: Verifying Checksum
9ca482cbc1bd: Download complete
1d7cf57d683c: Verifying Checksum
1d7cf57d683c: Download complete
0873b8cf69e3: Verifying Checksum
0873b8cf69e3: Download complete
d11e9ae36f91: Verifying Checksum
d11e9ae36f91: Download complete
0873b8cf69e3: Pull complete
47614481de9f: Pull complete
cee968bc61cc: Verifying Checksum
cee968bc61cc: Download complete
cee968bc61cc: Pull complete
d11e9ae36f91: Pull complete
1d7cf57d683c: Pull complete
9ca482cbc1bd: Pull complete
Digest: sha256:02a4b3bd2d355b5f7a6edf32f690c3ba337bc9314f311c603127256f9ec0fac1
Status: Downloaded newer image for gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0
gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.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://packages.cloud.google.com/apt cloud-sdk-bookworm InRelease [1656 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [297 kB]
Get:7 http://packages.cloud.google.com/apt cloud-sdk-bookworm/main all Packages [1973 kB]
Get:8 http://packages.cloud.google.com/apt cloud-sdk-bookworm/main amd64 Packages [4593 kB]
Fetched 15.9 MB in 2s (9608 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpq5 postgresql-client-15 postgresql-client-common sensible-utils
Suggested packages:
  postgresql-15 postgresql-doc-15
The following NEW packages will be installed:
  gettext-base libpq5 netcat-openbsd postgresql-client postgresql-client-15
  postgresql-client-common sensible-utils wget
0 upgraded, 8 newly installed, 0 to remove and 93 not upgraded.
Need to get 3141 kB of archives.
After this operation, 13.9 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 libpq5 amd64 15.16-0+deb12u1 [196 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 netcat-openbsd amd64 1.219-1 [41.5 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248+deb12u1 [35.2 kB]
Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 postgresql-client-15 amd64 15.16-0+deb12u1 [1741 kB]
Get:8 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 3141 kB in 0s (31.9 MB/s)
Selecting previously unselected package sensible-utils.
(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 ... 85284 files and directories currently installed.)
Preparing to unpack .../0-sensible-utils_0.0.17+nmu1_all.deb ...
Unpacking sensible-utils (0.0.17+nmu1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../1-gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package wget.
Preparing to unpack .../2-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../3-libpq5_15.16-0+deb12u1_amd64.deb ...
Unpacking libpq5:amd64 (15.16-0+deb12u1) ...
Selecting previously unselected package netcat-openbsd.
Preparing to unpack .../4-netcat-openbsd_1.219-1_amd64.deb ...
Unpacking netcat-openbsd (1.219-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../5-postgresql-client-common_248+deb12u1_all.deb ...
Unpacking postgresql-client-common (248+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../6-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 .../7-postgresql-client_15+248+deb12u1_all.deb ...
Unpacking postgresql-client (15+248+deb12u1) ...
Setting up postgresql-client-common (248+deb12u1) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up netcat-openbsd (1.219-1) ...
update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode
Setting up libpq5:amd64 (15.16-0+deb12u1) ...
Setting up gettext-base (0.21-12) ...
Setting up sensible-utils (0.0.17+nmu1) ...
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) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  python3-pip-whl python3-pkg-resources python3-setuptools
  python3-setuptools-whl python3.11-venv
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python3-pip-whl python3-setuptools-whl python3-venv python3.11-venv
The following packages will be upgraded:
  python3-pkg-resources python3-setuptools
2 upgraded, 4 newly installed, 0 to remove and 91 not upgraded.
Need to get 3655 kB of archives.
After this operation, 3171 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-pip-whl all 23.0.1+dfsg-1 [1717 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools all 66.1.1-1+deb12u2 [522 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 python3-pkg-resources all 66.1.1-1+deb12u2 [297 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools-whl all 66.1.1-1+deb12u2 [1112 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 python3.11-venv amd64 3.11.2-6+deb12u6 [5896 B]
Get:6 http://deb.debian.org/debian bookworm/main amd64 python3-venv amd64 3.11.2-1+b1 [1200 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3655 kB in 0s (28.3 MB/s)
Selecting previously unselected package python3-pip-whl.
(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 ... 85914 files and directories currently installed.)
Preparing to unpack .../0-python3-pip-whl_23.0.1+dfsg-1_all.deb ...
Unpacking python3-pip-whl (23.0.1+dfsg-1) ...
Preparing to unpack .../1-python3-setuptools_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-setuptools (66.1.1-1+deb12u2) over (66.1.1-1+deb12u1) ...
Preparing to unpack .../2-python3-pkg-resources_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-pkg-resources (66.1.1-1+deb12u2) over (66.1.1-1+deb12u1) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../3-python3-setuptools-whl_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-setuptools-whl (66.1.1-1+deb12u2) ...
Selecting previously unselected package python3.11-venv.
Preparing to unpack .../4-python3.11-venv_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11-venv (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../5-python3-venv_3.11.2-1+b1_amd64.deb ...
Unpacking python3-venv (3.11.2-1+b1) ...
Setting up python3-pkg-resources (66.1.1-1+deb12u2) ...
Setting up python3-setuptools-whl (66.1.1-1+deb12u2) ...
Setting up python3-setuptools (66.1.1-1+deb12u2) ...
Setting up python3-pip-whl (23.0.1+dfsg-1) ...
Setting up python3.11-venv (3.11.2-6+deb12u6) ...
Setting up python3-venv (3.11.2-1+b1) ...
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_py_pre_post_processing using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/samples/pre_post_processing/python for tests with pattern agent.py...
--- Running Python Test: langchain ---
Found native test: ./agent_test.py. Running pytest...
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-9.0.2, pluggy-1.6.0
codspeed: 4.3.0 (disabled, mode: walltime, callgraph: not supported, timer_resolution: 1.0ns)
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /workspace/docs/en/samples/pre_post_processing/python
plugins: benchmark-5.2.3, asyncio-1.3.0, langsmith-0.7.7, socket-0.7.0, anyio-4.12.1, recording-0.13.4, syrupy-5.1.0, codspeed-4.3.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2 items

agent_test.py ..                                                         [100%]

=============================== warnings summary ===============================
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_keywords_in_output
  /workspace/docs/en/samples/pre_post_processing/python/langchain/agent.py:87: DeprecationWarning: Use [`ChatGoogleGenerativeAI`][langchain_google_genai.ChatGoogleGenerativeAI] instead.
    model = ChatVertexAI(model="gemini-2.5-flash")

agent_test.py::TestExecution::test_script_runs_without_errors
  /workspace/docs/en/samples/pre_post_processing/python/langchain/agent.py:87: LangChainDeprecationWarning: The class `ChatVertexAI` was deprecated in LangChain 3.2.0 and will be removed in 4.0.0. An updated version of the class exists in the `langchain-google-genai package and should be used instead. To use it run `pip install -U `langchain-google-genai` and import as `from `langchain_google_genai import ChatGoogleGenerativeAI``.
    model = ChatVertexAI(model="gemini-2.5-flash")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 2 passed, 3 warnings in 12.44s ========================
--- Running Python Test: adk ---
Found native test: ./agent_test.py. Running pytest...
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /workspace/docs/en/samples/pre_post_processing/python
plugins: anyio-4.12.1
collected 2 items

agent_test.py .F                                                         [100%]

=================================== FAILURES ===================================
____________________ TestExecution.test_keywords_in_output _____________________

self = <python.agent_test.TestExecution object at 0x7fc004adbf90>
script_output = CaptureResult(out="\nUSER: 'Book hotel with id 3.'\nAI: I can book that hotel for you. What are your desired check-in ...---------\n\nUSER: 'Book a hotel with id 5 with checkin date 2025-01-18 and checkout date 2025-02-10'\nAI: \n", err='')

    def test_keywords_in_output(self, script_output):
        """Test that expected keywords are present in the script's output."""
        output = script_output.out
        print(f"\nAgent Output:\n{output}\n")
        missing_keywords = [kw for kw in GOLDEN_KEYWORDS if kw not in output]
>       assert not missing_keywords, f"Missing keywords in output: {missing_keywords}"
E       AssertionError: Missing keywords in output: ['Loyalty Points', "POLICY CHECK: Intercepting 'update-hotel'"]
E       assert not ['Loyalty Points', "POLICY CHECK: Intercepting 'update-hotel'"]

agent_test.py:51: AssertionError
------------------------------ Captured log setup ------------------------------
WARNING  root:client.py:74 A newer version of MCP (2025-11-25) is available. Please use Protocol.MCP_v20251125 to use the latest features.
----------------------------- Captured stdout call -----------------------------

Agent Output:

USER: 'Book hotel with id 3.'
AI: I can book that hotel for you. What are your desired check-in date and number of nights?
--------------------------------------------------

USER: 'Book a hotel with id 5 with checkin date 2025-01-18 and checkout date 2025-02-10'
AI: 


=============================== warnings summary ===============================
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_keywords_in_output
agent_test.py::TestExecution::test_keywords_in_output
  /workspace/docs/en/samples/pre_post_processing/python/adk/.venv/lib/python3.11/site-packages/google/adk/runners.py:1481: DeprecationWarning: deprecated
    save_input_blobs_as_artifacts=run_config.save_input_blobs_as_artifacts,

agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_keywords_in_output
agent_test.py::TestExecution::test_keywords_in_output
  /workspace/docs/en/samples/pre_post_processing/python/adk/.venv/lib/python3.11/site-packages/google/genai/_api_client.py:755: DeprecationWarning: Inheritance class AiohttpClientSession from ClientSession is discouraged
    class AiohttpClientSession(aiohttp.ClientSession):  # type: ignore[misc]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED agent_test.py::TestExecution::test_keywords_in_output - AssertionError...
=================== 1 failed, 1 passed, 8 warnings in 7.65s ====================
Cleaning up background processes...
ERROR
ERROR: build step 0 "gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0" failed: step exited with non-zero status: 1


starting build "9a225f16-3c5f-4176-b6f1-85de8632fbf2"

FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
 * branch            dbe1c2d62701e3f0a669ea767d98eaaed5137d8b -> FETCH_HEAD
HEAD is now at dbe1c2d Merge branch 'main' into adk-python-processing
GitCommit:
dbe1c2d62701e3f0a669ea767d98eaaed5137d8b
BUILD
Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0
537.0.0: Pulling from google.com/cloudsdktool/cloud-sdk
0873b8cf69e3: Pulling fs layer
47614481de9f: Pulling fs layer
cee968bc61cc: Pulling fs layer
d11e9ae36f91: Pulling fs layer
1d7cf57d683c: Pulling fs layer
9ca482cbc1bd: Pulling fs layer
47614481de9f: Download complete
9ca482cbc1bd: Verifying Checksum
9ca482cbc1bd: Download complete
1d7cf57d683c: Verifying Checksum
1d7cf57d683c: Download complete
0873b8cf69e3: Verifying Checksum
0873b8cf69e3: Download complete
d11e9ae36f91: Verifying Checksum
d11e9ae36f91: Download complete
0873b8cf69e3: Pull complete
47614481de9f: Pull complete
cee968bc61cc: Verifying Checksum
cee968bc61cc: Download complete
cee968bc61cc: Pull complete
d11e9ae36f91: Pull complete
1d7cf57d683c: Pull complete
9ca482cbc1bd: Pull complete
Digest: sha256:02a4b3bd2d355b5f7a6edf32f690c3ba337bc9314f311c603127256f9ec0fac1
Status: Downloaded newer image for gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0
gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.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://packages.cloud.google.com/apt cloud-sdk-bookworm InRelease [1656 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [297 kB]
Get:7 http://packages.cloud.google.com/apt cloud-sdk-bookworm/main all Packages [1973 kB]
Get:8 http://packages.cloud.google.com/apt cloud-sdk-bookworm/main amd64 Packages [4593 kB]
Fetched 15.9 MB in 2s (9608 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpq5 postgresql-client-15 postgresql-client-common sensible-utils
Suggested packages:
  postgresql-15 postgresql-doc-15
The following NEW packages will be installed:
  gettext-base libpq5 netcat-openbsd postgresql-client postgresql-client-15
  postgresql-client-common sensible-utils wget
0 upgraded, 8 newly installed, 0 to remove and 93 not upgraded.
Need to get 3141 kB of archives.
After this operation, 13.9 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 libpq5 amd64 15.16-0+deb12u1 [196 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 netcat-openbsd amd64 1.219-1 [41.5 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248+deb12u1 [35.2 kB]
Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 postgresql-client-15 amd64 15.16-0+deb12u1 [1741 kB]
Get:8 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 3141 kB in 0s (31.9 MB/s)
Selecting previously unselected package sensible-utils.
(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 ... 85284 files and directories currently installed.)
Preparing to unpack .../0-sensible-utils_0.0.17+nmu1_all.deb ...
Unpacking sensible-utils (0.0.17+nmu1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../1-gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package wget.
Preparing to unpack .../2-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../3-libpq5_15.16-0+deb12u1_amd64.deb ...
Unpacking libpq5:amd64 (15.16-0+deb12u1) ...
Selecting previously unselected package netcat-openbsd.
Preparing to unpack .../4-netcat-openbsd_1.219-1_amd64.deb ...
Unpacking netcat-openbsd (1.219-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../5-postgresql-client-common_248+deb12u1_all.deb ...
Unpacking postgresql-client-common (248+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../6-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 .../7-postgresql-client_15+248+deb12u1_all.deb ...
Unpacking postgresql-client (15+248+deb12u1) ...
Setting up postgresql-client-common (248+deb12u1) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up netcat-openbsd (1.219-1) ...
update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode
Setting up libpq5:amd64 (15.16-0+deb12u1) ...
Setting up gettext-base (0.21-12) ...
Setting up sensible-utils (0.0.17+nmu1) ...
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) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  python3-pip-whl python3-pkg-resources python3-setuptools
  python3-setuptools-whl python3.11-venv
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python3-pip-whl python3-setuptools-whl python3-venv python3.11-venv
The following packages will be upgraded:
  python3-pkg-resources python3-setuptools
2 upgraded, 4 newly installed, 0 to remove and 91 not upgraded.
Need to get 3655 kB of archives.
After this operation, 3171 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-pip-whl all 23.0.1+dfsg-1 [1717 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools all 66.1.1-1+deb12u2 [522 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 python3-pkg-resources all 66.1.1-1+deb12u2 [297 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools-whl all 66.1.1-1+deb12u2 [1112 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 python3.11-venv amd64 3.11.2-6+deb12u6 [5896 B]
Get:6 http://deb.debian.org/debian bookworm/main amd64 python3-venv amd64 3.11.2-1+b1 [1200 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3655 kB in 0s (28.3 MB/s)
Selecting previously unselected package python3-pip-whl.
(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 ... 85914 files and directories currently installed.)
Preparing to unpack .../0-python3-pip-whl_23.0.1+dfsg-1_all.deb ...
Unpacking python3-pip-whl (23.0.1+dfsg-1) ...
Preparing to unpack .../1-python3-setuptools_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-setuptools (66.1.1-1+deb12u2) over (66.1.1-1+deb12u1) ...
Preparing to unpack .../2-python3-pkg-resources_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-pkg-resources (66.1.1-1+deb12u2) over (66.1.1-1+deb12u1) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../3-python3-setuptools-whl_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-setuptools-whl (66.1.1-1+deb12u2) ...
Selecting previously unselected package python3.11-venv.
Preparing to unpack .../4-python3.11-venv_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11-venv (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../5-python3-venv_3.11.2-1+b1_amd64.deb ...
Unpacking python3-venv (3.11.2-1+b1) ...
Setting up python3-pkg-resources (66.1.1-1+deb12u2) ...
Setting up python3-setuptools-whl (66.1.1-1+deb12u2) ...
Setting up python3-setuptools (66.1.1-1+deb12u2) ...
Setting up python3-pip-whl (23.0.1+dfsg-1) ...
Setting up python3.11-venv (3.11.2-6+deb12u6) ...
Setting up python3-venv (3.11.2-1+b1) ...
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_py_pre_post_processing using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/samples/pre_post_processing/python for tests with pattern agent.py...
--- Running Python Test: langchain ---
Found native test: ./agent_test.py. Running pytest...
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-9.0.2, pluggy-1.6.0
codspeed: 4.3.0 (disabled, mode: walltime, callgraph: not supported, timer_resolution: 1.0ns)
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /workspace/docs/en/samples/pre_post_processing/python
plugins: benchmark-5.2.3, asyncio-1.3.0, langsmith-0.7.7, socket-0.7.0, anyio-4.12.1, recording-0.13.4, syrupy-5.1.0, codspeed-4.3.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2 items

agent_test.py ..                                                         [100%]

=============================== warnings summary ===============================
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_keywords_in_output
  /workspace/docs/en/samples/pre_post_processing/python/langchain/agent.py:87: DeprecationWarning: Use [`ChatGoogleGenerativeAI`][langchain_google_genai.ChatGoogleGenerativeAI] instead.
    model = ChatVertexAI(model="gemini-2.5-flash")

agent_test.py::TestExecution::test_script_runs_without_errors
  /workspace/docs/en/samples/pre_post_processing/python/langchain/agent.py:87: LangChainDeprecationWarning: The class `ChatVertexAI` was deprecated in LangChain 3.2.0 and will be removed in 4.0.0. An updated version of the class exists in the `langchain-google-genai package and should be used instead. To use it run `pip install -U `langchain-google-genai` and import as `from `langchain_google_genai import ChatGoogleGenerativeAI``.
    model = ChatVertexAI(model="gemini-2.5-flash")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 2 passed, 3 warnings in 12.44s ========================
--- Running Python Test: adk ---
Found native test: ./agent_test.py. Running pytest...
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /workspace/docs/en/samples/pre_post_processing/python
plugins: anyio-4.12.1
collected 2 items

agent_test.py .F                                                         [100%]

=================================== FAILURES ===================================
____________________ TestExecution.test_keywords_in_output _____________________

self = <python.agent_test.TestExecution object at 0x7fc004adbf90>
script_output = CaptureResult(out="\nUSER: 'Book hotel with id 3.'\nAI: I can book that hotel for you. What are your desired check-in ...---------\n\nUSER: 'Book a hotel with id 5 with checkin date 2025-01-18 and checkout date 2025-02-10'\nAI: \n", err='')

    def test_keywords_in_output(self, script_output):
        """Test that expected keywords are present in the script's output."""
        output = script_output.out
        print(f"\nAgent Output:\n{output}\n")
        missing_keywords = [kw for kw in GOLDEN_KEYWORDS if kw not in output]
>       assert not missing_keywords, f"Missing keywords in output: {missing_keywords}"
E       AssertionError: Missing keywords in output: ['Loyalty Points', "POLICY CHECK: Intercepting 'update-hotel'"]
E       assert not ['Loyalty Points', "POLICY CHECK: Intercepting 'update-hotel'"]

agent_test.py:51: AssertionError
------------------------------ Captured log setup ------------------------------
WARNING  root:client.py:74 A newer version of MCP (2025-11-25) is available. Please use Protocol.MCP_v20251125 to use the latest features.
----------------------------- Captured stdout call -----------------------------

Agent Output:

USER: 'Book hotel with id 3.'
AI: I can book that hotel for you. What are your desired check-in date and number of nights?
--------------------------------------------------

USER: 'Book a hotel with id 5 with checkin date 2025-01-18 and checkout date 2025-02-10'
AI: 


=============================== warnings summary ===============================
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_keywords_in_output
agent_test.py::TestExecution::test_keywords_in_output
  /workspace/docs/en/samples/pre_post_processing/python/adk/.venv/lib/python3.11/site-packages/google/adk/runners.py:1481: DeprecationWarning: deprecated
    save_input_blobs_as_artifacts=run_config.save_input_blobs_as_artifacts,

agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_keywords_in_output
agent_test.py::TestExecution::test_keywords_in_output
  /workspace/docs/en/samples/pre_post_processing/python/adk/.venv/lib/python3.11/site-packages/google/genai/_api_client.py:755: DeprecationWarning: Inheritance class AiohttpClientSession from ClientSession is discouraged
    class AiohttpClientSession(aiohttp.ClientSession):  # type: ignore[misc]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED agent_test.py::TestExecution::test_keywords_in_output - AssertionError...
=================== 1 failed, 1 passed, 8 warnings in 7.65s ====================
Cleaning up background processes...
ERROR
ERROR: build step 0 "gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0" failed: step exited with non-zero status: 1


starting build "9a225f16-3c5f-4176-b6f1-85de8632fbf2"

FETCHSOURCE
From https://github.com/googleapis/genai-toolbox
 * branch            dbe1c2d62701e3f0a669ea767d98eaaed5137d8b -> FETCH_HEAD
HEAD is now at dbe1c2d Merge branch 'main' into adk-python-processing
GitCommit:
dbe1c2d62701e3f0a669ea767d98eaaed5137d8b
BUILD
Pulling image: gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0
537.0.0: Pulling from google.com/cloudsdktool/cloud-sdk
0873b8cf69e3: Pulling fs layer
47614481de9f: Pulling fs layer
cee968bc61cc: Pulling fs layer
d11e9ae36f91: Pulling fs layer
1d7cf57d683c: Pulling fs layer
9ca482cbc1bd: Pulling fs layer
47614481de9f: Download complete
9ca482cbc1bd: Verifying Checksum
9ca482cbc1bd: Download complete
1d7cf57d683c: Verifying Checksum
1d7cf57d683c: Download complete
0873b8cf69e3: Verifying Checksum
0873b8cf69e3: Download complete
d11e9ae36f91: Verifying Checksum
d11e9ae36f91: Download complete
0873b8cf69e3: Pull complete
47614481de9f: Pull complete
cee968bc61cc: Verifying Checksum
cee968bc61cc: Download complete
cee968bc61cc: Pull complete
d11e9ae36f91: Pull complete
1d7cf57d683c: Pull complete
9ca482cbc1bd: Pull complete
Digest: sha256:02a4b3bd2d355b5f7a6edf32f690c3ba337bc9314f311c603127256f9ec0fac1
Status: Downloaded newer image for gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.0
gcr.io/google.com/cloudsdktool/cloud-sdk:537.0.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://packages.cloud.google.com/apt cloud-sdk-bookworm InRelease [1656 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [297 kB]
Get:7 http://packages.cloud.google.com/apt cloud-sdk-bookworm/main all Packages [1973 kB]
Get:8 http://packages.cloud.google.com/apt cloud-sdk-bookworm/main amd64 Packages [4593 kB]
Fetched 15.9 MB in 2s (9608 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpq5 postgresql-client-15 postgresql-client-common sensible-utils
Suggested packages:
  postgresql-15 postgresql-doc-15
The following NEW packages will be installed:
  gettext-base libpq5 netcat-openbsd postgresql-client postgresql-client-15
  postgresql-client-common sensible-utils wget
0 upgraded, 8 newly installed, 0 to remove and 93 not upgraded.
Need to get 3141 kB of archives.
After this operation, 13.9 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 sensible-utils all 0.0.17+nmu1 [19.0 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 gettext-base amd64 0.21-12 [160 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 libpq5 amd64 15.16-0+deb12u1 [196 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 netcat-openbsd amd64 1.219-1 [41.5 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 postgresql-client-common all 248+deb12u1 [35.2 kB]
Get:7 http://deb.debian.org/debian-security bookworm-security/main amd64 postgresql-client-15 amd64 15.16-0+deb12u1 [1741 kB]
Get:8 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 3141 kB in 0s (31.9 MB/s)
Selecting previously unselected package sensible-utils.
(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 ... 85284 files and directories currently installed.)
Preparing to unpack .../0-sensible-utils_0.0.17+nmu1_all.deb ...
Unpacking sensible-utils (0.0.17+nmu1) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../1-gettext-base_0.21-12_amd64.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package wget.
Preparing to unpack .../2-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../3-libpq5_15.16-0+deb12u1_amd64.deb ...
Unpacking libpq5:amd64 (15.16-0+deb12u1) ...
Selecting previously unselected package netcat-openbsd.
Preparing to unpack .../4-netcat-openbsd_1.219-1_amd64.deb ...
Unpacking netcat-openbsd (1.219-1) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../5-postgresql-client-common_248+deb12u1_all.deb ...
Unpacking postgresql-client-common (248+deb12u1) ...
Selecting previously unselected package postgresql-client-15.
Preparing to unpack .../6-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 .../7-postgresql-client_15+248+deb12u1_all.deb ...
Unpacking postgresql-client (15+248+deb12u1) ...
Setting up postgresql-client-common (248+deb12u1) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up netcat-openbsd (1.219-1) ...
update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode
Setting up libpq5:amd64 (15.16-0+deb12u1) ...
Setting up gettext-base (0.21-12) ...
Setting up sensible-utils (0.0.17+nmu1) ...
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) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  python3-pip-whl python3-pkg-resources python3-setuptools
  python3-setuptools-whl python3.11-venv
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python3-pip-whl python3-setuptools-whl python3-venv python3.11-venv
The following packages will be upgraded:
  python3-pkg-resources python3-setuptools
2 upgraded, 4 newly installed, 0 to remove and 91 not upgraded.
Need to get 3655 kB of archives.
After this operation, 3171 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-pip-whl all 23.0.1+dfsg-1 [1717 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools all 66.1.1-1+deb12u2 [522 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 python3-pkg-resources all 66.1.1-1+deb12u2 [297 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 python3-setuptools-whl all 66.1.1-1+deb12u2 [1112 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 python3.11-venv amd64 3.11.2-6+deb12u6 [5896 B]
Get:6 http://deb.debian.org/debian bookworm/main amd64 python3-venv amd64 3.11.2-1+b1 [1200 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3655 kB in 0s (28.3 MB/s)
Selecting previously unselected package python3-pip-whl.
(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 ... 85914 files and directories currently installed.)
Preparing to unpack .../0-python3-pip-whl_23.0.1+dfsg-1_all.deb ...
Unpacking python3-pip-whl (23.0.1+dfsg-1) ...
Preparing to unpack .../1-python3-setuptools_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-setuptools (66.1.1-1+deb12u2) over (66.1.1-1+deb12u1) ...
Preparing to unpack .../2-python3-pkg-resources_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-pkg-resources (66.1.1-1+deb12u2) over (66.1.1-1+deb12u1) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../3-python3-setuptools-whl_66.1.1-1+deb12u2_all.deb ...
Unpacking python3-setuptools-whl (66.1.1-1+deb12u2) ...
Selecting previously unselected package python3.11-venv.
Preparing to unpack .../4-python3.11-venv_3.11.2-6+deb12u6_amd64.deb ...
Unpacking python3.11-venv (3.11.2-6+deb12u6) ...
Selecting previously unselected package python3-venv.
Preparing to unpack .../5-python3-venv_3.11.2-1+b1_amd64.deb ...
Unpacking python3-venv (3.11.2-1+b1) ...
Setting up python3-pkg-resources (66.1.1-1+deb12u2) ...
Setting up python3-setuptools-whl (66.1.1-1+deb12u2) ...
Setting up python3-setuptools (66.1.1-1+deb12u2) ...
Setting up python3-pip-whl (23.0.1+dfsg-1) ...
Setting up python3.11-venv (3.11.2-6+deb12u6) ...
Setting up python3-venv (3.11.2-1+b1) ...
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_py_pre_post_processing using .ci/sample_tests/setup_hotels.sql...
TRUNCATE TABLE
INSERT 0 10
Scanning docs/en/samples/pre_post_processing/python for tests with pattern agent.py...
--- Running Python Test: langchain ---
Found native test: ./agent_test.py. Running pytest...
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-9.0.2, pluggy-1.6.0
codspeed: 4.3.0 (disabled, mode: walltime, callgraph: not supported, timer_resolution: 1.0ns)
benchmark: 5.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /workspace/docs/en/samples/pre_post_processing/python
plugins: benchmark-5.2.3, asyncio-1.3.0, langsmith-0.7.7, socket-0.7.0, anyio-4.12.1, recording-0.13.4, syrupy-5.1.0, codspeed-4.3.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2 items

agent_test.py ..                                                         [100%]

=============================== warnings summary ===============================
agent_test.py::TestExecution::test_script_runs_without_errors
agent_test.py::TestExecution::test_keywords_in_output
  /workspace/docs/en/samples/pre_post_processing/python/langchain/agent.py:87: DeprecationWarning: Use [`ChatGoogleGenerativeAI`][langchain_google_genai.ChatGoogleGenerativeAI] instead.
    model = ChatVertexAI(model="gemini-2.5-flash")

agent_test.py::TestExecution::test_script_runs_without_errors
  /workspace/docs/en/samples/pre_post_processing/python/langchain/agent.py:87: LangChainDeprecationWarning: The class `ChatVertexAI` was deprecated in LangChain 3.2.0 and will be removed in 4.0.0. An updated version of the class exists in the `langchain-google-genai package and should be used instead. To use it run `pip install -U `langchain-google-genai` and import as `from `langchain_google_genai import ChatGoogleGenerativeAI``.
    model = ChatVertexAI(model="gemini-2.5-flash")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 2 passed, 3 warnings in 12.44s ========================
--- Running Python Test: adk ---
Found native test: ./agent_test.py. Running pytest...
============================= test session starts ==============================
platform linux -- Python 3.11.2, pytest-9.0.2, pluggy-1.6.0
rootdir: /workspace/docs/en/samples/pre_post_processing/python
plugins: anyio-4.12.1
collected 2 items

agent_test.py .F                                                         [100%]

=================================== FAILURES ===================================
____________________ TestExecution.test_keywords_in_output _____________________

Build Log: https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22build%22+AND+resource.labels.build_id%3D%229a225f16-3c5f-4176-b6f1-85de8632fbf2%22+AND+resource.labels.build_trigger_id%3D%22add225f1-385a-4196-895b-0a7376896e06%22&project=toolbox-testing-438616