Your message dated Mon, 12 Dec 2022 09:07:14 +0000
with message-id <[email protected]>
and subject line Bug#1025028: fixed in python-cinderclient 1:9.1.0-3
has caused the Debian Bug report #1025028,
regarding python-cinderclient: (autopkgtest) needs update for python3.11: 
conflicting subparser: another-fake-action
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1025028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025028
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-cinderclient
Version: 1:9.1.0-2
Severity: serious
Tags: sid bookworm
User: [email protected]
Usertags: needs-update
User: [email protected]
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of python-cinderclient fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python3-defaults       from testing    3.10.6-3
python-cinderclient    from testing    1:9.1.0-2
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 python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-cinderclient/28728886/log.gz

======================================================================
FAIL: cinderclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_actions_with_versioned_args
cinderclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_actions_with_versioned_args
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3.11/unittest/mock.py", line 1369, in patched
    return func(*newargs, **newkeywargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/tests/unit/test_shell.py", line 538, in test_load_actions_with_versioned_args
    shell._find_actions(subparsers, fake_actions_module,
File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/shell.py", line 427, in _find_actions
    subparser = subparsers.add_parser(
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument <subcommand>: conflicting subparser: another-fake-action


======================================================================
FAIL: cinderclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_versioned_actions
cinderclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_versioned_actions
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/tests/unit/test_shell.py", line 392, in test_load_versioned_actions
    shell._find_actions(subparsers, fake_actions_module,
File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/shell.py", line 427, in _find_actions
    subparser = subparsers.add_parser(
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1197, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument <subcommand>: conflicting subparser: fake-action


======================================================================
FAIL: cinderclient.tests.unit.test_shell.ShellTest.test_help
cinderclient.tests.unit.test_shell.ShellTest.test_help
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/tests/unit/test_shell.py", line 129, in test_help
    self.assertThat(help_text,
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 478, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 530, in _matchHelper
    mismatch = matcher.match(matchee)
               ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/matchers/_basic.py", line 356, in match
    if not re.match(self.pattern, value, self.flags):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 166, in match
    return _compile(pattern, flags).match(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 3


======================================================================
FAIL: cinderclient.tests.unit.test_shell.ShellTest.test_help_arg_no_subcommand
cinderclient.tests.unit.test_shell.ShellTest.test_help_arg_no_subcommand
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/tests/unit/test_shell.py", line 161, in test_help_arg_no_subcommand
    self.assertThat(help_text,
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 478, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 530, in _matchHelper
    mismatch = matcher.match(matchee)
               ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/matchers/_basic.py", line 356, in match
    if not re.match(self.pattern, value, self.flags):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 166, in match
    return _compile(pattern, flags).match(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 3


======================================================================
FAIL: cinderclient.tests.unit.test_shell.ShellTest.test_help_on_subcommand
cinderclient.tests.unit.test_shell.ShellTest.test_help_on_subcommand
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/tests/unit/test_shell.py", line 139, in test_help_on_subcommand
    self.assertThat(help_text,
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 478, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 530, in _matchHelper
    mismatch = matcher.match(matchee)
               ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/matchers/_basic.py", line 356, in match
    if not re.match(self.pattern, value, self.flags):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 166, in match
    return _compile(pattern, flags).match(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 3


======================================================================
FAIL: cinderclient.tests.unit.test_shell.ShellTest.test_help_on_subcommand_mv
cinderclient.tests.unit.test_shell.ShellTest.test_help_on_subcommand_mv
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last): File "/tmp/autopkgtest-lxc.sogz78te/downtmp/build.8vO/src/cinderclient/tests/unit/test_shell.py", line 149, in test_help_on_subcommand_mv
    self.assertThat(help_text,
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 478, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 530, in _matchHelper
    mismatch = matcher.match(matchee)
               ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/testtools/matchers/_basic.py", line 356, in match
    if not re.match(self.pattern, value, self.flags):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 166, in match
    return _compile(pattern, flags).match(string)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/__init__.py", line 294, in _compile
    p = _compiler.compile(pattern, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
    p = _parser.parse(p, flags)
        ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
    p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
    itemsappend(_parse(source, state, verbose, nested + 1,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 3

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-cinderclient
Source-Version: 1:9.1.0-3
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-cinderclient, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-cinderclient 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 12 Dec 2022 09:26:51 +0100
Source: python-cinderclient
Architecture: source
Version: 1:9.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1025028
Changes:
 python-cinderclient (1:9.1.0-3) unstable; urgency=medium
 .
   * Fix python 3.11 related unit test crashes (Closes: #1025028):
     - add py3.11-fix_argparse_related_test_failures.patch
     - add py3.11_fix_crashes_in_ShellTest.patch
Checksums-Sha1:
 bf8c0c990d72cc7d12792680f8472a783612decf 2703 python-cinderclient_9.1.0-3.dsc
 dada838ac532c63da000a1326677d77a4c2e0a99 8660 
python-cinderclient_9.1.0-3.debian.tar.xz
 5c02482c7cc8ba954d9b61fa65eca41dcd6ba80c 12207 
python-cinderclient_9.1.0-3_amd64.buildinfo
Checksums-Sha256:
 7c7e0f9e2507e896215d4d7c8221f099db7c214134bbfa2e9b2e5d6ec2bf034e 2703 
python-cinderclient_9.1.0-3.dsc
 0d5b6e118bc1514875bc7a5032d65386a94c7d797c74604fe196a67f3e9befc7 8660 
python-cinderclient_9.1.0-3.debian.tar.xz
 f0622220f17f1e895c92f205fa148d62011e4250fddc11ebe2c9bcceab3f43f2 12207 
python-cinderclient_9.1.0-3_amd64.buildinfo
Files:
 d39ceb006ca5d4858bdd9e86d86ce585 2703 python optional 
python-cinderclient_9.1.0-3.dsc
 6cb78606695950c500adba39b4ea0c19 8660 python optional 
python-cinderclient_9.1.0-3.debian.tar.xz
 2c5d2d3b4807d5978792ff3aa450e36c 12207 python optional 
python-cinderclient_9.1.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmOW5sgACgkQ1BatFaxr
Q/7ehw/+I0LQGgMGQrOvX3z69pYR1LsioIJextsnhhXbiP+MpP30GAormgD7/VWh
vRcea/CmTcjJivne6qNR1g1QEXF1deo+nN8AmZMleI0vsb2sdNx6rgJMOifklTN9
wF0qZgqw2/9mdu98BDEnmmfgVT1FyvhaTdjZcGNJP0ucsihTqasHgxUqlsM/rZDb
o/aRrksGAtpYu4wT5G0hiO9S1+bt9bl+VD7mtef3kg9DHJbpf7ck1sGxuhLay2Vg
B0ddrPLidTCGkdluhNJNsxz8//wxTiSfA9VE4OYQz23bd6kpiSibO1l1oxPvQF4v
ekyJtoL6lEwdbeZAIhsanT53iJmQlnbmVK1I7dL7BaKu+a84ebSLEW3mFpydTyeG
7OHyrRKDPNQcum56iruHT9vmOLKncaf4HXHINsZDm/rEWiWbkUru6MjCF7ZNUnJT
ntut4cDtiFhrsAY5O3Y9jtS6IRgHx6NliXzRkz8OTboWhvdULmjwstY+G/jTPea3
AuQ0T3LDSPKagnCosDM4aWCjA3IeiSLDh0vgpVuVCcYPzoKNKoRJHh1337oJFRow
LaaJ8Clh872RG0VrYa3qZOjC6YVAlrARCIT9JeFKRhcK02EK5kUnRyTZRD1cy/zn
9vPgg18wFsczI6ylq1KoFdxTj2fWh3E5dxbaNYsC5NoUSiPa2GI=
=FBGf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to