[Debian-ha-maintainers] Bug#994794: booth: intermittent autopkgtest failures
Simon Chopin
simon.chopin at canonical.com
Fri Dec 17 17:08:37 GMT 2021
Package: booth
Followup-For: Bug #994794
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
X-Debbugs-Cc: simon.chopin at canonical.com
Control: tags -1 patch
In Ubuntu, the attached patch was applied on top of the fix, as the
online node doesn't necessarily contain the 'node1' string in the name.
I'm guessing it depends on the configuration of the autopkgtest runners.
For instance, here is the output of the crm status command in my
LXC-based local runner.
```
Cluster Summary:
* Stack: corosync
* Current DC: autopkgtest-lxc-fisgca (version 2.0.5-ba59be7122) - partition with quorum
* Last updated: Fri Dec 17 16:56:18 2021
* Last change: Fri Dec 17 16:55:54 2021 by hacluster via crmd on autopkgtest-lxc-fisgca
* 1 node configured
* 0 resource instances configured
Node List:
* Online: [ autopkgtest-lxc-fisgca ]
Full List of Resources:
* No resources
```
Cheers,
Simon Chopin
-------------- next part --------------
diff -Nru booth-1.0-237-gdd88847/debian/tests/pacemaker booth-1.0-237-gdd88847/debian/tests/pacemaker
--- booth-1.0-237-gdd88847/debian/tests/pacemaker 2021-09-22 22:33:36.000000000 +0200
+++ booth-1.0-237-gdd88847/debian/tests/pacemaker 2021-12-17 17:49:22.000000000 +0100
@@ -28,7 +28,7 @@
start_service corosync
start_service pacemaker
n=0
-while ! crm status | grep 'Online:.*node1'; do
+while ! crm status | grep "\\* Online: "; do
test "$n" -lt 120
sleep 1
n=$((n+1))
More information about the Debian-ha-maintainers
mailing list