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

Compare with Current View Page History

« Previous Version 3 Current »

Browser-based Template / Volume upload Test Plan @ BrowserBasesvolume_or_template_upload_Test_Plan_3.xlsx

Test cases

RefTest StepVariantsVerifyCan Automate (Yes/No)
  

Hypervisor - Vmware,KVM,XenServer,HyperV ,

Storage - NFS,iSCSI(Vmware) , SMB(HyperV) 

Guest OS - Windows 8 , Win 2012 , RHEL 6.5 ,

Storage- Local, Shared ,

Account - Root Admin , User , Domain Admin

  
Test Path 1: Browser Based Volume Life Cycle    
Deploy    
D1Deploy Zone1(shared storage)   
D2Deploy Zone 2 with Shared Storage added to the deployment (Zone wide primary , Cluster wide Primary)   
D3Setup the domain name - Reference
1. Procedure to Replace realhostip.com with Your Own Domain Name
2. Implementation details and troubleshooting - uploading custom domain certificate instead of using realhostip.com
   
D4Install and Configure Usage Server   
D5Add multilple secondary Storages   
Setup    
S1Create Domain Admin DA1 , User Account UA1 , Account added to the Project   
S2Create Custom Disk Offering with Local Storage - LDO1   
S3Create Custom Disk Offering with Shared Storage - SDO1   
S4Create Disk Offering with Shared Storage - SDO2 with storage tags   
S5Create Isolated Guest Network -GN1   
S6Register Template Windows 8, Windows 2012, RHEL 6.5   
S7Deploy VM's with no additional disk using the templates created S5 on Zone1 created in D1   
S8Deploy VM's with additional disk using the templates created S5 on Zone2 created in D2   
Tests    
T1Browse volume and upload 1GB volume using the offering created in S2 as UA1DoneUpload and download of volume to be successful , List Volumes and verify the Volume details , Verify the Events , Notifications generated in the UI flow , Verify the Storage where this volume got downloaded, Verify the state of the volume to transit from NOT_UPLOADED => UPLOAD_IN_PROGRESS => UPLOADED, Verify DB for the download URL entryYes
T2Browse volume and upload 1GB volume using the offering created in S2 as UA1 - NFS location mounted on dsektopDone  
T3Attach the volume to a VM created in S7DoneVerify the state of the volume . VerifyYes
T4Write the data to the newly added volume Verify the state of the volumeYes
T5Add multiple upload volumes using custom Disk offeringDoneVerify the state of the volumeYes
T6Attach multiple uploaded volumes to the instanceDoneVerify the state of the volumeYes
T7Stop and start Virtual machine after attaching the volumeDoneVerify the state of the volumeYes
T8Detach the volumeDoneVerify the state of the volumeYes
T9Attach the detached volume to a new instanceDoneVerify the state and contents of the diskYes
T10Reset VM when it has the uploaded data volume attachedDoneVerify the uploaded volume state during reset and after reset VMYes
T11Resize the uploaded detached volumeDoneVerify the volume size in the storage , Resource limitsYes
T12Attach the resized detached volume to a new instanceDoneVerify the volume size in the storage , Resource limitsYes
T13Resize the volume when its attached to the instanceDoneVerify the volume size in the storage , Resource limitsYes
T14Resize the volume after upload is completed and before attaching to any instanceDoneVerify the volume size in the storage , Resource limitsYes
T15Upload the volume with md5 sumDoneVerify the md5sum after its downloaded to Secondary storageYes
T16Verify the Download volume POST URL expiry Verify the expire URL and redown before and after expiry time.Yes
T17Take the volume backup snapshot Verify from backend (Hypervisor) and from secondary storageYes
T18Schedule recurring snapshot on uploaded volume Verify from backend (Hypervisor) and from secondary storageYes
T19Download the uploaded volumeDoneVerify that uploaded volume downloadble URL and its expiry time validityYes
T20Create the template from the snapshots created on uploaded volumeDoneEnsure the existent behavior and verify that template creation works fine. Verify this template availability in the secondary storageYes
T21Create the volumes from the snapshots created on uploaded volumeDoneEnsure the existent behavior and verify that volume creation works fine. Verify this template availability in the secondary storageYes
T22Attach these volumes to the instances Verify the availability of this volume under primary storageYes
T23Recover the destroyed VM which has uploaded data volume attachedDoneEnsure that DATA volumes remain attached to the instance and ability to write into the volumes after recovering the VMYes
T24Change the domain name and try Uploading the volume Verify the Upload Volume parameters to generate new valuesYes
T25Upload the volume with POST URL as HTTP type using curl It should allow only HTTPSYes
T26Delete the Uploaded volume before attaching to the instanceDoneVerify that its cleaned from secondary storageYes
T27Delete the detached upload volumeDoneVerify that its cleaned from Primary storageYes
T28Assign the VM which has these upload volumes attached to a new account Verify that DATA volumes ownership change and ability to writeYes
T29VMSnapshot with Disk and Memory of the VM with upload volume Currently its not allowed to create VMSnapshot when it has volumes attached. Verify thisYes
T30VMSnapshot with Disk of the VM with upload volume Currently its not allowed to create VMSnapshot when it has volumes attached. Verify thisYes
T31Revert VM Snapshot Currently its not allowed to create VMSnapshot when it has volumes attached. Verify thisYes
T32Reboot VM when it has upload volume attachedDoneVerify that reboot works fine and ability to write into DATA volumeYes
T33Delete the VM which has upload volume attached Verify that DATA volumes gets into detached state after deleting the VMYes
T34Upload Volume when there are multiple secondary storages available in a single zone Verify the correct URL generation during upload 
T35Upload Template when there are multiple secondary storages available in a single zone Verify the correct URL generation during upload 
T36Attach upload volumes to a VM which has VM Snapshots created Currently its not allowed to add volumes to a VM which has VMSnapshot. Verify this 
T37Detach the volumes and try creating VM Snapshots with Disk and Memory Currently its not allowed to add volumes to a VM which has VMSnapshot. Verify this 
T38Detach the volumes and try creating VM Snapshots with Disk Verify that it allows to create VM Snapshot after detaching the upload volumes 
T39Attach upload volumes to a VM after removing the VM Snapshots created on it Verify that it allows to attach volumes after removing the VM Snapshots 
Cleanup    
C1Delete the account   
C2Delete the Service Offering   
     
