2026-10-09 19:48:13,752 - DEBUG - Parsing Test data successful
2026-10-09 19:48:13,753 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-09 19:48:13,753 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-09 19:48:13,770 - DEBUG - Response : [{id : 'a672c44f-c3f0-11f1-975d-1e002100023e', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-09T14:49:37+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : '728a7b63-c3f0-11f1-975d-1e002100023e', roletype : 'Admin', rolename : 'Root Admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-09 19:48:13,770 - DEBUG - Payload: {'id': 'a672c44f-c3f0-11f1-975d-1e002100023e', 'command': 'getUserKeys', 'response': 'json'}
2026-10-09 19:48:13,770 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-09 19:48:13,787 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-09 19:48:13,787 - DEBUG - ==== Test Client Creation Successful ====
2026-10-09 19:48:13,888 - DEBUG - Payload: {'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Lf5dPhrChM3cD/o680FpR5v2At0='}
2026-10-09 19:48:13,888 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-09 19:48:13,941 - DEBUG - Response : [{id : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', name : 'pr147-n88-kvm-ubuntu26', dns1 : '10.0.32.1', dns2 : '8.8.8.8', internaldns1 : '10.0.32.1', internaldns2 : '8.8.4.4', guestcidraddress : '10.1.1.0/24', networktype : 'Advanced', securitygroupsenabled : False, gputotal : 0, gpuused : 0, allocationstate : 'Enabled', zonetoken : '9caf6485-ba87-3697-812a-b093fa5469f5', dhcpprovider : 'VirtualRouter', localstorageenabled : False, tags : [], allowuserspecifyvrmtu : False, routerprivateinterfacemaxmtu : 1500, routerpublicinterfacemaxmtu : 1500, type : 'Core', isnsxenabled : False, ismultiarch : False, asnrange : '', routedmodeenabled : True, hasannotations : False}]
2026-10-09 19:48:13,942 - DEBUG - Payload: {'command': 'listClusters', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'alLSeQPPL0YJCD404g9yz6L/GyA='}
2026-10-09 19:48:13,942 - DEBUG - ========Sending GET Cmd : listClusters=======
2026-10-09 19:48:13,976 - DEBUG - Response : [{id : '643acd9e-30c8-4d2f-891f-ef774191f794', name : 'p1-c1', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', hypervisortype : 'KVM', clustertype : 'CloudManaged', allocationstate : 'Enabled', managedstate : 'Managed', cpuovercommitratio : '2.0', memoryovercommitratio : '1.0', resourcedetails : {cpuOvercommitRatio : '2.0', drs.imbalance : '1.0', memoryOvercommitRatio : '1.0', drs.algorithm : 'balanced'}, arch : 'x86_64', hasannotations : False}]
2026-10-09 19:48:13,977 - DEBUG - Payload: {'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BYVU5RhMdLyIIO33ThMJS7BwqWk='}
2026-10-09 19:48:13,977 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,048 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,048 - DEBUG - ::::::::::::STARTED : TC: test_01_list_hosts_no_filter :::::::::::
2026-10-09 19:48:14,049 - DEBUG - Payload: {'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BYVU5RhMdLyIIO33ThMJS7BwqWk='}
2026-10-09 19:48:14,049 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,107 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,108 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,108 - DEBUG - TestCaseName: test_01_list_hosts_no_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,108 - DEBUG - ::::::::::::STARTED : TC: test_02_list_hosts_clusterid_filter :::::::::::
2026-10-09 19:48:14,109 - DEBUG - Payload: {'clusterid': '643acd9e-30c8-4d2f-891f-ef774191f794', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'nzUoui8viwv85VGqSm6pMbDUP6Y='}
2026-10-09 19:48:14,109 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,163 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}]
2026-10-09 19:48:14,163 - DEBUG - Payload: {'clusterid': 'invalidclusterid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'CL2oGq510D7Q7/3T+iVYHs7q8po='}
2026-10-09 19:48:14,163 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,189 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:14,190 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f13a73548b0> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter clusterid value=invalidclusterid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:14,190 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,190 - DEBUG - TestCaseName: test_02_list_hosts_clusterid_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,190 - DEBUG - ::::::::::::STARTED : TC: test_03_list_hosts_hahost_filter :::::::::::
2026-10-09 19:48:14,191 - DEBUG - Payload: {'name': 'ha.tag', 'command': 'listConfigurations', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Unllb/CGuTYeMIqDwLtyGEzyx94='}
2026-10-09 19:48:14,191 - DEBUG - ========Sending GET Cmd : listConfigurations=======
2026-10-09 19:48:14,221 - DEBUG - Response : [{category : 'Advanced', group : 'Compute', subgroup : 'High Availability', name : 'ha.tag', description : 'HA tag defining that the host marked with this tag can be used for HA purposes only', isdynamic : False, component : 'management-server', displaytext : 'Ha tag', type : 'String'}]
2026-10-09 19:48:14,222 - DEBUG - HA is not enabled in the setup
2026-10-09 19:48:14,222 - DEBUG - Payload: {'hahost': 'invalidvalue', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'nxT8EeOIRPj53CTkmwgj7GnXob4='}
2026-10-09 19:48:14,222 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,273 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,274 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,274 - DEBUG - TestCaseName: test_03_list_hosts_hahost_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,274 - DEBUG - ::::::::::::STARTED : TC: test_04_list_hosts_hypervisor_filter :::::::::::
2026-10-09 19:48:14,275 - DEBUG - Payload: {'hypervisor': 'kvm', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'XoF44qWWyZYldE1MMiSWVteSCvE='}
2026-10-09 19:48:14,275 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,337 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}]
2026-10-09 19:48:14,337 - DEBUG - Payload: {'hypervisor': 'invalidhypervisor', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hemZXjlEGcsMKSvIo8PJgLtw8IM='}
2026-10-09 19:48:14,337 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,408 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,409 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,409 - DEBUG - TestCaseName: test_04_list_hosts_hypervisor_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,410 - DEBUG - ::::::::::::STARTED : TC: test_05_list_hosts_id_filter :::::::::::
2026-10-09 19:48:14,410 - DEBUG - Payload: {'id': 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'8mRzqwLIgTM5RjUk98ZAtjf3dCQ='}
2026-10-09 19:48:14,410 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,453 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-09 19:48:14,453 - DEBUG - Payload: {'id': 'invalidid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'gavK3wcsa+ZupTXjskT9WdjuN0A='}
2026-10-09 19:48:14,454 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,478 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:14,478 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f13a7354340> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter id value=invalidid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:14,478 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,478 - DEBUG - TestCaseName: test_05_list_hosts_id_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,478 - DEBUG - ::::::::::::STARTED : TC: test_06_list_hosts_keyword_filter :::::::::::
2026-10-09 19:48:14,479 - DEBUG - Payload: {'keyword': 'pr147-n88-kvm-ubuntu26-kvm1', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'gXlcNDtNNlxRaLt+vxyQYgSfNG4='}
2026-10-09 19:48:14,479 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,518 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-09 19:48:14,519 - DEBUG - Payload: {'keyword': 'invalidkeyword', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'4qgWgzQ7ZqXNBlo9jlCbeWxI6Kg='}
2026-10-09 19:48:14,519 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,547 - DEBUG - Response : None
2026-10-09 19:48:14,547 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,547 - DEBUG - TestCaseName: test_06_list_hosts_keyword_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,547 - DEBUG - ::::::::::::STARTED : TC: test_07_list_hosts_name_filter :::::::::::
2026-10-09 19:48:14,548 - DEBUG - Payload: {'name': 'pr147-n88-kvm-ubuntu26-kvm1', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'3e5TLYRG6An+ZQh41u+Q75s3wv8='}
2026-10-09 19:48:14,548 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,585 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}]
2026-10-09 19:48:14,585 - DEBUG - Payload: {'name': 'invalidname', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wiK+F5M7iyVuxnYQaNPKAMCIM8k='}
2026-10-09 19:48:14,585 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,610 - DEBUG - Response : None
2026-10-09 19:48:14,610 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,611 - DEBUG - TestCaseName: test_07_list_hosts_name_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,611 - DEBUG - ::::::::::::STARTED : TC: test_08_list_hosts_podid_filter :::::::::::
2026-10-09 19:48:14,612 - DEBUG - Payload: {'podid': 'f33f2408-f76d-46a7-86a9-ec8b493fd418', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wPzEj9TY/xmK/vQsBegfMh6nxP8='}
2026-10-09 19:48:14,612 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,660 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,661 - DEBUG - Payload: {'podid': 'invalidpodid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qF/TG7nntF/W6TWS2bxsdD0BqDg='}
2026-10-09 19:48:14,661 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,700 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:14,700 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f13a7354940> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter podid value=invalidpodid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:14,701 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,701 - DEBUG - TestCaseName: test_08_list_hosts_podid_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,701 - DEBUG - ::::::::::::STARTED : TC: test_09_list_hosts_resourcestate_filter :::::::::::
2026-10-09 19:48:14,701 - DEBUG - Payload: {'resourcestate': 'Enabled', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'3LDIQwZN1Zn0OnTfPcFGSP5pggY='}
2026-10-09 19:48:14,701 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,750 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,751 - DEBUG - Payload: {'resourcestate': 'invalidresourcestate', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'O38e6/k/HYXOMAxHvEfE8rv+H9Q='}
2026-10-09 19:48:14,751 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,775 - DEBUG - Response : None
2026-10-09 19:48:14,775 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,776 - DEBUG - TestCaseName: test_09_list_hosts_resourcestate_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,776 - DEBUG - ::::::::::::STARTED : TC: test_10_list_hosts_state_filter :::::::::::
2026-10-09 19:48:14,776 - DEBUG - Payload: {'state': 'Up', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vlWwGV17u6ZLXfDJ+0lBqHEwj20='}
2026-10-09 19:48:14,776 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,831 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,832 - DEBUG - Payload: {'state': 'invalidstate', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'PEZOhLriP/IuTxyeBGkwuEO/V1I='}
2026-10-09 19:48:14,832 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,861 - DEBUG - Response : None
2026-10-09 19:48:14,862 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,862 - DEBUG - TestCaseName: test_10_list_hosts_state_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,862 - DEBUG - ::::::::::::STARTED : TC: test_11_list_hosts_type_filter :::::::::::
2026-10-09 19:48:14,863 - DEBUG - Payload: {'type': 'Routing', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9KlWSNY7yvCwHu/EybCc015LIWE='}
2026-10-09 19:48:14,863 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,904 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}]
2026-10-09 19:48:14,905 - DEBUG - Payload: {'type': 'invalidtype', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'f1gwI2LFo+XiCF5HlRaiH8L6wcg='}
2026-10-09 19:48:14,905 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,936 - DEBUG - Response : None
2026-10-09 19:48:14,936 - DEBUG - Cleaning up the resources
2026-10-09 19:48:14,937 - DEBUG - TestCaseName: test_11_list_hosts_type_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:14 2026; Result: SUCCESS
2026-10-09 19:48:14,937 - DEBUG - ::::::::::::STARTED : TC: test_12_list_hosts_zoneid_filter :::::::::::
2026-10-09 19:48:14,937 - DEBUG - Payload: {'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'3i3PFBGcb/Nz2HlZJ2Kp4Ht2r1Y='}
2026-10-09 19:48:14,937 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:14,996 - DEBUG - Response : [{id : 'b96d77c4-b4e4-4312-b4cc-605d40b9e03d', name : 'pr147-n88-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.167', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '5.86%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 42607, networkkbswrite : 0, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 1877622784, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:05:29+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', autoenablekvmhost : 'true', Host.OS : 'Ubuntu'}, annotation : "The host pr147-n88-kvm-ubuntu26-kvm1 (b96d77c4-b4e4-4312-b4cc-605d40b9e03d) is enabled despite the setting 'enable.kvm.host.auto.enable.disable' is enabled for the cluster 1", lastannotated : '2026-10-09T17:46:57+0000', username : 'admin', ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : True}, {id : '47317fb1-436d-4246-ac16-2f1df6787333', name : 'pr147-n88-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.170', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.04%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.41, networkkbsread : 43183, networkkbswrite : 1, memorytotal : 6711345152, memorywithoverprovisioning : '6711345152', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 1000710144, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:59:38+0000', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', clusterid : '643acd9e-30c8-4d2f-891f-ef774191f794', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-09T15:06:48+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : '5cd46bd1-66d0-46e9-85f0-485eed5fe889', name : 'v-1-VM', state : 'Up', type : 'ConsoleProxy', ipaddress : '10.0.40.25', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '93fbb069-7da9-489b-a9a9-5451456de8e6', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:16+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}, {id : '0142b139-5417-423a-8868-3a623c292b03', name : 's-2-VM', state : 'Up', type : 'SecondaryStorageVM', ipaddress : '10.0.40.34', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', podid : 'f33f2408-f76d-46a7-86a9-ec8b493fd418', podname : 'Pod1', version : '4.23.0.0-shapeblue20470', memoryallocated : 0, lastpinged : '1970-01-21T05:59:38+0000', virtualmachineid : '6355defb-813e-450e-ba6d-364d6fe5cb44', managementserverid : '37281866-cffc-4dfb-99d2-07125797c051', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt2.sofia.shapeblue.com', islocalstorageactive : False, created : '2026-10-09T15:13:21+0000', events : 'AgentDisconnected; HostDown; AgentConnected; StartAgentRebalance; PingTimeout; ShutdownRequested; Ping; ManagementServerDown; Remove', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hasannotations : False}]
2026-10-09 19:48:14,996 - DEBUG - Payload: {'zoneid': 'invalidzoneid', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vxS+pjHlG1Hkb1R/Ot1xb9rG+80='}
2026-10-09 19:48:14,996 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-09 19:48:15,021 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:15,022 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listHosts.listHostsCmd object at 0x7f13a7354a60> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listhosts failed, due to: errorCode: 431, errorText:Unable to execute API command listhosts due to invalid value. Invalid parameter zoneid value=invalidzoneid due to incorrect long value format, or entity does not exist or due to incorrect parameter annotation for the field in api cmd class.
2026-10-09 19:48:15,022 - DEBUG - Cleaning up the resources
2026-10-09 19:48:15,022 - DEBUG - TestCaseName: test_12_list_hosts_zoneid_filter; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:48:14 2026; EndTime: Fri Oct  9 19:48:15 2026; Result: SUCCESS
2026-10-09 19:48:15,022 - DEBUG - Cleaning up the resources
