2026-10-09 19:46:13,046 - DEBUG - Parsing Test data successful
2026-10-09 19:46:13,046 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-09 19:46:13,046 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-09 19:46:13,069 - 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 19:46:13,069 - DEBUG - Payload: {'id': 'a672c44f-c3f0-11f1-975d-1e002100023e', 'command': 'getUserKeys', 'response': 'json'}
2026-10-09 19:46:13,069 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-09 19:46:13,085 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-09 19:46:13,085 - DEBUG - ==== Test Client Creation Successful ====
2026-10-09 19:46:13,194 - DEBUG - Payload: {'name': 'pr147-n88-kvm-ubuntu26', 'command': 'listZones', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g81kcaAPnol/n3AJ8Uiu1h6VYvI='}
2026-10-09 19:46:13,194 - DEBUG - ========Sending GET Cmd : listZones=======
2026-10-09 19:46:13,241 - 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 19:46:13,242 - DEBUG - Payload: {'name': 'cloud.kubernetes.service.enabled', 'command': 'listConfigurations', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BGXOMOK4hnYCRgC7XAOmJIgPCQw='}
2026-10-09 19:46:13,242 - DEBUG - ========Sending GET Cmd : listConfigurations=======
2026-10-09 19:46:13,272 - 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-09 19:46:13,273 - DEBUG - ::::::::::::STARTED : TC: test_01_add_delete_kubernetes_supported_version :::::::::::
2026-10-09 19:46:13,275 - DEBUG - Adding Kubernetes supported version with name: v1.16.3-8N46NR
2026-10-09 19:46:13,276 - DEBUG - Payload: {'mincpunumber': 2, 'minmemory': 2048, 'name': 'v1.16.3-8N46NR', 'semanticversion': '1.16.3', 'url': 'http://10.0.3.122/cks/setup-1.16.3.iso', 'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'addKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'aMr59Nm5KhT8nwv8Nfi/liNKjDw='}
2026-10-09 19:46:13,276 - DEBUG - ========Sending GET Cmd : addKubernetesSupportedVersion=======
2026-10-09 19:46:13,501 - DEBUG - Response : {id : 'df20997c-05fd-4af1-b538-d3d3c0ddc827', name : 'v1.16.3-8N46NR', semanticversion : '1.16.3', isoid : 'dae2ed30-378a-40ed-bcd9-47990d1054b4', isoname : 'v1.16.3-8N46NR-Kubernetes-Binaries-ISO', isourl : 'http://10.0.3.122/cks/setup-1.16.3.iso', isostate : 'Creating', arch : 'x86_64', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', supportsha : True, supportsautoscaling : True, state : 'Enabled', mincpunumber : 2, minmemory : 2048, created : '2026-10-09T19:46:13+0000', directdownload : False}
2026-10-09 19:46:13,502 - DEBUG - Payload: {'id': 'df20997c-05fd-4af1-b538-d3d3c0ddc827', 'command': 'listKubernetesSupportedVersions', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'T8mifofVAWP2kf6ORdYb9/4TMRY='}
2026-10-09 19:46:13,502 - DEBUG - ========Sending GET Cmd : listKubernetesSupportedVersions=======
2026-10-09 19:46:13,531 - DEBUG - Response : [{id : 'df20997c-05fd-4af1-b538-d3d3c0ddc827', name : 'v1.16.3-8N46NR', semanticversion : '1.16.3', isoid : 'dae2ed30-378a-40ed-bcd9-47990d1054b4', isoname : 'v1.16.3-8N46NR-Kubernetes-Binaries-ISO', isourl : 'http://10.0.3.122/cks/setup-1.16.3.iso', isostate : 'Creating', arch : 'x86_64', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', supportsha : True, supportsautoscaling : True, state : 'Enabled', mincpunumber : 2, minmemory : 2048, created : '2026-10-09T19:46:13+0000', directdownload : False}]
2026-10-09 19:46:13,556 - DEBUG - Added Kubernetes supported version with ID: df20997c-05fd-4af1-b538-d3d3c0ddc827. Waiting for its ISO to be Ready
2026-10-09 19:47:13,601 - DEBUG - Payload: {'id': 'df20997c-05fd-4af1-b538-d3d3c0ddc827', 'command': 'listKubernetesSupportedVersions', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'T8mifofVAWP2kf6ORdYb9/4TMRY='}
2026-10-09 19:47:13,602 - DEBUG - ========Sending GET Cmd : listKubernetesSupportedVersions=======
2026-10-09 19:47:13,635 - DEBUG - Response : [{id : 'df20997c-05fd-4af1-b538-d3d3c0ddc827', name : 'v1.16.3-8N46NR', semanticversion : '1.16.3', isoid : 'dae2ed30-378a-40ed-bcd9-47990d1054b4', isoname : 'v1.16.3-8N46NR-Kubernetes-Binaries-ISO', isourl : 'http://10.0.3.122/cks/setup-1.16.3.iso', isostate : 'Ready', arch : 'x86_64', zoneid : 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', zonename : 'pr147-n88-kvm-ubuntu26', supportsha : True, supportsautoscaling : True, state : 'Enabled', mincpunumber : 2, minmemory : 2048, created : '2026-10-09T19:46:13+0000', directdownload : False}]
2026-10-09 19:47:13,635 - DEBUG - Deleting Kubernetes supported version with ID: df20997c-05fd-4af1-b538-d3d3c0ddc827
2026-10-09 19:47:13,636 - DEBUG - Payload: {'deleteiso': True, 'id': 'df20997c-05fd-4af1-b538-d3d3c0ddc827', 'command': 'deleteKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'3PDHQ9za362ISw7j8A/usyAWXOI='}
2026-10-09 19:47:13,636 - DEBUG - ========Sending GET Cmd : deleteKubernetesSupportedVersion=======
2026-10-09 19:47:13,679 - DEBUG - === Jobid: 234c4a75-9a68-4e4e-90fc-1943e3f3914a Started ===
2026-10-09 19:47:13,679 - DEBUG - Payload: {'jobid': '234c4a75-9a68-4e4e-90fc-1943e3f3914a', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'eFLop5jTHHYGhjKjlBRLdfRINtE='}
2026-10-09 19:47:13,679 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-09 19:47:13,717 - 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.kubernetes.version.DeleteKubernetesSupportedVersionCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : 'a4ee800f-a5d4-4d74-bbba-6f1148e2f85e', managementservername : 'pr147-n88-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-09T19:47:13+0000', jobid : '234c4a75-9a68-4e4e-90fc-1943e3f3914a', jobstatus : 0}
2026-10-09 19:47:14,719 - DEBUG - === JobId:234c4a75-9a68-4e4e-90fc-1943e3f3914a is Still Processing, Will TimeOut in:3599 ====
2026-10-09 19:47:14,719 - DEBUG - Payload: {'jobid': '234c4a75-9a68-4e4e-90fc-1943e3f3914a', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'eFLop5jTHHYGhjKjlBRLdfRINtE='}
2026-10-09 19:47:14,719 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-09 19:47:14,751 - 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.kubernetes.version.DeleteKubernetesSupportedVersionCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-09T19:47:13+0000', completed : '2026-10-09T19:47:14+0000', jobid : '234c4a75-9a68-4e4e-90fc-1943e3f3914a', jobstatus : 1}
2026-10-09 19:47:14,751 - DEBUG - ===Jobid:234c4a75-9a68-4e4e-90fc-1943e3f3914a ; StartTime:Fri Oct  9 19:47:13 2026 ; EndTime:Fri Oct  9 19:47:14 2026 ; TotalTime:-1===
2026-10-09 19:47:14,751 - 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.kubernetes.version.DeleteKubernetesSupportedVersionCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-09T19:47:13+0000', completed : '2026-10-09T19:47:14+0000', jobid : '234c4a75-9a68-4e4e-90fc-1943e3f3914a', jobstatus : 1}
2026-10-09 19:47:14,771 - DEBUG - TestCaseName: test_01_add_delete_kubernetes_supported_version; Time Taken: 61 Seconds; StartTime: Fri Oct  9 19:46:13 2026; EndTime: Fri Oct  9 19:47:14 2026; Result: SUCCESS
2026-10-09 19:47:14,772 - DEBUG - ::::::::::::STARTED : TC: test_02_add_unsupported_kubernetes_supported_version :::::::::::
2026-10-09 19:47:14,775 - DEBUG - Payload: {'mincpunumber': 2, 'minmemory': 2048, 'name': 'v1.1.1-H4P644', 'semanticversion': '1.1.1', 'url': 'http://10.0.3.122/cks/setup-1.28.4.iso', 'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'addKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'CflQu3ae9UT1aMenp1stB5VAwYI='}
2026-10-09 19:47:14,775 - DEBUG - ========Sending GET Cmd : addKubernetesSupportedVersion=======
2026-10-09 19:47:14,807 - 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-09 19:47:14,807 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.addKubernetesSupportedVersion.addKubernetesSupportedVersionCmd object at 0x7fbc297f9c70> 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-09 19:47:14,807 - 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-09 19:47:14,808 - DEBUG - TestCaseName: test_02_add_unsupported_kubernetes_supported_version; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:47:14 2026; EndTime: Fri Oct  9 19:47:14 2026; Result: SUCCESS
2026-10-09 19:47:14,808 - DEBUG - ::::::::::::STARTED : TC: test_03_add_invalid_kubernetes_supported_version :::::::::::
2026-10-09 19:47:14,810 - DEBUG - Payload: {'mincpunumber': 2, 'minmemory': 2048, 'name': 'vinvalid-GX9AQ6', 'semanticversion': 'invalid', 'url': 'http://10.0.3.122/cks/setup-1.28.4.iso', 'zoneid': 'd0557c3a-5a34-498b-8271-5d5ae55dd07b', 'command': 'addKubernetesSupportedVersion', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'5Mm9EJShm+9bCoahUVa3u5zKxr4='}
2026-10-09 19:47:14,810 - DEBUG - ========Sending GET Cmd : addKubernetesSupportedVersion=======
2026-10-09 19:47:14,843 - 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-09 19:47:14,843 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.addKubernetesSupportedVersion.addKubernetesSupportedVersionCmd object at 0x7fbc297f9fd0> 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-09 19:47:14,843 - 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-09 19:47:14,844 - DEBUG - TestCaseName: test_03_add_invalid_kubernetes_supported_version; Time Taken: 0 Seconds; StartTime: Fri Oct  9 19:47:14 2026; EndTime: Fri Oct  9 19:47:14 2026; Result: SUCCESS
