Skip to content

test: upgrade integration harnesses for dual-server execution - #706

Merged
anubhav756 merged 8 commits into
mcp-v202606from
anubhav-test-infra
Jul 8, 2026
Merged

anubhav756 merged 8 commits into
mcp-v202606from
anubhav-test-infra

fix: remove autouse from patch_toolbox_client_url fixture to prevent …

905a360
Select commit
Loading
Failed to load commit list.
Google Cloud Build / langchain-python-sdk-pr-py314 (toolbox-testing-438616) succeeded Jul 8, 2026 in 10m 51s

Summary

Build Information

Trigger langchain-python-sdk-pr-py314
Build a3e0982a-b187-4604-ac17-987fdc8885c1
Start 2026-07-08T01:20:12-07:00
Duration 10m19.382s
Status SUCCESS

Steps

Step Status Duration
Install requirements SUCCESS 9m54.846s
Run integration tests SUCCESS 20.944s

Details


starting build "a3e0982a-b187-4604-ac17-987fdc8885c1"

FETCHSOURCE
From https://github.com/googleapis/mcp-toolbox-sdk-python
 * branch            905a3608bbbacc73699ad9425eedc24052d1f181 -> FETCH_HEAD
HEAD is now at 905a360 fix: remove autouse from patch_toolbox_client_url fixture to prevent unnecessary patching in integration tests
GitCommit:
905a3608bbbacc73699ad9425eedc24052d1f181
BUILD
Starting Step #0 - "Install requirements"
Step #0 - "Install requirements": Pulling image: python:3.14
Step #0 - "Install requirements": 3.14: Pulling from library/python
Step #0 - "Install requirements": Digest: sha256:09b29c360b84742bf98eba40b214f7f6b4b53286bb2c8a8b5b1afa188a8d9c0e
Step #0 - "Install requirements": Status: Downloaded newer image for python:3.14
Step #0 - "Install requirements": docker.io/library/python:3.14
Step #0 - "Install requirements": Collecting uv
Step #0 - "Install requirements":   Downloading uv-0.11.28-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Step #0 - "Install requirements": Downloading uv-0.11.28-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (27.1 MB)
Step #0 - "Install requirements":    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.1/27.1 MB 51.1 MB/s  0:00:00
Step #0 - "Install requirements": Installing collected packages: uv
Step #0 - "Install requirements": Successfully installed uv-0.11.28
Step #0 - "Install requirements": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Step #0 - "Install requirements": Using CPython 3.14.6 interpreter at: /usr/local/bin/python3
Step #0 - "Install requirements": Creating virtual environment at: /workspace/venv
Step #0 - "Install requirements": Activate with: source /workspace/venv/bin/activate
Step #0 - "Install requirements": Using Python 3.14.6 environment at: /workspace/venv
Step #0 - "Install requirements": Resolved 1 package in 278ms
Step #0 - "Install requirements": Downloading uv (25.9MiB)
Step #0 - "Install requirements":  Downloaded uv
Step #0 - "Install requirements": Prepared 1 package in 588ms
Step #0 - "Install requirements": warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
Step #0 - "Install requirements":          If the cache and target directories are on different filesystems, hardlinking may not be supported.
Step #0 - "Install requirements":          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Step #0 - "Install requirements": Installed 1 package in 98ms
Step #0 - "Install requirements":  + uv==0.11.28
Step #0 - "Install requirements": Using Python 3.14.6 environment at: /workspace/venv
Step #0 - "Install requirements": Resolved 47 packages in 2.25s
Step #0 - "Install requirements":    Building toolbox-core @ file:///workspace/packages/toolbox-core
Step #0 - "Install requirements": Downloading cryptography (4.5MiB)
Step #0 - "Install requirements": Downloading zstandard (5.3MiB)
Step #0 - "Install requirements": Downloading pydantic-core (2.0MiB)
Step #0 - "Install requirements": Downloading aiohttp (1.7MiB)
Step #0 - "Install requirements":  Downloaded pydantic-core
Step #0 - "Install requirements":  Downloaded zstandard
Step #0 - "Install requirements":       Built toolbox-core @ file:///workspace/packages/toolbox-core
Step #0 - "Install requirements":  Downloaded aiohttp
Step #0 - "Install requirements":  Downloaded cryptography
Step #0 - "Install requirements": Prepared 47 packages in 908ms
Step #0 - "Install requirements": warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
Step #0 - "Install requirements":          If the cache and target directories are on different filesystems, hardlinking may not be supported.
Step #0 - "Install requirements":          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Step #0 - "Install requirements": Installed 47 packages in 258ms
Step #0 - "Install requirements":  + aiohappyeyeballs==2.7.1
Step #0 - "Install requirements":  + aiohttp==3.14.1
Step #0 - "Install requirements":  + aiosignal==1.4.0
Step #0 - "Install requirements":  + annotated-types==0.7.0
Step #0 - "Install requirements":  + anyio==4.14.1
Step #0 - "Install requirements":  + attrs==26.1.0
Step #0 - "Install requirements":  + certifi==2026.6.17
Step #0 - "Install requirements":  + cffi==2.1.0
Step #0 - "Install requirements":  + charset-normalizer==3.4.9
Step #0 - "Install requirements":  + cryptography==49.0.0
Step #0 - "Install requirements":  + deprecated==1.3.1
Step #0 - "Install requirements":  + distro==1.9.0
Step #0 - "Install requirements":  + frozenlist==1.8.0
Step #0 - "Install requirements":  + google-auth==2.55.2
Step #0 - "Install requirements":  + h11==0.16.0
Step #0 - "Install requirements":  + httpcore==1.0.9
Step #0 - "Install requirements":  + httpx==0.28.1
Step #0 - "Install requirements":  + idna==3.18
Step #0 - "Install requirements":  + jsonpatch==1.33
Step #0 - "Install requirements":  + jsonpointer==3.1.1
Step #0 - "Install requirements":  + langchain-core==1.4.0
Step #0 - "Install requirements":  + langchain-protocol==0.0.18
Step #0 - "Install requirements":  + langsmith==0.9.8
Step #0 - "Install requirements":  + multidict==6.7.1
Step #0 - "Install requirements":  + orjson==3.11.9
Step #0 - "Install requirements":  + packaging==26.2
Step #0 - "Install requirements":  + propcache==0.5.2
Step #0 - "Install requirements":  + pyasn1==0.6.3
Step #0 - "Install requirements":  + pyasn1-modules==0.4.2
Step #0 - "Install requirements":  + pycparser==3.0
Step #0 - "Install requirements":  + pydantic==2.13.4
Step #0 - "Install requirements":  + pydantic-core==2.46.4
Step #0 - "Install requirements":  + pyyaml==6.0.3
Step #0 - "Install requirements":  + requests==2.34.2
Step #0 - "Install requirements":  + requests-toolbelt==1.0.0
Step #0 - "Install requirements":  + sniffio==1.3.1
Step #0 - "Install requirements":  + tenacity==9.1.4
Step #0 - "Install requirements":  + toolbox-core==1.1.0 (from file:///workspace/packages/toolbox-core)
Step #0 - "Install requirements":  + typing-extensions==4.16.0
Step #0 - "Install requirements":  + typing-inspection==0.4.2
Step #0 - "Install requirements":  + urllib3==2.7.0
Step #0 - "Install requirements":  + uuid-utils==0.16.2
Step #0 - "Install requirements":  + websockets==16.0
Step #0 - "Install requirements":  + wrapt==2.2.2
Step #0 - "Install requirements":  + xxhash==3.8.1
Step #0 - "Install requirements":  + yarl==1.24.2
Step #0 - "Install requirements":  + zstandard==0.25.0
Step #0 - "Install requirements": Using Python 3.14.6 environment at: /workspace/venv
Step #0 - "Install requirements": Resolved 96 packages in 1.97s
Step #0 - "Install requirements":    Building toolbox-langchain @ file:///workspace/packages/toolbox-langchain
Step #0 - "Install requirements": Downloading grpcio (6.5MiB)
Step #0 - "Install requirements": Downloading mypy (14.3MiB)
Step #0 - "Install requirements": Downloading ast-serialize (1.2MiB)
Step #0 - "Install requirements": Downloading black (1.8MiB)
Step #0 - "Install requirements": Downloading pillow (6.8MiB)
Step #0 - "Install requirements": Downloading pygments (1.2MiB)
Step #0 - "Install requirements":  Downloaded pygments
Step #0 - "Install requirements":  Downloaded ast-serialize
Step #0 - "Install requirements": Downloading jedi (4.7MiB)
Step #0 - "Install requirements":       Built toolbox-langchain @ file:///workspace/packages/toolbox-langchain
Step #0 - "Install requirements":  Downloaded black
Step #0 - "Install requirements":  Downloaded pillow
Step #0 - "Install requirements":  Downloaded grpcio
Step #0 - "Install requirements":  Downloaded mypy
Step #0 - "Install requirements":  Downloaded jedi
Step #0 - "Install requirements":    Building numpy==1.26.4
Step #0 - "Install requirements":       Built numpy==1.26.4
Step #0 - "Install requirements": Prepared 49 packages in 9m 37s
Step #0 - "Install requirements": warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
Step #0 - "Install requirements":          If the cache and target directories are on different filesystems, hardlinking may not be supported.
Step #0 - "Install requirements":          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Step #0 - "Install requirements": Installed 49 packages in 1.21s
Step #0 - "Install requirements":  + ast-serialize==0.6.0
Step #0 - "Install requirements":  + asttokens==3.0.1
Step #0 - "Install requirements":  + black==26.5.1
Step #0 - "Install requirements":  + click==8.4.2
Step #0 - "Install requirements":  + coverage==7.15.0
Step #0 - "Install requirements":  + decorator==5.3.1
Step #0 - "Install requirements":  + executing==2.2.1
Step #0 - "Install requirements":  + google-api-core==2.31.0
Step #0 - "Install requirements":  + google-cloud-core==2.6.0
Step #0 - "Install requirements":  + google-cloud-secret-manager==2.28.0
Step #0 - "Install requirements":  + google-cloud-storage==3.10.1
Step #0 - "Install requirements":  + google-crc32c==1.8.0
Step #0 - "Install requirements":  + google-resumable-media==2.10.0
Step #0 - "Install requirements":  + googleapis-common-protos==1.75.0
Step #0 - "Install requirements":  + grpc-google-iam-v1==0.14.4
Step #0 - "Install requirements":  + grpcio==1.81.1
Step #0 - "Install requirements":  + grpcio-status==1.81.1
Step #0 - "Install requirements":  + iniconfig==2.3.0
Step #0 - "Install requirements":  + ipython==9.15.0
Step #0 - "Install requirements":  + ipython-pygments-lexers==1.1.1
Step #0 - "Install requirements":  + isort==8.0.1
Step #0 - "Install requirements":  + jedi==0.20.0
Step #0 - "Install requirements":  + librt==0.12.0
Step #0 - "Install requirements":  + matplotlib-inline==0.2.2
Step #0 - "Install requirements":  + mypy==2.1.0
Step #0 - "Install requirements":  + mypy-extensions==1.1.0
Step #0 - "Install requirements":  + numpy==1.26.4
Step #0 - "Install requirements":  + parso==0.8.7
Step #0 - "Install requirements":  + pathspec==1.1.1
Step #0 - "Install requirements":  + pexpect==4.9.0
Step #0 - "Install requirements":  + pillow==12.2.0
Step #0 - "Install requirements":  + platformdirs==4.10.0
Step #0 - "Install requirements":  + pluggy==1.6.0
Step #0 - "Install requirements":  + prompt-toolkit==3.0.52
Step #0 - "Install requirements":  + proto-plus==1.28.0
Step #0 - "Install requirements":  + protobuf==7.35.1
Step #0 - "Install requirements":  + psutil==7.2.2
Step #0 - "Install requirements":  + ptyprocess==0.7.0
Step #0 - "Install requirements":  + pure-eval==0.2.3
Step #0 - "Install requirements":  + pygments==2.20.0
Step #0 - "Install requirements":  + pytest==9.0.3
Step #0 - "Install requirements":  + pytest-asyncio==1.4.0
Step #0 - "Install requirements":  + pytest-cov==7.1.0
Step #0 - "Install requirements":  + pytokens==0.4.1
Step #0 - "Install requirements":  + stack-data==0.6.3
Step #0 - "Install requirements":  + tokenize-rt==6.2.0
Step #0 - "Install requirements":  + toolbox-langchain==1.0.1 (from file:///workspace/packages/toolbox-langchain)
Step #0 - "Install requirements":  + traitlets==5.15.1
Step #0 - "Install requirements":  + wcwidth==0.8.2
Finished Step #0 - "Install requirements"
Starting Step #1 - "Run integration tests"
Step #1 - "Run integration tests": Already have image (with digest): python:3.14
Step #1 - "Run integration tests": ============================= test session starts ==============================
Step #1 - "Run integration tests": platform linux -- Python 3.14.6, pytest-9.0.3, pluggy-1.6.0
Step #1 - "Run integration tests": rootdir: /workspace/packages/toolbox-langchain
Step #1 - "Run integration tests": configfile: pyproject.toml
Step #1 - "Run integration tests": plugins: langsmith-0.9.8, cov-7.1.0, asyncio-1.4.0, anyio-4.14.1
Step #1 - "Run integration tests": asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
Step #1 - "Run integration tests": collected 116 items
Step #1 - "Run integration tests": 
Step #1 - "Run integration tests": tests/test_async_client.py .................                             [ 14%]
Step #1 - "Run integration tests": tests/test_async_tools.py ..................                             [ 30%]
Step #1 - "Run integration tests": tests/test_client.py ...............                                     [ 43%]
Step #1 - "Run integration tests": tests/test_e2e.py ...................................................... [ 89%]
Step #1 - "Run integration tests": ..                                                                       [ 91%]
Finished Step #1 - "Run integration tests"
PUSH
DONE

Build Log: https://console.cloud.google.com/logs/viewer?advancedFilter=resource.type%3D%22build%22+AND+resource.labels.build_id%3D%22a3e0982a-b187-4604-ac17-987fdc8885c1%22+AND+resource.labels.build_trigger_id%3D%22a2e756e4-b5e4-4f6b-97d0-27b57283fae1%22&project=toolbox-testing-438616