From 8e02671547095fc37f988adbbb4cca3d1cdfef68 Mon Sep 17 00:00:00 2001 From: Norberto Arrieta Date: Wed, 28 Feb 2024 12:31:04 -0800 Subject: [PATCH] Skip network unreachable error in publish hostname test (#3071) Co-authored-by: narrieta --- tests_e2e/tests/publish_hostname/publish_hostname.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests_e2e/tests/publish_hostname/publish_hostname.py b/tests_e2e/tests/publish_hostname/publish_hostname.py index 6ec97ae2e..c25c36bf4 100644 --- a/tests_e2e/tests/publish_hostname/publish_hostname.py +++ b/tests_e2e/tests/publish_hostname/publish_hostname.py @@ -210,10 +210,10 @@ def get_ignore_error_rules(self) -> List[Dict[str, Any]]: # # We may see temporary network unreachable warnings since we are bringing the network interface down # 2024-02-16T09:27:14.114569Z WARNING MonitorHandler ExtHandler Error in SendHostPluginHeartbeat: [HttpError] [HTTP Failed] GET http://168.63.129.16:32526/health -- IOError [Errno 101] Network is unreachable -- 1 attempts made --- [NOTE: Will not log the same error for the next hour] + # 2024-02-28T05:37:55.562065Z ERROR ExtHandler ExtHandler Error fetching the goal state: [ProtocolError] GET vmSettings [correlation ID: 28de1093-ecb5-4515-ba8e-2ed0c7778e34 eTag: 4648629460326038775]: Request failed: [Errno 101] Network is unreachable # { - 'message': r"SendHostPluginHeartbeat:.*GET http://168.63.129.16:32526/health -- IOError [Errno 101] Network is unreachable", - 'if': lambda r: r.level == "WARNING" + 'message': r"GET (http://168.63.129.16:32526/health|vmSettings).*\[Errno 101\] Network is unreachable", } ] return ignore_rules