Repository navigation
Automation tests for Compute to Compute with Storage VM migration and Storage migration - #113
sandeeplocharla wants to merge 4 commits into
Conversation
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
1dc3a55 to
424eca6
Compare
🔴 Test Coverage Grade:
|
| Metric | Value |
|---|---|
| Line coverage | 24.73% |
| Branch coverage | 18.86% |
Grade Scale
| Grade | Line Coverage | Meaning |
|---|---|---|
| 🟢 A | ≥ 80% | Excellent - this code sleeps well at night 😴 |
| 🟡 B | 60-79% | Good - almost there, don't stop now 😉 |
| 🟠 C | 40-59% | Acceptable - your code is wearing a seatbelt, but no airbags 😬 |
| 🔴 D | 20-39% | Marginal - boldly shipping where no test has gone before 🖖 |
| ⛔ F | < 20% | Failing - tests? what tests? 🔥 |
Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run
424eca6 to
6261970
Compare
🔴 Test Coverage Grade:
|
| Metric | Value |
|---|---|
| Line coverage | 24.73% |
| Branch coverage | 18.86% |
Grade Scale
| Grade | Line Coverage | Meaning |
|---|---|---|
| 🟢 A | ≥ 80% | Excellent - this code sleeps well at night 😴 |
| 🟡 B | 60-79% | Good - almost there, don't stop now 😉 |
| 🟠 C | 40-59% | Acceptable - your code is wearing a seatbelt, but no airbags 😬 |
| 🔴 D | 20-39% | Marginal - boldly shipping where no test has gone before 🖖 |
| ⛔ F | < 20% | Failing - tests? what tests? 🔥 |
Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run
6261970 to
d90249e
Compare
🔴 Test Coverage Grade:
|
| Metric | Value |
|---|---|
| Line coverage | 24.84% |
| Branch coverage | 19.00% |
Grade Scale
| Grade | Line Coverage | Meaning |
|---|---|---|
| 🟢 A | ≥ 80% | Excellent - this code sleeps well at night 😴 |
| 🟡 B | 60-79% | Good - almost there, don't stop now 😉 |
| 🟠 C | 40-59% | Acceptable - your code is wearing a seatbelt, but no airbags 😬 |
| 🔴 D | 20-39% | Marginal - boldly shipping where no test has gone before 🖖 |
| ⛔ F | < 20% | Failing - tests? what tests? 🔥 |
Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
… Storage migration # Conflicts: # test/integration/plugins/ontap/ontap_test_base.py
d90249e to
157fa7d
Compare
🔴 Test Coverage Grade:
|
| Metric | Value |
|---|---|
| Line coverage | 25.76% |
| Branch coverage | 20.05% |
Grade Scale
| Grade | Line Coverage | Meaning |
|---|---|---|
| 🟢 A | ≥ 80% | Excellent - this code sleeps well at night 😴 |
| 🟡 B | 60-79% | Good - almost there, don't stop now 😉 |
| 🟠 C | 40-59% | Acceptable - your code is wearing a seatbelt, but no airbags 😬 |
| 🔴 D | 20-39% | Marginal - boldly shipping where no test has gone before 🖖 |
| ⛔ F | < 20% | Failing - tests? what tests? 🔥 |
Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Description
This PR...
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
root@cstack53:/tmp/MarvinLogs/test_01_live_vm_with_storage_migration_YNFXRI# cat results.txt
Live-migrate DefaultPrimary root/data volumes to NFS3 C1a. ... === TestName: test_01_nfs3_default_primary_to_cluster | Status : SUCCESS ===
ok
Live-migrate the NFS3 VM from C1a to C1b. ... === TestName: test_02_nfs3_cluster_to_cluster | Status : SUCCESS ===
ok
Live-migrate the NFS3 VM from C1b to Z1. ... === TestName: test_03_nfs3_cluster_to_zone | Status : SUCCESS ===
ok
Live-migrate the NFS3 VM from Z1 to Z2. ... === TestName: test_04_nfs3_zone_to_zone | Status : SUCCESS ===
ok
Live-migrate the NFS3 VM from Z2 back to C1a. ... === TestName: test_05_nfs3_zone_to_cluster | Status : SUCCESS ===
ok
Live-migrate DefaultPrimary root/data volumes to iSCSI C1a. ... === TestName: test_06_iscsi_default_primary_to_cluster | Status : SUCCESS ===
ok
Live-migrate the iSCSI VM from C1a to C1b. ... === TestName: test_07_iscsi_cluster_to_cluster | Status : SUCCESS ===
ok
Live-migrate the iSCSI VM from C1b to Z1. ... === TestName: test_08_iscsi_cluster_to_zone | Status : SUCCESS ===
ok
Live-migrate the iSCSI VM from Z1 to Z2. ... === TestName: test_09_iscsi_zone_to_zone | Status : SUCCESS ===
ok
Live-migrate the iSCSI VM from Z2 back to C1a. ... === TestName: test_10_iscsi_zone_to_cluster | Status : SUCCESS ===
ok
Reject a live NFS3-to-iSCSI volume mapping. ... === TestName: test_11_reject_nfs3_to_iscsi | Status : SUCCESS ===
ok
Reject a live iSCSI-to-NFS3 volume mapping. ... === TestName: test_12_reject_iscsi_to_nfs3 | Status : SUCCESS ===
ok
Reject migrateVolume livemigrate=true on a running attached volume. ... === TestName: test_13_reject_live_volume_only | Status : SUCCESS ===
ok
After host split, live-migrate NFS3 storage from C1a to C2. ... === TestName: test_14_nfs3_cluster_to_cluster | Status : SUCCESS ===
ok
Live-migrate NFS3 storage from C1a to Z1 onto a C2 host. ... === TestName: test_15_nfs3_cluster_to_zone | Status : SUCCESS ===
ok
Live-migrate the NFS3 VM from Z1 to C2. ... === TestName: test_16_nfs3_zone_to_cluster | Status : SUCCESS ===
ok
Live-migrate NFS3 storage from Z1 to Z2 onto a C2 host. ... === TestName: test_17_nfs3_zone_to_zone | Status : SUCCESS ===
ok
Live-migrate iSCSI storage from C1a to C2 onto a C2 host. ... === TestName: test_18_iscsi_cluster_to_cluster | Status : SUCCESS ===
ok
Live-migrate iSCSI storage from C1a to Z1 onto a C2 host. ... === TestName: test_19_iscsi_cluster_to_zone | Status : SUCCESS ===
ok
Live-migrate the iSCSI VM from Z1 to C2. ... === TestName: test_20_iscsi_zone_to_cluster | Status : SUCCESS ===
ok
Live-migrate iSCSI storage from Z1 to Z2 onto a C2 host. ... === TestName: test_21_iscsi_zone_to_zone | Status : SUCCESS ===
ok
Reject mapping a cluster-1 pool to a host that lives in cluster 2. ... === TestName: test_22_reject_pool_not_reachable_from_destination_host | Status : SUCCESS ===
ok
Ran 22 tests in 3989.366s
OK
root@cstack53:/tmp/MarvinLogs/test_02_stopped_vm_storage_migration_FGCD7L# cat results.txt
Move a stopped VM's volumes from DefaultPrimary to NFS3 C1a. ... === TestName: test_01_nfs3_default_primary_to_cluster | Status : SUCCESS ===
ok
Move NFS3 volumes between cluster pools in the same cluster. ... === TestName: test_02_nfs3_cluster_to_cluster_same_cluster | Status : SUCCESS ===
ok
Move NFS3 volumes to a cluster pool in the second cluster. ... === TestName: test_03_nfs3_cluster_to_cluster_across_clusters | Status : SUCCESS ===
ok
Move NFS3 volumes from a cluster pool to a zone-wide pool. ... === TestName: test_04_nfs3_cluster_to_zone | Status : SUCCESS ===
ok
Move NFS3 volumes between two zone-wide pools. ... === TestName: test_05_nfs3_zone_to_zone | Status : SUCCESS ===
ok
Move NFS3 volumes from a zone-wide pool back to cluster C1a. ... === TestName: test_06_nfs3_zone_to_cluster | Status : SUCCESS ===
ok
Move a stopped VM's volumes from DefaultPrimary to iSCSI C1a. ... === TestName: test_07_iscsi_default_primary_to_cluster | Status : SUCCESS ===
ok
Move iSCSI volumes between cluster pools in the same cluster. ... === TestName: test_08_iscsi_cluster_to_cluster_same_cluster | Status : SUCCESS ===
ok
Move iSCSI volumes to a cluster pool in the second cluster. ... === TestName: test_09_iscsi_cluster_to_cluster_across_clusters | Status : SUCCESS ===
ok
Move iSCSI volumes from a cluster pool to a zone-wide pool. ... === TestName: test_10_iscsi_cluster_to_zone | Status : SUCCESS ===
ok
Move iSCSI volumes between two zone-wide pools. ... === TestName: test_11_iscsi_zone_to_zone | Status : SUCCESS ===
ok
Move iSCSI volumes from a zone-wide pool back to cluster C1a. ... === TestName: test_12_iscsi_zone_to_cluster | Status : SUCCESS ===
ok
Reject a stopped-VM migration from NFS3 storage to iSCSI. ... === TestName: test_13_reject_nfs3_to_iscsi | Status : SUCCESS ===
ok
Reject a stopped-VM migration from iSCSI storage to NFS3. ... === TestName: test_14_reject_iscsi_to_nfs3 | Status : SUCCESS ===
ok
Reject the stopped-VM API form once the chain VM is running. ... === TestName: test_15_reject_running_vm | Status : SUCCESS ===
ok
Ran 15 tests in 1328.793s
OK
root@cstack53:/tmp/MarvinLogs/test_03_volume_migration_YAKSKE# cat results.txt
Migrate a detached NFS3 volume from DefaultPrimary to C1a. ... === TestName: test_01_nfs3_detached_default_primary_to_cluster | Status : SUCCESS ===
ok
Migrate the detached NFS3 volume from C1a to C1b. ... === TestName: test_02_nfs3_detached_cluster_to_cluster_same_cluster | Status : SUCCESS ===
ok
Migrate the detached NFS3 volume from C1b to C2. ... === TestName: test_03_nfs3_detached_cluster_to_cluster_across_clusters | Status : SUCCESS ===
ok
Migrate the detached NFS3 volume from C2 to Z1. ... === TestName: test_04_nfs3_detached_cluster_to_zone | Status : SUCCESS ===
ok
Migrate the detached NFS3 volume from Z1 to Z2. ... === TestName: test_05_nfs3_detached_zone_to_zone | Status : SUCCESS ===
ok
Migrate the detached NFS3 volume from Z2 back to C1a. ... === TestName: test_06_nfs3_detached_zone_to_cluster | Status : SUCCESS ===
ok
Migrate a detached iSCSI volume from DefaultPrimary to C1a. ... === TestName: test_07_iscsi_detached_default_primary_to_cluster | Status : SUCCESS ===
ok
Migrate the detached iSCSI volume from C1a to C1b. ... === TestName: test_08_iscsi_detached_cluster_to_cluster_same_cluster | Status : SUCCESS ===
ok
Migrate the detached iSCSI volume from C1b to C2. ... === TestName: test_09_iscsi_detached_cluster_to_cluster_across_clusters | Status : SUCCESS ===
ok
Migrate the detached iSCSI volume from C2 to Z1. ... === TestName: test_10_iscsi_detached_cluster_to_zone | Status : SUCCESS ===
ok
Migrate the detached iSCSI volume from Z1 to Z2. ... === TestName: test_11_iscsi_detached_zone_to_zone | Status : SUCCESS ===
ok
Migrate the detached iSCSI volume from Z2 back to C1a. ... === TestName: test_12_iscsi_detached_zone_to_cluster | Status : SUCCESS ===
ok
Move stopped-attached NFS3 data C1a to Z1, preserving its root. ... === TestName: test_13_nfs3_attached_stopped_vm_cluster_to_zone | Status : SUCCESS ===
ok
Move stopped-attached iSCSI data C1a to Z1, preserving its root. ... === TestName: test_14_iscsi_attached_stopped_vm_cluster_to_zone | Status : SUCCESS ===
ok
Move stopped-attached non-ONTAP data to ONTAP NFS3. ... === TestName: test_15_nfs3_attached_stopped_vm_default_to_ontap | Status : SUCCESS ===
ok
Move stopped-attached non-ONTAP data to ONTAP iSCSI. ... === TestName: test_16_iscsi_attached_stopped_vm_default_to_ontap | Status : SUCCESS ===
ok
Reject detached NFS3-to-iSCSI migration. ... === TestName: test_17_reject_detached_nfs3_to_iscsi | Status : SUCCESS ===
ok
Reject detached iSCSI-to-NFS3 migration. ... === TestName: test_18_reject_detached_iscsi_to_nfs3 | Status : SUCCESS ===
ok
Reject stopped-attached NFS3-to-iSCSI migration. ... === TestName: test_19_reject_stopped_attached_nfs3_to_iscsi | Status : SUCCESS ===
ok
Reject stopped-attached iSCSI-to-NFS3 migration. ... === TestName: test_20_reject_stopped_attached_iscsi_to_nfs3 | Status : SUCCESS ===
ok
Reject running-attached NFS3 migration without livemigrate. ... === TestName: test_21_reject_attached_running_vm_without_livemigrate | Status : SUCCESS ===
ok
Reject live volume-only migration in favor of VM-with-volume. ... === TestName: test_22_reject_attached_running_vm_with_livemigrate | Status : SUCCESS ===
ok
Reject migration to the stopped-attached volume's current pool. ... === TestName: test_23_reject_same_pool | Status : SUCCESS ===
ok
Ran 23 tests in 1420.347s
OK