Actions
Bug #20909
openPySDK tests.test_keep_client.KeepDiskCacheTestCase.test_disk_cache_cap fails on Debian 12
Story points:
0.5
Description
This test fails consistently on my Debian 12 system running Python 3.11 (from the Debian package) or Python 3.8 (built from source):
====================================================================== FAIL: test_disk_cache_cap (tests.test_keep_client.KeepDiskCacheTestCase.test_disk_cache_cap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/brett/Curii/arvados/sdk/python/.eggs/mock-3.0.5-py3.11.egg/mock/mock.py", line 1330, in patched return func(*args, **keywargs) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/brett/Curii/arvados/sdk/python/tests/test_keep_client.py", line 1700, in test_disk_cache_cap self.assertFalse(os.path.exists(os.path.join(self.disk_cache_dir, self.locator[0:3], self.locator+".keepcacheblock"))) AssertionError: True is not false
This might be specific to my system and a non-issue but looking at the test I'm skeptical. My first guess is that something is changing the ordering of things somewhere such that KeepBlockCache removes the more recent block, not the first one.
Updated by Brett Smith about 1 year ago
- Subject changed from Failing PySDK test on Debian 12/Python 3.11 to Failing PySDK test on Debian 12
This test also fails even if you build your own Python 3.8 and run the tests with it.
Updated by Peter Amstutz 9 months ago
- Target version changed from To be scheduled to Future
Updated by Brett Smith 8 months ago
- Subject changed from Failing PySDK test on Debian 12 to PySDK tests.test_keep_client.KeepDiskCacheTestCase fails on Debian 12
Updated by Brett Smith 8 months ago
- Subject changed from PySDK tests.test_keep_client.KeepDiskCacheTestCase fails on Debian 12 to PySDK tests.test_keep_client.KeepDiskCacheTestCase.test_disk_cache_cap fails on Debian 12
Actions