Skip to content
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

thread 'delete_garbage_kernel' panicked at systemd/tests/gc.rs:78:5: #426

Open
siflfran opened this issue Jan 20, 2025 · 3 comments
Open

Comments

@siflfran
Copy link

As of today I'm seeing the following error when I try to do nixos-rebuild switch:

error: builder for '/nix/store/30ppgk2a1rm50mr1da2kgc7ms942l6zs-lzbt-systemd-0.4.1.drv' failed with exit code 101;
       last 25 log lines:
       > /build/.tmpSDH1LO/EFI/systemd/systemd-bootx64.efi
       > /build/.tmpSDH1LO/EFI/nixos
       > /build/.tmpSDH1LO/EFI/nixos/kernel-6.1.1-zhmu3hhlhnsg3ilnzw3dc6g27zezpk4ewbenakgrqmv7o4wwnbra.efi
       > /build/.tmpSDH1LO/EFI/nixos/initrd-6.1.1-zhmu3hhlhnsg3ilnzw3dc6g27zezpk4ewbenakgrqmv7o4wwnbra.efi
       > /build/.tmpSDH1LO/EFI/nixos/kernel-garbage.efi
       > /build/.tmpSDH1LO/EFI/Linux
       > /build/.tmpSDH1LO/EFI/Linux/nixos-generation-3-gdobal3gnrydtu2hkjr6aty5ihazixu7eiruff2mgxobcbbf3zia.efi
       > /build/.tmpSDH1LO/EFI/Linux/nixos-generation-1-75orshrckqddtje5bywg33x52dapwmay4pgejxtppi7u64o5aida.efi
       > /build/.tmpSDH1LO/EFI/Linux/nixos-generation-2-kuifdsrm66uiwa6y4ur2gmqnjbvwgn7uj26tusvetjlcqyynnxha.efi
       > /build/.tmpSDH1LO/EFI/BOOT
       > /build/.tmpSDH1LO/EFI/BOOT/BOOTX64.EFI
       > /build/.tmpSDH1LO/loader
       > /build/.tmpSDH1LO/loader/loader.conf
       > thread 'delete_garbage_kernel' panicked at systemd/tests/gc.rs:78:5:
       > assertion failed: output1.status.success()
       >
       >
       > failures:
       >     delete_garbage_kernel
       >     keep_only_configured_number_of_generations
       >     keep_unrelated_files_on_esp
       >
       > test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.59s
       >
       > error: test failed, to rerun pass `-p lzbt-systemd --test gc`
       For full logs, run 'nix log /nix/store/30ppgk2a1rm50mr1da2kgc7ms942l6zs-lzbt-systemd-0.4.1.drv'.
error: 1 dependencies of derivation '/nix/store/hxzmbkrczjn2xppg8s88lv2nxlfyhk11-lzbt.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bp5h1lgj04j1c0asc91wnlpj830kzps3-bootinstall.drv' failed to build

I've been using lanzaboote successfully for several months now, this error is new.

Output of nix-info -m:

 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.9, NixOS, 25.05 (Warbler), 25.05.20250116.62e9d4a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.25.4`
 - channels(…): `"home-manager, nixpkgs"`
 - channels(root): `"nixos"`
 - nixpkgs: `/home/…/.nix-defexpr/channels/nixpkgs`
@dcarosone
Copy link

me too, as of nixos-unstable just now bumped to 9e4d5190a948.

https://gist.github.com/dcarosone/5c2c2086a4f6bbcdc6519ff86237f8f1 full log

@ElvishJerricco
Copy link

Fixed by #423, no?

@dcarosone
Copy link

yes, just confirmed it is - but still needs to be backported for a release, as noted there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants