summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-09-25 12:06:58 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-09-25 12:12:07 +0200
commitbaf1d1dcd77a66450adb54e22b5748566b06a8d7 (patch)
tree0f6e1ecfd7a9cbfe0be97f69c98b6fa41ce20e8b /nixos
parent000a2108ba10df725065004e1f3d2fb793078f71 (diff)
downloadnixlib-baf1d1dcd77a66450adb54e22b5748566b06a8d7.tar
nixlib-baf1d1dcd77a66450adb54e22b5748566b06a8d7.tar.gz
nixlib-baf1d1dcd77a66450adb54e22b5748566b06a8d7.tar.bz2
nixlib-baf1d1dcd77a66450adb54e22b5748566b06a8d7.tar.lz
nixlib-baf1d1dcd77a66450adb54e22b5748566b06a8d7.tar.xz
nixlib-baf1d1dcd77a66450adb54e22b5748566b06a8d7.tar.zst
nixlib-baf1d1dcd77a66450adb54e22b5748566b06a8d7.zip
nixos/tests/virtualbox: Don't parallelize VM boot.
I'm not quite sure why the official Hydra gets a kernel panic in one of
two VMs using the exact same kernels:

https://hydra.nixos.org/build/26339384

Because the kernel panic happens before stage 1, let's wait for the
first VM to boot up and after the bootup is done, start the second one
in hope that it won't trigger the panic.

Oddly enough, whenever I run the test on my own Hydra and on my local
machines, I don't get anything like that.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/virtualbox.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix
index 2b5b5a180fca..01fcd15fd8bb 100644
--- a/nixos/tests/virtualbox.nix
+++ b/nixos/tests/virtualbox.nix
@@ -424,11 +424,10 @@ in {
 
       vbm("startvm test1");
       waitForStartup_test1;
+      waitForVMBoot_test1;
 
       vbm("startvm test2");
       waitForStartup_test2;
-
-      waitForVMBoot_test1;
       waitForVMBoot_test2;
 
       $machine->screenshot("net_booted");