[Debian-ha-maintainers] Bug#998707: pcs: autopkgtest needs update for new version of pacemaker: error and warning message text changed
Paul Gevers
elbrus at debian.org
Sat Nov 6 21:03:49 GMT 2021
Source: pcs
Version: 0.10.8-1
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org, pacemaker at packages.debian.org
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:pacemaker
Dear maintainer(s),
With a recent upload of pacemaker the autopkgtest of pcs fails in
testing when that autopkgtest is run with the binary packages of
pacemaker from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
pacemaker from testing 2.1.1-2
pcs from testing 0.10.8-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of pacemaker to
testing [1]. Of course, pacemaker shouldn't just break your autopkgtest
(or even worse, your package), but it seems to me that the change in
pacemaker was intended and your package needs to update to the new
situation.
If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from pacemaker should really
add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=pacemaker
https://ci.debian.net/data/autopkgtest/testing/amd64/p/pcs/16475622/log.gz
======================================================================
FAIL: test_fail_when_nonexisting_agent
(pcs_test.tier1.cib_resource.test_create.FailOrWarn)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/cib_resource/test_create.py",
line 934, in test_fail_when_nonexisting_agent
self.assert_pcs_fail(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 93, in assert_pcs_fail
self.assert_pcs_result(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 162, in assert_pcs_result
self.fail(
AssertionError: Stdout does not match the expected regexp
command: ['resource', 'create', 'R', 'ocf:heartbeat:NoExisting']
regexp:
^Error: Agent 'ocf:heartbeat:NoExisting' is not installed or does not
provide valid metadata:( crm_resource:)? Metadata query for
ocf:heartbeat:NoExisting failed: (-5|Input/output error)(, Error
performing operation: Input/output error)?, use --force to override
$ (flags: MULTILINE, UNICODE)
Full stdout:
Error: Agent 'ocf:heartbeat:NoExisting' is not installed or does not
provide valid metadata: crm_resource: Metadata query for
ocf:heartbeat:NoExisting failed: No such device or address, Error
performing operation: No such object, use --force to override
======================================================================
FAIL: test_warn_when_forcing_noexistent_agent
(pcs_test.tier1.cib_resource.test_create.FailOrWarn)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/cib_resource/test_create.py",
line 952, in test_warn_when_forcing_noexistent_agent
self.assert_effect(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/cib.py",
line 91, in assert_effect
self.assert_effect_single(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/cib.py",
line 60, in assert_effect_single
self.assert_pcs_success(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 81, in assert_pcs_success
self.assert_pcs_result(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 162, in assert_pcs_result
self.fail(
AssertionError: Stdout does not match the expected regexp
command: ['resource', 'create', 'R', 'ocf:heartbeat:NoExisting', '--force']
regexp:
^Warning: Agent 'ocf:heartbeat:NoExisting' is not installed or does not
provide valid metadata:( crm_resource:)? Metadata query for
ocf:heartbeat:NoExisting failed: (-5|Input/output error)(, Error
performing operation: Input/output error)?
$ (flags: MULTILINE, UNICODE)
Full stdout:
Warning: Agent 'ocf:heartbeat:NoExisting' is not installed or does not
provide valid metadata: crm_resource: Metadata query for
ocf:heartbeat:NoExisting failed: No such device or address, Error
performing operation: No such object
======================================================================
FAIL: test_error_when_not_valid_agent
(pcs_test.tier1.cib_resource.test_stonith_create.PlainStonith)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/cib_resource/test_stonith_create.py",
line 78, in test_error_when_not_valid_agent
self.assert_pcs_fail(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 93, in assert_pcs_fail
self.assert_pcs_result(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 181, in assert_pcs_result
self.assertEqual(
AssertionError: "Erro[136 chars]evice or address, Error performing
operation: [37 chars]de\n" != "Erro[136 chars]evice, Error performing
operation: No such dev[26 chars]de\n"
- Error: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device or address, Error performing operation: No such object, use
--force to override
?
----------- ^^^^^^
+ Error: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device, Error performing operation: No such device, use --force to
override
?
^^^^^^
: Stdout is not as expected
command: ['stonith', 'create', 'S', 'absent']
diff is (expected is 2nd):
- Error: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device or address, Error performing operation: No such object, use
--force to override
?
----------- ^^^^^^
+ Error: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device, Error performing operation: No such device, use --force to
override
?
^^^^^^
Full stdout:
Error: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device or address, Error performing operation: No such object, use
--force to override
======================================================================
FAIL: test_warning_when_not_valid_agent
(pcs_test.tier1.cib_resource.test_stonith_create.PlainStonith)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/cib_resource/test_stonith_create.py",
line 103, in test_warning_when_not_valid_agent
self.assert_effect(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/cib.py",
line 91, in assert_effect
self.assert_effect_single(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/cib.py",
line 60, in assert_effect_single
self.assert_pcs_success(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 81, in assert_pcs_success
self.assert_pcs_result(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 181, in assert_pcs_result
self.assertEqual(
AssertionError: "Warn[138 chars]evice or address, Error performing
operation: No such object\n" != "Warn[138 chars]evice, Error performing
operation: No such device\n"
- Warning: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device or address, Error performing operation: No such object
?
----------- ^^^ ^
+ Warning: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device, Error performing operation: No such device
?
^ ++ ^
: Stdout is not as expected
command: ['stonith', 'create', 'S', 'absent', '--force']
diff is (expected is 2nd):
- Warning: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device or address, Error performing operation: No such object
?
----------- ^^^ ^
+ Warning: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device, Error performing operation: No such device
?
^ ++ ^
Full stdout:
Warning: Agent 'absent' is not installed or does not provide valid
metadata: crm_resource: Metadata query for stonith:absent failed: No
such device or address, Error performing operation: No such object
======================================================================
FAIL: testCloneGroupMember (pcs_test.tier1.legacy.test_resource.Resource)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/legacy/test_resource.py",
line 2324, in testCloneGroupMember
assert_pcs_status(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 429, in assert_pcs_status
raise AssertionError(
AssertionError: strings not equal:
* Resource Group: AG:
- * D1 (ocf:heartbeat:Dummy): Stopped
? -
+ * D1 (ocf::heartbeat:Dummy): Stopped
? +
* Clone Set: D0-clone [D0]:
======================================================================
FAIL: testClonedMasteredGroup (pcs_test.tier1.legacy.test_resource.Resource)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/legacy/test_resource.py",
line 3410, in testClonedMasteredGroup
assert_pcs_status(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 429, in assert_pcs_status
raise AssertionError(
AssertionError: strings not equal:
* Resource Group: dummies:
- * dummy1 (ocf:heartbeat:Dummy): Stopped
? -
+ * dummy1 (ocf::heartbeat:Dummy): Stopped
? +
- * dummy2 (ocf:heartbeat:Dummy): Stopped
? -
+ * dummy2 (ocf::heartbeat:Dummy): Stopped
? +
- * dummy3 (ocf:heartbeat:Dummy): Stopped
? -
+ * dummy3 (ocf::heartbeat:Dummy): Stopped
? +
======================================================================
FAIL: testGroupDeleteTest (pcs_test.tier1.legacy.test_resource.Resource)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/legacy/test_resource.py",
line 1224, in testGroupDeleteTest
assert_pcs_status(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 429, in assert_pcs_status
raise AssertionError(
AssertionError: strings not equal:
* Resource Group: AGroup:
- * A1 (ocf:heartbeat:Dummy): Stopped
? -
+ * A1 (ocf::heartbeat:Dummy): Stopped
? +
- * A2 (ocf:heartbeat:Dummy): Stopped
? -
+ * A2 (ocf::heartbeat:Dummy): Stopped
? +
- * A3 (ocf:heartbeat:Dummy): Stopped
? -
+ * A3 (ocf::heartbeat:Dummy): Stopped
? +
======================================================================
FAIL: testGroupOrder (pcs_test.tier1.legacy.test_resource.Resource)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/legacy/test_resource.py",
line 1419, in testGroupOrder
assert_pcs_status(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 429, in assert_pcs_status
raise AssertionError(
AssertionError: strings not equal:
- * F (ocf:heartbeat:Dummy): Stopped
? -
+ * F (ocf::heartbeat:Dummy): Stopped
? +
- * G (ocf:heartbeat:Dummy): Stopped
? -
+ * G (ocf::heartbeat:Dummy): Stopped
? +
- * H (ocf:heartbeat:Dummy): Stopped
? -
+ * H (ocf::heartbeat:Dummy): Stopped
? +
* Resource Group: RGA:
- * A (ocf:heartbeat:Dummy): Stopped
? -
+ * A (ocf::heartbeat:Dummy): Stopped
? +
- * B (ocf:heartbeat:Dummy): Stopped
? -
+ * B (ocf::heartbeat:Dummy): Stopped
? +
- * C (ocf:heartbeat:Dummy): Stopped
? -
+ * C (ocf::heartbeat:Dummy): Stopped
? +
- * E (ocf:heartbeat:Dummy): Stopped
? -
+ * E (ocf::heartbeat:Dummy): Stopped
? +
- * D (ocf:heartbeat:Dummy): Stopped
? -
+ * D (ocf::heartbeat:Dummy): Stopped
? +
- * K (ocf:heartbeat:Dummy): Stopped
? -
+ * K (ocf::heartbeat:Dummy): Stopped
? +
- * J (ocf:heartbeat:Dummy): Stopped
? -
+ * J (ocf::heartbeat:Dummy): Stopped
? +
- * I (ocf:heartbeat:Dummy): Stopped
? -
+ * I (ocf::heartbeat:Dummy): Stopped
? +
======================================================================
FAIL: testGroupRemoveWithConstraints1
(pcs_test.tier1.legacy.test_resource.Resource)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tier1/legacy/test_resource.py",
line 2717, in testGroupRemoveWithConstraints1
assert_pcs_status(
File
"/tmp/autopkgtest-lxc.pw0aw2ju/downtmp/build.FKF/src/pcs_test/tools/assertions.py",
line 429, in assert_pcs_status
raise AssertionError(
AssertionError: strings not equal:
* Resource Group: DGroup:
- * D1 (ocf:heartbeat:Dummy): Stopped
? -
+ * D1 (ocf::heartbeat:Dummy): Stopped
? +
- * D2 (ocf:heartbeat:Dummy): Stopped
? -
+ * D2 (ocf::heartbeat:Dummy): Stopped
? +
----------------------------------------------------------------------
Ran 6494 tests in 2313.797s
FAILED (failures=9, skipped=11)
autopkgtest [08:27:52]: test testsuite-python
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-ha-maintainers/attachments/20211106/fcbe2441/attachment-0003.sig>
More information about the Debian-ha-maintainers
mailing list