Bug 1923787 - octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py", line 22 No module named 'httpcore'
Summary: octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py", line...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-httpx
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: OSP Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-01 22:09 UTC by wes hayutin
Modified: 2022-09-21 12:14 UTC (History)
6 users (show)

Fixed In Version: python-httpx-0.17.1-1.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:13:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-15178 0 None None None 2022-05-11 17:20:11 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:14:33 UTC

Description wes hayutin 2021-02-01 22:09:11 UTC
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.

Comment 1 Carlos Goncalves 2021-02-02 08:31:01 UTC
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/

Comment 2 Yatin Karel 2021-02-03 14:47:21 UTC
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.

Comment 4 Jon Schlueter 2021-02-03 15:29:37 UTC
internal build available

Comment 14 errata-xmlrpc 2022-09-21 12:13:29 UTC
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


Note You need to log in before you can comment on or make changes to this bug.