yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #95029
[Bug 2089746] Re: TestCacheWorker.test_worker_lifecycle fails in Python 3.13
Hello Thomas,
This should now be fixed with eventlet 0.38.1. Thanks for your report!
I'll mark this bug as closed, feel free to reopen it if you still face
this issue with eventlet 0.38.1.
** Changed in: glance
Status: New => Fix Released
** Changed in: glance
Assignee: (unassigned) => Cyril Roelandt (cyril-roelandt)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/2089746
Title:
TestCacheWorker.test_worker_lifecycle fails in Python 3.13
Status in Glance:
Fix Released
Bug description:
Hi,
This unit tests:
glance.tests.unit.v2.test_cache_management_api.TestCacheWorker.test_worker_lifecycle
fails when building the Debian package of Glance 29.0.0 in Debian
unstable (which is using Python 3.13). Below is the test result:
testtools.testresult.real._StringException: pythonlogging:'': {{{
2024-11-27 08:24:35,418 INFO [glance.api.v2.cached_images] Signaling cache worker thread to exit
2024-11-27 08:24:35,420 INFO [glance.api.v2.cached_images] Cache worker thread exited
}}}
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/mock.py", line 1423, in patched
return func(*newargs, **newkeywargs)
File "/<<PKGBUILDDIR>>/glance/tests/unit/v2/test_cache_management_api.py", line 160, in test_worker_lifecycle
self.assertFalse(worker.is_alive())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/unittest/case.py", line 738, in assertFalse
raise self.failureException(msg)
AssertionError: True is not false
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/2089746/+subscriptions
References