From 0c160da06c202aa7a1a4614c52f6582f30dd50ff Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Jan 2025 15:09:27 -0800 Subject: [PATCH 1/2] nixosTest.lvm2: remove 4.19 kernel, test on 6.6 All tests continue to pass except for `nixosTests.lvm2.lvm-raid-sd-stage-1-linux-5_15` which continues to fail due to not having a kernel with the appropriate options configured. --- nixos/tests/lvm2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/lvm2/default.nix b/nixos/tests/lvm2/default.nix index 0e4ec8d27fda..4d6fc3bac5c3 100644 --- a/nixos/tests/lvm2/default.nix +++ b/nixos/tests/lvm2/default.nix @@ -4,11 +4,11 @@ pkgs ? import ../../.. { inherit system config; }, lib ? pkgs.lib, kernelVersionsToTest ? [ - "4.19" "5.4" "5.10" "5.15" "6.1" + "6.6" "latest" ], }: From 161f45d4be41a7b93c41d874f5fc8fd858dfeffb Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Wed, 1 Jan 2025 15:35:51 -0800 Subject: [PATCH 2/2] nixosTest.lvm2: don't run one test on old 5.15 kernel without support --- nixos/tests/lvm2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/lvm2/default.nix b/nixos/tests/lvm2/default.nix index 4d6fc3bac5c3..58eef6e0ccef 100644 --- a/nixos/tests/lvm2/default.nix +++ b/nixos/tests/lvm2/default.nix @@ -33,7 +33,7 @@ let # systemd in stage 1 raid-sd-stage-1 = { test = callTest ./systemd-stage-1.nix; - kernelFilter = lib.id; + kernelFilter = lib.filter (v: v != "5.15"); flavour = "raid"; }; thinpool-sd-stage-1 = {