[Bug 1966512] [NEW] FTBS in jammy: FAIL: magnumclient.tests.test_shell.ShellTest.test_help_on_subcommand
Felipe Reyes
1966512 at bugs.launchpad.net
Fri Mar 25 18:35:23 UTC 2022
Public bug reported:
This failure is due to a change in python 3.10 where the string
"optional arguments" was changed to "options", more info at
https://docs.python.org/3/whatsnew/3.10.html#argparse and
https://bugs.python.org/issue9694 .
Upstream bug: https://storyboard.openstack.org/#!/story/2009946
Upstream fix: https://review.opendev.org/c/openstack/python-magnumclient/+/835217
Test failures:
======================================================================
FAIL: magnumclient.tests.test_shell.ShellTest.test_help_on_subcommand
magnumclient.tests.test_shell.ShellTest.test_help_on_subcommand
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/tests/test_shell.py", line 127, in test_help_on_subcommand
self.assertThat((stdout + stderr),
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'usage: magnum bay-create [--name <name>] --baymodel <baymodel>\n [--node-count <node-count>]\n [--master-count <master-count>]\n [--discovery-url <discovery-url>]\n [--timeout <timeout>]\n\nCreate a bay. (Deprecated in favor of cluster-create.)\n\nOptions:\n --name <name> Name of the bay to create.\n --baymodel <baymodel>\n ID or name of the baymodel.\n --node-count <node-count>\n The bay node count.\n --master-count <master-count>\n The number of master nodes for the bay.\n --discovery-url <discovery-url>\n Specifies custom discovery url for node discovery.\n --timeout <timeout> The timeout for bay creation in minutes. The default\n is 60 minutes.\n' does not match /.*?^Optional arguments:/
======================================================================
FAIL: magnumclient.tests.test_shell.ShellTestKeystoneV3.test_help_on_subcommand
magnumclient.tests.test_shell.ShellTestKeystoneV3.test_help_on_subcommand
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/tests/test_shell.py", line 127, in test_help_on_subcommand
self.assertThat((stdout + stderr),
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'usage: magnum bay-create [--name <name>] --baymodel <baymodel>\n [--node-count <node-count>]\n [--master-count <master-count>]\n [--discovery-url <discovery-url>]\n [--timeout <timeout>]\n\nCreate a bay. (Deprecated in favor of cluster-create.)\n\nOptions:\n --name <name> Name of the bay to create.\n --baymodel <baymodel>\n ID or name of the baymodel.\n --node-count <node-count>\n The bay node count.\n --master-count <master-count>\n The number of master nodes for the bay.\n --discovery-url <discovery-url>\n Specifies custom discovery url for node discovery.\n --timeout <timeout> The timeout for bay creation in minutes. The default\n is 60 minutes.\n' does not match /.*?^Optional arguments:/
** Affects: python-magnumclient (Ubuntu)
Importance: Undecided
Assignee: Felipe Reyes (freyes)
Status: New
** Changed in: python-magnumclient (Ubuntu)
Assignee: (unassigned) => Felipe Reyes (freyes)
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-magnumclient in Ubuntu.
https://bugs.launchpad.net/bugs/1966512
Title:
FTBS in jammy: FAIL:
magnumclient.tests.test_shell.ShellTest.test_help_on_subcommand
Status in python-magnumclient package in Ubuntu:
New
Bug description:
This failure is due to a change in python 3.10 where the string
"optional arguments" was changed to "options", more info at
https://docs.python.org/3/whatsnew/3.10.html#argparse and
https://bugs.python.org/issue9694 .
Upstream bug: https://storyboard.openstack.org/#!/story/2009946
Upstream fix: https://review.opendev.org/c/openstack/python-magnumclient/+/835217
Test failures:
======================================================================
FAIL: magnumclient.tests.test_shell.ShellTest.test_help_on_subcommand
magnumclient.tests.test_shell.ShellTest.test_help_on_subcommand
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/tests/test_shell.py", line 127, in test_help_on_subcommand
self.assertThat((stdout + stderr),
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'usage: magnum bay-create [--name <name>] --baymodel <baymodel>\n [--node-count <node-count>]\n [--master-count <master-count>]\n [--discovery-url <discovery-url>]\n [--timeout <timeout>]\n\nCreate a bay. (Deprecated in favor of cluster-create.)\n\nOptions:\n --name <name> Name of the bay to create.\n --baymodel <baymodel>\n ID or name of the baymodel.\n --node-count <node-count>\n The bay node count.\n --master-count <master-count>\n The number of master nodes for the bay.\n --discovery-url <discovery-url>\n Specifies custom discovery url for node discovery.\n --timeout <timeout> The timeout for bay creation in minutes. The default\n is 60 minutes.\n' does not match /.*?^Optional arguments:/
======================================================================
FAIL: magnumclient.tests.test_shell.ShellTestKeystoneV3.test_help_on_subcommand
magnumclient.tests.test_shell.ShellTestKeystoneV3.test_help_on_subcommand
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/tests/test_shell.py", line 127, in test_help_on_subcommand
self.assertThat((stdout + stderr),
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 'usage: magnum bay-create [--name <name>] --baymodel <baymodel>\n [--node-count <node-count>]\n [--master-count <master-count>]\n [--discovery-url <discovery-url>]\n [--timeout <timeout>]\n\nCreate a bay. (Deprecated in favor of cluster-create.)\n\nOptions:\n --name <name> Name of the bay to create.\n --baymodel <baymodel>\n ID or name of the baymodel.\n --node-count <node-count>\n The bay node count.\n --master-count <master-count>\n The number of master nodes for the bay.\n --discovery-url <discovery-url>\n Specifies custom discovery url for node discovery.\n --timeout <timeout> The timeout for bay creation in minutes. The default\n is 60 minutes.\n' does not match /.*?^Optional arguments:/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-magnumclient/+bug/1966512/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list