feat: restrict session type selection to adk_base and agentic_rag #665
Google Cloud Build / test-adk-b-cr-agent-engine (asp-e2e-cicd)
succeeded
Dec 22, 2025 in 2m 11s
Summary
Build Information
| Trigger | test-adk-b-cr-agent-engine |
| Build | 5caecb93-fd79-4528-9610-6ffbb63b4237 |
| Start | 2025-12-22T08:57:04-08:00 |
| Duration | 2m3.57s |
| Status | SUCCESS |
Steps
| Step | Status | Duration |
|---|---|---|
| install-dependencies | SUCCESS | 41.419s |
| test-templated-agents | SUCCESS | 1m17.089s |
Details
starting build "5caecb93-fd79-4528-9610-6ffbb63b4237"
FETCHSOURCE
From https://github.com/GoogleCloudPlatform/agent-starter-pack
* branch 193cde4f2b88fc45d0d0e13ba49d9dfe6c188de9 -> FETCH_HEAD
HEAD is now at 193cde4 feat: restrict session type selection to adk_base and agentic_rag
GitCommit:
193cde4f2b88fc45d0d0e13ba49d9dfe6c188de9
BUILD
Starting Step #0 - "install-dependencies"
Step #0 - "install-dependencies": Pulling image: europe-west4-docker.pkg.dev/production-ai-template/starter-pack/e2e-tests
Step #0 - "install-dependencies": Using default tag: latest
Step #0 - "install-dependencies": latest: Pulling from production-ai-template/starter-pack/e2e-tests
Step #0 - "install-dependencies": c25bee1cbcbb: Pulling fs layer
Step #0 - "install-dependencies": 5fbbf55f3f6e: Pulling fs layer
Step #0 - "install-dependencies": 67d411ce564f: Pulling fs layer
Step #0 - "install-dependencies": 88c98e5fb85f: Pulling fs layer
Step #0 - "install-dependencies": c2f54371f78c: Pulling fs layer
Step #0 - "install-dependencies": df94d8c8beb3: Pulling fs layer
Step #0 - "install-dependencies": 1b67d7dc1ad5: Pulling fs layer
Step #0 - "install-dependencies": 9a6ce541a853: Pulling fs layer
Step #0 - "install-dependencies": 1b67d7dc1ad5: Waiting
Step #0 - "install-dependencies": 9a6ce541a853: Waiting
Step #0 - "install-dependencies": df94d8c8beb3: Verifying Checksum
Step #0 - "install-dependencies": df94d8c8beb3: Download complete
Step #0 - "install-dependencies": 88c98e5fb85f: Verifying Checksum
Step #0 - "install-dependencies": 88c98e5fb85f: Download complete
Step #0 - "install-dependencies": 5fbbf55f3f6e: Verifying Checksum
Step #0 - "install-dependencies": 5fbbf55f3f6e: Download complete
Step #0 - "install-dependencies": 1b67d7dc1ad5: Verifying Checksum
Step #0 - "install-dependencies": 1b67d7dc1ad5: Download complete
Step #0 - "install-dependencies": 67d411ce564f: Verifying Checksum
Step #0 - "install-dependencies": 67d411ce564f: Download complete
Step #0 - "install-dependencies": c2f54371f78c: Verifying Checksum
Step #0 - "install-dependencies": c2f54371f78c: Download complete
Step #0 - "install-dependencies": c25bee1cbcbb: Verifying Checksum
Step #0 - "install-dependencies": c25bee1cbcbb: Download complete
Step #0 - "install-dependencies": c25bee1cbcbb: Pull complete
Step #0 - "install-dependencies": 5fbbf55f3f6e: Pull complete
Step #0 - "install-dependencies": 9a6ce541a853: Verifying Checksum
Step #0 - "install-dependencies": 9a6ce541a853: Download complete
Step #0 - "install-dependencies": 67d411ce564f: Pull complete
Step #0 - "install-dependencies": 88c98e5fb85f: Pull complete
Step #0 - "install-dependencies": c2f54371f78c: Pull complete
Step #0 - "install-dependencies": df94d8c8beb3: Pull complete
Step #0 - "install-dependencies": 1b67d7dc1ad5: Pull complete
Step #0 - "install-dependencies": 9a6ce541a853: Pull complete
Step #0 - "install-dependencies": Digest: sha256:9ac1c6c1923079f674864b1f4c5baba551701fde6a6ae356350aa7c0b03d7469
Step #0 - "install-dependencies": Status: Downloaded newer image for europe-west4-docker.pkg.dev/production-ai-template/starter-pack/e2e-tests:latest
Step #0 - "install-dependencies": europe-west4-docker.pkg.dev/production-ai-template/starter-pack/e2e-tests:latest
Step #0 - "install-dependencies": Using CPython 3.11.14 interpreter at: /usr/local/bin/python3
Step #0 - "install-dependencies": Creating virtual environment at: .venv
Step #0 - "install-dependencies": Resolved 190 packages in 1ms
Step #0 - "install-dependencies": Building agent-starter-pack @ file:///workspace
Step #0 - "install-dependencies": Downloading pydantic-core (2.0MiB)
Step #0 - "install-dependencies": Downloading pygments (1.2MiB)
Step #0 - "install-dependencies": Downloading shapely (3.0MiB)
Step #0 - "install-dependencies": Downloading babel (9.7MiB)
Step #0 - "install-dependencies": Downloading numpy (15.9MiB)
Step #0 - "install-dependencies": Downloading sphinx (3.0MiB)
Step #0 - "install-dependencies": Downloading grpcio (5.7MiB)
Step #0 - "install-dependencies": Downloading sphinx-rtd-theme (2.7MiB)
Step #0 - "install-dependencies": Downloading google-cloud-aiplatform (7.8MiB)
Step #0 - "install-dependencies": Downloaded pydantic-core
Step #0 - "install-dependencies": Downloaded sphinx-rtd-theme
Step #0 - "install-dependencies": Downloaded shapely
Step #0 - "install-dependencies": Downloaded pygments
Step #0 - "install-dependencies": Downloaded grpcio
Step #0 - "install-dependencies": Downloaded sphinx
Step #0 - "install-dependencies": Built agent-starter-pack @ file:///workspace
Step #0 - "install-dependencies": Downloaded babel
Step #0 - "install-dependencies": Downloaded numpy
Step #0 - "install-dependencies": Downloaded google-cloud-aiplatform
Step #0 - "install-dependencies": Prepared 98 packages in 3.31s
Step #0 - "install-dependencies": warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
Step #0 - "install-dependencies": If the cache and target directories are on different filesystems, hardlinking may not be supported.
Step #0 - "install-dependencies": If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Step #0 - "install-dependencies": Installed 98 packages in 592ms
Step #0 - "install-dependencies": + agent-starter-pack==0.29.1 (from file:///workspace)
Step #0 - "install-dependencies": + alabaster==0.7.16
Step #0 - "install-dependencies": + annotated-types==0.7.0
Step #0 - "install-dependencies": + anyascii==0.3.3
Step #0 - "install-dependencies": + anyio==4.12.0
Step #0 - "install-dependencies": + arrow==1.4.0
Step #0 - "install-dependencies": + astroid==4.0.2
Step #0 - "install-dependencies": + babel==2.17.0
Step #0 - "install-dependencies": + backoff==2.2.1
Step #0 - "install-dependencies": + binaryornot==0.4.4
Step #0 - "install-dependencies": + cachetools==6.2.4
Step #0 - "install-dependencies": + certifi==2025.11.12
Step #0 - "install-dependencies": + chardet==5.2.0
Step #0 - "install-dependencies": + charset-normalizer==3.4.4
Step #0 - "install-dependencies": + click==8.3.1
Step #0 - "install-dependencies": + cookiecutter==2.6.0
Step #0 - "install-dependencies": + coverage==7.13.0
Step #0 - "install-dependencies": + distro==1.9.0
Step #0 - "install-dependencies": + docstring-parser==0.17.0
Step #0 - "install-dependencies": + docutils==0.20.1
Step #0 - "install-dependencies": + execnet==2.1.2
Step #0 - "install-dependencies": + google-api-core==2.28.1
Step #0 - "install-dependencies": + google-auth==2.45.0
Step #0 - "install-dependencies": + google-cloud-aiplatform==1.132.0
Step #0 - "install-dependencies": + google-cloud-appengine-logging==1.6.2
Step #0 - "install-dependencies": + google-cloud-audit-log==0.4.0
Step #0 - "install-dependencies": + google-cloud-bigquery==3.39.0
Step #0 - "install-dependencies": + google-cloud-core==2.5.0
Step #0 - "install-dependencies": + google-cloud-logging==3.11.4
Step #0 - "install-dependencies": + google-cloud-resource-manager==1.14.2
Step #0 - "install-dependencies": + google-cloud-storage==3.4.1
Step #0 - "install-dependencies": + google-crc32c==1.8.0
Step #0 - "install-dependencies": + google-genai==1.56.0
Step #0 - "install-dependencies": + google-resumable-media==2.8.0
Step #0 - "install-dependencies": + googleapis-common-protos==1.72.0
Step #0 - "install-dependencies": + grpc-google-iam-v1==0.14.3
Step #0 - "install-dependencies": + grpcio==1.70.0
Step #0 - "install-dependencies": + grpcio-status==1.70.0
Step #0 - "install-dependencies": + h11==0.16.0
Step #0 - "install-dependencies": + httpcore==1.0.9
Step #0 - "install-dependencies": + httpx==0.28.1
Step #0 - "install-dependencies": + idna==3.11
Step #0 - "install-dependencies": + imagesize==1.4.1
Step #0 - "install-dependencies": + importlib-metadata==8.7.1
Step #0 - "install-dependencies": + iniconfig==2.3.0
Step #0 - "install-dependencies": + jinja2==3.1.6
Step #0 - "install-dependencies": + markdown-it-py==3.0.0
Step #0 - "install-dependencies": + markupsafe==3.0.3
Step #0 - "install-dependencies": + mdit-py-plugins==0.5.0
Step #0 - "install-dependencies": + mdurl==0.1.2
Step #0 - "install-dependencies": + myst-parser==2.0.0
Step #0 - "install-dependencies": + numpy==2.4.0
Step #0 - "install-dependencies": + opentelemetry-api==1.39.1
Step #0 - "install-dependencies": + packaging==25.0
Step #0 - "install-dependencies": + pluggy==1.6.0
Step #0 - "install-dependencies": + proto-plus==1.27.0
Step #0 - "install-dependencies": + protobuf==5.29.5
Step #0 - "install-dependencies": + pyasn1==0.6.1
Step #0 - "install-dependencies": + pyasn1-modules==0.4.2
Step #0 - "install-dependencies": + pydantic==2.12.5
Step #0 - "install-dependencies": + pydantic-core==2.41.5
Step #0 - "install-dependencies": + pygments==2.19.2
Step #0 - "install-dependencies": + pytest==7.4.4
Step #0 - "install-dependencies": + pytest-cov==4.1.0
Step #0 - "install-dependencies": + pytest-mock==3.12.0
Step #0 - "install-dependencies": + pytest-rerunfailures==16.1
Step #0 - "install-dependencies": + pytest-xdist==3.6.1
Step #0 - "install-dependencies": + python-dateutil==2.9.0.post0
Step #0 - "install-dependencies": + python-slugify==8.0.4
Step #0 - "install-dependencies": + pyyaml==6.0.3
Step #0 - "install-dependencies": + requests==2.32.5
Step #0 - "install-dependencies": + rich==13.7.1
Step #0 - "install-dependencies": + rsa==4.9.1
Step #0 - "install-dependencies": + shapely==2.1.2
Step #0 - "install-dependencies": + six==1.17.0
Step #0 - "install-dependencies": + sniffio==1.3.1
Step #0 - "install-dependencies": + snowballstemmer==3.0.1
Step #0 - "install-dependencies": + sphinx==7.1.2
Step #0 - "install-dependencies": + sphinx-autoapi==3.0.0
Step #0 - "install-dependencies": + sphinx-click==5.1.0
Step #0 - "install-dependencies": + sphinx-rtd-theme==2.0.0
Step #0 - "install-dependencies": + sphinxcontrib-applehelp==2.0.0
Step #0 - "install-dependencies": + sphinxcontrib-devhelp==2.0.0
Step #0 - "install-dependencies": + sphinxcontrib-htmlhelp==2.1.0
Step #0 - "install-dependencies": + sphinxcontrib-jquery==4.1
Step #0 - "install-dependencies": + sphinxcontrib-jsmath==1.0.1
Step #0 - "install-dependencies": + sphinxcontrib-qthelp==2.0.0
Step #0 - "install-dependencies": + sphinxcontrib-serializinghtml==2.0.0
Step #0 - "install-dependencies": + tenacity==9.1.2
Step #0 - "install-dependencies": + text-unidecode==1.3
Step #0 - "install-dependencies": + types-pyyaml==6.0.12.20250915
Step #0 - "install-dependencies": + types-requests==2.32.4.20250913
Step #0 - "install-dependencies": + typing-extensions==4.15.0
Step #0 - "install-dependencies": + typing-inspection==0.4.2
Step #0 - "install-dependencies": + tzdata==2025.3
Step #0 - "install-dependencies": + urllib3==2.6.2
Step #0 - "install-dependencies": + websockets==15.0.1
Step #0 - "install-dependencies": + zipp==3.23.0
Finished Step #0 - "install-dependencies"
Starting Step #1 - "test-templated-agents"
Step #1 - "test-templated-agents": Already have image (with digest): europe-west4-docker.pkg.dev/production-ai-template/starter-pack/e2e-tests
Step #1 - "test-templated-agents": ============================= test session starts ==============================
Step #1 - "test-templated-agents": platform linux -- Python 3.11.14, pytest-7.4.4, pluggy-1.6.0 -- /workspace/.venv/bin/python
Step #1 - "test-templated-agents": cachedir: .pytest_cache
Step #1 - "test-templated-agents": rootdir: /workspace
Step #1 - "test-templated-agents": configfile: pyproject.toml
Step #1 - "test-templated-agents": plugins: mock-3.12.0, cov-4.1.0, rerunfailures-16.1, xdist-3.6.1, anyio-4.12.0
Step #1 - "test-templated-agents": collecting ... Running test for combination from environment: ('adk_base', 'cloud_run',
Step #1 - "test-templated-agents": ['--session-type', 'agent_engine'])
Step #1 - "test-templated-agents": collected 1 item
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": tests/integration/test_templated_patterns.py::test_agent_deployment[adk_base-cloud_run-extra_params0] Testing combination: adk_base, cloud_run
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": Templating project...
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": === Google Cloud Agent Starter Pack 🚀===
Step #1 - "test-templated-agents": Welcome to the Agent Starter Pack!
Step #1 - "test-templated-agents": This tool will help you create an end-to-end production-ready AI agent in Google
Step #1 - "test-templated-agents": Cloud!
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": Info: --cicd-runner not specified. Defaulting to 'skip' (simple mode) in
Step #1 - "test-templated-agents": auto-approve mode.
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": > Success! Your agent project is ready.
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": 📖 Project README: cat adk-base-cloud-1222165754/README.md
Step #1 - "test-templated-agents": Online Development Guide: https://goo.gle/asp-dev
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": 💡 Once ready for production, run: uvx agent-starter-pack enhance
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": 🚀 To get started, run the following command:
Step #1 - "test-templated-agents": cd adk-base-cloud-1222165754 && make install && make playground
Step #1 - "test-templated-agents": ✓ Templating project completed successfully
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": Installing dependencies...
Step #1 - "test-templated-agents": ✓ Installing dependencies completed successfully
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": Running tests/unit tests...
Step #1 - "test-templated-agents": ============================= test session starts ==============================
Step #1 - "test-templated-agents": platform linux -- Python 3.11.14, pytest-8.4.2, pluggy-1.6.0
Step #1 - "test-templated-agents": rootdir: /workspace/target/adk-base-cloud-1222165754
Step #1 - "test-templated-agents": configfile: pyproject.toml
Step #1 - "test-templated-agents": plugins: asyncio-0.26.0, anyio-4.12.0
Step #1 - "test-templated-agents": asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function,
Step #1 - "test-templated-agents": asyncio_default_test_loop_scope=function
Step #1 - "test-templated-agents": collected 1 item
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": tests/unit/test_dummy.py . [100%]
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": ============================== 1 passed in 0.01s ===============================
Step #1 - "test-templated-agents": warning: `VIRTUAL_ENV=/workspace/.venv` does not match the project environment
Step #1 - "test-templated-agents": path `.venv` and will be ignored; use `--active` to target the active
Step #1 - "test-templated-agents": environment instead
Step #1 - "test-templated-agents": ✓ Running tests/unit tests completed successfully
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": Running tests/integration tests...
Step #1 - "test-templated-agents": ============================= test session starts ==============================
Step #1 - "test-templated-agents": platform linux -- Python 3.11.14, pytest-8.4.2, pluggy-1.6.0
Step #1 - "test-templated-agents": rootdir: /workspace/target/adk-base-cloud-1222165754
Step #1 - "test-templated-agents": configfile: pyproject.toml
Step #1 - "test-templated-agents": plugins: asyncio-0.26.0, anyio-4.12.0
Step #1 - "test-templated-agents": asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function,
Step #1 - "test-templated-agents": asyncio_default_test_loop_scope=function
Step #1 - "test-templated-agents": collected 4 items
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": tests/integration/test_agent.py . [ 25%]
Step #1 - "test-templated-agents": tests/integration/test_server_e2e.py ... [100%]
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": =============================== warnings summary ===============================
Step #1 - "test-templated-agents": .venv/lib/python3.11/site-packages/litellm/types/llms/anthropic.py:465
Step #1 - "test-templated-agents": /workspace/target/adk-base-cloud-1222165754/.venv/lib/python3.11/site-packages/l
Step #1 - "test-templated-agents": itellm/types/llms/anthropic.py:465: PydanticDeprecatedSince20: Support for
Step #1 - "test-templated-agents": class-based `config` is deprecated, use ConfigDict instead. Deprecated in
Step #1 - "test-templated-agents": Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at
Step #1 - "test-templated-agents": https://errors.pydantic.dev/2.12/migration/
Step #1 - "test-templated-agents": class AnthropicResponseContentBlockToolUse(BaseModel):
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": tests/integration/test_agent.py::test_agent_stream
Step #1 - "test-templated-agents": /workspace/target/adk-base-cloud-1222165754/.venv/lib/python3.11/site-packages/g
Step #1 - "test-templated-agents": oogle/adk/runners.py:1381: DeprecationWarning: deprecated
Step #1 - "test-templated-agents": save_input_blobs_as_artifacts=run_config.save_input_blobs_as_artifacts,
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": tests/integration/test_agent.py::test_agent_stream
Step #1 - "test-templated-agents": /workspace/target/adk-base-cloud-1222165754/.venv/lib/python3.11/site-packages/g
Step #1 - "test-templated-agents": oogle/genai/_api_client.py:744: DeprecationWarning: Inheritance class
Step #1 - "test-templated-agents": AiohttpClientSession from ClientSession is discouraged
Step #1 - "test-templated-agents": class AiohttpClientSession(aiohttp.ClientSession): # type: ignore
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Step #1 - "test-templated-agents": ======================== 4 passed, 3 warnings in 46.09s ========================
Step #1 - "test-templated-agents": warning: `VIRTUAL_ENV=/workspace/.venv` does not match the project environment
Step #1 - "test-templated-agents": path `.venv` and will be ignored; use `--active` to target the active
Step #1 - "test-templated-agents": environment instead
Step #1 - "test-templated-agents": ✓ Running tests/integration tests completed successfully
Step #1 - "test-templated-agents": PASSED
Step #1 - "test-templated-agents":
Step #1 - "test-templated-agents": ========================= 1 passed in 74.08s (0:01:14) =========================
Finished Step #1 - "test-templated-agents"
PUSH
DONE
Loading