2021-05-23 13:59:10,823 DEBUG 107:basic_vm_macro.py(1) - Basic VM macro init started 2021-05-23 13:59:10,824 WARNING 109:warnings.py(1) - /usr/lib/python3.8/site-packages/onaptests/steps/onboard/service.py:117: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. self._yaml_template: dict = load(yaml_template) 2021-05-23 13:59:10,838 WARNING 109:warnings.py(1) - /usr/lib/python3.8/site-packages/onaptests/steps/instantiate/service_macro.py:75: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. self._yaml_template: dict = load(yaml_template) 2021-05-23 13:59:10,852 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2021-05-23 13:59:10,852 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2021-05-23 13:59:10,852 DEBUG 219:extension.py(1) - found extension EntryPoint(name='bashfeature', value='xtesting.core.feature:BashFeature', group='xtesting.testcase') 2021-05-23 13:59:10,852 DEBUG 219:extension.py(1) - found extension EntryPoint(name='behaveframework', value='xtesting.core.behaveframework:BehaveFramework', group='xtesting.testcase') 2021-05-23 13:59:10,852 DEBUG 219:extension.py(1) - found extension EntryPoint(name='first', value='xtesting.samples.first:Test', group='xtesting.testcase') 2021-05-23 13:59:10,853 DEBUG 219:extension.py(1) - found extension EntryPoint(name='robotframework', value='xtesting.core.robotframework:RobotFramework', group='xtesting.testcase') 2021-05-23 13:59:10,853 DEBUG 219:extension.py(1) - found extension EntryPoint(name='second', value='xtesting.samples.second:Test', group='xtesting.testcase') 2021-05-23 13:59:10,853 DEBUG 219:extension.py(1) - found extension EntryPoint(name='unit', value='xtesting.core.unit:Suite', group='xtesting.testcase') 2021-05-23 13:59:10,853 INFO 169:run_tests.py(1) - Running test case 'basic_vm_macro'... 2021-05-23 13:59:10,889 DEBUG 230:rest.py(1) - response body: {"kind":"Service","apiVersion":"v1","metadata":{"name":"cds-blueprints-processor-http","namespace":"onap","selfLink":"/api/v1/namespaces/onap/services/cds-blueprints-processor-http","uid":"a443293b-ee43-403b-8d8f-06c082f273a3","resourceVersion":"66447","creationTimestamp":"2021-05-23T10:36:58Z","labels":{"app":"cds-blueprints-processor","app.kubernetes.io/managed-by":"Helm","chart":"cds-blueprints-processor-8.0.0","heritage":"Helm","release":"dev"},"annotations":{"meta.helm.sh/release-name":"dev-cds","meta.helm.sh/release-namespace":"onap"},"managedFields":[{"manager":"Go-http-client","operation":"Update","apiVersion":"v1","time":"2021-05-23T10:36:58Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:meta.helm.sh/release-name":{},"f:meta.helm.sh/release-namespace":{}},"f:labels":{".":{},"f:app":{},"f:app.kubernetes.io/managed-by":{},"f:chart":{},"f:heritage":{},"f:release":{}}},"f:spec":{"f:ports":{".":{},"k:{\"port\":8080,\"protocol\":\"TCP\"}":{".":{},"f:name":{},"f:port":{},"f:protocol":{},"f:targetPort":{}}},"f:selector":{".":{},"f:app":{},"f:release":{}},"f:sessionAffinity":{}}}},{"manager":"OpenAPI-Generator","operation":"Update","apiVersion":"v1","time":"2021-05-23T13:39:14Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:externalTrafficPolicy":{},"f:ports":{"k:{\"port\":8080,\"protocol\":\"TCP\"}":{"f:nodePort":{}}},"f:type":{}}}}]},"spec":{"ports":[{"name":"blueprints-processor-http","protocol":"TCP","port":8080,"targetPort":8080,"nodePort":30449}],"selector":{"app":"cds-blueprints-processor","release":"dev"},"clusterIP":"10.96.82.36","type":"NodePort","sessionAffinity":"None","externalTrafficPolicy":"Cluster","ipFamily":"IPv4"},"status":{"loadBalancer":{}}} 2021-05-23 13:59:10,902 DEBUG 103:onap_service.py(1) - [None][Bootstrap CDS blueprintprocessor] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json'} 2021-05-23 13:59:10,902 DEBUG 105:onap_service.py(1) - [None][Bootstrap CDS blueprintprocessor] url used: http://portal.api.simpledemo.onap.org:30449/api/v1/blueprint-model/bootstrap 2021-05-23 13:59:10,902 DEBUG 106:onap_service.py(1) - [None][Bootstrap CDS blueprintprocessor] data sent: { "loadModelType" : true, "loadResourceDictionary" : true, "loadCBA" : true } 2021-05-23 14:00:21,346 INFO 116:onap_service.py(1) - [None][Bootstrap CDS blueprintprocessor] response code: 200 2021-05-23 14:00:21,347 DEBUG 120:onap_service.py(1) - [None][Bootstrap CDS blueprintprocessor] response: 2021-05-23 14:00:21,353 DEBUG 196:data_dictionary.py(1) - Upload data dictionary 2021-05-23 14:00:21,353 DEBUG 88:data_dictionary.py(1) - Upload vsn_int_private2_ip_0 data dictionary 2021-05-23 14:00:21,354 DEBUG 103:onap_service.py(1) - [None][Publish CDS data dictionary] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json'} 2021-05-23 14:00:21,354 DEBUG 105:onap_service.py(1) - [None][Publish CDS data dictionary] url used: http://portal.api.simpledemo.onap.org:30449/api/v1/dictionary 2021-05-23 14:00:21,354 DEBUG 106:onap_service.py(1) - [None][Publish CDS data dictionary] data sent: {"data_type": "string", "definition": {"name": "vsn_int_private2_ip_0", "property": {"description": "vsn_int_private2_ip_0", "type": "string"}, "sources": {"default": {"properties": {}, "type": "source-default"}, "input": {"type": "source-input"}, "sdnc": {"properties": {"input-key-mapping": {"service-instance-id": "service-instance-id", "vnf-id": "vnf-id"}, "key-dependencies": ["service-instance-id", "vnf-id"], "output-key-mapping": {"vsn_int_private2_ip_0": "value"}, "path": "/param/0/value", "type": "JSON", "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vsn_int_private2_ip_0", "verb": "GET"}, "type": "source-rest"}}, "tags": "vsn_int_private2_ip_0", "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>"}, "description": "vsn_int_private2_ip_0", "entry_schema": "string", "name": "vsn_int_private2_ip_0", "tags": "vsn_int_private2_ip_0", "updatedBy": "MALAKOV, YURIY <yuriy.malakov@att.com>"} 2021-05-23 14:00:27,534 INFO 116:onap_service.py(1) - [None][Publish CDS data dictionary] response code: 200 2021-05-23 14:00:27,535 DEBUG 120:onap_service.py(1) - [None][Publish CDS data dictionary] response: {"name":"vsn_int_private2_ip_0","dataType":"string","entrySchema":null,"resourceDictionaryGroup":"default","definition":{"tags":"vsn_int_private2_ip_0","name":"vsn_int_private2_ip_0","property":{"description":"vsn_int_private2_ip_0","required":null,"type":"string","status":null,"constraints":null,"metadata":null,"value":null,"input-param":null,"default":null,"entry_schema":null,"external-schema":null},"group":"default","updated-by":"MALAKOV, YURIY <yuriy.malakov@att.com>","sources":{"default":{"description":null,"type":"source-default","metadata":null,"directives":null,"properties":{},"attributes":null,"capabilities":null,"requirements":null,"interfaces":null,"artifacts":null,"copy":null,"node_filter":null},"input":{"description":null,"type":"source-input","metadata":null,"directives":null,"properties":null,"attributes":null,"capabilities":null,"requirements":null,"interfaces":null,"artifacts":null,"copy":null,"node_filter":null},"sdnc":{"description":null,"type":"source-rest","metadata":null,"directives":null,"properties":{"input-key-mapping":{"service-instance-id":"service-instance-id","vnf-id":"vnf-id"},"key-dependencies":["service-instance-id","vnf-id"],"output-key-mapping":{"vsn_int_private2_ip_0":"value"},"path":"/param/0/value","type":"JSON","url-path":"/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vsn_int_private2_ip_0","verb":"GET"},"attributes":null,"capabilities":null,"requirements":null,"interfaces":null,"artifacts":null,"copy":null,"node_filter":null}}},"description":"vsn_int_private2_ip_0","tags":"vsn_int_private2_ip_0","creationDate":"2021-05-23T14:00:24.273Z","updatedBy":"MALAKOV, YURIY <yuriy.malakov@att.com>"} 2021-05-23 14:00:27,535 DEBUG 88:data_dictionary.py(1) - Upload public_net_id data dictionary 2021-05-23 14:00:27,536 DEBUG 103:onap_service.py(1) - [None][Publish CDS data dictionary] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json'} 2021-05-23 14:00:27,536 DEBUG 105:onap_service.py(1) - [None][Publish CDS data dictionary] url used: http://portal.api.simpledemo.onap.org:30449/api/v1/dictionary 2021-05-23 14:00:27,536 DEBUG 106:onap_service.py(1) - [None][Publish CDS data dictionary] data sent: {"data_type": "string", "definition": {"name": "public_net_id", "property": {"description": "public_net_id", "type": "string"}, "sources": {"default": {"properties": {}, "type": "source-default"}, "input": {"type": "source-input"}, "sdnc": {"properties": {"input-key-mapping": {"service-instance-id": "service-instance-id", "vnf-id": "vnf-id"}, "key-dependencies": ["service-instance-id", "vnf-id"], "output-key-mapping": {"public_net_id": "value"}, "path": "/param/0/value", "type": "JSON", "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/public_net_id", "verb": "GET"}, "type": "source-rest"}}, "tags": "public_net_id", "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>"}, "description": "public_net_id", "entry_schema": "string", "name": "public_net_id", "tags": "public_net_id", "updatedBy": "MALAKOV, YURIY <yuriy.malakov@att.com>"} 2021-05-23 14:00:29,943 INFO 116:onap_service.py(1) - [None][Publish CDS data dictionary] response code: 500 2021-05-23 14:00:29,943 DEBUG 120:onap_service.py(1) - [None][Publish CDS data dictionary] response: {"code":500,"status":"GENERIC_FAILURE","timestamp":"2021-05-23T14:00:29.926Z","message":"Unable to acquire JDBC Connection; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to acquire JDBC Connection","debugMessage":"","logLevel":"ERROR","subErrors":[]} 2021-05-23 14:00:29,944 ERROR 129:onap_service.py(1) - [None][Publish CDS data dictionary] API returned and error: {'Content-Type': 'application/json', 'Accept': 'application/json'} 2021-05-23 14:00:29,944 ERROR 190:base.py(1) - No execution start time saved for CbaEnrichStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-05-23 14:00:29,945 ERROR 190:base.py(1) - No execution start time saved for CbaPublishStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-05-23 14:00:29,945 ERROR 119:basic_vm_macro.py(1) - Generic OnapTest exception 2021-05-23 14:00:29,945 INFO 176:run_tests.py(1) - Test result: +------------------------+---------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +------------------------+---------------------+------------------+----------------+ | basic_vm_macro | integration | 01:19 | FAIL | +------------------------+---------------------+------------------+----------------+ 2021-05-23 14:00:30,407 INFO 246:testcase.py(1) - The results were successfully pushed to DB: http://testresults.opnfv.org/onap/api/v1/results/60aa5ffe6c44f5001011fae1 2021-05-23 14:00:30,407 ERROR 253:run_tests.py(1) - The test case 'basic_vm_macro' failed. 2021-05-23 14:00:30,408 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR