[Bug 2125423] [NEW] python-eventlet FTBFS due test failing
Leonidas S. Barbosa
2125423 at bugs.launchpad.net
Mon Sep 22 15:55:12 UTC 2025
Public bug reported:
python-eventlet is/was FTBFS due some tests in jammy:
======================================================================
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.
** Affects: python-eventlet (Ubuntu)
Importance: Undecided
Status: Confirmed
--
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:
Confirmed
Bug description:
python-eventlet is/was FTBFS due some tests in jammy:
======================================================================
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