Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
Istanbul Release
-
daily with master xtesting dockers
Description
The cds_resource_resolution test has been integrated in pythonsdk_tests
first test on a daily env lead to a failure
2021-10-22 13:26:13,906 INFO 142:onap_service.py(11) - [None][Publish CDS data dictionary] response code: 200
2021-10-22 13:26:13,908 DEBUG 146:onap_service.py(11) - [None][Publish CDS data dictionary] response: {"name":"RT-rest-get","dataType":"string","entrySchema":null,"resourceDictionaryGroup":"default","definition":{"tags":"RT-rest-get","name":"RT-rest-get","property":
,"group":"default","updated-by":"Selfish","sources":{"sdnc":{"description":null,"type":"source-rest","metadata":null,"directives":null,"properties":{"type":"string","verb":"GET","url-path":"/get","endpoint-selector":"rest-endpoint","path":"","input-key-mapping":{},"output-key-mapping":{"value":"value"}},"attributes":null,"capabilities":null,"requirements":null,"interfaces":null,"artifacts":null,"copy":null,"node_filter":null}}},"description":"Rest GET request for regression test","tags":"RT-rest-get","creationDate":"2021-10-22T13:26:13.898Z","updatedBy":"Selfish"}
2021-10-22 13:26:13,909 DEBUG 129:onap_service.py(11) - [None][Enrich CDS blueprint] sent header: {}
2021-10-22 13:26:13,909 DEBUG 131:onap_service.py(11) - [None][Enrich CDS blueprint] url used: http://portal.api.simpledemo.onap.org:30449/api/v1/blueprint-model/enrich
2021-10-22 13:26:13,910 DEBUG 132:onap_service.py(11) - [None][Enrich CDS blueprint] data sent: None
2021-10-22 13:26:14,355 INFO 142:onap_service.py(11) - [None][Enrich CDS blueprint] response code: 200
2021-10-22 13:26:14,355 DEBUG 146:onap_service.py(11) - [None][Enrich CDS blueprint] response: n/a
2021-10-22 13:26:14,357 DEBUG 129:onap_service.py(11) - [None][Publish CDS blueprint] sent header: {}
2021-10-22 13:26:14,358 DEBUG 131:onap_service.py(11) - [None][Publish CDS blueprint] url used: http://portal.api.simpledemo.onap.org:30449/api/v1/blueprint-model/publish
2021-10-22 13:26:14,358 DEBUG 132:onap_service.py(11) - [None][Publish CDS blueprint] data sent: None
2021-10-22 13:26:14,552 INFO 142:onap_service.py(11) - [None][Publish CDS blueprint] response code: 200
2021-10-22 13:26:14,554 DEBUG 146:onap_service.py(11) - [None][Publish CDS blueprint] response: {"blueprintModel":{"id":"51b9a244-c2ca-4806-af92-2238c2bd312a","artifactUUId":null,"artifactType":"SDNC_MODEL","artifactVersion":"1.0.0","artifactDescription":"","internalVersion":null,"createdDate":"2021-10-22T13:26:14.000Z","artifactName":"RT-resource-resolution","published":"Y","updatedBy":"Selffish","tags":"test, regression"}}
2021-10-22 13:26:14,565 DEBUG 129:onap_service.py(11) - [None][Execute RT-resource-resolution blueprint resource-resolution workflow] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json'}
2021-10-22 13:26:14,565 DEBUG 131:onap_service.py(11) - [None][Execute RT-resource-resolution blueprint resource-resolution workflow] url used: http://portal.api.simpledemo.onap.org:30449/api/v1/execution-service/process
2021-10-22 13:26:14,565 DEBUG 132:onap_service.py(11) - [None][Execute RT-resource-resolution blueprint resource-resolution workflow] data sent: {"commonHeader":
, "actionIdentifiers": {"blueprintName": "RT-resource-resolution", "blueprintVersion": "1.0.0", "actionName": "resource-resolution", "mode": "SYNC"}, "payload": {"resource-resolution-request": {"template-prefix": ["helloworld-velocity", "helloworld-jinja"], "resolution-key": "regression-test", "resource-resolution-properties": {"v_input": "ok", "j_input": "ok"}}}}
2021-10-22 13:26:27,381 INFO 142:onap_service.py(11) - [None][Execute RT-resource-resolution blueprint resource-resolution workflow] response code: 200
2021-10-22 13:26:27,382 DEBUG 146:onap_service.py(11) - [None][Execute RT-resource-resolution blueprint resource-resolution workflow] response: {"commonHeader":
,"actionIdentifiers":{"blueprintName":"RT-resource-resolution","blueprintVersion":"1.0.0","actionName":"resource-resolution","mode":"SYNC"},"correlationUUID":null,"status":{"code":200,"eventType":"EVENT_COMPONENT_EXECUTED","timestamp":"2021-10-22T13:26:27.376Z","errorMessage":null,"message":"success"},"payload":{"resource-resolution-response":{"meshed-template":{"helloworld-velocity":"{\n \"default\": \"ok\",\n \"input\": \"ok\",\n \"script\": {\n \"python\": \"ok\",\n \"kotlin\": \"${v_kotlin}\"\n },\n \"db\": \"${v_db.get(0).value}\",\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\": \"${j_kotlin}\"\n \"from suspend function\": \"${from_suspend_function}\"\n }\n },\n \"db\": \"\",\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"}}}}
2021-10-22 13:26:27,382 ERROR 86:cds_resource_resolution.py(11) - Generic OnapTest exception
2021-10-22 13:26:27,383 - xtesting.ci.run_tests - INFO - Test result:
----------------------------------------------------------------------------------+
TEST CASE | PROJECT | DURATION | RESULT |
----------------------------------------------------------------------------------+
cds_resource_resolution | integration | 01:20 | FAIL |
Moreover in case of retry we got another error becasue Create Service error: Service "cds-regression-mockserver" is invalid: spec.ports[0].nodePort: Invalid value: 30726: provided port is already allocated (not cleaned at the end of the test)