2026-10-08 03:51:10,830 - DEBUG - Parsing Test data successful
2026-10-08 03:51:10,831 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-08 03:51:10,831 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-08 03:51:10,853 - 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 03:51:10,853 - DEBUG - Payload: {'id': '0a3b4d10-c29a-11f1-8e09-1e005a000279', 'command': 'getUserKeys', 'response': 'json'}
2026-10-08 03:51:10,853 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-08 03:51:10,868 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-08 03:51:10,868 - DEBUG - ==== Test Client Creation Successful ====
2026-10-08 03:51:10,978 - DEBUG - Payload: {'name': 'pr147-n78-kvm-ubuntu26', 'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Qv98WatGBS94DKKMfP5/0ZS+pg8='}
2026-10-08 03:51:10,978 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-08 03:51:11,021 - 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-08 03:51:11,021 - DEBUG - Payload: {'name': 'cloud.kubernetes.service.enabled', 'command': 'listConfigurations', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BGXOMOK4hnYCRgC7XAOmJIgPCQw='}
2026-10-08 03:51:11,021 - DEBUG - ========Sending GET Cmd : listConfigurations=======
2026-10-08 03:51:11,058 - DEBUG - Response : [{category : 'Advanced', group : 'Compute', subgroup : 'Kubernetes', name : 'cloud.kubernetes.service.enabled', value : 'true', defaultvalue : 'true', description : 'Indicates whether Kubernetes Service plugin is enabled or not. Management server restart needed on change', isdynamic : False, component : 'KubernetesClusterService', displaytext : 'Cloud kubernetes service enabled', type : 'Boolean'}]
2026-10-08 03:51:11,058 - DEBUG - ::::::::::::STARTED : TC: test_01_add_delete_kubernetes_supported_version :::::::::::
2026-10-08 03:51:11,061 - DEBUG - Adding Kubernetes supported version with name: v1.16.3-6CA6O2
2026-10-08 03:51:11,061 - DEBUG - Payload: {'mincpunumber': 2, 'minmemory': 2048, 'name': 'v1.16.3-6CA6O2', 'semanticversion': '1.16.3', 'url': 'http://10.0.3.122/cks/setup-1.16.3.iso', 'zoneid': 'b40df8dc-0593-4871-a92d-b035d18aa0c4', 'command': 'addKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'THBcnEZtmEjQAfNg68qCwgmVyvI='}
2026-10-08 03:51:11,061 - DEBUG - ========Sending GET Cmd : addKubernetesSupportedVersion=======
2026-10-08 03:51:11,281 - DEBUG - Response : {id : '720b9764-0e33-4fc7-8787-101be64deec6', name : 'v1.16.3-6CA6O2', semanticversion : '1.16.3', isoid : '9103039c-46fd-4d60-8fae-8bfa78ae147d', isoname : 'v1.16.3-6CA6O2-Kubernetes-Binaries-ISO', isourl : 'http://10.0.3.122/cks/setup-1.16.3.iso', isostate : 'Creating', arch : 'x86_64', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', supportsha : True, supportsautoscaling : True, state : 'Enabled', mincpunumber : 2, minmemory : 2048, created : '2026-10-08T03:51:11+0000', directdownload : False}
2026-10-08 03:51:11,281 - DEBUG - Payload: {'id': '720b9764-0e33-4fc7-8787-101be64deec6', 'command': 'listKubernetesSupportedVersions', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'A9p1o8klR3jj/2qGu6QBggoOWFU='}
2026-10-08 03:51:11,281 - DEBUG - ========Sending GET Cmd : listKubernetesSupportedVersions=======
2026-10-08 03:51:11,312 - DEBUG - Response : [{id : '720b9764-0e33-4fc7-8787-101be64deec6', name : 'v1.16.3-6CA6O2', semanticversion : '1.16.3', isoid : '9103039c-46fd-4d60-8fae-8bfa78ae147d', isoname : 'v1.16.3-6CA6O2-Kubernetes-Binaries-ISO', isourl : 'http://10.0.3.122/cks/setup-1.16.3.iso', isostate : 'Creating', arch : 'x86_64', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', supportsha : True, supportsautoscaling : True, state : 'Enabled', mincpunumber : 2, minmemory : 2048, created : '2026-10-08T03:51:11+0000', directdownload : False}]
2026-10-08 03:51:11,337 - DEBUG - Added Kubernetes supported version with ID: 720b9764-0e33-4fc7-8787-101be64deec6. Waiting for its ISO to be Ready
2026-10-08 03:52:11,366 - DEBUG - Payload: {'id': '720b9764-0e33-4fc7-8787-101be64deec6', 'command': 'listKubernetesSupportedVersions', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'A9p1o8klR3jj/2qGu6QBggoOWFU='}
2026-10-08 03:52:11,367 - DEBUG - ========Sending GET Cmd : listKubernetesSupportedVersions=======
2026-10-08 03:52:11,407 - DEBUG - Response : [{id : '720b9764-0e33-4fc7-8787-101be64deec6', name : 'v1.16.3-6CA6O2', semanticversion : '1.16.3', isoid : '9103039c-46fd-4d60-8fae-8bfa78ae147d', isoname : 'v1.16.3-6CA6O2-Kubernetes-Binaries-ISO', isourl : 'http://10.0.3.122/cks/setup-1.16.3.iso', isostate : 'Ready', arch : 'x86_64', zoneid : 'b40df8dc-0593-4871-a92d-b035d18aa0c4', zonename : 'pr147-n78-kvm-ubuntu26', supportsha : True, supportsautoscaling : True, state : 'Enabled', mincpunumber : 2, minmemory : 2048, created : '2026-10-08T03:51:11+0000', directdownload : False}]
2026-10-08 03:52:11,408 - DEBUG - Deleting Kubernetes supported version with ID: 720b9764-0e33-4fc7-8787-101be64deec6
2026-10-08 03:52:11,408 - DEBUG - Payload: {'deleteiso': True, 'id': '720b9764-0e33-4fc7-8787-101be64deec6', 'command': 'deleteKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'GDzw7QlVUfTaQE9BwFzTPiHFl1A='}
2026-10-08 03:52:11,408 - DEBUG - ========Sending GET Cmd : deleteKubernetesSupportedVersion=======
2026-10-08 03:52:11,454 - DEBUG - === Jobid: 369ffd85-2a2a-4be6-82fa-f0b5e780d8b5 Started ===
2026-10-08 03:52:11,455 - DEBUG - Payload: {'jobid': '369ffd85-2a2a-4be6-82fa-f0b5e780d8b5', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RXUzaDw+vE6HHl8EaTUKbdMw4GU='}
2026-10-08 03:52:11,455 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 03:52:11,494 - 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.kubernetes.version.DeleteKubernetesSupportedVersionCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : '23f86e3b-4951-43bb-a037-fd2110582631', managementservername : 'pr147-n78-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-08T03:52:11+0000', jobid : '369ffd85-2a2a-4be6-82fa-f0b5e780d8b5', jobstatus : 0}
2026-10-08 03:52:12,496 - DEBUG - === JobId:369ffd85-2a2a-4be6-82fa-f0b5e780d8b5 is Still Processing, Will TimeOut in:3599 ====
2026-10-08 03:52:12,496 - DEBUG - Payload: {'jobid': '369ffd85-2a2a-4be6-82fa-f0b5e780d8b5', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'RXUzaDw+vE6HHl8EaTUKbdMw4GU='}
2026-10-08 03:52:12,496 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-08 03:52:12,535 - 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.kubernetes.version.DeleteKubernetesSupportedVersionCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T03:52:11+0000', completed : '2026-10-08T03:52:11+0000', jobid : '369ffd85-2a2a-4be6-82fa-f0b5e780d8b5', jobstatus : 1}
2026-10-08 03:52:12,535 - DEBUG - ===Jobid:369ffd85-2a2a-4be6-82fa-f0b5e780d8b5 ; StartTime:Thu Oct  8 03:52:11 2026 ; EndTime:Thu Oct  8 03:52:12 2026 ; TotalTime:-1===
2026-10-08 03:52:12,535 - 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.kubernetes.version.DeleteKubernetesSupportedVersionCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-08T03:52:11+0000', completed : '2026-10-08T03:52:11+0000', jobid : '369ffd85-2a2a-4be6-82fa-f0b5e780d8b5', jobstatus : 1}
2026-10-08 03:52:12,555 - DEBUG - TestCaseName: test_01_add_delete_kubernetes_supported_version; Time Taken: 61 Seconds; StartTime: Thu Oct  8 03:51:11 2026; EndTime: Thu Oct  8 03:52:12 2026; Result: SUCCESS
2026-10-08 03:52:12,555 - DEBUG - ::::::::::::STARTED : TC: test_02_add_unsupported_kubernetes_supported_version :::::::::::
2026-10-08 03:52:12,557 - DEBUG - Payload: {'mincpunumber': 2, 'minmemory': 2048, 'name': 'v1.1.1-IF5WQ9', 'semanticversion': '1.1.1', 'url': 'http://10.0.3.122/cks/setup-1.28.4.iso', 'zoneid': 'b40df8dc-0593-4871-a92d-b035d18aa0c4', 'command': 'addKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'XTTiPe1UpJ23yUZRAhMSrMU1vus='}
2026-10-08 03:52:12,557 - DEBUG - ========Sending GET Cmd : addKubernetesSupportedVersion=======
2026-10-08 03:52:12,589 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 530, errorText:New supported Kubernetes version cannot be added as 1.11.0 is minimum version supported by Kubernetes Service\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 530, errorText:New supported Kubernetes version cannot be added as 1.11.0 is minimum version supported by Kubernetes Service
2026-10-08 03:52:12,589 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.addKubernetesSupportedVersion.addKubernetesSupportedVersionCmd object at 0x7ff0cb7e6b20> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 530, errorText:New supported Kubernetes version cannot be added as 1.11.0 is minimum version supported by Kubernetes Service\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 530, errorText:New supported Kubernetes version cannot be added as 1.11.0 is minimum version supported by Kubernetes Service
2026-10-08 03:52:12,589 - DEBUG - Unsupported version error check successful, API failure: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 530, errorText:New supported Kubernetes version cannot be added as 1.11.0 is minimum version supported by Kubernetes Service
2026-10-08 03:52:12,590 - DEBUG - TestCaseName: test_02_add_unsupported_kubernetes_supported_version; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:52:12 2026; EndTime: Thu Oct  8 03:52:12 2026; Result: SUCCESS
2026-10-08 03:52:12,590 - DEBUG - ::::::::::::STARTED : TC: test_03_add_invalid_kubernetes_supported_version :::::::::::
2026-10-08 03:52:12,593 - DEBUG - Payload: {'mincpunumber': 2, 'minmemory': 2048, 'name': 'vinvalid-WCZPGR', 'semanticversion': 'invalid', 'url': 'http://10.0.3.122/cks/setup-1.28.4.iso', 'zoneid': 'b40df8dc-0593-4871-a92d-b035d18aa0c4', 'command': 'addKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'tRhVjq8pT12sR+pw69Kq0nLLZK8='}
2026-10-08 03:52:12,593 - DEBUG - ========Sending GET Cmd : addKubernetesSupportedVersion=======
2026-10-08 03:52:12,630 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 431, errorText:Invalid version format. Semantic version needed\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 431, errorText:Invalid version format. Semantic version needed
2026-10-08 03:52:12,630 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.addKubernetesSupportedVersion.addKubernetesSupportedVersionCmd object at 0x7ff0cb7e6be0> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 431, errorText:Invalid version format. Semantic version needed\n']
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 431, errorText:Invalid version format. Semantic version needed
2026-10-08 03:52:12,630 - DEBUG - Unsupported version error check successful, API failure: Execute cmd: addkubernetessupportedversion failed, due to: errorCode: 431, errorText:Invalid version format. Semantic version needed
2026-10-08 03:52:12,630 - DEBUG - TestCaseName: test_03_add_invalid_kubernetes_supported_version; Time Taken: 0 Seconds; StartTime: Thu Oct  8 03:52:12 2026; EndTime: Thu Oct  8 03:52:12 2026; Result: SUCCESS
