Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911803 - dev-python/python-glanceclient-4.3.0 fails tests (PYTHON-3.12-SYSTEM): AssertionError: Certificate failure message is received
Summary: dev-python/python-glanceclient-4.3.0 fails tests (PYTHON-3.12-SYSTEM): Assert...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2023-08-06 07:14 UTC by Agostino Sarubbo
Modified: 2024-03-24 02:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,248.78 KB, text/plain)
2023-08-06 07:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-08-06 07:14:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/python-glanceclient-4.3.0 fails tests (PYTHON-3.12-SYSTEM).
Discovered on: amd64 (internal ref: python-3.12_tinderbox)

NOTE:
(PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-06 07:14:04 UTC
Created attachment 867195 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-06 07:14:06 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


AssertionError: Certificate failure message is received
FAIL: test_v2_requests_valid_cert_verification (test_ssl.TestHTTPSVerifyCert)
FAIL: test_v2_requests_valid_cert_verification_no_compression (test_ssl.TestHTTPSVerifyCert)
FAILED (failures=2, errors=4)
TypeError: a bytes-like object is required, not 'str'
glanceclient.exc.CommunicationError: Error finding address for https://0.0.0.0:43973/v2/images/image123: HTTPSConnectionPool(host='0.0.0.0', port=43973): Max retries exceeded with url: /v2/images/image123 (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)")))
glanceclient.exc.CommunicationError: Error finding address for https://0.0.0.0:53157/v2/images/image123: HTTPSConnectionPool(host='0.0.0.0', port=53157): Max retries exceeded with url: /v2/images/image123 (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)")))
requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0', port=43973): Max retries exceeded with url: /v2/images/image123 (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)")))
requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0', port=53157): Max retries exceeded with url: /v2/images/image123 (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)")))
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='0.0.0.0', port=43973): Max retries exceeded with url: /v2/images/image123 (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)")))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='0.0.0.0', port=53157): Max retries exceeded with url: /v2/images/image123 (Caused by SSLError(SSLCertVerificationError(1, "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)")))
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: IP address mismatch, certificate is not valid for '0.0.0.0'. (_ssl.c:1011)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 02:42:50 UTC
Mass-closing "PYTHON-3.12-SYSTEM" bugs.  Most of them are either obsolete (i.e. packages have 3.12 support already), or report issues completely tangential to Python 3.12 support.  Manually checking them is a waste of time.