Project

General

Profile

Bug #20909

Updated by Brett Smith 6 months ago

This test fails consistently on my Debian 12 system running Python 3.11 (from the Debian package) or Python 3.8 (built from source): 3.11: 

 <pre>====================================================================== 
 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 
 </pre> 

 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.

Back