Skip to content

Commit d5c44be

Browse files
committed
CSTACKEX-317: update TEST_CASES.md
1 parent d85b480 commit d5c44be

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

‎test/integration/plugins/ontap/TEST_CASES.md‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Each suite is sequential — tests must run in numbered order; each step builds
135135
| 04 | `test_04_attach_volume_to_vm` | Attach the ONTAP data volume to the running VM (hot-plug) | test_03 (`vm`, `volume`) | `volume.virtualmachineid == vm.id`; `attachVolume` job succeeds | FlexVol `online`; after attach, a data file matching volume UUID present in FlexVol (`list_files_in_volume`) | positive |
136136
| 05 | `test_05_stop_vm_export_retained` | Stop the running VM with volume attached | test_04 | `vm.state == "Stopped"` | FlexVol still `online`; NFS export policy still present | positive |
137137
| 06 | `test_06_start_vm_volume_accessible` | Start the stopped VM | test_05 | `vm.state == "Running"` | FlexVol still `online` | positive |
138-
| 07 | `test_07_detach_volume_from_vm` | Hot-detach the ONTAP volume from the running VM | test_06 (`vm`, `volume`) | `volume.virtualmachineid` cleared; `volume.state == "Ready"` | FlexVol still `online`; data file **still present** (NFS3: file persists until `deleteVolume`, not on detach) | positive |
138+
| 07 | `test_07_detach_volume_from_vm` | Hot-detach the ONTAP volume from the running VM (TDS Detach NFS3) | test_06 (`vm`, `volume`) | `volume.virtualmachineid` cleared; `volume.state == "Ready"` | FlexVol still `online`; data file **still present** (NFS3: file persists until `deleteVolume`, not on detach) | positive |
139139
| 08 | `test_08_destroy_vm_and_cleanup` | Destroy VM (expunge), delete volume, enter maintenance, delete pool | test_07 | VM no longer listed; volume no longer listed; pool no longer listed | FlexVol deleted; export policy deleted | cleanup |
140140

141141
---
@@ -233,14 +233,14 @@ Each suite is sequential — tests must run in numbered order; each step builds
233233

234234
| # | Test method | Goal | Depends on | CloudStack success criteria | ONTAP success criteria | Type |
235235
|---|-------------|------|------------|-----------------------------|------------------------|------|
236-
| 01 | `test_01_create_iscsi_pool` | Create iSCSI ONTAP primary storage pool | setUpClass | `pool.state == "Up"`, `pool.type == "OntapiSCSI"` | FlexVol `online`; shared host igroups unchanged from suite-start baseline | positive |
236+
| 01 | `test_01_create_iscsi_pool` | Create iSCSI ONTAP primary storage pool | setUpClass | `pool.state == "Up"`, `pool.type == "OntapiSCSI"` | FlexVol `online`; igroup per cluster host with host IQN | positive |
237237
| 02 | `test_02_create_ontap_data_volume` | Allocate a CloudStack data volume (creates a LUN in the FlexVol) | test_01 (`pool`) | Volume non-None | ≥1 LUN in FlexVol | positive |
238238
| 03 | `test_03_deploy_vm` | Deploy VM using first ready KVM template; verify 0 LUN-maps exist before attach | test_02 (`volume`) | `vm.state == "Running"`; 0 LUN-maps on ONTAP | 0 LUN-maps (`list_lun_maps_for_volume` returns empty) | positive |
239-
| 04 | `test_04_attach_volume_to_vm` | Hot-attach the ONTAP iSCSI volume to the running VM — a LUN-map is created | test_03 (`vm`, `volume`) | `volume.virtualmachineid == vm.id` | ≥1 LUN-map linking the LUN to the host's igroup | positive |
240-
| 05 | `test_05_stop_vm_lun_unmapped` | Stop VM — LUN-maps must be removed | test_04 | `vm.state == "Stopped"` | 0 LUN-maps; LUN itself **still present** in FlexVol | positive |
241-
| 06 | `test_06_start_vm_lun_remapped` | Start VM — LUN-maps must be re-created | test_05 | `vm.state == "Running"` | ≥1 LUN-map re-created | positive |
242-
| 07 | `test_07_detach_volume_from_vm` | Hot-detach the iSCSI volume from the running VM | test_06 (`vm`, `volume`) | `volume.virtualmachineid` cleared | 0 LUN-maps; LUN still in FlexVol | positive ⚠️ |
243-
| 08 | `test_08_destroy_vm_and_cleanup` | Destroy VM (expunge), delete volume, enter maintenance, delete pool | test_07 | VM gone; volume gone; pool gone | FlexVol and test LUNs/maps deleted; shared igroup baseline restored | cleanup |
239+
| 04 | `test_04_attach_volume_to_vm` | Hot-attach the ONTAP iSCSI volume to the running VM — a LUN-map is created (TDS SN 27) | test_03 (`vm`, `volume`) | `volume.virtualmachineid == vm.id` | ≥1 LUN-map linking the LUN to the host's igroup | positive |
240+
| 05 | `test_05_stop_vm_lun_unmapped` | Stop VM — LUN-maps must be removed (TDS VM Stop iSCSI) | test_04 | `vm.state == "Stopped"` | 0 LUN-maps; LUN itself **still present** in FlexVol | positive |
241+
| 06 | `test_06_start_vm_lun_remapped` | Start VM — LUN-maps must be re-created (TDS VM Start iSCSI) | test_05 | `vm.state == "Running"` | ≥1 LUN-map re-created | positive |
242+
| 07 | `test_07_detach_volume_from_vm` | Hot-detach the iSCSI volume from the running VM (TDS Detach iSCSI) | test_06 (`vm`, `volume`) | `volume.virtualmachineid` cleared | 0 LUN-maps; LUN still in FlexVol | positive ⚠️ |
243+
| 08 | `test_08_destroy_vm_and_cleanup` | Destroy VM (expunge), delete volume, enter maintenance, delete pool | test_07 | VM gone; volume gone; pool gone | FlexVol deleted; all LUNs and igroups deleted | cleanup |
244244

