| Hypervisor : XenserverAbbreviation |
|
|
|
|
|
|
|
| |||||||||||||||||
Test Case ID | Test Case Name | Steps | Expected Results | Priority | Test Case Type | Automatable(Y/N) | Xenserver | Comments | VMware | Comments Comment | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | UI and API | 1-Check for upgrade button | 1-Upgrade button should be present. | P0 | Functional | Y | Pass |
| ||||||||||||||||||
| User VM CPU/ RAM scale up |
|
|
|
|
|
|
| ||||||||||||||||||
1- | Pass |
| ||||||||||||||||||||||||
| User VM CPU/ RAM scale up |
|
|
|
|
|
|
|
|
| ||||||||||||||||
2 | 2 | Scaling up CPU | 1-Select a running user vm 1- SO upgrade should be successful | P0 | Functional | Y |
|
| 3 | Scaling up CPU | 1-Select a running user vm | 1- Vm should migrate(live) to another host (having Capacity). SO upgrade should be successful | P0 | Functional | Y | Passed with workaround | Pass |
| ||||||||
4 3 | Scaling up CPU | 1-Select a running user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y | Pass |
| Fail | |||||||||||||||||
4 | Scaling up CPU | P0 | Functional | Y |
|
| 5 | Scaling up RAM | 1-Select a running user vm | 1-SO upgrade should be successful fail. | P0 | Functional | Y | Pass |
| Pass |
| |||||||||
6 5 | Scaling up RAM | 1-Select a running user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y | Pass |
| Fail | |||||||||||||||||
6 |
| 7 | Scaling up RAM | 1-Select a running user vm | 1-SO upgrade should fail.. Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y | Fail |
|
| |||||||||||||||
8 7 | Scaling up CPU and RAM | 1-Select a running user vm | 1-SO upgrade should be successful fail.. | P0 | Functional | Y | Pass |
|
|
| ||||||||||||||||
9 8 | Scaling up CPU and RAM | 1-Select a running user vm | 1- Vm should migrate(live) to another host (having Capacity). | P0 P0 | Functional | Y | Pass |
| Pass |
| ||||||||||||||||
9 10 | Scaling up CPU and RAM | 1-Select a running user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Function Functional | Y |
|
| ||||||||||||||||||
| System VM CPU/RAM scale up( Need to repeat for SSVM,CPVM,VR) |
|
|
|
|
|
|
| ||||||||||||||||||
Fail | Fail | |||||||||||||||||||||||||
10 | Scaling up CPU and RAM | 11 | Scaling up CPU | 1-Select a running system user vm | 1-SO upgrade should be successful fail.. | P0 | Functional | Y | Pass |
| Pass |
| ||||||||||||||
| System VM CPU/RAM scale up( Need to repeat for SSVM,CPVM,VR) |
|
|
|
|
|
|
|
|
| ||||||||||||||||
12 11 | Scaling up CPU | 1-Select a running system vm | 1- Vm should migrate(live) to another host (having Capacity). | P0 P1 | Functional | Y | Pass | Fail | ||||||||||||||||||
12 |
|
| 13 | Scaling up CPU | 1-Select a running system vm | 1-Vm should migrate(live) to another host (having Capacity). | P2 P1 | Functional | Y | blocked |
| Blocked |
| |||||||||||||
14 13 | Scaling up RAM | 1-Select a running system vm | 1- SO upgrade should be successful | P0 | Functional | Y | Pass |
| Blocked |
| ||||||||||||||||
15 14 | Scaling up RAM | 1-Select a running system vm | 1-Vm should migrate(live) to another host (having Capacity). | P1 | Functional | Y | blocked |
| Blocked |
| ||||||||||||||||
16 15 | Scaling up CPU and RAM | 1-Select a running system vm | 1- SO upgrade should fail. be successful | P2 P0 | Functional | Y | Pass |
| Blocked |
| ||||||||||||||||
17 16 | Scaling up CPU and RAM | 1-Select a running system vm | 1- SO upgrade should be successful | P0 | Functional | Y |
|
| 18 | Scaling up CPU and RAM | 1-Select a running system vm | 1-Vm should migrate(live) to another host (having Capacity). | P1 | Functional | Y | blocked |
| Blocked |
| |||||||
19 | Scaling up CPU and RAM | 1-Select a running system vm | 1-SO upgrade should fail. | P2 | Functional | Y Scale up vm while Restart/power off VM is in process |
|
| Restart/power off VM during operation |
|
|
|
|
|
| |||||||||||
17 | 20 | Restart VM while scaling UP CPU | 1-Use API to restart/stop VM | 1- DB should get updated with new compute offering | P0 | Functional | Y | Pass |
| Pass |
| |||||||||||||||
21 | Scale up system vm while RestartVM while scaling UP CPU(Capacity not available on current host but available in current cluster) | 1-Select a running vm | 1-VM should live migrate | P0 | Functional | /power off VM is in process( Need to repeat for SSVM,CPVM,VR ) |
|
|
|
|
|
| Y |
|
| |||||||||||
18 22 | 1-Restart/stop VM | 1-Select Use API to restart/stop VM | 1-SO upgrade Scaling up vm should fail . | P2 P1 | Functional | Y | Pass |
| Blocked |
| ||||||||||||||||
23 | Restart VM while scaling UP RAM | 1-Select a running vm | 1-DB should get updated with new compute offering | P0 | Functional | Scaling up while snapshot creation is in process |
|
|
|
|
|
| Y |
|
| 24 | Restart VM while scaling UP RAM | |||||||||
19 | Scaling up RAM while snapshot creation is in process | 1-Select a running system vm. | 1-VM should live mirgate | create snapshot. | scaling up should be successful | P2 P0 | Functional | Y | Pass |
| Pass |
| ||||||||||||||
20 | Scaling up CPU while snapshot creation is in process | 1 | 25 | Restart VM while scaling UP RAM | -Select a running system vm. | scaling up should be successful | P2 | Functional | Y | Pass |
| Pass |
| 26 | Restart VM while scaling UP CPU and RAM | |||||||||||
21 | Scaling up CPU and RAM while snapshot creation is in process | 1-Select a running system vm. | 1-DB should get updated with new compute offering | create snapshot. | scaling up should be successful | P2 P0 | Functional | Y | Pass |
| Pass |
| 27 | Restart VM while scaling UP CPU and RAM | ||||||||||||
| Guest OS Support |
|
|
|
|
|
|
|
|
| ||||||||||||||||
22 | Guest OS does not support scaling up | 1-Select a running vm user VM | 1-Vm should live migrate | P0 | Functional | Click on upgrade SO | Should throw "not supported exception" | P3 | Functional | Y |
|
| Y |
| ||||||||||||
| 28 | Restart VM CS behavior when migration fails while scalingUPup CPUand/RAM(Capacity not available in current cluster) | -Select a running vm | 1-SO upgrade should fail. | P2 | Functional | Y power off /service network stop , Destination host) |
|
|
Restart system vms during operation( Need to repeat for SSVM,CPVM,VR ) |
|
|
|
|
|
|
| |||||||||
23 | Scaling up CPU | 29 | Restart VM while scaling UP CPU | 1-Select select a running system vm | 1-DB should get updated with new compute offering Scaleup should failed | P1 | Functional | Y |
|
| 30 | Restart VM while scaling UP CPU | 1-Select a running system vm | Fail | Blocked |
| ||||||||||
24 | scaling up CPU | 1-select a running VM and upgrade SO | 1-Scaleup should failed | P1 | Functional | Y | Fail |
| Blocked |
| ||||||||||||||||
25 31 | Restart VM while scaling UP CPU | 1-Select select a running system vm VM and upgrade SO | 1-SO upgrade should fail | power off destination host | 1-Scaleup should failed | P1 P2 | Functional | Y | Fail |
| Blocked |
| ||||||||||||||
26 33 | Restart VM while scaling UP RAM | 1-Select select a running system vm VM and upgrade SO | 1-Scaleup should failed | P1 | Functional | Y | Fail |
| Blocked |
| ||||||||||||||||
27 34 | scaling up CPU and RAM Restart VM while scaling UP RAM | 1-Select select a running system vm | 1-VM should migrate Scaleup should failed | P1 | Functional | Y | Fail |
| Blocked |
| ||||||||||||||||
28 35 | Restart VM while scaling UP RAM | 1-Select a running system vm | 1-SO upgrade should fail | P2 | Functional | Y |
|
| ||||||||||||||||||
36 | Restart VM while scaling UP CPU and RAM | 1-Select a running system vm | 1-DB should get updated with new compute offering | P1 | Functional | Y |
|
| ||||||||||||||||||
scaling up CPU and RAM | 1-select a running VM and upgrade SO | 1-Scaleup should failed | P1 | Functional | Y | Fail |
| Blocked |
| |||||||||||||||||
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
| Scale Down |
|
|
|
|
|
|
|
|
| ||||||||||||||||
29 | Scale down CPU and Memory | 1- Upgrade vm with CO(=Compute offering) have less RAM and CPU than current CO | should get a message "scale down not supported" | 37 | Restart VM while scaling UP CPU and RAM | 1-Select a running system vm | 1-VM should migrate | P1 | Functional | Y |
|
| ||||||||||||||
38 | Restart VM while scaling UP CPU and RAM | 1-Select a running system vm | 1- SO upgrade should fail | P2 | Functional | Y |
|
| ||||||||||||||||||
Fail | Fail | |||||||||||||||||||||||||
| UPGRADE |
|
|
|
|
|
|
| Snapshot creation while scaling up CPU/RAM |
|
|
| ||||||||||||||
30 |
|
|
| |||||||||||||||||||||||
39 | snapshot creation while scaling up RAM | 1-Select a running system vm. | snapshot creation should fail | P2 | Functional | Y |
|
| ||||||||||||||||||
40 | snapshot creation while scaling up CPU | 1-Select a running system vm. | snapshot creation should fail | P2 | Functional | Y |
|
| ||||||||||||||||||
41 | snapshot creation while scaling up RAM and CPU | 1-Select a running system vm. | snapshot creation should fail | P2 | Functional | Y |
|
| ||||||||||||||||||
upgrade path | Pre upgrade Steps | 1-upgrade should go properly | P1 | Upgrade | N |
|
|
|
| |||||||||||||||||
| Other |
|
|
| Guest OS Support |
|
|
|
|
|
|
| 42 | Guest OS does not support scaling up | ||||||||||||
31 | Change SO of a stop VM | 1-Scale up vm | step 2 should be successful |
| 1-Select a running user VM Should throw "not supported exception" | P3 | Functional | Y | Pass |
| Pass |
| ||||||||||||||
| Dashboard |
|
CS behavior when migration fails while scaling up CPU/RAM(power off /service network stop , Destination host) |
|
|
|
|
|
|
| ||||||||||||||||
43 32 | Scaling scale up CPU cpu /RAM | 1-select Change CO of a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Dashboard should display new used and free value of CPU and RAM according to CO values. |
| Functional | N | Pass |
| Pass | Y | |||||||||||||
|
| 44 | scaling up CPU | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional |
|
|
|
|
|
|
|
| |||||||||||
33 | Usage Event |
| Waiting for FS update | Y |
|
| 45 |
|
|
| ||||||||||||||||
| Race condition |
|
|
|
|
| Scaling up CPU | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Y |
|
| 46 | Scaling up CPU | 1-select a running VM and upgrade SO | 1-CS should try N times | P2 | Functional | y |
|
| |||
46 | scaling up RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Y |
|
| ||||||||||||||||||
47 | scaling up RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Y |
|
| ||||||||||||||||||
48 | scaling up RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Y |
|
| ||||||||||||||||||
50 | Scaling up RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P2 | Functional | Y |
|
| ||||||||||||||||||
51 | scaling up CPU and RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Y |
|
| ||||||||||||||||||
52 | scaling up CPU and RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Y |
|
| ||||||||||||||||||
53 | scaling up CPU and RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Y |
|
| ||||||||||||||||||
54 | scaling up CPU and RAM | 1-select a running VM and upgrade SO | 1-CS should try N times | P2 | Functional | Y |
|
|
|
|
|
|
|
|
|
| ||||||||||
55 | scaling up RAM(at least two host in current cluster having capacity) | 1-select a running VM and upgrade SO | 1-CS should choose another host(having Capacity) | P1 | Functional | Y |
|
| ||||||||||||||||||
56 | Scaling up CPU (at least two host in current cluster having capacity) | 1-select a running VM and upgrade SO | 1-CS should choose another host(having Capacity) | P1 | Functional | Y |
|
| ||||||||||||||||||
57 | scaling up CPU and RAM (at least two host in current cluster having capacity) | 1-select a running VM and upgrade SO | 1-CS should choose another host(having Capacity) | P! | Functional | Y |
|
| ||||||||||||||||||
| Scale Down |
|
|
|
|
|
|
| ||||||||||||||||||
58 | Scale down CPU and Memory | 1- Upgrade vm with CO(=Compute offering) have less RAM and CPU than current CO | should get a message "scale down not supported" | P1 | Functional | Y |
|
| ||||||||||||||||||
| UPGRADE |
|
|
|
|
|
|
| 59 | upgrade path | Pre upgrade Steps ||||||||||||||||
| ||||||||||||||||||||||||||
34 | update to many vms on same host | Update too many(5-10) vms on same host | vm should get updated without error-exception |
| Functional | Y | Pass |
| Pass |
| ||||||||||||||||
| Manage-Unmanage/Disable-Enable |
|
|
|
|
|
|
|
|
| ||||||||||||||||
35 | Manage-Unmanage cluster | 1-Scaleup vm (cpu and RAM) | 1-step 2 should not have any effect on step 1 |
| Functional | Y |
|
| Pass |
| ||||||||||||||||
36 | Disable-Enable cluster/pod/zone | 1-Scaleup vm | 1-step 2 should not have any effect on step 1 |
| Functional | Y | Pass |
| Pass |
| ||||||||||||||||
| Attach-Detach Volume |
|
|
|
|
|
|
|
|
| ||||||||||||||||
37 | Attach-Detach volumes | 1-deploy vm | all operation should go smoothly |
| Functional | Y | Pass |
| Pass |
| ||||||||||||||||
| VM Life cycle |
|
|
|
|
|
|
|
|
| ||||||||||||||||
38 | stop-start | 1-scale up cpu/ram | 1-vm should be using scaled up service offering |
| Functional | Y | Pass |
| Pass |
| ||||||||||||||||
39 | Reboot | 1-scale up cpu/ram | 1-vm should be using scaled up service offering |
| Functional | Y | Pass |
| Pass |
| ||||||||||||||||
40 | expunge and restore and start | 1-scale up cpu/ram | 1-vm should be using scaled up service offering |
| Functional | Y | Pass |
| Pass |
| ||||||||||||||||
| Global Settings | 1-upgrade should go properly | P1 | Upgrade | N |
|
| |||||||||||||||||||
| Other |
|
|
|
|
|
|
| ||||||||||||||||||
60 | Change SO of a stop VM | 1-Stop vm | step 2 should be successful |
| Functional | Y |
|
| ||||||||||||||||||
61 | Restore VM | 1- Scale up CPU/RAM | 1-Restore VM should boot using last used service offering by vm.
| Functional | Y |
|
|
| Dashboard |
|
|
|
|
|
|
| 62 | scale up cpu /RAM | 1-Change CO of a running VM | Dashboard should display new value of CPU and RAM according to CO values. |
| Functional | N |
|
|
|
41 | cluster.cpu.allocated.capacity.disablethreshold |
| should not be allowed to scale up cpu beyond cpu threshold |
|
|
| hold | Global parameter is in dev process |
|
|
| |||||||||||||||
42 | cluster.memery.allocated.capacity.desablethreshould |
| scaleup should not be allowed after memory threshold |
| Function | Y | 63 | hold | Global parameter is in dev process Usage Event |
| Waiting for FS update | |||||||||||||||
| Vcpus |
|
|
|
|
| Race condition
|
|
|
|
| |||||||||||||||
43 | Vcpus | Scaleup number of vcpus | only scaling up number of vcpus should be allowed |
| Function | 64 | update to many vms on same host | Update too many(5-10) vms on same host | vm should get updated without error-exception |
| Functional | Y | Fail | Pass Y |
| |||||||||||
| Memory actual |
| Manage-Unmanage/Disable-Enable
|
|
|
|
|
|
|
| ||||||||||||||||
44 65 | memory-actual | after scaling up check memery actual of vms | 1-update vm (cpu and RAM) |
| Functional | Y |
|
| 66 | Disable-Enable cluster/pod/zone | 1-Updtade vm | 1-step 2 should not have any effect on step 1 |
| Functional | Fail |
|
| |||||||||
Y |
|
| Attach-Detach Volume |
|
|
|
|
|
|
| 67 | Attach-Detach volumes | 1-deploy vm | |||||||||||||
45 | CPU cap | scale up vm to a SO which have cpu cap enabled | cpu limit should be set for vm all operation should go smoothly |
| Functional |
| Y |
|
| Fail | Fail | |||||||||||||||
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||
46 |
|
|
|
|
| |||||||||||||||||||||
|
|
|
|
|
|
|
|
| ||||||||||||||||||
Gust OS | 1-Scale up a vm form small to medium instance | vm should have 1 GB memory and 1GHz CPU |
| Functional | Y | Pass |
| Fail | https://issues.apache.org/jira/browse/CLOUDSTACK-2990#comment-13682213 | |||||||||||||||||
47 | Guest OS (window-8) | Scale up a windows 8 vm | memory and ram should get registered |
| Functoinal | Y | -- |
| Pass |
|
|
|
|
|
|
| |
|