From f2bd04114e580fc0a75ce2cd25d22f8db0bb08bd Mon Sep 17 00:00:00 2001 From: Stefan Kober Date: Tue, 12 May 2026 13:54:47 +0200 Subject: [PATCH 1/4] nova: fix failing test We saw the same test case failing multiple times in the CI. As we have changed nothing, we assume it is some timing issue which we hit. Disable the test for now. Signed-off-by: Stefan Kober On-behalf-of: SAP stefan.kober@sap.com --- packages/nova.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nova.nix b/packages/nova.nix index 100d5d2..4b37afb 100644 --- a/packages/nova.nix +++ b/packages/nova.nix @@ -95,6 +95,7 @@ let "test_inject_admin_password" "test_server_pool_waitall" "test_validation_errors_19_traits_multiple_additional_traits_two_invalid" + "test_schedule_and_build_multiple_cells" ]; excludeListFile = writeScript "test_excludes" (lib.concatStringsSep "\n" testExcludes); From b5525935491dae05fe549582b9a80fc13a325b07 Mon Sep 17 00:00:00 2001 From: Stefan Kober Date: Tue, 12 May 2026 13:56:26 +0200 Subject: [PATCH 2/4] github: extract build step In order to get better logs in case of a build failure, we extract the build step. Most things will then be cached when starting the actual test runs. Signed-off-by: Stefan Kober On-behalf-of: SAP stefan.kober@sap.com --- .github/workflows/qa.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 0409f90..43613b6 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -14,6 +14,13 @@ jobs: steps: - uses: actions/checkout@v6 - uses: cachix/install-nix-action@v31 + - name: Build + run: | + set -euxo pipefail + nix build --show-trace \ + --option max-jobs 1 \ + --option cores 4 \ + .#tests.x86_64-linux.openstack-default-setup.driver - name: Basic setup run: | nix build -Lv .#tests.x86_64-linux.openstack-default-setup.driver From 0457cb5802d7be7d14e9e23acca71b0614301329 Mon Sep 17 00:00:00 2001 From: Stefan Kober Date: Tue, 12 May 2026 13:57:05 +0200 Subject: [PATCH 3/4] github: use nix run instead of calling driver Signed-off-by: Stefan Kober On-behalf-of: SAP stefan.kober@sap.com --- .github/workflows/qa.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 43613b6..b233711 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -23,9 +23,7 @@ jobs: .#tests.x86_64-linux.openstack-default-setup.driver - name: Basic setup run: | - nix build -Lv .#tests.x86_64-linux.openstack-default-setup.driver - ./result/bin/nixos-test-driver + nix run .#tests.x86_64-linux.openstack-default-setup.driver - name: Live migration run: | - nix build -Lv .#tests.x86_64-linux.openstack-live-migration.driver - ./result/bin/nixos-test-driver + nix run .#tests.x86_64-linux.openstack-live-migration.driver From 797e9a7421f8e12105131a5262d0b3dff1ecb947 Mon Sep 17 00:00:00 2001 From: Stefan Kober Date: Tue, 12 May 2026 16:12:21 +0200 Subject: [PATCH 4/4] tests: increase wait for used volume timeout It seems the github runner are slow sometimes and we need to wait a little longer for our Cinder volume being marked as in use. Signed-off-by: Stefan Kober On-behalf-of: SAP stefan.kober@sap.com --- tests/openstack-default-setup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/openstack-default-setup.nix b/tests/openstack-default-setup.nix index bf7836e..9b1b68d 100644 --- a/tests/openstack-default-setup.nix +++ b/tests/openstack-default-setup.nix @@ -155,7 +155,7 @@ pkgs.nixosTest { print(f"openstack volume show test_vol: {output}") # wait until volume is attached - assert retry_until_succeed(controllerVM, "openstack volume show test_vol -f value -c status | grep 'in-use'", 20) + assert retry_until_succeed(controllerVM, "openstack volume show test_vol -f value -c status | grep 'in-use'", 40) # add ssh host key to known_hosts retry_until_succeed(controllerVM, f"ip netns exec {net_ns} ssh-keyscan {vm_ip} > ~/.ssh/known_hosts", 60)