From 26de3fdf7146f1fbab21fe1dd296279a38d612af Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 14 Nov 2023 10:25:21 +0100 Subject: [PATCH] test: Relax RHEL 8 expected tracer failure This also sometimes crashes in `bus.unit_path_from_pid`. Relax the pattern to cover either. --- test/common/testlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/testlib.py b/test/common/testlib.py index d40483f7a5d4..29bc479d3824 100644 --- a/test/common/testlib.py +++ b/test/common/testlib.py @@ -1731,7 +1731,7 @@ def login_and_go(self, path: Optional[str] = None, user: Optional[str] = None, h if testvm.DEFAULT_IMAGE.startswith('rhel-8') or testvm.DEFAULT_IMAGE.startswith('centos-8'): # old occasional bug in tracer, does not happen in newer versions any more - default_allowed_console_errors.append('Tracer failed:.*bus.get_unit_property_from_pid.*IndexError') + default_allowed_console_errors.append('Tracer failed:.*bus.*_pid.*IndexError') env_allow = os.environ.get("TEST_ALLOW_BROWSER_ERRORS") if env_allow: