Zulip Chat Archive
Stream: general
Topic: ltar cache failures in CI
Eric Wieser (Aug 21 2023 at 15:17):
CI seems to be failing with
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }', /project/src/ltar.rs:57:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }', /project/src/ltar.rs:57:34
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }', /project/src/ltar.rs:57:34
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }', /project/src/ltar.rs:57:34
Oliver Nash (Aug 21 2023 at 16:33):
This just happened in two bors runs (admittedly one was a rerun of the same PR).
Anatole Dedecker (Aug 21 2023 at 16:34):
I noticed that just rerunning the failed task doesn’t work, you have to redo everything for it to fix itself
Oliver Nash (Aug 21 2023 at 16:35):
Do we understand what is going on here? It's totally opaque to me.
Mario Carneiro (Aug 21 2023 at 21:41):
That error message means that the .ltar
file was truncated in the middle
Mario Carneiro (Aug 21 2023 at 21:42):
usually this happens when the download fails or is cancelled and the cleanup doesn't work for some reason
Mario Carneiro (Aug 21 2023 at 21:42):
although it could also be that the cache file uploaded to the server was truncated
Alex J. Best (Aug 21 2023 at 22:38):
Can there be some sort of checksum at the start of ltar files or something to check that the file isn't corrupted / truncated and emit a good error message / redownload in that case?
Last updated: Dec 20 2023 at 11:08 UTC