From 564b405a9156af4ad89d368d5459ce0793e9b79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Fri, 20 May 2022 13:13:01 +0200 Subject: [PATCH] [CI] Restore token critical error filter It was removed as part of improvements in [1]. But it seems it's a different type/class of errors and should still be filtered out here. This time for all the services to avoid extra copies. [1] Ie6a95c3ca84df82ca8463cf76054e125cb1ffff1 Change-Id: If7c5b938dc7417831a90f360d6e3655d1ad4084e --- tests/check-logs.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/check-logs.sh b/tests/check-logs.sh index 4a6f6ecf7a..42a8a4541e 100755 --- a/tests/check-logs.sh +++ b/tests/check-logs.sh @@ -31,13 +31,14 @@ function filter_out_expected_critical { */neutron-server.log) # Sometimes we see this during shutdown (upgrade). # See: https://bugs.launchpad.net/neutron/+bug/1863579 - grep -v "WSREP has not yet prepared node for application use" + grep -v "WSREP has not yet prepared node for application use" | + grep -v "Failed to fetch token data from identity server" ;; *) - # We have to provide some pass-through consumer to avoid: - # grep: write error: Broken pipe - # from check_openstack_log_file_for_level - cat + # Sometimes we see this during upgrades of Keystone. + # Usually in Placement but also in Neutron and Nova. + # Especially in AIO. + grep -v "Failed to fetch token data from identity server" ;; esac }