shwstppr opened a new pull request #5289:
URL: https://github.com/apache/cloudstack/pull/5289


   ### Description
   
   Current tests (for VMware) in test_vm_life_cyle.py for migrating VM with 
volume only do offline migration.
   Fix for format exception in `relocateVirtualMachine` method.
   
   <!--- 
*********************************************************************************
 -->
   <!--- NOTE: AUTOMATATION USES THE DESCRIPTIONS TO SET LABELS AND PRODUCE 
DOCUMENTATION. -->
   <!--- PLEASE PUT AN 'X' in only **ONE** box -->
   <!--- 
*********************************************************************************
 -->
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [x] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [x] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   <!-- see how your change affects other areas of the code, etc. -->
   Ran updated `test/integration/smoke/test_vm_life_cycle.py` for a VMware env.
   ```
   [root@pr5181-t1519-vmware-70u1-marvin marvin]# nosetests --with-xunit 
--xunit-file=results.xml --with-marvin 
--marvin-config=./pr5181-t1519-vmware-70u1-advanced-cfg -s -a tags=advanced 
--hypervisor=VMware tests/smoke/test_vm_life_cycle.py
   
   ==== Marvin Init Started ====
   
   === Marvin Parse Config Successful ===
   
   === Marvin Setting TestData Successful===
   
   ==== Log Folder Path: /marvin/MarvinLogs/Aug_06_2021_20_17_52_5YIVVL. All 
logs will be available here ====
   
   === Marvin Init Logging Successful===
   
   ==== Marvin Init Successful ====
   === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
   
   === TestName: test_deploy_vm | Status : SUCCESS ===
   
   === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
   
   === TestName: test_01_offline_migrate_VM_and_root_volume | Status : SUCCESS 
===
   
   === TestName: test_02_offline_migrate_VM_with_two_data_disks | Status : 
SUCCESS ===
   
   === TestName: test_03_live_migrate_VM_with_two_data_disks | Status : SUCCESS 
===
   
   === TestName: test_04_migrate_detached_volume | Status : SUCCESS ===
   
   === TestName: test_01_unmanage_vm_cycle | Status : SUCCESS ===
   
   === TestName: test_01_vapps_vm_cycle | Status : SUCCESS ===
   ...
   ```
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) 
document -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to