| 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 |
|
|
|
|
|
|
| 2 | Scaling up CPU | 1-Select a running user vm 1- SO upgrade should be successful | P0 | Functional | Y | Pass |
| |||
3 | Scaling up CPU | 1-Select a running user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y |
|
| |||||||||||
4 | Scaling up CPU | 1-Select a running user vm | 1-SO upgrade should fail. | P0 | Functional | Y |
|
| |||||||||||
5 | Scaling up RAM | 1-Select a running user vm | 1-SO upgrade should be successful | P0 | Functional | Y | Pass |
| |||||||||||
6 | Scaling up RAM | 1-Select a running user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y |
|
| 7 | Scaling up RAM ||||||||||
2- | Pass |
| |||||||||||||||||
| User VM CPU/ RAM scale up |
|
|
|
|
|
|
|
|
| |||||||||
2 | 1-Select a running user vm | 1-SO upgrade should fail.. | P0 | Functional | Y |
|
| ||||||||||||
8 | Scaling up CPU and RAM | 1-Select a running user vm | 1- SO upgrade should be successful | P0 | Functional | Y |
|
| |||||||||||
9 | Scaling up CPU and RAM | 1-Select a running user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y |
|
| |||||||||||
10 | Scaling up CPU and RAM | 1-Select a running user vm | 1-SO upgrade should fail.. | P0 | Functional | Y |
|
| |||||||||||
| System VM CPU/RAM scale up( Need to repeat for SSVM,CPVM,VR) |
|
|
|
|
|
|
| |||||||||||
11 | Scaling up CPU | 1-Select a running system vm | 1- SO upgrade should be successful | P0 | Functional | Y |
|
| |||||||||||
12 | Scaling up CPU | 1-Select a running system vm | 1-Vm should migrate(live) to another host (having Capacity). | P1 | Functional | Y |
|
| |||||||||||
13 | Scaling up CPU | 1-Select a running system user vm | 1-SO upgrade should fail. | P2 | Functional | Y |
|
| 14 | - SO upgrade should be successful | P0 | Functional | Y | Passed with workaround | Pass |
| |||
3 | Scaling up CPU | 1-Select a running system user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y | Pass |
| Fail | ||||||||||
4 |
| 15 | Scaling up RAM CPU | 1-Select a running system user vm | 1-Vm should migrate(live) to another host (having Capacity). | P1 P0 | Functional | Y | Pass |
| Pass |
| |||||||
16 5 | Scaling up RAM | 1-Select a running system user vm | 1-SO upgrade should fail. be successful | P2 P0 | Functional | Y | Pass |
|
| Fail | |||||||||
6 17 | Scaling up CPU and RAM | 1-Select a running system user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 | Functional | Y | Fail |
|
| ||||||||||
18 7 | Scaling up CPU and RAM | 1-Select a running system user vm | 1-Vm should migrate(live) to another host (having Capacity). | P0 P1 | Functional | Y | Pass |
|
|
| |||||||||
19 8 | Scaling up CPU and RAM | 1-Select a running system user vm | 1- SO upgrade should fail. be successful | P2 P0 | Functional | Y | Pass |
|
| Restart/power off VM during operation Pass |
|
|
|
|
|
|
| ||
9 | Scaling up CPU and RAM | 20 | Restart VM while scaling UP CPU | 1-Select a running user vm | 1-DB should get updated with new compute offering | P0 | Functional | Y |
|
| 21 | Vm should migrate(live) to another host (having Capacity). | P0 | Function | Y | Fail | Fail | ||
10 | Scaling up CPU and RAM | 1-Select a running user vm | 1-SO upgrade should fail. 1-VM should live migrate | P0 | Functional | Y | Pass |
| Pass |
| |||||||||
| System VM CPU/RAM scale up( Need to repeat for SSVM,CPVM,VR) |
|
|
|
|
|
|
|
|
| |||||||||
11 | Scaling up | 22 | Restart VM while scaling UP CPU | 1-Select a running system vm | 1- SO upgrade should fail. | P2 | Functional | Y |
|
| be successful | P0 | Functional | Y | Pass | Fail | |||
12 | Scaling up CPU | 23 | Restart VM while scaling UP RAM | 1-Select a running system vm | 1-DB should get updated with new compute offering | P1 P0 | Functional | Y | blocked |
| Blocked |
| 24 | ||||||
13 | Scaling up Restart VM while scaling UP RAM | 1-Select a running vm | 1- SO upgrade should be successful 1-VM should live mirgate | P0 | Functional | Y | Pass |
| Blocked |
| 25 | ||||||||
14 | Scaling up Restart VM while scaling UP RAM | 1-Select a running system vm | 1 1-Vm should migrate(live) to another host (having Capacity). | P2 P1 | Functional | Y | blocked |
| Blocked |
| |||||||||
15 | Scaling up | 26 | Restart VM while scaling UP CPU and RAM | 1-Select a running system vm | 1- DB should get updated with new compute offering | P0 | Functional | Y | Pass |
| Blocked |
| 27 | ||||||
16 | Scaling up Restart VM while scaling UP CPU and RAM | -Select a running vm | 1-Vm should live migrate | P0 | Functional | cluster) | 1-Select a running system vm | 1-Vm should migrate(live) to another host (having Capacity). | P1 | Functional | Y | blocked |
| Blocked |
| ||||
| Scale up vm while Restart/power off VM is in process |
|
|
|
|
|
| Y |
|
| |||||||||
17 28 | Restart VM while scaling UP 1-Restart/stop VM | 1-Use API to restart/stop VM | 1-SO upgrade should fail. | 1- Restart vm should not have any effect on scaling up | P0 P2 | Functional | Y | Pass |
| Pass |
| ||||||||
Restart system vms during operation | Scale up system vm while Restart/power off VM is in process( Need to repeat for SSVM,CPVM,VR ) |
|
|
|
|
|
|
|
|
| |||||||||
18 29 | 1-Restart/stop VM | 1-Use API to restart/stop VM | 1-DB should get updated with new compute offering | P1 | Functional | Y | Pass |
| 30 | Restart VM while scaling UP CPU | 1-Select a running system vm | 1-VM should migrate P1 | Functional | Blocked |
| ||||
| Scaling up while snapshot creation is in process |
|
|
|
|
|
| Y |
|
| |||||||||
19 | Scaling up RAM while snapshot creation is in process | 31 | Restart VM while scaling UP CPU | 1-Select a running system vm. | scaling up should be successful | P2 | Functional | Y | Pass |
| Pass |
| |||||||
20 | Scaling up CPU while snapshot creation is in process | 33 | Restart VM while scaling UP RAM | 1-Select a running system vm. | 1-DB should get updated with new compute offering | create snapshot. | scaling up should be successful | P2 P1 | Functional | Y | Pass |
| Pass |
| 34 | ||||
21 | Scaling up CPU and RAM while snapshot creation is in process Restart VM while scaling UP RAM | 1-Select a running system vm. | 1-VM should migrate | P1 | Functional | create snapshot. | scaling up should be successful | P2 | Functional | Y | Pass |
| Pass |
| |||||
| Guest OS Support |
|
|
|
|
| Y |
|
|
| |||||||||
22 | Guest OS does not support scaling up | 35 | Restart VM while scaling UP RAM | 1-Select a running system vm user VM | 1-SO upgrade should fail | Should throw "not supported exception" | P3 P2 | Functional | Y |
|
|
|
| 36 | |||||
| CS behavior when migration failsRestart VMwhile scalingUPup CPUand/RAM(power off /service network stop , Destination host) |
|
|
|
|
|
|
|
|
| |||||||||
23 | Scaling up CPU Capacity available on current host) | 1-Select select a running system vm | 1-DB should get updated with new compute offering Scaleup should failed | P1 | Functional | Y |
|
| VM should remain in start state | P1 | Functional | Y | Fail | Blocked |
| ||||
24 | scaling up CPU | 1-select a running VM and upgrade SO | 1-Scaleup should failed | 37 | Restart VM while scaling UP CPU and RAM | 1-Select a running system vm | 1-VM should migrate | P1 | Functional | Y | Fail |
| Blocked |
| |||||
25 38 | Restart VM while scaling UP CPU and RAM | 1-Select select a running system vm | 1- SO upgrade should fail | 2-power off destination host | 1-Scaleup should failed | P1 P2 | Functional | Y | Fail |
|
| Snapshot creation while scaling up CPU/RAM Blocked |
| ||||||
26 |
|
|
|
|
|
| 39 | snapshot creation while scaling up RAM | 1-Select a running system vm. | snapshot creation should fail | select a running VM and upgrade SO | 1-Scaleup should failed | P1 P2 | Functional | Y | Fail |
| Blocked |
|
27 40 | snapshot creation while scaling up CPU and RAM | 1-Select select a running system vm. VM and upgrade SO | snapshot creation should fail | -power off target host | 1-Scaleup should failed | P1 P2 | Functional | Y | Fail |
| Blocked |
| |||||||
28 41 | snapshot creation while scaling up CPU and RAM and CPU | 1-Select select a running system vm. VM and upgrade SO | snapshot creation should fail | Issue service network stop on target host | 1-Scaleup should failed | P1 P2 | Functional | Y | Fail |
| Blocked |
| |||||||
Guest OS Support |
|
|
|
|
|
|
| 42 | Guest OS does not support scaling up | 1-Select a running user VM Should throw "not supported exception" | P3 | Functional | Y |
|
| ||||
| Scale Down |
|
CS behavior when migration fails while scaling up CPU/RAM(power off /service network stop , Destination host) |
|
|
|
|
|
|
| |||||||||
29 43 | Scaling up Scale down CPU and Memory | 1- select a running VM and upgrade SO | should get a message "scale down not supported" | P1 | Functional | Y |
|
| 44 | scaling up CPU | 1-select a running VM and upgrade SO | 1-CS should try N times | P1 | Functional | Fail | Fail | |||
| UPGRADE |
|
| Y |
|
| 45 | 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 |
|
| |||||||||||
|
|
| |||||||||||||||||
30 | upgrade path | Pre upgrade Steps | 1-upgrade should go properly | P1 | Upgrade | N |
|
|
|
| |||||||||
| Other |
|
|
|
|
|
|
|
|
| |||||||||
31 | Change SO of a stop VM | 1-Scale up vm | step 2 should be successful |
| Functional | Y | Pass |
| Pass |
| |||||||||
| Dashboard |
|
|
|
|
|
|
|
|
| |||||||||
32 | scale up cpu /RAM | 1-Change CO of a running VM | Dashboard should display new used and free value of CPU and RAM according to CO values. |
| Functional | N | Pass |
| Pass |
| |||||||||
|
|
|
|
|
|
|
|
|
|
| |||||||||
33 | Usage Event |
| Waiting for FS update |
|
|
|
|
|
|
| |||||||||
| Race condition |
|
|
|
|
|
|
| 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 |
|
| |||
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 |
|
|
|
|
|
| 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 |
|
| |||||||||||
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 |
|
|
| Scale Down |
|
|
|
|
|
|
| |||||||
37 | Attach-Detach volumes | 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" | deploy vm | all operation should go smoothly | P1 | Functional | Y | Pass |
| Pass |
| |||||
| VM Life cycle | UPGRADE
|
|
|
|
|
|
|
| 59 | |||||||||
38 | stop-start | upgrade path | Pre upgrade Steps | 1-Deploy some vms scale up cpu/ram | 1-upgrade should go properly | P1 | Upgrade | N |
|
| -stop-start vm | 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 |
|
| Other |
|
|
|
|
|
|
| 60 | Change SO of a stop VM | 1-Stop vm | step 2 should be successful |
| Functional |
| |
41 | cluster.cpu.allocated.capacity.disablethreshold |
| should not be allowed to scale up cpu beyond cpu threshold Y |
|
| Dashboard | hold | Global parameter is in dev process |
|
|
| ||||||||
42 | cluster.memery.allocated.capacity.desablethreshould |
| scaleup should not be allowed after memory threshold |
| 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 | Function | Y | hold | Global parameter is in dev process N |
|
| |||
| Vcpus |
|
|
|
|
|
|
|
| 63 | |||||||||
43 Usage Event |
| Waiting for FS update | Vcpus | Scaleup number of vcpus | only scaling up number of vcpus should be allowed |
| Function | Y |
|
| Race condition | Fail | Pass |
| |||||
| Memory actual |
|
|
| 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 |
|
| Manage-Unmanage/Disable-Enable |
|
| |||
44 |
|
| memory-actual | after scaling up check memery actual of vms | 1-For system vms and user vms memory actual should get changed to new values |
| 65 | Manage-Unmanage cluster | 1-Scaleup vm (cpu and RAM) | 1-step 2 should not have any effect on step 1 |
| Functional | Y | Pass
| |||||
66 | Disable-Enable cluster/pod/zone | 1-Scaleup vm | 1-step 2 should not have any effect on step 1 |
| Functional | Y | Pass |
| |||||||||||
| Attach-Detach Volume |
|
|
|
|
|
|
| |||||||||||
67 | Attach-Detach volumes | 1-deploy vm | all operation should go smoothly |
| Functional | Y | Pass |
| |||||||||||
Functional | Y | Fail |
|
| |||||||||||||||
|
|
|
|
|
|
|
|
|
|
| |||||||||
45 | CPU cap | scale up vm to a SO which have cpu cap enabled | cpu limit should be set for vm |
| Functional |
| Fail | Fail | |||||||||||
|
|
|
|
| VM Life cycle |
|
|
|
|
|
|
| |||||||
46 | Gust OS | 68 | stop-start | 1-scale up cpu/ram | vm should have 1 GB memory and 1GHz CPU 1-vm should be using scaled up service offering |
| Functional | Y | Pass |
| |||||||||
69 | Reboot | 1-scale up cpu/ram | 1-vm should be using scaled up service offering |
| 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 | -- |
| 70 | expunge and restore and start | 1-scale up cpu/ram | 1-vm should be using scaled up service offering |
| Functional | Y | Pass |
|