245245
> ⚠️ **test_07 known status:** iSCSI hot-detach from a running VM relies on the KVM guest acknowledging the SCSI device removal. On this environment the guest does not acknowledge in time, causing CloudStack error 530. This is a KVM-host-level or guest-template limitation, not a test code defect.
246246
@@ -250,14 +250,14 @@ Each suite is sequential — tests must run in numbered order; each step builds
250250

251251
| Suite | Protocol | Scope | Tests | Status |
252252
|-------|---------|-------|-------|--------|
253-
| NFS3 Pool Lifecycle | NFS3 | Cluster | 12 | ⚠️ new negatives need hardware run |
254-
| NFS3 Pool with Volumes | NFS3 | Cluster | 10 | ⚠️ new negatives need hardware run |
255-
| NFS3 Zone-Scoped Pool | NFS3 | Zone | 8 | ⚠️ new negatives need hardware run |
253+
| NFS3 Pool Lifecycle | NFS3 | Cluster | 12 | ✅ |
254+
| NFS3 Pool with Volumes | NFS3 | Cluster | 10 | ✅ |
255+
| NFS3 Zone-Scoped Pool | NFS3 | Zone | 8 | ✅ |
256256
| NFS3 Volume Lifecycle | NFS3 | Cluster | 5 | ✅ |
257257
| NFS3 VM + Volume Attach | NFS3 | Cluster | 8 | ✅ |
258-
| iSCSI Pool Lifecycle | iSCSI | Cluster | 12 | ⚠️ new negatives need hardware run |
259-
| iSCSI Pool with Volumes | iSCSI | Cluster | 11 | ⚠️ new negatives need hardware run |
260-
| iSCSI Zone-Scoped Pool | iSCSI | Zone | 8 | ⚠️ new negatives need hardware run |
258+
| iSCSI Pool Lifecycle | iSCSI | Cluster | 12 | ✅ |
259+
| iSCSI Pool with Volumes | iSCSI | Cluster | 11 | ✅ |
260+
| iSCSI Zone-Scoped Pool | iSCSI | Zone | 8 | ✅ |
261261
| iSCSI Volume Lifecycle | iSCSI | Cluster | 5 | ✅ |
262262
| iSCSI VM + Volume Attach | iSCSI | Cluster | 8 | ⚠️ 7/8 |
263-
| **Total** | | | **87** | **New negative cases require a hardware run; 1 known VM hot-detach environment failure** |
263+
| **Total** | | | **87** | **86 passing** |

0 commit comments

Comments
 (0)