Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806232 - dev-python/urllib3-1.26.6 fails tests
Summary: dev-python/urllib3-1.26.6 fails tests
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-03 01:26 UTC by Jonathan Lovelace
Modified: 2022-06-16 08:40 UTC (History)
1 user (show)

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


Attachments
dev-python:urllib3-1.26.6:20210803-005121.log (dev-python:urllib3-1.26.6:20210803-005121.log,331.49 KB, text/x-log)
2021-08-03 01:26 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.60 KB, text/plain)
2021-08-03 01:26 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2021-08-03 01:26:35 UTC
Created attachment 729783 [details]
dev-python:urllib3-1.26.6:20210803-005121.log

On two of my three systems (the third hasn't caught up this far on updates), =dev-python/urllib3-1.26.6 fails its test phase. (Version 1.26.5 passed all its tests when I last installed it on July 2.) In python3_8 this is specifically the test TestHTTPS.test_verified in test/contrib/test_pyopenssl.py, with the following error lines in the build log:

E               assert [<warnings.WarningMessage object at 0x7f9f3c62a4f0>,\n <warnings.WarningMessage object at 0x7f9f3c62ae80>,\n <warnings.WarningMessage object at 0x7f9f3c62ee20>,\n <warnings.WarningMessage object at 0x7f9f3c62ebe0>] == []
E                 Left contains 4 more items, first extra item: <warnings.WarningMessage object at 0x7f9f3c62a4f0>
E                 Full diff:
E                   [
E                 -  ,
E                 +  <warnings.WarningMessage object at 0x7f9f3c62a4f0>,
E                 +  <warnings.WarningMessage object at 0x7f9f3c62ae80>,
E                 +  <warnings.WarningMessage object at 0x7f9f3c62ee20>,
E                 +  <warnings.WarningMessage object at 0x7f9f3c62ebe0>,
E                   ]

But when I tried a test build for python3_9 only, I also saw additional possibly-similar failures in TestHTTPS_TLSv1_2.test_no_tls_version_deprecation_with_ssl_context, TestHTTPS_TLSv1_3.test_verified, and TestHTTPS_TLSv1_2.test_verified. I can provide that build log as well if desired.
Comment 1 Jonathan Lovelace 2021-08-03 01:26:53 UTC
Created attachment 729786 [details]
emerge-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-16 08:40:53 UTC
old version.