From 36b8bfd2f6f10cd3110909d101411ddaade08e8e Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 4 Jan 2024 09:22:40 +0100 Subject: [PATCH] CI: add a message for fluentd string match function Change-Id: Ie3ddf7819934d2b100867f29ac9a9395c854d9f7 --- tests/check-logs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check-logs.sh b/tests/check-logs.sh index fa5447c821..58848b75aa 100755 --- a/tests/check-logs.sh +++ b/tests/check-logs.sh @@ -94,6 +94,7 @@ for string in "${fluentchecks[@]}"; do fluentd_file=/tmp/logs/kolla/fluentd-errors.log if check_fluentd_log_file_for_content $fluentd_log_file "$string" >/dev/null; then any_critical=1 + echo "(critical) Found some error log messages in fluentd logs. Matches in $fluentd_file" echo "$string" >> $fluentd_file check_fluentd_log_file_for_content $fluentd_log_file "$string" >> $fluentd_file echo >> $fluentd_file