Skip to content

Commit

Permalink
test: Relax RHEL 8 expected tracer failure
Browse files Browse the repository at this point in the history
This also sometimes crashes in `bus.unit_path_from_pid`. Relax the
pattern to cover either.
  • Loading branch information
martinpitt committed Nov 14, 2023
1 parent a45210a commit 26de3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/testlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 26de3fd

Please sign in to comment.