Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-25946

[RHEL10][CS10][FTBFS] awscli2 fails to build on CS10 and RHEL10

    • None
    • None
    • rhel-sst-cloudexperience
    • 0
    • False
    • Hide

      None

      Show
      None
    • 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) ============
       

              major@redhat.com Major Hayden
              tdawson@redhat.com Troy Dawson
              Major Hayden Major Hayden
              Nicolas Munoz Nicolas Munoz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: