Source: python-cinderclient Version: 1:9.1.0-2 Severity: serious Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update User: debian-pyt...@lists.debian.org 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
OpenPGP_signature
Description: OpenPGP digital signature