ArcticDB icon indicating copy to clipboard operation
ArcticDB copied to clipboard

Flaky C++ tests due to unexpected LMDB errors

Open IvoDD opened this issue 1 year ago • 2 comments

Describe the bug

The VersionStoreTest.StressBatchReadUncompressed test has flaked here.

It might be rare since it's the only time I've seen this flake.

Steps/Code to Reproduce

Rerun VersionStoreTest.StressBatchReadUncompressed many times

Expected Results

The test always succeeds

OS, Python Version and ArcticDB Version

Windows C++ build (see here)

Backend storage used

No response

Additional Context

No response

IvoDD avatar Jan 19 '24 07:01 IvoDD

Looks like an LMDB error, nothing specific to this test

[ RUN      ] VersionStoreTest.StressBatchReadUncompressed
unknown file: error: C++ exception with description "mdb_drop: MDB_CORRUPTED: Located page was wrong type" thrown in TearDown().

alexowens90 avatar Mar 13 '24 14:03 alexowens90

I've seen other LMDB errors happening on multiple occasions on different C++ tests. E.g. here:

2024-08-02T10:32:07.9645365Z unknown file: error: C++ exception with description "E_UNEXPECTED_LMDB_ERROR Unexpected LMDB Error: LMDBError#-30796: mdb_get: MDB_CORRUPTED: Located page was wrong type for object *sTocompact_me_dynamic" thrown in the test body.
2024-08-02T10:32:07.9648447Z unknown file: error: C++ exception with description "E_UNEXPECTED_LMDB_ERROR Unexpected LMDB Error: LMDBError#-30796: mdb_drop: MDB_CORRUPTED: Located page was wrong type for object d" thrown in TearDown().
2024-08-02T10:32:07.9656514Z [  FAILED  ] VersionStoreTest.CompactIncompleteDynamicSchema (62 ms)

IvoDD avatar Aug 02 '24 10:08 IvoDD