Test Path 2: Browser Based Template Life Cycle    
Tests   Yes
T1Browse and upload the template Validate the States of the template ,Yes
T2Deploy instance using uploaded template with root volume only Verify that deployment is successfulYes
T3Attach Volumes to this instance and write data on the newly attached volume Verify the ability to add volumes to the VM which is created using upload templateYes
T4Deploy instance using uploaded template with additional data volumes Verify the ability to add volumes to the VM which is created using upload templateYes
T5Create VM Snapshot of this instance with Disk only Verify that VMSnapshot works fineYes
T6Create VM Snapshot of this instance with Disk and memory Verify that VMSnapshot works fineYes
T7Revert VM Snapshot with Disk Verify that Revert VMSnapshot works fineYes
T8Revert VM Snapshot with Disk and Memory Verify that Revert VMSnapshot works fineYes
T9Create ROOT volume snapshot of the instane created using uploaded template Verify the Disk Chain and Path only on VmwareYes
T10Recover the instance deployed with Browser based template Verify the Disk Chain and Path only on VmwareYes
T12Reset the Instance with the Browser based Template Verify the Disk Chain and Path only on VmwareYes
T13Upload the template as Public and made it is available for other users to deployment It should be available to all the usersYes
T14Copy the template across zones Ensure that it is avilable in second zone secondary storageYes
T15Reduce the default time till the template can be available in the primary storage and reinitiate the VM deployment after it Is removed from primary storage Verify that templates gets copied to primary storage once it finds its not availableYes
T16Download the uploaded template Verify that its able to download , Verify the DB entries for the URL expiryYes
T17Upload Password enabled template and use it for deployment . Verify that it generates the password correctlyYes
T18Delete the template Verify that its deleted from secondary and primary storage , Its references in DB marked as removedYes
T19Create Private templates and use them for deploying the VM Verify that private templates are not available for others to use it for deployment. Verify that its copied to secondary storage 
Cleanup    
C1Delete the account All references of the account has to be deleted 
C2Delete the service offerings Verify that the service offerings created during this test are cleaned up with no issues 
C3Delete the domain All References of the domain has to be deleted 
Test Path 3: Browser Based Volume Storage Migration    
Tests    
T1Cold Migrate the upload volume to another primary storage when VM is in stopped state Verify that Volumes got migrated to another store. Verify the Disk Path on VmwareYes
T2Stop and start the VM after migration Verify VM got started post cold migration. And DISK volume remained in the migrated primary storageYes
T3Migrate the detached upload volume to another storage Verify that Volumes got migrated to another store. Verify the Disk Path on VmwareYes
T4Attach the upload volume to an instance after volume migration Verify that volume gets attached and veriy Path and Disk chain infoYes
T5Resize the uploaded volume post migration Verify that Volumes got resized from the primary storage . Verify the storage limitsYes
T6Migrate the upload volume after downloading the uploadvolumeWe had an issue with migration after download URL is generatedMigrate should work after downloadYes
T7Migrate the errored uploaded Verify the error messageYes
T8Migrate the uploaded volume to a the same cluster and to an additional PS added to the cluster Migrate should work . Check the PathYes
T9Migrate the uploaded volume to a different cluster Primary storage Migrate should work . Check the PathYes
T10Migrate the uploaded volume to a different zonewide Primary storage Migrate should work . Check the PathYes
T11LiveMigrate the VM with volumes to another storage in the same cluster Migrate should work . Check the PathYes
T12LiveMigrate the VM with volumes to another storage in a different cluster Migrate should work . Check the PathYes
T13Live Migrate VM with upload volumes after deleting the VMSnapshots Migrate should work after VMSnapshot deletionYes
T14Stop and start the VM live after migration Verify the disks are available to write the data 
     
