Project

General

Profile

Actions

Bug #20909

open

PySDK tests.test_keep_client.KeepDiskCacheTestCase.test_disk_cache_cap fails on Debian 12

Added by Brett Smith 8 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Tests
Target version:
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.

Actions #1

Updated by Brett Smith 6 months 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.

Actions #2

Updated by Brett Smith 6 months ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz about 2 months ago

  • Target version changed from To be scheduled to Future
Actions #4

Updated by Brett Smith about 2 months ago

  • Subject changed from Failing PySDK test on Debian 12 to PySDK tests.test_keep_client.KeepDiskCacheTestCase fails on Debian 12
Actions #5

Updated by Brett Smith about 2 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

Also available in: Atom PDF