2026-10-10 03:06:40,274 - DEBUG - Parsing Test data successful
2026-10-10 03:06:40,274 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-10 03:06:40,274 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-10 03:06:40,292 - 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-10 03:06:40,292 - DEBUG - Payload: {'id': 'a672c44f-c3f0-11f1-975d-1e002100023e', 'command': 'getUserKeys', 'response': 'json'}
2026-10-10 03:06:40,292 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-10 03:06:40,305 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-10 03:06:40,306 - DEBUG - ==== Test Client Creation Successful ====
2026-10-10 03:06:40,411 - DEBUG - Payload: {'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'taHWwbdB2MfrjDaU2iur/dKK3ew='}
2026-10-10 03:06:40,411 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-10 03:06:40,446 - DEBUG - Response : [{id : '403e1dfc-c3f0-11f1-975d-1e002100023e', 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 : 13.078125, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-10 03:06:40,446 - DEBUG - Payload: {'name': 'pr147-n88-kvm-ubuntu26', 'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g81kcaAPnol/n3AJ8Uiu1h6VYvI='}
2026-10-10 03:06:40,446 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-10 03:06:40,483 - 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-10 03:06:40,484 - DEBUG - Payload: {'templatefilter': 'featured', 'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'listTemplates', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'0O3g2my3Sq6eW51IukCwL4gp8fE='}
2026-10-10 03:06:40,484 - DEBUG - ========Sending GET Cmd : listTemplates=======
2026-10-10 03:06:40,526 - DEBUG - Response : [{id : '404b4397-c3f0-11f1-975d-1e002100023e', name : 'CentOS 5.5(64-bit) no GUI (KVM)', displaytext : 'CentOS 5.5(64-bit) no GUI (KVM)', ispublic : True, created : '2026-10-09T15:13:24+0000', isready : True, passwordenabled : False, format : 'QCOW2', isfeatured : True, crossZones : True, ostypeid : '408e3396-c3f0-11f1-975d-1e002100023e', ostypename : 'CentOS 5.5 (64-bit)', account : 'system', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', status : 'Download Complete', size : 8589934592, physicalsize : 1769537536, templatetype : 'BUILTIN', hypervisor : 'KVM', domain : 'ROOT', domainpath : 'ROOT', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', isextractable : True, checksum : 'ed0e788280ff2912ea40f7f91ca7a249', details : {}, downloaddetails : [{downloadState : 'DOWNLOADED', datastore : 'pr147-n88-kvm-ubuntu26-sec1', datastoreRole : 'Image', downloadPercent : '100', datastoreId : '3a373a9d-9513-4811-b85a-43dabe3ef512'}, {downloadState : 'DOWNLOADED', datastore : 'pr147-n88-kvm-ubuntu26-ceph-pri1', datastoreRole : 'Primary', downloadPercent : '100', datastoreId : 'a27530c9-e339-3718-a8fe-1206e381b62a'}], 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-10 03:06:40,527 - 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-10 03:06:40,527 - DEBUG - ========Sending GET Cmd : createServiceOffering=======
2026-10-10 03:06:40,578 - DEBUG - Response : {id : '3f6a5e34-66b9-4f9c-b1f5-1348c5b7d7f8', name : 'Tiny Instance', state : 'Active', displaytext : 'Tiny Instance', cpunumber : 8, cpuspeed : 8096, memory : 8096, created : '2026-10-10T03:06:40+0000', storagetype : 'shared', provisioningtype : 'thin', offerha : False, limitcpuuse : False, isvolatile : False, issystem : False, defaultuse : False, iscustomized : False, rootdisksize : 0, dynamicscalingenabled : True, diskofferingstrictness : False, diskofferingid : 'e335ee4d-370b-40c6-a69e-24168455cc07', diskofferingname : 'Tiny Instance', diskofferingdisplaytext : 'Tiny Instance', encryptroot : False, gpudisplay : False, hasannotations : False}
2026-10-10 03:06:40,579 - DEBUG - ::::::::::::STARTED : TC: test_01_positive_tests_usage :::::::::::
2026-10-10 03:06:40,580 - DEBUG - Payload: {'accounttype': 0, 'domainid': '403e1dfc-c3f0-11f1-975d-1e002100023e', 'email': 'test-account@test.com', 'firstname': 'test', 'lastname': 'test', 'password': 'password', 'username': 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'fjzevuFynb7l83CrVOik32xMLD8='}
2026-10-10 03:06:40,580 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-10 03:06:44,640 - DEBUG - Response : {id : 'c52537e8-1789-4311-916a-2313fc4c3e77', name : 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', accounttype : 0, roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', 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-10T03:06:44+0000', user : [{id : '9eae4dd8-7486-4724-adb3-1bb1a8eb110e', username : 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', firstname : 'test', lastname : 'test', email : 'test-account@test.com', created : '2026-10-10T03:06:44+0000', state : 'enabled', account : 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', accounttype : 0, usersource : 'native', roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domain : 'ROOT', accountid : 'c52537e8-1789-4311-916a-2313fc4c3e77', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-10 03:06:44,641 - DEBUG - Payload: {'account': 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', 'displayname': 'testserver', 'domainid': '403e1dfc-c3f0-11f1-975d-1e002100023e', 'serviceofferingid': '3f6a5e34-66b9-4f9c-b1f5-1348c5b7d7f8', 'templateid': '404b4397-c3f0-11f1-975d-1e002100023e', 'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'deployVirtualMachine', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'6N1f9+KtoC+9dTHQ1rEsdvZfMM8='}
2026-10-10 03:06:44,641 - DEBUG - ========Sending GET Cmd : deployVirtualMachine=======
2026-10-10 03:06:45,111 - DEBUG - === Jobid: f5b05d41-1e44-4720-b1c0-3a9e38897e25 Started ===
2026-10-10 03:06:45,112 - DEBUG - Payload: {'jobid': 'f5b05d41-1e44-4720-b1c0-3a9e38897e25', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Wj+Fm2YR4j2HssgJGJbIH9N7NG4='}
2026-10-10 03:06:45,112 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:45,141 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'VirtualMachine', jobinstanceid : '07a04738-f90a-4ccd-a162-722660c3bca3', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-10T03:06:45+0000', jobid : 'f5b05d41-1e44-4720-b1c0-3a9e38897e25', jobstatus : 0}
2026-10-10 03:06:46,143 - DEBUG - === JobId:f5b05d41-1e44-4720-b1c0-3a9e38897e25 is Still Processing, Will TimeOut in:3599 ====
2026-10-10 03:06:46,143 - DEBUG - Payload: {'jobid': 'f5b05d41-1e44-4720-b1c0-3a9e38897e25', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Wj+Fm2YR4j2HssgJGJbIH9N7NG4='}
2026-10-10 03:06:46,143 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:46,179 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', 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":381,"instanceName":"i-268-381-VM","state":"Stopped","type":"User","uuid":"07a04738-f90a-4ccd-a162-722660c3bca3"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '07a04738-f90a-4ccd-a162-722660c3bca3', created : '2026-10-10T03:06:45+0000', completed : '2026-10-10T03:06:45+0000', jobid : 'f5b05d41-1e44-4720-b1c0-3a9e38897e25', jobstatus : 2}
2026-10-10 03:06:46,179 - ERROR - ==== __poll: Exception Occurred :Job failed: {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', 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":381,"instanceName":"i-268-381-VM","state":"Stopped","type":"User","uuid":"07a04738-f90a-4ccd-a162-722660c3bca3"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '07a04738-f90a-4ccd-a162-722660c3bca3', created : '2026-10-10T03:06:45+0000', completed : '2026-10-10T03:06:45+0000', jobid : 'f5b05d41-1e44-4720-b1c0-3a9e38897e25', 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 : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', 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":381,"instanceName":"i-268-381-VM","state":"Stopped","type":"User","uuid":"07a04738-f90a-4ccd-a162-722660c3bca3"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '07a04738-f90a-4ccd-a162-722660c3bca3', created : '2026-10-10T03:06:45+0000', completed : '2026-10-10T03:06:45+0000', jobid : 'f5b05d41-1e44-4720-b1c0-3a9e38897e25', jobstatus : 2}
2026-10-10 03:06:46,179 - DEBUG - Response : FAILED
2026-10-10 03:06:46,180 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.deployVirtualMachine.deployVirtualMachineCmd object at 0x7f04dca31fa0> 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 : \'a6719d11-c3f0-11f1-975d-1e002100023e\', account : \'admin\', domainid : \'403e1dfc-c3f0-11f1-975d-1e002100023e\', domainpath : \'ROOT\', userid : \'a672c44f-c3f0-11f1-975d-1e002100023e\', 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":381,"instanceName":"i-268-381-VM","state":"Stopped","type":"User","uuid":"07a04738-f90a-4ccd-a162-722660c3bca3"}\'}, jobinstancetype : \'VirtualMachine\', jobinstanceid : \'07a04738-f90a-4ccd-a162-722660c3bca3\', created : \'2026-10-10T03:06:45+0000\', completed : \'2026-10-10T03:06:45+0000\', jobid : \'f5b05d41-1e44-4720-b1c0-3a9e38897e25\', 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 : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', 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":381,"instanceName":"i-268-381-VM","state":"Stopped","type":"User","uuid":"07a04738-f90a-4ccd-a162-722660c3bca3"}'}, jobinstancetype : 'VirtualMachine', jobinstanceid : '07a04738-f90a-4ccd-a162-722660c3bca3', created : '2026-10-10T03:06:45+0000', completed : '2026-10-10T03:06:45+0000', jobid : 'f5b05d41-1e44-4720-b1c0-3a9e38897e25', jobstatus : 2}
2026-10-10 03:06:46,180 - DEBUG - Payload: {'account': 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', 'domaind': '403e1dfc-c3f0-11f1-975d-1e002100023e', 'command': 'listVirtualMachines', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RPqdXpZjiRYVL2Z4pJFBbmgMu8w='}
2026-10-10 03:06:46,181 - DEBUG - ========Sending GET Cmd : listVirtualMachines=======
2026-10-10 03:06:46,230 - DEBUG - Response : [{id : '07a04738-f90a-4ccd-a162-722660c3bca3', name : 'VM-07a04738-f90a-4ccd-a162-722660c3bca3', displayname : 'testserver', account : 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', userid : '9eae4dd8-7486-4724-adb3-1bb1a8eb110e', username : 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domain : 'ROOT', domainpath : 'ROOT', created : '2026-10-10T03:06:44+0000', lastupdated : '2026-10-10T03:06:45+0000', state : 'Error', haenable : False, zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', templateid : '404b4397-c3f0-11f1-975d-1e002100023e', 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 : '3f6a5e34-66b9-4f9c-b1f5-1348c5b7d7f8', serviceofferingname : 'Tiny Instance', cpunumber : 8, cpuspeed : 8096, memory : 8096, guestosid : '408e3396-c3f0-11f1-975d-1e002100023e', rootdeviceid : 0, rootdevicetype : 'ROOT', securitygroup : [], nic : [{id : '8b822de4-7b60-4ed8-ba0b-0dceaf6e07de', networkid : '42902416-cc9a-4a0c-88f7-f67114833b4a', networkname : 'test-a-TestUsageEvents-test_01_positive_tests_usage-HAQYZP-network', netmask : '255.255.255.0', gateway : '10.1.1.1', ipaddress : '10.1.1.5', traffictype : 'Guest', type : 'Isolated', isdefault : True, macaddress : '02:01:01:84:00:01', secondaryip : [], extradhcpoption : [], deviceid : '0', enabled : True}], hypervisor : 'KVM', ipaddress : '10.1.1.5', instancename : 'i-268-381-VM', details : {deployvm : 'true'}, affinitygroup : [], displayvm : True, isdynamicallyscalable : False, deleteprotection : False, ostypeid : '408e3396-c3f0-11f1-975d-1e002100023e', osdisplayname : 'CentOS 5.5 (64-bit)', receivedbytes : 0, sentbytes : 0, arch : 'x86_64', tags : [], hasannotations : False}]
2026-10-10 03:06:46,252 - DEBUG - select type from usage_event where account_id = '268';
2026-10-10 03:06:46,272 - DEBUG - Query result: [('NETWORK.CREATE',), ('VOLUME.CREATE',), ('VM.CREATE',), ('VM.DESTROY',), ('VOLUME.DELETE',)]
2026-10-10 03:06:46,273 - DEBUG - Cleaning up the resources
2026-10-10 03:06:46,273 - DEBUG - Payload: {'id': 'c52537e8-1789-4311-916a-2313fc4c3e77', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'p9Rgy1L3FlkctB/A971Tu+Z8KLA='}
2026-10-10 03:06:46,274 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-10 03:06:46,319 - DEBUG - === Jobid: b197c60a-1f4a-4051-bdec-4850e7367e1e Started ===
2026-10-10 03:06:46,319 - DEBUG - Payload: {'jobid': 'b197c60a-1f4a-4051-bdec-4850e7367e1e', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9U1pYJIYEWU+/KPUrB+fMV6htWg='}
2026-10-10 03:06:46,319 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:46,354 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-10T03:06:46+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 0}
2026-10-10 03:06:47,355 - DEBUG - === JobId:b197c60a-1f4a-4051-bdec-4850e7367e1e is Still Processing, Will TimeOut in:3599 ====
2026-10-10 03:06:47,356 - DEBUG - Payload: {'jobid': 'b197c60a-1f4a-4051-bdec-4850e7367e1e', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9U1pYJIYEWU+/KPUrB+fMV6htWg='}
2026-10-10 03:06:47,356 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:47,391 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-10T03:06:46+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 0}
2026-10-10 03:06:48,393 - DEBUG - === JobId:b197c60a-1f4a-4051-bdec-4850e7367e1e is Still Processing, Will TimeOut in:3598 ====
2026-10-10 03:06:48,393 - DEBUG - Payload: {'jobid': 'b197c60a-1f4a-4051-bdec-4850e7367e1e', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9U1pYJIYEWU+/KPUrB+fMV6htWg='}
2026-10-10 03:06:48,393 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:48,440 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-10T03:06:46+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 0}
2026-10-10 03:06:49,442 - DEBUG - === JobId:b197c60a-1f4a-4051-bdec-4850e7367e1e is Still Processing, Will TimeOut in:3597 ====
2026-10-10 03:06:49,442 - DEBUG - Payload: {'jobid': 'b197c60a-1f4a-4051-bdec-4850e7367e1e', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9U1pYJIYEWU+/KPUrB+fMV6htWg='}
2026-10-10 03:06:49,442 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:49,476 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-10T03:06:46+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 0}
2026-10-10 03:06:50,477 - DEBUG - === JobId:b197c60a-1f4a-4051-bdec-4850e7367e1e is Still Processing, Will TimeOut in:3596 ====
2026-10-10 03:06:50,477 - DEBUG - Payload: {'jobid': 'b197c60a-1f4a-4051-bdec-4850e7367e1e', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9U1pYJIYEWU+/KPUrB+fMV6htWg='}
2026-10-10 03:06:50,477 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:50,511 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-10T03:06:46+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 0}
2026-10-10 03:06:51,512 - DEBUG - === JobId:b197c60a-1f4a-4051-bdec-4850e7367e1e is Still Processing, Will TimeOut in:3595 ====
2026-10-10 03:06:51,513 - DEBUG - Payload: {'jobid': 'b197c60a-1f4a-4051-bdec-4850e7367e1e', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9U1pYJIYEWU+/KPUrB+fMV6htWg='}
2026-10-10 03:06:51,513 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:51,543 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-10T03:06:46+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 0}
2026-10-10 03:06:52,545 - DEBUG - === JobId:b197c60a-1f4a-4051-bdec-4850e7367e1e is Still Processing, Will TimeOut in:3594 ====
2026-10-10 03:06:52,546 - DEBUG - Payload: {'jobid': 'b197c60a-1f4a-4051-bdec-4850e7367e1e', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9U1pYJIYEWU+/KPUrB+fMV6htWg='}
2026-10-10 03:06:52,546 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-10 03:06:52,573 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', created : '2026-10-10T03:06:46+0000', completed : '2026-10-10T03:06:51+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 1}
2026-10-10 03:06:52,574 - DEBUG - ===Jobid:b197c60a-1f4a-4051-bdec-4850e7367e1e ; StartTime:Sat Oct 10 03:06:46 2026 ; EndTime:Sat Oct 10 03:06:52 2026 ; TotalTime:-6===
2026-10-10 03:06:52,574 - DEBUG - Response : {accountid : 'a6719d11-c3f0-11f1-975d-1e002100023e', account : 'admin', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT', userid : 'a672c44f-c3f0-11f1-975d-1e002100023e', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'c52537e8-1789-4311-916a-2313fc4c3e77', created : '2026-10-10T03:06:46+0000', completed : '2026-10-10T03:06:51+0000', jobid : 'b197c60a-1f4a-4051-bdec-4850e7367e1e', jobstatus : 1}
2026-10-10 03:06:52,574 - DEBUG - TestCaseName: test_01_positive_tests_usage; Time Taken: 11 Seconds; StartTime: Sat Oct 10 03:06:40 2026; EndTime: Sat Oct 10 03:06:52 2026; Result: SUCCESS
2026-10-10 03:06:52,574 - DEBUG - Cleaning up the resources
2026-10-10 03:06:52,575 - DEBUG - Payload: {'id': '3f6a5e34-66b9-4f9c-b1f5-1348c5b7d7f8', 'command': 'deleteServiceOffering', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BkBcXhJHg2ydk79kNWRGLCNk0CM='}
2026-10-10 03:06:52,575 - DEBUG - ========Sending GET Cmd : deleteServiceOffering=======
2026-10-10 03:06:52,621 - DEBUG - Response : {success : True}