Cleanup    
C1Delete the account   
C2Delete the service offerings   
     
Test Path 4: Storage Global Config Parameters Validation    
Tests    
T1Global configuration to limit the max upload size of template/volume - upload.post.max.size Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T2Hidden configuration to save sha1 PSK on the management server - upload.post.pskNeed verification steps?? Koushik to confirm this  
T3Management server upload polling interval and polling timeout - upload.post.interval, upload.post.timeout Verify time out errors when its not uploaded within the timelimit 
T4storage.cleanup.enabled   
T5storage.cleanup.interval   
T6storage.max.volume.upload.size Upload request need to get rejected 
Cleanup    
C1Delete the account   
C2Delete the service offerings   
     
Test Path 5: Browser based Volume , Template Resource Limits validation    
     
Tests    
T1Acccount Upload volume Limits Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T2Account Primary Storage limits while using Upload volume Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T3Account Upload templates limites Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T4Account Ssecondary storage limits while using Upload templates Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T5Domain Upload volume limits Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T6Domain Upload template limits Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T7Domain Primary storage limites while using upload volumes Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T8Domain secondary storage limits while using upload templates Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T9Global config validations for upload volumes Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limits 
T10Global config validations for upload templates Verify Resource Limits ( used vs limits ) and validate the error message when it crossed the defined limitsYes
    Yes
Cleanup   Yes
C1Delete the account  Yes
C2Delete the service offerings  Yes
    Yes
Test Path 6: Usage Validation for Browser Based Volumes and Templates  Yes
Tests   Yes
T1Verify the usage server validation for uploaded volumes  Yes
T2Verify the usage server validation for uploaded templates  Yes
Cleanup    
C1Delete the account   
C2Delete the service offerings   
     
Test Path 7: Upgrade    
DeployDeploy


D1Upgrade from 4302 to 4.5.1   
D2Upgrade from 307G to 4.5.1   
Tests    
T1Schema comparison with fresh vs upgraded setup for the newly added Global config Parameters 1) Global configuration to limit the max upload size of template/volume - upload.post.max.size
2) Hidden configuration to save sha1 PSK on the management server - upload.post.psk
3) Management server upload polling interval and polling timeout - upload.post.interval, upload.post.timeout
4) Time interval at which the GC or cleanup thread should run - upload.post.gc.interval
 
T2Browse and upload new volumes Verify that it worksNo
T3Attach volumes created in T2 to the existing instances Verify that it worksNo
T4Attach volumes created in T2 to the newly created instances post upgrade Verify that it works 
T5Browse and upload new templates Verify that it works 
T6Deploy VM using this new template Verify that it works 
T7Reset VM using this new template Verify that it works 
Cleanup    
C1Delete the account   
C2Delete the service offerings  No
     
Test Path 8: Negative Testing  Will Rerun automation Post upgrade
Tests   Will Rerun automation Post upgrade
T1Reuse the Post URL (Volume)and use CURL to upload into Secondary storage  Will Rerun automation Post upgrade
T2Reuse the Post URL (Template)and use CURL to upload into Secondary storage  Will Rerun automation Post upgrade
T3Restart SSVM before it starts the upload using Post URL and get the Volume upload failureABANDONED: (TBD: Do we really need to distinguish ERROR and ABANDONED?) IS it Still Open?Validate the state :UPLOAD_ERRORWill Rerun automation Post upgrade
T4Attach the data volume when Upload is In progress It should fail with right message 
T5Attach the errored data volume It should fail with right message 
T6Restart SSVM before it starts the upload using Post URL and get the Volume upload failure   
T7Restart MS and ensure upload wont start for Browser based templates verify that download is not reinitiated for templates 
T8Restart MS when upload of volumes Is InProgress and verify that download is not reinitiated verify that download is not reinitiated for volumes 
T9Delete the volumes when Upload is in Progress It should fail with right message 
T10Delete the templates when Upload is in Progress It should fail with right message 
T11Add Upload volume with defined Disk offering It should fail with right message 
T12Tamper the POST URL and try posting to secondary storage using curl command It should fail with right message 
T13Upload with Invalid File formats It should fail with right message. Verify the state of the failed upload volume 
T14User stopped/canceled the post request before completion It should fail with right message. Verify the state of the upload volume 
T15Upload template failure due to a network issue - Network wentdown on Host where SSVM is running Verify the state of template 
T16Browser request timed out Verify the error message and state of the volume 
T17Browser crashed Kill the Browser process before upload gets started . Verify the state and error message after Browser is reinitiated 
T18SSVM is down/restarted Verify the state of Upload Templates/Volumes with SSVM restart 
T19SSVM apache down/restarted Verify the state of Upload Templates/Volumes with SSVM restart 
T20Secondary storage is not accessible Verify the state of Upload Templates/Volumes 
T21Download Upload Volume and Template when sSVM is not active Verify the state of Upload Templates/Volumes and ability to download URL 
T22There isn't enough space in secondary storage and hence agent can't write to it Copy a huge disk in to SSVM so that its full and then try upload volume/template 
T23Max file size from the header crossed the limit. Koushik to confirm?? Global config max file size should be honoured 
T24SSL handshake failed ( It should have covered with SSVM HA) Validate the error message and state of volume 
T25Params validation with PSK failed ( Tamper the URL testcase should cover) Validate the error message and state of volume 
T26File uploaded is not of the type specified (for ex: if the template is said to be of type tar, the actual downloaded file is not if this type) Add vhd type file but upload ova . Verify the state of the volume and template . Validate the error message 
T27Max upload limit crossed Verify the state of the volume and validate the error message 
T28Upload multiple templates In Parallel Ensure that template upload works and gets copied to secondary storage with no issues. 
T29Upload multiple volumes In Parallel Ensure that template upload works and gets copied to secondary storage with no issues. 
T30Upload Templates and Volumes when Multiple SSVM's present in a single zone Ensure that template upload works and gets copied to secondary storage with no issues. Have a new SSVM being created because of parallel Browser based volume/template uploads happening and secstorage.session.max limit reached 
T31Migrate the errored volume to a same cluster PS Verify the error message and cleanup 
T32Migrate the errored volume to a different cluster Primary storage Verify the error message and cleanup 
T33Migrate the errored volume to a different zonewide Primary storage Verify the error message and cleanup 
T34Try to Cancel the upload inProgress Volume Verify the error message 
T35Try to Cancel the upload inProgress Template Verify the error message 
T36Try to upload volume with invalid md5sum Verify the error message 
T37Upload Template with same name and Display Text Verify the error message 
T38Upload volume with same name and Display Text Verify the error message 
T39Restart Hosts when local storage used for Upload volumesLocal is not supportedEnsure that Upload volumes can be attached/detached/downloaded after host is back to up state 
T40Reset VM with deleted template ID Verify the error message and cleanup of worker VMs if any on Vmware 
T41POST URL with Deleted Volume Verify the error message and cleanup of worker VMs if any on Vmware 
T42Move the Primary Storage into Maintance mode when shared storage used for volumes Ensure that Upload volumes can be attached/detached/downloaded after host is back to up state 
T43Move the Host into Maintance mode when local storage used for volumesLocal is not supportedEnsure that Upload volumes can be attached/detached/downloaded after host is back to up state 
     
Cleanup    
C1Delete the account   
C2Delete the service offerings   
     
