2021-07-29 17:22:07,189 DEBUG 23:basic_cnf.py(1) - BasicCnf init started 2021-07-29 17:22:07,190 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-07-29 17:22:07,196 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_network', value='onaptests.scenario.basic_network:BasicNetwork', group='xtesting.testcase') 2021-07-29 17:22:07,196 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_onboard', value='onaptests.scenario.basic_onboard:BasicOnboard', group='xtesting.testcase') 2021-07-29 17:22:07,197 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm', value='onaptests.scenario.basic_vm:BasicVm', group='xtesting.testcase') 2021-07-29 17:22:07,197 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro', value='onaptests.scenario.basic_vm_macro:BasicVmMacro', group='xtesting.testcase') 2021-07-29 17:22:07,197 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro_stability', value='onaptests.scenario.basic_vm_macro_stability:BasicVmMacroStability', group='xtesting.testcase') 2021-07-29 17:22:07,197 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2021-07-29 17:22:07,197 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2021-07-29 17:22:07,197 DEBUG 219:extension.py(1) - found extension EntryPoint(name='bashfeature', value='xtesting.core.feature:BashFeature', group='xtesting.testcase') 2021-07-29 17:22:07,197 DEBUG 219:extension.py(1) - found extension EntryPoint(name='behaveframework', value='xtesting.core.behaveframework:BehaveFramework', group='xtesting.testcase') 2021-07-29 17:22:07,198 DEBUG 219:extension.py(1) - found extension EntryPoint(name='first', value='xtesting.samples.first:Test', group='xtesting.testcase') 2021-07-29 17:22:07,198 DEBUG 219:extension.py(1) - found extension EntryPoint(name='robotframework', value='xtesting.core.robotframework:RobotFramework', group='xtesting.testcase') 2021-07-29 17:22:07,198 DEBUG 219:extension.py(1) - found extension EntryPoint(name='second', value='xtesting.samples.second:Test', group='xtesting.testcase') 2021-07-29 17:22:07,198 DEBUG 219:extension.py(1) - found extension EntryPoint(name='unit', value='xtesting.core.unit:Suite', group='xtesting.testcase') 2021-07-29 17:22:07,198 INFO 169:run_tests.py(1) - Running test case 'basic_cnf'... 2021-07-29 17:22:07,198 DEBUG 33:basic_cnf.py(1) - start time 2021-07-29 17:22:07,198 INFO 116:k8s_profile_create.py(1) - Create the k8s profile if it doesn't exist 2021-07-29 17:22:07,199 DEBUG 159:__init__.py(1) - check if Vendor basicnf_vendor exists in SDC 2021-07-29 17:22:07,199 INFO 129:__init__.py(1) - retrieving all objects of type Vendor from SDC 2021-07-29 17:22:07,199 DEBUG 129:onap_service.py(1) - [SDC][get Vendors] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2021-07-29 17:22:07,199 DEBUG 131:onap_service.py(1) - [SDC][get Vendors] url used: https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models 2021-07-29 17:22:07,199 DEBUG 132:onap_service.py(1) - [SDC][get Vendors] data sent: None 2021-07-29 17:22:07,202 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2021-07-29 17:22:08,266 DEBUG 433:connectionpool.py(1) - https://sdc.api.fe.simpledemo.onap.org:30207 "GET /sdc1/feProxy/onboarding-api/v1.0/vendor-license-models HTTP/1.1" 502 129 2021-07-29 17:22:08,268 INFO 142:onap_service.py(1) - [SDC][get Vendors] response code: 502 2021-07-29 17:22:08,268 DEBUG 146:onap_service.py(1) - [SDC][get Vendors] response: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" } 2021-07-29 17:22:08,268 ERROR 157:onap_service.py(1) - [SDC][get Vendors] API returned and error: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2021-07-29 17:22:08,268 ERROR 233:onap_service.py(1) - [SDC][get Vendors] request failed: Code: 502. Info: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" }. 2021-07-29 17:22:08,269 DEBUG 143:__init__.py(1) - Couldn't get Vendor: Code: 502. Info: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" }. 2021-07-29 17:22:08,269 DEBUG 147:__init__.py(1) - number of Vendor returned: 0 2021-07-29 17:22:08,269 DEBUG 163:__init__.py(1) - filtering objects of all versions to be basicnf_vendor 2021-07-29 17:22:08,269 INFO 169:__init__.py(1) - Vendor basicnf_vendor doesn't exist in SDC 2021-07-29 17:22:08,269 INFO 267:__init__.py(1) - attempting to create Vendor basicnf_vendor in SDC 2021-07-29 17:22:08,269 DEBUG 159:__init__.py(1) - check if Vendor basicnf_vendor exists in SDC 2021-07-29 17:22:08,269 INFO 129:__init__.py(1) - retrieving all objects of type Vendor from SDC 2021-07-29 17:22:08,270 DEBUG 129:onap_service.py(1) - [SDC][get Vendors] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2021-07-29 17:22:08,270 DEBUG 131:onap_service.py(1) - [SDC][get Vendors] url used: https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models 2021-07-29 17:22:08,270 DEBUG 132:onap_service.py(1) - [SDC][get Vendors] data sent: None 2021-07-29 17:22:08,271 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2021-07-29 17:22:09,322 DEBUG 433:connectionpool.py(1) - https://sdc.api.fe.simpledemo.onap.org:30207 "GET /sdc1/feProxy/onboarding-api/v1.0/vendor-license-models HTTP/1.1" 502 129 2021-07-29 17:22:09,323 INFO 142:onap_service.py(1) - [SDC][get Vendors] response code: 502 2021-07-29 17:22:09,324 DEBUG 146:onap_service.py(1) - [SDC][get Vendors] response: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" } 2021-07-29 17:22:09,324 ERROR 157:onap_service.py(1) - [SDC][get Vendors] API returned and error: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2021-07-29 17:22:09,324 ERROR 233:onap_service.py(1) - [SDC][get Vendors] request failed: Code: 502. Info: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" }. 2021-07-29 17:22:09,325 DEBUG 143:__init__.py(1) - Couldn't get Vendor: Code: 502. Info: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" }. 2021-07-29 17:22:09,325 DEBUG 147:__init__.py(1) - number of Vendor returned: 0 2021-07-29 17:22:09,325 DEBUG 163:__init__.py(1) - filtering objects of all versions to be basicnf_vendor 2021-07-29 17:22:09,325 INFO 169:__init__.py(1) - Vendor basicnf_vendor doesn't exist in SDC 2021-07-29 17:22:09,355 DEBUG 129:onap_service.py(1) - [SDC][create Vendor] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2021-07-29 17:22:09,355 DEBUG 131:onap_service.py(1) - [SDC][create Vendor] url used: https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models 2021-07-29 17:22:09,356 DEBUG 132:onap_service.py(1) - [SDC][create Vendor] data sent: { "iconRef": "icon", "vendorName": "basicnf_vendor", "description": "vendor" } 2021-07-29 17:22:09,358 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2021-07-29 17:22:10,413 DEBUG 433:connectionpool.py(1) - https://sdc.api.fe.simpledemo.onap.org:30207 "POST /sdc1/feProxy/onboarding-api/v1.0/vendor-license-models HTTP/1.1" 502 129 2021-07-29 17:22:10,415 INFO 142:onap_service.py(1) - [SDC][create Vendor] response code: 502 2021-07-29 17:22:10,416 DEBUG 146:onap_service.py(1) - [SDC][create Vendor] response: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" } 2021-07-29 17:22:10,416 ERROR 157:onap_service.py(1) - [SDC][create Vendor] API returned and error: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2021-07-29 17:22:10,417 ERROR 233:onap_service.py(1) - [SDC][create Vendor] request failed: Code: 502. Info: { "servlet":"FeProxy", "message":"Bad Gateway", "url":"/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", "status":"502" }. 2021-07-29 17:22:10,417 ERROR 280:__init__.py(1) - an error occured during creation of Vendor basicnf_vendor in SDC 2021-07-29 17:22:10,418 ERROR 190:base.py(1) - No execution start time saved for YamlTemplateVspOnboardStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-07-29 17:22:10,418 ERROR 190:base.py(1) - No execution start time saved for YamlTemplateVfOnboardStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-07-29 17:22:10,418 ERROR 190:base.py(1) - No execution start time saved for YamlTemplateServiceOnboardStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-07-29 17:22:10,419 ERROR 190:base.py(1) - No execution start time saved for YamlTemplateServiceAlaCarteInstantiateStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-07-29 17:22:10,419 ERROR 190:base.py(1) - No execution start time saved for YamlTemplateVnfAlaCarteInstantiateStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-07-29 17:22:10,419 ERROR 190:base.py(1) - No execution start time saved for K8SProfileStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-07-29 17:22:10,420 ERROR 190:base.py(1) - No execution start time saved for YamlTemplateVfModuleAlaCarteInstantiateStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2021-07-29 17:22:10,420 ERROR 48:basic_cnf.py(1) - Generic OnapTest exception 2021-07-29 17:22:10,420 INFO 176:run_tests.py(1) - Test result: +-------------------+---------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-------------------+---------------------+------------------+----------------+ | basic_cnf | integration | 00:03 | FAIL | +-------------------+---------------------+------------------+----------------+ 2021-07-29 17:22:10,430 INFO 57:basic_cnf.py(1) - Generate Test report 2021-07-29 17:22:10,536 DEBUG 226:connectionpool.py(1) - Starting new HTTP connection (1): 87.254.212.120:8080 2021-07-29 17:22:10,887 DEBUG 433:connectionpool.py(1) - http://87.254.212.120:8080 "POST http://testresults.opnfv.org/onap/api/v1/results HTTP/1.1" 200 73 2021-07-29 17:22:10,889 INFO 246:testcase.py(1) - The results were successfully pushed to DB: http://testresults.opnfv.org/onap/api/v1/results/6102e3c26c44f500102b1432 2021-07-29 17:22:10,890 ERROR 253:run_tests.py(1) - The test case 'basic_cnf' failed. 2021-07-29 17:22:10,891 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR