From 5d587ecd0dfd952ad17caa123de9d954c3ceb07d Mon Sep 17 00:00:00 2001 From: James Falcon Date: Tue, 16 Apr 2024 09:34:47 -0500 Subject: [PATCH] test: universally ignore netplan apply dbus issue (#5178) The old check didn't catch all cases. --- tests/integration_tests/util.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/integration_tests/util.py b/tests/integration_tests/util.py index d5b5b72d5dd..60d64d38084 100644 --- a/tests/integration_tests/util.py +++ b/tests/integration_tests/util.py @@ -209,9 +209,8 @@ def verify_clean_log(log: str, ignore_deprecations: bool = True): ) if "found network data from DataSourceNone" in log: warning_texts.append("Used fallback datasource") - warning_texts.append( - "Falling back to a hard restart of systemd-networkd.service" - ) + if "['netplan', 'apply']" in log: + warning_texts.append("Failed to connect system bus") if "oracle" in log: # LP: #1842752 lease_exists_text = "Stderr: RTNETLINK answers: File exists"