Test Path 9: Validation of Required and Optional Parameters in the API request / Response    
Tests    
T1Upload volume with Project ID List volumes and verify the details including the project id 
T2Upload template with Project ID List Templates and verify the details including the project id 
T3Tag volumes/templates and use list API's to list by matched tags List Templates by tags and verify the details 
T4Validate API calls respone without passing required parameters Validate the error message 
T5Validate API calls respone by passing Invalid required parameters ( Invalid Id, ImageStoreID,diskoffringID,Zoneid,Format) Validate the error message 
T6Upload template with Domain ID List Templates and verify the details including the Domain ID 
T7Upload volume with Domain ID List volumes and verify the details including the Domain id 
T8Upload Templates as ROOT Admin and specify the child domain id Admin should be able perform template/volume upload for other accounts using account and domainId parameter 
T9Upload Templates as Domain Admin and specify the one of the User account in the same domain Domain Admin should be able perform template/volume upload for other accounts using account and domainId parameter 
T10Upload volume as ROOT Admin and specify the child domain id Admin should be able perform template/volume upload for other accounts using account and domainId parameterYes
T11Upload volume as Domain Admin and specify the one of the User account in the same domain Domain Admin should be able perform template/volume upload for other accounts using account and domainId parameterYes
T12Login as User account and use the Template created by ROOT admin for this use domain to deploy new VM User account should be able to use the template created by ROOT adminYes
T13Login as User account and use the Template created by Domain admin for this use domain to deploy new VM User account should be able to use the volume reated by Domain adminYes
T14Login as User account and attache the volume created by Domain admin for this user account User account should be able to use the volume created by ROOT adminYes
T15Login as User account and attache the volume created by ROOT admin for this user account   
T16Upload templates to multiple zones by passing “-1” for zoneId register templateSupported ScenarioEnsure that template gets copied to all zones 
T17uploadVolume  "imagestoreuuid" parameter    
Cleanup    
C1Delete the account   
C2Delete the service offerings   
     
Test Path 10: Validation of upload volume/template on a Clustered Node Management Server    
Deploy    
D1Deploy clustered Management node MS with 2 nodes   
D2Deploy Zone 2 with Shared Storage added to the deployment (Zone wide primary , Cluster wide Primary)   
Tests    
T1Upload volume and template   
T2Deploy VM using this template and add upload volume to this VM   
T3Stop MS node where this SSVM is running (Get the MS id of this SSVM from host table) . Upload volume and templates on this SSVM   
T4Restart MS node where this SSVM is running (Get the MS id of this SSVM from host table) . Upload volume and templates on this SSVM   
T5Stop Ms2 node where SSVM requests are forwarded and get MS1 to up state .Upload volume and templates on this SSVM   
T6Issue Browser based volume/template command from a management server that is not the owner of the SSVM , which would result in management server redirecting request to another management server (which is the owner of the SSVM) which needs to communicate with the SSVM to complete the task.   
Cleanup    
C1Delete the account   
C2Delete the service offerings   
Test Path 11: Validations Post SSVM Life cycle   
Tests    
T1Stop and Start SSVM . Perform Upload template and deploy VM with this template   
T2Reset VM using this template   
T3Reboot SSVM . Perform Upload volume and attach this volume to a VM   
T4Live Migrate SSVM to another host. Perform Upload volume and attach , upload template and deploy VM operations   
T5Keep the host into maitanance mode where SSVM is running and get it recreated on other host. Perform Upload volume and attach , upload template and deploy VM operations   
T6Destory SSVM and wait for the new SSVM creation. Perform Upload volume and attach , upload template and deploy VM operations   
Test Path 12: Performance Test Requirements   
Tests    
T1Identify the total no of volumes that can be uploaded in Parallel. TThis limits testing is needed for XD  
Test Path 13: Regression Testing (Upload volumes, Extract template, Extract volume )   
Tests    
T1Validate upload volume   
T2Download volume   
T3Download template   

 

summary

RefTest StepTotal Tests
 Hypervisor - Vmware,KVM,XenServer,HyperV , Storage - NFS,iSCSI(Vmware) , SMB(HyperV) , Guest OS - Windows 8 , Win 2012 , RHEL 6.5 , Storage- Local, Shared , Account - Root Admin , User , Domain Admin 
Test Path 1: Browser Based Volume Life Cycle 38
Test Path 2: Browser Based Template Life Cycle 19
Test Path 3: Browser Based Volume Storage Migration 14
Test Path 4: Storage Global Config Parameters Validation 6
Test Path 5: Browser based Volume , Template Resource Limits validation 10
Test Path 6: Usage Validation for Browser Based Volumes and Templates2
Test Path 7: Upgrade 7
Test Path 8: Negative Testing43
Test Path 9: Validation of Required and Optional Parameters in the API request / Response 17
Test Path 10: Validation of upload volume/template on a Clustered Node Management Server  6
Test Path 11: Validations Post SSVM Life cycle6
Test Path 12: Performance Test Requirements1
Test Path 13: Regression Testing (Upload volumes, Extract template, Extract volume )3
 Total172
  • No labels