-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Causing severe error: unexpected end-of-file
flakiness
#32
Comments
I have wiped the cache with
and jobs passed, so I'm quite convinced that something bad was sitting in that cache. I will report back if it ever shows up again. |
The problem is back. I guess I'll wipe it again. If anyone feels like it would help debugging, please let me know. Next time I can maybe hold off wiping the caches. |
For the record: happened again. |
any feedback? , we've also experience the same issues multiple times |
Also got hit with a surge of these errors last night in a private repo, ultra-minimal workflow: name: Build
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build Ran |
Hitting the same issue for some workflows TraceMachina/nativelink#619 |
This should be fixed by NixOS/nix#9804. (The "unexpected end-of-file" comes from the daemon crashing; the real error is in the systemd journal.) |
The CI in a project I started using
magic-nix-cache
is plaguedby a
error: unexpected end-of-file
Nix error flakiness. I need to restart a build good 2-3 times to get it to work.https://github.com/rustshop/flakebox/actions/runs/6488634562/job/17621433941
I've never seen anything like that, and I've been using mostly cachix before, just running out of space for all my projects. There's nothing really pointing at
magic-nix-cache
's fault in this, but eventually occurred to me to try with disabled magic-nix-cache and voila, the problem is immediately gone (but so is the sweet caching benefits :D). I kicked off another build on a seprate PR, also seems to be passing the downloading cached artifacts stage just fine.The
unexpected end-of-file
seems to be a de-serialization error in Nix. Possibly something got corrupted/truncated somewhere in the cache?The text was updated successfully, but these errors were encountered: