Public bug reported:
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
** Affects: glance
Importance: Undecided
Status: New
--
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:
New
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
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp