-
Bug
-
Resolution: Done
-
Undefined
-
None
-
CentOS Stream 10, rhel-10.0
-
None
-
None
-
rhel-sst-cloudexperience
-
0
-
False
-
-
None
-
None
-
None
-
None
-
None
awscli2 fails to build on CS10 / RHEL 10
https://kojihub.stream.centos.org/koji/taskinfo?taskID=3632802
It is failling on tests with:
=================================== FAILURES =================================== _ TestPromptToolkitDocBuffer.test_doc_panel_content[args5-Describes the specified] _ self = <tests.functional.autoprompt.test_prompttoolkit.TestPromptToolkitDocBuffer object at 0xffff5ee745c0> prompter = <awscli.autoprompt.prompttoolkit.PromptToolkitPrompter object at 0xfffe2243b110> args = ['ec2', 'describe-instances', '--instance-ids'] expected_docs = 'Describes the specified' @pytest.mark.parametrize( 'args,expected_docs', [ ([' '], 'AWS Command Line Interface'), (['fake'], 'AWS Command Line Interface'), (['ec2'], 'Elastic Compute Cloud'), (['ec2', 'fake'], 'Elastic Compute Cloud'), (['ec2', 'describe-instances'], 'Describes the specified'), (['ec2', 'describe-instances', '--instance-ids'], 'Describes the specified'), ] ) def test_doc_panel_content(self, prompter, args, expected_docs): prompter.args = args app_runner = PromptToolkitAppRunner( app=prompter.app, pre_run=prompter.pre_run) with app_runner.run_app_in_thread(): > assert expected_docs in prompter.doc_buffer.document.text E AssertionError: assert 'Describes the specified' in '' E + where '' = Document('', 0).text E + where Document('', 0) = <Buffer(name='doc_buffer', text='') at 281466961638368>.document E + where <Buffer(name='doc_buffer', text='') at 281466961638368> = <awscli.autoprompt.prompttoolkit.PromptToolkitPrompter object at 0xfffe2243b110>.doc_buffer tests/functional/autoprompt/test_prompttoolkit.py:249: AssertionError =========================== short test summary info ============================ FAILED tests/functional/autoprompt/test_prompttoolkit.py::TestPromptToolkitDocBuffer::test_doc_panel_content[args5-Describes the specified] =========== 1 failed, 67054 passed, 8 skipped in 2363.68s (0:39:23) ============