Description of problem: Failures during discovery 2021-01-31 19:13:02.156686 | primary | ========================= 2021-01-31 19:13:02.157913 | primary | --- import errors --- 2021-01-31 19:13:02.157933 | primary | Failed to import test module: octavia_tempest_plugin.tests.barbican_scenario.v2.test_tls_barbican 2021-01-31 19:13:02.157939 | primary | Traceback (most recent call last): 2021-01-31 19:13:02.157943 | primary | File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path 2021-01-31 19:13:02.157947 | primary | module = self._get_module_from_name(name) 2021-01-31 19:13:02.157952 | primary | File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name 2021-01-31 19:13:02.157956 | primary | __import__(name) 2021-01-31 19:13:02.157969 | primary | File "/usr/lib/python3.6/site-packages/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py", line 22, in <module> 2021-01-31 19:13:02.157982 | primary | import httpx 2021-01-31 19:13:02.157988 | primary | File "/usr/lib/python3.6/site-packages/httpx/__init__.py", line 2, in <module> 2021-01-31 19:13:02.157993 | primary | from ._api import delete, get, head, options, patch, post, put, request, stream 2021-01-31 19:13:02.157999 | primary | File "/usr/lib/python3.6/site-packages/httpx/_api.py", line 3, in <module> 2021-01-31 19:13:02.158005 | primary | from ._client import Client, StreamContextManager 2021-01-31 19:13:02.158011 | primary | File "/usr/lib/python3.6/site-packages/httpx/_client.py", line 7, in <module> 2021-01-31 19:13:02.158017 | primary | import httpcore 2021-01-31 19:13:02.158024 | primary | ModuleNotFoundError: No module named 'httpcore' 2021-01-31 19:13:02.158030 | primary | 2021-01-31 19:13:02.158036 | primary | ================================================================================ 2021-01-31 19:13:02.158042 | primary | The above traceback was encountered during test discovery which imports all the found test modules in the specified test_path.
It seems the work in BZ #1920039 to package httpx missed at least dependency of httpcore. httpcore was packaged in RDO a while ago along with many other httpx dependencies -- https://review.rdoproject.org/r/#/c/29827/
Actually httpcore package is available in osp17, issue is httpx is missing dep on httpcore and would need https://github.com/rdo-common/python-httpx/commit/2c4a96c7c67997920a93183d71c4ea9a6f1b6090 or can rebuild https://cbs.centos.org/koji/buildinfo?buildID=31424 against osp17.
internal build available
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:6543