2026-10-07 22:33:13,970 - DEBUG - Parsing Test data successful
2026-10-07 22:33:13,970 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-07 22:33:13,970 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-07 22:33:14,013 - DEBUG - Response : [{id : '0a3b4d10-c29a-11f1-8e09-1e005a000279', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-07T21:57:07+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : 'd453bee1-c299-11f1-8e09-1e005a000279', roletype : 'Admin', rolename : 'Root Admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-07 22:33:14,013 - DEBUG - Payload: {'id': '0a3b4d10-c29a-11f1-8e09-1e005a000279', 'command': 'getUserKeys', 'response': 'json'}
2026-10-07 22:33:14,013 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-07 22:33:14,058 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-07 22:33:14,058 - DEBUG - ==== Test Client Creation Successful ====
2026-10-07 22:33:14,257 - DEBUG - Payload: {'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'taHWwbdB2MfrjDaU2iur/dKK3ew='}
2026-10-07 22:33:14,258 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-07 22:33:14,304 - DEBUG - Response : [{id : '9ba0f638-c299-11f1-8e09-1e005a000279', 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-07 22:33:14,305 - DEBUG - Payload: {'name': 'pr147-n78-kvm-ubuntu26', 'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Qv98WatGBS94DKKMfP5/0ZS+pg8='}
2026-10-07 22:33:14,305 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-07 22:33:14,353 - DEBUG - Response : [{id : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', name : 'pr147-n78-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 : 'e59019c6-4b5e-3fee-8185-9cd1fc28cd96', dhcpprovider : 'VirtualRouter', localstorageenabled : False, tags : [], allowuserspecifyvrmtu : False, routerprivateinterfacemaxmtu : 1500, routerpublicinterfacemaxmtu : 1500, type : 'Core', isnsxenabled : False, ismultiarch : False, asnrange : '', routedmodeenabled : True, hasannotations : False}]
2026-10-07 22:33:14,354 - DEBUG - ::::::::::::STARTED : TC: test_2FA_enabled :::::::::::
2026-10-07 22:33:14,354 - DEBUG - Enabling 2FA in global setting
2026-10-07 22:33:14,355 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'u6UAhBSoKTeuIsVH45syXtAYUR4='}
2026-10-07 22:33:14,355 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:14,429 - 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-07 22:33:14,430 - DEBUG - Mandate 2FA in global setting
2026-10-07 22:33:14,430 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wG+gnc9/yVr79KxBAhioECBoo3g='}
2026-10-07 22:33:14,430 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:14,482 - 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-07 22:33:14,482 - DEBUG - Creating an user account..
2026-10-07 22:33:14,483 - DEBUG - Payload: {'accounttype': 0, 'domainid': '9ba0f638-c299-11f1-8e09-1e005a000279', 'email': 'test@test.com', 'firstname': 'Test', 'lastname': 'User', 'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_enabled-HA8RAU', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'J5HNzkGupB8iQphRsvwOuJ8yo6M='}
2026-10-07 22:33:14,483 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-07 22:33:18,905 - DEBUG - Response : {id : '3e32882b-3dfb-410e-a4f3-6b9c8f2db468', name : 'test-TestUserLogin-test_2FA_enabled-HA8RAU', accounttype : 0, roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', 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-07T22:33:43+0000', user : [{id : 'c6a5a059-6ab9-432d-b3ad-74516c36a4e4', username : 'test-TestUserLogin-test_2FA_enabled-HA8RAU', firstname : 'Test', lastname : 'User', email : 'test@test.com', created : '2026-10-07T22:33:44+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_enabled-HA8RAU', accounttype : 0, usersource : 'native', roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domain : 'ROOT', accountid : '3e32882b-3dfb-410e-a4f3-6b9c8f2db468', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : True}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-07 22:33:18,905 - DEBUG - Logging into the cloudstack with login API
2026-10-07 22:33:18,905 - DEBUG - Payload: {'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_enabled-HA8RAU', 'command': 'login', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'S+nXN5N2ir1j3vW3zK9xQIuxOW8='}
2026-10-07 22:33:18,905 - DEBUG - =======Sending POST Cmd : login=======
2026-10-07 22:33:19,296 - DEBUG - =======Got POST response : <Response [200]>=======
2026-10-07 22:33:19,296 - DEBUG - Response : {username : 'test-TestUserLogin-test_2FA_enabled-HA8RAU', userid : 'c6a5a059-6ab9-432d-b3ad-74516c36a4e4', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', timeout : 1800, account : 'test-TestUserLogin-test_2FA_enabled-HA8RAU', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : '3eZUK713m__Yf0Bz6T1HuszUb3w', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-07 22:33:19,296 - DEBUG - Login API response: {username : 'test-TestUserLogin-test_2FA_enabled-HA8RAU', userid : 'c6a5a059-6ab9-432d-b3ad-74516c36a4e4', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', timeout : 1800, account : 'test-TestUserLogin-test_2FA_enabled-HA8RAU', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : '3eZUK713m__Yf0Bz6T1HuszUb3w', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-07 22:33:19,296 - DEBUG - Remove mandating 2FA in global setting
2026-10-07 22:33:19,297 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Jb9FpNM7Q9v+qf4aDZ8vAMQvxb0='}
2026-10-07 22:33:19,297 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:19,369 - 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-07 22:33:19,370 - DEBUG - Disable 2FA in global setting
2026-10-07 22:33:19,370 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Cb3GmJ99yFv9Z++QbrVTkAvPW4A='}
2026-10-07 22:33:19,370 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:19,424 - 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-07 22:33:19,425 - DEBUG - Cleaning up the resources
2026-10-07 22:33:19,425 - DEBUG - Payload: {'id': '3e32882b-3dfb-410e-a4f3-6b9c8f2db468', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'2e+3g8PWw6gHhFkf8ys4rcTRTJ4='}
2026-10-07 22:33:19,425 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-07 22:33:19,555 - DEBUG - === Jobid: 0889248b-415e-40e9-9ce0-44ee227ffac0 Started ===
2026-10-07 22:33:19,556 - DEBUG - Payload: {'jobid': '0889248b-415e-40e9-9ce0-44ee227ffac0', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RmUFAnRZPnPck34oM2UYFC+bRxg='}
2026-10-07 22:33:19,556 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-07 22:33:19,618 - DEBUG - Response : {accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', account : 'admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT', userid : '0a3b4d10-c29a-11f1-8e09-1e005a000279', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '3e32882b-3dfb-410e-a4f3-6b9c8f2db468', managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-07T22:33:44+0000', jobid : '0889248b-415e-40e9-9ce0-44ee227ffac0', jobstatus : 0}
2026-10-07 22:33:20,620 - DEBUG - === JobId:0889248b-415e-40e9-9ce0-44ee227ffac0 is Still Processing, Will TimeOut in:3599 ====
2026-10-07 22:33:20,620 - DEBUG - Payload: {'jobid': '0889248b-415e-40e9-9ce0-44ee227ffac0', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RmUFAnRZPnPck34oM2UYFC+bRxg='}
2026-10-07 22:33:20,620 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-07 22:33:20,672 - DEBUG - Response : {accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', account : 'admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT', userid : '0a3b4d10-c29a-11f1-8e09-1e005a000279', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '3e32882b-3dfb-410e-a4f3-6b9c8f2db468', created : '2026-10-07T22:33:44+0000', completed : '2026-10-07T22:33:45+0000', jobid : '0889248b-415e-40e9-9ce0-44ee227ffac0', jobstatus : 1}
2026-10-07 22:33:20,673 - DEBUG - ===Jobid:0889248b-415e-40e9-9ce0-44ee227ffac0 ; StartTime:Wed Oct  7 22:33:19 2026 ; EndTime:Wed Oct  7 22:33:20 2026 ; TotalTime:-1===
2026-10-07 22:33:20,673 - DEBUG - Response : {accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', account : 'admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT', userid : '0a3b4d10-c29a-11f1-8e09-1e005a000279', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '3e32882b-3dfb-410e-a4f3-6b9c8f2db468', created : '2026-10-07T22:33:44+0000', completed : '2026-10-07T22:33:45+0000', jobid : '0889248b-415e-40e9-9ce0-44ee227ffac0', jobstatus : 1}
2026-10-07 22:33:20,674 - DEBUG - TestCaseName: test_2FA_enabled; Time Taken: 6 Seconds; StartTime: Wed Oct  7 22:33:14 2026; EndTime: Wed Oct  7 22:33:20 2026; Result: SUCCESS
2026-10-07 22:33:20,674 - DEBUG - ::::::::::::STARTED : TC: test_2FA_setup :::::::::::
2026-10-07 22:33:20,674 - DEBUG - Enabling 2FA in global setting
2026-10-07 22:33:20,675 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'u6UAhBSoKTeuIsVH45syXtAYUR4='}
2026-10-07 22:33:20,675 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:20,722 - 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-07 22:33:20,723 - DEBUG - Mandate 2FA in global setting
2026-10-07 22:33:20,723 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'true', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wG+gnc9/yVr79KxBAhioECBoo3g='}
2026-10-07 22:33:20,723 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:20,775 - 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-07 22:33:20,776 - DEBUG - Creating an user account..
2026-10-07 22:33:20,776 - DEBUG - Payload: {'accounttype': 0, 'domainid': '9ba0f638-c299-11f1-8e09-1e005a000279', 'email': 'test@test.com', 'firstname': 'Test', 'lastname': 'User', 'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_setup-83Q71K', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'o+Sly2PzrUtCYh+hI4dMR9JYw90='}
2026-10-07 22:33:20,776 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-07 22:33:24,875 - DEBUG - Response : {id : '31ef8643-8201-4746-be63-ba26f0cec284', name : 'test-TestUserLogin-test_2FA_setup-83Q71K', accounttype : 0, roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', 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-07T22:33:49+0000', user : [{id : '9020cc95-f236-4fab-b1fc-efb440ab576e', username : 'test-TestUserLogin-test_2FA_setup-83Q71K', firstname : 'Test', lastname : 'User', email : 'test@test.com', created : '2026-10-07T22:33:50+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_setup-83Q71K', accounttype : 0, usersource : 'native', roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domain : 'ROOT', accountid : '31ef8643-8201-4746-be63-ba26f0cec284', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : True}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-07 22:33:24,875 - DEBUG - Logging into the cloudstack with login API
2026-10-07 22:33:24,875 - DEBUG - Payload: {'password': 'fr3sca', 'username': 'test-TestUserLogin-test_2FA_setup-83Q71K', 'command': 'login', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'5qJUB8r0m4O8hj8pEd0WQ6mFU6E='}
2026-10-07 22:33:24,875 - DEBUG - =======Sending POST Cmd : login=======
2026-10-07 22:33:25,295 - DEBUG - =======Got POST response : <Response [200]>=======
2026-10-07 22:33:25,295 - DEBUG - Response : {username : 'test-TestUserLogin-test_2FA_setup-83Q71K', userid : '9020cc95-f236-4fab-b1fc-efb440ab576e', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', timeout : 1800, account : 'test-TestUserLogin-test_2FA_setup-83Q71K', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : '3wWNMRxJ8q65Ekq65VSi5jcRnFw', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-07 22:33:25,296 - DEBUG - Login API response: {username : 'test-TestUserLogin-test_2FA_setup-83Q71K', userid : '9020cc95-f236-4fab-b1fc-efb440ab576e', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', timeout : 1800, account : 'test-TestUserLogin-test_2FA_setup-83Q71K', firstname : 'Test', lastname : 'User', type : '0', timezone : 'UTC', timezoneoffset : '0.0', registered : 'false', sessionkey : '3wWNMRxJ8q65Ekq65VSi5jcRnFw', is2faenabled : 'true', is2faverified : 'false', issuerfor2fa : 'CloudStack'}
2026-10-07 22:33:25,296 - DEBUG - Payload: {'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FUkLFPJq0p6AOaVYSkY//WIQFBk='}
2026-10-07 22:33:25,296 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-07 22:33:25,327 - DEBUG - Response : [{id : '9ba0f638-c299-11f1-8e09-1e005a000279', 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-07 22:33:25,328 - DEBUG - Payload: {'listall': True, 'name': '9ba0f638-c299-11f1-8e09-1e005a000279', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'N7/igapLMOaYFzJKAB+arNQl+R8='}
2026-10-07 22:33:25,328 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-07 22:33:25,353 - DEBUG - Response : None
2026-10-07 22:33:25,353 - DEBUG - Payload: {'name': '9ba0f638-c299-11f1-8e09-1e005a000279', 'command': 'createDomain', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'U6qiL1UXsZMFF6Lmrde4EA+0YHE='}
2026-10-07 22:33:25,353 - DEBUG - ========Sending GET Cmd : createDomain=======
2026-10-07 22:33:25,430 - DEBUG - Response : {id : 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', name : '9ba0f638-c299-11f1-8e09-1e005a000279', level : 1, parentdomainid : '9ba0f638-c299-11f1-8e09-1e005a000279', parentdomainname : 'ROOT', haschild : False, path : 'ROOT/9ba0f638-c299-11f1-8e09-1e005a000279', secondarystoragetotal : 0.0}
2026-10-07 22:33:25,430 - DEBUG - Payload: {'domainid': 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', 'listall': True, 'name': 'test-TestUserLogin-test_2FA_setup-83Q71K', 'command': 'listAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'IYCuuG74K41WRiI3ReASJPMzOd8='}
2026-10-07 22:33:25,431 - DEBUG - ========Sending GET Cmd : listAccounts=======
2026-10-07 22:33:25,466 - DEBUG - Response : None
2026-10-07 22:33:25,467 - DEBUG - Payload: {'accounttype': 0, 'domainid': 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', 'email': 'test-ZU1308@cloudstack.org', 'firstname': 'test-TestUserLogin-test_2FA_setup-83Q71K', 'lastname': 'test-TestUserLogin-test_2FA_setup-83Q71K', 'password': 'password', 'username': 'test-TestUserLogin-test_2FA_setup-83Q71K', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'V5QDfLR34sXBhZyG0ygxzFhLVd4='}
2026-10-07 22:33:25,467 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-07 22:33:29,266 - DEBUG - Response : {id : 'f5090204-dee0-4378-96ec-03da792cc2ac', name : 'test-TestUserLogin-test_2FA_setup-83Q71K', accounttype : 0, roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', domain : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT/9ba0f638-c299-11f1-8e09-1e005a000279', 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-07T22:33:54+0000', user : [{id : '7a38f6e0-ca19-4933-9100-97355fb0e9cb', username : 'test-TestUserLogin-test_2FA_setup-83Q71K', firstname : 'test-TestUserLogin-test_2FA_setup-83Q71K', lastname : 'test-TestUserLogin-test_2FA_setup-83Q71K', email : 'test-ZU1308@cloudstack.org', created : '2026-10-07T22:33:54+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_setup-83Q71K', accounttype : 0, usersource : 'native', roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', domain : '9ba0f638-c299-11f1-8e09-1e005a000279', accountid : 'f5090204-dee0-4378-96ec-03da792cc2ac', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : True}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-07 22:33:29,266 - DEBUG - Payload: {'domainid': 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', 'listall': True, 'username': 'test-TestUserLogin-test_2FA_setup-83Q71K', 'command': 'listUsers', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'w4wMAj/HQ05tsfQE+P5VYeq4ILo='}
2026-10-07 22:33:29,266 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-07 22:33:29,323 - DEBUG - Response : [{id : '7a38f6e0-ca19-4933-9100-97355fb0e9cb', username : 'test-TestUserLogin-test_2FA_setup-83Q71K', firstname : 'test-TestUserLogin-test_2FA_setup-83Q71K', lastname : 'test-TestUserLogin-test_2FA_setup-83Q71K', email : 'test-ZU1308@cloudstack.org', created : '2026-10-07T22:33:54+0000', state : 'enabled', account : 'test-TestUserLogin-test_2FA_setup-83Q71K', accounttype : 0, usersource : 'native', roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', domain : '9ba0f638-c299-11f1-8e09-1e005a000279', accountid : 'f5090204-dee0-4378-96ec-03da792cc2ac', iscallerchilddomain : True, isdefault : False, is2faenabled : False, is2famandated : True, apikeyaccess : 'INHERIT'}]
2026-10-07 22:33:29,323 - DEBUG - Payload: {'id': '7a38f6e0-ca19-4933-9100-97355fb0e9cb', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'cM3pOOE8FfrtePncPrwgJiB/yu8='}
2026-10-07 22:33:29,324 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-07 22:33:29,347 - DEBUG - Response : {apikeyaccess : True}
2026-10-07 22:33:29,348 - ERROR - __createApiClient: API Client Creation Failed
2026-10-07 22:33:29,348 - DEBUG - Payload: {'id': '7a38f6e0-ca19-4933-9100-97355fb0e9cb', 'name': 'keypair-7a38f6e0-ca19-4933-9100-97355fb0e9cb', 'command': 'registerUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'WlzkqCaFogrmbEvYVKzai7xF4XQ='}
2026-10-07 22:33:29,348 - DEBUG - ========Sending GET Cmd : registerUserKeys=======
2026-10-07 22:33:30,736 - DEBUG - Response : {name : 'keypair-7a38f6e0-ca19-4933-9100-97355fb0e9cb', apikey : 'KjuTEtrBrEjy9FpF3EM4DdqNxD2ZVbsaxhg2ch1exHjK5ThkXqTJUmH6qjZth4j9KHJy4fVb7Qs0lrhXhCoX4A', secretkey : 'zZn0RnYQ1AbBemqfZcBQdOXmbYN1Hwy4TMM1go104KdlnQnpSY5wMr7OIuzti33bE9qYSuUtRyZ6tkVExIF8iQ', userid : '7a38f6e0-ca19-4933-9100-97355fb0e9cb', username : 'test-TestUserLogin-test_2FA_setup-83Q71K', id : 'dee3b3b4-80bf-4b55-83e4-da991fc98024', created : '2026-10-07T22:33:55+0000', accounttype : 'NORMAL', accountid : 'f5090204-dee0-4378-96ec-03da792cc2ac', accountname : 'test-TestUserLogin-test_2FA_setup-83Q71K', roleid : 'd4543001-c299-11f1-8e09-1e005a000279', roletype : 'User', rolename : 'User', domainid : 'f8f9346b-0be8-48cb-ba4f-934c2f5d559e', domain : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT/9ba0f638-c299-11f1-8e09-1e005a000279', state : 'ENABLED'}
2026-10-07 22:33:30,737 - DEBUG - Payload: {'id': '7a38f6e0-ca19-4933-9100-97355fb0e9cb', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'cM3pOOE8FfrtePncPrwgJiB/yu8='}
2026-10-07 22:33:30,737 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-07 22:33:31,157 - DEBUG - Response : {apikey : 'KjuTEtrBrEjy9FpF3EM4DdqNxD2ZVbsaxhg2ch1exHjK5ThkXqTJUmH6qjZth4j9KHJy4fVb7Qs0lrhXhCoX4A', secretkey : 'zZn0RnYQ1AbBemqfZcBQdOXmbYN1Hwy4TMM1go104KdlnQnpSY5wMr7OIuzti33bE9qYSuUtRyZ6tkVExIF8iQ', apikeyaccess : True}
2026-10-07 22:33:31,158 - DEBUG - Payload: {'provider': 'staticpin', 'command': 'setupUserTwoFactorAuthentication', 'response': 'json', 'apiKey': 'KjuTEtrBrEjy9FpF3EM4DdqNxD2ZVbsaxhg2ch1exHjK5ThkXqTJUmH6qjZth4j9KHJy4fVb7Qs0lrhXhCoX4A', 'signature': b'yz6fT/iv7zvvOKDqqOaF6BD9snU='}
2026-10-07 22:33:31,158 - DEBUG - ========Sending GET Cmd : setupUserTwoFactorAuthentication=======
2026-10-07 22:33:31,344 - DEBUG - Response : {id : '7a38f6e0-ca19-4933-9100-97355fb0e9cb', username : 'test-TestUserLogin-test_2FA_setup-83Q71K', secretcode : '199957'}
2026-10-07 22:33:31,345 - DEBUG - Payload: {'enable': 'false', 'command': 'setupUserTwoFactorAuthentication', 'response': 'json', 'apiKey': 'KjuTEtrBrEjy9FpF3EM4DdqNxD2ZVbsaxhg2ch1exHjK5ThkXqTJUmH6qjZth4j9KHJy4fVb7Qs0lrhXhCoX4A', 'signature': b'M6+vIkHGQl+xGBygRLoqzJnNm7Q='}
2026-10-07 22:33:31,345 - DEBUG - ========Sending GET Cmd : setupUserTwoFactorAuthentication=======
2026-10-07 22:33:31,498 - DEBUG - Response : {id : '7a38f6e0-ca19-4933-9100-97355fb0e9cb', username : 'test-TestUserLogin-test_2FA_setup-83Q71K'}
2026-10-07 22:33:31,498 - DEBUG - Remove mandating 2FA in global setting
2026-10-07 22:33:31,498 - DEBUG - Payload: {'name': 'mandate.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Jb9FpNM7Q9v+qf4aDZ8vAMQvxb0='}
2026-10-07 22:33:31,498 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:31,546 - 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-07 22:33:31,546 - DEBUG - Disable 2FA in global setting
2026-10-07 22:33:31,546 - DEBUG - Payload: {'name': 'enable.user.2fa', 'value': 'false', 'command': 'updateConfiguration', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Cb3GmJ99yFv9Z++QbrVTkAvPW4A='}
2026-10-07 22:33:31,546 - DEBUG - ========Sending GET Cmd : updateConfiguration=======
2026-10-07 22:33:31,632 - 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-07 22:33:31,632 - DEBUG - Cleaning up the resources
2026-10-07 22:33:31,632 - DEBUG - Payload: {'id': '31ef8643-8201-4746-be63-ba26f0cec284', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'gj+1mrCdsWky0Sx9RSfyVV60GB4='}
2026-10-07 22:33:31,632 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-07 22:33:31,681 - DEBUG - === Jobid: bd9d3116-6d5d-475a-b090-6c4bca08f563 Started ===
2026-10-07 22:33:31,681 - DEBUG - Payload: {'jobid': 'bd9d3116-6d5d-475a-b090-6c4bca08f563', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RlBQWzMOJN7xT0dtWAcFo2UuPbE='}
2026-10-07 22:33:31,681 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-07 22:33:31,724 - DEBUG - Response : {accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', account : 'admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT', userid : '0a3b4d10-c29a-11f1-8e09-1e005a000279', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '31ef8643-8201-4746-be63-ba26f0cec284', managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-07T22:33:56+0000', jobid : 'bd9d3116-6d5d-475a-b090-6c4bca08f563', jobstatus : 0}
2026-10-07 22:33:32,726 - DEBUG - === JobId:bd9d3116-6d5d-475a-b090-6c4bca08f563 is Still Processing, Will TimeOut in:3599 ====
2026-10-07 22:33:32,726 - DEBUG - Payload: {'jobid': 'bd9d3116-6d5d-475a-b090-6c4bca08f563', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RlBQWzMOJN7xT0dtWAcFo2UuPbE='}
2026-10-07 22:33:32,726 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-07 22:33:32,775 - DEBUG - Response : {accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', account : 'admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT', userid : '0a3b4d10-c29a-11f1-8e09-1e005a000279', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '31ef8643-8201-4746-be63-ba26f0cec284', created : '2026-10-07T22:33:56+0000', completed : '2026-10-07T22:33:56+0000', jobid : 'bd9d3116-6d5d-475a-b090-6c4bca08f563', jobstatus : 1}
2026-10-07 22:33:32,776 - DEBUG - ===Jobid:bd9d3116-6d5d-475a-b090-6c4bca08f563 ; StartTime:Wed Oct  7 22:33:31 2026 ; EndTime:Wed Oct  7 22:33:32 2026 ; TotalTime:-1===
2026-10-07 22:33:32,776 - DEBUG - Response : {accountid : '0a3a4637-c29a-11f1-8e09-1e005a000279', account : 'admin', domainid : '9ba0f638-c299-11f1-8e09-1e005a000279', domainpath : 'ROOT', userid : '0a3b4d10-c29a-11f1-8e09-1e005a000279', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '31ef8643-8201-4746-be63-ba26f0cec284', created : '2026-10-07T22:33:56+0000', completed : '2026-10-07T22:33:56+0000', jobid : 'bd9d3116-6d5d-475a-b090-6c4bca08f563', jobstatus : 1}
2026-10-07 22:33:32,776 - DEBUG - TestCaseName: test_2FA_setup; Time Taken: 12 Seconds; StartTime: Wed Oct  7 22:33:20 2026; EndTime: Wed Oct  7 22:33:32 2026; Result: SUCCESS
2026-10-07 22:33:32,776 - DEBUG - Cleaning up the resources
