From 0bcbd210c7559629598ddec747cf7d6e577e7808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Mon, 9 Dec 2024 11:04:20 +0100 Subject: [PATCH] nixos/tests/jenkins: increase disk size to 2 GiB Or else Jenkins stops the built-in node due to lack of disk space (when using the default 1 GiB). (cherry picked from commit 5843a13d3897708caa0bce8b9a0e59529b442f02) --- nixos/tests/jenkins.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/tests/jenkins.nix b/nixos/tests/jenkins.nix index d7394c866c143..35762652778b0 100644 --- a/nixos/tests/jenkins.nix +++ b/nixos/tests/jenkins.nix @@ -60,6 +60,11 @@ import ./make-test-python.nix ({ pkgs, ...} : { users.users.jenkins.extraGroups = [ "users" ]; systemd.services.jenkins.serviceConfig.TimeoutStartSec = "6min"; + + # Increase disk space to prevent this issue: + # + # WARNING h.n.DiskSpaceMonitorDescriptor#markNodeOfflineOrOnline: Making Built-In Node offline temporarily due to the lack of disk space + virtualisation.diskSize = 2 * 1024; }; slave =