From b25b55a0d857fbfd8d7808d9fd3efd8eff2245c5 Mon Sep 17 00:00:00 2001 From: Yurii Prokulevych Date: Wed, 26 Jun 2024 11:59:38 +0200 Subject: [PATCH] system-test: deploy workload with RBD volumes. (#64) Revert "system-test: remove RBD deployment pre-requisite (#42)" This reverts commit 9b86c03c84cf734ebc8bf87f809b12cc0882b493. Deploy workload with RBD volume to be used in post reboot tests. --- .../rdscore/tests/00_validate_top_level.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/system-tests/rdscore/tests/00_validate_top_level.go b/tests/system-tests/rdscore/tests/00_validate_top_level.go index 075001115..2d5714885 100644 --- a/tests/system-tests/rdscore/tests/00_validate_top_level.go +++ b/tests/system-tests/rdscore/tests/00_validate_top_level.go @@ -81,6 +81,9 @@ var _ = Describe( By("Creating a workload with CephFS PVC") rdscorecommon.DeployWorkflowCephFSPVC(ctx) + By("Creating a workload with CephRBD PVC") + rdscorecommon.DeployWorkloadCephRBDPVC(ctx) + By("Creating SR-IOV workloads on the same node") rdscorecommon.VerifySRIOVWorkloadsOnSameNode(ctx) @@ -188,6 +191,10 @@ var _ = Describe( Label("persistent-storage", "verify-cephfs"), reportxml.ID("71873"), rdscorecommon.VerifyDataOnCephFSPVC) + It("Verifies CephRBD PVC is still accessible", + Label("persistent-storage", "verify-cephrbd"), reportxml.ID("71990"), + rdscorecommon.VerifyDataOnCephRBDPVC) + It("Verifies CephFS workload is deployable after hard reboot", Label("persistent-storage", "deploy-cephfs-pvc"), reportxml.ID("71851"), MustPassRepeatedly(3), rdscorecommon.VerifyCephFSPVC) @@ -218,6 +225,9 @@ var _ = Describe( By("Creating a workload with CephFS PVC") rdscorecommon.DeployWorkflowCephFSPVC(ctx) + By("Creating a workload with CephRBD PVC") + rdscorecommon.DeployWorkloadCephRBDPVC(ctx) + By("Creating SR-IOV worklods that run on same node") rdscorecommon.VerifySRIOVWorkloadsOnSameNode(ctx) @@ -275,6 +285,10 @@ var _ = Describe( Label("persistent-storage", "verify-cephfs"), reportxml.ID("72042"), rdscorecommon.VerifyDataOnCephFSPVC) + It("Verifies CephRBD PVC is still accessible", + Label("persistent-storage", "verify-cephrbd"), reportxml.ID("72044"), + rdscorecommon.VerifyDataOnCephRBDPVC) + It("Verifies CephFS workload is deployable after graceful reboot", Label("persistent-storage", "deploy-cephfs-pvc"), reportxml.ID("72045"), MustPassRepeatedly(3), rdscorecommon.VerifyCephFSPVC)