Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup retry leads to server/client log link message printed multiple times #44

Open
sergiitk opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sergiitk
Copy link
Member

Every retry adds one more link.
Example:

I0223 03:05:24.502794 140704337074112 k8s_base_runner.py:724] Deleting deployment psm-grpc-server
I0223 03:05:24.502925 140704337074112 k8s_port_forwarder.py:126] Shutting down PortForwarder(pid='97944', namespace='sergiitk-server-dev', destination='pod/psm-grpc-server-776f4c6fc8-lr5qd', '127.0.0.1:49197 -> 8080')
I0223 03:10:25.993897 140704337074112 retryers.py:206] Retrying framework.xds_k8s_testcase.IsolatedXdsKubernetesTestCase.cleanup in 10.0 seconds as it raised RetryError: Retry error calling framework.infrastructure.k8s.KubernetesNamespace.get_deployment: timeout 0:05:00 (h:mm:ss) exceeded. Check result callback returned False..
I0223 03:10:35.994243 140704337074112 k8s_base_runner.py:724] Deleting deployment psm-grpc-server
I0223 03:10:46.122605 140704337074112 k8s_base_runner.py:739] Deployment psm-grpc-server deleted
I0223 03:10:46.122936 140704337074112 xds_k8s_testcase.py:730] ----- Test client/server logs -----
I0223 03:10:46.123039 140704337074112 k8s_base_runner.py:919] No completed deployments of psm-grpc-client
I0223 03:10:46.123332 140704337074112 k8s_base_runner.py:976] GCP Logs Explorer link to psm-grpc-server-vqxrufda:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22sergiitk-grpc-gke%22%0Aresource.labels.container_name%3D%22psm-grpc-server%22%0Aresource.labels.namespace_name%3D%22sergiitk-server-dev%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-server-vqxrufda%22;timeRange=2024-02-23T11:05:12.142681Z%2F2024-02-23T11:10:25.993601Z;cursorTimestamp=2024-02-23T11:05:20.354273Z?project=sergiitk-grpc-gke
I0223 03:10:46.123543 140704337074112 k8s_base_runner.py:976] GCP Logs Explorer link to psm-grpc-server-vqxrufda:
https://console.cloud.google.com/logs/query;query=resource.type%3D%22k8s_container%22%0Aresource.labels.project_id%3D%22sergiitk-grpc-gke%22%0Aresource.labels.container_name%3D%22psm-grpc-server%22%0Aresource.labels.namespace_name%3D%22sergiitk-server-dev%22%0Alabels.%22k8s-pod%2Fdeployment_id%22%3D%22psm-grpc-server-vqxrufda%22;timeRange=2024-02-23T11:05:12.142681Z%2F2024-02-23T11:10:46.122861Z;cursorTimestamp=2024-02-23T11:05:20.354273Z?project=sergiitk-grpc-gke
[       OK ] AffinitySessionDrainTest.test_session_drain
@sergiitk sergiitk added the bug Something isn't working label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant