Closed
Description
First failure: https://buildbot.python.org/#/builders/484/builds/6224
Example of failure:
test_stls_context (test.test_poplib.TestPOP3Class.test_stls_context) ...
Warning -- Uncaught thread exception: SSLError
Exception in thread Thread-16:
Traceback (most recent call last):
(...)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Lib/test/test_poplib.py", line 203, in handle_read
asynchat.async_chat.handle_read(self)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Lib/test/support/asynchat.py", line 128, in handle_read
self.handle_error()
~~~~~~~~~~~~~~~~~^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Lib/test/support/asynchat.py", line 124, in handle_read
data = self.recv(self.ac_in_buffer_size)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Lib/test/support/asyncore.py", line 377, in recv
data = self.socket.recv(buffer_size)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Lib/ssl.py", line 1285, in recv
return self.read(buflen)
~~~~~~~~~^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64/build/Lib/ssl.py", line 1140, in read
return self._sslobj.read(len)
~~~~~~~~~~~~~~~~~^^^^^
ssl.SSLError: [SYS] unknown error (_ssl.c:2634)
ok
According to @encukou, the failure started to occur after a system update:
- OpenSSL 3.3.0→3.4.0
- Linux 5.15.0→6.8.0
- glibc 2.39→2.40
- GCC 13.2.1→14.2.1
- etc.
Linked PRs
- gh-127257: Add hex code to ssl "unknown error" message #127360
- gh-127257: ssl: Raise OSError for ERR_LIB_SYS #127361
- [3.13] gh-127257: ssl: Raise OSError for ERR_LIB_SYS (GH-127361) #127812
- [3.12] gh-127257: ssl: Raise OSError for ERR_LIB_SYS (GH-127361) #127905
- [3.11] gh-127257: ssl: Raise OSError for ERR_LIB_SYS (GH-127361) (GH-127905) #131970
- [3.10] gh-127257: ssl: Raise OSError for ERR_LIB_SYS (GH-127361) (GH-127905) #131971