alamb opened a new issue, #19114: URL: https://github.com/apache/datafusion/issues/19114
### Describe the bug @adriangb r[eports on discord](https://discord.com/channels/885562378132000778/1166447479609376850/1446513344227049644): `cache::list_files_cache::tests::test_cache_with_ttl_and_lru` is intermittently failing on CI ### To Reproduce > Seems like it's failing on main: https://github.com/apache/datafusion/actions/runs/19962057560/job/57244600157#step:4:2618 ``` failures: ---- cache::list_files_cache::tests::test_cache_with_ttl_and_lru stdout ---- thread 'cache::list_files_cache::tests::test_cache_with_ttl_and_lru' (146096) panicked at datafusion/execution/src/cache/list_files_cache.rs:618:9: assertion failed: cache.contains_key(&path3) stack backtrace: 0: __rustc::rust_begin_unwind at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 1: core::panicking::panic_fmt at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 2: core::panicking::panic at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:145:5 3: test_cache_with_ttl_and_lru at ./src/cache/list_files_cache.rs:618:9 4: {closure#0} at ./src/cache/list_files_cache.rs:596:37 5: call_once<datafusion_execution::cache::list_files_cache::tests::test_cache_with_ttl_and_lru::{closure_env#0}, ()> at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 6: core::ops::function::FnOnce::call_once at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ``` Also failed on a PR with unrelated changes https://github.com/apache/datafusion/actions/runs/19966253699/job/57258712946?pr=19094#step:4:2618 ### Expected behavior test should always pass (or fail) not intermittently pass ### Additional context The test is here https://github.com/apache/datafusion/blame/a5fc3c704b261f3a3ccf35089b93d8424901ba96/datafusion/execution/src/cache/list_files_cache.rs#L596 It was added in https://github.com/apache/datafusion/commit/d150af7b2b7aeadff47d74f8e3e44a2bbab80bd7 / https://github.com/apache/datafusion/pull/18855 from @BlakeOrth I suspect the runner is so slow that the ttl expires prematurely -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
