You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 43 Next »

 

Hypervisor : VMware
Abbreviation SO :service offering

CO :compute offering

 

 

 

 

Test Case ID

Test Case Name

Steps

Expected Results

Priority
(P0|P1|P2)

Test Case Type
(Sanity | Functional|Upgrade|Performance)

Automatable(Y/N)

1

UI and API


1-Check for upgrade button
2-Select  CO and  Upgrade

1-Upgrade button should be present.
2- Should call scaleVirtualMachine  and return job id


P0

Functional

Y

 

User VM  CPU/ RAM scale up

 

 

 

 

 

2

Scaling up CPU
(Capability available on current host)

1-Select a running user vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

3

Scaling up CPU
(Capability not available on current host but available in current cluster)

1-Select a running user vm
2-upgrade SO

1-Vm should migrate(live) to another host (having capability).
2- SO upgrade should be successful

P0

Functional

Y

4

Scaling up CPU
(capability not available in current cluster)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should fail.

P0

Functional

Y

5

Scaling up RAM
(Capability available on current host)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should be successful

P0

Functional

Y

6

Scaling up RAM
(Capability not available on current host but available in current cluster)

1-Select a running user vm
2-upgrade SO

1-Vm should migrate(live) to another host (having capability).
2- SO upgrade should be successful

P0

Functional

Y

7

Scaling up RAM
(capability not available in current cluster)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should fail..

P0

Functional

Y

8

Scaling up CPU and RAM
(Capability available on current host)

1-Select a running user vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

9

Scaling up CPU and RAM
(Capability not available on current host but available in current cluster)

1-Select a running user vm
2-upgrade SO

1-Vm should migrate(live) to another host (having capability).
2- SO upgrade should be successful

P0

Functional

Y

10

Scaling up CPU and RAM
(capability not available in current cluster)

1-Select a running user vm
2-upgrade SO

1-SO upgrade should fail..

P0

Functional

Y

 

System VM  CPU/RAM scale up

( Need to repeat  for SSVM,CPVM,VR)

 

 

 

 

 

 

Scaling up CPU
(Capability available on current host)

1-Select a running system  vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

 

