From 3e7b510281e6144a441646dd6e32cc3f3bae1f8a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 24 May 2016 17:20:22 +0200 Subject: [PATCH] nixos.tests.swraid: Drop mdadm -W This command is racy because it will return a non-zero exit code if the array is already clean. This caused numerous random failures. It should be unnecessary anyway. (Maybe in the past we needed this because of #15226.) http://hydra.nixos.org/job/nixos/release-16.03/nixos.tests.installer.swraid.i686-linux --- nixos/tests/installer.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 0b0e53ee7324..7b949ff93be7 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -403,8 +403,6 @@ in { "mkdir /mnt/boot", "mount LABEL=boot /mnt/boot", "udevadm settle", - "mdadm --verbose -W /dev/md0", # wait for sync to finish; booting off an unsynced device tends to fail - "mdadm --verbose -W /dev/md1", ); ''; preBootCommands = ''