On 04/02/25 at 22:04 +0100, Lucas Nussbaum wrote:
Source: pcs
Version: 0.11.7-2
Severity: serious
Hi,
See https://ci.debian.net/packages/p/pcs/
It fails with:
test setup: test run
113s autopkgtest [13:34:07]: test setup: [-----------------------
113s Warning: Unable to read the known-hosts file: No such file or directory: '/var/lib/pcsd/known-hosts'
113s node1: Not authorized
114s Error: Unable to communicate with node1
114s Nodes to authorize: node1
115s passwd: password changed.
115s autopkgtest [13:34:09]: test setup: -----------------------]
▾ test setup: test results
115s autopkgtest [13:34:09]: test setup: - - - - - - - - - - results - - - - - - - - - -
115s setup FAIL non-zero exit status 1
I can reproduce the failure locally, but for me it also fails on
testing, while it does not on ci.debian.net. So I'm not sure where to go from there.
I don't understand how the 'setup' test is supposed to work.
The test is supposed to interact with a pcsd daemon, but it is never
started. I think something along the lines of this is needed:
--------------------------------------------------->8
--- debian/tests/setup.orig 2025-02-06 22:31:16.966589481 +0000
+++ debian/tests/setup 2025-02-06 22:32:29.543402182 +0000
@@ -1,26 +1,32 @@
#!/bin/sh
set -e
ulimit -H -l unlimited 2>/dev/null || {
# https://bugs.launchpad.net/bugs/1828228
echo "test disabled for unprivileged namespaces"
exit 77
}
cleanup () {
service pcsd stop
service pacemaker stop
service corosync stop
passwd --delete --lock hacluster
}
trap "cleanup" 0 2 3 15
+service corosync start
+service pacemaker start
+service pcsd start
On Tue, Feb 04, 2025 at 10:04:52PM +0100, Lucas Nussbaum wrote:
Source: pcs
Version: 0.11.7-2
Severity: serious
Hi,
See https://ci.debian.net/packages/p/pcs/
It fails with:
test setup: test run
113s autopkgtest [13:34:07]: test setup: [-----------------------
113s Warning: Unable to read the known-hosts file: No such file or directory: '/var/lib/pcsd/known-hosts'
113s node1: Not authorized
114s Error: Unable to communicate with node1
114s Nodes to authorize: node1
115s passwd: password changed.
115s autopkgtest [13:34:09]: test setup: -----------------------]
▾ test setup: test results
115s autopkgtest [13:34:09]: test setup: - - - - - - - - - - results - - - - - - - - - -
115s setup FAIL non-zero exit status 1
I can reproduce the failure locally, but for me it also fails on
testing, while it does not on ci.debian.net. So I'm not sure where to go from there.
I investigated this a little bit, and pcs is missing a dependency on `ruby-rackup`. Due to this, pcs-ruby.service fails to start, what causes pcs.service to not start due to the failed dependency.
This is due to the upgrade of ruby-rack to version 3.x.
I tried to prepare an NMU, but then pcs FTBFS on current unstable due to
a failure in the Python unit tests. I'm running a clean build here with sbuild and will report a bug if that's really the case.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 488 |
Nodes: | 16 (3 / 13) |
Uptime: | 09:03:24 |
Calls: | 9,664 |
Calls today: | 6 |
Files: | 13,711 |
Messages: | 6,167,195 |
Posted today: | 2 |