2026-10-08 01:42:59,611 - DEBUG - Parsing Test data successful
2026-10-08 01:42:59,611 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-08 01:42:59,611 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-08 01:42:59,626 - 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-08 01:42:59,626 - DEBUG - Payload: {'id': '0a3b4d10-c29a-11f1-8e09-1e005a000279', 'command': 'getUserKeys', 'response': 'json'}
2026-10-08 01:42:59,626 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-08 01:42:59,639 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-08 01:42:59,640 - DEBUG - ==== Test Client Creation Successful ====
2026-10-08 01:42:59,739 - DEBUG - Payload: {'listall': True, 'type': 'Routing', 'command': 'listHosts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'9RMSuCneVybT76QYJ99AmXZaFWs='}
2026-10-08 01:42:59,740 - DEBUG - ========Sending GET Cmd : listHosts=======
2026-10-08 01:42:59,795 - DEBUG - Response : [{id : '5823d941-4a36-4c4a-959c-3fea2df4abb9', name : 'pr147-n78-kvm-ubuntu26-kvm1', state : 'Up', type : 'Routing', ipaddress : '10.0.33.121', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '7.94%', cpuallocatedvalue : 1000, cpuallocatedpercentage : '7.94%', cpuallocatedwithoverprovisioning : '7.94%', cpuused : '34.95%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.91, networkkbsread : 35211, networkkbswrite : 1, memorytotal : 6711357440, memorywithoverprovisioning : '6711357440', memoryallocated : 1610612736, memoryallocatedpercentage : '24%', memoryallocatedbytes : 1610612736, memoryused : 2142597120, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:16+0000', managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:15:36+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}, {id : 'b1379480-77bb-4f02-baa5-3e07201a3272', name : 'pr147-n78-kvm-ubuntu26-kvm2', state : 'Up', type : 'Routing', ipaddress : '10.0.33.225', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', podid : 'c622fab3-1947-44c4-b2f6-9f6d2dc57de3', podname : 'Pod1', version : '4.23.0.0-shapeblue20429', hypervisor : 'KVM', cpusockets : 3, cpunumber : 3, cpuspeed : 2100, cpuallocated : '0.00%', cpuallocatedvalue : 0, cpuallocatedpercentage : '0.00%', cpuallocatedwithoverprovisioning : '0.00%', cpuused : '1.09%', cpuwithoverprovisioning : '12600', cpuloadaverage : 0.0, networkkbsread : 35328, networkkbswrite : 0, memorytotal : 6711349248, memorywithoverprovisioning : '6711349248', memoryallocated : 0, memoryallocatedpercentage : '0.00%', memoryallocatedbytes : 0, memoryused : 951767040, capabilities : 'hvm,snapshot', lastpinged : '1970-01-21T05:57:16+0000', managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', clusterid : '2533b094-5bc3-4177-a58c-cda33af7937a', clustername : 'p1-c1', clustertype : 'CloudManaged', islocalstorageactive : False, created : '2026-10-07T22:16:52+0000', events : 'ShutdownRequested; AgentDisconnected; AgentConnected; StartAgentRebalance; Remove; HostDown; Ping; ManagementServerDown; PingTimeout', hostha : {haenable : False, hastate : 'Disabled'}, outofbandmanagement : {powerstate : 'Disabled', enabled : False}, resourcestate : 'Enabled', hahost : False, details : {Host.OS.Version : '26.04', host.cdrom.max.count : '2', host.volume.encryption.rbd : 'true', Host.OS.Kernel.Version : '7.0.0-14-generic', com.cloud.network.Networks.RouterPrivateIpStrategy : 'HostLocal', host.vddk.support : 'false', host.uefi.enable : 'true', secured : 'true', Host.OS : 'Ubuntu'}, ueficapability : True, encryptionsupported : True, instanceconversionsupported : False, arch : 'x86_64', hasannotations : False}]
2026-10-08 01:42:59,796 - DEBUG - ::::::::::::STARTED : TC: test_CRUD_operations_guest_OS :::::::::::
2026-10-08 01:42:59,796 - DEBUG - Payload: {'listall': True, 'name': 'CentOS', 'command': 'listOsCategories', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'zxaVHezevoNxEeLau664Eu73cgM='}
2026-10-08 01:42:59,796 - DEBUG - ========Sending GET Cmd : listOsCategories=======
2026-10-08 01:42:59,828 - DEBUG - Response : [{id : '9bb00147-c299-11f1-8e09-1e005a000279', name : 'CentOS', isfeatured : True}]
2026-10-08 01:42:59,829 - DEBUG - Payload: {'oscategoryid': '9bb00147-c299-11f1-8e09-1e005a000279', 'osdisplayname': 'testCentOS', 'command': 'addGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'XWVChreyxkIRLyw7qVUO5usf9Ro='}
2026-10-08 01:42:59,829 - DEBUG - ========Sending GET Cmd : addGuestOs=======
2026-10-08 01:42:59,912 - DEBUG - === Jobid: a5cc5637-e716-4698-915f-90285cd5ae6f Started ===
2026-10-08 01:42:59,912 - DEBUG - Payload: {'jobid': 'a5cc5637-e716-4698-915f-90285cd5ae6f', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'jZ/S4PiN5wa2MS/XdJWaiM99YsQ='}
2026-10-08 01:42:59,912 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:42:59,960 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'GuestOs', managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-08T01:42:59+0000', jobid : 'a5cc5637-e716-4698-915f-90285cd5ae6f', jobstatus : 0}
2026-10-08 01:43:00,961 - DEBUG - === JobId:a5cc5637-e716-4698-915f-90285cd5ae6f is Still Processing, Will TimeOut in:3599 ====
2026-10-08 01:43:00,962 - DEBUG - Payload: {'jobid': 'a5cc5637-e716-4698-915f-90285cd5ae6f', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'jZ/S4PiN5wa2MS/XdJWaiM99YsQ='}
2026-10-08 01:43:00,962 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:00,999 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : '5361dd89-0a2e-4ef3-a514-744722820c89', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testCentOS', description : 'testCentOS', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:42:59+0000', completed : '2026-10-08T01:42:59+0000', jobid : 'a5cc5637-e716-4698-915f-90285cd5ae6f', jobstatus : 1}
2026-10-08 01:43:00,999 - DEBUG - ===Jobid:a5cc5637-e716-4698-915f-90285cd5ae6f ; StartTime:Thu Oct  8 01:42:59 2026 ; EndTime:Thu Oct  8 01:43:00 2026 ; TotalTime:-1===
2026-10-08 01:43:00,999 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : '5361dd89-0a2e-4ef3-a514-744722820c89', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testCentOS', description : 'testCentOS', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:42:59+0000', completed : '2026-10-08T01:42:59+0000', jobid : 'a5cc5637-e716-4698-915f-90285cd5ae6f', jobstatus : 1}
2026-10-08 01:43:00,999 - DEBUG - Payload: {'id': '5361dd89-0a2e-4ef3-a514-744722820c89', 'listall': True, 'command': 'listOsTypes', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'R3j25Phfgj6R49Amy+kL+czSdxU='}
2026-10-08 01:43:01,000 - DEBUG - ========Sending GET Cmd : listOsTypes=======
2026-10-08 01:43:01,029 - DEBUG - Response : [{id : '5361dd89-0a2e-4ef3-a514-744722820c89', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testCentOS', description : 'testCentOS', isuserdefined : True, fordisplay : True}]
2026-10-08 01:43:01,029 - DEBUG - Payload: {'id': '5361dd89-0a2e-4ef3-a514-744722820c89', 'command': 'removeGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'sb/c20V9ws5pRzkoLbONT8eTjIc='}
2026-10-08 01:43:01,029 - DEBUG - ========Sending GET Cmd : removeGuestOs=======
2026-10-08 01:43:01,086 - DEBUG - === Jobid: 80fccf17-c02a-48d8-8632-efbf4356006f Started ===
2026-10-08 01:43:01,087 - DEBUG - Payload: {'jobid': '80fccf17-c02a-48d8-8632-efbf4356006f', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'KIr0lRgizz2+rBfqiqMqwYyDmBc='}
2026-10-08 01:43:01,087 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:01,146 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-08T01:43:01+0000', jobid : '80fccf17-c02a-48d8-8632-efbf4356006f', jobstatus : 0}
2026-10-08 01:43:02,147 - DEBUG - === JobId:80fccf17-c02a-48d8-8632-efbf4356006f is Still Processing, Will TimeOut in:3599 ====
2026-10-08 01:43:02,147 - DEBUG - Payload: {'jobid': '80fccf17-c02a-48d8-8632-efbf4356006f', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'KIr0lRgizz2+rBfqiqMqwYyDmBc='}
2026-10-08 01:43:02,147 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:02,181 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:01+0000', completed : '2026-10-08T01:43:01+0000', jobid : '80fccf17-c02a-48d8-8632-efbf4356006f', jobstatus : 1}
2026-10-08 01:43:02,181 - DEBUG - ===Jobid:80fccf17-c02a-48d8-8632-efbf4356006f ; StartTime:Thu Oct  8 01:43:01 2026 ; EndTime:Thu Oct  8 01:43:02 2026 ; TotalTime:-1===
2026-10-08 01:43:02,181 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:01+0000', completed : '2026-10-08T01:43:01+0000', jobid : '80fccf17-c02a-48d8-8632-efbf4356006f', jobstatus : 1}
2026-10-08 01:43:02,181 - DEBUG - Cleaning up the resources
2026-10-08 01:43:02,182 - DEBUG - TestCaseName: test_CRUD_operations_guest_OS; Time Taken: 2 Seconds; StartTime: Thu Oct  8 01:42:59 2026; EndTime: Thu Oct  8 01:43:02 2026; Result: SUCCESS
2026-10-08 01:43:02,182 - DEBUG - ::::::::::::STARTED : TC: test_CRUD_operations_guest_OS_mapping :::::::::::
2026-10-08 01:43:02,182 - DEBUG - Payload: {'listall': True, 'name': 'CentOS', 'command': 'listOsCategories', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'zxaVHezevoNxEeLau664Eu73cgM='}
2026-10-08 01:43:02,182 - DEBUG - ========Sending GET Cmd : listOsCategories=======
2026-10-08 01:43:02,203 - DEBUG - Response : [{id : '9bb00147-c299-11f1-8e09-1e005a000279', name : 'CentOS', isfeatured : True}]
2026-10-08 01:43:02,204 - DEBUG - Payload: {'oscategoryid': '9bb00147-c299-11f1-8e09-1e005a000279', 'osdisplayname': 'testCentOS', 'command': 'addGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'XWVChreyxkIRLyw7qVUO5usf9Ro='}
2026-10-08 01:43:02,204 - DEBUG - ========Sending GET Cmd : addGuestOs=======
2026-10-08 01:43:02,257 - DEBUG - === Jobid: 120b3fc8-b206-4153-b7ce-e466c6f7d1da Started ===
2026-10-08 01:43:02,258 - DEBUG - Payload: {'jobid': '120b3fc8-b206-4153-b7ce-e466c6f7d1da', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hkO8kmXbb3LpEro9IeVLsH36l5E='}
2026-10-08 01:43:02,258 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:02,296 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'GuestOs', managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-08T01:43:02+0000', jobid : '120b3fc8-b206-4153-b7ce-e466c6f7d1da', jobstatus : 0}
2026-10-08 01:43:03,297 - DEBUG - === JobId:120b3fc8-b206-4153-b7ce-e466c6f7d1da is Still Processing, Will TimeOut in:3599 ====
2026-10-08 01:43:03,298 - DEBUG - Payload: {'jobid': '120b3fc8-b206-4153-b7ce-e466c6f7d1da', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hkO8kmXbb3LpEro9IeVLsH36l5E='}
2026-10-08 01:43:03,298 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:03,330 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : '477e9f92-48cf-4832-84d8-3cea507f2ba4', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testCentOS', description : 'testCentOS', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:43:02+0000', completed : '2026-10-08T01:43:02+0000', jobid : '120b3fc8-b206-4153-b7ce-e466c6f7d1da', jobstatus : 1}
2026-10-08 01:43:03,330 - DEBUG - ===Jobid:120b3fc8-b206-4153-b7ce-e466c6f7d1da ; StartTime:Thu Oct  8 01:43:02 2026 ; EndTime:Thu Oct  8 01:43:03 2026 ; TotalTime:-1===
2026-10-08 01:43:03,330 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : '477e9f92-48cf-4832-84d8-3cea507f2ba4', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testCentOS', description : 'testCentOS', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:43:02+0000', completed : '2026-10-08T01:43:02+0000', jobid : '120b3fc8-b206-4153-b7ce-e466c6f7d1da', jobstatus : 1}
2026-10-08 01:43:03,330 - DEBUG - Cleaning up the resources
2026-10-08 01:43:03,331 - DEBUG - Payload: {'id': '477e9f92-48cf-4832-84d8-3cea507f2ba4', 'command': 'removeGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'DcIMtdxgGeWZc9n/w8splVejWK8='}
2026-10-08 01:43:03,331 - DEBUG - ========Sending GET Cmd : removeGuestOs=======
2026-10-08 01:43:03,374 - DEBUG - === Jobid: 9735a796-e082-4666-b1a4-c003f47c91b3 Started ===
2026-10-08 01:43:03,374 - DEBUG - Payload: {'jobid': '9735a796-e082-4666-b1a4-c003f47c91b3', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'KbRq/gaCloX+hibPidaS4nwLat4='}
2026-10-08 01:43:03,374 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:03,417 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-08T01:43:03+0000', jobid : '9735a796-e082-4666-b1a4-c003f47c91b3', jobstatus : 0}
2026-10-08 01:43:04,419 - DEBUG - === JobId:9735a796-e082-4666-b1a4-c003f47c91b3 is Still Processing, Will TimeOut in:3599 ====
2026-10-08 01:43:04,419 - DEBUG - Payload: {'jobid': '9735a796-e082-4666-b1a4-c003f47c91b3', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'KbRq/gaCloX+hibPidaS4nwLat4='}
2026-10-08 01:43:04,419 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:04,454 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:03+0000', completed : '2026-10-08T01:43:03+0000', jobid : '9735a796-e082-4666-b1a4-c003f47c91b3', jobstatus : 1}
2026-10-08 01:43:04,454 - DEBUG - ===Jobid:9735a796-e082-4666-b1a4-c003f47c91b3 ; StartTime:Thu Oct  8 01:43:03 2026 ; EndTime:Thu Oct  8 01:43:04 2026 ; TotalTime:-1===
2026-10-08 01:43:04,454 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:03+0000', completed : '2026-10-08T01:43:03+0000', jobid : '9735a796-e082-4666-b1a4-c003f47c91b3', jobstatus : 1}
2026-10-08 01:43:04,455 - DEBUG - TestCaseName: test_CRUD_operations_guest_OS_mapping; Time Taken: 2 Seconds; StartTime: Thu Oct  8 01:43:02 2026; EndTime: Thu Oct  8 01:43:04 2026; Result: SUCCESS
2026-10-08 01:43:04,455 - DEBUG - ::::::::::::STARTED : TC: test_guest_OS_mapping_check_with_hypervisor :::::::::::
2026-10-08 01:43:04,455 - DEBUG - Payload: {'listall': True, 'name': 'CentOS', 'command': 'listOsCategories', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'zxaVHezevoNxEeLau664Eu73cgM='}
2026-10-08 01:43:04,455 - DEBUG - ========Sending GET Cmd : listOsCategories=======
2026-10-08 01:43:04,475 - DEBUG - Response : [{id : '9bb00147-c299-11f1-8e09-1e005a000279', name : 'CentOS', isfeatured : True}]
2026-10-08 01:43:04,475 - DEBUG - Payload: {'oscategoryid': '9bb00147-c299-11f1-8e09-1e005a000279', 'osdisplayname': 'testOSname1', 'command': 'addGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'+kfC/dSFsvK9IOzsllbHjozXxt8='}
2026-10-08 01:43:04,475 - DEBUG - ========Sending GET Cmd : addGuestOs=======
2026-10-08 01:43:04,537 - DEBUG - === Jobid: 18f5f82b-67a8-48ed-95c5-94acc11169d7 Started ===
2026-10-08 01:43:04,537 - DEBUG - Payload: {'jobid': '18f5f82b-67a8-48ed-95c5-94acc11169d7', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'/+IrUrvQyLHfAHX6kORUVInBDw0='}
2026-10-08 01:43:04,538 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:04,589 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'dc40480b-1af8-4d32-91c2-a16fb3fa29ba', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testOSname1', description : 'testOSname1', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:43:04+0000', completed : '2026-10-08T01:43:04+0000', jobid : '18f5f82b-67a8-48ed-95c5-94acc11169d7', jobstatus : 1}
2026-10-08 01:43:04,589 - DEBUG - ===Jobid:18f5f82b-67a8-48ed-95c5-94acc11169d7 ; StartTime:Thu Oct  8 01:43:04 2026 ; EndTime:Thu Oct  8 01:43:04 2026 ; TotalTime:0===
2026-10-08 01:43:04,589 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'dc40480b-1af8-4d32-91c2-a16fb3fa29ba', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testOSname1', description : 'testOSname1', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:43:04+0000', completed : '2026-10-08T01:43:04+0000', jobid : '18f5f82b-67a8-48ed-95c5-94acc11169d7', jobstatus : 1}
2026-10-08 01:43:04,589 - DEBUG - Cleaning up the resources
2026-10-08 01:43:04,590 - DEBUG - Payload: {'id': 'dc40480b-1af8-4d32-91c2-a16fb3fa29ba', 'command': 'removeGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'3bLvAFA9KAKyQpjb5Ih4PPZiwTI='}
2026-10-08 01:43:04,590 - DEBUG - ========Sending GET Cmd : removeGuestOs=======
2026-10-08 01:43:04,634 - DEBUG - === Jobid: 7a5f8542-11cf-4aa7-b8bd-4f210bd630d2 Started ===
2026-10-08 01:43:04,635 - DEBUG - Payload: {'jobid': '7a5f8542-11cf-4aa7-b8bd-4f210bd630d2', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'6//g+Pr8d7iHqTCVyrNfyTLNKBw='}
2026-10-08 01:43:04,635 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:04,680 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-08T01:43:04+0000', jobid : '7a5f8542-11cf-4aa7-b8bd-4f210bd630d2', jobstatus : 0}
2026-10-08 01:43:05,682 - DEBUG - === JobId:7a5f8542-11cf-4aa7-b8bd-4f210bd630d2 is Still Processing, Will TimeOut in:3599 ====
2026-10-08 01:43:05,682 - DEBUG - Payload: {'jobid': '7a5f8542-11cf-4aa7-b8bd-4f210bd630d2', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'6//g+Pr8d7iHqTCVyrNfyTLNKBw='}
2026-10-08 01:43:05,683 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:05,726 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:04+0000', completed : '2026-10-08T01:43:04+0000', jobid : '7a5f8542-11cf-4aa7-b8bd-4f210bd630d2', jobstatus : 1}
2026-10-08 01:43:05,727 - DEBUG - ===Jobid:7a5f8542-11cf-4aa7-b8bd-4f210bd630d2 ; StartTime:Thu Oct  8 01:43:04 2026 ; EndTime:Thu Oct  8 01:43:05 2026 ; TotalTime:-1===
2026-10-08 01:43:05,727 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:04+0000', completed : '2026-10-08T01:43:04+0000', jobid : '7a5f8542-11cf-4aa7-b8bd-4f210bd630d2', jobstatus : 1}
2026-10-08 01:43:05,727 - DEBUG - TestCaseName: test_guest_OS_mapping_check_with_hypervisor; Time Taken: 1 Seconds; StartTime: Thu Oct  8 01:43:04 2026; EndTime: Thu Oct  8 01:43:05 2026; Result: SUCCESS
2026-10-08 01:43:05,728 - DEBUG - ::::::::::::STARTED : TC: test_guest_OS_mapping_check_with_hypervisor_failure :::::::::::
2026-10-08 01:43:05,728 - DEBUG - Payload: {'listall': True, 'name': 'CentOS', 'command': 'listOsCategories', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'zxaVHezevoNxEeLau664Eu73cgM='}
2026-10-08 01:43:05,728 - DEBUG - ========Sending GET Cmd : listOsCategories=======
2026-10-08 01:43:05,751 - DEBUG - Response : [{id : '9bb00147-c299-11f1-8e09-1e005a000279', name : 'CentOS', isfeatured : True}]
2026-10-08 01:43:05,751 - DEBUG - Payload: {'oscategoryid': '9bb00147-c299-11f1-8e09-1e005a000279', 'osdisplayname': 'testOSname2', 'command': 'addGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ILn2/Cwene+ZJ1rmg4qEmRy38Y4='}
2026-10-08 01:43:05,751 - DEBUG - ========Sending GET Cmd : addGuestOs=======
2026-10-08 01:43:05,817 - DEBUG - === Jobid: 7e7f6bd0-9ab6-4624-8594-ca9f147180f7 Started ===
2026-10-08 01:43:05,817 - DEBUG - Payload: {'jobid': '7e7f6bd0-9ab6-4624-8594-ca9f147180f7', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'LohHsyrQ/9pqMRQy/fLjoVEhD50='}
2026-10-08 01:43:05,817 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:05,862 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'fb1a251e-47da-4a8a-9ebe-ed0e3973682e', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testOSname2', description : 'testOSname2', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:43:05+0000', completed : '2026-10-08T01:43:05+0000', jobid : '7e7f6bd0-9ab6-4624-8594-ca9f147180f7', jobstatus : 1}
2026-10-08 01:43:05,863 - DEBUG - ===Jobid:7e7f6bd0-9ab6-4624-8594-ca9f147180f7 ; StartTime:Thu Oct  8 01:43:05 2026 ; EndTime:Thu Oct  8 01:43:05 2026 ; TotalTime:0===
2026-10-08 01:43:05,863 - 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.guest.AddGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'fb1a251e-47da-4a8a-9ebe-ed0e3973682e', oscategoryid : '9bb00147-c299-11f1-8e09-1e005a000279', oscategoryname : 'CentOS', name : 'testOSname2', description : 'testOSname2', isuserdefined : True, fordisplay : True}, jobinstancetype : 'GuestOs', created : '2026-10-08T01:43:05+0000', completed : '2026-10-08T01:43:05+0000', jobid : '7e7f6bd0-9ab6-4624-8594-ca9f147180f7', jobstatus : 1}
2026-10-08 01:43:05,863 - DEBUG - Cleaning up the resources
2026-10-08 01:43:05,864 - DEBUG - Payload: {'id': 'fb1a251e-47da-4a8a-9ebe-ed0e3973682e', 'command': 'removeGuestOs', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'h1h2jVA9yYmIJuw+Lu/1hGAXWek='}
2026-10-08 01:43:05,864 - DEBUG - ========Sending GET Cmd : removeGuestOs=======
2026-10-08 01:43:05,921 - DEBUG - === Jobid: d6511754-8a54-48dc-a721-a8d6b7659d26 Started ===
2026-10-08 01:43:05,921 - DEBUG - Payload: {'jobid': 'd6511754-8a54-48dc-a721-a8d6b7659d26', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'QZj/g9xB7pAPRCg4ZwiaC0zRWOc='}
2026-10-08 01:43:05,921 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 01:43:05,982 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:05+0000', completed : '2026-10-08T01:43:05+0000', jobid : 'd6511754-8a54-48dc-a721-a8d6b7659d26', jobstatus : 1}
2026-10-08 01:43:05,982 - DEBUG - ===Jobid:d6511754-8a54-48dc-a721-a8d6b7659d26 ; StartTime:Thu Oct  8 01:43:05 2026 ; EndTime:Thu Oct  8 01:43:05 2026 ; TotalTime:0===
2026-10-08 01:43:05,982 - 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.guest.RemoveGuestOsCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T01:43:05+0000', completed : '2026-10-08T01:43:05+0000', jobid : 'd6511754-8a54-48dc-a721-a8d6b7659d26', jobstatus : 1}
2026-10-08 01:43:05,983 - DEBUG - TestCaseName: test_guest_OS_mapping_check_with_hypervisor_failure; Time Taken: 0 Seconds; StartTime: Thu Oct  8 01:43:05 2026; EndTime: Thu Oct  8 01:43:05 2026; Result: SUCCESS
2026-10-08 01:43:05,983 - DEBUG - Cleaning up the resources
