Bug#917462: pcs: autopkgtest needs update for new version of pacemaker

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#917462: pcs: autopkgtest needs update for new version of pacemaker

Paul Gevers-4
Source: pcs
Version: 0.9.166-3
X-Debbugs-CC: [hidden email], [hidden email]
User: [hidden email]
Usertags: needs-update
Control: affects -1 src:pacemaker

Dear maintainers,

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    1.1.19-2
pcs                    from testing    0.9.166-3
all others             from testing    from testing

I copied some of the output at the bottom of this report. It seems that
you just need to update the references of your test to changed text in
an error message.

Currently this regression is contributing to the delay of 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 needed, please change the bug's severity.

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/1592226/log.gz

======================================================================
FAIL: test_error_when_not_valid_agent
(pcs.test.cib_resource.test_stonith_create.PlainStonith)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python3/dist-packages/pcs/test/cib_resource/test_stonith_create.py",
line 72, in test_error_when_not_valid_agent
    "$", re.MULTILINE
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 93, in assert_pcs_fail
    returncode=1
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 164, in assert_pcs_result
    stdout=stdout,
AssertionError: Stdout does not match the expected regexp
command: stonith create S absent
regexp:
^Error: Agent 'absent' is not installed or does not provide valid
metadata: Metadata query for stonith:absent failed: (-5|Input/output
error), use --force to override
$ (flags: MULTILINE, UNICODE)

Full stdout:
Error: Agent 'absent' is not installed or does not provide valid
metadata: Agent absent not found or does not support meta-data: Invalid
argument (22)
Metadata query for stonith:absent failed: Input/output error, use
--force to override


======================================================================
FAIL: test_warning_when_not_valid_agent
(pcs.test.cib_resource.test_stonith_create.PlainStonith)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python3/dist-packages/pcs/test/cib_resource/test_stonith_create.py",
line 93, in test_warning_when_not_valid_agent
    "$", re.MULTILINE
  File "/usr/lib/python3/dist-packages/pcs/test/tools/cib.py", line 75,
in assert_effect
    output, output_start, output_regexp
  File "/usr/lib/python3/dist-packages/pcs/test/tools/cib.py", line 53,
in assert_effect_single
    command, output, output_start, output_regexp
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 82, in assert_pcs_success
    returncode=0
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 164, in assert_pcs_result
    stdout=stdout,
AssertionError: Stdout does not match the expected regexp
command: stonith create S absent --force
regexp:
^Warning: Agent 'absent' is not installed or does not provide valid
metadata: Metadata query for stonith:absent failed: (-5|Input/output error)
$ (flags: MULTILINE, UNICODE)

Full stdout:
Warning: Agent 'absent' is not installed or does not provide valid
metadata: Agent absent not found or does not support meta-data: Invalid
argument (22)
Metadata query for stonith:absent failed: Input/output error


======================================================================
FAIL: test_nonextisting_agent (pcs.test.test_stonith.StonithDescribeTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pcs/test/test_stonith.py", line
81, in test_nonextisting_agent
    "$", re.MULTILINE
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 93, in assert_pcs_fail
    returncode=1
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 164, in assert_pcs_result
    stdout=stdout,
AssertionError: Stdout does not match the expected regexp
command: stonith describe fence_noexist
regexp:
^Error: Agent 'fence_noexist' is not installed or does not provide valid
metadata: Metadata query for stonith:fence_noexist failed:
(-5|Input/output error)
$ (flags: MULTILINE, UNICODE)

Full stdout:
Error: Agent 'fence_noexist' is not installed or does not provide valid
metadata: Agent fence_noexist not found or does not support meta-data:
Invalid argument (22)
Metadata query for stonith:fence_noexist failed: Input/output error


======================================================================
FAIL: testStonithCreation (pcs.test.test_stonith.StonithTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pcs/test/test_stonith.py", line
112, in testStonithCreation
    "$", re.MULTILINE
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 93, in assert_pcs_fail
    returncode=1
  File "/usr/lib/python3/dist-packages/pcs/test/tools/assertions.py",
line 164, in assert_pcs_result
    stdout=stdout,
AssertionError: Stdout does not match the expected regexp
command: stonith create test1 fence_noexist
regexp:
^Error: Agent 'fence_noexist' is not installed or does not provide valid
metadata: Metadata query for stonith:fence_noexist failed:
(-5|Input/output error), use --force to override
$ (flags: MULTILINE, UNICODE)

Full stdout:
Error: Agent 'fence_noexist' is not installed or does not provide valid
metadata: Agent fence_noexist not found or does not support meta-data:
Invalid argument (22)
Metadata query for stonith:fence_noexist failed: Input/output error, use
--force to override


signature.asc (499 bytes) Download Attachment