https://pantsbuild.org/ logo
w

worried-painter-31382

05/15/2023, 7:26 AM
Copy code
"Exception('Garbage collection failed: "Invalid file store entry at \\"/home/runner/.cache/pants/lmdb_store/immutable/files/f6/.tmpew1K80\\": InvalidStringLength"')"
Is the cache corrupted somehow?
Another example, https://github.com/pantsbuild/pants/actions/runs/4968964585/jobs/8891887575?pr=18925
Copy code
CRITICAL pants.pantsd.service.store_gc_service:store_gc_service.py:85 GC failed: Exception('Garbage collection failed: "Invalid file store entry at \\"/home/runner/.cache/pants/lmdb_store/immutable/files/3f/.tmpyJIvqD\\": InvalidStringLength"')
same dealio
h

happy-kitchen-89482

05/15/2023, 2:27 PM
Ugh
Looks like it
w

worried-painter-31382

05/15/2023, 3:15 PM
Would it be acceptable to open a pr pointing that testcases cache to a random dir instead, to make it stop crying wolf? Or is that just hiding a problem? I dont think I can do much else on my end.
e

enough-analyst-54434

05/15/2023, 3:21 PM
This would appear to be critical as the message says until proven otherwise. If you could file an issue I think @bitter-ability-32190 and @witty-crayon-22786 will have the best context to triage this.
w

worried-painter-31382

05/15/2023, 3:32 PM