]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephadm: only fail on CEPHADM_ error in logs 56897/head
authorAdam King <adking@redhat.com>
Mon, 8 Apr 2024 19:11:02 +0000 (15:11 -0400)
committerAdam King <adking@redhat.com>
Mon, 15 Apr 2024 14:51:29 +0000 (10:51 -0400)
commitf3998b1a08b948e18537fdcdb4bd75cf52f6d7b5
treec1d80bb85ba31045c7864db4898dac0072d77b6c
parent1b027751976b45e4b066387bcfba79769a340b42
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>
(cherry picked from commit b4522dd332d40a54b9e0be58bd96aeaa345f8977)

Conflicts:
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/start.yaml
qa/suites/orch/cephadm/workunits/task/test_host_drain.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
20 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/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