Pearl1594 commented on PR #10684:
URL: https://github.com/apache/cloudstack/pull/10684#issuecomment-2841342776

   
https://github.com/apache/cloudstack/pull/10684/commits/3509d13d5146d5cc6a3a551c2f5bf8c3e59ac32d
 fixes the issue with the way extra config is passed. 
   Before fix:
   ```
   [root@ref-trl-8431-x-mol8-pearl-dsilva-marvin ~]# nosetests --with-xunit 
--xunit-file=results.xml --with-marvin 
--marvin-config=/marvin/ref-trl-8431-x-Mol8-pearl-dsilva-advanced-cfg -s -a 
tags=before --hypervisor=Xenserver 
/marvin/tests/smoke/test_deploy_vm_extra_config_data.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_30_2025_09_14_32_YGPKI3 All 
logs will be available here ====
   
   === Marvin Init Logging Successful===
   
   ==== Marvin Init Successful ====
   === TestName: test_07_deploy_vm_with_extraconfig_xenserver | Status : 
EXCEPTION ===
   
   === Final results are now copied to: 
/marvin//MarvinLogs/test_deploy_vm_extra_config_data_L96KRM ===
   
   ```
   
   Error thrown on Xen:
   ```
   2025-04-30 08:50:18,876 DEBUG [c.c.a.ApiServlet] 
(qtp1390913202-17:[ctx-0661945c, ctx-8c964097, ctx-d0696d21]) (logid:f3928490) 
===END===  10.0.112.109 -- GET  
jobid=73e90964-c8a9-4dd2-b9d5-1afb8c54c037&command=queryAsyncJobResult&response=json&apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&signature=zhix3C3GW%2BmFsjrPyyNggORyUas%3D
   2025-04-30 08:50:19,166 WARN  [c.c.h.x.r.XcpServer83Resource] 
(DirectAgent-244:[ctx-e32986ce]) (logid:73e90964) Task failed! Task record:     
            uuid: 6e081024-12f1-7b91-8535-c7bd9d2a6006
              nameLabel: Async.VM.start_on
        nameDescription:
      allowedOperations: []
      currentOperations: {}
                created: Wed Apr 30 08:52:59 UTC 2025
               finished: Wed Apr 30 08:53:05 UTC 2025
                 status: failure
             residentOn: com.xensource.xenapi.Host@aa444b17
               progress: 1.0
                   type: <none/>
                 result:
              errorInfo: [INTERNAL_ERROR, xenopsd internal error: 
Domain.Domain_build_pre_failed("Calling 'shadow_allocation_set 3 MiB' failed: 
Xenctrl.Error(\"22: Invalid argument\")")]
            otherConfig: {debug_info:cancel_points_seen=1}
              subtaskOf: com.xensource.xenapi.Task@aaf13f6f
               subtasks: []
              backtrace: (((process xapi)(filename 
ocaml/xapi-client/client.ml)(line 7))((process xapi)(filename 
ocaml/xapi-client/client.ml)(line 19))((process xapi)(filename 
ocaml/xapi-client/client.ml)(line 5845))((process xapi)(filename 
ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 
24))((process xapi)(filename 
ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 
39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 
146))((process xapi)(filename 
ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 
24))((process xapi)(filename 
ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 
39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 
1938))((process xapi)(filename 
ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 
24))((process xapi)(filename 
ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 
39))((process xapi)(filename ocaml/libs/x
 api-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process 
xapi)(filename 
ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 
39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 
1922))((process xapi)(filename ocaml/xapi/rbac.ml)(line 191))((process 
xapi)(filename ocaml/xapi/rbac.ml)(line 200))((process xapi)(filename 
ocaml/xapi/server_helpers.ml)(line 75)))
   
   2025-04-30 08:50:19,183 INFO  [c.c.c.ClusterManagerImpl] 
(Cluster-Heartbeat-1:[ctx-84fdefd7]) (logid:fc0a7c8f) No inactive management 
server node found
   2025-04-30 08:50:19,183 DEBUG [c.c.c.ClusterManagerImpl] 
(Cluster-Heartbeat-1:[ctx-84fdefd7]) (logid:fc0a7c8f) Peer scan is finished. 
profiler: Done. Duration: 2ms , profilerQueryActiveList: Done. Duration: 1ms, , 
profilerSyncClusterInfo: Done. Duration: 0ms, profilerInvalidatedNodeList: 
Done. Duration: 0ms, profilerRemovedList: Done. Duration: 0ms
   ```
   
   
   Post fix:
   ```
   [root@ref-trl-8431-x-mol8-pearl-dsilva-marvin ~]# nosetests --with-xunit 
--xunit-file=results.xml --with-marvin 
--marvin-config=/marvin/ref-trl-8431-x-Mol8-pearl-dsilva-advanced-cfg -s -a 
tags=after --hypervisor=Xenserver 
/marvin/tests/smoke/test_deploy_vm_extra_config_data.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_30_2025_09_16_42_MFF43T All 
logs will be available here ====
   
   === Marvin Init Logging Successful===
   
   ==== Marvin Init Successful ====
   ====Trying SSH Connection: Host:10.0.35.194 User:root                        
           Port:22 RetryCnt:60===
   ===SSH to Host 10.0.35.194 port : 22 SUCCESSFUL===
   {Cmd: xe vm-list name-label=i-2-9-VM params=uuid  via Host: 10.0.35.194} 
{returns: ['uuid ( RO)    : 7e391f0c-1fd5-329a-660e-0c42f196eb5e', '', '']}
   {Cmd: xe vm-param-get param-name=HVM-boot-policy 
uuid=7e391f0c-1fd5-329a-660e-0c42f196eb5e via Host: 10.0.35.194} {returns: 
['""']}
   {Cmd: xe vm-param-get param-name=PV-bootloader 
uuid=7e391f0c-1fd5-329a-660e-0c42f196eb5e via Host: 10.0.35.194} {returns: 
['pygrub']}
   {Cmd: xe vm-param-get param-name=PV-args 
uuid=7e391f0c-1fd5-329a-660e-0c42f196eb5e via Host: 10.0.35.194} {returns: 
['hvc0']}
   === TestName: test_07_deploy_vm_with_extraconfig_xenserver | Status : 
SUCCESS ===
   
   === Final results are now copied to: 
/marvin//MarvinLogs/test_deploy_vm_extra_config_data_Y8S84E ===
   
   ```


-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to