Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [=================================== FAILURES ===================================
_ test_naked_invocation[args3-usage:\n    http --pretty {all, colors, format, none} [METHOD] URL [REQUEST_ITEM ...]\n\nerror:\n    argument --pretty: invalid choice: '$invalid' (choose from 'all', 'colors', 'format', 'none')\n\nfor more information:\n    run 'http --help' or visit https://httpie.io/docs/cli\n\n] _
ignore_terminal_size = None, args = ['--pretty', '$invalid']
expected_msg = "usage:\n    http --pretty {all, colors, format, none} [METHOD] URL [REQUEST_ITEM ...]\n\nerror:\n    argument --prett...', 'colors', 'format', 'none')\n\nfor more information:\n    run 'http --help' or visit https://httpie.io/docs/cli\n\n"
    @pytest.mark.parametrize(
        'args, expected_msg', [
            ([], NAKED_HELP_MESSAGE),
            (['--pretty'], NAKED_HELP_MESSAGE_PRETTY_WITH_NO_ARG),
            (['pie.dev', '--pretty'], NAKED_HELP_MESSAGE_PRETTY_WITH_NO_ARG),
            (['--pretty', '$invalid'], NAKED_HELP_MESSAGE_PRETTY_WITH_INVALID_ARG),
        ]
    )
    def test_naked_invocation(ignore_terminal_size, args, expected_msg):
        result = http(*args, tolerate_error_exit_status=True)
>       assert result.stderr == expected_msg
E       AssertionError: assert 'usage:\n    .../docs/cli\n\n' == 'usage:\n    .../docs/cli\n\n'
E         
E           usage:
E               http --pretty {all, colors, format, none} [METHOD] URL [REQUEST_ITEM ...]
E           
E           error:
E         -     argument --pretty: invalid choice: '$invalid' (choose from 'all', 'colors', 'format', 'none')
E         ?                                                                -   -  -      -  -      -  -    -...
E         
E         ...Full output truncated (5 lines hidden), use '-vv' to show
tests/test_cli_ui.py:65: AssertionError
----------------------------- Captured stderr call -----------------------------
]: [The test suite failed.]
=============
[_______________________ test_plugins_installation[True] ________________________
httpie_plugins_success = <function httpie_plugins_success.<locals>.runner at 0x3ff9fdd7920>
interface = Interface(path=PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_plugins_installation_True0/interface'), environment=<...dout': <tempfile._TemporaryFileWrapper object at 0x3ff9fdd7890>,
 'stdout_encoding': 'utf-8',
 'stdout_isatty': True}>)
dummy_plugin = Plugin(interface=Interface(path=PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_plugins_installation_True0/interface...ue}>), name='httpie-0a89011a', version='1.0.0', entry_points=[EntryPoint(name='test', group='httpie.plugins.auth.v1')])
cli_mode = True
    @pytest.mark.requires_installation
    @pytest.mark.parametrize('cli_mode', [True, False])
    def test_plugins_installation(httpie_plugins_success, interface, dummy_plugin, cli_mode):
>       lines = httpie_plugins_success('install', dummy_plugin.path, cli_mode=cli_mode)
tests/test_plugins_cli.py:10: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
]: [Installation of dummy plugin failed.]
=============
[error: Bad exit status from /var/tmp/rpm-tmp.afkYZL (%check)
    Bad exit status from /var/tmp/rpm-tmp.afkYZL (%check)
Child return code was: 1
]: [The build failed in %check phase.]


Answer: Issue: The test suite in %check section failed.
Resolution: It seems that the test suite is trying to install a plugin. Make sure that it does not require an internet connection, as all builds are done without an internet connection.

Work with upstream on fixing the test suite.

Alternatively, you may temporarily disable the test suite.