Scaling up CPU
(Capability not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-Vm should migrate(live) to another host (having capability).
2- SO upgrade should be successful

P1

Functional

Y

 

Scaling up CPU
(capability not available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-SO upgrade should fail.

P2

Functional

Y

 

Scaling up RAM
(Capability available on current host)

1-Select a running system  vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

 

Scaling up RAM
(Capability not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-Vm should migrate(live) to another host (having capability).
2- SO upgrade should be successful

P1

Functional

Y

 

Scaling up RAM
(capability not available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-SO upgrade should fail.

P2

Functional

Y

 

Scaling up CPU and RAM
(Capability available on current host)

1-Select a running system  vm
2-upgrade SO

1- SO upgrade should be successful

P0

Functional

Y

 

Scaling up CPU and RAM
(Capability not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-Vm should migrate(live) to another host (having capability).
2- SO upgrade should be successful

P1

Functional

Y

 

Scaling up CPU and RAM
(capability not available in current cluster)

1-Select a running system  vm
2-upgrade SO

1-SO upgrade should fail.

P2

Functional

Y

 

 

 

 

 

 

 

 

 Restart/power off  VM during operation

 

 

 

 

 

11

Restart VM while scaling UP CPU
(Capability available on current host)

1-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-DB should get updated with new compute offering
2-When Vm start it should use  values of new  compute offering

P0

Functional

Y

 

Restart VM while scaling UP CPU
(Capability not available on current host but available in current cluster)

1-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-VM should live migrate
2-DB should get updated with new compute offering
3-When Vm start it should use those values of new  compute offering.

P0

Functional

Y

 

Restart VM while scaling UP CPU
(capability not available in current cluster)

1-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-SO upgrade should fail.

P2

Functional

Y

12

Restart VM while scaling UP RAM
(Capability available on current host)

1-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-DB should get updated with new compute offering
2-When Vm start it should use  values of new  compute offering

P0

Functional

Y

 

Restart VM while scaling UP RAM
(Capability not available on current host but available in current cluster)

-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-VM should live mirgate
2-DB should get updated with new compute offering
3-When Vm start it should use  values of new  compute offering

P0

Functional

Y

 

Restart VM while scaling UP RAM
(capability not available in current cluster)

-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-SO upgrade should fail.

P2

Functional

Y

 

Restart VM while scaling UP CPU and RAM
(Capability available on current host)

-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-DB should get updated with new compute offering
2-When Vm start it should use those values of new  compute offering

P0

Functional

Y

 

Restart VM while scaling UP CPU and RAM
(Capability not available on current host but available in current cluster)

-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-Vm should live migrate
2-DB should get updated with new compute offering
3-When Vm starte it should use those values of new  compute offering

P0

Functional

Y

 

Restart VM while scaling UP CPU and RAM
(capability not available in current cluster)

-Select a running vm
2-Upgrade SO
3-Use API to restart/stop VM

1-SO upgrade should fail.

P2

Functional

Y

 

Restart system vms during operation

( Need to repeat for SSVM,CPVM,VR )

 

 

 

 

 

 

Restart VM while scaling UP CPU
(Capability available on current host)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-DB should get updated with new compute offering
2-When Vm start it should use those values of new  compute offering

P1

Functional

Y

 

Restart VM while scaling UP CPU
(Capability not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-VM should  migrate
2-DB should get updated with new compute offering

3-When Vm start it should use those values of new  compute offering.

P1

Functional

Y

 

Restart VM while scaling UP CPU
(capability not available in current cluster)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-SO upgrade should fail

P2

Functional

Y

 

Restart VM while scaling UP RAM
(Capability available on current host)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-DB should get updated with new compute offering
2-When Vm start it should use those values of new  compute offering.

P1

Functional

Y

 

Restart VM while scaling UP RAM
(Capability not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-VM should  migrate
2-DB should get updated with new compute offering
3-When Vm start it should use those values of new  compute offering

P1

Functional

Y

 

Restart VM while scaling UP RAM
(capability not available in current cluster)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-SO upgrade should fail

P2

Functional

Y

 

Restart VM while scaling UP CPU and RAM
(Capability available on current host)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-DB should get updated with new compute offering
2-When Vm start it should use those values of new  compute offering

P1

Functional

Y

 

Restart VM while scaling UP CPU and RAM
(Capability not available on current host but available in current cluster)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1-VM should migrate
2-DB should get updated with new compute offering
3-When Vm start it should use  values of new  compute offering

P1

Functional

Y

 

Restart VM while scaling UP CPU and RAM
(capability not available in current cluster)

1-Select a running system  vm
2-upgrade SO
3-Use API to restart VM

1- SO upgrade should fail

P2

Functional

Y

 

Snapshot creation while scaling up CPU/RAM

 

 

 

 

 

17

snapshot creation while scaling up RAM

1-Select a running system  vm.
2-upgrade SO .
3-Use API to create snapshot.

snapshot creation should fail

P2

Functional

Y

19

snapshot creation while scaling up CPU

1-Select a running system  vm.
2-upgrade SO .
3-Use API to create snapshot.

snapshot creation should fail

P2

Functional

Y

21

snapshot creation while scaling up RAM and CPU

1-Select a running system  vm.
2-upgrade SO .
3-Use API to create snapshot.

snapshot creation should fail

P2

Functional

Y

 

Guest OS Support

 

 

 

 

 

23

Guest OS does not support scaling up

1-Select a running user VM
2-Click on upgrade SO

Should throw  "not supported exception"

P3

Functional

Y

 

Migration Fails(Two host in cluster)

(power off /service network stop , Destination host)

 

 

 

Functional

 

25

Scaling up CPU

1-select a running VM and upgrade SO
2-power of destination host

1-CS should try N times
2- throw  an exception

P1

Functional

Y

 

scaling up CPU

1-select a running VM and upgrade SO
2-Issue service network stop on target host

1-CS should try N times
2-throw an exception

P1

Functional

Y

 

Scaling up CPU

1-select a running VM and upgrade SO
2-power of destination host
3-power on Target Host before CS attempt to migrate fails

1-CS should try N times
2- if successful upgrade SO

P1

Functional

 

 

Scaling up CPU

1-select a running VM and upgrade SO
2-power of destination host
3-issue service network start on  Target Host before CS attempt to migrate fails

1-CS should try N times
2- if successful upgrade SO

P2

Functional

 

26

scaling up RAM

1-select a running VM and upgrade SO
2-power of destination host

1-CS should try N times
2- throw  an exception

P1

Functional

Y

 

scaling up RAM

1-select a running VM and upgrade SO
2-Issue service network stop on target host

1-CS should try N times
2- throw  an exception

P1

Functional

Y

 

scaling up RAM

1-select a running VM and upgrade SO
2-power of destination host
3-power on Target Host before CS attempt to migrate fails

1-CS should try N times
2- if successful upgrade SO

P1

Functional

 

 

Scaling up CPU

1-select a running VM and upgrade SO
2-power of destination host
3-issue service network start on  Target Host before CS attempt to migrate fails

1-CS should try N times
2- if successful upgrade SO

P2

Functional

 

27

scaling up CPU and  RAM

1-select a running VM and upgrade SO
2-power of destination host

1-CS should try N times
2- throw  an exception

P1

Functional

Y

 

scaling up CPU and  RAM

1-select a running VM and upgrade SO
2-Issue service network stop on target host

1-CS should try N times
2- throw  an exception

P1

Functional

Y

 

scaling up CPU and  RAM

1-select a running VM and upgrade SO
2-power of destination host
3-power on Target Host before CS attempt to migrate fails

1-CS should try N times
2- if successful upgrade SO

P1

Functional

 

 

scaling up CPU and  RAM

1-select a running VM and upgrade SO
2-power of destination host
3-issue service network start on  Target Host before CS attempt to migrate fails

1-CS should try N times
2- if successful upgrade SO

P2

Functional

 

 

 Migration Fails More than two host in cluster

 

 

 

 

 

 

scaling up RAM

1-select a running VM and upgrade SO
2-power of destination host

1-CS should choose another host(having capability)
2-Upgade SO

P1

Functional

Y

 

Scaling up CPU

1-select a running VM and upgrade SO
2-pwer of destination host

1-CS should choose another host(having capability)
2-Upgade SO

P1

Functional

Y

 

scaling up CPU and  RAM

1-select a running VM and upgrade SO
2-pwer of destination host

1-CS should choose another host(having capability)
2-Upgade SO

P!

Functional

Y

 

Scale Down

 

 

 

 

 

28

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

 

 

 

 

 

29

upgrade path

Pre upgrade Steps

1-Deploy some vms
2-Create some snapshots
3-create some compute offerings

FOLLOW UPGRADE STEPS DEFINE IN RELEASE DOC

Post upgrade steps

4-upgrade existing vms with compute offering (before upgrade)
5-Deploy a vm and Create new compute offering
6-upgrade existing vms with compute offering (created after upgrade)
7-Upgrade  new vm  using olde compute offering
8-upgrade new vm using new compute offering
(REPEAT FOR EACH SSVM,CPVM,VR,RVR)
9-upgeade ssvm with old offering
10-upgrade ssvm with new compute offering

1-upgrade should go properly
2-step 4 should fail
3-step 5 should be successful
4-step 6 should fail
5-step 7 should be successful
6-step 8 should be successful
7-step 9 should be successful
8-step 10 should be successful

P1

Upgrade

N



 

 

 

 

 

31




 

 

 

 

Other 

 

 

 

 

 

 

Change SO of a stop VM

1-Stop vm
2-change SO

step 2 should be successful 

 

Functional

Y

 

Restore VM

1- Scale up CPU/RAM
2-destroy vm
3-restore VM

1-Restore VM should boot using last  used service offering by vm.

 

Functional

Y

 

Dashboard

 

 

 

 

 

 

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

 

Usage Event

 

Waiting for FS  update

 

 

 

  • No labels