aboutsummaryrefslogtreecommitdiff
path: root/tests/check-logs.sh
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2022-05-20 13:13:01 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2022-05-21 13:27:15 +0000
commit564b405a9156af4ad89d368d5459ce0793e9b79a (patch)
treef63712af2c262dd6d8041c6c6e235d34e2875e64 /tests/check-logs.sh
parentae88173ff1597b684009d3d7e4ca126901012c30 (diff)
downloadkolla-ansible-564b405a9156af4ad89d368d5459ce0793e9b79a.tar.gz
kolla-ansible-564b405a9156af4ad89d368d5459ce0793e9b79a.zip
[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
Diffstat (limited to 'tests/check-logs.sh')
-rwxr-xr-xtests/check-logs.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/check-logs.sh b/tests/check-logs.sh
index 4a6f6ecf7..42a8a4541 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
}