Showing build.log
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[09:59:05 PST] Transferring environment variable script to build VM
[09:59:06 PST] Transferring kokoro_log_reader.py to build VM
[09:59:06 PST] Transferring source code to build VM
[09:59:07 PST] Executing build script on build VM
[ID: 1468488] Executing command via SSH:
export KOKORO_BUILD_NUMBER="949"
export KOKORO_JOB_NAME="grpc/go/master/branch/xds_url_map"
source /tmpfs/kokoro-env_vars.sh; cd /tmpfs/src/ ; chmod 755 github/grpc-go/test/kokoro/xds_url_map.sh ; PYTHON_3_VERSION="$(pyenv which python3 2> /dev/null || which python3)" ; PYTHON_2_VERSION="$(pyenv which python2 2> /dev/null || which python2)" ; if "$PYTHON_3_VERSION" -c "import psutil" ; then KOKORO_PYTHON_COMMAND="$PYTHON_3_VERSION" ; else KOKORO_PYTHON_COMMAND="$PYTHON_2_VERSION" ; fi > /dev/null 2>&1 ; echo "export KOKORO_PYTHON_COMMAND="$KOKORO_PYTHON_COMMAND"" > "$HOME/.kokoro_python_vars" ; nohup bash -c "( rm -f /tmpfs/kokoro_build_exit_code ; github/grpc-go/test/kokoro/xds_url_map.sh ; echo \${PIPESTATUS[0]} > /tmpfs/kokoro_build_exit_code ) > /tmpfs/kokoro_build.log 2>&1" > /dev/null 2>&1 & echo $! > /tmpfs/kokoro_build.pid ; source "$HOME/.kokoro_python_vars" ; "$KOKORO_PYTHON_COMMAND" /tmpfs/kokoro_log_reader.py /tmpfs/kokoro_build.log /tmpfs/kokoro_build_exit_code /tmpfs/kokoro_build.pid /tmpfs/kokoro_log_reader.pid --start_byte 0
Sourcing test driver install script from: https://raw.githubusercontent.com/grpc/psm-interop/main/.kokoro/psm_interop_kokoro_lib.sh
Activated GKE cluster: GKE_CLUSTER_NAME=interop-test-psm-basic GKE_CLUSTER_ZONE=us-central1-c
+ [[ -n /tmpfs/src ]]
+ kokoro_setup_test_driver grpc-go
+ set +x
Kokoro Ubuntu version:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Python 3.10.12
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Sponge properties:
TESTS_FORMAT_VERSION,2
TESTGRID_EXCLUDE,0
GIT_ORIGIN_URL,https://github.com/zasweq/grpc-go.git
GIT_COMMIT_SHORT,eb521e50
(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 ... 130042 files and directories currently installed.)
Removing needrestart (3.5-5ubuntu2.1) ...
Processing triggers for man-db (2.10.2-1) ...
W: https://packages.cloud.google.com/apt/dists/cloud-sdk/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
(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 ... 129987 files and directories currently installed.)
Removing libintl-xs-perl (1.26-3build2) ...
Removing libintl-perl (1.26-3build2) ...
Removing libmodule-find-perl (0.15-1) ...
Removing libmodule-scandeps-perl (1.31-1) ...
Removing libproc-processtable-perl:amd64 (0.634-1build1) ...
Removing libsort-naturally-perl (1.03-2) ...
Removing libterm-readkey-perl (2.38-1build4) ...
Selecting previously unselected package google-cloud-sdk-gke-gcloud-auth-plugin.
(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 ... 129587 files and directories currently installed.)
Preparing to unpack .../google-cloud-sdk-gke-gcloud-auth-plugin_0%3a459.0.0-0_amd64.deb ...
Unpacking google-cloud-sdk-gke-gcloud-auth-plugin (459.0.0-0) ...
Selecting previously unselected package kubectl.
Preparing to unpack .../kubectl_1%3a459.0.0-0_amd64.deb ...
Unpacking kubectl (1:459.0.0-0) ...
Selecting previously unselected package python3-pip-whl.
Preparing to unpack .../python3-pip-whl_22.0.2+dfsg-1ubuntu0.4_all.deb ...
Unpacking python3-pip-whl (22.0.2+dfsg-1ubuntu0.4) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../python3-setuptools-whl_59.6.0-1.2ubuntu0.22.04.1_all.deb ...
Unpacking python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.1) ...
Selecting previously unselected package python3.10-venv.
Preparing to unpack .../python3.10-venv_3.10.12-1~22.04.3_amd64.deb ...
Unpacking python3.10-venv (3.10.12-1~22.04.3) ...
Setting up python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.1) ...
Setting up python3-pip-whl (22.0.2+dfsg-1ubuntu0.4) ...
Setting up google-cloud-sdk-gke-gcloud-auth-plugin (459.0.0-0) ...
Setting up kubectl (1:459.0.0-0) ...
Setting up python3.10-venv (3.10.12-1~22.04.3) ...
Processing triggers for man-db (2.10.2-1) ...
Fetching cluster endpoint and auth data.
kubeconfig entry generated for interop-test-psm-basic.
Cloning driver to https://github.com/grpc/psm-interop.git branch main to /tmp/tmp.LgMi7gcQ7j/psm-interop
Cloning into '/tmp/tmp.LgMi7gcQ7j/psm-interop'...
Install python dependencies
Creating python virtual environment: /tmp/tmp.LgMi7gcQ7j/psm-interop/venv
Collecting Mako==1.2.4 (from -r requirements.lock (line 1))
Downloading Mako-1.2.4-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 1.9 MB/s eta 0:00:00
Collecting PyYAML==6.0 (from -r requirements.lock (line 2))
Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 15.7 MB/s eta 0:00:00
Collecting absl-py==0.15.0 (from -r requirements.lock (line 3))
Downloading absl_py-0.15.0-py3-none-any.whl (132 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.0/132.0 kB 14.3 MB/s eta 0:00:00
Collecting google-api-python-client==1.12.11 (from -r requirements.lock (line 4))
Downloading google_api_python_client-1.12.11-py2.py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.1/62.1 kB 6.8 MB/s eta 0:00:00
Collecting google-cloud-secret-manager==2.15.1 (from -r requirements.lock (line 5))
Downloading google_cloud_secret_manager-2.15.1-py2.py3-none-any.whl (100 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.4/100.4 kB 11.5 MB/s eta 0:00:00
Collecting grpcio==1.57.0 (from -r requirements.lock (line 6))
Downloading grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting grpcio-health-checking==1.57.0 (from -r requirements.lock (line 7))
Downloading grpcio_health_checking-1.57.0-py3-none-any.whl.metadata (1.2 kB)
Collecting grpcio-tools==1.57.0 (from -r requirements.lock (line 8))
Downloading grpcio_tools-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.2 kB)
Collecting grpcio-channelz==1.57.0 (from -r requirements.lock (line 9))
Downloading grpcio_channelz-1.57.0-py3-none-any.whl.metadata (1.2 kB)
Collecting kubernetes==27.2.0 (from -r requirements.lock (line 10))
Downloading kubernetes-27.2.0-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting six==1.16.0 (from -r requirements.lock (line 11))
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tenacity==6.3.1 (from -r requirements.lock (line 12))
Downloading tenacity-6.3.1-py2.py3-none-any.whl (36 kB)
Collecting packaging==23.1 (from -r requirements.lock (line 13))
Downloading packaging-23.1-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 5.3 MB/s eta 0:00:00
Collecting Pygments==2.14.0 (from -r requirements.lock (line 14))
Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 44.4 MB/s eta 0:00:00
Collecting python-dateutil==2.8.2 (from -r requirements.lock (line 15))
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 23.5 MB/s eta 0:00:00
Collecting protobuf==4.24.1 (from -r requirements.lock (line 16))
Downloading protobuf-4.24.1-cp37-abi3-manylinux2014_x86_64.whl.metadata (540 bytes)
Collecting xds-protos==1.58.0rc1 (from -r requirements.lock (line 17))
Downloading xds_protos-1.58.0rc1-py3-none-any.whl.metadata (1.3 kB)
Collecting cachetools==5.3.1 (from -r requirements.lock (line 19))
Downloading cachetools-5.3.1-py3-none-any.whl.metadata (5.2 kB)
Collecting certifi==2023.7.22 (from -r requirements.lock (line 20))
Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting charset-normalizer==3.2.0 (from -r requirements.lock (line 21))
Downloading charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB)
Collecting google-api-core==2.11.1 (from -r requirements.lock (line 22))
Downloading google_api_core-2.11.1-py3-none-any.whl.metadata (2.7 kB)
Collecting google-auth==2.22.0 (from -r requirements.lock (line 23))
Downloading google_auth-2.22.0-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting google-auth-httplib2==0.1.0 (from -r requirements.lock (line 24))
Downloading google_auth_httplib2-0.1.0-py2.py3-none-any.whl (9.3 kB)
Collecting googleapis-common-protos==1.60.0 (from -r requirements.lock (line 25))
Downloading googleapis_common_protos-1.60.0-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting grpc-google-iam-v1==0.12.6 (from -r requirements.lock (line 26))
Downloading grpc_google_iam_v1-0.12.6-py2.py3-none-any.whl (26 kB)
Collecting grpcio-status==1.57.0 (from -r requirements.lock (line 27))
Downloading grpcio_status-1.57.0-py3-none-any.whl.metadata (1.2 kB)
Collecting httplib2==0.22.0 (from -r requirements.lock (line 28))
Downloading httplib2-0.22.0-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 kB 11.0 MB/s eta 0:00:00
Collecting idna==3.4 (from -r requirements.lock (line 29))
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 7.7 MB/s eta 0:00:00
Collecting MarkupSafe==2.1.3 (from -r requirements.lock (line 30))
Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting oauthlib==3.2.2 (from -r requirements.lock (line 31))
Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 15.6 MB/s eta 0:00:00
Collecting proto-plus==1.22.3 (from -r requirements.lock (line 32))
Downloading proto_plus-1.22.3-py3-none-any.whl.metadata (2.2 kB)
Collecting pyasn1==0.5.0 (from -r requirements.lock (line 33))
Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 kB 10.1 MB/s eta 0:00:00
Collecting pyasn1-modules==0.3.0 (from -r requirements.lock (line 34))
Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 18.4 MB/s eta 0:00:00
Collecting pyparsing==3.1.1 (from -r requirements.lock (line 35))
Downloading pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB)
Collecting requests==2.31.0 (from -r requirements.lock (line 36))
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting requests-oauthlib==1.3.1 (from -r requirements.lock (line 37))
Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting rsa==4.9 (from -r requirements.lock (line 38))
Downloading rsa-4.9-py3-none-any.whl (34 kB)
Collecting uritemplate==3.0.1 (from -r requirements.lock (line 39))
Downloading uritemplate-3.0.1-py2.py3-none-any.whl (15 kB)
Collecting urllib3==1.26.16 (from -r requirements.lock (line 40))
Downloading urllib3-1.26.16-py2.py3-none-any.whl.metadata (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 5.0 MB/s eta 0:00:00
Collecting websocket-client==1.6.2 (from -r requirements.lock (line 41))
Downloading websocket_client-1.6.2-py3-none-any.whl.metadata (7.5 kB)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from grpcio-tools==1.57.0->-r requirements.lock (line 8)) (69.0.3)
Downloading grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 93.6 MB/s eta 0:00:00
Downloading grpcio_health_checking-1.57.0-py3-none-any.whl (8.6 kB)
Downloading grpcio_tools-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 89.5 MB/s eta 0:00:00
Downloading grpcio_channelz-1.57.0-py3-none-any.whl (10 kB)
Downloading kubernetes-27.2.0-py2.py3-none-any.whl (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 70.8 MB/s eta 0:00:00
Downloading protobuf-4.24.1-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.4/311.4 kB 26.4 MB/s eta 0:00:00
Downloading xds_protos-1.58.0rc1-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 40.1 MB/s eta 0:00:00
Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 16.1 MB/s eta 0:00:00
Downloading charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (201 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.8/201.8 kB 20.2 MB/s eta 0:00:00
Downloading google_api_core-2.11.1-py3-none-any.whl (120 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.5/120.5 kB 13.7 MB/s eta 0:00:00
Downloading google_auth-2.22.0-py2.py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.8/181.8 kB 18.2 MB/s eta 0:00:00
Downloading googleapis_common_protos-1.60.0-py2.py3-none-any.whl (227 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.6/227.6 kB 20.8 MB/s eta 0:00:00
Downloading grpcio_status-1.57.0-py3-none-any.whl (5.1 kB)
Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Downloading proto_plus-1.22.3-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 5.1 MB/s eta 0:00:00
Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 kB 10.9 MB/s eta 0:00:00
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 6.7 MB/s eta 0:00:00
Downloading urllib3-1.26.16-py2.py3-none-any.whl (143 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 kB 14.8 MB/s eta 0:00:00
Downloading websocket_client-1.6.2-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.0/57.0 kB 6.2 MB/s eta 0:00:00
Installing collected packages: websocket-client, urllib3, uritemplate, six, PyYAML, pyparsing, Pygments, pyasn1, protobuf, packaging, oauthlib, MarkupSafe, idna, grpcio, charset-normalizer, certifi, cachetools, xds-protos, tenacity, rsa, requests, python-dateutil, pyasn1-modules, proto-plus, Mako, httplib2, grpcio-tools, grpcio-health-checking, grpcio-channelz, googleapis-common-protos, absl-py, requests-oauthlib, grpcio-status, google-auth, kubernetes, grpc-google-iam-v1, google-auth-httplib2, google-api-core, google-api-python-client, google-cloud-secret-manager
Successfully installed Mako-1.2.4 MarkupSafe-2.1.3 PyYAML-6.0 Pygments-2.14.0 absl-py-0.15.0 cachetools-5.3.1 certifi-2023.7.22 charset-normalizer-3.2.0 google-api-core-2.11.1 google-api-python-client-1.12.11 google-auth-2.22.0 google-auth-httplib2-0.1.0 google-cloud-secret-manager-2.15.1 googleapis-common-protos-1.60.0 grpc-google-iam-v1-0.12.6 grpcio-1.57.0 grpcio-channelz-1.57.0 grpcio-health-checking-1.57.0 grpcio-status-1.57.0 grpcio-tools-1.57.0 httplib2-0.22.0 idna-3.4 kubernetes-27.2.0 oauthlib-3.2.2 packaging-23.1 proto-plus-1.22.3 protobuf-4.24.1 pyasn1-0.5.0 pyasn1-modules-0.3.0 pyparsing-3.1.1 python-dateutil-2.8.2 requests-2.31.0 requests-oauthlib-1.3.1 rsa-4.9 six-1.16.0 tenacity-6.3.1 uritemplate-3.0.1 urllib3-1.26.16 websocket-client-1.6.2 xds-protos-1.58.0rc1
Installed Python packages:
Package Version
--------------------------- ---------
absl-py 0.15.0
cachetools 5.3.1
certifi 2023.7.22
charset-normalizer 3.2.0
google-api-core 2.11.1
google-api-python-client 1.12.11
google-auth 2.22.0
google-auth-httplib2 0.1.0
google-cloud-secret-manager 2.15.1
googleapis-common-protos 1.60.0
grpc-google-iam-v1 0.12.6
grpcio 1.57.0
grpcio-channelz 1.57.0
grpcio-health-checking 1.57.0
grpcio-status 1.57.0
grpcio-tools 1.57.0
httplib2 0.22.0
idna 3.4
kubernetes 27.2.0
Mako 1.2.4
MarkupSafe 2.1.3
oauthlib 3.2.2
packaging 23.1
pip 23.3.2
proto-plus 1.22.3
protobuf 4.24.1
pyasn1 0.5.0
pyasn1-modules 0.3.0
Pygments 2.14.0
pyparsing 3.1.1
python-dateutil 2.8.2
PyYAML 6.0
requests 2.31.0
requests-oauthlib 1.3.1
rsa 4.9
setuptools 69.0.3
six 1.16.0
tenacity 6.3.1
uritemplate 3.0.1
urllib3 1.26.16
websocket-client 1.6.2
xds-protos 1.58.0rc1
Generate python code from grpc.testing protos: protos/grpc/testing/test.proto protos/grpc/testing/messages.proto protos/grpc/testing/empty.proto
/tmp/tmp.LgMi7gcQ7j/psm-interop/venv/lib/python3.10/site-packages/grpc_tools/protoc.py:21: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Generated files /tmp/tmp.LgMi7gcQ7j/psm-interop/protos/grpc/testing:
total 108
-rw-rw-r-- 1 kbuilder kbuilder 957 Jan 16 17:59 empty.proto
-rw-rw-r-- 1 kbuilder kbuilder 1007 Jan 16 18:00 empty_pb2.py
-rw-rw-r-- 1 kbuilder kbuilder 159 Jan 16 18:00 empty_pb2_grpc.py
-rw-rw-r-- 1 kbuilder kbuilder 11527 Jan 16 17:59 messages.proto
-rw-rw-r-- 1 kbuilder kbuilder 17206 Jan 16 18:00 messages_pb2.py
-rw-rw-r-- 1 kbuilder kbuilder 159 Jan 16 18:00 messages_pb2_grpc.py
-rw-rw-r-- 1 kbuilder kbuilder 4871 Jan 16 17:59 test.proto
-rw-rw-r-- 1 kbuilder kbuilder 4296 Jan 16 18:00 test_pb2.py
-rw-rw-r-- 1 kbuilder kbuilder 41870 Jan 16 18:00 test_pb2_grpc.py
Client image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
Client image not found
Building Go xDS interop test app Docker images
#0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.51kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/golang:1.21-alpine
#3 DONE 0.6s
#4 [internal] load metadata for docker.io/library/alpine:latest
#4 DONE 1.5s
#5 [internal] load build context
#5 DONE 0.0s
#6 [build 1/4] FROM docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5
#6 resolve docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5 0.0s done
#6 sha256:2979d3ffd3a49b2dd31f3e87826cb75934ebef5c0e6e44c8ae38ead06678961d 0B / 284.20kB 0.1s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 0B / 67.09MB 0.1s
#6 sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5 1.65kB / 1.65kB done
#6 sha256:2523a6f68a0f515fe251aad40b18545155135ca6a5b2e61da8254df9153e3648 1.16kB / 1.16kB done
#6 sha256:82e66f0646744e5c40c91b75ff7d5ff5577887b46d5402965633324dd842ea87 5.22kB / 5.22kB done
#6 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0B / 3.41MB 0.1s
#6 sha256:2979d3ffd3a49b2dd31f3e87826cb75934ebef5c0e6e44c8ae38ead06678961d 284.20kB / 284.20kB 0.2s done
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 6.29MB / 67.09MB 0.2s
#6 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 3.41MB / 3.41MB 0.2s done
#6 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca
#6 sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98 0B / 156B 0.2s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 13.63MB / 67.09MB 0.3s
#6 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0.1s done
#6 sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98 156B / 156B 0.2s done
#6 ...
#7 [stage-1 1/2] FROM docker.io/library/alpine@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48
#7 resolve docker.io/library/alpine@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 0.0s done
#7 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 3.41MB / 3.41MB 0.1s done
#7 sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 1.64kB / 1.64kB done
#7 sha256:13b7e62e8df80264dbb747995705a986aa530415763a6c58f84a3ca8af9a5bcd 528B / 528B done
#7 sha256:f8c20f8bbcb684055b4fea470fdd169c86e87786940b3262335b12ec3adef418 1.47kB / 1.47kB done
#7 DONE 0.4s
#6 [build 1/4] FROM docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 18.87MB / 67.09MB 0.4s
#6 extracting sha256:2979d3ffd3a49b2dd31f3e87826cb75934ebef5c0e6e44c8ae38ead06678961d 0.1s done
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 25.17MB / 67.09MB 0.5s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 37.75MB / 67.09MB 0.7s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 47.18MB / 67.09MB 0.8s
#6 ...
#5 [internal] load build context
#5 transferring context: 87.14MB 0.8s done
#5 DONE 0.8s
#6 [build 1/4] FROM docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 56.62MB / 67.09MB 0.9s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 67.09MB / 67.09MB 1.2s done
#6 extracting sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 0.1s
#6 extracting sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 5.1s
#6 extracting sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 5.6s done
#6 extracting sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98
#6 extracting sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98 done
#6 DONE 7.3s
#8 [build 2/4] WORKDIR /go/src/grpc-go
#8 DONE 1.2s
#9 [build 3/4] COPY . .
#9 DONE 0.5s
#10 [build 4/4] RUN go build -tags osusergo,netgo interop/xds/client/client.go
#10 0.432 go: downloading github.com/envoyproxy/go-control-plane v0.11.1
#10 0.440 go: downloading google.golang.org/protobuf v1.31.0
#10 0.443 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17
#10 0.443 go: downloading github.com/golang/protobuf v1.5.3
#10 0.450 go: downloading golang.org/x/net v0.18.0
#10 0.463 go: downloading golang.org/x/sys v0.14.0
#10 0.525 go: downloading google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17
#10 0.933 go: downloading github.com/cncf/xds/go v0.0.0-20231109132714-523115ebc101
#10 1.062 go: downloading github.com/cespare/xxhash/v2 v2.2.0
#10 1.093 go: downloading github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe
#10 1.573 go: downloading github.com/envoyproxy/protoc-gen-validate v1.0.2
#10 1.573 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17
#10 1.584 go: downloading golang.org/x/text v0.14.0
#10 1.585 go: downloading github.com/census-instrumentation/opencensus-proto v0.4.1
#10 1.587 go: downloading golang.org/x/oauth2 v0.14.0
#10 1.587 go: downloading golang.org/x/sync v0.5.0
#10 1.683 go: downloading cloud.google.com/go/compute/metadata v0.2.3
#10 1.691 go: downloading cloud.google.com/go/compute v1.23.3
#10 DONE 22.3s
#11 [stage-1 2/2] COPY --from=build /go/src/grpc-go/client .
#11 DONE 0.1s
#12 exporting to image
#12 exporting layers
#12 exporting layers 0.2s done
#12 writing image sha256:b9975418b2ae6e61014a77e3795324301749a3a3d807b4f0a43f9cb35e3234dc done
#12 naming to gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723 done
#12 DONE 0.2s
Adding credentials for all GCR repositories.
WARNING: A long list of credential helpers may cause delays running 'docker build'. We recommend passing the registry name to configure only the registry you are using.
Docker configuration file updated.
The push refers to repository [gcr.io/grpc-testing/xds-interop/go-client]
6b0459292cb0: Preparing
5af4f8f59b76: Preparing
5af4f8f59b76: Layer already exists
6b0459292cb0: Pushed
eb521e502093ca03aea6f558edf5fa36a7caf723: digest: sha256:9d2cffe72bf40f9369b313700abfb9a58aa43225a53fb72a9e8870a275b06107 size: 740
mkdir: created directory '/tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map'
+ python -m tests.url_map --flagfile=config/grpc-testing.cfg --flagfile=config/url-map.cfg --kube_context=gke_grpc-testing_us-central1-c_interop-test-psm-basic --client_image=gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723 --testing_version=dev-master --collect_app_logs --log_dir=/tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map --xml_output_file=/tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map/sponge_log.xml
+ tee /tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map/sponge_log.log
Running tests under Python 3.10.12: /tmp/tmp.LgMi7gcQ7j/psm-interop/venv/bin/python
I0116 18:00:58.119329 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestHeaderBasedAffinity -----
I0116 18:00:58.119610 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:00:58.119986 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:00:58.120431 140086647615488 xds_url_map_test_resources.py:158] GcpResourceManager: resource prefix=interop-psm-url-map, suffix=
I0116 18:00:58.135483 140086647615488 k8s.py:243] Using kubernetes context "gke_grpc-testing_us-central1-c_interop-test-psm-basic", active host: https://130.211.205.238
I0116 18:00:58.593354 140086647615488 logs.py:31] Log root dir: /tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map
I0116 18:00:58.594155 140086647615488 xds_url_map_test_resources.py:221] Strategy of GCP resources management: reuse
I0116 18:00:58.594290 140086647615488 xds_url_map_test_resources.py:261] GcpResourceManager: skipping setup for strategy [reuse]
I0116 18:00:58.594439 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1800-mvjvj
I0116 18:00:58.594728 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1800-mvjvj: server_target=xds:///affinity.test-header-based-affinity:8848 rpc=EmptyCall qps=25 metadata='EmptyCall:xds_md:empty_ytpme' secure_mode=False print_response=True
I0116 18:00:58.595004 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1800-mvjvj%22;timeRange=2024-01-16T18:00:58.594835Z%2F2024-01-16T18:30:58.594835Z?project=grpc-testing
I0116 18:00:58.600287 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1800-mvjvj
labels:
name: interop-psm-url-map-client-20240116-1800-mvjvj
owner: xds-k8s-interop-test
...
I0116 18:00:58.659091 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1800-mvjvj created
I0116 18:00:58.669003 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1800-mvjvj
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-rdyhyzsh
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-rdyhyzsh
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-rdyhyzsh
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///affinity.test-header-based-affinity:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=EmptyCall"
- "--metadata=EmptyCall:xds_md:empty_ytpme"
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:00:58.740850 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:00:58.741120 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:00:58.852335 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-66c5b7858c-2x8qt']
I0116 18:00:58.852662 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-66c5b7858c-2x8qt to start
I0116 18:01:03.138641 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-66c5b7858c-2x8qt ready, IP: 10.60.5.20
I0116 18:01:03.138962 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-66c5b7858c-2x8qt to url_map/test_app_logs/interop-psm-url-map-client-20240116-1800-mvjvj_psm-grpc-client-66c5b7858c-2x8qt.log
I0116 18:01:03.139783 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-66c5b7858c-2x8qt
I0116 18:01:03.140019 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:01:05.389280 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] affinity_test.TestHeaderBasedAffinity.test_client_config
I0116 18:01:05.390089 140086647615488 client_app.py:284] [psm-grpc-client-66c5b7858c-2x8qt] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:01:05.493674 140086647615488 client_app.py:312] [psm-grpc-client-66c5b7858c-2x8qt] xDS control plane channel:
I0116 18:01:07.528523 140086647615488 client_app.py:323] [psm-grpc-client-66c5b7858c-2x8qt] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:01:07.528975 140086647615488 client_app.py:294] [psm-grpc-client-66c5b7858c-2x8qt] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:01:07.581245 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.277665245Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428035317416407'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - lbPolicy
- RING_HASH
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-affinity
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-affinity
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.283339335Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.1.10
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.0.3
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.7.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_5256530401325502228_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.262739577Z'
name: affinity.test-header-based-affinity:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428035317416407'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- affinity.test-header-based-affinity:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.269047697Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428035317416407'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848
- - virtualHosts
- - domains:
- affinity.test-header-based-affinity:8848
routes:
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
hashPolicy:
- header:
headerName: xds_md
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/246705f0-516e-48df-bc8d-fda9d44ec437
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.20
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] affinity_test.TestHeaderBasedAffinity.test_client_config
I0116 18:01:07.581848 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinity.test_client_config PASSED -----
[ RUN ] affinity_test.TestHeaderBasedAffinity.test_rpc_distribution
I0116 18:01:07.582330 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:01:09.616953 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:01:15.632872 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-66c5b7858c-2x8qt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
I0116 18:01:15.761226 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL', 'UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:01:17.795330 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:01:20.792827 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-66c5b7858c-2x8qt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 43
psm-grpc-server-affinity-7bcdbfdf64-jwxjb: 52
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 55
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 24
psm-grpc-server-affinity-7bcdbfdf64-jwxjb: 25
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 26
UnaryCall:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 19
psm-grpc-server-affinity-7bcdbfdf64-jwxjb: 27
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 29
[ OK ] affinity_test.TestHeaderBasedAffinity.test_rpc_distribution
I0116 18:01:20.921794 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinity.test_rpc_distribution PASSED -----
I0116 18:01:20.922026 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestHeaderBasedAffinity teardown -----
I0116 18:01:20.966409 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:01:31.119105 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:01:31.119476 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1800-mvjvj
I0116 18:02:01.320668 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1800-mvjvj deleted
I0116 18:02:01.321280 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:02:01.321581 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-rdyhyzsh:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1800-mvjvj%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-rdyhyzsh%22;timeRange=2024-01-16T18:00:58.594829Z%2F2024-01-16T18:02:01.320990Z?project=grpc-testing
I0116 18:02:01.321753 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestHeaderBasedAffinityMultipleHeaders -----
I0116 18:02:01.321839 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:02:01.322002 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:02:01.322172 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1802-2il6o
I0116 18:02:01.322598 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1802-2il6o: server_target=xds:///affinity.test-header-based-affinity-multiple-headers:8848 rpc=EmptyCall qps=25 metadata='EmptyCall:xds_md:empty_ytpme' secure_mode=False print_response=True
I0116 18:02:01.322801 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1802-2il6o%22;timeRange=2024-01-16T18:02:01.322705Z%2F2024-01-16T18:32:01.322705Z?project=grpc-testing
I0116 18:02:01.324855 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1802-2il6o
labels:
name: interop-psm-url-map-client-20240116-1802-2il6o
owner: xds-k8s-interop-test
...
I0116 18:02:01.381068 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1802-2il6o created
I0116 18:02:01.389637 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1802-2il6o
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-vlgvsqtr
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-vlgvsqtr
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-vlgvsqtr
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///affinity.test-header-based-affinity-multiple-headers:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=EmptyCall"
- "--metadata=EmptyCall:xds_md:empty_ytpme"
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:02:01.456265 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:02:01.456535 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:02:01.557974 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6cdc655555-7bs2t']
I0116 18:02:01.558278 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6cdc655555-7bs2t to start
I0116 18:02:05.910574 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6cdc655555-7bs2t ready, IP: 10.60.5.21
I0116 18:02:05.910872 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6cdc655555-7bs2t to url_map/test_app_logs/interop-psm-url-map-client-20240116-1802-2il6o_psm-grpc-client-6cdc655555-7bs2t.log
I0116 18:02:05.911278 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6cdc655555-7bs2t
I0116 18:02:05.911421 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:02:09.123999 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_client_config
I0116 18:02:09.124794 140086647615488 client_app.py:284] [psm-grpc-client-6cdc655555-7bs2t] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:02:09.221769 140086647615488 client_app.py:312] [psm-grpc-client-6cdc655555-7bs2t] xDS control plane channel:
I0116 18:02:11.256992 140086647615488 client_app.py:323] [psm-grpc-client-6cdc655555-7bs2t] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:02:11.257424 140086647615488 client_app.py:294] [psm-grpc-client-6cdc655555-7bs2t] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:02:11.309061 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.876107957Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428101596497650'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848
- - virtualHosts
- - domains:
- affinity.test-header-based-affinity-multiple-headers:8848
routes:
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
hashPolicy:
- header:
headerName: xds_md
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.880959492Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428101596497650'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - lbPolicy
- RING_HASH
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-affinity
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-affinity
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.890038774Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.1.10
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.0.3
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.7.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_5256530401325502228_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.870806839Z'
name: affinity.test-header-based-affinity-multiple-headers:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428101596497650'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- affinity.test-header-based-affinity-multiple-headers:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/dea723b6-fc5a-456b-b9a6-a8815365c87b
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.21
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_client_config
I0116 18:02:11.309613 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_client_config PASSED -----
[ RUN ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_rpc_distribution
I0116 18:02:11.310059 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:02:13.344581 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:02:19.376548 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6cdc655555-7bs2t] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
I0116 18:02:19.502867 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL', 'UNARY_CALL'], 'metadata': [{'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md', 'value': '0'}]}), wait_for_ready=True, timeout=5)
I0116 18:02:21.537378 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:02:24.535109 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6cdc655555-7bs2t] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 75
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 75
UnaryCall:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 75
[ OK ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_rpc_distribution
I0116 18:02:24.662184 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_rpc_distribution PASSED -----
I0116 18:02:24.662418 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestHeaderBasedAffinityMultipleHeaders teardown -----
I0116 18:02:24.708027 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:02:34.861183 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:02:34.861526 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1802-2il6o
I0116 18:03:05.030661 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1802-2il6o deleted
I0116 18:03:05.031150 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:03:05.031410 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-vlgvsqtr:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1802-2il6o%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-vlgvsqtr%22;timeRange=2024-01-16T18:02:01.322700Z%2F2024-01-16T18:03:05.030952Z?project=grpc-testing
I0116 18:03:05.031614 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestBasicCsds -----
I0116 18:03:05.031704 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:03:05.031865 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:03:05.032042 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1803-f8jjy
I0116 18:03:05.032392 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1803-f8jjy: server_target=xds:///csds.test-basic-csds:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:03:05.032611 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-f8jjy%22;timeRange=2024-01-16T18:03:05.032509Z%2F2024-01-16T18:33:05.032509Z?project=grpc-testing
I0116 18:03:05.034543 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1803-f8jjy
labels:
name: interop-psm-url-map-client-20240116-1803-f8jjy
owner: xds-k8s-interop-test
...
I0116 18:03:05.075484 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1803-f8jjy created
I0116 18:03:05.083726 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1803-f8jjy
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-3he7r9i1
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-3he7r9i1
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-3he7r9i1
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///csds.test-basic-csds:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:03:05.155879 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:03:05.156147 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:03:05.259534 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-654b76955c-9wlq8']
I0116 18:03:05.259860 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-654b76955c-9wlq8 to start
I0116 18:03:08.496910 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-654b76955c-9wlq8 ready, IP: 10.60.5.22
I0116 18:03:08.497284 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-654b76955c-9wlq8 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1803-f8jjy_psm-grpc-client-654b76955c-9wlq8.log
I0116 18:03:08.497805 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-654b76955c-9wlq8
I0116 18:03:08.498100 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:03:09.637606 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] csds_test.TestBasicCsds.test_client_config
I0116 18:03:09.638377 140086647615488 client_app.py:284] [psm-grpc-client-654b76955c-9wlq8] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:03:09.736788 140086647615488 client_app.py:312] [psm-grpc-client-654b76955c-9wlq8] xDS control plane channel:
I0116 18:03:11.771218 140086647615488 client_app.py:323] [psm-grpc-client-654b76955c-9wlq8] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:03:11.771760 140086647615488 client_app.py:294] [psm-grpc-client-654b76955c-9wlq8] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:03:11.822360 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.977740773Z'
name: csds.test-basic-csds:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428152657564501'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- csds.test-basic-csds:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.984355882Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428152657564501'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848
- - virtualHosts
- - domains:
- csds.test-basic-csds:8848
routes:
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.990511432Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428152657564501'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.994968201Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/56f93461-03d3-4dc9-beac-5a4a2af6e34e
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.22
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] csds_test.TestBasicCsds.test_client_config
I0116 18:03:11.823033 140086647615488 base_testcase.py:52] ----- TestCase csds_test.TestBasicCsds.test_client_config PASSED -----
[ RUN ] csds_test.TestBasicCsds.test_rpc_distribution
I0116 18:03:11.823455 140086647615488 grpc.py:75] [psm-grpc-client-654b76955c-9wlq8:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:03:13.857703 140086647615488 grpc.py:75] [psm-grpc-client-654b76955c-9wlq8:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 50, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:03:14.879141 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-654b76955c-9wlq8] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 50
rpcs_by_method:
EmptyCall:
psm-grpc-server-fd86464df-wqkqx: 25
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 25
[ OK ] csds_test.TestBasicCsds.test_rpc_distribution
I0116 18:03:14.879883 140086647615488 base_testcase.py:52] ----- TestCase csds_test.TestBasicCsds.test_rpc_distribution PASSED -----
I0116 18:03:14.880080 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestBasicCsds teardown -----
I0116 18:03:14.922234 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:03:25.074711 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:03:25.075047 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1803-f8jjy
I0116 18:03:55.246474 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1803-f8jjy deleted
I0116 18:03:55.246968 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:03:55.247209 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-3he7r9i1:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-f8jjy%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-3he7r9i1%22;timeRange=2024-01-16T18:03:05.032504Z%2F2024-01-16T18:03:55.246761Z?project=grpc-testing
I0116 18:03:55.247360 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestAbortHalf -----
I0116 18:03:55.247452 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:03:55.247619 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:03:55.247779 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1803-85ukz
I0116 18:03:55.248128 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1803-85ukz: server_target=xds:///fault-injection.test-abort-half:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:03:55.248304 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-85ukz%22;timeRange=2024-01-16T18:03:55.248214Z%2F2024-01-16T18:33:55.248214Z?project=grpc-testing
I0116 18:03:55.250245 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1803-85ukz
labels:
name: interop-psm-url-map-client-20240116-1803-85ukz
owner: xds-k8s-interop-test
...
I0116 18:03:55.291693 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1803-85ukz created
I0116 18:03:55.300034 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1803-85ukz
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-tw7aa0ko
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-tw7aa0ko
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-tw7aa0ko
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-abort-half:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:03:55.372059 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:03:55.372327 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:03:55.498449 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6bf7fbf44b-55kks']
I0116 18:03:55.498882 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6bf7fbf44b-55kks to start
I0116 18:03:58.731682 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6bf7fbf44b-55kks ready, IP: 10.60.5.23
I0116 18:03:58.732087 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6bf7fbf44b-55kks to url_map/test_app_logs/interop-psm-url-map-client-20240116-1803-85ukz_psm-grpc-client-6bf7fbf44b-55kks.log
I0116 18:03:58.732640 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6bf7fbf44b-55kks
I0116 18:03:58.732848 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:03:59.872337 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestAbortHalf.test_client_config
I0116 18:03:59.873125 140086647615488 client_app.py:284] [psm-grpc-client-6bf7fbf44b-55kks] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:03:59.972344 140086647615488 client_app.py:312] [psm-grpc-client-6bf7fbf44b-55kks] xDS control plane channel:
I0116 18:04:02.007048 140086647615488 client_app.py:323] [psm-grpc-client-6bf7fbf44b-55kks] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:04:02.007484 140086647615488 client_app.py:294] [psm-grpc-client-6bf7fbf44b-55kks] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:04:02.059707 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.099565898Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428207199859452'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848
- - virtualHosts
- - domains:
- fault-injection.test-abort-half:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
numerator: 500000
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.104730588Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428207199859452'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.108677994Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.095347805Z'
name: fault-injection.test-abort-half:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428207199859452'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-abort-half:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/75e455c3-b8c4-489f-ac76-72048d41184d
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.23
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestAbortHalf.test_client_config
I0116 18:04:02.060264 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAbortHalf.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestAbortHalf.test_rpc_distribution
I0116 18:04:02.060637 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:04:04.095213 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:04:04.516478 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6bf7fbf44b-55kks] << Received LoadBalancerStatsResponse:
num_failures: 4
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 6
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 6
I0116 18:04:04.516842 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:04:04.550307 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bf7fbf44b-55kks: before:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 187
result:
(0, OK): 102
(16, UNAUTHENTICATED): 85
I0116 18:04:20.566314 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:04:20.599809 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bf7fbf44b-55kks: after:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 589
result:
(0, OK): 290
(16, UNAUTHENTICATED): 299
[ OK ] fault_injection_test.TestAbortHalf.test_rpc_distribution
I0116 18:04:20.600353 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAbortHalf.test_rpc_distribution PASSED -----
I0116 18:04:20.600530 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestAbortHalf teardown -----
I0116 18:04:20.668519 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:04:30.845072 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:04:30.845410 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1803-85ukz
I0116 18:05:01.024194 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1803-85ukz deleted
I0116 18:05:01.024652 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:05:01.024872 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-tw7aa0ko:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-85ukz%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-tw7aa0ko%22;timeRange=2024-01-16T18:03:55.248209Z%2F2024-01-16T18:05:01.024454Z?project=grpc-testing
I0116 18:05:01.025004 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestAlwaysAbort -----
I0116 18:05:01.025080 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:05:01.025197 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:05:01.025363 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1805-g43hx
I0116 18:05:01.025719 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1805-g43hx: server_target=xds:///fault-injection.test-always-abort:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:05:01.025900 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1805-g43hx%22;timeRange=2024-01-16T18:05:01.025810Z%2F2024-01-16T18:35:01.025810Z?project=grpc-testing
I0116 18:05:01.027775 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1805-g43hx
labels:
name: interop-psm-url-map-client-20240116-1805-g43hx
owner: xds-k8s-interop-test
...
I0116 18:05:01.086525 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1805-g43hx created
I0116 18:05:01.094795 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1805-g43hx
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-zj4ohpvk
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-zj4ohpvk
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-zj4ohpvk
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-always-abort:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:05:01.165270 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:05:01.165553 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:05:01.272658 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7989cdb4c6-dhr89']
I0116 18:05:01.272942 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7989cdb4c6-dhr89 to start
I0116 18:05:05.552476 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7989cdb4c6-dhr89 ready, IP: 10.60.6.25
I0116 18:05:05.552774 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7989cdb4c6-dhr89 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1805-g43hx_psm-grpc-client-7989cdb4c6-dhr89.log
I0116 18:05:05.553145 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7989cdb4c6-dhr89
I0116 18:05:05.553318 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:05:08.867926 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestAlwaysAbort.test_client_config
I0116 18:05:08.868802 140086647615488 client_app.py:284] [psm-grpc-client-7989cdb4c6-dhr89] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:05:08.965836 140086647615488 client_app.py:312] [psm-grpc-client-7989cdb4c6-dhr89] xDS control plane channel:
I0116 18:05:11.000552 140086647615488 client_app.py:323] [psm-grpc-client-7989cdb4c6-dhr89] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:05:11.000936 140086647615488 client_app.py:294] [psm-grpc-client-7989cdb4c6-dhr89] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:05:11.052140 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.814295215Z'
name: fault-injection.test-always-abort:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428290903048823'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-always-abort:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.818288649Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428290903048823'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848
- - virtualHosts
- - domains:
- fault-injection.test-always-abort:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
numerator: 1000000
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.822859843Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428290903048823'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.826384343Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/c15269ae-ba33-4858-88a2-21205d5fcf2d
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.25
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestAlwaysAbort.test_client_config
I0116 18:05:11.052729 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAlwaysAbort.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestAlwaysAbort.test_rpc_distribution
I0116 18:05:11.053108 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:05:13.087427 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:05:13.507682 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7989cdb4c6-dhr89] << Received LoadBalancerStatsResponse:
num_failures: 10
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:05:13.508018 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:05:13.540869 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7989cdb4c6-dhr89: before:
- method: EMPTY_CALL
rpcs_started: 158
result:
(0, OK): 158
- method: UNARY_CALL
rpcs_started: 219
result:
(16, UNAUTHENTICATED): 219
I0116 18:05:29.557357 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:05:29.589989 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7989cdb4c6-dhr89: after:
- method: EMPTY_CALL
rpcs_started: 158
result:
(0, OK): 158
- method: UNARY_CALL
rpcs_started: 621
result:
(16, UNAUTHENTICATED): 621
[ OK ] fault_injection_test.TestAlwaysAbort.test_rpc_distribution
I0116 18:05:29.590385 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAlwaysAbort.test_rpc_distribution PASSED -----
I0116 18:05:29.590504 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestAlwaysAbort teardown -----
I0116 18:05:29.633399 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:05:39.786991 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:05:39.787321 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1805-g43hx
I0116 18:06:09.957694 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1805-g43hx deleted
I0116 18:06:09.958211 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:06:09.958452 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-zj4ohpvk:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1805-g43hx%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-zj4ohpvk%22;timeRange=2024-01-16T18:05:01.025805Z%2F2024-01-16T18:06:09.958016Z?project=grpc-testing
[ RUN ] fault_injection_test.TestAlwaysDelay.test_client_config
[ SKIPPED ] fault_injection_test.TestAlwaysDelay.test_client_config
I0116 18:06:09.958782 140086647615488 base_testcase.py:49] ----- TestCase fault_injection_test.TestAlwaysDelay.test_client_config SKIPPED -----
I0116 18:06:09.958868 140086647615488 base_testcase.py:50] Reason for skipping: 20% RPC might pass immediately, reason unknown
[ RUN ] fault_injection_test.TestAlwaysDelay.test_rpc_distribution
[ SKIPPED ] fault_injection_test.TestAlwaysDelay.test_rpc_distribution
I0116 18:06:09.959033 140086647615488 base_testcase.py:49] ----- TestCase fault_injection_test.TestAlwaysDelay.test_rpc_distribution SKIPPED -----
I0116 18:06:09.959101 140086647615488 base_testcase.py:50] Reason for skipping: 20% RPC might pass immediately, reason unknown
I0116 18:06:09.959223 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestDelayHalf -----
I0116 18:06:09.959291 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:06:09.959407 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:06:09.959592 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1806-rdl75
I0116 18:06:09.959940 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1806-rdl75: server_target=xds:///fault-injection.test-delay-half:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:06:09.960137 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1806-rdl75%22;timeRange=2024-01-16T18:06:09.960035Z%2F2024-01-16T18:36:09.960035Z?project=grpc-testing
I0116 18:06:09.962023 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1806-rdl75
labels:
name: interop-psm-url-map-client-20240116-1806-rdl75
owner: xds-k8s-interop-test
...
I0116 18:06:10.003678 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1806-rdl75 created
I0116 18:06:10.012439 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1806-rdl75
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-k9sbkkgd
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-k9sbkkgd
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-k9sbkkgd
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-delay-half:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:06:10.083162 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:06:10.083441 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:06:10.193955 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7cf57f8bbf-xjqtq']
I0116 18:06:10.194292 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7cf57f8bbf-xjqtq to start
I0116 18:06:13.430241 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7cf57f8bbf-xjqtq ready, IP: 10.60.6.26
I0116 18:06:13.430579 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7cf57f8bbf-xjqtq to url_map/test_app_logs/interop-psm-url-map-client-20240116-1806-rdl75_psm-grpc-client-7cf57f8bbf-xjqtq.log
I0116 18:06:13.431019 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7cf57f8bbf-xjqtq
I0116 18:06:13.431254 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:06:14.632860 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestDelayHalf.test_client_config
I0116 18:06:14.633814 140086647615488 client_app.py:284] [psm-grpc-client-7cf57f8bbf-xjqtq] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:06:14.731692 140086647615488 client_app.py:312] [psm-grpc-client-7cf57f8bbf-xjqtq] xDS control plane channel:
I0116 18:06:16.766564 140086647615488 client_app.py:323] [psm-grpc-client-7cf57f8bbf-xjqtq] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:06:16.767017 140086647615488 client_app.py:294] [psm-grpc-client-7cf57f8bbf-xjqtq] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:06:16.819603 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.091482618Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.075055099Z'
name: fault-injection.test-delay-half:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428341735483565'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-delay-half:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.081256198Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428341735483565'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848
- - virtualHosts
- - domains:
- fault-injection.test-delay-half:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
numerator: 500000
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.087094128Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428341735483565'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/4edbdeaf-add6-45b3-8962-f5266d7c3985
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.26
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestDelayHalf.test_client_config
I0116 18:06:16.820208 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestDelayHalf.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestDelayHalf.test_rpc_distribution
I0116 18:06:16.820624 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'timeoutSec': 1}), wait_for_ready=True, timeout=5)
I0116 18:06:18.855169 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:06:20.229167 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7cf57f8bbf-xjqtq] << Received LoadBalancerStatsResponse:
num_failures: 4
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 6
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 6
I0116 18:06:20.229501 140086647615488 fault_injection_test.py:93] Waiting for RPC backlog to clear for 20 seconds
I0116 18:06:20.229819 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:20.262346 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=205 completed=128
I0116 18:06:21.263848 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:21.264158 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:21.296339 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=231 completed=151
I0116 18:06:22.297840 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:22.298149 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:22.330446 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=257 completed=177
I0116 18:06:23.331899 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:23.332218 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:23.364540 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=283 completed=202
I0116 18:06:24.365993 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:24.366295 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:24.398601 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=309 completed=228
I0116 18:06:25.399754 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:25.400064 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:25.432072 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=335 completed=252
I0116 18:06:26.433511 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:26.433860 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:26.466086 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=360 completed=282
I0116 18:06:27.467518 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:27.467857 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:27.500091 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=386 completed=305
I0116 18:06:28.501511 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:28.501819 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:28.534222 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=412 completed=334
I0116 18:06:29.535754 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:29.536052 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:29.568032 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=438 completed=358
I0116 18:06:30.569468 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:30.569806 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:30.602221 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=464 completed=385
I0116 18:06:31.603687 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:31.603989 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:31.636042 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=490 completed=410
I0116 18:06:32.637493 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:32.637802 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:32.669906 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=516 completed=449
I0116 18:06:33.671303 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:33.671643 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:33.703801 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=541 completed=480
I0116 18:06:34.705263 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:34.705600 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:34.737976 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=567 completed=521
I0116 18:06:35.739400 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:35.739706 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:35.772063 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=UNARY_CALL started=593 completed=567
I0116 18:06:35.772315 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:35.772503 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:35.805516 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7cf57f8bbf-xjqtq: before:
- method: EMPTY_CALL
rpcs_started: 120
result:
(0, OK): 120
- method: UNARY_CALL
rpcs_started: 594
result:
(4, DEADLINE_EXCEEDED): 285
(0, OK): 283
I0116 18:06:51.815319 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:51.850642 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7cf57f8bbf-xjqtq: after:
- method: EMPTY_CALL
rpcs_started: 120
result:
(0, OK): 120
- method: UNARY_CALL
rpcs_started: 995
result:
(0, OK): 472
(4, DEADLINE_EXCEEDED): 505
[ OK ] fault_injection_test.TestDelayHalf.test_rpc_distribution
I0116 18:06:51.851058 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestDelayHalf.test_rpc_distribution PASSED -----
I0116 18:06:51.851180 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestDelayHalf teardown -----
I0116 18:06:51.929103 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:07:02.096230 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:07:02.096617 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1806-rdl75
I0116 18:07:32.245076 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1806-rdl75 deleted
I0116 18:07:32.245476 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:07:32.245689 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-k9sbkkgd:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1806-rdl75%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-k9sbkkgd%22;timeRange=2024-01-16T18:06:09.960031Z%2F2024-01-16T18:07:32.245287Z?project=grpc-testing
I0116 18:07:32.245803 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestNonMatchingFaultInjection -----
I0116 18:07:32.245857 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:07:32.245967 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:07:32.246096 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1807-35bt7
I0116 18:07:32.246430 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1807-35bt7: server_target=xds:///fault-injection.test-non-matching-fault-injection:8848 rpc=EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:07:32.246596 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1807-35bt7%22;timeRange=2024-01-16T18:07:32.246496Z%2F2024-01-16T18:37:32.246496Z?project=grpc-testing
I0116 18:07:32.248555 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1807-35bt7
labels:
name: interop-psm-url-map-client-20240116-1807-35bt7
owner: xds-k8s-interop-test
...
I0116 18:07:32.301697 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1807-35bt7 created
I0116 18:07:32.309930 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1807-35bt7
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-c93nt4lm
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-c93nt4lm
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-c93nt4lm
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-non-matching-fault-injection:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:07:32.378388 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:07:32.378658 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:07:32.476989 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6479448d79-h8vwn']
I0116 18:07:32.477286 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6479448d79-h8vwn to start
I0116 18:07:35.708474 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6479448d79-h8vwn ready, IP: 10.60.6.27
I0116 18:07:35.708775 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6479448d79-h8vwn to url_map/test_app_logs/interop-psm-url-map-client-20240116-1807-35bt7_psm-grpc-client-6479448d79-h8vwn.log
I0116 18:07:35.709147 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6479448d79-h8vwn
I0116 18:07:35.709299 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:07:36.846132 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestNonMatchingFaultInjection.test_client_config
I0116 18:07:36.846918 140086647615488 client_app.py:284] [psm-grpc-client-6479448d79-h8vwn] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:07:36.946385 140086647615488 client_app.py:312] [psm-grpc-client-6479448d79-h8vwn] xDS control plane channel:
I0116 18:07:38.981031 140086647615488 client_app.py:323] [psm-grpc-client-6479448d79-h8vwn] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:07:38.981475 140086647615488 client_app.py:294] [psm-grpc-client-6479448d79-h8vwn] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:07:39.033695 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.218901195Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428432175709608'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848
- - virtualHosts
- - domains:
- fault-injection.test-non-matching-fault-injection:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
numerator: 1000000
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
numerator: 1000000
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.226039509Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428432175709608'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.230428544Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.212199664Z'
name: fault-injection.test-non-matching-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428432175709608'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-non-matching-fault-injection:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/b7019a40-21cd-44c1-85ee-5f063bb8e72e
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.27
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestNonMatchingFaultInjection.test_client_config
I0116 18:07:39.034251 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestNonMatchingFaultInjection.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestNonMatchingFaultInjection.test_rpc_distribution
I0116 18:07:39.034655 140086647615488 grpc.py:75] [psm-grpc-client-6479448d79-h8vwn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:07:39.067525 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6479448d79-h8vwn: before:
- method: EMPTY_CALL
rpcs_started: 123
result:
(0, OK): 123
I0116 18:07:55.083997 140086647615488 grpc.py:75] [psm-grpc-client-6479448d79-h8vwn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:07:55.116843 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6479448d79-h8vwn: after:
- method: EMPTY_CALL
rpcs_started: 524
result:
(0, OK): 524
[ OK ] fault_injection_test.TestNonMatchingFaultInjection.test_rpc_distribution
I0116 18:07:55.117362 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestNonMatchingFaultInjection.test_rpc_distribution PASSED -----
I0116 18:07:55.117522 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestNonMatchingFaultInjection teardown -----
I0116 18:07:55.162480 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:08:05.310762 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:08:05.311019 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1807-35bt7
I0116 18:08:35.489388 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1807-35bt7 deleted
I0116 18:08:35.489924 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:08:35.490167 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-c93nt4lm:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1807-35bt7%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-c93nt4lm%22;timeRange=2024-01-16T18:07:32.246492Z%2F2024-01-16T18:08:35.489715Z?project=grpc-testing
I0116 18:08:35.490308 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestZeroPercentFaultInjection -----
I0116 18:08:35.490392 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:08:35.490547 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:08:35.490714 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1808-mo3ge
I0116 18:08:35.491088 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1808-mo3ge: server_target=xds:///fault-injection.test-zero-percent-fault-injection:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:08:35.491290 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1808-mo3ge%22;timeRange=2024-01-16T18:08:35.491187Z%2F2024-01-16T18:38:35.491187Z?project=grpc-testing
I0116 18:08:35.493366 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1808-mo3ge
labels:
name: interop-psm-url-map-client-20240116-1808-mo3ge
owner: xds-k8s-interop-test
...
I0116 18:08:35.534135 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1808-mo3ge created
I0116 18:08:35.542632 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1808-mo3ge
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-imlefbnx
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-imlefbnx
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-imlefbnx
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-zero-percent-fault-injection:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:08:35.614228 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:08:35.614521 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:08:35.719076 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6bfd595f78-hrdnn']
I0116 18:08:35.719387 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6bfd595f78-hrdnn to start
I0116 18:08:38.960516 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6bfd595f78-hrdnn ready, IP: 10.60.5.27
I0116 18:08:38.960819 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6bfd595f78-hrdnn to url_map/test_app_logs/interop-psm-url-map-client-20240116-1808-mo3ge_psm-grpc-client-6bfd595f78-hrdnn.log
I0116 18:08:38.961185 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6bfd595f78-hrdnn
I0116 18:08:38.961355 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:08:40.177577 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestZeroPercentFaultInjection.test_client_config
I0116 18:08:40.178346 140086647615488 client_app.py:284] [psm-grpc-client-6bfd595f78-hrdnn] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:08:40.277184 140086647615488 client_app.py:312] [psm-grpc-client-6bfd595f78-hrdnn] xDS control plane channel:
I0116 18:08:42.312071 140086647615488 client_app.py:323] [psm-grpc-client-6bfd595f78-hrdnn] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:08:42.312562 140086647615488 client_app.py:294] [psm-grpc-client-6bfd595f78-hrdnn] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:08:42.365998 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:41.118364151Z'
name: fault-injection.test-zero-percent-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428510697925179'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-zero-percent-fault-injection:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:41.133039330Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428510697925179'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848
- - virtualHosts
- - domains:
- fault-injection.test-zero-percent-fault-injection:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:41.114353194Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428510697925179'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:38.042598130Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/1e571eeb-91e0-481c-b4b2-e43f73cf2b68
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.27
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestZeroPercentFaultInjection.test_client_config
I0116 18:08:42.366600 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestZeroPercentFaultInjection.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestZeroPercentFaultInjection.test_rpc_distribution
I0116 18:08:42.367000 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:08:44.401533 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:08:44.834892 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6bfd595f78-hrdnn] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 10
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 10
I0116 18:08:44.835362 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:08:44.868739 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bfd595f78-hrdnn: before:
- method: EMPTY_CALL
rpcs_started: 111
result:
(0, OK): 111
- method: UNARY_CALL
rpcs_started: 172
result:
(0, OK): 172
I0116 18:09:00.885261 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:09:00.918255 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bfd595f78-hrdnn: after:
- method: EMPTY_CALL
rpcs_started: 111
result:
(0, OK): 111
- method: UNARY_CALL
rpcs_started: 574
result:
(0, OK): 574
[ OK ] fault_injection_test.TestZeroPercentFaultInjection.test_rpc_distribution
I0116 18:09:00.918757 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestZeroPercentFaultInjection.test_rpc_distribution PASSED -----
I0116 18:09:00.918924 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestZeroPercentFaultInjection teardown -----
I0116 18:09:00.994838 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:09:11.163167 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:09:11.163504 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1808-mo3ge
I0116 18:09:41.368496 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1808-mo3ge deleted
I0116 18:09:41.368995 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:09:41.369250 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-imlefbnx:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1808-mo3ge%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-imlefbnx%22;timeRange=2024-01-16T18:08:35.491181Z%2F2024-01-16T18:09:41.368800Z?project=grpc-testing
I0116 18:09:41.369405 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestExactMatch -----
I0116 18:09:41.369483 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:09:41.369627 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:09:41.369782 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1809-qmffe
I0116 18:09:41.370128 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1809-qmffe: server_target=xds:///header-matching.test-exact-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:09:41.370309 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1809-qmffe%22;timeRange=2024-01-16T18:09:41.370220Z%2F2024-01-16T18:39:41.370220Z?project=grpc-testing
I0116 18:09:41.372255 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1809-qmffe
labels:
name: interop-psm-url-map-client-20240116-1809-qmffe
owner: xds-k8s-interop-test
...
I0116 18:09:41.432011 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1809-qmffe created
I0116 18:09:41.440423 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1809-qmffe
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-w4aprvro
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-w4aprvro
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-w4aprvro
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-exact-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:09:41.510591 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:09:41.510862 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:09:41.613746 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6965856b65-lbgbk']
I0116 18:09:41.614033 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6965856b65-lbgbk to start
I0116 18:09:44.851001 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6965856b65-lbgbk ready, IP: 10.60.6.29
I0116 18:09:44.851293 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6965856b65-lbgbk to url_map/test_app_logs/interop-psm-url-map-client-20240116-1809-qmffe_psm-grpc-client-6965856b65-lbgbk.log
I0116 18:09:44.851670 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6965856b65-lbgbk
I0116 18:09:44.851865 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:09:46.054428 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestExactMatch.test_client_config
I0116 18:09:46.055181 140086647615488 client_app.py:284] [psm-grpc-client-6965856b65-lbgbk] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:09:46.152239 140086647615488 client_app.py:312] [psm-grpc-client-6965856b65-lbgbk] xDS control plane channel:
I0116 18:09:48.186601 140086647615488 client_app.py:323] [psm-grpc-client-6965856b65-lbgbk] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:09:48.187031 140086647615488 client_app.py:294] [psm-grpc-client-6965856b65-lbgbk] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:09:48.244067 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.042867718Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848
- - virtualHosts
- - domains:
- header-matching.test-exact-match:8848
routes:
- match:
headers:
- exactMatch: empty_ytpme
name: xds_md
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.038029930Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.038029930Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:43.603155025Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:43.602368443Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.040431332Z'
name: header-matching.test-exact-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-exact-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/2cae13c5-e224-4d4a-86ca-d1eee1e4eec7
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.29
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestExactMatch.test_client_config
I0116 18:09:48.244832 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestExactMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestExactMatch.test_rpc_distribution
I0116 18:09:48.245296 140086647615488 grpc.py:75] [psm-grpc-client-6965856b65-lbgbk:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:09:50.279357 140086647615488 grpc.py:75] [psm-grpc-client-6965856b65-lbgbk:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:09:56.282056 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6965856b65-lbgbk] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestExactMatch.test_rpc_distribution
I0116 18:09:56.282485 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestExactMatch.test_rpc_distribution PASSED -----
I0116 18:09:56.282610 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestExactMatch teardown -----
I0116 18:09:56.326727 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:10:06.472167 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:10:06.472546 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1809-qmffe
I0116 18:10:36.643521 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1809-qmffe deleted
I0116 18:10:36.644121 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:10:36.644362 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-w4aprvro:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1809-qmffe%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-w4aprvro%22;timeRange=2024-01-16T18:09:41.370215Z%2F2024-01-16T18:10:36.643890Z?project=grpc-testing
I0116 18:10:36.644535 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestInvertMatch -----
I0116 18:10:36.644626 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:10:36.644765 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:10:36.644924 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1810-kb40m
I0116 18:10:36.645302 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1810-kb40m: server_target=xds:///header-matching.test-invert-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:10:36.645488 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1810-kb40m%22;timeRange=2024-01-16T18:10:36.645394Z%2F2024-01-16T18:40:36.645394Z?project=grpc-testing
I0116 18:10:36.647429 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1810-kb40m
labels:
name: interop-psm-url-map-client-20240116-1810-kb40m
owner: xds-k8s-interop-test
...
I0116 18:10:36.689018 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1810-kb40m created
I0116 18:10:36.697611 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1810-kb40m
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-884dxcep
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-884dxcep
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-884dxcep
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-invert-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:10:36.771009 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:10:36.771488 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:10:36.869429 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5b7f6c6457-9lzp9']
I0116 18:10:36.869733 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5b7f6c6457-9lzp9 to start
I0116 18:10:40.105444 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5b7f6c6457-9lzp9 ready, IP: 10.60.5.28
I0116 18:10:40.105767 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5b7f6c6457-9lzp9 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1810-kb40m_psm-grpc-client-5b7f6c6457-9lzp9.log
I0116 18:10:40.106153 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5b7f6c6457-9lzp9
I0116 18:10:40.106362 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:10:41.242932 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestInvertMatch.test_client_config
I0116 18:10:41.243821 140086647615488 client_app.py:284] [psm-grpc-client-5b7f6c6457-9lzp9] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:10:41.343082 140086647615488 client_app.py:312] [psm-grpc-client-5b7f6c6457-9lzp9] xDS control plane channel:
I0116 18:10:43.378180 140086647615488 client_app.py:323] [psm-grpc-client-5b7f6c6457-9lzp9] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:10:43.378718 140086647615488 client_app.py:294] [psm-grpc-client-5b7f6c6457-9lzp9] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:10:43.438781 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.553821560Z'
name: header-matching.test-invert-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-invert-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.555519632Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848
- - virtualHosts
- - domains:
- header-matching.test-invert-match:8848
routes:
- match:
headers:
- exactMatch: unary_yranu
invertMatch: true
name: xds_md
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.537186986Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.537186986Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:39.304628254Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:39.307601664Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/111fe4bd-c9ec-4192-a3e9-65a5255195dc
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.28
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestInvertMatch.test_client_config
I0116 18:10:43.439441 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestInvertMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestInvertMatch.test_rpc_distribution
I0116 18:10:43.440011 140086647615488 grpc.py:75] [psm-grpc-client-5b7f6c6457-9lzp9:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:10:45.474876 140086647615488 grpc.py:75] [psm-grpc-client-5b7f6c6457-9lzp9:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:10:48.471605 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5b7f6c6457-9lzp9] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 75
psm-grpc-server-alternative-9574d7768-nchnk: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 75
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 75
[ OK ] header_matching_test.TestInvertMatch.test_rpc_distribution
I0116 18:10:48.472165 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestInvertMatch.test_rpc_distribution PASSED -----
I0116 18:10:48.472315 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestInvertMatch teardown -----
I0116 18:10:48.515958 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:10:58.658303 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:10:58.658683 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1810-kb40m
I0116 18:11:28.859897 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1810-kb40m deleted
I0116 18:11:28.860347 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:11:28.860581 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-884dxcep:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1810-kb40m%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-884dxcep%22;timeRange=2024-01-16T18:10:36.645389Z%2F2024-01-16T18:11:28.860165Z?project=grpc-testing
[ RUN ] header_matching_test.TestPrefixMatch.test_client_config
[ SKIPPED ] header_matching_test.TestPrefixMatch.test_client_config
I0116 18:11:28.860870 140086647615488 base_testcase.py:49] ----- TestCase header_matching_test.TestPrefixMatch.test_client_config SKIPPED -----
I0116 18:11:28.860949 140086647615488 base_testcase.py:50] Reason for skipping: the xDS config is good, but distribution is wrong.
[ RUN ] header_matching_test.TestPrefixMatch.test_rpc_distribution
[ SKIPPED ] header_matching_test.TestPrefixMatch.test_rpc_distribution
I0116 18:11:28.861122 140086647615488 base_testcase.py:49] ----- TestCase header_matching_test.TestPrefixMatch.test_rpc_distribution SKIPPED -----
I0116 18:11:28.861188 140086647615488 base_testcase.py:50] Reason for skipping: the xDS config is good, but distribution is wrong.
I0116 18:11:28.861272 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestPresentMatch -----
I0116 18:11:28.861332 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:11:28.861449 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:11:28.861624 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1811-rw8ly
I0116 18:11:28.861969 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1811-rw8ly: server_target=xds:///header-matching.test-present-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:11:28.862143 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1811-rw8ly%22;timeRange=2024-01-16T18:11:28.862054Z%2F2024-01-16T18:41:28.862054Z?project=grpc-testing
I0116 18:11:28.864101 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1811-rw8ly
labels:
name: interop-psm-url-map-client-20240116-1811-rw8ly
owner: xds-k8s-interop-test
...
I0116 18:11:28.918639 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1811-rw8ly created
I0116 18:11:28.926890 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1811-rw8ly
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-ddblu0v7
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-ddblu0v7
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-ddblu0v7
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-present-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:11:29.011197 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:11:29.011453 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:11:29.117185 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-55578d6c5d-4zhtf']
I0116 18:11:29.117462 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-55578d6c5d-4zhtf to start
I0116 18:11:32.350844 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-55578d6c5d-4zhtf ready, IP: 10.60.5.29
I0116 18:11:32.351125 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-55578d6c5d-4zhtf to url_map/test_app_logs/interop-psm-url-map-client-20240116-1811-rw8ly_psm-grpc-client-55578d6c5d-4zhtf.log
I0116 18:11:32.351538 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-55578d6c5d-4zhtf
I0116 18:11:32.351770 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:11:33.558486 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestPresentMatch.test_client_config
I0116 18:11:33.559283 140086647615488 client_app.py:284] [psm-grpc-client-55578d6c5d-4zhtf] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:11:33.656109 140086647615488 client_app.py:312] [psm-grpc-client-55578d6c5d-4zhtf] xDS control plane channel:
I0116 18:11:35.690525 140086647615488 client_app.py:323] [psm-grpc-client-55578d6c5d-4zhtf] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:11:35.690895 140086647615488 client_app.py:294] [psm-grpc-client-55578d6c5d-4zhtf] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:11:35.748280 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.512524325Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.512524325Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.517091660Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.516768282Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.503672820Z'
name: header-matching.test-present-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-present-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.507393335Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848
- - virtualHosts
- - domains:
- header-matching.test-present-match:8848
routes:
- match:
headers:
- name: xds_md_numeric
presentMatch: true
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/fc61718f-d813-47d0-90e3-d2f6901e5748
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.29
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestPresentMatch.test_client_config
I0116 18:11:35.748859 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestPresentMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestPresentMatch.test_rpc_distribution
I0116 18:11:35.749315 140086647615488 grpc.py:75] [psm-grpc-client-55578d6c5d-4zhtf:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:11:37.783316 140086647615488 grpc.py:75] [psm-grpc-client-55578d6c5d-4zhtf:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:11:43.818575 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-55578d6c5d-4zhtf] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestPresentMatch.test_rpc_distribution
I0116 18:11:43.819027 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestPresentMatch.test_rpc_distribution PASSED -----
I0116 18:11:43.819144 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestPresentMatch teardown -----
I0116 18:11:43.876474 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:11:54.041720 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:11:54.042059 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1811-rw8ly
I0116 18:12:24.221522 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1811-rw8ly deleted
I0116 18:12:24.222060 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:12:24.222307 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-ddblu0v7:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1811-rw8ly%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-ddblu0v7%22;timeRange=2024-01-16T18:11:28.862049Z%2F2024-01-16T18:12:24.221835Z?project=grpc-testing
I0116 18:12:24.222477 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRangeMatch -----
I0116 18:12:24.222576 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:12:24.222714 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:12:24.222872 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1812-rl00v
I0116 18:12:24.223265 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1812-rl00v: server_target=xds:///header-matching.test-range-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:12:24.223476 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1812-rl00v%22;timeRange=2024-01-16T18:12:24.223373Z%2F2024-01-16T18:42:24.223373Z?project=grpc-testing
I0116 18:12:24.225455 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1812-rl00v
labels:
name: interop-psm-url-map-client-20240116-1812-rl00v
owner: xds-k8s-interop-test
...
I0116 18:12:24.268763 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1812-rl00v created
I0116 18:12:24.277275 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1812-rl00v
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-eo0z36fk
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-eo0z36fk
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-eo0z36fk
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-range-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:12:24.347487 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:12:24.347841 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:12:24.453678 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7bfd4588d8-4gb69']
I0116 18:12:24.453971 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7bfd4588d8-4gb69 to start
I0116 18:12:27.688354 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7bfd4588d8-4gb69 ready, IP: 10.60.5.30
I0116 18:12:27.688656 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7bfd4588d8-4gb69 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1812-rl00v_psm-grpc-client-7bfd4588d8-4gb69.log
I0116 18:12:27.689028 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7bfd4588d8-4gb69
I0116 18:12:27.689208 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:12:28.831227 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestRangeMatch.test_client_config
I0116 18:12:28.832016 140086647615488 client_app.py:284] [psm-grpc-client-7bfd4588d8-4gb69] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:12:28.929191 140086647615488 client_app.py:312] [psm-grpc-client-7bfd4588d8-4gb69] xDS control plane channel:
I0116 18:12:30.963887 140086647615488 client_app.py:323] [psm-grpc-client-7bfd4588d8-4gb69] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:12:30.964325 140086647615488 client_app.py:294] [psm-grpc-client-7bfd4588d8-4gb69] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:12:31.021834 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.624939043Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848
- - virtualHosts
- - domains:
- header-matching.test-range-match:8848
routes:
- match:
headers:
- name: xds_md_numeric
rangeMatch:
end: '200'
start: '100'
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.632835726Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.632835726Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.637585183Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.639974674Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.609532460Z'
name: header-matching.test-range-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-range-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/4ffe3fc1-abe8-4d26-a68f-7914d24d8357
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.30
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestRangeMatch.test_client_config
I0116 18:12:31.022413 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRangeMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestRangeMatch.test_rpc_distribution
I0116 18:12:31.022899 140086647615488 grpc.py:75] [psm-grpc-client-7bfd4588d8-4gb69:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:12:33.059247 140086647615488 grpc.py:75] [psm-grpc-client-7bfd4588d8-4gb69:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:12:36.064332 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7bfd4588d8-4gb69] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 75
psm-grpc-server-alternative-9574d7768-nchnk: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-fd86464df-wqkqx: 75
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 75
[ OK ] header_matching_test.TestRangeMatch.test_rpc_distribution
I0116 18:12:36.065021 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRangeMatch.test_rpc_distribution PASSED -----
I0116 18:12:36.065271 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRangeMatch teardown -----
I0116 18:12:36.109113 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:12:46.260258 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:12:46.260593 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1812-rl00v
I0116 18:13:16.437346 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1812-rl00v deleted
I0116 18:13:16.437747 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:13:16.437951 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-eo0z36fk:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1812-rl00v%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-eo0z36fk%22;timeRange=2024-01-16T18:12:24.223368Z%2F2024-01-16T18:13:16.437563Z?project=grpc-testing
I0116 18:13:16.438069 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRegexMatch -----
I0116 18:13:16.438127 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:13:16.438231 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:13:16.438359 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1813-nbl6m
I0116 18:13:16.438716 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1813-nbl6m: server_target=xds:///header-matching.test-regex-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:13:16.438884 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1813-nbl6m%22;timeRange=2024-01-16T18:13:16.438784Z%2F2024-01-16T18:43:16.438784Z?project=grpc-testing
I0116 18:13:16.441148 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1813-nbl6m
labels:
name: interop-psm-url-map-client-20240116-1813-nbl6m
owner: xds-k8s-interop-test
...
I0116 18:13:16.486325 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1813-nbl6m created
I0116 18:13:16.494616 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1813-nbl6m
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-813m6j8p
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-813m6j8p
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-813m6j8p
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-regex-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:13:16.566435 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:13:16.566707 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:13:16.674603 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-bd55f4575-n6m79']
I0116 18:13:16.674913 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-bd55f4575-n6m79 to start
I0116 18:13:20.963160 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-bd55f4575-n6m79 ready, IP: 10.60.6.32
I0116 18:13:20.963454 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-bd55f4575-n6m79 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1813-nbl6m_psm-grpc-client-bd55f4575-n6m79.log
I0116 18:13:20.963892 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-bd55f4575-n6m79
I0116 18:13:20.964051 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:13:21.058722 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestRegexMatch.test_client_config
I0116 18:13:21.059585 140086647615488 client_app.py:284] [psm-grpc-client-bd55f4575-n6m79] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:13:21.156768 140086647615488 client_app.py:312] [psm-grpc-client-bd55f4575-n6m79] xDS control plane channel:
I0116 18:13:23.191274 140086647615488 client_app.py:323] [psm-grpc-client-bd55f4575-n6m79] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:13:23.191693 140086647615488 client_app.py:294] [psm-grpc-client-bd55f4575-n6m79] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:13:23.249293 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.237643057Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.242592454Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.219520012Z'
name: header-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-regex-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.225163728Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848
- - virtualHosts
- - domains:
- header-matching.test-regex-match:8848
routes:
- match:
headers:
- name: xds_md
safeRegexMatch:
googleRe2: {}
regex: ^em.*me$
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.235067494Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.235067494Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/9cf25a7b-ffd1-4013-add9-9f2e6b37a068
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.32
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestRegexMatch.test_client_config
I0116 18:13:23.249886 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRegexMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:13:23.250366 140086647615488 grpc.py:75] [psm-grpc-client-bd55f4575-n6m79:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:13:25.284679 140086647615488 grpc.py:75] [psm-grpc-client-bd55f4575-n6m79:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:13:31.318547 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-bd55f4575-n6m79] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:13:31.318976 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRegexMatch.test_rpc_distribution PASSED -----
I0116 18:13:31.319102 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRegexMatch teardown -----
I0116 18:13:31.389245 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:13:41.556411 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:13:41.556746 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1813-nbl6m
I0116 18:14:11.729675 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1813-nbl6m deleted
I0116 18:14:11.730161 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:14:11.730400 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-813m6j8p:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1813-nbl6m%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-813m6j8p%22;timeRange=2024-01-16T18:13:16.438780Z%2F2024-01-16T18:14:11.729950Z?project=grpc-testing
I0116 18:14:11.730578 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestSuffixMatch -----
I0116 18:14:11.730665 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:14:11.730796 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:14:11.730955 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1814-2gs0y
I0116 18:14:11.731312 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1814-2gs0y: server_target=xds:///header-matching.test-suffix-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:14:11.731487 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1814-2gs0y%22;timeRange=2024-01-16T18:14:11.731399Z%2F2024-01-16T18:44:11.731399Z?project=grpc-testing
I0116 18:14:11.733440 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1814-2gs0y
labels:
name: interop-psm-url-map-client-20240116-1814-2gs0y
owner: xds-k8s-interop-test
...
I0116 18:14:11.788563 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1814-2gs0y created
I0116 18:14:11.796705 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1814-2gs0y
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-h2ivxiw5
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-h2ivxiw5
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-h2ivxiw5
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-suffix-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:14:11.865968 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:14:11.866222 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:14:11.969457 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6bbc5bf948-mwlvb']
I0116 18:14:11.969751 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6bbc5bf948-mwlvb to start
I0116 18:14:15.210059 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6bbc5bf948-mwlvb ready, IP: 10.60.6.33
I0116 18:14:15.210372 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6bbc5bf948-mwlvb to url_map/test_app_logs/interop-psm-url-map-client-20240116-1814-2gs0y_psm-grpc-client-6bbc5bf948-mwlvb.log
I0116 18:14:15.210814 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6bbc5bf948-mwlvb
I0116 18:14:15.211009 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:14:16.412873 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestSuffixMatch.test_client_config
I0116 18:14:16.413662 140086647615488 client_app.py:284] [psm-grpc-client-6bbc5bf948-mwlvb] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:14:16.512872 140086647615488 client_app.py:312] [psm-grpc-client-6bbc5bf948-mwlvb] xDS control plane channel:
I0116 18:14:18.548029 140086647615488 client_app.py:323] [psm-grpc-client-6bbc5bf948-mwlvb] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:14:18.548503 140086647615488 client_app.py:294] [psm-grpc-client-6bbc5bf948-mwlvb] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:14:18.605482 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.439716961Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848
- - virtualHosts
- - domains:
- header-matching.test-suffix-match:8848
routes:
- match:
headers:
- name: xds_md
suffixMatch: me
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.447319079Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.447319079Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:15.450951950Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '3'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.450408393Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.433390541Z'
name: header-matching.test-suffix-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-suffix-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/94c85a32-3fa9-4f1a-9a90-c8ca372e8be6
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.33
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestSuffixMatch.test_client_config
I0116 18:14:18.606093 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestSuffixMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestSuffixMatch.test_rpc_distribution
I0116 18:14:18.606566 140086647615488 grpc.py:75] [psm-grpc-client-6bbc5bf948-mwlvb:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:14:20.641642 140086647615488 grpc.py:75] [psm-grpc-client-6bbc5bf948-mwlvb:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:14:26.644114 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6bbc5bf948-mwlvb] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestSuffixMatch.test_rpc_distribution
I0116 18:14:26.644647 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestSuffixMatch.test_rpc_distribution PASSED -----
I0116 18:14:26.644850 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestSuffixMatch teardown -----
I0116 18:14:26.689645 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:14:36.850378 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:14:36.850736 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1814-2gs0y
I0116 18:15:07.023020 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1814-2gs0y deleted
I0116 18:15:07.023513 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:15:07.023773 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-h2ivxiw5:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1814-2gs0y%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-h2ivxiw5%22;timeRange=2024-01-16T18:14:11.731395Z%2F2024-01-16T18:15:07.023303Z?project=grpc-testing
I0116 18:15:07.023945 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchAll -----
I0116 18:15:07.024031 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:15:07.024163 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:15:07.024344 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1815-wejz2
I0116 18:15:07.024728 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1815-wejz2: server_target=xds:///metadata-filter.test-metadata-filter-match-all:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:15:07.024924 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1815-wejz2%22;timeRange=2024-01-16T18:15:07.024830Z%2F2024-01-16T18:45:07.024830Z?project=grpc-testing
I0116 18:15:07.026848 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1815-wejz2
labels:
name: interop-psm-url-map-client-20240116-1815-wejz2
owner: xds-k8s-interop-test
...
I0116 18:15:07.067116 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1815-wejz2 created
I0116 18:15:07.075222 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1815-wejz2
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dgcx65ls
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dgcx65ls
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dgcx65ls
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-all:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:15:07.145756 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:15:07.146024 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:15:07.246261 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-79856fd496-nrg2g']
I0116 18:15:07.246575 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-79856fd496-nrg2g to start
I0116 18:15:12.567960 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-79856fd496-nrg2g ready, IP: 10.60.2.60
I0116 18:15:12.568264 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-79856fd496-nrg2g to url_map/test_app_logs/interop-psm-url-map-client-20240116-1815-wejz2_psm-grpc-client-79856fd496-nrg2g.log
I0116 18:15:12.568733 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-79856fd496-nrg2g
I0116 18:15:12.568916 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:15:14.812074 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAll.test_client_config
I0116 18:15:14.812847 140086647615488 client_app.py:284] [psm-grpc-client-79856fd496-nrg2g] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:15:14.909258 140086647615488 client_app.py:312] [psm-grpc-client-79856fd496-nrg2g] xDS control plane channel:
I0116 18:15:16.943855 140086647615488 client_app.py:323] [psm-grpc-client-79856fd496-nrg2g] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:15:16.944302 140086647615488 client_app.py:294] [psm-grpc-client-79856fd496-nrg2g] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:15:17.001086 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.540665267Z'
name: metadata-filter.test-metadata-filter-match-all:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-all:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.541228604Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-all:8848
routes:
- match:
headers:
- exactMatch: empty_ytpme
name: xds_md
prefix: /grpc.testing.TestService/Empty
metadata: {}
name: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.540101993Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.540101993Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:11.737420310Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:11.742886235Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/1495e2c2-0d2d-4546-92a6-70ed0009f1c7
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.2.60
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchAll.test_client_config
I0116 18:15:17.001749 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAll.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAll.test_rpc_distribution
I0116 18:15:17.002189 140086647615488 grpc.py:75] [psm-grpc-client-79856fd496-nrg2g:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'key': 'xds_md', 'value': 'empty_ytpme'}]}), wait_for_ready=True, timeout=5)
I0116 18:15:19.036349 140086647615488 grpc.py:75] [psm-grpc-client-79856fd496-nrg2g:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:15:25.048169 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-79856fd496-nrg2g] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchAll.test_rpc_distribution
I0116 18:15:25.048847 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAll.test_rpc_distribution PASSED -----
I0116 18:15:25.049017 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchAll teardown -----
I0116 18:15:25.092172 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:15:35.277772 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:15:35.278100 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1815-wejz2
I0116 18:16:05.452237 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1815-wejz2 deleted
I0116 18:16:05.452727 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:16:05.452957 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-dgcx65ls:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1815-wejz2%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-dgcx65ls%22;timeRange=2024-01-16T18:15:07.024824Z%2F2024-01-16T18:16:05.452515Z?project=grpc-testing
I0116 18:16:05.453122 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchAny -----
I0116 18:16:05.453199 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:16:05.453327 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:16:05.453480 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1816-xoyji
I0116 18:16:05.453835 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1816-xoyji: server_target=xds:///metadata-filter.test-metadata-filter-match-any:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:16:05.454012 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1816-xoyji%22;timeRange=2024-01-16T18:16:05.453925Z%2F2024-01-16T18:46:05.453925Z?project=grpc-testing
I0116 18:16:05.455882 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1816-xoyji
labels:
name: interop-psm-url-map-client-20240116-1816-xoyji
owner: xds-k8s-interop-test
...
I0116 18:16:05.514256 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1816-xoyji created
I0116 18:16:05.522307 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1816-xoyji
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dwunpp5k
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dwunpp5k
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dwunpp5k
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-any:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:16:05.595919 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:16:05.596179 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:16:05.704592 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6b6b846b4c-6chhn']
I0116 18:16:05.704894 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6b6b846b4c-6chhn to start
I0116 18:16:08.939856 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6b6b846b4c-6chhn ready, IP: 10.60.6.35
I0116 18:16:08.940159 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6b6b846b4c-6chhn to url_map/test_app_logs/interop-psm-url-map-client-20240116-1816-xoyji_psm-grpc-client-6b6b846b4c-6chhn.log
I0116 18:16:08.940502 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6b6b846b4c-6chhn
I0116 18:16:08.940643 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:16:10.076773 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAny.test_client_config
I0116 18:16:10.077533 140086647615488 client_app.py:284] [psm-grpc-client-6b6b846b4c-6chhn] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:16:10.175936 140086647615488 client_app.py:312] [psm-grpc-client-6b6b846b4c-6chhn] xDS control plane channel:
I0116 18:16:12.210910 140086647615488 client_app.py:323] [psm-grpc-client-6b6b846b4c-6chhn] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:16:12.211341 140086647615488 client_app.py:294] [psm-grpc-client-6b6b846b4c-6chhn] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:16:12.268235 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.789395481Z'
name: metadata-filter.test-metadata-filter-match-any:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-any:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.795815130Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-any:8848
routes:
- match:
prefix: /grpc.testing.TestService/Unary
metadata: {}
name: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.803810748Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.803810748Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.808150331Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.808682318Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/6535ddd7-91f1-4ed9-953a-0ead8fdd802b
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.35
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchAny.test_client_config
I0116 18:16:12.268829 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAny.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAny.test_rpc_distribution
I0116 18:16:12.269217 140086647615488 grpc.py:75] [psm-grpc-client-6b6b846b4c-6chhn:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:16:14.303800 140086647615488 grpc.py:75] [psm-grpc-client-6b6b846b4c-6chhn:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:16:20.333935 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6b6b846b4c-6chhn] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchAny.test_rpc_distribution
I0116 18:16:20.334596 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAny.test_rpc_distribution PASSED -----
I0116 18:16:20.334771 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchAny teardown -----
I0116 18:16:20.380339 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:16:30.530741 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:16:30.531069 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1816-xoyji
I0116 18:17:00.700129 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1816-xoyji deleted
I0116 18:17:00.700601 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:17:00.700826 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-dwunpp5k:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1816-xoyji%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-dwunpp5k%22;timeRange=2024-01-16T18:16:05.453920Z%2F2024-01-16T18:17:00.700404Z?project=grpc-testing
I0116 18:17:00.700957 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchAnyAndAll -----
I0116 18:17:00.701031 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:17:00.701157 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:17:00.701311 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1817-0yt44
I0116 18:17:00.701678 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1817-0yt44: server_target=xds:///metadata-filter.test-metadata-filter-match-any-and-all:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:17:00.701857 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-0yt44%22;timeRange=2024-01-16T18:17:00.701771Z%2F2024-01-16T18:47:00.701771Z?project=grpc-testing
I0116 18:17:00.703716 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1817-0yt44
labels:
name: interop-psm-url-map-client-20240116-1817-0yt44
owner: xds-k8s-interop-test
...
I0116 18:17:00.745794 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1817-0yt44 created
I0116 18:17:00.753915 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1817-0yt44
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-lsoxqb6g
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-lsoxqb6g
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-lsoxqb6g
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-any-and-all:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:17:00.825135 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:17:00.825405 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:17:00.927208 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5b7b987df-wkgwx']
I0116 18:17:00.927486 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5b7b987df-wkgwx to start
I0116 18:17:05.206496 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5b7b987df-wkgwx ready, IP: 10.60.5.34
I0116 18:17:05.206794 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5b7b987df-wkgwx to url_map/test_app_logs/interop-psm-url-map-client-20240116-1817-0yt44_psm-grpc-client-5b7b987df-wkgwx.log
I0116 18:17:05.207149 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5b7b987df-wkgwx
I0116 18:17:05.207300 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:17:05.304747 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_client_config
I0116 18:17:05.305501 140086647615488 client_app.py:284] [psm-grpc-client-5b7b987df-wkgwx] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:17:05.402280 140086647615488 client_app.py:312] [psm-grpc-client-5b7b987df-wkgwx] xDS control plane channel:
I0116 18:17:07.436480 140086647615488 client_app.py:323] [psm-grpc-client-5b7b987df-wkgwx] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:17:07.436929 140086647615488 client_app.py:294] [psm-grpc-client-5b7b987df-wkgwx] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:17:07.493354 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.440399514Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.440399514Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.444149921Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.443147240Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.427438736Z'
name: metadata-filter.test-metadata-filter-match-any-and-all:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-any-and-all:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.432710077Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-any-and-all:8848
routes:
- match:
prefix: /grpc.testing.TestService/Unary
metadata: {}
name: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/d7479099-fd8c-4cfe-bb65-153753c8a93f
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.34
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_client_config
I0116 18:17:07.493937 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_rpc_distribution
I0116 18:17:07.494329 140086647615488 grpc.py:75] [psm-grpc-client-5b7b987df-wkgwx:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:17:09.529237 140086647615488 grpc.py:75] [psm-grpc-client-5b7b987df-wkgwx:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:17:15.527372 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5b7b987df-wkgwx] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_rpc_distribution
I0116 18:17:15.528088 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_rpc_distribution PASSED -----
I0116 18:17:15.528290 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchAnyAndAll teardown -----
I0116 18:17:15.571722 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:17:25.722382 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:17:25.722723 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1817-0yt44
I0116 18:17:55.922098 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1817-0yt44 deleted
I0116 18:17:55.922614 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:17:55.922849 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-lsoxqb6g:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-0yt44%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-lsoxqb6g%22;timeRange=2024-01-16T18:17:00.701766Z%2F2024-01-16T18:17:55.922386Z?project=grpc-testing
I0116 18:17:55.922997 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchMultipleRules -----
I0116 18:17:55.923074 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:17:55.923206 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:17:55.923367 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1817-9oaqa
I0116 18:17:55.923812 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1817-9oaqa: server_target=xds:///metadata-filter.test-metadata-filter-match-multiple-rules:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:17:55.924014 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-9oaqa%22;timeRange=2024-01-16T18:17:55.923921Z%2F2024-01-16T18:47:55.923921Z?project=grpc-testing
I0116 18:17:55.925989 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1817-9oaqa
labels:
name: interop-psm-url-map-client-20240116-1817-9oaqa
owner: xds-k8s-interop-test
...
I0116 18:17:55.980643 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1817-9oaqa created
I0116 18:17:55.988732 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1817-9oaqa
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-6x4iyoz8
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-6x4iyoz8
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-6x4iyoz8
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-multiple-rules:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:17:56.063351 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:17:56.063644 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:17:56.169415 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-59c5467cbd-8lfvx']
I0116 18:17:56.169722 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-59c5467cbd-8lfvx to start
I0116 18:17:59.405326 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-59c5467cbd-8lfvx ready, IP: 10.60.2.61
I0116 18:17:59.405627 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-59c5467cbd-8lfvx to url_map/test_app_logs/interop-psm-url-map-client-20240116-1817-9oaqa_psm-grpc-client-59c5467cbd-8lfvx.log
I0116 18:17:59.405979 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-59c5467cbd-8lfvx
I0116 18:17:59.406161 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:18:00.606456 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_client_config
I0116 18:18:00.607239 140086647615488 client_app.py:284] [psm-grpc-client-59c5467cbd-8lfvx] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:18:00.704524 140086647615488 client_app.py:312] [psm-grpc-client-59c5467cbd-8lfvx] xDS control plane channel:
I0116 18:18:02.738816 140086647615488 client_app.py:323] [psm-grpc-client-59c5467cbd-8lfvx] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:18:02.739295 140086647615488 client_app.py:294] [psm-grpc-client-59c5467cbd-8lfvx] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:18:02.798986 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.528035126Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.528035126Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:57.945117034Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:57.945925264Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.528795302Z'
name: metadata-filter.test-metadata-filter-match-multiple-rules:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-multiple-rules:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.529704032Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-multiple-rules:8848
routes:
- match:
headers:
- exactMatch: empty_ytpme
name: xds_md
prefix: /
metadata:
filterMetadata:
com.googleapis.trafficdirector.internal_route_config:
metadata_filter:
- filter_data:
- name: TRAFFICDIRECTOR_NETWORK_NAME
value: default-vpc
match_type: ANY
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: /grpc.testing.TestService/Unary
metadata:
filterMetadata:
com.googleapis.trafficdirector.internal_route_config:
metadata_filter:
- filter_data:
- name: TRAFFICDIRECTOR_NETWORK_NAME
value: default-vpc
match_type: ALL
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/b09c516e-6cdf-4277-bdd1-72e0be5da836
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.2.61
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_client_config
I0116 18:18:02.799677 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_rpc_distribution
I0116 18:18:02.800120 140086647615488 grpc.py:75] [psm-grpc-client-59c5467cbd-8lfvx:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'key': 'xds_md', 'value': 'empty_ytpme'}]}), wait_for_ready=True, timeout=5)
I0116 18:18:04.834397 140086647615488 grpc.py:75] [psm-grpc-client-59c5467cbd-8lfvx:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:18:10.856475 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-59c5467cbd-8lfvx] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_rpc_distribution
I0116 18:18:10.857179 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_rpc_distribution PASSED -----
I0116 18:18:10.857409 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchMultipleRules teardown -----
I0116 18:18:10.901059 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:18:21.048933 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:18:21.049252 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1817-9oaqa
I0116 18:18:51.217408 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1817-9oaqa deleted
I0116 18:18:51.217878 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:18:51.218100 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-6x4iyoz8:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-9oaqa%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-6x4iyoz8%22;timeRange=2024-01-16T18:17:55.923916Z%2F2024-01-16T18:18:51.217668Z?project=grpc-testing
I0116 18:18:51.218275 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestCaseInsensitiveMatch -----
I0116 18:18:51.218353 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:18:51.218476 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:18:51.218637 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1818-jq6l0
I0116 18:18:51.218979 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1818-jq6l0: server_target=xds:///path-matching.test-case-insensitive-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:18:51.219178 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1818-jq6l0%22;timeRange=2024-01-16T18:18:51.219062Z%2F2024-01-16T18:48:51.219062Z?project=grpc-testing
I0116 18:18:51.221082 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1818-jq6l0
labels:
name: interop-psm-url-map-client-20240116-1818-jq6l0
owner: xds-k8s-interop-test
...
I0116 18:18:51.263462 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1818-jq6l0 created
I0116 18:18:51.271633 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1818-jq6l0
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-9dcn0ins
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-9dcn0ins
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-9dcn0ins
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-case-insensitive-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:18:51.340520 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:18:51.340789 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:18:51.440714 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5ddf9d896c-xbvlx']
I0116 18:18:51.441011 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5ddf9d896c-xbvlx to start
I0116 18:18:54.674357 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5ddf9d896c-xbvlx ready, IP: 10.60.6.38
I0116 18:18:54.674668 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5ddf9d896c-xbvlx to url_map/test_app_logs/interop-psm-url-map-client-20240116-1818-jq6l0_psm-grpc-client-5ddf9d896c-xbvlx.log
I0116 18:18:54.675051 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5ddf9d896c-xbvlx
I0116 18:18:54.675204 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:18:55.806184 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestCaseInsensitiveMatch.test_client_config
I0116 18:18:55.806903 140086647615488 client_app.py:284] [psm-grpc-client-5ddf9d896c-xbvlx] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:18:55.903612 140086647615488 client_app.py:312] [psm-grpc-client-5ddf9d896c-xbvlx] xDS control plane channel:
I0116 18:18:57.938311 140086647615488 client_app.py:323] [psm-grpc-client-5ddf9d896c-xbvlx] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:18:57.938786 140086647615488 client_app.py:294] [psm-grpc-client-5ddf9d896c-xbvlx] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:18:57.996327 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.242908485Z'
name: path-matching.test-case-insensitive-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-case-insensitive-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.246935169Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848
- - virtualHosts
- - domains:
- path-matching.test-case-insensitive-match:8848
routes:
- match:
caseSensitive: false
path: /gRpC.tEsTinG.tEstseRvice/empTycaLl
name: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.254434646Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.254434646Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.257032762Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.259845925Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/30539357-1fde-4877-ae77-851940953322
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.38
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestCaseInsensitiveMatch.test_client_config
I0116 18:18:57.996942 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestCaseInsensitiveMatch.test_client_config PASSED -----
[ RUN ] path_matching_test.TestCaseInsensitiveMatch.test_rpc_distribution
I0116 18:18:57.997331 140086647615488 grpc.py:75] [psm-grpc-client-5ddf9d896c-xbvlx:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:19:00.031680 140086647615488 grpc.py:75] [psm-grpc-client-5ddf9d896c-xbvlx:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:19:06.053614 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5ddf9d896c-xbvlx] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestCaseInsensitiveMatch.test_rpc_distribution
I0116 18:19:06.054244 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestCaseInsensitiveMatch.test_rpc_distribution PASSED -----
I0116 18:19:06.054402 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestCaseInsensitiveMatch teardown -----
I0116 18:19:06.097367 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:19:16.313450 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:19:16.313795 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1818-jq6l0
I0116 18:19:46.494325 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1818-jq6l0 deleted
I0116 18:19:46.494834 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:19:46.495074 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-9dcn0ins:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1818-jq6l0%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-9dcn0ins%22;timeRange=2024-01-16T18:18:51.219058Z%2F2024-01-16T18:19:46.494629Z?project=grpc-testing
I0116 18:19:46.495226 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestFullPathMatchEmptyCall -----
I0116 18:19:46.495322 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:19:46.495459 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:19:46.495671 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1819-cttmv
I0116 18:19:46.496066 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1819-cttmv: server_target=xds:///path-matching.test-full-path-match-empty-call:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:19:46.496268 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1819-cttmv%22;timeRange=2024-01-16T18:19:46.496173Z%2F2024-01-16T18:49:46.496173Z?project=grpc-testing
I0116 18:19:46.498201 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1819-cttmv
labels:
name: interop-psm-url-map-client-20240116-1819-cttmv
owner: xds-k8s-interop-test
...
I0116 18:19:46.539427 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1819-cttmv created
I0116 18:19:46.547449 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1819-cttmv
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-gy74y9py
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-gy74y9py
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-gy74y9py
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-full-path-match-empty-call:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:19:46.621831 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:19:46.622051 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:19:46.717146 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-89fb5fd55-dsm4x']
I0116 18:19:46.717426 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-89fb5fd55-dsm4x to start
I0116 18:19:49.952265 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-89fb5fd55-dsm4x ready, IP: 10.60.2.62
I0116 18:19:49.952560 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-89fb5fd55-dsm4x to url_map/test_app_logs/interop-psm-url-map-client-20240116-1819-cttmv_psm-grpc-client-89fb5fd55-dsm4x.log
I0116 18:19:49.953031 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-89fb5fd55-dsm4x
I0116 18:19:49.953220 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:19:51.091457 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestFullPathMatchEmptyCall.test_client_config
I0116 18:19:51.092210 140086647615488 client_app.py:284] [psm-grpc-client-89fb5fd55-dsm4x] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:19:51.189998 140086647615488 client_app.py:312] [psm-grpc-client-89fb5fd55-dsm4x] xDS control plane channel:
I0116 18:19:53.224859 140086647615488 client_app.py:323] [psm-grpc-client-89fb5fd55-dsm4x] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:19:53.225283 140086647615488 client_app.py:294] [psm-grpc-client-89fb5fd55-dsm4x] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:19:53.282058 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.221840572Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.222196143Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.204886400Z'
name: path-matching.test-full-path-match-empty-call:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-full-path-match-empty-call:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.209785325Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848
- - virtualHosts
- - domains:
- path-matching.test-full-path-match-empty-call:8848
routes:
- match:
path: /grpc.testing.TestService/EmptyCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.215873260Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.215873260Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/748123fe-f482-46c4-a850-5aa7d15bb098
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.2.62
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestFullPathMatchEmptyCall.test_client_config
I0116 18:19:53.282632 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchEmptyCall.test_client_config PASSED -----
[ RUN ] path_matching_test.TestFullPathMatchEmptyCall.test_rpc_distribution
I0116 18:19:53.283035 140086647615488 grpc.py:75] [psm-grpc-client-89fb5fd55-dsm4x:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:19:55.317444 140086647615488 grpc.py:75] [psm-grpc-client-89fb5fd55-dsm4x:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:20:01.350640 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-89fb5fd55-dsm4x] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestFullPathMatchEmptyCall.test_rpc_distribution
I0116 18:20:01.351129 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchEmptyCall.test_rpc_distribution PASSED -----
I0116 18:20:01.351279 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestFullPathMatchEmptyCall teardown -----
I0116 18:20:01.417563 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:20:11.586000 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:20:11.586319 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1819-cttmv
I0116 18:20:41.756003 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1819-cttmv deleted
I0116 18:20:41.756473 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:20:41.756707 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-gy74y9py:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1819-cttmv%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-gy74y9py%22;timeRange=2024-01-16T18:19:46.496168Z%2F2024-01-16T18:20:41.756272Z?project=grpc-testing
I0116 18:20:41.756860 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestFullPathMatchUnaryCall -----
I0116 18:20:41.756935 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:20:41.757071 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:20:41.757225 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1820-ha0k8
I0116 18:20:41.757569 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1820-ha0k8: server_target=xds:///path-matching.test-full-path-match-unary-call:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:20:41.757739 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1820-ha0k8%22;timeRange=2024-01-16T18:20:41.757654Z%2F2024-01-16T18:50:41.757654Z?project=grpc-testing
I0116 18:20:41.759778 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1820-ha0k8
labels:
name: interop-psm-url-map-client-20240116-1820-ha0k8
owner: xds-k8s-interop-test
...
I0116 18:20:41.819983 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1820-ha0k8 created
I0116 18:20:41.828128 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1820-ha0k8
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-0v8tkbmv
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-0v8tkbmv
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-0v8tkbmv
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-full-path-match-unary-call:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:20:41.896855 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:20:41.897111 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:20:41.998676 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7745c48b67-9jctb']
I0116 18:20:41.998962 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7745c48b67-9jctb to start
I0116 18:20:45.229116 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7745c48b67-9jctb ready, IP: 10.60.5.37
I0116 18:20:45.229405 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7745c48b67-9jctb to url_map/test_app_logs/interop-psm-url-map-client-20240116-1820-ha0k8_psm-grpc-client-7745c48b67-9jctb.log
I0116 18:20:45.229837 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7745c48b67-9jctb
I0116 18:20:45.230005 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:20:46.440533 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestFullPathMatchUnaryCall.test_client_config
I0116 18:20:46.441313 140086647615488 client_app.py:284] [psm-grpc-client-7745c48b67-9jctb] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:20:46.538547 140086647615488 client_app.py:312] [psm-grpc-client-7745c48b67-9jctb] xDS control plane channel:
I0116 18:20:48.572820 140086647615488 client_app.py:323] [psm-grpc-client-7745c48b67-9jctb] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:20:48.573191 140086647615488 client_app.py:294] [psm-grpc-client-7745c48b67-9jctb] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:20:48.629933 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.112232914Z'
name: path-matching.test-full-path-match-unary-call:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-full-path-match-unary-call:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.119840965Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848
- - virtualHosts
- - domains:
- path-matching.test-full-path-match-unary-call:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.127659600Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.127659600Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.135197252Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.136135366Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/a309a679-08c6-4316-ad95-0cc1bb2682a7
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.37
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestFullPathMatchUnaryCall.test_client_config
I0116 18:20:48.630540 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchUnaryCall.test_client_config PASSED -----
[ RUN ] path_matching_test.TestFullPathMatchUnaryCall.test_rpc_distribution
I0116 18:20:48.630982 140086647615488 grpc.py:75] [psm-grpc-client-7745c48b67-9jctb:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:20:50.665004 140086647615488 grpc.py:75] [psm-grpc-client-7745c48b67-9jctb:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:20:56.693169 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7745c48b67-9jctb] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestFullPathMatchUnaryCall.test_rpc_distribution
I0116 18:20:56.693627 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchUnaryCall.test_rpc_distribution PASSED -----
I0116 18:20:56.693765 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestFullPathMatchUnaryCall teardown -----
I0116 18:20:56.737508 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:21:06.891172 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:21:06.891516 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1820-ha0k8
I0116 18:21:37.063196 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1820-ha0k8 deleted
I0116 18:21:37.063733 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:21:37.063977 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-0v8tkbmv:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1820-ha0k8%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-0v8tkbmv%22;timeRange=2024-01-16T18:20:41.757650Z%2F2024-01-16T18:21:37.063503Z?project=grpc-testing
I0116 18:21:37.064117 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRegexMatch -----
I0116 18:21:37.064193 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:21:37.064321 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:21:37.064486 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1821-3jdn0
I0116 18:21:37.064847 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1821-3jdn0: server_target=xds:///path-matching.test-regex-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:21:37.065026 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1821-3jdn0%22;timeRange=2024-01-16T18:21:37.064935Z%2F2024-01-16T18:51:37.064935Z?project=grpc-testing
I0116 18:21:37.066891 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1821-3jdn0
labels:
name: interop-psm-url-map-client-20240116-1821-3jdn0
owner: xds-k8s-interop-test
...
I0116 18:21:37.109702 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1821-3jdn0 created
I0116 18:21:37.117853 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1821-3jdn0
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-htjsy3td
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-htjsy3td
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-htjsy3td
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-regex-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:21:37.192895 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:21:37.193154 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:21:37.293209 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7b45c78945-hnzbt']
I0116 18:21:37.293542 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7b45c78945-hnzbt to start
I0116 18:21:40.526804 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7b45c78945-hnzbt ready, IP: 10.60.6.41
I0116 18:21:40.527143 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7b45c78945-hnzbt to url_map/test_app_logs/interop-psm-url-map-client-20240116-1821-3jdn0_psm-grpc-client-7b45c78945-hnzbt.log
I0116 18:21:40.527616 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7b45c78945-hnzbt
I0116 18:21:40.527893 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:21:41.669941 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestRegexMatch.test_client_config
I0116 18:21:41.670717 140086647615488 client_app.py:284] [psm-grpc-client-7b45c78945-hnzbt] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:21:41.767959 140086647615488 client_app.py:312] [psm-grpc-client-7b45c78945-hnzbt] xDS control plane channel:
I0116 18:21:43.802514 140086647615488 client_app.py:323] [psm-grpc-client-7b45c78945-hnzbt] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:21:43.802963 140086647615488 client_app.py:294] [psm-grpc-client-7b45c78945-hnzbt] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:21:43.861634 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.796217025Z'
name: path-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-regex-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.800096724Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848
- - virtualHosts
- - domains:
- path-matching.test-regex-match:8848
routes:
- match:
safeRegex:
googleRe2: {}
regex: ^\/.*\/UnaryCall$
name: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.808234030Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.808234030Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.811125314Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.811881323Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/64f17b5b-8539-42e9-a603-c37423b96757
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.41
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestRegexMatch.test_client_config
I0116 18:21:43.862241 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestRegexMatch.test_client_config PASSED -----
[ RUN ] path_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:21:43.862664 140086647615488 grpc.py:75] [psm-grpc-client-7b45c78945-hnzbt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:21:45.896823 140086647615488 grpc.py:75] [psm-grpc-client-7b45c78945-hnzbt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:21:51.903444 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7b45c78945-hnzbt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:21:51.904091 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestRegexMatch.test_rpc_distribution PASSED -----
I0116 18:21:51.904251 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRegexMatch teardown -----
I0116 18:21:51.948662 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:22:02.122497 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:22:02.122836 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1821-3jdn0
I0116 18:22:32.294343 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1821-3jdn0 deleted
I0116 18:22:32.294795 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:22:32.295025 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-htjsy3td:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1821-3jdn0%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-htjsy3td%22;timeRange=2024-01-16T18:21:37.064930Z%2F2024-01-16T18:22:32.294600Z?project=grpc-testing
I0116 18:22:32.295159 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTwoRoutesAndPrefixMatch -----
I0116 18:22:32.295235 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:22:32.295358 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:22:32.295504 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1822-s580u
I0116 18:22:32.295906 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1822-s580u: server_target=xds:///path-matching.test-two-routes-and-prefix-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:22:32.296096 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1822-s580u%22;timeRange=2024-01-16T18:22:32.296000Z%2F2024-01-16T18:52:32.296000Z?project=grpc-testing
I0116 18:22:32.297920 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1822-s580u
labels:
name: interop-psm-url-map-client-20240116-1822-s580u
owner: xds-k8s-interop-test
...
I0116 18:22:32.351519 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1822-s580u created
I0116 18:22:32.360093 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1822-s580u
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bdx8mizx
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bdx8mizx
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bdx8mizx
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-two-routes-and-prefix-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:22:32.430949 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:22:32.431226 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:22:32.532223 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5f457d6bf-mszkc']
I0116 18:22:32.532513 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5f457d6bf-mszkc to start
I0116 18:22:35.772322 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5f457d6bf-mszkc ready, IP: 10.60.5.39
I0116 18:22:35.772609 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5f457d6bf-mszkc to url_map/test_app_logs/interop-psm-url-map-client-20240116-1822-s580u_psm-grpc-client-5f457d6bf-mszkc.log
I0116 18:22:35.773022 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5f457d6bf-mszkc
I0116 18:22:35.773180 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:22:36.910159 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_client_config
I0116 18:22:36.910924 140086647615488 client_app.py:284] [psm-grpc-client-5f457d6bf-mszkc] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:22:37.007512 140086647615488 client_app.py:312] [psm-grpc-client-5f457d6bf-mszkc] xDS control plane channel:
I0116 18:22:39.041716 140086647615488 client_app.py:323] [psm-grpc-client-5f457d6bf-mszkc] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:22:39.042125 140086647615488 client_app.py:294] [psm-grpc-client-5f457d6bf-mszkc] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:22:39.100262 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.434645967Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848
- - virtualHosts
- - domains:
- path-matching.test-two-routes-and-prefix-match:8848
routes:
- match:
prefix: /grpc.testing.TestService/Unary
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
path: /grpc.testing.TestService/EmptyCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.440484256Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.440484256Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.479348130Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.482930682Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.429232446Z'
name: path-matching.test-two-routes-and-prefix-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-two-routes-and-prefix-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/903f5ee9-b72d-46dd-a465-49a7fc7ce377
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.39
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_client_config
I0116 18:22:39.100864 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestTwoRoutesAndPrefixMatch.test_client_config PASSED -----
[ RUN ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_rpc_distribution
I0116 18:22:39.101258 140086647615488 grpc.py:75] [psm-grpc-client-5f457d6bf-mszkc:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:22:41.135437 140086647615488 grpc.py:75] [psm-grpc-client-5f457d6bf-mszkc:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:22:44.161103 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5f457d6bf-mszkc] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 75
psm-grpc-server-alternative-9574d7768-nchnk: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 75
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 75
[ OK ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_rpc_distribution
I0116 18:22:44.161767 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestTwoRoutesAndPrefixMatch.test_rpc_distribution PASSED -----
I0116 18:22:44.161947 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTwoRoutesAndPrefixMatch teardown -----
I0116 18:22:44.205457 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:22:54.361988 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:22:54.362316 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1822-s580u
I0116 18:23:24.531514 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1822-s580u deleted
I0116 18:23:24.531930 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:23:24.532114 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-bdx8mizx:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1822-s580u%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-bdx8mizx%22;timeRange=2024-01-16T18:22:32.295996Z%2F2024-01-16T18:23:24.531753Z?project=grpc-testing
I0116 18:23:24.532232 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRetryUpTo3AttemptsAndFail -----
I0116 18:23:24.532285 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:23:24.532432 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:23:24.532551 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1823-22hdi
I0116 18:23:24.532864 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1823-22hdi: server_target=xds:///retry.test-retry-up-to3-attempts-and-fail:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:23:24.533004 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1823-22hdi%22;timeRange=2024-01-16T18:23:24.532924Z%2F2024-01-16T18:53:24.532924Z?project=grpc-testing
I0116 18:23:24.534766 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1823-22hdi
labels:
name: interop-psm-url-map-client-20240116-1823-22hdi
owner: xds-k8s-interop-test
...
I0116 18:23:24.575631 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1823-22hdi created
I0116 18:23:24.583682 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1823-22hdi
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-n3wjj341
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-n3wjj341
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-n3wjj341
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///retry.test-retry-up-to3-attempts-and-fail:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:23:24.654695 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:23:24.654943 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:23:24.768900 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-584bfdb9cc-dw2qd']
I0116 18:23:24.769201 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-584bfdb9cc-dw2qd to start
I0116 18:23:28.008405 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-584bfdb9cc-dw2qd ready, IP: 10.60.6.43
I0116 18:23:28.008721 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-584bfdb9cc-dw2qd to url_map/test_app_logs/interop-psm-url-map-client-20240116-1823-22hdi_psm-grpc-client-584bfdb9cc-dw2qd.log
I0116 18:23:28.009093 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-584bfdb9cc-dw2qd
I0116 18:23:28.009256 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:23:29.213566 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] retry_test.TestRetryUpTo3AttemptsAndFail.test_client_config
I0116 18:23:29.214290 140086647615488 client_app.py:284] [psm-grpc-client-584bfdb9cc-dw2qd] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:23:29.311881 140086647615488 client_app.py:312] [psm-grpc-client-584bfdb9cc-dw2qd] xDS control plane channel:
I0116 18:23:31.346273 140086647615488 client_app.py:323] [psm-grpc-client-584bfdb9cc-dw2qd] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:23:31.346770 140086647615488 client_app.py:294] [psm-grpc-client-584bfdb9cc-dw2qd] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:23:31.397580 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.269038581Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429385660223561'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.105020877Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.270574187Z'
name: retry.test-retry-up-to3-attempts-and-fail:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429385660223561'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- retry.test-retry-up-to3-attempts-and-fail:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.272088879Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429385660223561'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848
- - virtualHosts
- - domains:
- retry.test-retry-up-to3-attempts-and-fail:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 3
perTryTimeout: 30s
retryOn: unavailable
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/a39cf94f-9eb2-4518-b5ed-e4226426ca15
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.43
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] retry_test.TestRetryUpTo3AttemptsAndFail.test_client_config
I0116 18:23:31.398105 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo3AttemptsAndFail.test_client_config PASSED -----
[ RUN ] retry_test.TestRetryUpTo3AttemptsAndFail.test_rpc_distribution
I0116 18:23:31.398539 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'succeed-on-retry-attempt-4,error-code-14'}]}), wait_for_ready=True, timeout=5)
I0116 18:23:33.433959 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:23:33.961586 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-584bfdb9cc-dw2qd] << Received LoadBalancerStatsResponse:
num_failures: 10
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:23:33.961917 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:23:33.995071 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-584bfdb9cc-dw2qd: before:
- method: EMPTY_CALL
rpcs_started: 110
result:
(0, OK): 110
- method: UNARY_CALL
rpcs_started: 174
result:
(14, UNAVAILABLE): 61
(0, OK): 110
I0116 18:23:50.011810 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:23:50.045812 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-584bfdb9cc-dw2qd: after:
- method: EMPTY_CALL
rpcs_started: 110
result:
(0, OK): 110
- method: UNARY_CALL
rpcs_started: 575
result:
(14, UNAVAILABLE): 462
(0, OK): 110
[ OK ] retry_test.TestRetryUpTo3AttemptsAndFail.test_rpc_distribution
I0116 18:23:50.046316 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo3AttemptsAndFail.test_rpc_distribution PASSED -----
I0116 18:23:50.046463 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRetryUpTo3AttemptsAndFail teardown -----
I0116 18:23:50.090275 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:24:00.246010 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:24:00.246369 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1823-22hdi
I0116 18:24:30.441655 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1823-22hdi deleted
I0116 18:24:30.442135 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:24:30.442368 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-n3wjj341:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1823-22hdi%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-n3wjj341%22;timeRange=2024-01-16T18:23:24.532920Z%2F2024-01-16T18:24:30.441936Z?project=grpc-testing
I0116 18:24:30.442588 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRetryUpTo4AttemptsAndSucceed -----
I0116 18:24:30.442676 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:24:30.442830 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:24:30.443010 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1824-m8t4q
I0116 18:24:30.443411 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1824-m8t4q: server_target=xds:///retry.test-retry-up-to4-attempts-and-succeed:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:24:30.443633 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1824-m8t4q%22;timeRange=2024-01-16T18:24:30.443516Z%2F2024-01-16T18:54:30.443516Z?project=grpc-testing
I0116 18:24:30.445785 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1824-m8t4q
labels:
name: interop-psm-url-map-client-20240116-1824-m8t4q
owner: xds-k8s-interop-test
...
I0116 18:24:30.499768 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1824-m8t4q created
I0116 18:24:30.508055 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1824-m8t4q
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bj7pdd9h
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bj7pdd9h
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bj7pdd9h
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///retry.test-retry-up-to4-attempts-and-succeed:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:24:30.577857 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:24:30.578134 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:24:30.686536 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-84b5bc75b6-gmrrt']
I0116 18:24:30.686844 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-84b5bc75b6-gmrrt to start
I0116 18:24:34.962687 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-84b5bc75b6-gmrrt ready, IP: 10.60.6.44
I0116 18:24:34.962993 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-84b5bc75b6-gmrrt to url_map/test_app_logs/interop-psm-url-map-client-20240116-1824-m8t4q_psm-grpc-client-84b5bc75b6-gmrrt.log
I0116 18:24:34.963363 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-84b5bc75b6-gmrrt
I0116 18:24:34.963507 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:24:35.056885 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_client_config
I0116 18:24:35.057595 140086647615488 client_app.py:284] [psm-grpc-client-84b5bc75b6-gmrrt] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:24:35.154500 140086647615488 client_app.py:312] [psm-grpc-client-84b5bc75b6-gmrrt] xDS control plane channel:
I0116 18:24:37.189218 140086647615488 client_app.py:323] [psm-grpc-client-84b5bc75b6-gmrrt] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:24:37.189697 140086647615488 client_app.py:294] [psm-grpc-client-84b5bc75b6-gmrrt] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:24:37.240019 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.247325290Z'
name: retry.test-retry-up-to4-attempts-and-succeed:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429446087535226'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- retry.test-retry-up-to4-attempts-and-succeed:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.251783557Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429446087535226'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848
- - virtualHosts
- - domains:
- retry.test-retry-up-to4-attempts-and-succeed:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 4
perTryTimeout: 30s
retryOn: unavailable
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.256196534Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429446087535226'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.259988723Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/3141d911-4d94-4b35-baba-e711d01016e3
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.44
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_client_config
I0116 18:24:37.240571 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo4AttemptsAndSucceed.test_client_config PASSED -----
[ RUN ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_rpc_distribution
I0116 18:24:37.241037 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'succeed-on-retry-attempt-4,error-code-14'}]}), wait_for_ready=True, timeout=5)
I0116 18:24:39.275733 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:24:39.949635 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-84b5bc75b6-gmrrt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 10
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 10
I0116 18:24:39.949971 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:24:39.982457 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-84b5bc75b6-gmrrt: before:
- method: EMPTY_CALL
rpcs_started: 101
result:
(0, OK): 101
- method: UNARY_CALL
rpcs_started: 169
result:
(0, OK): 164
I0116 18:24:55.998986 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:24:56.031926 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-84b5bc75b6-gmrrt: after:
- method: EMPTY_CALL
rpcs_started: 101
result:
(0, OK): 101
- method: UNARY_CALL
rpcs_started: 570
result:
(0, OK): 564
[ OK ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_rpc_distribution
I0116 18:24:56.032413 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo4AttemptsAndSucceed.test_rpc_distribution PASSED -----
I0116 18:24:56.032572 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRetryUpTo4AttemptsAndSucceed teardown -----
I0116 18:24:56.076742 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:25:06.226210 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:25:06.226543 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1824-m8t4q
I0116 18:25:36.400670 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1824-m8t4q deleted
I0116 18:25:36.401131 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:25:36.401354 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-bj7pdd9h:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1824-m8t4q%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-bj7pdd9h%22;timeRange=2024-01-16T18:24:30.443510Z%2F2024-01-16T18:25:36.400942Z?project=grpc-testing
I0116 18:25:36.401533 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTimeoutInRouteRule -----
I0116 18:25:36.401617 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:25:36.401748 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:25:36.401904 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1825-icfh4
I0116 18:25:36.402243 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1825-icfh4: server_target=xds:///timeout.test-timeout-in-route-rule:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:25:36.402439 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1825-icfh4%22;timeRange=2024-01-16T18:25:36.402344Z%2F2024-01-16T18:55:36.402344Z?project=grpc-testing
I0116 18:25:36.404342 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1825-icfh4
labels:
name: interop-psm-url-map-client-20240116-1825-icfh4
owner: xds-k8s-interop-test
...
I0116 18:25:36.445148 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1825-icfh4 created
I0116 18:25:36.453282 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1825-icfh4
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-e8i56frp
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-e8i56frp
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-e8i56frp
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///timeout.test-timeout-in-route-rule:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:25:36.524338 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:25:36.524610 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:25:36.622406 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-77f8bffcf8-fhv6g']
I0116 18:25:36.622727 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-77f8bffcf8-fhv6g to start
I0116 18:25:40.909397 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-77f8bffcf8-fhv6g ready, IP: 10.60.6.45
I0116 18:25:40.909696 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-77f8bffcf8-fhv6g to url_map/test_app_logs/interop-psm-url-map-client-20240116-1825-icfh4_psm-grpc-client-77f8bffcf8-fhv6g.log
I0116 18:25:40.910105 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-77f8bffcf8-fhv6g
I0116 18:25:40.910257 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:25:44.128312 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] timeout_test.TestTimeoutInRouteRule.test_client_config
I0116 18:25:44.129055 140086647615488 client_app.py:284] [psm-grpc-client-77f8bffcf8-fhv6g] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:25:44.226311 140086647615488 client_app.py:312] [psm-grpc-client-77f8bffcf8-fhv6g] xDS control plane channel:
I0116 18:25:46.261028 140086647615488 client_app.py:323] [psm-grpc-client-77f8bffcf8-fhv6g] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:25:46.261498 140086647615488 client_app.py:294] [psm-grpc-client-77f8bffcf8-fhv6g] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:25:46.311353 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.479779539Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429517147129032'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848
- - virtualHosts
- - domains:
- timeout.test-timeout-in-route-rule:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
maxStreamDuration:
grpcTimeoutHeaderMax: 3s
maxStreamDuration: 3s
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.487494244Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429517147129032'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.496222262Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.474021113Z'
name: timeout.test-timeout-in-route-rule:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429517147129032'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- timeout.test-timeout-in-route-rule:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/33ad5faf-9f19-4db1-a057-f2cfb4b76f00
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.45
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] timeout_test.TestTimeoutInRouteRule.test_client_config
I0116 18:25:46.312034 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInRouteRule.test_client_config PASSED -----
[ RUN ] timeout_test.TestTimeoutInRouteRule.test_rpc_distribution
I0116 18:25:46.312542 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'sleep-4'}, {'key': 'rpc-behavior', 'value': 'sleep-4'}]}), wait_for_ready=True, timeout=5)
I0116 18:25:48.346827 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 25, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:25:52.360266 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-77f8bffcf8-fhv6g] << Received LoadBalancerStatsResponse:
num_failures: 25
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:25:52.360629 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:25:52.393252 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-77f8bffcf8-fhv6g: before:
- method: EMPTY_CALL
rpcs_started: 324
result:
(0, OK): 224
- method: UNARY_CALL
rpcs_started: 324
result:
(0, OK): 173
(4, DEADLINE_EXCEEDED): 76
I0116 18:26:02.403701 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:26:02.438878 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-77f8bffcf8-fhv6g: after:
- method: EMPTY_CALL
rpcs_started: 575
result:
(0, OK): 475
- method: UNARY_CALL
rpcs_started: 575
result:
(0, OK): 173
(4, DEADLINE_EXCEEDED): 327
[ OK ] timeout_test.TestTimeoutInRouteRule.test_rpc_distribution
I0116 18:26:02.439382 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInRouteRule.test_rpc_distribution PASSED -----
I0116 18:26:02.439534 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTimeoutInRouteRule teardown -----
I0116 18:26:02.481833 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:26:12.630844 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:26:12.631171 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1825-icfh4
I0116 18:26:42.833550 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1825-icfh4 deleted
I0116 18:26:42.834049 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:26:42.834309 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-e8i56frp:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1825-icfh4%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-e8i56frp%22;timeRange=2024-01-16T18:25:36.402339Z%2F2024-01-16T18:26:42.833837Z?project=grpc-testing
I0116 18:26:42.834509 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTimeoutInApplication -----
I0116 18:26:42.834626 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:26:42.834768 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:26:42.834930 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1826-jrium
I0116 18:26:42.835318 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1826-jrium: server_target=xds:///timeout.test-timeout-in-application:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:26:42.835530 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1826-jrium%22;timeRange=2024-01-16T18:26:42.835427Z%2F2024-01-16T18:56:42.835427Z?project=grpc-testing
I0116 18:26:42.837492 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1826-jrium
labels:
name: interop-psm-url-map-client-20240116-1826-jrium
owner: xds-k8s-interop-test
...
I0116 18:26:42.896083 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1826-jrium created
I0116 18:26:42.904338 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1826-jrium
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-d5813xin
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-d5813xin
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-d5813xin
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///timeout.test-timeout-in-application:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:26:42.972441 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:26:42.972705 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:26:43.077653 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7447446995-f6jqk']
I0116 18:26:43.077946 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7447446995-f6jqk to start
I0116 18:26:46.315272 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7447446995-f6jqk ready, IP: 10.60.6.46
I0116 18:26:46.315613 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7447446995-f6jqk to url_map/test_app_logs/interop-psm-url-map-client-20240116-1826-jrium_psm-grpc-client-7447446995-f6jqk.log
I0116 18:26:46.316016 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7447446995-f6jqk
I0116 18:26:46.316160 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:26:47.450798 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] timeout_test.TestTimeoutInApplication.test_client_config
I0116 18:26:47.451616 140086647615488 client_app.py:284] [psm-grpc-client-7447446995-f6jqk] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:26:47.549622 140086647615488 client_app.py:312] [psm-grpc-client-7447446995-f6jqk] xDS control plane channel:
I0116 18:26:49.584289 140086647615488 client_app.py:323] [psm-grpc-client-7447446995-f6jqk] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:26:49.584740 140086647615488 client_app.py:294] [psm-grpc-client-7447446995-f6jqk] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:26:49.636087 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.675261910Z'
name: timeout.test-timeout-in-application:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429594476986754'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- timeout.test-timeout-in-application:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.681054506Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429594476986754'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848
- - virtualHosts
- - domains:
- timeout.test-timeout-in-application:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
maxStreamDuration:
grpcTimeoutHeaderMax: 3s
maxStreamDuration: 3s
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.690304269Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429594476986754'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.694749869Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/932ae448-1052-4a48-af9a-5745eac5f6d9
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.46
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] timeout_test.TestTimeoutInApplication.test_client_config
I0116 18:26:49.636651 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInApplication.test_client_config PASSED -----
[ RUN ] timeout_test.TestTimeoutInApplication.test_rpc_distribution
I0116 18:26:49.637084 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'sleep-2'}], 'timeoutSec': 1}), wait_for_ready=True, timeout=5)
I0116 18:26:51.671844 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 25, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:26:53.692528 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7447446995-f6jqk] << Received LoadBalancerStatsResponse:
num_failures: 25
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:26:53.692985 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:26:53.725664 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7447446995-f6jqk: before:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 227
result:
(0, OK): 126
(4, DEADLINE_EXCEEDED): 76
I0116 18:27:03.736120 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:27:03.770851 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7447446995-f6jqk: after:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 478
result:
(4, DEADLINE_EXCEEDED): 327
(0, OK): 126
[ OK ] timeout_test.TestTimeoutInApplication.test_rpc_distribution
I0116 18:27:03.771358 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInApplication.test_rpc_distribution PASSED -----
I0116 18:27:03.771505 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTimeoutInApplication teardown -----
I0116 18:27:03.815235 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:27:13.967791 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:27:13.968125 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1826-jrium
I0116 18:27:44.141632 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1826-jrium deleted
I0116 18:27:44.142080 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:27:44.142300 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-d5813xin:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1826-jrium%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-d5813xin%22;timeRange=2024-01-16T18:26:42.835421Z%2F2024-01-16T18:27:44.141894Z?project=grpc-testing
I0116 18:27:44.142427 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTimeoutNotExceeded -----
I0116 18:27:44.142514 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:27:44.142654 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:27:44.142806 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1827-f8vx9
I0116 18:27:44.143141 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1827-f8vx9: server_target=xds:///timeout.test-timeout-not-exceeded:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:27:44.143337 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1827-f8vx9%22;timeRange=2024-01-16T18:27:44.143237Z%2F2024-01-16T18:57:44.143237Z?project=grpc-testing
I0116 18:27:44.145200 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1827-f8vx9
labels:
name: interop-psm-url-map-client-20240116-1827-f8vx9
owner: xds-k8s-interop-test
...
I0116 18:27:44.185841 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1827-f8vx9 created
I0116 18:27:44.194070 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1827-f8vx9
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-x95wy9q5
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-x95wy9q5
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-x95wy9q5
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///timeout.test-timeout-not-exceeded:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:27:44.264416 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:27:44.264701 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:27:44.370686 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-8686955dc5-mvgst']
I0116 18:27:44.370983 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-8686955dc5-mvgst to start
I0116 18:27:47.602810 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-8686955dc5-mvgst ready, IP: 10.60.6.47
I0116 18:27:47.603098 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-8686955dc5-mvgst to url_map/test_app_logs/interop-psm-url-map-client-20240116-1827-f8vx9_psm-grpc-client-8686955dc5-mvgst.log
I0116 18:27:47.603511 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-8686955dc5-mvgst
I0116 18:27:47.603760 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:27:48.736788 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] timeout_test.TestTimeoutNotExceeded.test_client_config
I0116 18:27:48.737497 140086647615488 client_app.py:284] [psm-grpc-client-8686955dc5-mvgst] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:27:48.834063 140086647615488 client_app.py:312] [psm-grpc-client-8686955dc5-mvgst] xDS control plane channel:
I0116 18:27:50.868228 140086647615488 client_app.py:323] [psm-grpc-client-8686955dc5-mvgst] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:27:50.868685 140086647615488 client_app.py:294] [psm-grpc-client-8686955dc5-mvgst] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:27:50.918882 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.841198350Z'
name: timeout.test-timeout-not-exceeded:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429638049457989'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- timeout.test-timeout-not-exceeded:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.846473239Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429638049457989'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848
- - virtualHosts
- - domains:
- timeout.test-timeout-not-exceeded:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
maxStreamDuration:
grpcTimeoutHeaderMax: 3s
maxStreamDuration: 3s
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.850605567Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429638049457989'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.855682738Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/3ac6188e-564e-4038-8e88-4d1177c2621b
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.47
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] timeout_test.TestTimeoutNotExceeded.test_client_config
I0116 18:27:50.919609 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutNotExceeded.test_client_config PASSED -----
[ RUN ] timeout_test.TestTimeoutNotExceeded.test_rpc_distribution
I0116 18:27:50.920046 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:27:52.954130 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 25, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:27:53.949447 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-8686955dc5-mvgst] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 25
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 25
I0116 18:27:53.949812 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:27:53.982177 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-8686955dc5-mvgst: before:
- method: EMPTY_CALL
rpcs_started: 104
result:
(0, OK): 104
- method: UNARY_CALL
rpcs_started: 179
result:
(0, OK): 179
I0116 18:28:03.992744 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:28:04.027488 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-8686955dc5-mvgst: after:
- method: EMPTY_CALL
rpcs_started: 104
result:
(0, OK): 104
- method: UNARY_CALL
rpcs_started: 430
result:
(0, OK): 430
[ OK ] timeout_test.TestTimeoutNotExceeded.test_rpc_distribution
I0116 18:28:04.028029 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutNotExceeded.test_rpc_distribution PASSED -----
I0116 18:28:04.028141 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTimeoutNotExceeded teardown -----
I0116 18:28:04.071799 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:28:14.229528 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:28:14.229874 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1827-f8vx9
I0116 18:28:44.427868 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1827-f8vx9 deleted
I0116 18:28:44.428353 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:28:44.428593 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-x95wy9q5:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1827-f8vx9%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-x95wy9q5%22;timeRange=2024-01-16T18:27:44.143232Z%2F2024-01-16T18:28:44.428145Z?project=grpc-testing
----------------------------------------------------------------------
Ran 60 tests in 1666.310s
OK (skipped=4)
[ID: 1468488] Command finished after 1777 secs, exit value: 0
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[10:28:45 PST] Collecting build artifacts from build VM
[10:28:45 PST] Kokoro builder finished
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[09:59:05 PST] Transferring environment variable script to build VM
[09:59:06 PST] Transferring kokoro_log_reader.py to build VM
[09:59:06 PST] Transferring source code to build VM
[09:59:07 PST] Executing build script on build VM
[ID: 1468488] Executing command via SSH:
export KOKORO_BUILD_NUMBER="949"
export KOKORO_JOB_NAME="grpc/go/master/branch/xds_url_map"
source /tmpfs/kokoro-env_vars.sh; cd /tmpfs/src/ ; chmod 755 github/grpc-go/test/kokoro/xds_url_map.sh ; PYTHON_3_VERSION="$(pyenv which python3 2> /dev/null || which python3)" ; PYTHON_2_VERSION="$(pyenv which python2 2> /dev/null || which python2)" ; if "$PYTHON_3_VERSION" -c "import psutil" ; then KOKORO_PYTHON_COMMAND="$PYTHON_3_VERSION" ; else KOKORO_PYTHON_COMMAND="$PYTHON_2_VERSION" ; fi > /dev/null 2>&1 ; echo "export KOKORO_PYTHON_COMMAND="$KOKORO_PYTHON_COMMAND"" > "$HOME/.kokoro_python_vars" ; nohup bash -c "( rm -f /tmpfs/kokoro_build_exit_code ; github/grpc-go/test/kokoro/xds_url_map.sh ; echo \${PIPESTATUS[0]} > /tmpfs/kokoro_build_exit_code ) > /tmpfs/kokoro_build.log 2>&1" > /dev/null 2>&1 & echo $! > /tmpfs/kokoro_build.pid ; source "$HOME/.kokoro_python_vars" ; "$KOKORO_PYTHON_COMMAND" /tmpfs/kokoro_log_reader.py /tmpfs/kokoro_build.log /tmpfs/kokoro_build_exit_code /tmpfs/kokoro_build.pid /tmpfs/kokoro_log_reader.pid --start_byte 0
Sourcing test driver install script from: https://raw.githubusercontent.com/grpc/psm-interop/main/.kokoro/psm_interop_kokoro_lib.sh
Activated GKE cluster: GKE_CLUSTER_NAME=interop-test-psm-basic GKE_CLUSTER_ZONE=us-central1-c
+ [[ -n /tmpfs/src ]]
+ kokoro_setup_test_driver grpc-go
+ set +x
Kokoro Ubuntu version:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Python 3.10.12
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
Sponge properties:
TESTS_FORMAT_VERSION,2
TESTGRID_EXCLUDE,0
GIT_ORIGIN_URL,https://github.com/zasweq/grpc-go.git
GIT_COMMIT_SHORT,eb521e50
(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 ... 130042 files and directories currently installed.)
Removing needrestart (3.5-5ubuntu2.1) ...
Processing triggers for man-db (2.10.2-1) ...
W: https://packages.cloud.google.com/apt/dists/cloud-sdk/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
(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 ... 129987 files and directories currently installed.)
Removing libintl-xs-perl (1.26-3build2) ...
Removing libintl-perl (1.26-3build2) ...
Removing libmodule-find-perl (0.15-1) ...
Removing libmodule-scandeps-perl (1.31-1) ...
Removing libproc-processtable-perl:amd64 (0.634-1build1) ...
Removing libsort-naturally-perl (1.03-2) ...
Removing libterm-readkey-perl (2.38-1build4) ...
Selecting previously unselected package google-cloud-sdk-gke-gcloud-auth-plugin.
(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 ... 129587 files and directories currently installed.)
Preparing to unpack .../google-cloud-sdk-gke-gcloud-auth-plugin_0%3a459.0.0-0_amd64.deb ...
Unpacking google-cloud-sdk-gke-gcloud-auth-plugin (459.0.0-0) ...
Selecting previously unselected package kubectl.
Preparing to unpack .../kubectl_1%3a459.0.0-0_amd64.deb ...
Unpacking kubectl (1:459.0.0-0) ...
Selecting previously unselected package python3-pip-whl.
Preparing to unpack .../python3-pip-whl_22.0.2+dfsg-1ubuntu0.4_all.deb ...
Unpacking python3-pip-whl (22.0.2+dfsg-1ubuntu0.4) ...
Selecting previously unselected package python3-setuptools-whl.
Preparing to unpack .../python3-setuptools-whl_59.6.0-1.2ubuntu0.22.04.1_all.deb ...
Unpacking python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.1) ...
Selecting previously unselected package python3.10-venv.
Preparing to unpack .../python3.10-venv_3.10.12-1~22.04.3_amd64.deb ...
Unpacking python3.10-venv (3.10.12-1~22.04.3) ...
Setting up python3-setuptools-whl (59.6.0-1.2ubuntu0.22.04.1) ...
Setting up python3-pip-whl (22.0.2+dfsg-1ubuntu0.4) ...
Setting up google-cloud-sdk-gke-gcloud-auth-plugin (459.0.0-0) ...
Setting up kubectl (1:459.0.0-0) ...
Setting up python3.10-venv (3.10.12-1~22.04.3) ...
Processing triggers for man-db (2.10.2-1) ...
Fetching cluster endpoint and auth data.
kubeconfig entry generated for interop-test-psm-basic.
Cloning driver to https://github.com/grpc/psm-interop.git branch main to /tmp/tmp.LgMi7gcQ7j/psm-interop
Cloning into '/tmp/tmp.LgMi7gcQ7j/psm-interop'...
Install python dependencies
Creating python virtual environment: /tmp/tmp.LgMi7gcQ7j/psm-interop/venv
Collecting Mako==1.2.4 (from -r requirements.lock (line 1))
Downloading Mako-1.2.4-py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 1.9 MB/s eta 0:00:00
Collecting PyYAML==6.0 (from -r requirements.lock (line 2))
Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 15.7 MB/s eta 0:00:00
Collecting absl-py==0.15.0 (from -r requirements.lock (line 3))
Downloading absl_py-0.15.0-py3-none-any.whl (132 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.0/132.0 kB 14.3 MB/s eta 0:00:00
Collecting google-api-python-client==1.12.11 (from -r requirements.lock (line 4))
Downloading google_api_python_client-1.12.11-py2.py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.1/62.1 kB 6.8 MB/s eta 0:00:00
Collecting google-cloud-secret-manager==2.15.1 (from -r requirements.lock (line 5))
Downloading google_cloud_secret_manager-2.15.1-py2.py3-none-any.whl (100 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.4/100.4 kB 11.5 MB/s eta 0:00:00
Collecting grpcio==1.57.0 (from -r requirements.lock (line 6))
Downloading grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Collecting grpcio-health-checking==1.57.0 (from -r requirements.lock (line 7))
Downloading grpcio_health_checking-1.57.0-py3-none-any.whl.metadata (1.2 kB)
Collecting grpcio-tools==1.57.0 (from -r requirements.lock (line 8))
Downloading grpcio_tools-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.2 kB)
Collecting grpcio-channelz==1.57.0 (from -r requirements.lock (line 9))
Downloading grpcio_channelz-1.57.0-py3-none-any.whl.metadata (1.2 kB)
Collecting kubernetes==27.2.0 (from -r requirements.lock (line 10))
Downloading kubernetes-27.2.0-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting six==1.16.0 (from -r requirements.lock (line 11))
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tenacity==6.3.1 (from -r requirements.lock (line 12))
Downloading tenacity-6.3.1-py2.py3-none-any.whl (36 kB)
Collecting packaging==23.1 (from -r requirements.lock (line 13))
Downloading packaging-23.1-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 5.3 MB/s eta 0:00:00
Collecting Pygments==2.14.0 (from -r requirements.lock (line 14))
Downloading Pygments-2.14.0-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 44.4 MB/s eta 0:00:00
Collecting python-dateutil==2.8.2 (from -r requirements.lock (line 15))
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 23.5 MB/s eta 0:00:00
Collecting protobuf==4.24.1 (from -r requirements.lock (line 16))
Downloading protobuf-4.24.1-cp37-abi3-manylinux2014_x86_64.whl.metadata (540 bytes)
Collecting xds-protos==1.58.0rc1 (from -r requirements.lock (line 17))
Downloading xds_protos-1.58.0rc1-py3-none-any.whl.metadata (1.3 kB)
Collecting cachetools==5.3.1 (from -r requirements.lock (line 19))
Downloading cachetools-5.3.1-py3-none-any.whl.metadata (5.2 kB)
Collecting certifi==2023.7.22 (from -r requirements.lock (line 20))
Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting charset-normalizer==3.2.0 (from -r requirements.lock (line 21))
Downloading charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB)
Collecting google-api-core==2.11.1 (from -r requirements.lock (line 22))
Downloading google_api_core-2.11.1-py3-none-any.whl.metadata (2.7 kB)
Collecting google-auth==2.22.0 (from -r requirements.lock (line 23))
Downloading google_auth-2.22.0-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting google-auth-httplib2==0.1.0 (from -r requirements.lock (line 24))
Downloading google_auth_httplib2-0.1.0-py2.py3-none-any.whl (9.3 kB)
Collecting googleapis-common-protos==1.60.0 (from -r requirements.lock (line 25))
Downloading googleapis_common_protos-1.60.0-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting grpc-google-iam-v1==0.12.6 (from -r requirements.lock (line 26))
Downloading grpc_google_iam_v1-0.12.6-py2.py3-none-any.whl (26 kB)
Collecting grpcio-status==1.57.0 (from -r requirements.lock (line 27))
Downloading grpcio_status-1.57.0-py3-none-any.whl.metadata (1.2 kB)
Collecting httplib2==0.22.0 (from -r requirements.lock (line 28))
Downloading httplib2-0.22.0-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 kB 11.0 MB/s eta 0:00:00
Collecting idna==3.4 (from -r requirements.lock (line 29))
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 7.7 MB/s eta 0:00:00
Collecting MarkupSafe==2.1.3 (from -r requirements.lock (line 30))
Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting oauthlib==3.2.2 (from -r requirements.lock (line 31))
Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 15.6 MB/s eta 0:00:00
Collecting proto-plus==1.22.3 (from -r requirements.lock (line 32))
Downloading proto_plus-1.22.3-py3-none-any.whl.metadata (2.2 kB)
Collecting pyasn1==0.5.0 (from -r requirements.lock (line 33))
Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 kB 10.1 MB/s eta 0:00:00
Collecting pyasn1-modules==0.3.0 (from -r requirements.lock (line 34))
Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 18.4 MB/s eta 0:00:00
Collecting pyparsing==3.1.1 (from -r requirements.lock (line 35))
Downloading pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB)
Collecting requests==2.31.0 (from -r requirements.lock (line 36))
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting requests-oauthlib==1.3.1 (from -r requirements.lock (line 37))
Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting rsa==4.9 (from -r requirements.lock (line 38))
Downloading rsa-4.9-py3-none-any.whl (34 kB)
Collecting uritemplate==3.0.1 (from -r requirements.lock (line 39))
Downloading uritemplate-3.0.1-py2.py3-none-any.whl (15 kB)
Collecting urllib3==1.26.16 (from -r requirements.lock (line 40))
Downloading urllib3-1.26.16-py2.py3-none-any.whl.metadata (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 5.0 MB/s eta 0:00:00
Collecting websocket-client==1.6.2 (from -r requirements.lock (line 41))
Downloading websocket_client-1.6.2-py3-none-any.whl.metadata (7.5 kB)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (from grpcio-tools==1.57.0->-r requirements.lock (line 8)) (69.0.3)
Downloading grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 93.6 MB/s eta 0:00:00
Downloading grpcio_health_checking-1.57.0-py3-none-any.whl (8.6 kB)
Downloading grpcio_tools-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 89.5 MB/s eta 0:00:00
Downloading grpcio_channelz-1.57.0-py3-none-any.whl (10 kB)
Downloading kubernetes-27.2.0-py2.py3-none-any.whl (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 70.8 MB/s eta 0:00:00
Downloading protobuf-4.24.1-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.4/311.4 kB 26.4 MB/s eta 0:00:00
Downloading xds_protos-1.58.0rc1-py3-none-any.whl (1.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 40.1 MB/s eta 0:00:00
Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)
Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 16.1 MB/s eta 0:00:00
Downloading charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (201 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 201.8/201.8 kB 20.2 MB/s eta 0:00:00
Downloading google_api_core-2.11.1-py3-none-any.whl (120 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 120.5/120.5 kB 13.7 MB/s eta 0:00:00
Downloading google_auth-2.22.0-py2.py3-none-any.whl (181 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.8/181.8 kB 18.2 MB/s eta 0:00:00
Downloading googleapis_common_protos-1.60.0-py2.py3-none-any.whl (227 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.6/227.6 kB 20.8 MB/s eta 0:00:00
Downloading grpcio_status-1.57.0-py3-none-any.whl (5.1 kB)
Downloading MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Downloading proto_plus-1.22.3-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 5.1 MB/s eta 0:00:00
Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 kB 10.9 MB/s eta 0:00:00
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 6.7 MB/s eta 0:00:00
Downloading urllib3-1.26.16-py2.py3-none-any.whl (143 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 kB 14.8 MB/s eta 0:00:00
Downloading websocket_client-1.6.2-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.0/57.0 kB 6.2 MB/s eta 0:00:00
Installing collected packages: websocket-client, urllib3, uritemplate, six, PyYAML, pyparsing, Pygments, pyasn1, protobuf, packaging, oauthlib, MarkupSafe, idna, grpcio, charset-normalizer, certifi, cachetools, xds-protos, tenacity, rsa, requests, python-dateutil, pyasn1-modules, proto-plus, Mako, httplib2, grpcio-tools, grpcio-health-checking, grpcio-channelz, googleapis-common-protos, absl-py, requests-oauthlib, grpcio-status, google-auth, kubernetes, grpc-google-iam-v1, google-auth-httplib2, google-api-core, google-api-python-client, google-cloud-secret-manager
Successfully installed Mako-1.2.4 MarkupSafe-2.1.3 PyYAML-6.0 Pygments-2.14.0 absl-py-0.15.0 cachetools-5.3.1 certifi-2023.7.22 charset-normalizer-3.2.0 google-api-core-2.11.1 google-api-python-client-1.12.11 google-auth-2.22.0 google-auth-httplib2-0.1.0 google-cloud-secret-manager-2.15.1 googleapis-common-protos-1.60.0 grpc-google-iam-v1-0.12.6 grpcio-1.57.0 grpcio-channelz-1.57.0 grpcio-health-checking-1.57.0 grpcio-status-1.57.0 grpcio-tools-1.57.0 httplib2-0.22.0 idna-3.4 kubernetes-27.2.0 oauthlib-3.2.2 packaging-23.1 proto-plus-1.22.3 protobuf-4.24.1 pyasn1-0.5.0 pyasn1-modules-0.3.0 pyparsing-3.1.1 python-dateutil-2.8.2 requests-2.31.0 requests-oauthlib-1.3.1 rsa-4.9 six-1.16.0 tenacity-6.3.1 uritemplate-3.0.1 urllib3-1.26.16 websocket-client-1.6.2 xds-protos-1.58.0rc1
Installed Python packages:
Package Version
--------------------------- ---------
absl-py 0.15.0
cachetools 5.3.1
certifi 2023.7.22
charset-normalizer 3.2.0
google-api-core 2.11.1
google-api-python-client 1.12.11
google-auth 2.22.0
google-auth-httplib2 0.1.0
google-cloud-secret-manager 2.15.1
googleapis-common-protos 1.60.0
grpc-google-iam-v1 0.12.6
grpcio 1.57.0
grpcio-channelz 1.57.0
grpcio-health-checking 1.57.0
grpcio-status 1.57.0
grpcio-tools 1.57.0
httplib2 0.22.0
idna 3.4
kubernetes 27.2.0
Mako 1.2.4
MarkupSafe 2.1.3
oauthlib 3.2.2
packaging 23.1
pip 23.3.2
proto-plus 1.22.3
protobuf 4.24.1
pyasn1 0.5.0
pyasn1-modules 0.3.0
Pygments 2.14.0
pyparsing 3.1.1
python-dateutil 2.8.2
PyYAML 6.0
requests 2.31.0
requests-oauthlib 1.3.1
rsa 4.9
setuptools 69.0.3
six 1.16.0
tenacity 6.3.1
uritemplate 3.0.1
urllib3 1.26.16
websocket-client 1.6.2
xds-protos 1.58.0rc1
Generate python code from grpc.testing protos: protos/grpc/testing/test.proto protos/grpc/testing/messages.proto protos/grpc/testing/empty.proto
/tmp/tmp.LgMi7gcQ7j/psm-interop/venv/lib/python3.10/site-packages/grpc_tools/protoc.py:21: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Generated files /tmp/tmp.LgMi7gcQ7j/psm-interop/protos/grpc/testing:
total 108
-rw-rw-r-- 1 kbuilder kbuilder 957 Jan 16 17:59 empty.proto
-rw-rw-r-- 1 kbuilder kbuilder 1007 Jan 16 18:00 empty_pb2.py
-rw-rw-r-- 1 kbuilder kbuilder 159 Jan 16 18:00 empty_pb2_grpc.py
-rw-rw-r-- 1 kbuilder kbuilder 11527 Jan 16 17:59 messages.proto
-rw-rw-r-- 1 kbuilder kbuilder 17206 Jan 16 18:00 messages_pb2.py
-rw-rw-r-- 1 kbuilder kbuilder 159 Jan 16 18:00 messages_pb2_grpc.py
-rw-rw-r-- 1 kbuilder kbuilder 4871 Jan 16 17:59 test.proto
-rw-rw-r-- 1 kbuilder kbuilder 4296 Jan 16 18:00 test_pb2.py
-rw-rw-r-- 1 kbuilder kbuilder 41870 Jan 16 18:00 test_pb2_grpc.py
Client image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
Client image not found
Building Go xDS interop test app Docker images
#0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.51kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/golang:1.21-alpine
#3 DONE 0.6s
#4 [internal] load metadata for docker.io/library/alpine:latest
#4 DONE 1.5s
#5 [internal] load build context
#5 DONE 0.0s
#6 [build 1/4] FROM docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5
#6 resolve docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5 0.0s done
#6 sha256:2979d3ffd3a49b2dd31f3e87826cb75934ebef5c0e6e44c8ae38ead06678961d 0B / 284.20kB 0.1s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 0B / 67.09MB 0.1s
#6 sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5 1.65kB / 1.65kB done
#6 sha256:2523a6f68a0f515fe251aad40b18545155135ca6a5b2e61da8254df9153e3648 1.16kB / 1.16kB done
#6 sha256:82e66f0646744e5c40c91b75ff7d5ff5577887b46d5402965633324dd842ea87 5.22kB / 5.22kB done
#6 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0B / 3.41MB 0.1s
#6 sha256:2979d3ffd3a49b2dd31f3e87826cb75934ebef5c0e6e44c8ae38ead06678961d 284.20kB / 284.20kB 0.2s done
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 6.29MB / 67.09MB 0.2s
#6 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 3.41MB / 3.41MB 0.2s done
#6 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca
#6 sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98 0B / 156B 0.2s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 13.63MB / 67.09MB 0.3s
#6 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0.1s done
#6 sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98 156B / 156B 0.2s done
#6 ...
#7 [stage-1 1/2] FROM docker.io/library/alpine@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48
#7 resolve docker.io/library/alpine@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 0.0s done
#7 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 3.41MB / 3.41MB 0.1s done
#7 sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 1.64kB / 1.64kB done
#7 sha256:13b7e62e8df80264dbb747995705a986aa530415763a6c58f84a3ca8af9a5bcd 528B / 528B done
#7 sha256:f8c20f8bbcb684055b4fea470fdd169c86e87786940b3262335b12ec3adef418 1.47kB / 1.47kB done
#7 DONE 0.4s
#6 [build 1/4] FROM docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 18.87MB / 67.09MB 0.4s
#6 extracting sha256:2979d3ffd3a49b2dd31f3e87826cb75934ebef5c0e6e44c8ae38ead06678961d 0.1s done
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 25.17MB / 67.09MB 0.5s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 37.75MB / 67.09MB 0.7s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 47.18MB / 67.09MB 0.8s
#6 ...
#5 [internal] load build context
#5 transferring context: 87.14MB 0.8s done
#5 DONE 0.8s
#6 [build 1/4] FROM docker.io/library/golang:1.21-alpine@sha256:fd78f2fb1e49bcf343079bbbb851c936a18fc694df993cbddaa24ace0cc724c5
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 56.62MB / 67.09MB 0.9s
#6 sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 67.09MB / 67.09MB 1.2s done
#6 extracting sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 0.1s
#6 extracting sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 5.1s
#6 extracting sha256:a32e8c70f5774b3d882e17676b30b846a40001502ad8a543f3c72bebca48fcbc 5.6s done
#6 extracting sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98
#6 extracting sha256:cedd8caa912b33fa383ee6e3be5031c2bebfc4a735537ebe152941e374fb6c98 done
#6 DONE 7.3s
#8 [build 2/4] WORKDIR /go/src/grpc-go
#8 DONE 1.2s
#9 [build 3/4] COPY . .
#9 DONE 0.5s
#10 [build 4/4] RUN go build -tags osusergo,netgo interop/xds/client/client.go
#10 0.432 go: downloading github.com/envoyproxy/go-control-plane v0.11.1
#10 0.440 go: downloading google.golang.org/protobuf v1.31.0
#10 0.443 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17
#10 0.443 go: downloading github.com/golang/protobuf v1.5.3
#10 0.450 go: downloading golang.org/x/net v0.18.0
#10 0.463 go: downloading golang.org/x/sys v0.14.0
#10 0.525 go: downloading google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17
#10 0.933 go: downloading github.com/cncf/xds/go v0.0.0-20231109132714-523115ebc101
#10 1.062 go: downloading github.com/cespare/xxhash/v2 v2.2.0
#10 1.093 go: downloading github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe
#10 1.573 go: downloading github.com/envoyproxy/protoc-gen-validate v1.0.2
#10 1.573 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17
#10 1.584 go: downloading golang.org/x/text v0.14.0
#10 1.585 go: downloading github.com/census-instrumentation/opencensus-proto v0.4.1
#10 1.587 go: downloading golang.org/x/oauth2 v0.14.0
#10 1.587 go: downloading golang.org/x/sync v0.5.0
#10 1.683 go: downloading cloud.google.com/go/compute/metadata v0.2.3
#10 1.691 go: downloading cloud.google.com/go/compute v1.23.3
#10 DONE 22.3s
#11 [stage-1 2/2] COPY --from=build /go/src/grpc-go/client .
#11 DONE 0.1s
#12 exporting to image
#12 exporting layers
#12 exporting layers 0.2s done
#12 writing image sha256:b9975418b2ae6e61014a77e3795324301749a3a3d807b4f0a43f9cb35e3234dc done
#12 naming to gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723 done
#12 DONE 0.2s
Adding credentials for all GCR repositories.
WARNING: A long list of credential helpers may cause delays running 'docker build'. We recommend passing the registry name to configure only the registry you are using.
Docker configuration file updated.
The push refers to repository [gcr.io/grpc-testing/xds-interop/go-client]
6b0459292cb0: Preparing
5af4f8f59b76: Preparing
5af4f8f59b76: Layer already exists
6b0459292cb0: Pushed
eb521e502093ca03aea6f558edf5fa36a7caf723: digest: sha256:9d2cffe72bf40f9369b313700abfb9a58aa43225a53fb72a9e8870a275b06107 size: 740
mkdir: created directory '/tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map'
+ python -m tests.url_map --flagfile=config/grpc-testing.cfg --flagfile=config/url-map.cfg --kube_context=gke_grpc-testing_us-central1-c_interop-test-psm-basic --client_image=gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723 --testing_version=dev-master --collect_app_logs --log_dir=/tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map --xml_output_file=/tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map/sponge_log.xml
+ tee /tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map/sponge_log.log
Running tests under Python 3.10.12: /tmp/tmp.LgMi7gcQ7j/psm-interop/venv/bin/python
I0116 18:00:58.119329 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestHeaderBasedAffinity -----
I0116 18:00:58.119610 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:00:58.119986 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:00:58.120431 140086647615488 xds_url_map_test_resources.py:158] GcpResourceManager: resource prefix=interop-psm-url-map, suffix=
I0116 18:00:58.135483 140086647615488 k8s.py:243] Using kubernetes context "gke_grpc-testing_us-central1-c_interop-test-psm-basic", active host: https://130.211.205.238
I0116 18:00:58.593354 140086647615488 logs.py:31] Log root dir: /tmpfs/src/artifacts/grpc/go/master/branch/xds_url_map/url_map
I0116 18:00:58.594155 140086647615488 xds_url_map_test_resources.py:221] Strategy of GCP resources management: reuse
I0116 18:00:58.594290 140086647615488 xds_url_map_test_resources.py:261] GcpResourceManager: skipping setup for strategy [reuse]
I0116 18:00:58.594439 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1800-mvjvj
I0116 18:00:58.594728 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1800-mvjvj: server_target=xds:///affinity.test-header-based-affinity:8848 rpc=EmptyCall qps=25 metadata='EmptyCall:xds_md:empty_ytpme' secure_mode=False print_response=True
I0116 18:00:58.595004 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1800-mvjvj%22;timeRange=2024-01-16T18:00:58.594835Z%2F2024-01-16T18:30:58.594835Z?project=grpc-testing
I0116 18:00:58.600287 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1800-mvjvj
labels:
name: interop-psm-url-map-client-20240116-1800-mvjvj
owner: xds-k8s-interop-test
...
I0116 18:00:58.659091 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1800-mvjvj created
I0116 18:00:58.669003 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1800-mvjvj
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-rdyhyzsh
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-rdyhyzsh
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-rdyhyzsh
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///affinity.test-header-based-affinity:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=EmptyCall"
- "--metadata=EmptyCall:xds_md:empty_ytpme"
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:00:58.740850 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:00:58.741120 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:00:58.852335 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-66c5b7858c-2x8qt']
I0116 18:00:58.852662 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-66c5b7858c-2x8qt to start
I0116 18:01:03.138641 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-66c5b7858c-2x8qt ready, IP: 10.60.5.20
I0116 18:01:03.138962 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-66c5b7858c-2x8qt to url_map/test_app_logs/interop-psm-url-map-client-20240116-1800-mvjvj_psm-grpc-client-66c5b7858c-2x8qt.log
I0116 18:01:03.139783 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-66c5b7858c-2x8qt
I0116 18:01:03.140019 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:01:05.389280 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] affinity_test.TestHeaderBasedAffinity.test_client_config
I0116 18:01:05.390089 140086647615488 client_app.py:284] [psm-grpc-client-66c5b7858c-2x8qt] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:01:05.493674 140086647615488 client_app.py:312] [psm-grpc-client-66c5b7858c-2x8qt] xDS control plane channel:
I0116 18:01:07.528523 140086647615488 client_app.py:323] [psm-grpc-client-66c5b7858c-2x8qt] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:01:07.528975 140086647615488 client_app.py:294] [psm-grpc-client-66c5b7858c-2x8qt] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:01:07.581245 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.277665245Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428035317416407'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - lbPolicy
- RING_HASH
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-affinity
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-affinity
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.283339335Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.1.10
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.0.3
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.7.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_5256530401325502228_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.262739577Z'
name: affinity.test-header-based-affinity:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428035317416407'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- affinity.test-header-based-affinity:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:01:02.269047697Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428035317416407'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848
- - virtualHosts
- - domains:
- affinity.test-header-based-affinity:8848
routes:
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_0_affinity.test-header-based-affinity:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
hashPolicy:
- header:
headerName: xds_md
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/246705f0-516e-48df-bc8d-fda9d44ec437
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.20
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] affinity_test.TestHeaderBasedAffinity.test_client_config
I0116 18:01:07.581848 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinity.test_client_config PASSED -----
[ RUN ] affinity_test.TestHeaderBasedAffinity.test_rpc_distribution
I0116 18:01:07.582330 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:01:09.616953 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:01:15.632872 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-66c5b7858c-2x8qt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
I0116 18:01:15.761226 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL', 'UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:01:17.795330 140086647615488 grpc.py:75] [psm-grpc-client-66c5b7858c-2x8qt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:01:20.792827 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-66c5b7858c-2x8qt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 43
psm-grpc-server-affinity-7bcdbfdf64-jwxjb: 52
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 55
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 24
psm-grpc-server-affinity-7bcdbfdf64-jwxjb: 25
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 26
UnaryCall:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 19
psm-grpc-server-affinity-7bcdbfdf64-jwxjb: 27
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 29
[ OK ] affinity_test.TestHeaderBasedAffinity.test_rpc_distribution
I0116 18:01:20.921794 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinity.test_rpc_distribution PASSED -----
I0116 18:01:20.922026 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestHeaderBasedAffinity teardown -----
I0116 18:01:20.966409 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:01:31.119105 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:01:31.119476 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1800-mvjvj
I0116 18:02:01.320668 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1800-mvjvj deleted
I0116 18:02:01.321280 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:02:01.321581 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-rdyhyzsh:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1800-mvjvj%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-rdyhyzsh%22;timeRange=2024-01-16T18:00:58.594829Z%2F2024-01-16T18:02:01.320990Z?project=grpc-testing
I0116 18:02:01.321753 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestHeaderBasedAffinityMultipleHeaders -----
I0116 18:02:01.321839 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:02:01.322002 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:02:01.322172 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1802-2il6o
I0116 18:02:01.322598 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1802-2il6o: server_target=xds:///affinity.test-header-based-affinity-multiple-headers:8848 rpc=EmptyCall qps=25 metadata='EmptyCall:xds_md:empty_ytpme' secure_mode=False print_response=True
I0116 18:02:01.322801 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1802-2il6o%22;timeRange=2024-01-16T18:02:01.322705Z%2F2024-01-16T18:32:01.322705Z?project=grpc-testing
I0116 18:02:01.324855 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1802-2il6o
labels:
name: interop-psm-url-map-client-20240116-1802-2il6o
owner: xds-k8s-interop-test
...
I0116 18:02:01.381068 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1802-2il6o created
I0116 18:02:01.389637 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1802-2il6o
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-vlgvsqtr
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-vlgvsqtr
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-vlgvsqtr
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///affinity.test-header-based-affinity-multiple-headers:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=EmptyCall"
- "--metadata=EmptyCall:xds_md:empty_ytpme"
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:02:01.456265 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:02:01.456535 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:02:01.557974 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6cdc655555-7bs2t']
I0116 18:02:01.558278 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6cdc655555-7bs2t to start
I0116 18:02:05.910574 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6cdc655555-7bs2t ready, IP: 10.60.5.21
I0116 18:02:05.910872 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6cdc655555-7bs2t to url_map/test_app_logs/interop-psm-url-map-client-20240116-1802-2il6o_psm-grpc-client-6cdc655555-7bs2t.log
I0116 18:02:05.911278 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6cdc655555-7bs2t
I0116 18:02:05.911421 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:02:09.123999 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_client_config
I0116 18:02:09.124794 140086647615488 client_app.py:284] [psm-grpc-client-6cdc655555-7bs2t] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:02:09.221769 140086647615488 client_app.py:312] [psm-grpc-client-6cdc655555-7bs2t] xDS control plane channel:
I0116 18:02:11.256992 140086647615488 client_app.py:323] [psm-grpc-client-6cdc655555-7bs2t] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:02:11.257424 140086647615488 client_app.py:294] [psm-grpc-client-6cdc655555-7bs2t] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:02:11.309061 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.876107957Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428101596497650'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848
- - virtualHosts
- - domains:
- affinity.test-header-based-affinity-multiple-headers:8848
routes:
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
hashPolicy:
- header:
headerName: xds_md
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.880959492Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428101596497650'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - lbPolicy
- RING_HASH
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-affinity
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-affinity
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.890038774Z'
name: cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_2859106117991812983
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.1.10
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.0.3
portValue: 8080
healthStatus: HEALTHY
- endpoint:
address:
socketAddress:
address: 10.60.7.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_5256530401325502228_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:02:04.870806839Z'
name: affinity.test-header-based-affinity-multiple-headers:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428101596497650'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- affinity.test-header-based-affinity-multiple-headers:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_1_affinity.test-header-based-affinity-multiple-headers:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/dea723b6-fc5a-456b-b9a6-a8815365c87b
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.21
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_client_config
I0116 18:02:11.309613 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_client_config PASSED -----
[ RUN ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_rpc_distribution
I0116 18:02:11.310059 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:02:13.344581 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:02:19.376548 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6cdc655555-7bs2t] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 150
I0116 18:02:19.502867 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL', 'UNARY_CALL'], 'metadata': [{'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md', 'value': '0'}]}), wait_for_ready=True, timeout=5)
I0116 18:02:21.537378 140086647615488 grpc.py:75] [psm-grpc-client-6cdc655555-7bs2t:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:02:24.535109 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6cdc655555-7bs2t] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 75
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-affinity-7bcdbfdf64-smh6j: 75
UnaryCall:
psm-grpc-server-affinity-7bcdbfdf64-r7x7p: 75
[ OK ] affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_rpc_distribution
I0116 18:02:24.662184 140086647615488 base_testcase.py:52] ----- TestCase affinity_test.TestHeaderBasedAffinityMultipleHeaders.test_rpc_distribution PASSED -----
I0116 18:02:24.662418 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestHeaderBasedAffinityMultipleHeaders teardown -----
I0116 18:02:24.708027 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:02:34.861183 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:02:34.861526 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1802-2il6o
I0116 18:03:05.030661 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1802-2il6o deleted
I0116 18:03:05.031150 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:03:05.031410 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-vlgvsqtr:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1802-2il6o%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-vlgvsqtr%22;timeRange=2024-01-16T18:02:01.322700Z%2F2024-01-16T18:03:05.030952Z?project=grpc-testing
I0116 18:03:05.031614 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestBasicCsds -----
I0116 18:03:05.031704 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:03:05.031865 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:03:05.032042 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1803-f8jjy
I0116 18:03:05.032392 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1803-f8jjy: server_target=xds:///csds.test-basic-csds:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:03:05.032611 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-f8jjy%22;timeRange=2024-01-16T18:03:05.032509Z%2F2024-01-16T18:33:05.032509Z?project=grpc-testing
I0116 18:03:05.034543 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1803-f8jjy
labels:
name: interop-psm-url-map-client-20240116-1803-f8jjy
owner: xds-k8s-interop-test
...
I0116 18:03:05.075484 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1803-f8jjy created
I0116 18:03:05.083726 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1803-f8jjy
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-3he7r9i1
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-3he7r9i1
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-3he7r9i1
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///csds.test-basic-csds:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:03:05.155879 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:03:05.156147 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:03:05.259534 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-654b76955c-9wlq8']
I0116 18:03:05.259860 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-654b76955c-9wlq8 to start
I0116 18:03:08.496910 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-654b76955c-9wlq8 ready, IP: 10.60.5.22
I0116 18:03:08.497284 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-654b76955c-9wlq8 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1803-f8jjy_psm-grpc-client-654b76955c-9wlq8.log
I0116 18:03:08.497805 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-654b76955c-9wlq8
I0116 18:03:08.498100 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:03:09.637606 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] csds_test.TestBasicCsds.test_client_config
I0116 18:03:09.638377 140086647615488 client_app.py:284] [psm-grpc-client-654b76955c-9wlq8] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:03:09.736788 140086647615488 client_app.py:312] [psm-grpc-client-654b76955c-9wlq8] xDS control plane channel:
I0116 18:03:11.771218 140086647615488 client_app.py:323] [psm-grpc-client-654b76955c-9wlq8] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:03:11.771760 140086647615488 client_app.py:294] [psm-grpc-client-654b76955c-9wlq8] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:03:11.822360 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.977740773Z'
name: csds.test-basic-csds:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428152657564501'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- csds.test-basic-csds:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.984355882Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428152657564501'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848
- - virtualHosts
- - domains:
- csds.test-basic-csds:8848
routes:
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_2_csds.test-basic-csds:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.990511432Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428152657564501'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:06.994968201Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/56f93461-03d3-4dc9-beac-5a4a2af6e34e
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.22
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] csds_test.TestBasicCsds.test_client_config
I0116 18:03:11.823033 140086647615488 base_testcase.py:52] ----- TestCase csds_test.TestBasicCsds.test_client_config PASSED -----
[ RUN ] csds_test.TestBasicCsds.test_rpc_distribution
I0116 18:03:11.823455 140086647615488 grpc.py:75] [psm-grpc-client-654b76955c-9wlq8:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:03:13.857703 140086647615488 grpc.py:75] [psm-grpc-client-654b76955c-9wlq8:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 50, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:03:14.879141 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-654b76955c-9wlq8] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 50
rpcs_by_method:
EmptyCall:
psm-grpc-server-fd86464df-wqkqx: 25
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 25
[ OK ] csds_test.TestBasicCsds.test_rpc_distribution
I0116 18:03:14.879883 140086647615488 base_testcase.py:52] ----- TestCase csds_test.TestBasicCsds.test_rpc_distribution PASSED -----
I0116 18:03:14.880080 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestBasicCsds teardown -----
I0116 18:03:14.922234 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:03:25.074711 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:03:25.075047 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1803-f8jjy
I0116 18:03:55.246474 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1803-f8jjy deleted
I0116 18:03:55.246968 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:03:55.247209 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-3he7r9i1:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-f8jjy%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-3he7r9i1%22;timeRange=2024-01-16T18:03:05.032504Z%2F2024-01-16T18:03:55.246761Z?project=grpc-testing
I0116 18:03:55.247360 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestAbortHalf -----
I0116 18:03:55.247452 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:03:55.247619 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:03:55.247779 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1803-85ukz
I0116 18:03:55.248128 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1803-85ukz: server_target=xds:///fault-injection.test-abort-half:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:03:55.248304 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-85ukz%22;timeRange=2024-01-16T18:03:55.248214Z%2F2024-01-16T18:33:55.248214Z?project=grpc-testing
I0116 18:03:55.250245 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1803-85ukz
labels:
name: interop-psm-url-map-client-20240116-1803-85ukz
owner: xds-k8s-interop-test
...
I0116 18:03:55.291693 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1803-85ukz created
I0116 18:03:55.300034 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1803-85ukz
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-tw7aa0ko
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-tw7aa0ko
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-tw7aa0ko
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-abort-half:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:03:55.372059 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:03:55.372327 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:03:55.498449 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6bf7fbf44b-55kks']
I0116 18:03:55.498882 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6bf7fbf44b-55kks to start
I0116 18:03:58.731682 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6bf7fbf44b-55kks ready, IP: 10.60.5.23
I0116 18:03:58.732087 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6bf7fbf44b-55kks to url_map/test_app_logs/interop-psm-url-map-client-20240116-1803-85ukz_psm-grpc-client-6bf7fbf44b-55kks.log
I0116 18:03:58.732640 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6bf7fbf44b-55kks
I0116 18:03:58.732848 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:03:59.872337 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestAbortHalf.test_client_config
I0116 18:03:59.873125 140086647615488 client_app.py:284] [psm-grpc-client-6bf7fbf44b-55kks] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:03:59.972344 140086647615488 client_app.py:312] [psm-grpc-client-6bf7fbf44b-55kks] xDS control plane channel:
I0116 18:04:02.007048 140086647615488 client_app.py:323] [psm-grpc-client-6bf7fbf44b-55kks] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:04:02.007484 140086647615488 client_app.py:294] [psm-grpc-client-6bf7fbf44b-55kks] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:04:02.059707 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.099565898Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428207199859452'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848
- - virtualHosts
- - domains:
- fault-injection.test-abort-half:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
numerator: 500000
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.104730588Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428207199859452'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.108677994Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:03:57.095347805Z'
name: fault-injection.test-abort-half:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428207199859452'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-abort-half:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_8_fault-injection.test-abort-half:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/75e455c3-b8c4-489f-ac76-72048d41184d
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.23
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestAbortHalf.test_client_config
I0116 18:04:02.060264 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAbortHalf.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestAbortHalf.test_rpc_distribution
I0116 18:04:02.060637 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:04:04.095213 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:04:04.516478 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6bf7fbf44b-55kks] << Received LoadBalancerStatsResponse:
num_failures: 4
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 6
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 6
I0116 18:04:04.516842 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:04:04.550307 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bf7fbf44b-55kks: before:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 187
result:
(0, OK): 102
(16, UNAUTHENTICATED): 85
I0116 18:04:20.566314 140086647615488 grpc.py:75] [psm-grpc-client-6bf7fbf44b-55kks:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:04:20.599809 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bf7fbf44b-55kks: after:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 589
result:
(0, OK): 290
(16, UNAUTHENTICATED): 299
[ OK ] fault_injection_test.TestAbortHalf.test_rpc_distribution
I0116 18:04:20.600353 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAbortHalf.test_rpc_distribution PASSED -----
I0116 18:04:20.600530 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestAbortHalf teardown -----
I0116 18:04:20.668519 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:04:30.845072 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:04:30.845410 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1803-85ukz
I0116 18:05:01.024194 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1803-85ukz deleted
I0116 18:05:01.024652 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:05:01.024872 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-tw7aa0ko:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1803-85ukz%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-tw7aa0ko%22;timeRange=2024-01-16T18:03:55.248209Z%2F2024-01-16T18:05:01.024454Z?project=grpc-testing
I0116 18:05:01.025004 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestAlwaysAbort -----
I0116 18:05:01.025080 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:05:01.025197 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:05:01.025363 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1805-g43hx
I0116 18:05:01.025719 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1805-g43hx: server_target=xds:///fault-injection.test-always-abort:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:05:01.025900 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1805-g43hx%22;timeRange=2024-01-16T18:05:01.025810Z%2F2024-01-16T18:35:01.025810Z?project=grpc-testing
I0116 18:05:01.027775 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1805-g43hx
labels:
name: interop-psm-url-map-client-20240116-1805-g43hx
owner: xds-k8s-interop-test
...
I0116 18:05:01.086525 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1805-g43hx created
I0116 18:05:01.094795 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1805-g43hx
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-zj4ohpvk
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-zj4ohpvk
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-zj4ohpvk
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-always-abort:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:05:01.165270 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:05:01.165553 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:05:01.272658 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7989cdb4c6-dhr89']
I0116 18:05:01.272942 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7989cdb4c6-dhr89 to start
I0116 18:05:05.552476 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7989cdb4c6-dhr89 ready, IP: 10.60.6.25
I0116 18:05:05.552774 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7989cdb4c6-dhr89 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1805-g43hx_psm-grpc-client-7989cdb4c6-dhr89.log
I0116 18:05:05.553145 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7989cdb4c6-dhr89
I0116 18:05:05.553318 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:05:08.867926 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestAlwaysAbort.test_client_config
I0116 18:05:08.868802 140086647615488 client_app.py:284] [psm-grpc-client-7989cdb4c6-dhr89] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:05:08.965836 140086647615488 client_app.py:312] [psm-grpc-client-7989cdb4c6-dhr89] xDS control plane channel:
I0116 18:05:11.000552 140086647615488 client_app.py:323] [psm-grpc-client-7989cdb4c6-dhr89] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:05:11.000936 140086647615488 client_app.py:294] [psm-grpc-client-7989cdb4c6-dhr89] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:05:11.052140 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.814295215Z'
name: fault-injection.test-always-abort:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428290903048823'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-always-abort:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.818288649Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428290903048823'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848
- - virtualHosts
- - domains:
- fault-injection.test-always-abort:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
numerator: 1000000
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_6_fault-injection.test-always-abort:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.822859843Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428290903048823'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:05:04.826384343Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/c15269ae-ba33-4858-88a2-21205d5fcf2d
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.25
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestAlwaysAbort.test_client_config
I0116 18:05:11.052729 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAlwaysAbort.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestAlwaysAbort.test_rpc_distribution
I0116 18:05:11.053108 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:05:13.087427 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:05:13.507682 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7989cdb4c6-dhr89] << Received LoadBalancerStatsResponse:
num_failures: 10
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:05:13.508018 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:05:13.540869 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7989cdb4c6-dhr89: before:
- method: EMPTY_CALL
rpcs_started: 158
result:
(0, OK): 158
- method: UNARY_CALL
rpcs_started: 219
result:
(16, UNAUTHENTICATED): 219
I0116 18:05:29.557357 140086647615488 grpc.py:75] [psm-grpc-client-7989cdb4c6-dhr89:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:05:29.589989 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7989cdb4c6-dhr89: after:
- method: EMPTY_CALL
rpcs_started: 158
result:
(0, OK): 158
- method: UNARY_CALL
rpcs_started: 621
result:
(16, UNAUTHENTICATED): 621
[ OK ] fault_injection_test.TestAlwaysAbort.test_rpc_distribution
I0116 18:05:29.590385 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestAlwaysAbort.test_rpc_distribution PASSED -----
I0116 18:05:29.590504 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestAlwaysAbort teardown -----
I0116 18:05:29.633399 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:05:39.786991 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:05:39.787321 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1805-g43hx
I0116 18:06:09.957694 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1805-g43hx deleted
I0116 18:06:09.958211 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:06:09.958452 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-zj4ohpvk:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1805-g43hx%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-zj4ohpvk%22;timeRange=2024-01-16T18:05:01.025805Z%2F2024-01-16T18:06:09.958016Z?project=grpc-testing
[ RUN ] fault_injection_test.TestAlwaysDelay.test_client_config
[ SKIPPED ] fault_injection_test.TestAlwaysDelay.test_client_config
I0116 18:06:09.958782 140086647615488 base_testcase.py:49] ----- TestCase fault_injection_test.TestAlwaysDelay.test_client_config SKIPPED -----
I0116 18:06:09.958868 140086647615488 base_testcase.py:50] Reason for skipping: 20% RPC might pass immediately, reason unknown
[ RUN ] fault_injection_test.TestAlwaysDelay.test_rpc_distribution
[ SKIPPED ] fault_injection_test.TestAlwaysDelay.test_rpc_distribution
I0116 18:06:09.959033 140086647615488 base_testcase.py:49] ----- TestCase fault_injection_test.TestAlwaysDelay.test_rpc_distribution SKIPPED -----
I0116 18:06:09.959101 140086647615488 base_testcase.py:50] Reason for skipping: 20% RPC might pass immediately, reason unknown
I0116 18:06:09.959223 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestDelayHalf -----
I0116 18:06:09.959291 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:06:09.959407 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:06:09.959592 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1806-rdl75
I0116 18:06:09.959940 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1806-rdl75: server_target=xds:///fault-injection.test-delay-half:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:06:09.960137 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1806-rdl75%22;timeRange=2024-01-16T18:06:09.960035Z%2F2024-01-16T18:36:09.960035Z?project=grpc-testing
I0116 18:06:09.962023 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1806-rdl75
labels:
name: interop-psm-url-map-client-20240116-1806-rdl75
owner: xds-k8s-interop-test
...
I0116 18:06:10.003678 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1806-rdl75 created
I0116 18:06:10.012439 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1806-rdl75
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-k9sbkkgd
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-k9sbkkgd
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-k9sbkkgd
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-delay-half:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:06:10.083162 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:06:10.083441 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:06:10.193955 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7cf57f8bbf-xjqtq']
I0116 18:06:10.194292 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7cf57f8bbf-xjqtq to start
I0116 18:06:13.430241 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7cf57f8bbf-xjqtq ready, IP: 10.60.6.26
I0116 18:06:13.430579 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7cf57f8bbf-xjqtq to url_map/test_app_logs/interop-psm-url-map-client-20240116-1806-rdl75_psm-grpc-client-7cf57f8bbf-xjqtq.log
I0116 18:06:13.431019 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7cf57f8bbf-xjqtq
I0116 18:06:13.431254 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:06:14.632860 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestDelayHalf.test_client_config
I0116 18:06:14.633814 140086647615488 client_app.py:284] [psm-grpc-client-7cf57f8bbf-xjqtq] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:06:14.731692 140086647615488 client_app.py:312] [psm-grpc-client-7cf57f8bbf-xjqtq] xDS control plane channel:
I0116 18:06:16.766564 140086647615488 client_app.py:323] [psm-grpc-client-7cf57f8bbf-xjqtq] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:06:16.767017 140086647615488 client_app.py:294] [psm-grpc-client-7cf57f8bbf-xjqtq] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:06:16.819603 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.091482618Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.075055099Z'
name: fault-injection.test-delay-half:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428341735483565'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-delay-half:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.081256198Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428341735483565'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848
- - virtualHosts
- - domains:
- fault-injection.test-delay-half:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
numerator: 500000
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_7_fault-injection.test-delay-half:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:06:12.087094128Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428341735483565'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/4edbdeaf-add6-45b3-8962-f5266d7c3985
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.26
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestDelayHalf.test_client_config
I0116 18:06:16.820208 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestDelayHalf.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestDelayHalf.test_rpc_distribution
I0116 18:06:16.820624 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'timeoutSec': 1}), wait_for_ready=True, timeout=5)
I0116 18:06:18.855169 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:06:20.229167 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7cf57f8bbf-xjqtq] << Received LoadBalancerStatsResponse:
num_failures: 4
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 6
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 6
I0116 18:06:20.229501 140086647615488 fault_injection_test.py:93] Waiting for RPC backlog to clear for 20 seconds
I0116 18:06:20.229819 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:20.262346 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=205 completed=128
I0116 18:06:21.263848 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:21.264158 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:21.296339 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=231 completed=151
I0116 18:06:22.297840 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:22.298149 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:22.330446 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=257 completed=177
I0116 18:06:23.331899 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:23.332218 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:23.364540 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=283 completed=202
I0116 18:06:24.365993 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:24.366295 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:24.398601 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=309 completed=228
I0116 18:06:25.399754 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:25.400064 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:25.432072 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=335 completed=252
I0116 18:06:26.433511 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:26.433860 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:26.466086 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=360 completed=282
I0116 18:06:27.467518 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:27.467857 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:27.500091 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=386 completed=305
I0116 18:06:28.501511 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:28.501819 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:28.534222 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=412 completed=334
I0116 18:06:29.535754 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:29.536052 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:29.568032 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=438 completed=358
I0116 18:06:30.569468 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:30.569806 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:30.602221 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=464 completed=385
I0116 18:06:31.603687 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:31.603989 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:31.636042 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=490 completed=410
I0116 18:06:32.637493 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:32.637802 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:32.669906 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=516 completed=449
I0116 18:06:33.671303 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:33.671643 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:33.703801 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=541 completed=480
I0116 18:06:34.705263 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:34.705600 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:34.737976 140086647615488 fault_injection_test.py:106] RPC backlog exist: rpc_type=UNARY_CALL started=567 completed=521
I0116 18:06:35.739400 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:35.739706 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:35.772063 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=UNARY_CALL started=593 completed=567
I0116 18:06:35.772315 140086647615488 fault_injection_test.py:115] RPC backlog clear: rpc_type=EMPTY_CALL started=120 completed=120
I0116 18:06:35.772503 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:35.805516 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7cf57f8bbf-xjqtq: before:
- method: EMPTY_CALL
rpcs_started: 120
result:
(0, OK): 120
- method: UNARY_CALL
rpcs_started: 594
result:
(4, DEADLINE_EXCEEDED): 285
(0, OK): 283
I0116 18:06:51.815319 140086647615488 grpc.py:75] [psm-grpc-client-7cf57f8bbf-xjqtq:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:06:51.850642 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7cf57f8bbf-xjqtq: after:
- method: EMPTY_CALL
rpcs_started: 120
result:
(0, OK): 120
- method: UNARY_CALL
rpcs_started: 995
result:
(0, OK): 472
(4, DEADLINE_EXCEEDED): 505
[ OK ] fault_injection_test.TestDelayHalf.test_rpc_distribution
I0116 18:06:51.851058 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestDelayHalf.test_rpc_distribution PASSED -----
I0116 18:06:51.851180 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestDelayHalf teardown -----
I0116 18:06:51.929103 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:07:02.096230 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:07:02.096617 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1806-rdl75
I0116 18:07:32.245076 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1806-rdl75 deleted
I0116 18:07:32.245476 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:07:32.245689 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-k9sbkkgd:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1806-rdl75%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-k9sbkkgd%22;timeRange=2024-01-16T18:06:09.960031Z%2F2024-01-16T18:07:32.245287Z?project=grpc-testing
I0116 18:07:32.245803 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestNonMatchingFaultInjection -----
I0116 18:07:32.245857 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:07:32.245967 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:07:32.246096 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1807-35bt7
I0116 18:07:32.246430 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1807-35bt7: server_target=xds:///fault-injection.test-non-matching-fault-injection:8848 rpc=EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:07:32.246596 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1807-35bt7%22;timeRange=2024-01-16T18:07:32.246496Z%2F2024-01-16T18:37:32.246496Z?project=grpc-testing
I0116 18:07:32.248555 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1807-35bt7
labels:
name: interop-psm-url-map-client-20240116-1807-35bt7
owner: xds-k8s-interop-test
...
I0116 18:07:32.301697 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1807-35bt7 created
I0116 18:07:32.309930 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1807-35bt7
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-c93nt4lm
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-c93nt4lm
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-c93nt4lm
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-non-matching-fault-injection:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:07:32.378388 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:07:32.378658 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:07:32.476989 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6479448d79-h8vwn']
I0116 18:07:32.477286 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6479448d79-h8vwn to start
I0116 18:07:35.708474 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6479448d79-h8vwn ready, IP: 10.60.6.27
I0116 18:07:35.708775 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6479448d79-h8vwn to url_map/test_app_logs/interop-psm-url-map-client-20240116-1807-35bt7_psm-grpc-client-6479448d79-h8vwn.log
I0116 18:07:35.709147 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6479448d79-h8vwn
I0116 18:07:35.709299 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:07:36.846132 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestNonMatchingFaultInjection.test_client_config
I0116 18:07:36.846918 140086647615488 client_app.py:284] [psm-grpc-client-6479448d79-h8vwn] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:07:36.946385 140086647615488 client_app.py:312] [psm-grpc-client-6479448d79-h8vwn] xDS control plane channel:
I0116 18:07:38.981031 140086647615488 client_app.py:323] [psm-grpc-client-6479448d79-h8vwn] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:07:38.981475 140086647615488 client_app.py:294] [psm-grpc-client-6479448d79-h8vwn] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:07:39.033695 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.218901195Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428432175709608'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848
- - virtualHosts
- - domains:
- fault-injection.test-non-matching-fault-injection:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
numerator: 1000000
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
numerator: 1000000
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.226039509Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428432175709608'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.230428544Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:07:34.212199664Z'
name: fault-injection.test-non-matching-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428432175709608'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-non-matching-fault-injection:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_4_fault-injection.test-non-matching-fault-injection:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/b7019a40-21cd-44c1-85ee-5f063bb8e72e
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.27
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestNonMatchingFaultInjection.test_client_config
I0116 18:07:39.034251 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestNonMatchingFaultInjection.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestNonMatchingFaultInjection.test_rpc_distribution
I0116 18:07:39.034655 140086647615488 grpc.py:75] [psm-grpc-client-6479448d79-h8vwn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:07:39.067525 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6479448d79-h8vwn: before:
- method: EMPTY_CALL
rpcs_started: 123
result:
(0, OK): 123
I0116 18:07:55.083997 140086647615488 grpc.py:75] [psm-grpc-client-6479448d79-h8vwn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:07:55.116843 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6479448d79-h8vwn: after:
- method: EMPTY_CALL
rpcs_started: 524
result:
(0, OK): 524
[ OK ] fault_injection_test.TestNonMatchingFaultInjection.test_rpc_distribution
I0116 18:07:55.117362 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestNonMatchingFaultInjection.test_rpc_distribution PASSED -----
I0116 18:07:55.117522 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestNonMatchingFaultInjection teardown -----
I0116 18:07:55.162480 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:08:05.310762 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:08:05.311019 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1807-35bt7
I0116 18:08:35.489388 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1807-35bt7 deleted
I0116 18:08:35.489924 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:08:35.490167 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-c93nt4lm:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1807-35bt7%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-c93nt4lm%22;timeRange=2024-01-16T18:07:32.246492Z%2F2024-01-16T18:08:35.489715Z?project=grpc-testing
I0116 18:08:35.490308 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestZeroPercentFaultInjection -----
I0116 18:08:35.490392 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:08:35.490547 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:08:35.490714 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1808-mo3ge
I0116 18:08:35.491088 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1808-mo3ge: server_target=xds:///fault-injection.test-zero-percent-fault-injection:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:08:35.491290 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1808-mo3ge%22;timeRange=2024-01-16T18:08:35.491187Z%2F2024-01-16T18:38:35.491187Z?project=grpc-testing
I0116 18:08:35.493366 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1808-mo3ge
labels:
name: interop-psm-url-map-client-20240116-1808-mo3ge
owner: xds-k8s-interop-test
...
I0116 18:08:35.534135 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1808-mo3ge created
I0116 18:08:35.542632 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1808-mo3ge
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-imlefbnx
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-imlefbnx
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-imlefbnx
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///fault-injection.test-zero-percent-fault-injection:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:08:35.614228 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:08:35.614521 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:08:35.719076 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6bfd595f78-hrdnn']
I0116 18:08:35.719387 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6bfd595f78-hrdnn to start
I0116 18:08:38.960516 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6bfd595f78-hrdnn ready, IP: 10.60.5.27
I0116 18:08:38.960819 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6bfd595f78-hrdnn to url_map/test_app_logs/interop-psm-url-map-client-20240116-1808-mo3ge_psm-grpc-client-6bfd595f78-hrdnn.log
I0116 18:08:38.961185 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6bfd595f78-hrdnn
I0116 18:08:38.961355 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:08:40.177577 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] fault_injection_test.TestZeroPercentFaultInjection.test_client_config
I0116 18:08:40.178346 140086647615488 client_app.py:284] [psm-grpc-client-6bfd595f78-hrdnn] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:08:40.277184 140086647615488 client_app.py:312] [psm-grpc-client-6bfd595f78-hrdnn] xDS control plane channel:
I0116 18:08:42.312071 140086647615488 client_app.py:323] [psm-grpc-client-6bfd595f78-hrdnn] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:08:42.312562 140086647615488 client_app.py:294] [psm-grpc-client-6bfd595f78-hrdnn] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:08:42.365998 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:41.118364151Z'
name: fault-injection.test-zero-percent-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428510697925179'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- fault-injection.test-zero-percent-fault-injection:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:41.133039330Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428510697925179'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848
- - virtualHosts
- - domains:
- fault-injection.test-zero-percent-fault-injection:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
typedPerFilterConfig:
envoy.filters.http.fault: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- - delay
- fixedDelay: 20s
percentage:
denominator: MILLION
- - abort
- httpStatus: 401
percentage:
denominator: MILLION
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_3_fault-injection.test-zero-percent-fault-injection:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:41.114353194Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428510697925179'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:08:38.042598130Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/1e571eeb-91e0-481c-b4b2-e43f73cf2b68
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.27
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] fault_injection_test.TestZeroPercentFaultInjection.test_client_config
I0116 18:08:42.366600 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestZeroPercentFaultInjection.test_client_config PASSED -----
[ RUN ] fault_injection_test.TestZeroPercentFaultInjection.test_rpc_distribution
I0116 18:08:42.367000 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:08:44.401533 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:08:44.834892 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6bfd595f78-hrdnn] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 10
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 10
I0116 18:08:44.835362 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:08:44.868739 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bfd595f78-hrdnn: before:
- method: EMPTY_CALL
rpcs_started: 111
result:
(0, OK): 111
- method: UNARY_CALL
rpcs_started: 172
result:
(0, OK): 172
I0116 18:09:00.885261 140086647615488 grpc.py:75] [psm-grpc-client-6bfd595f78-hrdnn:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:09:00.918255 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-6bfd595f78-hrdnn: after:
- method: EMPTY_CALL
rpcs_started: 111
result:
(0, OK): 111
- method: UNARY_CALL
rpcs_started: 574
result:
(0, OK): 574
[ OK ] fault_injection_test.TestZeroPercentFaultInjection.test_rpc_distribution
I0116 18:09:00.918757 140086647615488 base_testcase.py:52] ----- TestCase fault_injection_test.TestZeroPercentFaultInjection.test_rpc_distribution PASSED -----
I0116 18:09:00.918924 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestZeroPercentFaultInjection teardown -----
I0116 18:09:00.994838 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:09:11.163167 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:09:11.163504 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1808-mo3ge
I0116 18:09:41.368496 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1808-mo3ge deleted
I0116 18:09:41.368995 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:09:41.369250 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-imlefbnx:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1808-mo3ge%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-imlefbnx%22;timeRange=2024-01-16T18:08:35.491181Z%2F2024-01-16T18:09:41.368800Z?project=grpc-testing
I0116 18:09:41.369405 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestExactMatch -----
I0116 18:09:41.369483 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:09:41.369627 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:09:41.369782 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1809-qmffe
I0116 18:09:41.370128 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1809-qmffe: server_target=xds:///header-matching.test-exact-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:09:41.370309 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1809-qmffe%22;timeRange=2024-01-16T18:09:41.370220Z%2F2024-01-16T18:39:41.370220Z?project=grpc-testing
I0116 18:09:41.372255 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1809-qmffe
labels:
name: interop-psm-url-map-client-20240116-1809-qmffe
owner: xds-k8s-interop-test
...
I0116 18:09:41.432011 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1809-qmffe created
I0116 18:09:41.440423 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1809-qmffe
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-w4aprvro
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-w4aprvro
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-w4aprvro
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-exact-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:09:41.510591 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:09:41.510862 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:09:41.613746 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6965856b65-lbgbk']
I0116 18:09:41.614033 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6965856b65-lbgbk to start
I0116 18:09:44.851001 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6965856b65-lbgbk ready, IP: 10.60.6.29
I0116 18:09:44.851293 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6965856b65-lbgbk to url_map/test_app_logs/interop-psm-url-map-client-20240116-1809-qmffe_psm-grpc-client-6965856b65-lbgbk.log
I0116 18:09:44.851670 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6965856b65-lbgbk
I0116 18:09:44.851865 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:09:46.054428 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestExactMatch.test_client_config
I0116 18:09:46.055181 140086647615488 client_app.py:284] [psm-grpc-client-6965856b65-lbgbk] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:09:46.152239 140086647615488 client_app.py:312] [psm-grpc-client-6965856b65-lbgbk] xDS control plane channel:
I0116 18:09:48.186601 140086647615488 client_app.py:323] [psm-grpc-client-6965856b65-lbgbk] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:09:48.187031 140086647615488 client_app.py:294] [psm-grpc-client-6965856b65-lbgbk] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:09:48.244067 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.042867718Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848
- - virtualHosts
- - domains:
- header-matching.test-exact-match:8848
routes:
- match:
headers:
- exactMatch: empty_ytpme
name: xds_md
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.038029930Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.038029930Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:43.603155025Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:43.602368443Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:09:48.040431332Z'
name: header-matching.test-exact-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428577510558311'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-exact-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_9_header-matching.test-exact-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/2cae13c5-e224-4d4a-86ca-d1eee1e4eec7
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.29
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestExactMatch.test_client_config
I0116 18:09:48.244832 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestExactMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestExactMatch.test_rpc_distribution
I0116 18:09:48.245296 140086647615488 grpc.py:75] [psm-grpc-client-6965856b65-lbgbk:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:09:50.279357 140086647615488 grpc.py:75] [psm-grpc-client-6965856b65-lbgbk:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:09:56.282056 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6965856b65-lbgbk] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestExactMatch.test_rpc_distribution
I0116 18:09:56.282485 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestExactMatch.test_rpc_distribution PASSED -----
I0116 18:09:56.282610 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestExactMatch teardown -----
I0116 18:09:56.326727 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:10:06.472167 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:10:06.472546 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1809-qmffe
I0116 18:10:36.643521 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1809-qmffe deleted
I0116 18:10:36.644121 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:10:36.644362 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-w4aprvro:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1809-qmffe%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-w4aprvro%22;timeRange=2024-01-16T18:09:41.370215Z%2F2024-01-16T18:10:36.643890Z?project=grpc-testing
I0116 18:10:36.644535 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestInvertMatch -----
I0116 18:10:36.644626 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:10:36.644765 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:10:36.644924 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1810-kb40m
I0116 18:10:36.645302 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1810-kb40m: server_target=xds:///header-matching.test-invert-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:10:36.645488 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1810-kb40m%22;timeRange=2024-01-16T18:10:36.645394Z%2F2024-01-16T18:40:36.645394Z?project=grpc-testing
I0116 18:10:36.647429 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1810-kb40m
labels:
name: interop-psm-url-map-client-20240116-1810-kb40m
owner: xds-k8s-interop-test
...
I0116 18:10:36.689018 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1810-kb40m created
I0116 18:10:36.697611 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1810-kb40m
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-884dxcep
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-884dxcep
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-884dxcep
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-invert-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:10:36.771009 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:10:36.771488 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:10:36.869429 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5b7f6c6457-9lzp9']
I0116 18:10:36.869733 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5b7f6c6457-9lzp9 to start
I0116 18:10:40.105444 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5b7f6c6457-9lzp9 ready, IP: 10.60.5.28
I0116 18:10:40.105767 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5b7f6c6457-9lzp9 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1810-kb40m_psm-grpc-client-5b7f6c6457-9lzp9.log
I0116 18:10:40.106153 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5b7f6c6457-9lzp9
I0116 18:10:40.106362 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:10:41.242932 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestInvertMatch.test_client_config
I0116 18:10:41.243821 140086647615488 client_app.py:284] [psm-grpc-client-5b7f6c6457-9lzp9] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:10:41.343082 140086647615488 client_app.py:312] [psm-grpc-client-5b7f6c6457-9lzp9] xDS control plane channel:
I0116 18:10:43.378180 140086647615488 client_app.py:323] [psm-grpc-client-5b7f6c6457-9lzp9] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:10:43.378718 140086647615488 client_app.py:294] [psm-grpc-client-5b7f6c6457-9lzp9] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:10:43.438781 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.553821560Z'
name: header-matching.test-invert-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-invert-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.555519632Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848
- - virtualHosts
- - domains:
- header-matching.test-invert-match:8848
routes:
- match:
headers:
- exactMatch: unary_yranu
invertMatch: true
name: xds_md
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_13_header-matching.test-invert-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.537186986Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:41.537186986Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428634250729679'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:39.304628254Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:10:39.307601664Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/111fe4bd-c9ec-4192-a3e9-65a5255195dc
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.28
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestInvertMatch.test_client_config
I0116 18:10:43.439441 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestInvertMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestInvertMatch.test_rpc_distribution
I0116 18:10:43.440011 140086647615488 grpc.py:75] [psm-grpc-client-5b7f6c6457-9lzp9:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:10:45.474876 140086647615488 grpc.py:75] [psm-grpc-client-5b7f6c6457-9lzp9:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:10:48.471605 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5b7f6c6457-9lzp9] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 75
psm-grpc-server-alternative-9574d7768-nchnk: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 75
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 75
[ OK ] header_matching_test.TestInvertMatch.test_rpc_distribution
I0116 18:10:48.472165 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestInvertMatch.test_rpc_distribution PASSED -----
I0116 18:10:48.472315 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestInvertMatch teardown -----
I0116 18:10:48.515958 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:10:58.658303 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:10:58.658683 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1810-kb40m
I0116 18:11:28.859897 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1810-kb40m deleted
I0116 18:11:28.860347 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:11:28.860581 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-884dxcep:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1810-kb40m%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-884dxcep%22;timeRange=2024-01-16T18:10:36.645389Z%2F2024-01-16T18:11:28.860165Z?project=grpc-testing
[ RUN ] header_matching_test.TestPrefixMatch.test_client_config
[ SKIPPED ] header_matching_test.TestPrefixMatch.test_client_config
I0116 18:11:28.860870 140086647615488 base_testcase.py:49] ----- TestCase header_matching_test.TestPrefixMatch.test_client_config SKIPPED -----
I0116 18:11:28.860949 140086647615488 base_testcase.py:50] Reason for skipping: the xDS config is good, but distribution is wrong.
[ RUN ] header_matching_test.TestPrefixMatch.test_rpc_distribution
[ SKIPPED ] header_matching_test.TestPrefixMatch.test_rpc_distribution
I0116 18:11:28.861122 140086647615488 base_testcase.py:49] ----- TestCase header_matching_test.TestPrefixMatch.test_rpc_distribution SKIPPED -----
I0116 18:11:28.861188 140086647615488 base_testcase.py:50] Reason for skipping: the xDS config is good, but distribution is wrong.
I0116 18:11:28.861272 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestPresentMatch -----
I0116 18:11:28.861332 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:11:28.861449 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:11:28.861624 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1811-rw8ly
I0116 18:11:28.861969 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1811-rw8ly: server_target=xds:///header-matching.test-present-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:11:28.862143 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1811-rw8ly%22;timeRange=2024-01-16T18:11:28.862054Z%2F2024-01-16T18:41:28.862054Z?project=grpc-testing
I0116 18:11:28.864101 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1811-rw8ly
labels:
name: interop-psm-url-map-client-20240116-1811-rw8ly
owner: xds-k8s-interop-test
...
I0116 18:11:28.918639 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1811-rw8ly created
I0116 18:11:28.926890 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1811-rw8ly
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-ddblu0v7
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-ddblu0v7
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-ddblu0v7
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-present-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:11:29.011197 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:11:29.011453 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:11:29.117185 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-55578d6c5d-4zhtf']
I0116 18:11:29.117462 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-55578d6c5d-4zhtf to start
I0116 18:11:32.350844 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-55578d6c5d-4zhtf ready, IP: 10.60.5.29
I0116 18:11:32.351125 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-55578d6c5d-4zhtf to url_map/test_app_logs/interop-psm-url-map-client-20240116-1811-rw8ly_psm-grpc-client-55578d6c5d-4zhtf.log
I0116 18:11:32.351538 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-55578d6c5d-4zhtf
I0116 18:11:32.351770 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:11:33.558486 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestPresentMatch.test_client_config
I0116 18:11:33.559283 140086647615488 client_app.py:284] [psm-grpc-client-55578d6c5d-4zhtf] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:11:33.656109 140086647615488 client_app.py:312] [psm-grpc-client-55578d6c5d-4zhtf] xDS control plane channel:
I0116 18:11:35.690525 140086647615488 client_app.py:323] [psm-grpc-client-55578d6c5d-4zhtf] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:11:35.690895 140086647615488 client_app.py:294] [psm-grpc-client-55578d6c5d-4zhtf] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:11:35.748280 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.512524325Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.512524325Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.517091660Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.516768282Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.503672820Z'
name: header-matching.test-present-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-present-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:11:31.507393335Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428684907102594'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848
- - virtualHosts
- - domains:
- header-matching.test-present-match:8848
routes:
- match:
headers:
- name: xds_md_numeric
presentMatch: true
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_12_header-matching.test-present-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/fc61718f-d813-47d0-90e3-d2f6901e5748
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.29
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestPresentMatch.test_client_config
I0116 18:11:35.748859 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestPresentMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestPresentMatch.test_rpc_distribution
I0116 18:11:35.749315 140086647615488 grpc.py:75] [psm-grpc-client-55578d6c5d-4zhtf:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:11:37.783316 140086647615488 grpc.py:75] [psm-grpc-client-55578d6c5d-4zhtf:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:11:43.818575 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-55578d6c5d-4zhtf] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestPresentMatch.test_rpc_distribution
I0116 18:11:43.819027 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestPresentMatch.test_rpc_distribution PASSED -----
I0116 18:11:43.819144 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestPresentMatch teardown -----
I0116 18:11:43.876474 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:11:54.041720 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:11:54.042059 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1811-rw8ly
I0116 18:12:24.221522 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1811-rw8ly deleted
I0116 18:12:24.222060 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:12:24.222307 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-ddblu0v7:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1811-rw8ly%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-ddblu0v7%22;timeRange=2024-01-16T18:11:28.862049Z%2F2024-01-16T18:12:24.221835Z?project=grpc-testing
I0116 18:12:24.222477 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRangeMatch -----
I0116 18:12:24.222576 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:12:24.222714 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:12:24.222872 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1812-rl00v
I0116 18:12:24.223265 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1812-rl00v: server_target=xds:///header-matching.test-range-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:12:24.223476 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1812-rl00v%22;timeRange=2024-01-16T18:12:24.223373Z%2F2024-01-16T18:42:24.223373Z?project=grpc-testing
I0116 18:12:24.225455 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1812-rl00v
labels:
name: interop-psm-url-map-client-20240116-1812-rl00v
owner: xds-k8s-interop-test
...
I0116 18:12:24.268763 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1812-rl00v created
I0116 18:12:24.277275 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1812-rl00v
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-eo0z36fk
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-eo0z36fk
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-eo0z36fk
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-range-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:12:24.347487 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:12:24.347841 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:12:24.453678 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7bfd4588d8-4gb69']
I0116 18:12:24.453971 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7bfd4588d8-4gb69 to start
I0116 18:12:27.688354 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7bfd4588d8-4gb69 ready, IP: 10.60.5.30
I0116 18:12:27.688656 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7bfd4588d8-4gb69 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1812-rl00v_psm-grpc-client-7bfd4588d8-4gb69.log
I0116 18:12:27.689028 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7bfd4588d8-4gb69
I0116 18:12:27.689208 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:12:28.831227 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestRangeMatch.test_client_config
I0116 18:12:28.832016 140086647615488 client_app.py:284] [psm-grpc-client-7bfd4588d8-4gb69] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:12:28.929191 140086647615488 client_app.py:312] [psm-grpc-client-7bfd4588d8-4gb69] xDS control plane channel:
I0116 18:12:30.963887 140086647615488 client_app.py:323] [psm-grpc-client-7bfd4588d8-4gb69] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:12:30.964325 140086647615488 client_app.py:294] [psm-grpc-client-7bfd4588d8-4gb69] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:12:31.021834 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.624939043Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848
- - virtualHosts
- - domains:
- header-matching.test-range-match:8848
routes:
- match:
headers:
- name: xds_md_numeric
rangeMatch:
end: '200'
start: '100'
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.632835726Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.632835726Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.637585183Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.639974674Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:12:26.609532460Z'
name: header-matching.test-range-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428731131961695'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-range-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_14_header-matching.test-range-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/4ffe3fc1-abe8-4d26-a68f-7914d24d8357
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.30
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestRangeMatch.test_client_config
I0116 18:12:31.022413 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRangeMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestRangeMatch.test_rpc_distribution
I0116 18:12:31.022899 140086647615488 grpc.py:75] [psm-grpc-client-7bfd4588d8-4gb69:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:12:33.059247 140086647615488 grpc.py:75] [psm-grpc-client-7bfd4588d8-4gb69:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:12:36.064332 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7bfd4588d8-4gb69] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 75
psm-grpc-server-alternative-9574d7768-nchnk: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-fd86464df-wqkqx: 75
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 75
[ OK ] header_matching_test.TestRangeMatch.test_rpc_distribution
I0116 18:12:36.065021 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRangeMatch.test_rpc_distribution PASSED -----
I0116 18:12:36.065271 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRangeMatch teardown -----
I0116 18:12:36.109113 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:12:46.260258 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:12:46.260593 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1812-rl00v
I0116 18:13:16.437346 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1812-rl00v deleted
I0116 18:13:16.437747 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:13:16.437951 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-eo0z36fk:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1812-rl00v%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-eo0z36fk%22;timeRange=2024-01-16T18:12:24.223368Z%2F2024-01-16T18:13:16.437563Z?project=grpc-testing
I0116 18:13:16.438069 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRegexMatch -----
I0116 18:13:16.438127 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:13:16.438231 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:13:16.438359 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1813-nbl6m
I0116 18:13:16.438716 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1813-nbl6m: server_target=xds:///header-matching.test-regex-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:13:16.438884 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1813-nbl6m%22;timeRange=2024-01-16T18:13:16.438784Z%2F2024-01-16T18:43:16.438784Z?project=grpc-testing
I0116 18:13:16.441148 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1813-nbl6m
labels:
name: interop-psm-url-map-client-20240116-1813-nbl6m
owner: xds-k8s-interop-test
...
I0116 18:13:16.486325 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1813-nbl6m created
I0116 18:13:16.494616 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1813-nbl6m
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-813m6j8p
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-813m6j8p
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-813m6j8p
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-regex-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:13:16.566435 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:13:16.566707 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:13:16.674603 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-bd55f4575-n6m79']
I0116 18:13:16.674913 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-bd55f4575-n6m79 to start
I0116 18:13:20.963160 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-bd55f4575-n6m79 ready, IP: 10.60.6.32
I0116 18:13:20.963454 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-bd55f4575-n6m79 to url_map/test_app_logs/interop-psm-url-map-client-20240116-1813-nbl6m_psm-grpc-client-bd55f4575-n6m79.log
I0116 18:13:20.963892 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-bd55f4575-n6m79
I0116 18:13:20.964051 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:13:21.058722 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestRegexMatch.test_client_config
I0116 18:13:21.059585 140086647615488 client_app.py:284] [psm-grpc-client-bd55f4575-n6m79] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:13:21.156768 140086647615488 client_app.py:312] [psm-grpc-client-bd55f4575-n6m79] xDS control plane channel:
I0116 18:13:23.191274 140086647615488 client_app.py:323] [psm-grpc-client-bd55f4575-n6m79] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:13:23.191693 140086647615488 client_app.py:294] [psm-grpc-client-bd55f4575-n6m79] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:13:23.249293 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.237643057Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.242592454Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.219520012Z'
name: header-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-regex-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.225163728Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848
- - virtualHosts
- - domains:
- header-matching.test-regex-match:8848
routes:
- match:
headers:
- name: xds_md
safeRegexMatch:
googleRe2: {}
regex: ^em.*me$
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_15_header-matching.test-regex-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.235067494Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:13:19.235067494Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428770222061849'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/9cf25a7b-ffd1-4013-add9-9f2e6b37a068
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.32
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestRegexMatch.test_client_config
I0116 18:13:23.249886 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRegexMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:13:23.250366 140086647615488 grpc.py:75] [psm-grpc-client-bd55f4575-n6m79:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:13:25.284679 140086647615488 grpc.py:75] [psm-grpc-client-bd55f4575-n6m79:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:13:31.318547 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-bd55f4575-n6m79] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:13:31.318976 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestRegexMatch.test_rpc_distribution PASSED -----
I0116 18:13:31.319102 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRegexMatch teardown -----
I0116 18:13:31.389245 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:13:41.556411 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:13:41.556746 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1813-nbl6m
I0116 18:14:11.729675 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1813-nbl6m deleted
I0116 18:14:11.730161 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:14:11.730400 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-813m6j8p:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1813-nbl6m%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-813m6j8p%22;timeRange=2024-01-16T18:13:16.438780Z%2F2024-01-16T18:14:11.729950Z?project=grpc-testing
I0116 18:14:11.730578 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestSuffixMatch -----
I0116 18:14:11.730665 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:14:11.730796 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:14:11.730955 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1814-2gs0y
I0116 18:14:11.731312 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1814-2gs0y: server_target=xds:///header-matching.test-suffix-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:14:11.731487 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1814-2gs0y%22;timeRange=2024-01-16T18:14:11.731399Z%2F2024-01-16T18:44:11.731399Z?project=grpc-testing
I0116 18:14:11.733440 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1814-2gs0y
labels:
name: interop-psm-url-map-client-20240116-1814-2gs0y
owner: xds-k8s-interop-test
...
I0116 18:14:11.788563 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1814-2gs0y created
I0116 18:14:11.796705 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1814-2gs0y
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-h2ivxiw5
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-h2ivxiw5
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-h2ivxiw5
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///header-matching.test-suffix-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:14:11.865968 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:14:11.866222 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:14:11.969457 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6bbc5bf948-mwlvb']
I0116 18:14:11.969751 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6bbc5bf948-mwlvb to start
I0116 18:14:15.210059 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6bbc5bf948-mwlvb ready, IP: 10.60.6.33
I0116 18:14:15.210372 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6bbc5bf948-mwlvb to url_map/test_app_logs/interop-psm-url-map-client-20240116-1814-2gs0y_psm-grpc-client-6bbc5bf948-mwlvb.log
I0116 18:14:15.210814 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6bbc5bf948-mwlvb
I0116 18:14:15.211009 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:14:16.412873 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] header_matching_test.TestSuffixMatch.test_client_config
I0116 18:14:16.413662 140086647615488 client_app.py:284] [psm-grpc-client-6bbc5bf948-mwlvb] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:14:16.512872 140086647615488 client_app.py:312] [psm-grpc-client-6bbc5bf948-mwlvb] xDS control plane channel:
I0116 18:14:18.548029 140086647615488 client_app.py:323] [psm-grpc-client-6bbc5bf948-mwlvb] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:14:18.548503 140086647615488 client_app.py:294] [psm-grpc-client-6bbc5bf948-mwlvb] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:14:18.605482 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.439716961Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848
- - virtualHosts
- - domains:
- header-matching.test-suffix-match:8848
routes:
- match:
headers:
- name: xds_md
suffixMatch: me
prefix: /
name: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.447319079Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.447319079Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:15.450951950Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '3'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.450408393Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:14:14.433390541Z'
name: header-matching.test-suffix-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428825666993358'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- header-matching.test-suffix-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_11_header-matching.test-suffix-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/94c85a32-3fa9-4f1a-9a90-c8ca372e8be6
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.33
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] header_matching_test.TestSuffixMatch.test_client_config
I0116 18:14:18.606093 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestSuffixMatch.test_client_config PASSED -----
[ RUN ] header_matching_test.TestSuffixMatch.test_rpc_distribution
I0116 18:14:18.606566 140086647615488 grpc.py:75] [psm-grpc-client-6bbc5bf948-mwlvb:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'xds_md', 'value': 'unary_yranu'}, {'key': 'xds_md', 'value': 'empty_ytpme'}, {'type': 'UNARY_CALL', 'key': 'xds_md_numeric', 'value': '159'}]}), wait_for_ready=True, timeout=5)
I0116 18:14:20.641642 140086647615488 grpc.py:75] [psm-grpc-client-6bbc5bf948-mwlvb:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:14:26.644114 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6bbc5bf948-mwlvb] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] header_matching_test.TestSuffixMatch.test_rpc_distribution
I0116 18:14:26.644647 140086647615488 base_testcase.py:52] ----- TestCase header_matching_test.TestSuffixMatch.test_rpc_distribution PASSED -----
I0116 18:14:26.644850 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestSuffixMatch teardown -----
I0116 18:14:26.689645 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:14:36.850378 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:14:36.850736 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1814-2gs0y
I0116 18:15:07.023020 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1814-2gs0y deleted
I0116 18:15:07.023513 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:15:07.023773 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-h2ivxiw5:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1814-2gs0y%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-h2ivxiw5%22;timeRange=2024-01-16T18:14:11.731395Z%2F2024-01-16T18:15:07.023303Z?project=grpc-testing
I0116 18:15:07.023945 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchAll -----
I0116 18:15:07.024031 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:15:07.024163 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:15:07.024344 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1815-wejz2
I0116 18:15:07.024728 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1815-wejz2: server_target=xds:///metadata-filter.test-metadata-filter-match-all:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:15:07.024924 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1815-wejz2%22;timeRange=2024-01-16T18:15:07.024830Z%2F2024-01-16T18:45:07.024830Z?project=grpc-testing
I0116 18:15:07.026848 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1815-wejz2
labels:
name: interop-psm-url-map-client-20240116-1815-wejz2
owner: xds-k8s-interop-test
...
I0116 18:15:07.067116 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1815-wejz2 created
I0116 18:15:07.075222 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1815-wejz2
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dgcx65ls
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dgcx65ls
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dgcx65ls
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-all:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:15:07.145756 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:15:07.146024 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:15:07.246261 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-79856fd496-nrg2g']
I0116 18:15:07.246575 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-79856fd496-nrg2g to start
I0116 18:15:12.567960 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-79856fd496-nrg2g ready, IP: 10.60.2.60
I0116 18:15:12.568264 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-79856fd496-nrg2g to url_map/test_app_logs/interop-psm-url-map-client-20240116-1815-wejz2_psm-grpc-client-79856fd496-nrg2g.log
I0116 18:15:12.568733 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-79856fd496-nrg2g
I0116 18:15:12.568916 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:15:14.812074 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAll.test_client_config
I0116 18:15:14.812847 140086647615488 client_app.py:284] [psm-grpc-client-79856fd496-nrg2g] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:15:14.909258 140086647615488 client_app.py:312] [psm-grpc-client-79856fd496-nrg2g] xDS control plane channel:
I0116 18:15:16.943855 140086647615488 client_app.py:323] [psm-grpc-client-79856fd496-nrg2g] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:15:16.944302 140086647615488 client_app.py:294] [psm-grpc-client-79856fd496-nrg2g] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:15:17.001086 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.540665267Z'
name: metadata-filter.test-metadata-filter-match-all:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-all:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.541228604Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-all:8848
routes:
- match:
headers:
- exactMatch: empty_ytpme
name: xds_md
prefix: /grpc.testing.TestService/Empty
metadata: {}
name: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_16_metadata-filter.test-metadata-filter-match-all:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.540101993Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:15.540101993Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428906412352125'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:11.737420310Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:15:11.742886235Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/1495e2c2-0d2d-4546-92a6-70ed0009f1c7
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.2.60
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchAll.test_client_config
I0116 18:15:17.001749 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAll.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAll.test_rpc_distribution
I0116 18:15:17.002189 140086647615488 grpc.py:75] [psm-grpc-client-79856fd496-nrg2g:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'key': 'xds_md', 'value': 'empty_ytpme'}]}), wait_for_ready=True, timeout=5)
I0116 18:15:19.036349 140086647615488 grpc.py:75] [psm-grpc-client-79856fd496-nrg2g:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:15:25.048169 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-79856fd496-nrg2g] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchAll.test_rpc_distribution
I0116 18:15:25.048847 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAll.test_rpc_distribution PASSED -----
I0116 18:15:25.049017 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchAll teardown -----
I0116 18:15:25.092172 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:15:35.277772 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:15:35.278100 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1815-wejz2
I0116 18:16:05.452237 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1815-wejz2 deleted
I0116 18:16:05.452727 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:16:05.452957 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-dgcx65ls:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1815-wejz2%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-dgcx65ls%22;timeRange=2024-01-16T18:15:07.024824Z%2F2024-01-16T18:16:05.452515Z?project=grpc-testing
I0116 18:16:05.453122 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchAny -----
I0116 18:16:05.453199 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:16:05.453327 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:16:05.453480 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1816-xoyji
I0116 18:16:05.453835 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1816-xoyji: server_target=xds:///metadata-filter.test-metadata-filter-match-any:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:16:05.454012 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1816-xoyji%22;timeRange=2024-01-16T18:16:05.453925Z%2F2024-01-16T18:46:05.453925Z?project=grpc-testing
I0116 18:16:05.455882 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1816-xoyji
labels:
name: interop-psm-url-map-client-20240116-1816-xoyji
owner: xds-k8s-interop-test
...
I0116 18:16:05.514256 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1816-xoyji created
I0116 18:16:05.522307 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1816-xoyji
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dwunpp5k
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dwunpp5k
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-dwunpp5k
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-any:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:16:05.595919 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:16:05.596179 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:16:05.704592 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-6b6b846b4c-6chhn']
I0116 18:16:05.704894 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-6b6b846b4c-6chhn to start
I0116 18:16:08.939856 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-6b6b846b4c-6chhn ready, IP: 10.60.6.35
I0116 18:16:08.940159 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-6b6b846b4c-6chhn to url_map/test_app_logs/interop-psm-url-map-client-20240116-1816-xoyji_psm-grpc-client-6b6b846b4c-6chhn.log
I0116 18:16:08.940502 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-6b6b846b4c-6chhn
I0116 18:16:08.940643 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:16:10.076773 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAny.test_client_config
I0116 18:16:10.077533 140086647615488 client_app.py:284] [psm-grpc-client-6b6b846b4c-6chhn] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:16:10.175936 140086647615488 client_app.py:312] [psm-grpc-client-6b6b846b4c-6chhn] xDS control plane channel:
I0116 18:16:12.210910 140086647615488 client_app.py:323] [psm-grpc-client-6b6b846b4c-6chhn] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:16:12.211341 140086647615488 client_app.py:294] [psm-grpc-client-6b6b846b4c-6chhn] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:16:12.268235 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.789395481Z'
name: metadata-filter.test-metadata-filter-match-any:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-any:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.795815130Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-any:8848
routes:
- match:
prefix: /grpc.testing.TestService/Unary
metadata: {}
name: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_17_metadata-filter.test-metadata-filter-match-any:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.803810748Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.803810748Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428942498032748'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.808150331Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:16:07.808682318Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/6535ddd7-91f1-4ed9-953a-0ead8fdd802b
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.35
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchAny.test_client_config
I0116 18:16:12.268829 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAny.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAny.test_rpc_distribution
I0116 18:16:12.269217 140086647615488 grpc.py:75] [psm-grpc-client-6b6b846b4c-6chhn:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:16:14.303800 140086647615488 grpc.py:75] [psm-grpc-client-6b6b846b4c-6chhn:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:16:20.333935 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-6b6b846b4c-6chhn] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchAny.test_rpc_distribution
I0116 18:16:20.334596 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAny.test_rpc_distribution PASSED -----
I0116 18:16:20.334771 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchAny teardown -----
I0116 18:16:20.380339 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:16:30.530741 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:16:30.531069 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1816-xoyji
I0116 18:17:00.700129 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1816-xoyji deleted
I0116 18:17:00.700601 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:17:00.700826 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-dwunpp5k:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1816-xoyji%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-dwunpp5k%22;timeRange=2024-01-16T18:16:05.453920Z%2F2024-01-16T18:17:00.700404Z?project=grpc-testing
I0116 18:17:00.700957 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchAnyAndAll -----
I0116 18:17:00.701031 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:17:00.701157 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:17:00.701311 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1817-0yt44
I0116 18:17:00.701678 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1817-0yt44: server_target=xds:///metadata-filter.test-metadata-filter-match-any-and-all:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:17:00.701857 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-0yt44%22;timeRange=2024-01-16T18:17:00.701771Z%2F2024-01-16T18:47:00.701771Z?project=grpc-testing
I0116 18:17:00.703716 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1817-0yt44
labels:
name: interop-psm-url-map-client-20240116-1817-0yt44
owner: xds-k8s-interop-test
...
I0116 18:17:00.745794 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1817-0yt44 created
I0116 18:17:00.753915 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1817-0yt44
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-lsoxqb6g
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-lsoxqb6g
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-lsoxqb6g
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-any-and-all:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:17:00.825135 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:17:00.825405 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:17:00.927208 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5b7b987df-wkgwx']
I0116 18:17:00.927486 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5b7b987df-wkgwx to start
I0116 18:17:05.206496 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5b7b987df-wkgwx ready, IP: 10.60.5.34
I0116 18:17:05.206794 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5b7b987df-wkgwx to url_map/test_app_logs/interop-psm-url-map-client-20240116-1817-0yt44_psm-grpc-client-5b7b987df-wkgwx.log
I0116 18:17:05.207149 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5b7b987df-wkgwx
I0116 18:17:05.207300 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:17:05.304747 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_client_config
I0116 18:17:05.305501 140086647615488 client_app.py:284] [psm-grpc-client-5b7b987df-wkgwx] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:17:05.402280 140086647615488 client_app.py:312] [psm-grpc-client-5b7b987df-wkgwx] xDS control plane channel:
I0116 18:17:07.436480 140086647615488 client_app.py:323] [psm-grpc-client-5b7b987df-wkgwx] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:17:07.436929 140086647615488 client_app.py:294] [psm-grpc-client-5b7b987df-wkgwx] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:17:07.493354 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.440399514Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.440399514Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.444149921Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.443147240Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.427438736Z'
name: metadata-filter.test-metadata-filter-match-any-and-all:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-any-and-all:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:03.432710077Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705428990238398906'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-any-and-all:8848
routes:
- match:
prefix: /grpc.testing.TestService/Unary
metadata: {}
name: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_18_metadata-filter.test-metadata-filter-match-any-and-all:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/d7479099-fd8c-4cfe-bb65-153753c8a93f
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.34
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_client_config
I0116 18:17:07.493937 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_rpc_distribution
I0116 18:17:07.494329 140086647615488 grpc.py:75] [psm-grpc-client-5b7b987df-wkgwx:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:17:09.529237 140086647615488 grpc.py:75] [psm-grpc-client-5b7b987df-wkgwx:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:17:15.527372 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5b7b987df-wkgwx] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_rpc_distribution
I0116 18:17:15.528088 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchAnyAndAll.test_rpc_distribution PASSED -----
I0116 18:17:15.528290 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchAnyAndAll teardown -----
I0116 18:17:15.571722 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:17:25.722382 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:17:25.722723 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1817-0yt44
I0116 18:17:55.922098 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1817-0yt44 deleted
I0116 18:17:55.922614 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:17:55.922849 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-lsoxqb6g:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-0yt44%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-lsoxqb6g%22;timeRange=2024-01-16T18:17:00.701766Z%2F2024-01-16T18:17:55.922386Z?project=grpc-testing
I0116 18:17:55.922997 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestMetadataFilterMatchMultipleRules -----
I0116 18:17:55.923074 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:17:55.923206 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:17:55.923367 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1817-9oaqa
I0116 18:17:55.923812 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1817-9oaqa: server_target=xds:///metadata-filter.test-metadata-filter-match-multiple-rules:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:17:55.924014 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-9oaqa%22;timeRange=2024-01-16T18:17:55.923921Z%2F2024-01-16T18:47:55.923921Z?project=grpc-testing
I0116 18:17:55.925989 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1817-9oaqa
labels:
name: interop-psm-url-map-client-20240116-1817-9oaqa
owner: xds-k8s-interop-test
...
I0116 18:17:55.980643 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1817-9oaqa created
I0116 18:17:55.988732 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1817-9oaqa
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-6x4iyoz8
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-6x4iyoz8
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-6x4iyoz8
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///metadata-filter.test-metadata-filter-match-multiple-rules:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:17:56.063351 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:17:56.063644 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:17:56.169415 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-59c5467cbd-8lfvx']
I0116 18:17:56.169722 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-59c5467cbd-8lfvx to start
I0116 18:17:59.405326 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-59c5467cbd-8lfvx ready, IP: 10.60.2.61
I0116 18:17:59.405627 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-59c5467cbd-8lfvx to url_map/test_app_logs/interop-psm-url-map-client-20240116-1817-9oaqa_psm-grpc-client-59c5467cbd-8lfvx.log
I0116 18:17:59.405979 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-59c5467cbd-8lfvx
I0116 18:17:59.406161 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:18:00.606456 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_client_config
I0116 18:18:00.607239 140086647615488 client_app.py:284] [psm-grpc-client-59c5467cbd-8lfvx] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:18:00.704524 140086647615488 client_app.py:312] [psm-grpc-client-59c5467cbd-8lfvx] xDS control plane channel:
I0116 18:18:02.738816 140086647615488 client_app.py:323] [psm-grpc-client-59c5467cbd-8lfvx] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:18:02.739295 140086647615488 client_app.py:294] [psm-grpc-client-59c5467cbd-8lfvx] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:18:02.798986 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.528035126Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.528035126Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:57.945117034Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:57.945925264Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.528795302Z'
name: metadata-filter.test-metadata-filter-match-multiple-rules:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- metadata-filter.test-metadata-filter-match-multiple-rules:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:17:59.529704032Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429073467767420'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848
- - virtualHosts
- - domains:
- metadata-filter.test-metadata-filter-match-multiple-rules:8848
routes:
- match:
headers:
- exactMatch: empty_ytpme
name: xds_md
prefix: /
metadata:
filterMetadata:
com.googleapis.trafficdirector.internal_route_config:
metadata_filter:
- filter_data:
- name: TRAFFICDIRECTOR_NETWORK_NAME
value: default-vpc
match_type: ANY
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: /grpc.testing.TestService/Unary
metadata:
filterMetadata:
com.googleapis.trafficdirector.internal_route_config:
metadata_filter:
- filter_data:
- name: TRAFFICDIRECTOR_NETWORK_NAME
value: default-vpc
match_type: ALL
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_19_metadata-filter.test-metadata-filter-match-multiple-rules:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/b09c516e-6cdf-4277-bdd1-72e0be5da836
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.2.61
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_client_config
I0116 18:18:02.799677 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_client_config PASSED -----
[ RUN ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_rpc_distribution
I0116 18:18:02.800120 140086647615488 grpc.py:75] [psm-grpc-client-59c5467cbd-8lfvx:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL'], 'metadata': [{'key': 'xds_md', 'value': 'empty_ytpme'}]}), wait_for_ready=True, timeout=5)
I0116 18:18:04.834397 140086647615488 grpc.py:75] [psm-grpc-client-59c5467cbd-8lfvx:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:18:10.856475 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-59c5467cbd-8lfvx] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_rpc_distribution
I0116 18:18:10.857179 140086647615488 base_testcase.py:52] ----- TestCase metadata_filter_test.TestMetadataFilterMatchMultipleRules.test_rpc_distribution PASSED -----
I0116 18:18:10.857409 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestMetadataFilterMatchMultipleRules teardown -----
I0116 18:18:10.901059 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:18:21.048933 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:18:21.049252 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1817-9oaqa
I0116 18:18:51.217408 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1817-9oaqa deleted
I0116 18:18:51.217878 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:18:51.218100 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-6x4iyoz8:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1817-9oaqa%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-6x4iyoz8%22;timeRange=2024-01-16T18:17:55.923916Z%2F2024-01-16T18:18:51.217668Z?project=grpc-testing
I0116 18:18:51.218275 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestCaseInsensitiveMatch -----
I0116 18:18:51.218353 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:18:51.218476 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:18:51.218637 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1818-jq6l0
I0116 18:18:51.218979 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1818-jq6l0: server_target=xds:///path-matching.test-case-insensitive-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:18:51.219178 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1818-jq6l0%22;timeRange=2024-01-16T18:18:51.219062Z%2F2024-01-16T18:48:51.219062Z?project=grpc-testing
I0116 18:18:51.221082 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1818-jq6l0
labels:
name: interop-psm-url-map-client-20240116-1818-jq6l0
owner: xds-k8s-interop-test
...
I0116 18:18:51.263462 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1818-jq6l0 created
I0116 18:18:51.271633 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1818-jq6l0
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-9dcn0ins
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-9dcn0ins
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-9dcn0ins
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-case-insensitive-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:18:51.340520 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:18:51.340789 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:18:51.440714 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5ddf9d896c-xbvlx']
I0116 18:18:51.441011 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5ddf9d896c-xbvlx to start
I0116 18:18:54.674357 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5ddf9d896c-xbvlx ready, IP: 10.60.6.38
I0116 18:18:54.674668 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5ddf9d896c-xbvlx to url_map/test_app_logs/interop-psm-url-map-client-20240116-1818-jq6l0_psm-grpc-client-5ddf9d896c-xbvlx.log
I0116 18:18:54.675051 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5ddf9d896c-xbvlx
I0116 18:18:54.675204 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:18:55.806184 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestCaseInsensitiveMatch.test_client_config
I0116 18:18:55.806903 140086647615488 client_app.py:284] [psm-grpc-client-5ddf9d896c-xbvlx] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:18:55.903612 140086647615488 client_app.py:312] [psm-grpc-client-5ddf9d896c-xbvlx] xDS control plane channel:
I0116 18:18:57.938311 140086647615488 client_app.py:323] [psm-grpc-client-5ddf9d896c-xbvlx] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:18:57.938786 140086647615488 client_app.py:294] [psm-grpc-client-5ddf9d896c-xbvlx] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:18:57.996327 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.242908485Z'
name: path-matching.test-case-insensitive-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-case-insensitive-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.246935169Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848
- - virtualHosts
- - domains:
- path-matching.test-case-insensitive-match:8848
routes:
- match:
caseSensitive: false
path: /gRpC.tEsTinG.tEstseRvice/empTycaLl
name: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_24_path-matching.test-case-insensitive-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.254434646Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.254434646Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429115404910623'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.257032762Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:18:53.259845925Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/30539357-1fde-4877-ae77-851940953322
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.38
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestCaseInsensitiveMatch.test_client_config
I0116 18:18:57.996942 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestCaseInsensitiveMatch.test_client_config PASSED -----
[ RUN ] path_matching_test.TestCaseInsensitiveMatch.test_rpc_distribution
I0116 18:18:57.997331 140086647615488 grpc.py:75] [psm-grpc-client-5ddf9d896c-xbvlx:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:19:00.031680 140086647615488 grpc.py:75] [psm-grpc-client-5ddf9d896c-xbvlx:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:19:06.053614 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5ddf9d896c-xbvlx] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestCaseInsensitiveMatch.test_rpc_distribution
I0116 18:19:06.054244 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestCaseInsensitiveMatch.test_rpc_distribution PASSED -----
I0116 18:19:06.054402 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestCaseInsensitiveMatch teardown -----
I0116 18:19:06.097367 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:19:16.313450 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:19:16.313795 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1818-jq6l0
I0116 18:19:46.494325 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1818-jq6l0 deleted
I0116 18:19:46.494834 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:19:46.495074 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-9dcn0ins:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1818-jq6l0%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-9dcn0ins%22;timeRange=2024-01-16T18:18:51.219058Z%2F2024-01-16T18:19:46.494629Z?project=grpc-testing
I0116 18:19:46.495226 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestFullPathMatchEmptyCall -----
I0116 18:19:46.495322 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:19:46.495459 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:19:46.495671 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1819-cttmv
I0116 18:19:46.496066 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1819-cttmv: server_target=xds:///path-matching.test-full-path-match-empty-call:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:19:46.496268 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1819-cttmv%22;timeRange=2024-01-16T18:19:46.496173Z%2F2024-01-16T18:49:46.496173Z?project=grpc-testing
I0116 18:19:46.498201 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1819-cttmv
labels:
name: interop-psm-url-map-client-20240116-1819-cttmv
owner: xds-k8s-interop-test
...
I0116 18:19:46.539427 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1819-cttmv created
I0116 18:19:46.547449 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1819-cttmv
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-gy74y9py
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-gy74y9py
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-gy74y9py
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-full-path-match-empty-call:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:19:46.621831 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:19:46.622051 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:19:46.717146 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-89fb5fd55-dsm4x']
I0116 18:19:46.717426 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-89fb5fd55-dsm4x to start
I0116 18:19:49.952265 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-89fb5fd55-dsm4x ready, IP: 10.60.2.62
I0116 18:19:49.952560 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-89fb5fd55-dsm4x to url_map/test_app_logs/interop-psm-url-map-client-20240116-1819-cttmv_psm-grpc-client-89fb5fd55-dsm4x.log
I0116 18:19:49.953031 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-89fb5fd55-dsm4x
I0116 18:19:49.953220 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:19:51.091457 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestFullPathMatchEmptyCall.test_client_config
I0116 18:19:51.092210 140086647615488 client_app.py:284] [psm-grpc-client-89fb5fd55-dsm4x] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:19:51.189998 140086647615488 client_app.py:312] [psm-grpc-client-89fb5fd55-dsm4x] xDS control plane channel:
I0116 18:19:53.224859 140086647615488 client_app.py:323] [psm-grpc-client-89fb5fd55-dsm4x] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:19:53.225283 140086647615488 client_app.py:294] [psm-grpc-client-89fb5fd55-dsm4x] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:19:53.282058 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.221840572Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.222196143Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.204886400Z'
name: path-matching.test-full-path-match-empty-call:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-full-path-match-empty-call:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.209785325Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848
- - virtualHosts
- - domains:
- path-matching.test-full-path-match-empty-call:8848
routes:
- match:
path: /grpc.testing.TestService/EmptyCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_20_path-matching.test-full-path-match-empty-call:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.215873260Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:19:49.215873260Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429174847149798'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/748123fe-f482-46c4-a850-5aa7d15bb098
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.2.62
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestFullPathMatchEmptyCall.test_client_config
I0116 18:19:53.282632 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchEmptyCall.test_client_config PASSED -----
[ RUN ] path_matching_test.TestFullPathMatchEmptyCall.test_rpc_distribution
I0116 18:19:53.283035 140086647615488 grpc.py:75] [psm-grpc-client-89fb5fd55-dsm4x:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:19:55.317444 140086647615488 grpc.py:75] [psm-grpc-client-89fb5fd55-dsm4x:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:20:01.350640 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-89fb5fd55-dsm4x] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestFullPathMatchEmptyCall.test_rpc_distribution
I0116 18:20:01.351129 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchEmptyCall.test_rpc_distribution PASSED -----
I0116 18:20:01.351279 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestFullPathMatchEmptyCall teardown -----
I0116 18:20:01.417563 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:20:11.586000 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:20:11.586319 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1819-cttmv
I0116 18:20:41.756003 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1819-cttmv deleted
I0116 18:20:41.756473 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:20:41.756707 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-gy74y9py:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1819-cttmv%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-gy74y9py%22;timeRange=2024-01-16T18:19:46.496168Z%2F2024-01-16T18:20:41.756272Z?project=grpc-testing
I0116 18:20:41.756860 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestFullPathMatchUnaryCall -----
I0116 18:20:41.756935 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:20:41.757071 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:20:41.757225 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1820-ha0k8
I0116 18:20:41.757569 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1820-ha0k8: server_target=xds:///path-matching.test-full-path-match-unary-call:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:20:41.757739 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1820-ha0k8%22;timeRange=2024-01-16T18:20:41.757654Z%2F2024-01-16T18:50:41.757654Z?project=grpc-testing
I0116 18:20:41.759778 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1820-ha0k8
labels:
name: interop-psm-url-map-client-20240116-1820-ha0k8
owner: xds-k8s-interop-test
...
I0116 18:20:41.819983 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1820-ha0k8 created
I0116 18:20:41.828128 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1820-ha0k8
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-0v8tkbmv
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-0v8tkbmv
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-0v8tkbmv
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-full-path-match-unary-call:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:20:41.896855 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:20:41.897111 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:20:41.998676 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7745c48b67-9jctb']
I0116 18:20:41.998962 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7745c48b67-9jctb to start
I0116 18:20:45.229116 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7745c48b67-9jctb ready, IP: 10.60.5.37
I0116 18:20:45.229405 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7745c48b67-9jctb to url_map/test_app_logs/interop-psm-url-map-client-20240116-1820-ha0k8_psm-grpc-client-7745c48b67-9jctb.log
I0116 18:20:45.229837 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7745c48b67-9jctb
I0116 18:20:45.230005 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:20:46.440533 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestFullPathMatchUnaryCall.test_client_config
I0116 18:20:46.441313 140086647615488 client_app.py:284] [psm-grpc-client-7745c48b67-9jctb] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:20:46.538547 140086647615488 client_app.py:312] [psm-grpc-client-7745c48b67-9jctb] xDS control plane channel:
I0116 18:20:48.572820 140086647615488 client_app.py:323] [psm-grpc-client-7745c48b67-9jctb] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:20:48.573191 140086647615488 client_app.py:294] [psm-grpc-client-7745c48b67-9jctb] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:20:48.629933 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.112232914Z'
name: path-matching.test-full-path-match-unary-call:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-full-path-match-unary-call:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.119840965Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848
- - virtualHosts
- - domains:
- path-matching.test-full-path-match-unary-call:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_21_path-matching.test-full-path-match-unary-call:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.127659600Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.127659600Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429224338884448'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.135197252Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:20:44.136135366Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/a309a679-08c6-4316-ad95-0cc1bb2682a7
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.37
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestFullPathMatchUnaryCall.test_client_config
I0116 18:20:48.630540 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchUnaryCall.test_client_config PASSED -----
[ RUN ] path_matching_test.TestFullPathMatchUnaryCall.test_rpc_distribution
I0116 18:20:48.630982 140086647615488 grpc.py:75] [psm-grpc-client-7745c48b67-9jctb:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:20:50.665004 140086647615488 grpc.py:75] [psm-grpc-client-7745c48b67-9jctb:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:20:56.693169 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7745c48b67-9jctb] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestFullPathMatchUnaryCall.test_rpc_distribution
I0116 18:20:56.693627 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestFullPathMatchUnaryCall.test_rpc_distribution PASSED -----
I0116 18:20:56.693765 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestFullPathMatchUnaryCall teardown -----
I0116 18:20:56.737508 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:21:06.891172 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:21:06.891516 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1820-ha0k8
I0116 18:21:37.063196 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1820-ha0k8 deleted
I0116 18:21:37.063733 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:21:37.063977 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-0v8tkbmv:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1820-ha0k8%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-0v8tkbmv%22;timeRange=2024-01-16T18:20:41.757650Z%2F2024-01-16T18:21:37.063503Z?project=grpc-testing
I0116 18:21:37.064117 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRegexMatch -----
I0116 18:21:37.064193 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:21:37.064321 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:21:37.064486 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1821-3jdn0
I0116 18:21:37.064847 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1821-3jdn0: server_target=xds:///path-matching.test-regex-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:21:37.065026 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1821-3jdn0%22;timeRange=2024-01-16T18:21:37.064935Z%2F2024-01-16T18:51:37.064935Z?project=grpc-testing
I0116 18:21:37.066891 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1821-3jdn0
labels:
name: interop-psm-url-map-client-20240116-1821-3jdn0
owner: xds-k8s-interop-test
...
I0116 18:21:37.109702 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1821-3jdn0 created
I0116 18:21:37.117853 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1821-3jdn0
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-htjsy3td
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-htjsy3td
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-htjsy3td
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-regex-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:21:37.192895 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:21:37.193154 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:21:37.293209 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7b45c78945-hnzbt']
I0116 18:21:37.293542 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7b45c78945-hnzbt to start
I0116 18:21:40.526804 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7b45c78945-hnzbt ready, IP: 10.60.6.41
I0116 18:21:40.527143 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7b45c78945-hnzbt to url_map/test_app_logs/interop-psm-url-map-client-20240116-1821-3jdn0_psm-grpc-client-7b45c78945-hnzbt.log
I0116 18:21:40.527616 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7b45c78945-hnzbt
I0116 18:21:40.527893 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:21:41.669941 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestRegexMatch.test_client_config
I0116 18:21:41.670717 140086647615488 client_app.py:284] [psm-grpc-client-7b45c78945-hnzbt] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:21:41.767959 140086647615488 client_app.py:312] [psm-grpc-client-7b45c78945-hnzbt] xDS control plane channel:
I0116 18:21:43.802514 140086647615488 client_app.py:323] [psm-grpc-client-7b45c78945-hnzbt] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:21:43.802963 140086647615488 client_app.py:294] [psm-grpc-client-7b45c78945-hnzbt] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:21:43.861634 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.796217025Z'
name: path-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-regex-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.800096724Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848
- - virtualHosts
- - domains:
- path-matching.test-regex-match:8848
routes:
- match:
safeRegex:
googleRe2: {}
regex: ^\/.*\/UnaryCall$
name: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_23_path-matching.test-regex-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.808234030Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.808234030Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429264767297897'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.811125314Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:21:39.811881323Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/64f17b5b-8539-42e9-a603-c37423b96757
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.41
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestRegexMatch.test_client_config
I0116 18:21:43.862241 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestRegexMatch.test_client_config PASSED -----
[ RUN ] path_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:21:43.862664 140086647615488 grpc.py:75] [psm-grpc-client-7b45c78945-hnzbt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:21:45.896823 140086647615488 grpc.py:75] [psm-grpc-client-7b45c78945-hnzbt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:21:51.903444 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7b45c78945-hnzbt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-alternative-9574d7768-nchnk: 150
rpcs_by_method:
UnaryCall:
psm-grpc-server-alternative-9574d7768-nchnk: 150
[ OK ] path_matching_test.TestRegexMatch.test_rpc_distribution
I0116 18:21:51.904091 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestRegexMatch.test_rpc_distribution PASSED -----
I0116 18:21:51.904251 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRegexMatch teardown -----
I0116 18:21:51.948662 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:22:02.122497 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:22:02.122836 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1821-3jdn0
I0116 18:22:32.294343 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1821-3jdn0 deleted
I0116 18:22:32.294795 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:22:32.295025 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-htjsy3td:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1821-3jdn0%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-htjsy3td%22;timeRange=2024-01-16T18:21:37.064930Z%2F2024-01-16T18:22:32.294600Z?project=grpc-testing
I0116 18:22:32.295159 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTwoRoutesAndPrefixMatch -----
I0116 18:22:32.295235 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:22:32.295358 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:22:32.295504 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1822-s580u
I0116 18:22:32.295906 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1822-s580u: server_target=xds:///path-matching.test-two-routes-and-prefix-match:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:22:32.296096 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1822-s580u%22;timeRange=2024-01-16T18:22:32.296000Z%2F2024-01-16T18:52:32.296000Z?project=grpc-testing
I0116 18:22:32.297920 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1822-s580u
labels:
name: interop-psm-url-map-client-20240116-1822-s580u
owner: xds-k8s-interop-test
...
I0116 18:22:32.351519 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1822-s580u created
I0116 18:22:32.360093 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1822-s580u
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bdx8mizx
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bdx8mizx
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bdx8mizx
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///path-matching.test-two-routes-and-prefix-match:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:22:32.430949 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:22:32.431226 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:22:32.532223 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-5f457d6bf-mszkc']
I0116 18:22:32.532513 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-5f457d6bf-mszkc to start
I0116 18:22:35.772322 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-5f457d6bf-mszkc ready, IP: 10.60.5.39
I0116 18:22:35.772609 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-5f457d6bf-mszkc to url_map/test_app_logs/interop-psm-url-map-client-20240116-1822-s580u_psm-grpc-client-5f457d6bf-mszkc.log
I0116 18:22:35.773022 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-5f457d6bf-mszkc
I0116 18:22:35.773180 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:22:36.910159 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_client_config
I0116 18:22:36.910924 140086647615488 client_app.py:284] [psm-grpc-client-5f457d6bf-mszkc] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:22:37.007512 140086647615488 client_app.py:312] [psm-grpc-client-5f457d6bf-mszkc] xDS control plane channel:
I0116 18:22:39.041716 140086647615488 client_app.py:323] [psm-grpc-client-5f457d6bf-mszkc] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:22:39.042125 140086647615488 client_app.py:294] [psm-grpc-client-5f457d6bf-mszkc] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:22:39.100262 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.434645967Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848
- - virtualHosts
- - domains:
- path-matching.test-two-routes-and-prefix-match:8848
routes:
- match:
prefix: /grpc.testing.TestService/Unary
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
path: /grpc.testing.TestService/EmptyCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848-route-2
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.440484256Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service-alt
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service-alt
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.440484256Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.479348130Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.482930682Z'
name: cloud-internal-istio:cloud_mp_830293263384_113188278454996846
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '2'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_113188278454996846
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.3.2
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_6842440053101973278_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:22:34.429232446Z'
name: path-matching.test-two-routes-and-prefix-match:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429335742184604'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- path-matching.test-two-routes-and-prefix-match:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_22_path-matching.test-two-routes-and-prefix-match:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/903f5ee9-b72d-46dd-a465-49a7fc7ce377
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.5.39
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_client_config
I0116 18:22:39.100864 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestTwoRoutesAndPrefixMatch.test_client_config PASSED -----
[ RUN ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_rpc_distribution
I0116 18:22:39.101258 140086647615488 grpc.py:75] [psm-grpc-client-5f457d6bf-mszkc:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:22:41.135437 140086647615488 grpc.py:75] [psm-grpc-client-5f457d6bf-mszkc:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 150, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:22:44.161103 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-5f457d6bf-mszkc] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 75
psm-grpc-server-alternative-9574d7768-nchnk: 75
rpcs_by_method:
EmptyCall:
psm-grpc-server-alternative-9574d7768-nchnk: 75
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 75
[ OK ] path_matching_test.TestTwoRoutesAndPrefixMatch.test_rpc_distribution
I0116 18:22:44.161767 140086647615488 base_testcase.py:52] ----- TestCase path_matching_test.TestTwoRoutesAndPrefixMatch.test_rpc_distribution PASSED -----
I0116 18:22:44.161947 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTwoRoutesAndPrefixMatch teardown -----
I0116 18:22:44.205457 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:22:54.361988 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:22:54.362316 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1822-s580u
I0116 18:23:24.531514 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1822-s580u deleted
I0116 18:23:24.531930 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:23:24.532114 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-bdx8mizx:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1822-s580u%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-bdx8mizx%22;timeRange=2024-01-16T18:22:32.295996Z%2F2024-01-16T18:23:24.531753Z?project=grpc-testing
I0116 18:23:24.532232 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRetryUpTo3AttemptsAndFail -----
I0116 18:23:24.532285 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:23:24.532432 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:23:24.532551 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1823-22hdi
I0116 18:23:24.532864 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1823-22hdi: server_target=xds:///retry.test-retry-up-to3-attempts-and-fail:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:23:24.533004 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1823-22hdi%22;timeRange=2024-01-16T18:23:24.532924Z%2F2024-01-16T18:53:24.532924Z?project=grpc-testing
I0116 18:23:24.534766 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1823-22hdi
labels:
name: interop-psm-url-map-client-20240116-1823-22hdi
owner: xds-k8s-interop-test
...
I0116 18:23:24.575631 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1823-22hdi created
I0116 18:23:24.583682 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1823-22hdi
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-n3wjj341
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-n3wjj341
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-n3wjj341
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///retry.test-retry-up-to3-attempts-and-fail:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:23:24.654695 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:23:24.654943 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:23:24.768900 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-584bfdb9cc-dw2qd']
I0116 18:23:24.769201 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-584bfdb9cc-dw2qd to start
I0116 18:23:28.008405 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-584bfdb9cc-dw2qd ready, IP: 10.60.6.43
I0116 18:23:28.008721 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-584bfdb9cc-dw2qd to url_map/test_app_logs/interop-psm-url-map-client-20240116-1823-22hdi_psm-grpc-client-584bfdb9cc-dw2qd.log
I0116 18:23:28.009093 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-584bfdb9cc-dw2qd
I0116 18:23:28.009256 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:23:29.213566 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] retry_test.TestRetryUpTo3AttemptsAndFail.test_client_config
I0116 18:23:29.214290 140086647615488 client_app.py:284] [psm-grpc-client-584bfdb9cc-dw2qd] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:23:29.311881 140086647615488 client_app.py:312] [psm-grpc-client-584bfdb9cc-dw2qd] xDS control plane channel:
I0116 18:23:31.346273 140086647615488 client_app.py:323] [psm-grpc-client-584bfdb9cc-dw2qd] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:23:31.346770 140086647615488 client_app.py:294] [psm-grpc-client-584bfdb9cc-dw2qd] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:23:31.397580 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.269038581Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429385660223561'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.105020877Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.270574187Z'
name: retry.test-retry-up-to3-attempts-and-fail:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429385660223561'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- retry.test-retry-up-to3-attempts-and-fail:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:23:27.272088879Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429385660223561'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848
- - virtualHosts
- - domains:
- retry.test-retry-up-to3-attempts-and-fail:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 3
perTryTimeout: 30s
retryOn: unavailable
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_25_retry.test-retry-up-to3-attempts-and-fail:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/a39cf94f-9eb2-4518-b5ed-e4226426ca15
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.43
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] retry_test.TestRetryUpTo3AttemptsAndFail.test_client_config
I0116 18:23:31.398105 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo3AttemptsAndFail.test_client_config PASSED -----
[ RUN ] retry_test.TestRetryUpTo3AttemptsAndFail.test_rpc_distribution
I0116 18:23:31.398539 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'succeed-on-retry-attempt-4,error-code-14'}]}), wait_for_ready=True, timeout=5)
I0116 18:23:33.433959 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:23:33.961586 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-584bfdb9cc-dw2qd] << Received LoadBalancerStatsResponse:
num_failures: 10
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:23:33.961917 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:23:33.995071 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-584bfdb9cc-dw2qd: before:
- method: EMPTY_CALL
rpcs_started: 110
result:
(0, OK): 110
- method: UNARY_CALL
rpcs_started: 174
result:
(14, UNAVAILABLE): 61
(0, OK): 110
I0116 18:23:50.011810 140086647615488 grpc.py:75] [psm-grpc-client-584bfdb9cc-dw2qd:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:23:50.045812 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-584bfdb9cc-dw2qd: after:
- method: EMPTY_CALL
rpcs_started: 110
result:
(0, OK): 110
- method: UNARY_CALL
rpcs_started: 575
result:
(14, UNAVAILABLE): 462
(0, OK): 110
[ OK ] retry_test.TestRetryUpTo3AttemptsAndFail.test_rpc_distribution
I0116 18:23:50.046316 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo3AttemptsAndFail.test_rpc_distribution PASSED -----
I0116 18:23:50.046463 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRetryUpTo3AttemptsAndFail teardown -----
I0116 18:23:50.090275 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:24:00.246010 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:24:00.246369 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1823-22hdi
I0116 18:24:30.441655 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1823-22hdi deleted
I0116 18:24:30.442135 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:24:30.442368 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-n3wjj341:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1823-22hdi%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-n3wjj341%22;timeRange=2024-01-16T18:23:24.532920Z%2F2024-01-16T18:24:30.441936Z?project=grpc-testing
I0116 18:24:30.442588 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestRetryUpTo4AttemptsAndSucceed -----
I0116 18:24:30.442676 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:24:30.442830 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:24:30.443010 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1824-m8t4q
I0116 18:24:30.443411 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1824-m8t4q: server_target=xds:///retry.test-retry-up-to4-attempts-and-succeed:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:24:30.443633 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1824-m8t4q%22;timeRange=2024-01-16T18:24:30.443516Z%2F2024-01-16T18:54:30.443516Z?project=grpc-testing
I0116 18:24:30.445785 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1824-m8t4q
labels:
name: interop-psm-url-map-client-20240116-1824-m8t4q
owner: xds-k8s-interop-test
...
I0116 18:24:30.499768 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1824-m8t4q created
I0116 18:24:30.508055 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1824-m8t4q
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bj7pdd9h
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bj7pdd9h
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-bj7pdd9h
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///retry.test-retry-up-to4-attempts-and-succeed:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:24:30.577857 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:24:30.578134 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:24:30.686536 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-84b5bc75b6-gmrrt']
I0116 18:24:30.686844 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-84b5bc75b6-gmrrt to start
I0116 18:24:34.962687 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-84b5bc75b6-gmrrt ready, IP: 10.60.6.44
I0116 18:24:34.962993 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-84b5bc75b6-gmrrt to url_map/test_app_logs/interop-psm-url-map-client-20240116-1824-m8t4q_psm-grpc-client-84b5bc75b6-gmrrt.log
I0116 18:24:34.963363 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-84b5bc75b6-gmrrt
I0116 18:24:34.963507 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:24:35.056885 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_client_config
I0116 18:24:35.057595 140086647615488 client_app.py:284] [psm-grpc-client-84b5bc75b6-gmrrt] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:24:35.154500 140086647615488 client_app.py:312] [psm-grpc-client-84b5bc75b6-gmrrt] xDS control plane channel:
I0116 18:24:37.189218 140086647615488 client_app.py:323] [psm-grpc-client-84b5bc75b6-gmrrt] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:24:37.189697 140086647615488 client_app.py:294] [psm-grpc-client-84b5bc75b6-gmrrt] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:24:37.240019 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.247325290Z'
name: retry.test-retry-up-to4-attempts-and-succeed:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429446087535226'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- retry.test-retry-up-to4-attempts-and-succeed:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.251783557Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429446087535226'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848
- - virtualHosts
- - domains:
- retry.test-retry-up-to4-attempts-and-succeed:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 4
perTryTimeout: 30s
retryOn: unavailable
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_26_retry.test-retry-up-to4-attempts-and-succeed:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.256196534Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429446087535226'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:24:33.259988723Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/3141d911-4d94-4b35-baba-e711d01016e3
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.44
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_client_config
I0116 18:24:37.240571 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo4AttemptsAndSucceed.test_client_config PASSED -----
[ RUN ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_rpc_distribution
I0116 18:24:37.241037 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'succeed-on-retry-attempt-4,error-code-14'}]}), wait_for_ready=True, timeout=5)
I0116 18:24:39.275733 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 10, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:24:39.949635 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-84b5bc75b6-gmrrt] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 10
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 10
I0116 18:24:39.949971 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:24:39.982457 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-84b5bc75b6-gmrrt: before:
- method: EMPTY_CALL
rpcs_started: 101
result:
(0, OK): 101
- method: UNARY_CALL
rpcs_started: 169
result:
(0, OK): 164
I0116 18:24:55.998986 140086647615488 grpc.py:75] [psm-grpc-client-84b5bc75b6-gmrrt:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:24:56.031926 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-84b5bc75b6-gmrrt: after:
- method: EMPTY_CALL
rpcs_started: 101
result:
(0, OK): 101
- method: UNARY_CALL
rpcs_started: 570
result:
(0, OK): 564
[ OK ] retry_test.TestRetryUpTo4AttemptsAndSucceed.test_rpc_distribution
I0116 18:24:56.032413 140086647615488 base_testcase.py:52] ----- TestCase retry_test.TestRetryUpTo4AttemptsAndSucceed.test_rpc_distribution PASSED -----
I0116 18:24:56.032572 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestRetryUpTo4AttemptsAndSucceed teardown -----
I0116 18:24:56.076742 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:25:06.226210 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:25:06.226543 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1824-m8t4q
I0116 18:25:36.400670 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1824-m8t4q deleted
I0116 18:25:36.401131 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:25:36.401354 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-bj7pdd9h:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1824-m8t4q%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-bj7pdd9h%22;timeRange=2024-01-16T18:24:30.443510Z%2F2024-01-16T18:25:36.400942Z?project=grpc-testing
I0116 18:25:36.401533 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTimeoutInRouteRule -----
I0116 18:25:36.401617 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:25:36.401748 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:25:36.401904 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1825-icfh4
I0116 18:25:36.402243 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1825-icfh4: server_target=xds:///timeout.test-timeout-in-route-rule:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:25:36.402439 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1825-icfh4%22;timeRange=2024-01-16T18:25:36.402344Z%2F2024-01-16T18:55:36.402344Z?project=grpc-testing
I0116 18:25:36.404342 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1825-icfh4
labels:
name: interop-psm-url-map-client-20240116-1825-icfh4
owner: xds-k8s-interop-test
...
I0116 18:25:36.445148 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1825-icfh4 created
I0116 18:25:36.453282 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1825-icfh4
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-e8i56frp
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-e8i56frp
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-e8i56frp
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///timeout.test-timeout-in-route-rule:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:25:36.524338 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:25:36.524610 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:25:36.622406 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-77f8bffcf8-fhv6g']
I0116 18:25:36.622727 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-77f8bffcf8-fhv6g to start
I0116 18:25:40.909397 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-77f8bffcf8-fhv6g ready, IP: 10.60.6.45
I0116 18:25:40.909696 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-77f8bffcf8-fhv6g to url_map/test_app_logs/interop-psm-url-map-client-20240116-1825-icfh4_psm-grpc-client-77f8bffcf8-fhv6g.log
I0116 18:25:40.910105 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-77f8bffcf8-fhv6g
I0116 18:25:40.910257 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:25:44.128312 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] timeout_test.TestTimeoutInRouteRule.test_client_config
I0116 18:25:44.129055 140086647615488 client_app.py:284] [psm-grpc-client-77f8bffcf8-fhv6g] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:25:44.226311 140086647615488 client_app.py:312] [psm-grpc-client-77f8bffcf8-fhv6g] xDS control plane channel:
I0116 18:25:46.261028 140086647615488 client_app.py:323] [psm-grpc-client-77f8bffcf8-fhv6g] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:25:46.261498 140086647615488 client_app.py:294] [psm-grpc-client-77f8bffcf8-fhv6g] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:25:46.311353 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.479779539Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429517147129032'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848
- - virtualHosts
- - domains:
- timeout.test-timeout-in-route-rule:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
maxStreamDuration:
grpcTimeoutHeaderMax: 3s
maxStreamDuration: 3s
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.487494244Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429517147129032'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.496222262Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:25:39.474021113Z'
name: timeout.test-timeout-in-route-rule:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429517147129032'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- timeout.test-timeout-in-route-rule:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_27_timeout.test-timeout-in-route-rule:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/33ad5faf-9f19-4db1-a057-f2cfb4b76f00
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.45
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] timeout_test.TestTimeoutInRouteRule.test_client_config
I0116 18:25:46.312034 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInRouteRule.test_client_config PASSED -----
[ RUN ] timeout_test.TestTimeoutInRouteRule.test_rpc_distribution
I0116 18:25:46.312542 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL', 'EMPTY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'sleep-4'}, {'key': 'rpc-behavior', 'value': 'sleep-4'}]}), wait_for_ready=True, timeout=5)
I0116 18:25:48.346827 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 25, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:25:52.360266 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-77f8bffcf8-fhv6g] << Received LoadBalancerStatsResponse:
num_failures: 25
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:25:52.360629 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:25:52.393252 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-77f8bffcf8-fhv6g: before:
- method: EMPTY_CALL
rpcs_started: 324
result:
(0, OK): 224
- method: UNARY_CALL
rpcs_started: 324
result:
(0, OK): 173
(4, DEADLINE_EXCEEDED): 76
I0116 18:26:02.403701 140086647615488 grpc.py:75] [psm-grpc-client-77f8bffcf8-fhv6g:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:26:02.438878 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-77f8bffcf8-fhv6g: after:
- method: EMPTY_CALL
rpcs_started: 575
result:
(0, OK): 475
- method: UNARY_CALL
rpcs_started: 575
result:
(0, OK): 173
(4, DEADLINE_EXCEEDED): 327
[ OK ] timeout_test.TestTimeoutInRouteRule.test_rpc_distribution
I0116 18:26:02.439382 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInRouteRule.test_rpc_distribution PASSED -----
I0116 18:26:02.439534 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTimeoutInRouteRule teardown -----
I0116 18:26:02.481833 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:26:12.630844 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:26:12.631171 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1825-icfh4
I0116 18:26:42.833550 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1825-icfh4 deleted
I0116 18:26:42.834049 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:26:42.834309 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-e8i56frp:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1825-icfh4%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-e8i56frp%22;timeRange=2024-01-16T18:25:36.402339Z%2F2024-01-16T18:26:42.833837Z?project=grpc-testing
I0116 18:26:42.834509 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTimeoutInApplication -----
I0116 18:26:42.834626 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:26:42.834768 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:26:42.834930 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1826-jrium
I0116 18:26:42.835318 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1826-jrium: server_target=xds:///timeout.test-timeout-in-application:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:26:42.835530 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1826-jrium%22;timeRange=2024-01-16T18:26:42.835427Z%2F2024-01-16T18:56:42.835427Z?project=grpc-testing
I0116 18:26:42.837492 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1826-jrium
labels:
name: interop-psm-url-map-client-20240116-1826-jrium
owner: xds-k8s-interop-test
...
I0116 18:26:42.896083 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1826-jrium created
I0116 18:26:42.904338 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1826-jrium
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-d5813xin
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-d5813xin
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-d5813xin
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///timeout.test-timeout-in-application:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:26:42.972441 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:26:42.972705 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:26:43.077653 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-7447446995-f6jqk']
I0116 18:26:43.077946 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-7447446995-f6jqk to start
I0116 18:26:46.315272 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-7447446995-f6jqk ready, IP: 10.60.6.46
I0116 18:26:46.315613 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-7447446995-f6jqk to url_map/test_app_logs/interop-psm-url-map-client-20240116-1826-jrium_psm-grpc-client-7447446995-f6jqk.log
I0116 18:26:46.316016 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-7447446995-f6jqk
I0116 18:26:46.316160 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:26:47.450798 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] timeout_test.TestTimeoutInApplication.test_client_config
I0116 18:26:47.451616 140086647615488 client_app.py:284] [psm-grpc-client-7447446995-f6jqk] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:26:47.549622 140086647615488 client_app.py:312] [psm-grpc-client-7447446995-f6jqk] xDS control plane channel:
I0116 18:26:49.584289 140086647615488 client_app.py:323] [psm-grpc-client-7447446995-f6jqk] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:26:49.584740 140086647615488 client_app.py:294] [psm-grpc-client-7447446995-f6jqk] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:26:49.636087 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.675261910Z'
name: timeout.test-timeout-in-application:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429594476986754'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- timeout.test-timeout-in-application:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.681054506Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429594476986754'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848
- - virtualHosts
- - domains:
- timeout.test-timeout-in-application:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
maxStreamDuration:
grpcTimeoutHeaderMax: 3s
maxStreamDuration: 3s
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_28_timeout.test-timeout-in-application:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.690304269Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429594476986754'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:26:44.694749869Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/932ae448-1052-4a48-af9a-5745eac5f6d9
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.46
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] timeout_test.TestTimeoutInApplication.test_client_config
I0116 18:26:49.636651 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInApplication.test_client_config PASSED -----
[ RUN ] timeout_test.TestTimeoutInApplication.test_rpc_distribution
I0116 18:26:49.637084 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL'], 'metadata': [{'type': 'UNARY_CALL', 'key': 'rpc-behavior', 'value': 'sleep-2'}], 'timeoutSec': 1}), wait_for_ready=True, timeout=5)
I0116 18:26:51.671844 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 25, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:26:53.692528 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-7447446995-f6jqk] << Received LoadBalancerStatsResponse:
num_failures: 25
rpcs_by_peer: {}
rpcs_by_method: {}
I0116 18:26:53.692985 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:26:53.725664 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7447446995-f6jqk: before:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 227
result:
(0, OK): 126
(4, DEADLINE_EXCEEDED): 76
I0116 18:27:03.736120 140086647615488 grpc.py:75] [psm-grpc-client-7447446995-f6jqk:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:27:03.770851 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-7447446995-f6jqk: after:
- method: EMPTY_CALL
rpcs_started: 126
result:
(0, OK): 126
- method: UNARY_CALL
rpcs_started: 478
result:
(4, DEADLINE_EXCEEDED): 327
(0, OK): 126
[ OK ] timeout_test.TestTimeoutInApplication.test_rpc_distribution
I0116 18:27:03.771358 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutInApplication.test_rpc_distribution PASSED -----
I0116 18:27:03.771505 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTimeoutInApplication teardown -----
I0116 18:27:03.815235 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:27:13.967791 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:27:13.968125 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1826-jrium
I0116 18:27:44.141632 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1826-jrium deleted
I0116 18:27:44.142080 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:27:44.142300 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-d5813xin:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1826-jrium%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-d5813xin%22;timeRange=2024-01-16T18:26:42.835421Z%2F2024-01-16T18:27:44.141894Z?project=grpc-testing
I0116 18:27:44.142427 140086647615488 xds_url_map_testcase.py:372] ----- Testing TestTimeoutNotExceeded -----
I0116 18:27:44.142514 140086647615488 xds_url_map_testcase.py:373] Logs timezone: UTC
I0116 18:27:44.142654 140086647615488 xds_k8s_testcase.py:106] Detected language and version: TestConfig(client_lang='go', server_lang='java', version='dev-master')
I0116 18:27:44.142806 140086647615488 xds_url_map_test_resources.py:230] GcpResourceManager: client_namespace_suffix=20240116-1827-f8vx9
I0116 18:27:44.143141 140086647615488 k8s_xds_client_runner.py:111] Deploying xDS test client "psm-grpc-client" to k8s namespace interop-psm-url-map-client-20240116-1827-f8vx9: server_target=xds:///timeout.test-timeout-not-exceeded:8848 rpc=UnaryCall,EmptyCall qps=25 metadata='' secure_mode=False print_response=True
I0116 18:27:44.143337 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1827-f8vx9%22;timeRange=2024-01-16T18:27:44.143237Z%2F2024-01-16T18:57:44.143237Z?project=grpc-testing
I0116 18:27:44.145200 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/namespace.yaml:
---
apiVersion: v1
kind: Namespace
metadata:
name: interop-psm-url-map-client-20240116-1827-f8vx9
labels:
name: interop-psm-url-map-client-20240116-1827-f8vx9
owner: xds-k8s-interop-test
...
I0116 18:27:44.185841 140086647615488 k8s_base_runner.py:284] Namespace interop-psm-url-map-client-20240116-1827-f8vx9 created
I0116 18:27:44.194070 140086647615488 k8s_base_runner.py:264] Rendered template kubernetes-manifests/client.deployment.yaml:
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: psm-grpc-client
namespace: interop-psm-url-map-client-20240116-1827-f8vx9
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-x95wy9q5
owner: xds-k8s-interop-test
spec:
replicas: 1
selector:
matchLabels:
app: psm-grpc-client
deployment_id: psm-grpc-client-x95wy9q5
template:
metadata:
labels:
app: psm-grpc-client
deployment_id: psm-grpc-client-x95wy9q5
owner: xds-k8s-interop-test
spec:
containers:
- name: psm-grpc-client
image: gcr.io/grpc-testing/xds-interop/go-client:eb521e502093ca03aea6f558edf5fa36a7caf723
imagePullPolicy: Always
startupProbe:
tcpSocket:
port: 8079
periodSeconds: 3
failureThreshold: 1000
args:
- "--server=xds:///timeout.test-timeout-not-exceeded:8848"
- "--stats_port=8079"
- "--qps=25"
- "--rpc=UnaryCall,EmptyCall"
- "--metadata="
- "--print_response=True"
ports:
- containerPort: 8079
env:
- name: GRPC_XDS_BOOTSTRAP
value: "/tmp/grpc-xds/td-grpc-bootstrap.json"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RING_HASH
value: "true"
- name: GRPC_XDS_EXPERIMENTAL_ENABLE_RETRY
value: "true"
- name: GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_CUSTOM_LB_CONFIG
value: "true"
- name: GRPC_EXPERIMENTAL_XDS_ENABLE_OVERRIDE_HOST
value: "true"
volumeMounts:
- mountPath: /tmp/grpc-xds/
name: grpc-td-conf
readOnly: true
resources:
limits:
cpu: 800m
memory: 512Mi
requests:
cpu: 100m
memory: 512Mi
initContainers:
- name: grpc-td-init
image: gcr.io/grpc-testing/td-grpc-bootstrap:7d8d90477792e2e1bfe3a3da20b3dc9ef01d326c
imagePullPolicy: Always
args:
- "--output=/tmp/bootstrap/td-grpc-bootstrap.json"
- "--vpc-network-name=default-vpc"
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 100Mi
volumeMounts:
- mountPath: /tmp/bootstrap/
name: grpc-td-conf
volumes:
- name: grpc-td-conf
emptyDir:
medium: Memory
...
I0116 18:27:44.264416 140086647615488 k8s_base_runner.py:284] Deployment psm-grpc-client created
I0116 18:27:44.264701 140086647615488 k8s_base_runner.py:797] Waiting for deployment psm-grpc-client to initialize 1 pod(s)
I0116 18:27:44.370686 140086647615488 k8s_base_runner.py:807] Deployment psm-grpc-client initialized 1 pod(s): ['psm-grpc-client-8686955dc5-mvgst']
I0116 18:27:44.370983 140086647615488 k8s_base_runner.py:817] Waiting for pod psm-grpc-client-8686955dc5-mvgst to start
I0116 18:27:47.602810 140086647615488 k8s_base_runner.py:820] Pod psm-grpc-client-8686955dc5-mvgst ready, IP: 10.60.6.47
I0116 18:27:47.603098 140086647615488 k8s_base_runner.py:843] Enabling log collection from pod psm-grpc-client-8686955dc5-mvgst to url_map/test_app_logs/interop-psm-url-map-client-20240116-1827-f8vx9_psm-grpc-client-8686955dc5-mvgst.log
I0116 18:27:47.603511 140086554646080 k8s_log_collector.py:70] Starting log collection thread 140086554646080 for psm-grpc-client-8686955dc5-mvgst
I0116 18:27:47.603760 140086647615488 k8s_base_runner.py:779] Waiting for deployment psm-grpc-client to report 1 available replica(s)
I0116 18:27:48.736788 140086647615488 k8s_base_runner.py:788] Deployment psm-grpc-client has 1 replicas available
[ RUN ] timeout_test.TestTimeoutNotExceeded.test_client_config
I0116 18:27:48.737497 140086647615488 client_app.py:284] [psm-grpc-client-8686955dc5-mvgst] ADS: Waiting for active calls to xDS control plane to trafficdirector.googleapis.com:443
I0116 18:27:48.834063 140086647615488 client_app.py:312] [psm-grpc-client-8686955dc5-mvgst] xDS control plane channel:
I0116 18:27:50.868228 140086647615488 client_app.py:323] [psm-grpc-client-8686955dc5-mvgst] Detected active calls to xDS control plane trafficdirector.googleapis.com:443, channel:
I0116 18:27:50.868685 140086647615488 client_app.py:294] [psm-grpc-client-8686955dc5-mvgst] ADS: Detected active calls to xDS control plane trafficdirector.googleapis.com:443
I0116 18:27:50.918882 140086647615488 xds_url_map_testcase.py:496] latest xDS config:
---
genericXdsConfigs:
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.841198350Z'
name: timeout.test-timeout-not-exceeded:8848
typeUrl: type.googleapis.com/envoy.config.listener.v3.Listener
versionInfo: '1705429638049457989'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.listener.v3.Listener
- - name
- timeout.test-timeout-not-exceeded:8848
- - apiListener
- apiListener: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
- - statPrefix
- trafficdirector
- - rds
- configSource:
ads: {}
resourceApiVersion: V3
routeConfigName: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848
- - httpFilters
- - name: envoy.filters.http.fault
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
- name: envoy.filters.http.router
typedConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- - suppressEnvoyHeaders
- true
- - normalizePath
- true
- - mergeSlashes
- true
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.846473239Z'
name: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848
typeUrl: type.googleapis.com/envoy.config.route.v3.RouteConfiguration
versionInfo: '1705429638049457989'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.route.v3.RouteConfiguration
- - name
- URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848
- - virtualHosts
- - domains:
- timeout.test-timeout-not-exceeded:8848
routes:
- match:
path: /grpc.testing.TestService/UnaryCall
name: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848-route-0
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
maxStreamDuration:
grpcTimeoutHeaderMax: 3s
maxStreamDuration: 3s
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- match:
prefix: ''
name: URL_MAP/830293263384_interop-psm-url-map-url-map_29_timeout.test-timeout-not-exceeded:8848-route-1
route:
cluster: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
retryPolicy:
numRetries: 1
perTryTimeout: 30s
retryOn: gateway-error
timeout: 30s
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.850605567Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.cluster.v3.Cluster
versionInfo: '1705429638049457989'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.cluster.v3.Cluster
- - name
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - type
- EDS
- - edsClusterConfig
- edsConfig:
ads: {}
initialFetchTimeout: 15s
resourceApiVersion: V3
- - connectTimeout
- 30s
- - circuitBreakers
- thresholds:
- maxConnections: 2147483647
maxPendingRequests: 2147483647
maxRequests: 2147483647
maxRetries: 2147483647
- - http2ProtocolOptions
- maxConcurrentStreams: 100
- - metadata
- filterMetadata:
com.google.trafficdirector:
backend_service_name: interop-psm-url-map-backend-service
backend_service_project_number: 830293263384.0
- - commonLbConfig
- healthyPanicThreshold:
value: 1.0
localityWeightedLbConfig: {}
- - altStatName
- /projects/830293263384/global/backendServices/interop-psm-url-map-backend-service
- - lrsServer
- self: {}
- clientStatus: ACKED
lastUpdated: '2024-01-16T18:27:46.855682738Z'
name: cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
typeUrl: type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
versionInfo: '1'
xdsConfig: !!python/object/apply:collections.OrderedDict
- - - '@type'
- type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment
- - clusterName
- cloud-internal-istio:cloud_mp_830293263384_3527413874041835445
- - endpoints
- - lbEndpoints:
- endpoint:
address:
socketAddress:
address: 10.60.9.6
portValue: 8080
healthStatus: HEALTHY
loadBalancingWeight: 1000000
locality:
subZone: ia:us-central1-c_2616348914244931337_neg
node:
clientFeatures:
- envoy.lb.does_not_support_overprovisioning
- xds.config.resource-in-sotw
cluster: cluster
id: projects/830293263384/networks/default-vpc/nodes/3ac6188e-564e-4038-8e88-4d1177c2621b
locality:
zone: us-central1-c
metadata:
INSTANCE_IP: 10.60.6.47
TRAFFICDIRECTOR_GCP_PROJECT_NUMBER: '830293263384'
TRAFFICDIRECTOR_NETWORK_NAME: default-vpc
userAgentName: gRPC Go
userAgentVersion: 1.61.0-dev
...
[ OK ] timeout_test.TestTimeoutNotExceeded.test_client_config
I0116 18:27:50.919609 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutNotExceeded.test_client_config PASSED -----
[ RUN ] timeout_test.TestTimeoutNotExceeded.test_rpc_distribution
I0116 18:27:50.920046 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC XdsUpdateClientConfigureService.Configure(request=ClientConfigureRequest({'types': ['UNARY_CALL']}), wait_for_ready=True, timeout=5)
I0116 18:27:52.954130 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC LoadBalancerStatsService.GetClientStats(request=LoadBalancerStatsRequest({'numRpcs': 25, 'timeoutSec': 1200}), timeout=1200, wait_for_ready=True)
I0116 18:27:53.949447 140086647615488 xds_url_map_testcase.py:522] [psm-grpc-client-8686955dc5-mvgst] << Received LoadBalancerStatsResponse:
num_failures: 0
rpcs_by_peer:
psm-grpc-server-fd86464df-wqkqx: 25
rpcs_by_method:
UnaryCall:
psm-grpc-server-fd86464df-wqkqx: 25
I0116 18:27:53.949812 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:27:53.982177 140086647615488 xds_url_map_testcase.py:550] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-8686955dc5-mvgst: before:
- method: EMPTY_CALL
rpcs_started: 104
result:
(0, OK): 104
- method: UNARY_CALL
rpcs_started: 179
result:
(0, OK): 179
I0116 18:28:03.992744 140086647615488 grpc.py:75] [psm-grpc-client-8686955dc5-mvgst:8079] >> RPC LoadBalancerStatsService.GetClientAccumulatedStats(request=LoadBalancerAccumulatedStatsRequest({}), wait_for_ready=True, timeout=600)
I0116 18:28:04.027488 140086647615488 xds_url_map_testcase.py:560] Received LoadBalancerAccumulatedStatsResponse from test client psm-grpc-client-8686955dc5-mvgst: after:
- method: EMPTY_CALL
rpcs_started: 104
result:
(0, OK): 104
- method: UNARY_CALL
rpcs_started: 430
result:
(0, OK): 430
[ OK ] timeout_test.TestTimeoutNotExceeded.test_rpc_distribution
I0116 18:28:04.028029 140086647615488 base_testcase.py:52] ----- TestCase timeout_test.TestTimeoutNotExceeded.test_rpc_distribution PASSED -----
I0116 18:28:04.028141 140086647615488 xds_url_map_testcase.py:407] ----- TestCase TestTimeoutNotExceeded teardown -----
I0116 18:28:04.071799 140086647615488 k8s_base_runner.py:708] Deleting deployment psm-grpc-client
I0116 18:28:14.229528 140086647615488 k8s_base_runner.py:723] Deployment psm-grpc-client deleted
I0116 18:28:14.229874 140086647615488 k8s_base_runner.py:759] Deleting namespace interop-psm-url-map-client-20240116-1827-f8vx9
I0116 18:28:44.427868 140086647615488 k8s_base_runner.py:776] Namespace interop-psm-url-map-client-20240116-1827-f8vx9 deleted
I0116 18:28:44.428353 140086647615488 xds_url_map_testcase.py:436] ----- Test client logs -----
I0116 18:28:44.428593 140086647615488 k8s_base_runner.py:959] GCP Logs Explorer link to psm-grpc-client-x95wy9q5:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22grpc-testing%22%0Aresource.labels.container_name%3D%22psm-grpc-client%22%0Aresource.labels.namespace_name%3D%22interop-psm-url-map-client-20240116-1827-f8vx9%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-client-x95wy9q5%22;timeRange=2024-01-16T18:27:44.143232Z%2F2024-01-16T18:28:44.428145Z?project=grpc-testing
----------------------------------------------------------------------
Ran 60 tests in 1666.310s
OK (skipped=4)
[ID: 1468488] Command finished after 1777 secs, exit value: 0
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[10:28:45 PST] Collecting build artifacts from build VM
[10:28:45 PST] Kokoro builder finished