2026-10-28 00:51:36,064 - DEBUG - Parsing Test data successful
2026-10-28 00:51:36,065 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-28 00:51:36,065 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-28 00:51:36,076 - DEBUG - Response : [{id : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-27T12:05:51+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : '87d83eed-d1fe-11f1-81aa-1e0044000301', roletype : 'Admin', rolename : 'Root Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-28 00:51:36,076 - DEBUG - Payload: {'id': 'c1166b9d-d1fe-11f1-81aa-1e0044000301', 'command': 'getUserKeys', 'response': 'json'}
2026-10-28 00:51:36,076 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-28 00:51:36,088 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-28 00:51:36,089 - DEBUG - ==== Test Client Creation Successful ====
2026-10-28 00:51:36,224 - DEBUG - Payload: {'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'taHWwbdB2MfrjDaU2iur/dKK3ew='}
2026-10-28 00:51:36,224 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-28 00:51:36,249 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 0, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 29.078125, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-28 00:51:36,250 - DEBUG - Payload: {'name': 'pr14320-n151-kvm-ubuntu26', 'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'XMCUV0BgKtT0u2lrAUb+/yrR07A='}
2026-10-28 00:51:36,250 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-28 00:51:36,272 - DEBUG - Response : [{id : 'f630bd38-52a4-422f-9829-a3efc24896fe', name : 'pr14320-n151-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 : '0808943c-497a-3662-b9bc-14ca6b8458e6', dhcpprovider : 'VirtualRouter', localstorageenabled : False, tags : [], allowuserspecifyvrmtu : False, routerprivateinterfacemaxmtu : 1500, routerpublicinterfacemaxmtu : 1500, type : 'Core', isnsxenabled : False, ismultiarch : False, asnrange : '', routedmodeenabled : True, hasannotations : False}]
2026-10-28 00:51:36,272 - DEBUG - Payload: {'templatefilter': 'featured', 'zoneid': 'f630bd38-52a4-422f-9829-a3efc24896fe', 'command': 'listTemplates', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'So2Fz73CqTnXVRsvMdlN3mR6OIc='}
2026-10-28 00:51:36,273 - DEBUG - ========Sending GET Cmd : listTemplates=======
2026-10-28 00:51:36,301 - DEBUG - Response : [{id : '54f6782c-d1fe-11f1-81aa-1e0044000301', name : 'CentOS 5.5(64-bit) no GUI (KVM)', displaytext : 'CentOS 5.5(64-bit) no GUI (KVM)', ispublic : True, created : '2026-10-27T12:32:22+0000', isready : True, passwordenabled : False, format : 'QCOW2', isfeatured : True, crossZones : True, ostypeid : '553891b1-d1fe-11f1-81aa-1e0044000301', ostypename : 'CentOS 5.5 (64-bit)', account : 'system', zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', status : 'Download Complete', size : 8589934592, physicalsize : 1769537536, templatetype : 'BUILTIN', hypervisor : 'KVM', domain : 'ROOT', domainpath : 'ROOT', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', isextractable : True, checksum : 'ed0e788280ff2912ea40f7f91ca7a249', details : {}, downloaddetails : [{downloadState : 'DOWNLOADED', datastore : 'pr14320-n151-kvm-ubuntu26-sec1', datastoreRole : 'Image', downloadPercent : '100', datastoreId : '049895eb-3c89-44a0-a6b9-1b97e78b7b24'}, {downloadState : 'DOWNLOADED', datastore : 'pr14320-n151-kvm-ubuntu26-ceph-pri1', datastoreRole : 'Primary', downloadPercent : '100', datastoreId : '6014fd77-59fa-3a64-b04a-b7d3b2f39699'}], arch : 'x86_64', bits : 0, sshkeyenabled : False, isdynamicallyscalable : False, directdownload : False, deployasis : False, forcks : False, requireshvm : False, url : 'http://10.0.3.122/builtin_templates/eec2209b-9875-3c8d-92be-c001bd8a0faf.qcow2.bz2', tags : [], hasannotations : False}]
2026-10-28 00:51:36,302 - DEBUG - Payload: {'cpunumber': '8', 'cpuspeed': '8096', 'displaytext': 'Tiny Instance', 'memory': '8096', 'name': 'Tiny Instance', 'command': 'createServiceOffering', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'VHfiOw0ihtszeeMDJWhep/2Et/I='}
2026-10-28 00:51:36,302 - DEBUG - ========Sending GET Cmd : createServiceOffering=======
2026-10-28 00:51:36,338 - DEBUG - Response : {id : '143cbee8-9398-40b4-8c9b-b98b2e9acc92', name : 'Tiny Instance', state : 'Active', displaytext : 'Tiny Instance', cpunumber : 8, cpuspeed : 8096, memory : 8096, created : '2026-10-28T00:51:36+0000', storagetype : 'shared', provisioningtype : 'thin', offerha : False, limitcpuuse : False, isvolatile : False, issystem : False, defaultuse : False, iscustomized : False, rootdisksize : 0, dynamicscalingenabled : True, diskofferingstrictness : False, diskofferingid : 'd61a6ca8-4865-4543-9ac3-2e7748dd36c6', diskofferingname : 'Tiny Instance', diskofferingdisplaytext : 'Tiny Instance', encryptroot : False, gpudisplay : False, hasannotations : False}
2026-10-28 00:51:36,339 - DEBUG - ::::::::::::STARTED : TC: test_01_positive_tests_usage :::::::::::
2026-10-28 00:51:36,340 - DEBUG - Payload: {'accounttype': 0, 'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'email': 'test-account@test.com', 'firstname': 'test', 'lastname': 'test', 'password': 'password', 'username': 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'M6jTYslAJy5M1A/u1O2Zt4oXo5w='}
2026-10-28 00:51:36,340 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-28 00:51:38,890 - DEBUG - Response : {id : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', name : 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '20', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-28T00:51:39+0000', user : [{id : '759b12a9-d667-4386-aad1-69539f478d1c', username : 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', firstname : 'test', lastname : 'test', email : 'test-account@test.com', created : '2026-10-28T00:51:39+0000', state : 'enabled', account : 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-28 00:51:38,891 - DEBUG - Payload: {'account': 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', 'displayname': 'testserver', 'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'serviceofferingid': '143cbee8-9398-40b4-8c9b-b98b2e9acc92', 'templateid': '54f6782c-d1fe-11f1-81aa-1e0044000301', 'zoneid': 'f630bd38-52a4-422f-9829-a3efc24896fe', 'command': 'deployVirtualMachine', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FH6XIFzp1aa5oYy7cjKyKgM0pwU='}
2026-10-28 00:51:38,891 - DEBUG - ========Sending GET Cmd : deployVirtualMachine=======
2026-10-28 00:51:39,304 - DEBUG - === Jobid: a37e47a9-47d6-48ec-9849-8c1de088cda1 Started ===
2026-10-28 00:51:39,305 - DEBUG - Payload: {'jobid': 'a37e47a9-47d6-48ec-9849-8c1de088cda1', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'5EMKWCuCdUdagMYT80bp1ThsNrk='}
2026-10-28 00:51:39,305 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:39,331 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'VirtualMachine', jobinstanceid : '334cf1ce-23a6-4b14-9255-7c32a3652f5d', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:39+0000', jobid : 'a37e47a9-47d6-48ec-9849-8c1de088cda1', jobstatus : 0}
2026-10-28 00:51:40,333 - DEBUG - === JobId:a37e47a9-47d6-48ec-9849-8c1de088cda1 is Still Processing, Will TimeOut in:3599 ====
2026-10-28 00:51:40,333 - DEBUG - Payload: {'jobid': 'a37e47a9-47d6-48ec-9849-8c1de088cda1', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'5EMKWCuCdUdagMYT80bp1ThsNrk='}
2026-10-28 00:51:40,333 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:40,363 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', jobprocstatus : 0, jobresultcode : 533, jobresulttype : 'object', jobresult : {errorcode : 533, errortext : 'No destination found for a deployment for VM instance {"id":380,"instanceName":"i-266-380-VM","state":"Stopped","type":"User","uuid":"334cf1ce-23a6-4b14-9255-7c32a3652f5d"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '334cf1ce-23a6-4b14-9255-7c32a3652f5d', created : '2026-10-28T00:51:39+0000', completed : '2026-10-28T00:51:39+0000', jobid : 'a37e47a9-47d6-48ec-9849-8c1de088cda1', jobstatus : 2}
2026-10-28 00:51:40,363 - ERROR - ==== __poll: Exception Occurred :Job failed: {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', jobprocstatus : 0, jobresultcode : 533, jobresulttype : 'object', jobresult : {errorcode : 533, errortext : 'No destination found for a deployment for VM instance {"id":380,"instanceName":"i-266-380-VM","state":"Stopped","type":"User","uuid":"334cf1ce-23a6-4b14-9255-7c32a3652f5d"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '334cf1ce-23a6-4b14-9255-7c32a3652f5d', created : '2026-10-28T00:51:39+0000', completed : '2026-10-28T00:51:39+0000', jobid : 'a37e47a9-47d6-48ec-9849-8c1de088cda1', jobstatus : 2} ====
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 104, in __poll
    raise Exception("Job failed: %s"\
Exception: Job failed: {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', jobprocstatus : 0, jobresultcode : 533, jobresulttype : 'object', jobresult : {errorcode : 533, errortext : 'No destination found for a deployment for VM instance {"id":380,"instanceName":"i-266-380-VM","state":"Stopped","type":"User","uuid":"334cf1ce-23a6-4b14-9255-7c32a3652f5d"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '334cf1ce-23a6-4b14-9255-7c32a3652f5d', created : '2026-10-28T00:51:39+0000', completed : '2026-10-28T00:51:39+0000', jobid : 'a37e47a9-47d6-48ec-9849-8c1de088cda1', jobstatus : 2}
2026-10-28 00:51:40,364 - DEBUG - Response : FAILED
2026-10-28 00:51:40,364 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.deployVirtualMachine.deployVirtualMachineCmd object at 0x7f241b6a6f40> 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 104, in __poll\n    raise Exception("Job failed: %s"\\\n', 'Exception: Job failed: {accountid : \'c1154605-d1fe-11f1-81aa-1e0044000301\', account : \'admin\', domainid : \'54e5326a-d1fe-11f1-81aa-1e0044000301\', domainpath : \'ROOT\', userid : \'c1166b9d-d1fe-11f1-81aa-1e0044000301\', cmd : \'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin\', jobprocstatus : 0, jobresultcode : 533, jobresulttype : \'object\', jobresult : {errorcode : 533, errortext : \'No destination found for a deployment for VM instance {"id":380,"instanceName":"i-266-380-VM","state":"Stopped","type":"User","uuid":"334cf1ce-23a6-4b14-9255-7c32a3652f5d"}\'}, jobinstancetype : \'VirtualMachine\', jobinstanceid : \'334cf1ce-23a6-4b14-9255-7c32a3652f5d\', created : \'2026-10-28T00:51:39+0000\', completed : \'2026-10-28T00:51:39+0000\', jobid : \'a37e47a9-47d6-48ec-9849-8c1de088cda1\', jobstatus : 2}\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 104, in __poll
    raise Exception("Job failed: %s"\
Exception: Job failed: {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', jobprocstatus : 0, jobresultcode : 533, jobresulttype : 'object', jobresult : {errorcode : 533, errortext : 'No destination found for a deployment for VM instance {"id":380,"instanceName":"i-266-380-VM","state":"Stopped","type":"User","uuid":"334cf1ce-23a6-4b14-9255-7c32a3652f5d"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '334cf1ce-23a6-4b14-9255-7c32a3652f5d', created : '2026-10-28T00:51:39+0000', completed : '2026-10-28T00:51:39+0000', jobid : 'a37e47a9-47d6-48ec-9849-8c1de088cda1', jobstatus : 2}
2026-10-28 00:51:40,365 - DEBUG - Payload: {'account': 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', 'domaind': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'command': 'listVirtualMachines', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ye8P80EtuebnDg+UlglIzoNeN7s='}
2026-10-28 00:51:40,365 - DEBUG - ========Sending GET Cmd : listVirtualMachines=======
2026-10-28 00:51:40,403 - DEBUG - Response : [{id : '334cf1ce-23a6-4b14-9255-7c32a3652f5d', name : 'VM-334cf1ce-23a6-4b14-9255-7c32a3652f5d', displayname : 'testserver', account : 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', userid : '759b12a9-d667-4386-aad1-69539f478d1c', username : 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', created : '2026-10-28T00:51:39+0000', lastupdated : '2026-10-28T00:51:39+0000', state : 'Error', haenable : False, zoneid : 'f630bd38-52a4-422f-9829-a3efc24896fe', zonename : 'pr14320-n151-kvm-ubuntu26', templateid : '54f6782c-d1fe-11f1-81aa-1e0044000301', templatename : 'CentOS 5.5(64-bit) no GUI (KVM)', templatetype : 'BUILTIN', templateformat : 'QCOW2', templatedisplaytext : 'CentOS 5.5(64-bit) no GUI (KVM)', passwordenabled : False, isos : [], isomaxcount : 1, serviceofferingid : '143cbee8-9398-40b4-8c9b-b98b2e9acc92', serviceofferingname : 'Tiny Instance', cpunumber : 8, cpuspeed : 8096, memory : 8096, guestosid : '553891b1-d1fe-11f1-81aa-1e0044000301', rootdeviceid : 0, rootdevicetype : 'ROOT', securitygroup : [], nic : [{id : 'db636d9f-fed0-41ca-b29b-fc30e02565d5', networkid : '6dd718a4-bf13-4b02-bb2f-99180569384d', networkname : 'test-a-TestUsageEvents-test_01_positive_tests_usage-LWRZY6-network', netmask : '255.255.255.0', gateway : '10.1.1.1', ipaddress : '10.1.1.82', traffictype : 'Guest', type : 'Isolated', isdefault : True, macaddress : '02:01:01:82:00:01', secondaryip : [], extradhcpoption : [], deviceid : '0', enabled : True}], hypervisor : 'KVM', ipaddress : '10.1.1.82', instancename : 'i-266-380-VM', details : {deployvm : 'true'}, affinitygroup : [], displayvm : True, isdynamicallyscalable : False, deleteprotection : False, ostypeid : '553891b1-d1fe-11f1-81aa-1e0044000301', osdisplayname : 'CentOS 5.5 (64-bit)', receivedbytes : 0, sentbytes : 0, arch : 'x86_64', tags : [], hasannotations : False}]
2026-10-28 00:51:40,442 - DEBUG - select type from usage_event where account_id = '266';
2026-10-28 00:51:40,461 - DEBUG - Query result: [('NETWORK.CREATE',), ('VOLUME.CREATE',), ('VM.CREATE',), ('VM.DESTROY',), ('VOLUME.DELETE',)]
2026-10-28 00:51:40,462 - DEBUG - Cleaning up the resources
2026-10-28 00:51:40,462 - DEBUG - Payload: {'id': '55edb163-8a8e-47fb-b0a3-01eeb70227c6', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g/NSWRUaYKW967JXPvi4g5gSBs8='}
2026-10-28 00:51:40,462 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-28 00:51:40,503 - DEBUG - === Jobid: 3141b51b-2b64-4418-9867-27c2246e5a82 Started ===
2026-10-28 00:51:40,503 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:40,503 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:40,539 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:40+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 0}
2026-10-28 00:51:41,541 - DEBUG - === JobId:3141b51b-2b64-4418-9867-27c2246e5a82 is Still Processing, Will TimeOut in:3599 ====
2026-10-28 00:51:41,541 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:41,542 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:41,569 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:40+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 0}
2026-10-28 00:51:42,571 - DEBUG - === JobId:3141b51b-2b64-4418-9867-27c2246e5a82 is Still Processing, Will TimeOut in:3598 ====
2026-10-28 00:51:42,572 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:42,572 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:42,597 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:40+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 0}
2026-10-28 00:51:43,599 - DEBUG - === JobId:3141b51b-2b64-4418-9867-27c2246e5a82 is Still Processing, Will TimeOut in:3597 ====
2026-10-28 00:51:43,600 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:43,600 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:43,623 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:40+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 0}
2026-10-28 00:51:44,625 - DEBUG - === JobId:3141b51b-2b64-4418-9867-27c2246e5a82 is Still Processing, Will TimeOut in:3596 ====
2026-10-28 00:51:44,626 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:44,626 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:44,649 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:40+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 0}
2026-10-28 00:51:45,651 - DEBUG - === JobId:3141b51b-2b64-4418-9867-27c2246e5a82 is Still Processing, Will TimeOut in:3595 ====
2026-10-28 00:51:45,651 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:45,651 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:45,675 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:40+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 0}
2026-10-28 00:51:46,676 - DEBUG - === JobId:3141b51b-2b64-4418-9867-27c2246e5a82 is Still Processing, Will TimeOut in:3594 ====
2026-10-28 00:51:46,677 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:46,677 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:46,703 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-28T00:51:40+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 0}
2026-10-28 00:51:47,704 - DEBUG - === JobId:3141b51b-2b64-4418-9867-27c2246e5a82 is Still Processing, Will TimeOut in:3593 ====
2026-10-28 00:51:47,705 - DEBUG - Payload: {'jobid': '3141b51b-2b64-4418-9867-27c2246e5a82', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'vtEcAGBZD4WhrMPmegpahswwDCM='}
2026-10-28 00:51:47,705 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-28 00:51:47,727 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', created : '2026-10-28T00:51:40+0000', completed : '2026-10-28T00:51:47+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 1}
2026-10-28 00:51:47,728 - DEBUG - ===Jobid:3141b51b-2b64-4418-9867-27c2246e5a82 ; StartTime:Wed Oct 28 00:51:40 2026 ; EndTime:Wed Oct 28 00:51:47 2026 ; TotalTime:-7===
2026-10-28 00:51:47,728 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '55edb163-8a8e-47fb-b0a3-01eeb70227c6', created : '2026-10-28T00:51:40+0000', completed : '2026-10-28T00:51:47+0000', jobid : '3141b51b-2b64-4418-9867-27c2246e5a82', jobstatus : 1}
2026-10-28 00:51:47,729 - DEBUG - TestCaseName: test_01_positive_tests_usage; Time Taken: 11 Seconds; StartTime: Wed Oct 28 00:51:36 2026; EndTime: Wed Oct 28 00:51:47 2026; Result: SUCCESS
2026-10-28 00:51:47,729 - DEBUG - Cleaning up the resources
2026-10-28 00:51:47,729 - DEBUG - Payload: {'id': '143cbee8-9398-40b4-8c9b-b98b2e9acc92', 'command': 'deleteServiceOffering', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ja43FODkYD8On++8JQXJ6trm/6I='}
2026-10-28 00:51:47,729 - DEBUG - ========Sending GET Cmd : deleteServiceOffering=======
2026-10-28 00:51:47,759 - DEBUG - Response : {success : True}
