2023-06-26 14:55:41,112 INFO 16:scenario_base.py(1) - Global Configuration: 2023-06-26 14:55:41,112 INFO 18:scenario_base.py(1) - AAI_API_VERSION: v27 2023-06-26 14:55:41,112 INFO 18:scenario_base.py(1) - AAI_AUTH: Basic QUFJOkFBSQ== 2023-06-26 14:55:41,112 INFO 18:scenario_base.py(1) - AAI_BULK_CHUNK: 30 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - AAI_GUI_SERVICE: https://aai.api.sparky.simpledemo.onap.org:30220/services/aai/webapp/index.html#/browse 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - AAI_GUI_URL: http://aai.api.sparky.simpledemo.onap.org:30220 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - AAI_URL: http://aai.api.sparky.simpledemo.onap.org:30233 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - CDS_AUTH: ('ccsdkapps', 'ccsdkapps') 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - CDS_GUI_SERVICE: http://portal.api.simpledemo.onap.org:30449/ 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - CDS_URL: http://portal.api.simpledemo.onap.org:30449 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - CLAMP_AUTH: Basic ZGVtb0BwZW9wbGUub3NhYWYub3JnOmRlbW8xMjM0NTYh 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - CLAMP_URL: http://clamp.api.simpledemo.onap.org:30258 2023-06-26 14:55:41,113 INFO 18:scenario_base.py(1) - CPS_AUTH: ('cpsuser', 'cpsr0cks!') 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - CPS_URL: http://portal.api.simpledemo.onap.org:8080 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - CPS_VERSION: v2 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - DCAEMOD_GUI_SERVICE: / 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - DCAEMOD_URL: 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - DEFAULT_REQUEST_TIMEOUT: 60 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - DMAAP_URL: http://dmaap.api.simpledemo.onap.org:3904 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - HOLMES_GUI_SERVICE: https://aai.api.sparky.simpledemo.onap.org:30293/iui/holmes/default.html 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - HOLMES_URL: http://aai.api.sparky.simpledemo.onap.org:30293 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - K8SPLUGIN_URL: http://portal.api.simpledemo.onap.org:30498 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - LOB: Onapsdk_lob 2023-06-26 14:55:41,114 INFO 18:scenario_base.py(1) - MSB_URL: http://msb.api.simpledemo.onap.org:30283 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - NBI_API_VERSION: /nbi/api/v4 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - NBI_URL: http://nbi.api.simpledemo.onap.org:30274 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - PLATFORM: Onapsdk_platform 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - POLICY_CLAMP_GUI_SERVICE: https://clamp.api.simpledemo.onap.org:30258/ 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - POLICY_GUI_SERVICE: /onap/login.html 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - POLICY_URL: 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - PROJECT: Onapsdk_project 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - SDC_AUTH: Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU= 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - SDC_BE_URL: http://sdc.api.be.simpledemo.onap.org:30204 2023-06-26 14:55:41,115 INFO 18:scenario_base.py(1) - SDC_FE_URL: http://sdc.api.fe.simpledemo.onap.org:30207 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SDC_GUI_SERVICE: https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/portal 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SDNC_AUTH: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ== 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SDNC_DG_GUI_SERVICE: https://sdnc.api.simpledemo.onap.org:30267/nifi/ 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SDNC_ODL_GUI_SERVICE: https://sdnc.api.simpledemo.onap.org:30267/odlux/index.html 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SDNC_URL: http://sdnc.api.simpledemo.onap.org:30267 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SO_API_VERSION: v7 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SO_AUTH: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA== 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SO_CATALOG_DB_ADAPTER_URL: http://so-catalog-db-adapter:8082 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SO_CAT_DB_AUTH: Basic YnBlbDpwYXNzd29yZDEk 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SO_MONITOR_GUI_SERVICE: http://so.api.simpledemo.onap.org:30277/ 2023-06-26 14:55:41,116 INFO 18:scenario_base.py(1) - SO_URL: http://so.api.simpledemo.onap.org:30277 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - VES_URL: http://ves.api.simpledemo.onap.org:30417 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - VID_API_VERSION: /vid 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - VID_URL: https://vid.api.simpledemo.onap.org:30200 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - CDS_CBA_ENRICHED: /tmp/resource-resolution-enriched.zip 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - CDS_CBA_UNENRICHED: /usr/lib/python3.8/site-packages/onaptests/templates/artifacts/cds-resource-resolution/resource-resolution.zip 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - CDS_DD_FILE: /usr/lib/python3.8/site-packages/onaptests/templates/artifacts/cds-resource-resolution/dd.json 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - CDS_MOCKSERVER_EXPECTATIONS: [{'method': 'GET', 'path': '/resource-resolution/get', 'response': '{"value": "A046E51D-44DC-43AE-BBA2-86FCA86C5265"}'}, {'method': 'GET', 'path': '/resource-resolution/get/A046E51D-44DC-43AE-BBA2-86FCA86C5265/id', 'response': '{"value": "74FE67C6-50F5-4557-B717-030D79903908"}'}, {'method': 'POST', 'path': '/resource-resolution/post', 'response': '{"value": "post:ok"}'}, {'method': 'PUT', 'path': '/resource-resolution/put', 'response': '{"value": "put:ok"}'}, {'method': 'PATCH', 'path': '/resource-resolution/patch', 'response': '{"value": "patch:ok"}'}, {'method': 'DELETE', 'path': '/resource-resolution/delete', 'response': '{"value": "delete:ok"}'}] 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - CDS_WORKFLOW_EXPECTED_OUTPUT: {'resource-resolution-response': {'meshed-template': {'helloworld-velocity': '{\n "default": "ok",\n "input": "ok",\n "script": {\n "python": "ok",\n "kotlin": "ok"\n },\n "db": "ok",\n "rest": {\n "GET": "A046E51D-44DC-43AE-BBA2-86FCA86C5265",\n "POST": "post:ok",\n "PUT": "put:ok",\n "PATCH": "patch:ok",\n "DELETE": "delete:ok"\n }\n}\n', 'helloworld-jinja': '{\n "default": "ok",\n "input": "ok",\n "script": {\n "python": "ok",\n "kotlin": {\n "base": "ok"\n "from suspend function": "ok"\n }\n },\n "db": "ok",\n "rest": {\n "GET": "A046E51D-44DC-43AE-BBA2-86FCA86C5265",\n "GET_ID": "74FE67C6-50F5-4557-B717-030D79903908",\n "POST": "post:ok",\n "PUT": "put:ok",\n "PATCH": "patch:ok",\n "DELETE": "delete:ok"\n }\n}\n'}}} 2023-06-26 14:55:41,117 INFO 18:scenario_base.py(1) - CDS_WORKFLOW_INPUT: {'template-prefix': ['helloworld-velocity', 'helloworld-jinja'], 'resolution-key': 'regression-test', 'resource-resolution-properties': {'v_input': 'ok', 'j_input': 'ok'}} 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - CDS_WORKFLOW_NAME: resource-resolution 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - CLEANUP_FLAG: True 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - CLOUD_OWNER_DEFINED_TYPE: N/A 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - CLOUD_REGION_CLOUD_OWNER: basicnf-owner 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - CLOUD_REGION_ID: k8sregion-cds 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - CLOUD_REGION_TYPE: k8s 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - CLOUD_REGION_VERSION: 1.0 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - COMPLEX_PHYSICAL_LOCATION_ID: sdktests 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - EXPOSE_SERVICES_NODE_PORTS: True 2023-06-26 14:55:41,118 INFO 18:scenario_base.py(1) - HTML_REPORTING_FILE_NAME: reporting.html 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - IN_CLUSTER: False 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - JSON_REPORTING_FILE_NAME: reporting.json 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - K8S_ADDITIONAL_RESOURCES_NAMESPACE: onap-tests 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - K8S_CONFIG: /usr/lib/python3.8/site-packages/onaptests/templates/artifacts/config 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - K8S_NAMESPACE: onap 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - K8S_ONAP_NAMESPACE: onap 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - K8S_REGION_TYPE: k8s 2023-06-26 14:55:41,119 INFO 18:scenario_base.py(1) - K8S_VERSION: 1.0 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - LOG_CONFIG: {'version': 1, 'disable_existing_loggers': False, 'formatters': {'default': {'class': 'logging.Formatter', 'format': '%(asctime)s %(levelname)s %(lineno)d:%(filename)s(%(process)d) - %(message)s'}}, 'handlers': {'console': {'level': 'INFO', 'class': 'logging.StreamHandler', 'formatter': 'default'}, 'file': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'formatter': 'default', 'filename': '/var/lib/xtesting/results/cds_resource_resolution/pythonsdk.debug.log', 'mode': 'w'}}, 'root': {'level': 'DEBUG', 'handlers': ['console', 'file']}} 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - MSB_K8S_DEFINITION_ATRIFACT_FILE_PATH: /usr/lib/python3.8/site-packages/onaptests/templates/artifacts/cds-resource-resolution/cds-mock-server.tar.gz 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - MSB_K8S_PROFILE_ARTIFACT_FILE_PATH: /usr/lib/python3.8/site-packages/onaptests/templates/artifacts/profile.tar.gz 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - MSB_K8S_PROFILE_NAME: cds-ms-prof-6e671863-84fd-4c73-9480-6d9fbbb7d807 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - MSB_K8S_RB_NAME: cds-ms-rb-e3656646-0de5-4c2b-baf2-44d09306f75d 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - MSB_K8S_RB_VERSION: v1 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - ORCHESTRATION_REQUEST_TIMEOUT: 1800.0 2023-06-26 14:55:41,120 INFO 18:scenario_base.py(1) - REPORTING_FILE_DIRECTORY: /var/lib/xtesting/results/cds_resource_resolution/ 2023-06-26 14:55:41,121 INFO 18:scenario_base.py(1) - REPORTING_FILE_PATH: /var/lib/xtesting/results/cds_resource_resolution/reporting.html 2023-06-26 14:55:41,121 INFO 18:scenario_base.py(1) - SDC_CLEANUP: False 2023-06-26 14:55:41,121 INFO 18:scenario_base.py(1) - SERVICE_DISTRIBUTION_NUMBER_OF_TRIES: 30 2023-06-26 14:55:41,121 INFO 18:scenario_base.py(1) - SERVICE_DISTRIBUTION_SLEEP_TIME: 60 2023-06-26 14:55:41,121 INFO 18:scenario_base.py(1) - SERVICE_NAME: CDS resource resolution 2023-06-26 14:55:41,121 INFO 18:scenario_base.py(1) - TILLER_HOST: localhost 2023-06-26 14:55:41,121 DEBUG 20:scenario_base.py(1) - cds_resource_resolution init started 2023-06-26 14:55:41,141 DEBUG 204:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2023-06-26 14:55:41,141 DEBUG 204:extension.py(1) - found extension EntryPoint(name='multi_vnf_ubuntu_macro', value='onaptests.scenario.multi_vnf_macro:MultiVnfUbuntuMacro', group='xtesting.testcase') 2023-06-26 14:55:41,142 DEBUG 204:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2023-06-26 14:55:41,142 DEBUG 204:extension.py(1) - found extension EntryPoint(name='status', value='onaptests.scenario.status:Status', group='xtesting.testcase') 2023-06-26 14:55:41,142 INFO 169:run_tests.py(1) - Running test case 'cds_resource_resolution'... 2023-06-26 14:55:41,142 DEBUG 76:cds_resource_resolution.py(1) - CDS resource resolution run 2023-06-26 14:55:41,142 INFO 175:base.py(1) - ***************************************************** 2023-06-26 14:55:41,142 INFO 176:base.py(1) - START [Environment] CdsMockserverCnfConfigureStep: Configure cds-mockserver. 2023-06-26 14:55:41,142 INFO 177:base.py(1) - ***************************************************** 2023-06-26 14:55:41,142 INFO 175:base.py(1) - ***************************************************** 2023-06-26 14:55:41,143 INFO 176:base.py(1) - START [K8S plugin] CreateInstanceStep: Create K8S instance. 2023-06-26 14:55:41,143 INFO 177:base.py(1) - ***************************************************** 2023-06-26 14:55:41,143 INFO 175:base.py(1) - ***************************************************** 2023-06-26 14:55:41,143 INFO 176:base.py(1) - START [K8S plugin] CreateProfileStep: Create K8S profile. 2023-06-26 14:55:41,143 INFO 177:base.py(1) - ***************************************************** 2023-06-26 14:55:41,143 INFO 175:base.py(1) - ***************************************************** 2023-06-26 14:55:41,143 INFO 176:base.py(1) - START [K8S plugin] CreateDefinitionStep: Create K8S definition. 2023-06-26 14:55:41,143 INFO 177:base.py(1) - ***************************************************** 2023-06-26 14:55:41,143 INFO 175:base.py(1) - ***************************************************** 2023-06-26 14:55:41,144 INFO 176:base.py(1) - START [AAI] CloudRegionCreateStep: Create cloud region. 2023-06-26 14:55:41,144 INFO 177:base.py(1) - ***************************************************** 2023-06-26 14:55:41,144 INFO 36:cloud_region_create.py(1) - *Check if cloud region exists * 2023-06-26 14:55:41,144 DEBUG 275:onap_service.py(1) - TIMEOUT: 60 2023-06-26 14:55:41,145 DEBUG 138:onap_service.py(1) - [AAI][get cloud regions] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json', 'x-fromappid': 'AAI', 'x-transactionid': '0a3f6713-ba96-4971-a6f8-c2da85a3176e', 'authorization': 'Basic QUFJOkFBSQ=='} 2023-06-26 14:55:41,145 DEBUG 140:onap_service.py(1) - [AAI][get cloud regions] url used: http://aai.api.sparky.simpledemo.onap.org:30233/aai/v27/cloud-infrastructure/cloud-regions?cloud-owner=basicnf-owner&cloud-region-id=k8sregion-cds 2023-06-26 14:55:41,145 DEBUG 141:onap_service.py(1) - [AAI][get cloud regions] data sent: None 2023-06-26 14:55:41,198 INFO 151:onap_service.py(1) - [AAI][get cloud regions] response code: 200 2023-06-26 14:55:41,198 DEBUG 155:onap_service.py(1) - [AAI][get cloud regions] response: {"cloud-region":[{"cloud-owner":"basicnf-owner","cloud-region-id":"k8sregion-cds","cloud-type":"k8s","owner-defined-type":"N/A","cloud-region-version":"1.0","identity-url":"","cloud-zone":"","complex-name":"sdktests","sriov-automation":"","cloud-extra-info":"","upgrade-cycle":"","resource-version":"1687789769773","orchestration-disabled":false,"in-maint":false}]} 2023-06-26 14:55:41,199 INFO 200:base.py(1) - ***************************************************** 2023-06-26 14:55:41,199 INFO 201:base.py(1) - STOP [AAI] CloudRegionCreateStep: Create cloud region. 2023-06-26 14:55:41,199 INFO 202:base.py(1) - ***************************************************** 2023-06-26 14:55:41,200 INFO 175:base.py(1) - ***************************************************** 2023-06-26 14:55:41,200 INFO 176:base.py(1) - START [K8S plugin] K8SConnectivityInfoStep: Create K8S connectivity info. 2023-06-26 14:55:41,200 INFO 177:base.py(1) - ***************************************************** 2023-06-26 14:55:41,200 INFO 36:k8s_connectivity_info_create.py(1) - Check if k8s connectivity information exists 2023-06-26 14:55:41,201 DEBUG 275:onap_service.py(1) - TIMEOUT: 60 2023-06-26 14:55:41,201 DEBUG 138:onap_service.py(1) - [None][Get Connectivity Info] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json'} 2023-06-26 14:55:41,202 DEBUG 140:onap_service.py(1) - [None][Get Connectivity Info] url used: http://portal.api.simpledemo.onap.org:30498/v1/connectivity-info/k8sregion-cds 2023-06-26 14:55:41,202 DEBUG 141:onap_service.py(1) - [None][Get Connectivity Info] data sent: None 2023-06-26 14:55:41,210 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=9, connect=9, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:55:41,816 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=8, connect=8, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:55:43,023 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=7, connect=7, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:55:45,428 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=6, connect=6, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:55:50,239 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=5, connect=5, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:55:59,854 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=4, connect=4, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:56:19,079 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=3, connect=3, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:56:57,517 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=2, connect=2, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 14:58:14,336 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=1, connect=1, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:14,440 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=0, connect=0, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:14,444 ERROR 181:onap_service.py(1) - [None][Get Connectivity Info] Failed to connect: HTTPConnectionPool(host='portal.api.simpledemo.onap.org', port=30498): Max retries exceeded with url: /v1/connectivity-info/k8sregion-cds (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2023-06-26 15:00:14,445 ERROR 244:onap_service.py(1) - [None][Get Connectivity Info] request failed: Can't connect to http://portal.api.simpledemo.onap.org:30498/v1/connectivity-info/k8sregion-cds. 2023-06-26 15:00:14,445 INFO 200:base.py(1) - ***************************************************** 2023-06-26 15:00:14,446 INFO 201:base.py(1) - STOP [K8S plugin] K8SConnectivityInfoStep: Create K8S connectivity info. 2023-06-26 15:00:14,446 INFO 202:base.py(1) - ***************************************************** 2023-06-26 15:00:14,447 INFO 200:base.py(1) - ***************************************************** 2023-06-26 15:00:14,447 INFO 201:base.py(1) - STOP [K8S plugin] CreateDefinitionStep: Create K8S definition. 2023-06-26 15:00:14,448 INFO 202:base.py(1) - ***************************************************** 2023-06-26 15:00:14,449 INFO 200:base.py(1) - ***************************************************** 2023-06-26 15:00:14,449 INFO 201:base.py(1) - STOP [K8S plugin] CreateProfileStep: Create K8S profile. 2023-06-26 15:00:14,450 INFO 202:base.py(1) - ***************************************************** 2023-06-26 15:00:14,450 INFO 200:base.py(1) - ***************************************************** 2023-06-26 15:00:14,451 INFO 201:base.py(1) - STOP [K8S plugin] CreateInstanceStep: Create K8S instance. 2023-06-26 15:00:14,452 INFO 202:base.py(1) - ***************************************************** 2023-06-26 15:00:14,452 INFO 200:base.py(1) - ***************************************************** 2023-06-26 15:00:14,452 INFO 201:base.py(1) - STOP [Environment] CdsMockserverCnfConfigureStep: Configure cds-mockserver. 2023-06-26 15:00:14,453 INFO 202:base.py(1) - ***************************************************** 2023-06-26 15:00:14,453 ERROR 84:cds_resource_resolution.py(1) - Generic OnapTest exception Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/xtesting/ci/run_tests.py", line 171, in run_test kwargs = run_dict['args'] KeyError: 'args' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 714, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 415, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 244, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.8/http/client.py", line 1256, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output self.send(msg) File "/usr/lib/python3.8/http/client.py", line 951, in send self.connect() File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 826, in urlopen return self.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 826, in urlopen return self.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 826, in urlopen return self.urlopen( [Previous line repeated 7 more times] File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 798, in urlopen retries = retries.increment( File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='portal.api.simpledemo.onap.org', port=30498): Max retries exceeded with url: /v1/connectivity-info/k8sregion-cds (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 144, in send_message response = session.request(method, File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='portal.api.simpledemo.onap.org', port=30498): Max retries exceeded with url: /v1/connectivity-info/k8sregion-cds (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 225, in execute step.execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 179, in wrapper ret = fun(self, *args, **kwargs) File "/usr/lib/python3.8/site-packages/onaptests/steps/cloud/k8s_connectivity_info_create.py", line 37, in execute ConnectivityInfo.get_connectivity_info_by_region_id( File "/usr/lib/python3.8/site-packages/onapsdk/k8s/connectivity_info.py", line 62, in get_connectivity_info_by_region_id connectivity_info: dict = cls.send_message_json( File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 249, in send_message_json raise exception File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 233, in send_message_json response = cls.send_message(method, action, url, **kwargs) File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 185, in send_message raise ConnectionFailed(msg) from cause onapsdk.exceptions.ConnectionFailed: Can't connect to http://portal.api.simpledemo.onap.org:30498/v1/connectivity-info/k8sregion-cds. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 225, in execute step.execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 179, in wrapper ret = fun(self, *args, **kwargs) File "/usr/lib/python3.8/site-packages/onaptests/steps/onboard/msb_k8s.py", line 38, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 227, in execute raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 225, in execute step.execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 179, in wrapper ret = fun(self, *args, **kwargs) File "/usr/lib/python3.8/site-packages/onaptests/steps/onboard/msb_k8s.py", line 71, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 227, in execute raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 225, in execute step.execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 179, in wrapper ret = fun(self, *args, **kwargs) File "/usr/lib/python3.8/site-packages/onaptests/steps/instantiate/msb_k8s.py", line 35, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 227, in execute raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 225, in execute step.execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 179, in wrapper ret = fun(self, *args, **kwargs) File "/usr/lib/python3.8/site-packages/onaptests/steps/simulator/cds_mockserver.py", line 43, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 227, in execute raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/scenario/cds_resource_resolution.py", line 81, in run test_phase() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 227, in execute raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException 2023-06-26 15:00:14,461 INFO 171:base.py(1) - ***************************************************** 2023-06-26 15:00:14,461 INFO 172:base.py(1) - START [K8S plugin] CreateInstanceStep cleanup: Create K8S instance. 2023-06-26 15:00:14,462 INFO 173:base.py(1) - ***************************************************** 2023-06-26 15:00:14,462 INFO 171:base.py(1) - ***************************************************** 2023-06-26 15:00:14,462 INFO 172:base.py(1) - START [K8S plugin] K8SConnectivityInfoStep cleanup: Create K8S connectivity info. 2023-06-26 15:00:14,462 INFO 173:base.py(1) - ***************************************************** 2023-06-26 15:00:14,463 INFO 63:k8s_connectivity_info_create.py(1) - Clean the k8s connectivity information 2023-06-26 15:00:14,463 DEBUG 275:onap_service.py(1) - TIMEOUT: 60 2023-06-26 15:00:14,463 DEBUG 138:onap_service.py(1) - [None][Get Connectivity Info] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json'} 2023-06-26 15:00:14,464 DEBUG 140:onap_service.py(1) - [None][Get Connectivity Info] url used: http://portal.api.simpledemo.onap.org:30498/v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:14,464 DEBUG 141:onap_service.py(1) - [None][Get Connectivity Info] data sent: None 2023-06-26 15:00:14,469 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=9, connect=9, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:15,074 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=8, connect=8, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:16,280 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=7, connect=7, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:18,687 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=6, connect=6, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:23,496 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=5, connect=5, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:33,109 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=4, connect=4, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:00:52,316 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=3, connect=3, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:01:30,754 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=2, connect=2, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:02:47,616 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=1, connect=1, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:04:47,720 WARNING 823:connectionpool.py(1) - Retrying (Retry(total=0, connect=0, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /v1/connectivity-info/k8sregion-cds 2023-06-26 15:04:47,724 ERROR 181:onap_service.py(1) - [None][Get Connectivity Info] Failed to connect: HTTPConnectionPool(host='portal.api.simpledemo.onap.org', port=30498): Max retries exceeded with url: /v1/connectivity-info/k8sregion-cds (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2023-06-26 15:04:47,725 ERROR 244:onap_service.py(1) - [None][Get Connectivity Info] request failed: Can't connect to http://portal.api.simpledemo.onap.org:30498/v1/connectivity-info/k8sregion-cds. 2023-06-26 15:04:47,725 INFO 190:base.py(1) - ***************************************************** 2023-06-26 15:04:47,725 INFO 191:base.py(1) - STOP [K8S plugin] K8SConnectivityInfoStep cleanup: Create K8S connectivity info. 2023-06-26 15:04:47,726 INFO 192:base.py(1) - ***************************************************** 2023-06-26 15:04:47,726 INFO 190:base.py(1) - ***************************************************** 2023-06-26 15:04:47,726 INFO 191:base.py(1) - STOP [K8S plugin] CreateInstanceStep cleanup: Create K8S instance. 2023-06-26 15:04:47,726 INFO 192:base.py(1) - ***************************************************** 2023-06-26 15:04:47,727 ERROR 84:cds_resource_resolution.py(1) - Generic OnapTest exception Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/xtesting/ci/run_tests.py", line 171, in run_test kwargs = run_dict['args'] KeyError: 'args' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection raise err File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 714, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 415, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 244, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.8/http/client.py", line 1256, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output self.send(msg) File "/usr/lib/python3.8/http/client.py", line 951, in send self.connect() File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 826, in urlopen return self.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 826, in urlopen return self.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 826, in urlopen return self.urlopen( [Previous line repeated 7 more times] File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 798, in urlopen retries = retries.increment( File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='portal.api.simpledemo.onap.org', port=30498): Max retries exceeded with url: /v1/connectivity-info/k8sregion-cds (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 144, in send_message response = session.request(method, File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='portal.api.simpledemo.onap.org', port=30498): Max retries exceeded with url: /v1/connectivity-info/k8sregion-cds (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 243, in cleanup step.cleanup() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 179, in wrapper ret = fun(self, *args, **kwargs) File "/usr/lib/python3.8/site-packages/onaptests/steps/cloud/k8s_connectivity_info_create.py", line 64, in cleanup connectinfo = ConnectivityInfo.get_connectivity_info_by_region_id( File "/usr/lib/python3.8/site-packages/onapsdk/k8s/connectivity_info.py", line 62, in get_connectivity_info_by_region_id connectivity_info: dict = cls.send_message_json( File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 249, in send_message_json raise exception File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 233, in send_message_json response = cls.send_message(method, action, url, **kwargs) File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 185, in send_message raise ConnectionFailed(msg) from cause onapsdk.exceptions.ConnectionFailed: Can't connect to http://portal.api.simpledemo.onap.org:30498/v1/connectivity-info/k8sregion-cds. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 243, in cleanup step.cleanup() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 245, in cleanup raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 243, in cleanup step.cleanup() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 245, in cleanup raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 243, in cleanup step.cleanup() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 179, in wrapper ret = fun(self, *args, **kwargs) File "/usr/lib/python3.8/site-packages/onaptests/steps/instantiate/msb_k8s.py", line 46, in cleanup return super().cleanup() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 245, in cleanup raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 243, in cleanup step.cleanup() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 245, in cleanup raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/scenario/cds_resource_resolution.py", line 81, in run test_phase() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 245, in cleanup raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException 2023-06-26 15:04:47,735 INFO 176:run_tests.py(1) - Test result: +---------------------------------+---------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +---------------------------------+---------------------+------------------+----------------+ | cds_resource_resolution | integration | 09:06 | FAIL | +---------------------------------+---------------------+------------------+----------------+ 2023-06-26 15:04:47,741 INFO 92:cds_resource_resolution.py(1) - Generate Test report 2023-06-26 15:04:48,169 INFO 246:testcase.py(1) - The results were successfully pushed to DB: http://testresults.opnfv.org/onap/api/v1/results/6499a9106c44f500103f8c56 2023-06-26 15:04:48,170 ERROR 253:run_tests.py(1) - The test case 'cds_resource_resolution' failed. 2023-06-26 15:04:48,170 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR