Pearl1594 opened a new pull request, #10761:
URL: https://github.com/apache/cloudstack/pull/10761

   ### Description
   
   This PR fixes the consistent test failure noticed on the cluster drs test 
suite on the 4.19 and 4.20 health check PRs for XenServer/XCP-ng versions 8.0+.
   This is because the template used - namely the built-in centos 5.6 template 
does not have PV drivers installed i.e., xenserver tools, thus migration of the 
VM fails with the following exception:
   
   ```
   2025-04-22 05:13:01,446 DEBUG [c.c.a.m.D.Task] 
(DirectAgent-428:[ctx-8a11e226]) (logid:b6b3bd33) Seq 2-3585709728317048979: 
Executing request
   2025-04-22 05:13:01,481 WARN  [c.c.h.x.r.XenServer650Resource] 
(DirectAgent-428:[ctx-8a11e226]) (logid:0348b8ac) Task failed! Task record:     
            uuid: 15d12e85-9a6d-0a91-2662-ee82cd6215c2
              nameLabel: Async.VM.pool_migrate
        nameDescription:
      allowedOperations: []
      currentOperations: {}
                created: Tue Apr 22 05:13:01 UTC 2025
               finished: Tue Apr 22 05:13:01 UTC 2025
                 status: failure
             residentOn: com.xensource.xenapi.Host@a4064fa5
               progress: 1.0
                   type: <none/>
                 result:
              errorInfo: [VM_LACKS_FEATURE, 
OpaqueRef:457e3157-4d65-4041-b6f1-0fe971f57b44]
            otherConfig: {}
              subtaskOf: com.xensource.xenapi.Task@aaf13f6f
               subtasks: []
   
   ```
   <!--- Describe your changes in DETAIL - And how has behaviour functionally 
changed. -->
   
   <!-- For new features, provide link to FS, dev ML discussion etc. -->
   <!-- In case of bug fix, the expected and actual behaviours, steps to 
reproduce. -->
   
   <!-- When "Fixes: #<id>" is specified, the issue/PR will automatically be 
closed when this PR gets merged -->
   <!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
   <!-- Fixes: # -->
   
   <!--- 
******************************************************************************* 
-->
   <!--- NOTE: AUTOMATION 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)
   - [ ] 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)
   - [ ] build/CI
   - [X] test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### Screenshots (if appropriate):
   
   ### How Has This Been Tested?
   
   ```
   [root@ref-trl-8376-x-mol8-pearl-dsilva-marvin ~]# nosetests --with-xunit 
--xunit-file=results.xml --with-marvin 
--marvin-config=/marvin/ref-trl-8376-x-Mol8-pearl-dsilva-advanced-cfg -s -a 
tags=advanced --hypervisor=Xenserver test_cluster_drs.py 
   /usr/local/lib/python3.6/site-packages/paramiko/transport.py:32: 
CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python 
core team. Therefore, support for it is deprecated in cryptography. The next 
release of cryptography will remove support for Python 3.6.
     from cryptography.hazmat.backends import default_backend
   
   ==== Marvin Init Started ====
   
   === Marvin Parse Config Successful ===
   
   === Marvin Setting TestData Successful===
   
   ==== Log Folder Path: /marvin/MarvinLogs/Apr_22_2025_05_19_55_ZM6BYI All 
logs will be available here ====
   
   === Marvin Init Logging Successful===
   
   ==== Marvin Init Successful ====
   system vms and routers to migrate -- 0
   === Running test_01_condensed_drs_algorithm ===
   === TestName: test_01_condensed_drs_algorithm | Status : SUCCESS ===
   
   system vms and routers to migrate -- 0
   === Running test_02_balanced_drs_algorithm ===
   === TestName: test_02_balanced_drs_algorithm | Status : SUCCESS ===
   
   ```
   
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   
   #### How did you try to break this feature and the system with this change?
   
   <!-- see how your change affects other areas of the code, etc. -->
   
   <!-- 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