Bug 2220377
| Summary: | F39FailsToInstall: python3-openstacksdk, python3-openstacksdk-tests | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | python-openstacksdk | Assignee: | Joel Capitao <jcapitao> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | apevec, jcapitao, jpena, openstack-sig |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-10 15:04:43 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2135404, 2168845, 2220187, 2220256, 2220271, 2220318, 2220319, 2220331, 2220355, 2220371, 2220376, 2220384, 2220385, 2220489, 2220498, 2220529, 2220541 | ||
|
Description
Fedora Fails To Install
2023-07-05 19:16:55 UTC
======================================================================
FAIL: test_create_unknown_proxy (openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy)
openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/builddir/build/BUILD/openstacksdk-1.0.1/openstack/tests/unit/test_connection.py", line 164, in test_create_unknown_proxy
self.assertThat(
File "/usr/lib/python3.12/site-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: len([<warnings.WarningMessage object at 0x7fa362261010>, <warnings.WarningMessage object at 0x7fa363405670>, <warnings.WarningMessage object at 0x7fa362261dc0>]) != 0
----------------------------------------------------------------------
Ran 1 test in 0.056s
FAILED (failures=1)
<mock-chroot> sh-5.2# python3 -m unittest -v openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy
test_create_unknown_proxy (openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy)
openstack.tests.unit.test_connection.TestConnection.test_create_unknown_proxy ... /usr/lib/python3.12/site-packages/keystoneauth1/_utils.py:73: DeprecationWarning: datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.now(datetime.UTC).
now = datetime.datetime.utcnow()
/builddir/build/BUILD/openstacksdk-1.0.1/openstack/tests/unit/base.py:504: ResourceWarning: unclosed file <_io.TextIOWrapper name='openstack/tests/unit/fixtures/placement.json' mode='r' encoding='UTF-8'>
text=open(discovery_fixture, 'r').read())
ResourceWarning: Enable tracemalloc to get the object allocation traceback
I pushed a patch on upstream keytoneauth repo [1] to clear the warning deprecation message. [1] https://review.opendev.org/c/openstack/keystoneauth/+/888033 Until then, let's skip the unit test for now https://src.fedoraproject.org/rpms/python-openstacksdk/c/bf93575386135550895f69203838dd7dbc24f75d?branch=rawhide |