File 0002-Test-CTS-ignore-monitor-failures-when-testing-remote.patch of Package pacemaker.19778
From ff65df4c43f43ef77b300fecee9d65762abfbc91 Mon Sep 17 00:00:00 2001
From: Ken Gaillot <kgaillot@redhat.com>
Date: Mon, 10 Dec 2018 16:40:16 -0600
Subject: [PATCH 2/2] Test: CTS: ignore monitor failures when testing remote
node fencing
When the RemoteStonithd test killed the remote daemon, the loss was detected
via lrmd_tls_dispatch(), so nothing was done with the recurring monitors behind
the connection (which is a questionable situation).
Now that it freezes the daemon, the connection timeout is detected via
lrmd_event_disconnect(), and the monitors behind the connection are immediately
failed. Ignore those failures.
---
cts/CTStests.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/cts/CTStests.py b/cts/CTStests.py
index 7bfe98514..4e3fda019 100644
--- a/cts/CTStests.py
+++ b/cts/CTStests.py
@@ -3091,6 +3091,7 @@ class RemoteStonithd(RemoteDriver):
r"pengine.*:\s+Recover remote-.*\s*\(.*\)",
r"Calculated [Tt]ransition .* /var/lib/pacemaker/pengine/pe-error",
r"error.*: Resource .*ocf::.* is active on 2 nodes attempting recovery",
+ r"error: Result of monitor operation for .* on remote-.*: Error",
]
ignore_pats.extend(RemoteDriver.errorstoignore(self))
--
2.16.4