From e4f57d4cf35d7c4dad2f1fdec97821e8ccf860ce Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Mon, 28 Feb 2022 11:05:55 +0000
Subject: [PATCH] Revert "System tests: Start VMs in parallel again"

This reverts commit bb3efdba1951b45ef17c89ae9fab2c531c27c55a.

Don't start the VMs in parallel, see !272.
---
 nixos/tests/test_privatestorage.py | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/nixos/tests/test_privatestorage.py b/nixos/tests/test_privatestorage.py
index c0f45d3c..e125573f 100644
--- a/nixos/tests/test_privatestorage.py
+++ b/nixos/tests/test_privatestorage.py
@@ -41,8 +41,21 @@ def test(
 ):
     """
     """
-    # Boot the VMs.
-    start_all()
+    # Boot the VMs.  We used to do them all in parallel but the boot
+    # sequence got flaky at some point for some reason I don't
+    # understand. :/ It might be related to this:
+    #
+    # https://discourse.nixos.org/t/nixos-ppc64le-vm-does-not-have-dev-vda-device/11548/9
+    #
+    # See <nixpkgs/nixos/modules/virtualisation/qemu-vm.nix> for the Nix
+    # that constructs the QEMU command that gets run.
+    #
+    # Boot them one at a time for now.
+    issuer.connect()
+    introducer.connect()
+    storage.connect()
+    client.connect()
+    api_stripe_com.connect()
 
     # The issuer and the storage server should accept SSH connections.  This
     # doesn't prove it is so but if it fails it's a pretty good indication
-- 
GitLab