Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935433 - dev-python/pip-24.1.1 fails tests on ppc, loong: SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))
Summary: dev-python/pip-24.1.1 fails tests on ppc, loong: SSLError(SSLCertVerification...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-03 23:03 UTC by matoro
Modified: 2024-07-03 23:03 UTC (History)
3 users (show)

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


Attachments
build.log and emerge --info (ppc) (file_935433.txt,691.88 KB, text/plain)
2024-07-03 23:03 UTC, matoro
Details
build.log and emerge --info (loong) (file_935433.txt,691.84 KB, text/plain)
2024-07-03 23:03 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-03 23:03:13 UTC
Really weird, this fails identically on these two arches, and no other tested, despite them having nothing in common with each other.  Possibly affected by some other sort of system configuration.

FAILED tests/functional/test_install.py::test_install_sends_client_cert[install_args0] - AssertionError: Script returned code: 1
FAILED tests/functional/test_install_config.py::test_prompt_for_authentication - AssertionError: Script result: python -m pip install --index-url https://localhost:45875/simple --cert /var/tmp/portage/dev-python/pip-24.1.1/temp/pytest-of-portage/pytest-0/popen-gw3/certs2/cert.pem --client-cert /var/tmp/portage/dev-python/pip-24.1.1/temp/pytest-of-portage/pytest-0/popen-gw3/certs2/cert.pem simple
    return code: 1
  -- stderr: --------------------
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/
  WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/
  WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/
  WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/
  WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/
  ERROR: Could not find a version that satisfies the requirement simple (from versions: none)
  ERROR: No matching distribution found for simple
  
  -- stdout: --------------------
  Looking in indexes: https://localhost:45875/simple
  Could not fetch URL https://localhost:45875/simple/simple/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='localhost', port=45875): Max retries exceeded with url: /simple/simple/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))) - skipping
  
assert 'User for localhost:45875' in "Looking in indexes: https://localhost:45875/simple\nCould not fetch URL https://localhost:45875/simple/simple/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='localhost', port=45875): Max retries exceeded with url: /simple/simple/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))) - skipping\n"
 +  where "Looking in indexes: https://localhost:45875/simple\nCould not fetch URL https://localhost:45875/simple/simple/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='localhost', port=45875): Max retries exceeded with url: /simple/simple/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))) - skipping\n" = <tests.lib.TestPipResult object at 0x7fffed0ba9f0>.stdout
FAILED tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - assert 'ERROR: HTTP error 401' in "WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nERROR: Could not find a version that satisfies the requirement simple (from versions: none)\nERROR: No matching distribution found for simple\n"
 +  where "WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1004)'))': /simple/simple/\nERROR: Could not find a version that satisfies the requirement simple (from versions: none)\nERROR: No matching distribution found for simple\n" = <tests.lib.TestPipResult object at 0x7fffec7bc7a0>.stderr
============= 3 failed, 2288 passed, 51 skipped, 14 xfailed, 2 xpassed, 56 warnings in 675.89s (0:11:15) ==============
Comment 1 matoro archtester 2024-07-03 23:03:30 UTC
Created attachment 896920 [details]
build.log and emerge --info (ppc)
Comment 2 matoro archtester 2024-07-03 23:03:43 UTC
Created attachment 896921 [details]
build.log and emerge --info (loong)