]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/cephadm: only fail on CEPHADM_ error in logs
authorAdam King <adking@redhat.com>
Mon, 8 Apr 2024 19:11:02 +0000 (15:11 -0400)
committerAdam King <adking@redhat.com>
Tue, 9 Apr 2024 18:51:17 +0000 (14:51 -0400)
commitb4522dd332d40a54b9e0be58bd96aeaa345f8977
tree9c54b3087ada1118a8baaa5ac447e4188891d76b
parent443c5913c5247349845a860dba8f6b69def5de75
qa/cephadm: only fail on CEPHADM_ error in logs

Rather than failing for any instance of
[ERR], [WRN], or [SEC]. The orch/cephadm suite
does a lot of stuff that can cause these various
warnings to breifly appear. Trying to catch all
cases has been difficult and the suite has been
red for some time. This patch makes it so it
instead only matches log messages that
include CEPHADM_ on top of having [ERR], [WRN],
or [SEC] as those warnings have been the ones
that have actually lead us to cephadm bugs, while
the others are pretty much always just noise in
these tests. This patch does not apply this
to the mds_upgrade_sequence, nfs, or rbd-iscsi
sections as those are symlinked from other suites
and I didn't want to affect those suites tests
directly with this change.

Signed-off-by: Adam King <adking@redhat.com>
22 files changed:
qa/suites/orch/cephadm/mgr-nfs-upgrade/1-bootstrap/17.2.0.yaml
qa/suites/orch/cephadm/no-agent-workunits/task/test_cephadm_timeout.yaml
qa/suites/orch/cephadm/no-agent-workunits/task/test_orch_cli.yaml
qa/suites/orch/cephadm/no-agent-workunits/task/test_orch_cli_mon.yaml
qa/suites/orch/cephadm/osds/1-start.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_basic.yaml
qa/suites/orch/cephadm/smb/tasks/deploy_smb_domain.yaml
qa/suites/orch/cephadm/smoke-roleless/1-start.yaml
qa/suites/orch/cephadm/smoke-singlehost/1-start.yaml
qa/suites/orch/cephadm/smoke-small/start.yaml
qa/suites/orch/cephadm/smoke/start.yaml
qa/suites/orch/cephadm/thrash/1-start.yaml
qa/suites/orch/cephadm/upgrade/3-upgrade/simple.yaml
qa/suites/orch/cephadm/upgrade/3-upgrade/staggered.yaml
qa/suites/orch/cephadm/with-work/start.yaml
qa/suites/orch/cephadm/workunits/task/test_ca_signed_key.yaml
qa/suites/orch/cephadm/workunits/task/test_extra_daemon_features.yaml
qa/suites/orch/cephadm/workunits/task/test_host_drain.yaml
qa/suites/orch/cephadm/workunits/task/test_iscsi_container/test_iscsi_container.yaml
qa/suites/orch/cephadm/workunits/task/test_monitoring_stack_basic.yaml
qa/suites/orch/cephadm/workunits/task/test_rgw_multisite.yaml
qa/suites/orch/cephadm/workunits/task/test_set_mon_crush_locations.yaml