Your message dated Tue, 23 Dec 2025 17:42:14 +0100
with message-id <[email protected]>
and subject line Issue is in cmd2
has caused the Debian Bug report #1123448,
regarding python-mistralclient: FTBFS: : error: argument -s/--state: invalid
choice: 'IDLE' (choose from RUNNING, PAUSED, SUCCESS, ERROR, CANCELLED)
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.)
--
1123448: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123448
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-mistralclient
Version: 1:6.0.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-mistralclient, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3,sphinxdoc
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
rm -rf build .testrepository *.egg-info .stestr doc/source/api
find . -iname '*.pyc' -delete
for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
[... snipped ...]
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_get
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_get ... ok
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_get_sub_executions
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_get_sub_executions ...
ok
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_list
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_list ... ok
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_list_with_fields
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_list_with_fields ... ok
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_list_with_no_limit
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_list_with_no_limit ...
ok
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_rerun
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_rerun ... ok
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_rerun_no_reset
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_rerun_no_reset ... ok
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_rerun_update_env
mistralclient.tests.unit.v2.test_tasks.TestTasksV2.test_rerun_update_env ... ok
Request to delete action execution id has been accepted.
Request to delete action execution id1 has been accepted.
Request to delete action execution id2 has been accepted.
usage: [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>] [--fit-width]
[--print-empty] [--state {PAUSED,RUNNING,SUCCESS,ERROR,CANCELLED}]
[--output OUTPUT]
id
: error: argument --state: invalid choice: 'IDLE' (choose from 'PAUSED',
'RUNNING', 'SUCCESS', 'ERROR', 'CANCELLED')
usage: [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>] [--fit-width]
[--print-empty] [--state {PAUSED,RUNNING,SUCCESS,ERROR,CANCELLED}]
[--output OUTPUT]
id
: error: argument --state: invalid choice: 'WAITING' (choose from 'PAUSED',
'RUNNING', 'SUCCESS', 'ERROR', 'CANCELLED')
usage: [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>] [--fit-width]
[--print-empty] [--state {PAUSED,RUNNING,SUCCESS,ERROR,CANCELLED}]
[--output OUTPUT]
id
: error: argument --state: invalid choice: 'DELAYED' (choose from 'PAUSED',
'RUNNING', 'SUCCESS', 'ERROR', 'CANCELLED')
Request to delete action name has been accepted.
Request to delete action name1 has been accepted.
Request to delete action name2 has been accepted.
Request to delete action name1 has been accepted.
Request to delete action name2 has been accepted.
Request to delete action name has been accepted.
Request to delete code source 'hello_module' has been accepted.
Request to delete environment name has been accepted.
Request to delete environment name1 has been accepted.
Request to delete environment name2 has been accepted.
Request to delete event trigger id has been accepted.
Request to delete event trigger id1 has been accepted.
Request to delete event trigger id2 has been accepted.
Request to delete workflow name has been accepted.
Request to delete workflow name1 has been accepted.
Request to delete workflow name2 has been accepted.
======================================================================
FAIL:
mistralclient.tests.unit.test_shell.TestShell.test_command_interactive_mode
mistralclient.tests.unit.test_shell.TestShell.test_command_interactive_mode
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/usr/lib/python3.14/unittest/mock.py", line 1432, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/mistralclient/tests/unit/test_shell.py", line 44, in
test_command_interactive_mode
self.shell('')
~~~~~~~~~~^^^^
File "/<<PKGBUILDDIR>>/mistralclient/tests/unit/base_shell_test.py", line 35,
in shell
_shell.run(argstr.split())
~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/cliff/app.py", line 299, in run
self.interact()
~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/cliff/app.py", line 355, in interact
self.interpreter = interactive_app_factory(
~~~~~~~~~~~~~~~~~~~~~~~^
self,
^^^^^
...<2 lines>...
self.stdout,
^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/cliff/interactive.py", line 65, in
__init__
cmd2.Cmd.__init__(self, 'tab', stdin=stdin, stdout=stdout)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 618, in __init__
self._register_subcommands(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib/python3/dist-packages/cmd2/cmd2.py", line 1017, in
_register_subcommands
attached_parser = action.add_parser(subcommand_name, **add_parser_kwargs)
File "/usr/lib/python3.14/argparse.py", line 1282, in add_parser
parser = self._parser_class(**kwargs)
TypeError: Cmd2ArgumentParser.__init__() got an unexpected keyword argument
'color'
----------------------------------------------------------------------
Ran 270 tests in 1.570s
FAILED (failures=1)
+ echo ======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze
output...
======> STESTR TEST SUITE FAILED FOR python3.14: displaying pip3 freeze
output...
+ [ -x /usr/bin/pip3 ]
+ pip3 freeze
WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory
is not owned or is not writable by the current user. The cache has been
disabled. Check the permissions and owner of that directory. If executing pip
with sudo, you should use sudo's -H flag.
alabaster==0.7.16
amqp==5.3.1
attrs==25.4.0
autocommand==2.2.2
autopage==0.4.0
babel==2.17.0
bcrypt==5.0.0
blinker==1.9.0
cachetools==5.3.3
certifi==2025.11.12
chardet==5.2.0
charset-normalizer==3.4.4
cliff==4.11.0
cmd2==2.5.11+ds
colorama==0.4.6
confluent-kafka==2.12.2
cotyledon==1.7.3
coverage==7.8.2
cryptography==46.0.1
ddt==1.7.2
debtcollector==3.0.0
decorator==5.2.1
defusedxml==0.7.1
deprecation==2.1.0
dnspython==2.7.0
docutils==0.22.3
dogpile.cache==1.3.3
dulwich==0.24.10
eventlet==0.40.3
fasteners==0.19
fixtures==4.2.5
flake8==7.1.1
futurist==3.2.0
gabbi==3.0.0
gevent==24.11.1
gnocchiclient==7.2.0
greenlet==3.2.4
hacking==4.1.0
heat-tempest-plugin==2.6.0
httplib2==0.22.0
idna==3.10
imagesize==1.4.1
inflect==7.5.0
iniconfig==2.1.0
invoke==2.2.0
iso8601==2.1.0
jaraco.classes==3.4.0
jaraco.context==6.0.1
jaraco.functools==4.1.0
jaraco.text==4.0.0
jeepney==0.9.0
Jinja2==3.1.6
jmespath==1.0.1
jsonpatch==1.32
jsonpath-rw==1.4.0
jsonpath-rw-ext==1.2.2
jsonpointer==2.4
jsonschema==4.25.1
jsonschema-specifications==2023.12.1
keyring==25.7.0
keystoneauth1==5.12.0
kombu==5.5.4
legacy-cgi==2.6.4
lxml==6.0.2
Mako==1.3.10.dev0
MarkupSafe==3.0.3
mccabe==0.7.0
monotonic==1.6
more-itertools==10.8.0
msgpack==1.1.2
netaddr==1.3.0
oauthlib==3.3.1
openstackdocstheme==3.2.0
openstacksdk==4.7.2
os-client-config==2.3.0
os-collect-config==14.0.1
os-service-types==1.8.0
os-testr==3.0.0
osc-lib==4.2.0
oslo.concurrency==7.2.0
oslo.config==10.0.0
oslo.context==6.1.0
oslo.i18n==6.6.0
oslo.log==7.2.1
oslo.messaging==17.1.0
oslo.metrics==0.13.0
oslo.middleware==6.6.0
oslo.serialization==5.8.0
oslo.service==4.3.0
oslo.utils==9.1.0
oslotest==5.0.1
osprofiler==4.3.0
packaging==25.0
paramiko==4.0.0
Paste==3.10.1
PasteDeploy==3.1.0
pbr==7.0.3
platformdirs==4.4.0
pluggy==1.6.0
ply==3.11
prettytable==3.16.0
prometheus_client==0.21.1
psutil==7.1.0
pyasyncore==1.0.2
pycodestyle==2.12.1
pyflakes==3.2.0
Pygments==2.18.0
PyJWT==2.10.1
PyNaCl==1.5.0
pyOpenSSL==25.3.0
pyparsing==3.1.3
pyperclip==1.11.0
pytest==9.0.2
python-cinderclient==9.8.0
python-dateutil==2.9.0
python-glanceclient==4.10.0
python-heatclient==4.3.0
python-keystoneclient==5.7.0
python-mistralclient==6.0.0
python-neutronclient==11.6.0
python-novaclient==18.11.0
python-openstackclient==8.2.0
python-subunit==1.4.4
python-swiftclient==4.8.0
python-zaqarclient==4.1.0
PyYAML==6.0.2
pyzmq==27.1.0
referencing==0.36.2
repoze.lru==0.7
requests==2.32.5
requests_mock==1.12.1
requestsexceptions==1.4.0
rfc3986==2.0.0
roman-numerals==4.0.0
Routes==2.5.1
rpds-py==0.28.0
SecretStorage==3.5.0
setproctitle==1.3.7
setuptools==78.1.1
simplejson==3.20.1
six==1.17.0
snowballstemmer==3.0.1
Sphinx==8.2.3
sphinxcontrib-apidoc==0.6.0
statsd==4.0.1
stestr==4.2.0
stevedore==5.5.0
tempest==45.0.0
Tempita==0.6.0
tenacity==9.1.2
testrepository==0.0.21
testscenarios==0.5.0
testtools==2.7.2
tomlkit==0.13.3
typeguard==4.4.4
typing_extensions==4.15.0
ujson==5.11.0
urllib3==2.5.0
vine==5.1.0
voluptuous==0.15.2
warlock==2.1.0
wcwidth==0.2.14
WebOb==1.8.9
wheel==0.46.1
wrapt==1.17.3
wsgi_intercept==1.13.1
yappi==1.7.3
zipp==3.23.0
zope.event==6.0
zope.interface==8.1
+ exit 1
make[1]: *** [debian/rules:19: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Hi,
The issue is in cmd2, and I fixed it.
Cheers,
Thomas Goirand (zigo)
--- End Message ---