[Bug 2125423] Re: python-eventlet FTBFS due test failing
Launchpad Bug Tracker
2125423 at bugs.launchpad.net
Wed Sep 24 16:52:45 UTC 2025
This bug was fixed in the package python-eventlet - 0.30.2-5ubuntu2.2
---------------
python-eventlet (0.30.2-5ubuntu2.2) jammy-security; urgency=medium
* SECURITY UPDATE: HTTP Request smuggling
- debian/patches/CVE-2025-58068.patch: Fix request smuggling
vulnerability by discarding trailers in eventlet/wsgi.py.
- debian/patches/fixing_tests.py: shrinks window before connecting
in tests/greenio_test.py. This test was causing a FTBFS (LP: #2125423).
- CVE-2025-58068
-- Leonidas Da Silva Barbosa <leo.barbosa at canonical.com> Mon, 15 Sep
2025 15:03:56 -0300
** Changed in: python-eventlet (Ubuntu)
Status: Confirmed => Fix Released
** CVE added: https://cve.org/CVERecord?id=CVE-2025-58068
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-eventlet in Ubuntu.
https://bugs.launchpad.net/bugs/2125423
Title:
python-eventlet FTBFS due test failing
Status in python-eventlet package in Ubuntu:
Fix Released
Bug description:
python-eventlet is/was FTBFS due some tests in jammy and focal:
======================================================================
ERROR: test_full_duplex (tests.greenio_test.TestGreenSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/tests/greenio_test.py", line 406, in test_full_duplex
large_evt.wait()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/eventlet/greenthread.py", line 181, in wait
return self._exit_event.wait()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/eventlet/event.py", line 125, in wait
result = hub.switch()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/eventlet/hubs/hub.py", line 313, in switch
return self.greenlet.switch()
tests.TestIsTakingTooLong: 1
======================================================================
FAIL: test_full_duplex (tests.greenio_test.TestGreenSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/tests/__init__.py", line 208, in tearDown
verify_hub_empty()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/tests/__init__.py", line 260, in verify_hub_empty
assert num_readers == 0 and num_writers == 0, \
AssertionError: Readers: Listener FdListener('read', 17, <built-in method switch of GreenThread object at 0x715bb9ec4250>, <built-in method throw of GreenThread object at 0x715bb9ec4250>) for greenlet <GreenThread object at 0x715bb9ec4250 (otid=0x715bbaf7df80) suspended active started> with run callback None (1) Writers: (0)
======================================================================
FAIL: test_invalid_connection (tests.greenio_test.TestGreenSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/tests/__init__.py", line 208, in tearDown
verify_hub_empty()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/tests/__init__.py", line 260, in verify_hub_empty
assert num_readers == 0 and num_writers == 0, \
AssertionError: Readers: Listener FdListener('read', 17, <built-in method switch of GreenThread object at 0x715bb9ec4250>, <built-in method throw of GreenThread object at 0x715bb9ec4250>) for greenlet <GreenThread object at 0x715bb9ec4250 (otid=0x715bbaf7df80) suspended active started> with run callback None (1) Writers: (0)
======================================================================
FAIL: test_nonblocking_accept_mark_as_reopened (tests.greenio_test.TestGreenSocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/tests/__init__.py", line 208, in tearDown
verify_hub_empty()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_eventlet/build/tests/__init__.py", line 260, in verify_hub_empty
assert num_readers == 0 and num_writers == 0, \
AssertionError: Readers: Listener FdListener('read', 17, <built-in method switch of GreenThread object at 0x715bb9ec4250>, <built-in method throw of GreenThread object at 0x715bb9ec4250>) for greenlet <GreenThread object at 0x715bb9ec4250 (otid=0x715bbaf7df80) suspended active started> with run callback None (1) Writers: (0)
The fix is commit:
https://github.com/eventlet/eventlet/pull/905/commits/413327b229c80a97e9c89c52f7714224942701b4
Creating this bug more as a documentation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-eventlet/+bug/2125423/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list