2026-10-09 15:23:13,490 - DEBUG - Parsing Test data successful
2026-10-09 15:23:13,490 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-09 15:23:13,490 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-09 15:23:13,523 - 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 15:23:13,523 - DEBUG - Payload: {'id': 'a672c44f-c3f0-11f1-975d-1e002100023e', 'command': 'getUserKeys', 'response': 'json'}
2026-10-09 15:23:13,523 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-09 15:23:13,541 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-09 15:23:13,541 - DEBUG - ==== Test Client Creation Successful ====
2026-10-09 15:23:13,732 - DEBUG - Payload: {'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'taHWwbdB2MfrjDaU2iur/dKK3ew='}
2026-10-09 15:23:13,732 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-09 15:23:13,770 - 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 : 12.8828125, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', hasannotations : False}]
2026-10-09 15:23:13,771 - DEBUG - Payload: {'name': 'pr147-n88-kvm-ubuntu26', 'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g81kcaAPnol/n3AJ8Uiu1h6VYvI='}
2026-10-09 15:23:13,771 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-09 15:23:13,813 - 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 15:23:13,814 - DEBUG - ::::::::::::STARTED : TC: test_2FA_enabled :::::::::::
2026-10-09 15:23:13,814 - DEBUG - Enabling 2FA in global setting
2026-10-09 15:23:13,814 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'u6UAhBSoKTeuIsVH45syXtAYUR4='}
2026-10-09 15:23:13,814 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:13,872 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'enable.user.2fa', value : 'true', defaultvalue : 'false', description : 'Determines whether two factor authentication is enabled or not. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Enable user 2fa', type : 'Boolean'}
2026-10-09 15:23:13,873 - DEBUG - Mandate 2FA in global setting
2026-10-09 15:23:13,873 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wG+gnc9/yVr79KxBAhioECBoo3g='}
2026-10-09 15:23:13,873 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:13,918 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'mandate.user.2fa', value : 'true', defaultvalue : 'false', description : 'Determines whether to make the two factor authentication mandatory or not. This setting is applicable only when enable.user.2fa is true. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Mandate user 2fa', type : 'Boolean'}
2026-10-09 15:23:13,918 - DEBUG - Creating an user account..
2026-10-09 15:23:13,919 - DEBUG - Payload: {'accounttype': 0, 'domainid': '403e1dfc-c3f0-11f1-975d-1e002100023e', 'email': 'test@test.com', 'firstname': 'Test', 'lastname': 'User', 'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_enabled-MRI6RF', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'2KsDCctRTw8qyAUJTg+q87R2Rug='}
2026-10-09 15:23:13,919 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-09 15:23:18,191 - DEBUG - Response : {id : '31468252-a96d-453c-ad1c-7ecf380a5b4a', name : 'test-TestUserLogin-test_2FA_enabled-MRI6RF', 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 : '18', 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-09T15:23:36+0000', user : [{id : 'aa7abcb5-5be3-4c77-8e60-6532d0dafa72', username : 'test-TestUserLogin-test_2FA_enabled-MRI6RF', firstname : 'Test', lastname : 'User', email : 'test@test.com', created : '2026-10-09T15:23:36+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_enabled-MRI6RF', accounttype : 0, usersource : 'native', roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domain : 'ROOT', accountid : '31468252-a96d-453c-ad1c-7ecf380a5b4a', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : True}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-09 15:23:18,191 - DEBUG - Logging into the cloudstack with login API
2026-10-09 15:23:18,192 - DEBUG - Payload: {'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_enabled-MRI6RF', 'command': 'login', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ZerT/beDA2ovLhmcf9AtKoA8gow='}
2026-10-09 15:23:18,192 - DEBUG - =======Sending POST Cmd : login=======
2026-10-09 15:23:18,605 - DEBUG - =======Got POST response : <Response [200]>=======
2026-10-09 15:23:18,605 - DEBUG - Response : {username : 'test-TestUserLogin-test_2FA_enabled-MRI6RF', userid : 'aa7abcb5-5be3-4c77-8e60-6532d0dafa72', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', timeout : 1800, account : 'test-TestUserLogin-test_2FA_enabled-MRI6RF', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : 'WhvhThjCfXLF3Gi59aodZj6RVnA', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-09 15:23:18,605 - DEBUG - Login API response: {username : 'test-TestUserLogin-test_2FA_enabled-MRI6RF', userid : 'aa7abcb5-5be3-4c77-8e60-6532d0dafa72', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', timeout : 1800, account : 'test-TestUserLogin-test_2FA_enabled-MRI6RF', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : 'WhvhThjCfXLF3Gi59aodZj6RVnA', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-09 15:23:18,606 - DEBUG - Remove mandating 2FA in global setting
2026-10-09 15:23:18,606 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Jb9FpNM7Q9v+qf4aDZ8vAMQvxb0='}
2026-10-09 15:23:18,606 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:18,652 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'mandate.user.2fa', value : 'false', defaultvalue : 'false', description : 'Determines whether to make the two factor authentication mandatory or not. This setting is applicable only when enable.user.2fa is true. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Mandate user 2fa', type : 'Boolean'}
2026-10-09 15:23:18,652 - DEBUG - Disable 2FA in global setting
2026-10-09 15:23:18,652 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Cb3GmJ99yFv9Z++QbrVTkAvPW4A='}
2026-10-09 15:23:18,652 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:18,698 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'enable.user.2fa', value : 'false', defaultvalue : 'false', description : 'Determines whether two factor authentication is enabled or not. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Enable user 2fa', type : 'Boolean'}
2026-10-09 15:23:18,698 - DEBUG - Cleaning up the resources
2026-10-09 15:23:18,699 - DEBUG - Payload: {'id': '31468252-a96d-453c-ad1c-7ecf380a5b4a', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'DehIwjC6I9K+TbY76bp4AO5UJJs='}
2026-10-09 15:23:18,699 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-09 15:23:18,765 - DEBUG - === Jobid: 603e6334-de98-4a91-8303-a046812430e5 Started ===
2026-10-09 15:23:18,766 - DEBUG - Payload: {'jobid': '603e6334-de98-4a91-8303-a046812430e5', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RLn/BgIrhsOHEXZ477agGETSjlc='}
2026-10-09 15:23:18,766 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-09 15:23:18,814 - 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 : '31468252-a96d-453c-ad1c-7ecf380a5b4a', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-09T15:23:37+0000', jobid : '603e6334-de98-4a91-8303-a046812430e5', jobstatus : 0}
2026-10-09 15:23:19,815 - DEBUG - === JobId:603e6334-de98-4a91-8303-a046812430e5 is Still Processing, Will TimeOut in:3599 ====
2026-10-09 15:23:19,816 - DEBUG - Payload: {'jobid': '603e6334-de98-4a91-8303-a046812430e5', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RLn/BgIrhsOHEXZ477agGETSjlc='}
2026-10-09 15:23:19,816 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-09 15:23:19,854 - 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 : '31468252-a96d-453c-ad1c-7ecf380a5b4a', created : '2026-10-09T15:23:37+0000', completed : '2026-10-09T15:23:37+0000', jobid : '603e6334-de98-4a91-8303-a046812430e5', jobstatus : 1}
2026-10-09 15:23:19,855 - DEBUG - ===Jobid:603e6334-de98-4a91-8303-a046812430e5 ; StartTime:Fri Oct  9 15:23:18 2026 ; EndTime:Fri Oct  9 15:23:19 2026 ; TotalTime:-1===
2026-10-09 15:23:19,855 - 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 : '31468252-a96d-453c-ad1c-7ecf380a5b4a', created : '2026-10-09T15:23:37+0000', completed : '2026-10-09T15:23:37+0000', jobid : '603e6334-de98-4a91-8303-a046812430e5', jobstatus : 1}
2026-10-09 15:23:19,855 - DEBUG - TestCaseName: test_2FA_enabled; Time Taken: 6 Seconds; StartTime: Fri Oct  9 15:23:13 2026; EndTime: Fri Oct  9 15:23:19 2026; Result: SUCCESS
2026-10-09 15:23:19,856 - DEBUG - ::::::::::::STARTED : TC: test_2FA_setup :::::::::::
2026-10-09 15:23:19,856 - DEBUG - Enabling 2FA in global setting
2026-10-09 15:23:19,856 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'u6UAhBSoKTeuIsVH45syXtAYUR4='}
2026-10-09 15:23:19,856 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:19,899 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'enable.user.2fa', value : 'true', defaultvalue : 'false', description : 'Determines whether two factor authentication is enabled or not. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Enable user 2fa', type : 'Boolean'}
2026-10-09 15:23:19,899 - DEBUG - Mandate 2FA in global setting
2026-10-09 15:23:19,899 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wG+gnc9/yVr79KxBAhioECBoo3g='}
2026-10-09 15:23:19,900 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:19,940 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'mandate.user.2fa', value : 'true', defaultvalue : 'false', description : 'Determines whether to make the two factor authentication mandatory or not. This setting is applicable only when enable.user.2fa is true. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Mandate user 2fa', type : 'Boolean'}
2026-10-09 15:23:19,940 - DEBUG - Creating an user account..
2026-10-09 15:23:19,940 - DEBUG - Payload: {'accounttype': 0, 'domainid': '403e1dfc-c3f0-11f1-975d-1e002100023e', 'email': 'test@test.com', 'firstname': 'Test', 'lastname': 'User', 'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'q3HM05o4lCCSvFR+xgwGbYYzCuA='}
2026-10-09 15:23:19,940 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-09 15:23:23,824 - DEBUG - Response : {id : 'a2032e24-f8c9-4921-96b8-590bac8ea103', name : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 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 : '18', 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-09T15:23:42+0000', user : [{id : '6367caea-0761-4a15-b158-8b47a8c0ae92', username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', firstname : 'Test', lastname : 'User', email : 'test@test.com', created : '2026-10-09T15:23:42+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', accounttype : 0, usersource : 'native', roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', domain : 'ROOT', accountid : 'a2032e24-f8c9-4921-96b8-590bac8ea103', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : True}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-09 15:23:23,825 - DEBUG - Logging into the cloudstack with login API
2026-10-09 15:23:23,825 - DEBUG - Payload: {'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 'command': 'login', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ceHGLHJhETFyI67AjtgPwx0oWL4='}
2026-10-09 15:23:23,825 - DEBUG - =======Sending POST Cmd : login=======
2026-10-09 15:23:24,194 - DEBUG - =======Got POST response : <Response [200]>=======
2026-10-09 15:23:24,195 - DEBUG - Response : {username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', userid : '6367caea-0761-4a15-b158-8b47a8c0ae92', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', timeout : 1800, account : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : 'VyDk-RbslLA_dqE58ABx8kXgdeA', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-09 15:23:24,195 - DEBUG - Login API response: {username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', userid : '6367caea-0761-4a15-b158-8b47a8c0ae92', domainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', timeout : 1800, account : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : 'VyDk-RbslLA_dqE58ABx8kXgdeA', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-09 15:23:24,195 - DEBUG - Payload: {'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FUkLFPJq0p6AOaVYSkY//WIQFBk='}
2026-10-09 15:23:24,195 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-09 15:23:24,228 - 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 : 12.8828125, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', hasannotations : False}]
2026-10-09 15:23:24,228 - DEBUG - Payload: {'listall': True, 'name': '403e1dfc-c3f0-11f1-975d-1e002100023e', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'fMw97DN8rnjz/uEFERJOKwoCFek='}
2026-10-09 15:23:24,228 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-09 15:23:24,252 - DEBUG - Response : None
2026-10-09 15:23:24,253 - DEBUG - Payload: {'name': '403e1dfc-c3f0-11f1-975d-1e002100023e', 'command': 'createDomain', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b's287EUx+B8L5XxD2QeLLRuLRm6o='}
2026-10-09 15:23:24,253 - DEBUG - ========Sending GET Cmd : createDomain=======
2026-10-09 15:23:24,322 - DEBUG - Response : {id : 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', name : '403e1dfc-c3f0-11f1-975d-1e002100023e', level : 1, parentdomainid : '403e1dfc-c3f0-11f1-975d-1e002100023e', parentdomainname : 'ROOT', haschild : False, path : 'ROOT/403e1dfc-c3f0-11f1-975d-1e002100023e', secondarystoragetotal : 0.0}
2026-10-09 15:23:24,323 - DEBUG - Payload: {'domainid': 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', 'listall': True, 'name': 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 'command': 'listAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hTpWpFonPatwDEODhIvGtt/1yLo='}
2026-10-09 15:23:24,323 - DEBUG - ========Sending GET Cmd : listAccounts=======
2026-10-09 15:23:24,357 - DEBUG - Response : None
2026-10-09 15:23:24,357 - DEBUG - Payload: {'accounttype': 0, 'domainid': 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', 'email': 'test-KME0ML@cloudstack.org', 'firstname': 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 'lastname': 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 'password': 'password', 'username': 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'5w3zy+DRcmYccC8EYrCtUF7asjo='}
2026-10-09 15:23:24,358 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-09 15:23:28,345 - DEBUG - Response : {id : '837d56cd-4057-46f3-b424-38f30ac4424b', name : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', accounttype : 0, roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', domain : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT/403e1dfc-c3f0-11f1-975d-1e002100023e', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', 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-09T15:23:46+0000', user : [{id : '074592a4-b537-4faa-a6b9-af2d96c75fd1', username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', firstname : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', lastname : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', email : 'test-KME0ML@cloudstack.org', created : '2026-10-09T15:23:47+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', accounttype : 0, usersource : 'native', roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', domain : '403e1dfc-c3f0-11f1-975d-1e002100023e', accountid : '837d56cd-4057-46f3-b424-38f30ac4424b', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : True}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-09 15:23:28,346 - DEBUG - Payload: {'domainid': 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', 'listall': True, 'username': 'test-TestUserLogin-test_2FA_setup-O8NRLZ', 'command': 'listUsers', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qwuBhXasOMykVUqJ+X6tWY9ap+k='}
2026-10-09 15:23:28,346 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-09 15:23:28,380 - DEBUG - Response : [{id : '074592a4-b537-4faa-a6b9-af2d96c75fd1', username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', firstname : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', lastname : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', email : 'test-KME0ML@cloudstack.org', created : '2026-10-09T15:23:47+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', accounttype : 0, usersource : 'native', roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', domain : '403e1dfc-c3f0-11f1-975d-1e002100023e', accountid : '837d56cd-4057-46f3-b424-38f30ac4424b', iscallerchilddomain : True, isdefault : False, is2faenabled : False, is2famandated : True, apikeyaccess : 'INHERIT'}]
2026-10-09 15:23:28,381 - DEBUG - Payload: {'id': '074592a4-b537-4faa-a6b9-af2d96c75fd1', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'bXQP4Rq2xH9nF4Mk/PuLijuaYHM='}
2026-10-09 15:23:28,381 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-09 15:23:28,408 - DEBUG - Response : {apikeyaccess : True}
2026-10-09 15:23:28,408 - ERROR - __createApiClient: API Client Creation Failed
2026-10-09 15:23:28,408 - DEBUG - Payload: {'id': '074592a4-b537-4faa-a6b9-af2d96c75fd1', 'name': 'keypair-074592a4-b537-4faa-a6b9-af2d96c75fd1', 'command': 'registerUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'su4p03aQjWU84cRnoWSpTATlK9M='}
2026-10-09 15:23:28,408 - DEBUG - ========Sending GET Cmd : registerUserKeys=======
2026-10-09 15:23:30,010 - DEBUG - Response : {name : 'keypair-074592a4-b537-4faa-a6b9-af2d96c75fd1', apikey : 'VfoRrHFD6rtZWHzhpzYIi670VyHsqFyBby-UhlKuhaam2LgLyTG41UKuBAcQAU2eNIaoLMu9w3-vs0zzeBPuIA', secretkey : 'kubz6YNRuxKsIHNnFx1HKVah9be4XCFJvrqkfH1Jrbn6wlujzNt5Y9ZRcUacu24s7B8gdomZ51fJT5Mj5Dk5Ew', userid : '074592a4-b537-4faa-a6b9-af2d96c75fd1', username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', id : '46b2a947-b46b-4b2c-af3c-823b42fa5b02', created : '2026-10-09T15:23:48+0000', accounttype : 'NORMAL', accountid : '837d56cd-4057-46f3-b424-38f30ac4424b', accountname : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', roleid : '728acd28-c3f0-11f1-975d-1e002100023e', roletype : 'User', rolename : 'User', domainid : 'abcbee8e-02ac-4da4-b4c1-97ee1838e16c', domain : '403e1dfc-c3f0-11f1-975d-1e002100023e', domainpath : 'ROOT/403e1dfc-c3f0-11f1-975d-1e002100023e', state : 'ENABLED'}
2026-10-09 15:23:30,011 - DEBUG - Payload: {'id': '074592a4-b537-4faa-a6b9-af2d96c75fd1', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'bXQP4Rq2xH9nF4Mk/PuLijuaYHM='}
2026-10-09 15:23:30,011 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-09 15:23:30,472 - DEBUG - Response : {apikey : 'VfoRrHFD6rtZWHzhpzYIi670VyHsqFyBby-UhlKuhaam2LgLyTG41UKuBAcQAU2eNIaoLMu9w3-vs0zzeBPuIA', secretkey : 'kubz6YNRuxKsIHNnFx1HKVah9be4XCFJvrqkfH1Jrbn6wlujzNt5Y9ZRcUacu24s7B8gdomZ51fJT5Mj5Dk5Ew', apikeyaccess : True}
2026-10-09 15:23:30,473 - DEBUG - Payload: {'provider': 'staticpin', 'command': 'setupUserTwoFactorAuthentication', 'response': 'json', 'apiKey': 'VfoRrHFD6rtZWHzhpzYIi670VyHsqFyBby-UhlKuhaam2LgLyTG41UKuBAcQAU2eNIaoLMu9w3-vs0zzeBPuIA', 'signature': b'toRHQAeGE6EXp+tCuPKuixYwVLM='}
2026-10-09 15:23:30,473 - DEBUG - ========Sending GET Cmd : setupUserTwoFactorAuthentication=======
2026-10-09 15:23:30,659 - DEBUG - Response : {id : '074592a4-b537-4faa-a6b9-af2d96c75fd1', username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ', secretcode : '657103'}
2026-10-09 15:23:30,659 - DEBUG - Payload: {'enable': 'false', 'command': 'setupUserTwoFactorAuthentication', 'response': 'json', 'apiKey': 'VfoRrHFD6rtZWHzhpzYIi670VyHsqFyBby-UhlKuhaam2LgLyTG41UKuBAcQAU2eNIaoLMu9w3-vs0zzeBPuIA', 'signature': b'Iu7PHKAMWcImNqXs680FlFsEDLQ='}
2026-10-09 15:23:30,659 - DEBUG - ========Sending GET Cmd : setupUserTwoFactorAuthentication=======
2026-10-09 15:23:30,801 - DEBUG - Response : {id : '074592a4-b537-4faa-a6b9-af2d96c75fd1', username : 'test-TestUserLogin-test_2FA_setup-O8NRLZ'}
2026-10-09 15:23:30,802 - DEBUG - Remove mandating 2FA in global setting
2026-10-09 15:23:30,802 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Jb9FpNM7Q9v+qf4aDZ8vAMQvxb0='}
2026-10-09 15:23:30,802 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:30,843 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'mandate.user.2fa', value : 'false', defaultvalue : 'false', description : 'Determines whether to make the two factor authentication mandatory or not. This setting is applicable only when enable.user.2fa is true. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Mandate user 2fa', type : 'Boolean'}
2026-10-09 15:23:30,843 - DEBUG - Disable 2FA in global setting
2026-10-09 15:23:30,843 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Cb3GmJ99yFv9Z++QbrVTkAvPW4A='}
2026-10-09 15:23:30,844 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-09 15:23:30,909 - DEBUG - Response : {category : 'Advanced', group : 'Miscellaneous', subgroup : 'Others', name : 'enable.user.2fa', value : 'false', defaultvalue : 'false', description : 'Determines whether two factor authentication is enabled or not. This can also be configured at domain level.', isdynamic : True, component : 'AccountManager', displaytext : 'Enable user 2fa', type : 'Boolean'}
2026-10-09 15:23:30,909 - DEBUG - Cleaning up the resources
2026-10-09 15:23:30,910 - DEBUG - Payload: {'id': 'a2032e24-f8c9-4921-96b8-590bac8ea103', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'x5f0e+5Prj84cjvXthuXxRZUbgE='}
2026-10-09 15:23:30,910 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-09 15:23:30,951 - DEBUG - === Jobid: f1b76ff1-f3f8-440e-8095-654128df2917 Started ===
2026-10-09 15:23:30,951 - DEBUG - Payload: {'jobid': 'f1b76ff1-f3f8-440e-8095-654128df2917', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'rFoefPzM1XEC6HOAi2KeBaCLpsU='}
2026-10-09 15:23:30,951 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-09 15:23:30,990 - 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 : 'a2032e24-f8c9-4921-96b8-590bac8ea103', managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-09T15:23:49+0000', jobid : 'f1b76ff1-f3f8-440e-8095-654128df2917', jobstatus : 0}
2026-10-09 15:23:31,991 - DEBUG - === JobId:f1b76ff1-f3f8-440e-8095-654128df2917 is Still Processing, Will TimeOut in:3599 ====
2026-10-09 15:23:31,992 - DEBUG - Payload: {'jobid': 'f1b76ff1-f3f8-440e-8095-654128df2917', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'rFoefPzM1XEC6HOAi2KeBaCLpsU='}
2026-10-09 15:23:31,992 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-09 15:23:32,025 - 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 : 'a2032e24-f8c9-4921-96b8-590bac8ea103', created : '2026-10-09T15:23:49+0000', completed : '2026-10-09T15:23:49+0000', jobid : 'f1b76ff1-f3f8-440e-8095-654128df2917', jobstatus : 1}
2026-10-09 15:23:32,025 - DEBUG - ===Jobid:f1b76ff1-f3f8-440e-8095-654128df2917 ; StartTime:Fri Oct  9 15:23:30 2026 ; EndTime:Fri Oct  9 15:23:32 2026 ; TotalTime:-1===
2026-10-09 15:23:32,025 - 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 : 'a2032e24-f8c9-4921-96b8-590bac8ea103', created : '2026-10-09T15:23:49+0000', completed : '2026-10-09T15:23:49+0000', jobid : 'f1b76ff1-f3f8-440e-8095-654128df2917', jobstatus : 1}
2026-10-09 15:23:32,026 - DEBUG - TestCaseName: test_2FA_setup; Time Taken: 12 Seconds; StartTime: Fri Oct  9 15:23:19 2026; EndTime: Fri Oct  9 15:23:32 2026; Result: SUCCESS
2026-10-09 15:23:32,026 - DEBUG - Cleaning up the resources
