@cryptotaxi247 / infra / commits / ae6761b9

builders: stop using cgroups for now

They currently break the build of nixosTests.systemd-boot.extraEntries on lix 2.91.1 and nix 2.25.2 after the edk2 202502 upgrade. The test hangs in nixos-disk-image-aarch64-linux with > Press ESC in 5 seconds to skip startup.nsh or any other key to continue. > Press ESC in 4 seconds to skip startup.nsh or any other key to continue. > Press ESC in 3 seconds to skip startup.nsh or any other key to continue. > Press ESC in 2 seconds to skip startup.nsh or any other key to continue. > Press ESC in 1 seconds to skip startup.nsh or any other key to continue. > [hangs here] And aborting the test after it times out fails with > Aborted: error: deleting cgroup '/sys/fs/cgroup/system.slice/nix-daemon.service/nix-build-uid-30022': [Device or resource busy]

Martin Weinelt committed Mar 2, 2025 at 23:04 UTC ae6761b9fea22ac802ead7757d034665cb4e795e
1 file changed -2
builders/common/nix.nix
-2
@@ -25,7 +25,6 @@
25 settings = {
26 builders-use-substitutes = true;
27 extra-experimental-features = [
28 - "cgroups"
28 "nix-command"
29 "no-url-literals"
30 "flakes"
@@ -39,7 +38,6 @@
38 "build"
39 "root"
40 ];
42 - use-cgroups = true;
41 max-silent-time = 7200; # 2h
42 };
43 };