From 5015e9e1991ee6928158c0aca2f4d42cdfd883a6 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Tue, 7 Jan 2025 09:11:59 +0100 Subject: [PATCH] CI: Remove OpenSearch connectivity check in fluentd logs It broke OpenSearch CI jobs because we restart OpenSearch in there. Also add check-logs.sh and get_logs.sh to files that trigger all jobs run so we don't break anything again. Change-Id: I6fe4b106853fd253ea28111409370e01cb678fe9 --- tests/check-logs.sh | 2 +- zuul.d/base.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/check-logs.sh b/tests/check-logs.sh index 1dd4c01460..18a9fcfee3 100755 --- a/tests/check-logs.sh +++ b/tests/check-logs.sh @@ -8,7 +8,7 @@ set -o pipefail # Enable unbuffered output for Ansible in Jenkins. export PYTHONUNBUFFERED=1 -declare -a fluentchecks=("got incomplete line before first line" "pattern not matched:" "Could not communicate to OpenSearch") +declare -a fluentchecks=("got incomplete line before first line" "pattern not matched:") function check_openstack_log_file_for_level { # $1: file diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index 4b6a880695..b79877869f 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -79,8 +79,10 @@ files: - ^ansible/group_vars/all.yml - ^requirements-core.yml - - ^tests/templates/(inventory|globals-default.j2) + - ^tests/check-logs.sh + - ^tests/get_logs.sh - ^tests/(pre|run).yml + - ^tests/templates/(inventory|globals-default.j2) - job: name: kolla-ansible-kvm-base