2022-02-16 15:27:51,650 DEBUG 23:basic_cnf.py(1) - BasicCnf init started 2022-02-16 15:27:51,655 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_cnf_macro', value='onaptests.scenario.basic_cnf_macro:BasicCnfMacro', group='xtesting.testcase') 2022-02-16 15:27:51,655 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_network', value='onaptests.scenario.basic_network:BasicNetwork', group='xtesting.testcase') 2022-02-16 15:27:51,655 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_onboard', value='onaptests.scenario.basic_onboard:BasicOnboard', group='xtesting.testcase') 2022-02-16 15:27:51,655 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm', value='onaptests.scenario.basic_vm:BasicVm', group='xtesting.testcase') 2022-02-16 15:27:51,655 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro', value='onaptests.scenario.basic_vm_macro:BasicVmMacro', group='xtesting.testcase') 2022-02-16 15:27:51,655 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro_stability', value='onaptests.scenario.basic_vm_macro_stability:BasicVmMacroStability', group='xtesting.testcase') 2022-02-16 15:27:51,656 DEBUG 219:extension.py(1) - found extension EntryPoint(name='cds_resource_resolution', value='onaptests.scenario.cds_resource_resolution:CDSResourceResolution', group='xtesting.testcase') 2022-02-16 15:27:51,656 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2022-02-16 15:27:51,656 DEBUG 219:extension.py(1) - found extension EntryPoint(name='multi_vnf_ubuntu_macro', value='onaptests.scenario.multi_vnf_macro:MultiVnfUbuntuMacro', group='xtesting.testcase') 2022-02-16 15:27:51,656 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2022-02-16 15:27:51,656 INFO 169:run_tests.py(1) - Running test case 'basic_cnf'... 2022-02-16 15:27:51,657 DEBUG 33:basic_cnf.py(1) - start time 2022-02-16 15:27:51,658 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,658 INFO 176:base.py(1) - START [SO] YamlTemplateVfModuleAlaCarteInstantiateStep: Instantiate VF module described in YAML using SO a'la carte method. 2022-02-16 15:27:51,658 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,658 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,658 INFO 176:base.py(1) - START [K8S plugin] K8SProfileStep: Create K8S profile. 2022-02-16 15:27:51,659 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,659 INFO 116:k8s_profile_create.py(1) - Create the k8s profile if it doesn't exist 2022-02-16 15:27:51,659 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,659 INFO 176:base.py(1) - START [SO] YamlTemplateVnfAlaCarteInstantiateStep: Instantiate vnf described in YAML using SO a'la carte method. 2022-02-16 15:27:51,660 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,660 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,660 INFO 176:base.py(1) - START [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-02-16 15:27:51,660 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,661 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,661 INFO 176:base.py(1) - START [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-02-16 15:27:51,661 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,661 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,661 INFO 176:base.py(1) - START [SDC] YamlTemplateVfOnboardStep: Onboard vf described in YAML file in SDC. 2022-02-16 15:27:51,662 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,662 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,662 INFO 176:base.py(1) - START [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC. 2022-02-16 15:27:51,662 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,663 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:27:51,663 INFO 176:base.py(1) - START [SDC] VendorOnboardStep: Onboard vendor in SDC. 2022-02-16 15:27:51,663 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:27:51,663 DEBUG 187:__init__.py(1) - check if Vendor basicnf_vendor exists in SDC 2022-02-16 15:27:51,663 INFO 157:__init__.py(1) - retrieving all objects of type Vendor from SDC 2022-02-16 15:27:51,664 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'} 2022-02-16 15:27:51,664 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 2022-02-16 15:27:51,665 DEBUG 132:onap_service.py(1) - [SDC][get Vendors] data sent: None 2022-02-16 15:27:51,668 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:27:51,757 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" 200 691 2022-02-16 15:27:51,758 INFO 142:onap_service.py(1) - [SDC][get Vendors] response code: 200 2022-02-16 15:27:51,759 DEBUG 146:onap_service.py(1) - [SDC][get Vendors] response: {"results":[{"id":"826ad5ed31a44b7fab7c8de0951c3b6e","type":"vlm","name":"basic_onboard_vendor","description":"vendor","owner":"cs0008","status":"ACTIVE","properties":{}},{"id":"720182219d974b8ab1c953e8b381c0e4","type":"vlm","name":"basicvm_vendor","description":"vendor","owner":"cs0008","status":"ACTIVE","properties":{}},{"id":"b8755c12876544e29de205f013de467e","type":"vlm","name":"ea413fc3-e58e-4b1b-b293","description":"vendor license model","owner":"cs0008","status":"ACTIVE","properties":{}},{"id":"8d9fe3403f9f47d49ccf3515abb2bb2b","type":"vlm","name":"32d4ea5e-ae22-4f54-900d","description":"vendor license model","owner":"cs0008","status":"ACTIVE","properties":{}}],"listCount":4} 2022-02-16 15:27:51,761 DEBUG 175:__init__.py(1) - number of Vendor returned: 4 2022-02-16 15:27:51,761 DEBUG 191:__init__.py(1) - filtering objects of all versions to be basicnf_vendor 2022-02-16 15:27:51,761 INFO 197:__init__.py(1) - Vendor basicnf_vendor doesn't exist in SDC 2022-02-16 15:27:51,761 INFO 312:__init__.py(1) - attempting to create Vendor basicnf_vendor in SDC 2022-02-16 15:27:51,761 DEBUG 187:__init__.py(1) - check if Vendor basicnf_vendor exists in SDC 2022-02-16 15:27:51,762 INFO 157:__init__.py(1) - retrieving all objects of type Vendor from SDC 2022-02-16 15:27:51,762 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'} 2022-02-16 15:27:51,762 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 2022-02-16 15:27:51,762 DEBUG 132:onap_service.py(1) - [SDC][get Vendors] data sent: None 2022-02-16 15:27:51,764 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:27:51,847 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" 200 691 2022-02-16 15:27:51,848 INFO 142:onap_service.py(1) - [SDC][get Vendors] response code: 200 2022-02-16 15:27:51,849 DEBUG 146:onap_service.py(1) - [SDC][get Vendors] response: {"results":[{"id":"826ad5ed31a44b7fab7c8de0951c3b6e","type":"vlm","name":"basic_onboard_vendor","description":"vendor","owner":"cs0008","status":"ACTIVE","properties":{}},{"id":"720182219d974b8ab1c953e8b381c0e4","type":"vlm","name":"basicvm_vendor","description":"vendor","owner":"cs0008","status":"ACTIVE","properties":{}},{"id":"b8755c12876544e29de205f013de467e","type":"vlm","name":"ea413fc3-e58e-4b1b-b293","description":"vendor license model","owner":"cs0008","status":"ACTIVE","properties":{}},{"id":"8d9fe3403f9f47d49ccf3515abb2bb2b","type":"vlm","name":"32d4ea5e-ae22-4f54-900d","description":"vendor license model","owner":"cs0008","status":"ACTIVE","properties":{}}],"listCount":4} 2022-02-16 15:27:51,851 DEBUG 175:__init__.py(1) - number of Vendor returned: 4 2022-02-16 15:27:51,851 DEBUG 191:__init__.py(1) - filtering objects of all versions to be basicnf_vendor 2022-02-16 15:27:51,851 INFO 197:__init__.py(1) - Vendor basicnf_vendor doesn't exist in SDC 2022-02-16 15:27:51,867 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'} 2022-02-16 15:27:51,868 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 2022-02-16 15:27:51,868 DEBUG 132:onap_service.py(1) - [SDC][create Vendor] data sent: { "iconRef": "icon", "vendorName": "basicnf_vendor", "description": "vendor" } 2022-02-16 15:27:51,869 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:27:52,899 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" 200 159 2022-02-16 15:27:52,900 INFO 142:onap_service.py(1) - [SDC][create Vendor] response code: 200 2022-02-16 15:27:52,901 DEBUG 146:onap_service.py(1) - [SDC][create Vendor] response: {"itemId":"4b72974c11134a419d2c667f3cb5d817","version":{"id":"9206acae6988467f804de7c10f8b937b","name":"1.0","description":"Initial version","status":"Draft"}} 2022-02-16 15:27:52,903 INFO 330:__init__.py(1) - Vendor basicnf_vendor is created in SDC 2022-02-16 15:27:52,904 INFO 53:vendor.py(1) - attempting to certify/sumbit vendor basicnf_vendor in SDC 2022-02-16 15:27:52,907 DEBUG 129:onap_service.py(1) - [SDC][Submit Vendor] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2022-02-16 15:27:52,907 DEBUG 131:onap_service.py(1) - [SDC][Submit Vendor] url used: https://sdc.api.fe.simpledemo.onap.org:30207/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/4b72974c11134a419d2c667f3cb5d817/versions/9206acae6988467f804de7c10f8b937b/actions 2022-02-16 15:27:52,908 DEBUG 132:onap_service.py(1) - [SDC][Submit Vendor] data sent: { "action": "Submit" } 2022-02-16 15:27:52,909 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:27:53,118 DEBUG 433:connectionpool.py(1) - https://sdc.api.fe.simpledemo.onap.org:30207 "PUT /sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/4b72974c11134a419d2c667f3cb5d817/versions/9206acae6988467f804de7c10f8b937b/actions HTTP/1.1" 200 2 2022-02-16 15:27:53,119 INFO 142:onap_service.py(1) - [SDC][Submit Vendor] response code: 200 2022-02-16 15:27:53,119 DEBUG 146:onap_service.py(1) - [SDC][Submit Vendor] response: {} 2022-02-16 15:27:53,122 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,122 INFO 200:base.py(1) - STOP [SDC] VendorOnboardStep: Onboard vendor in SDC. 2022-02-16 15:27:53,123 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,123 INFO 227:base.py(1) - ***************************************************** 2022-02-16 15:27:53,123 INFO 228:base.py(1) - CONTINUE [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC. 2022-02-16 15:27:53,123 INFO 229:base.py(1) - ***************************************************** 2022-02-16 15:27:53,131 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,131 INFO 200:base.py(1) - STOP [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC. 2022-02-16 15:27:53,131 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,131 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,131 INFO 200:base.py(1) - STOP [SDC] YamlTemplateVfOnboardStep: Onboard vf described in YAML file in SDC. 2022-02-16 15:27:53,132 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,132 ERROR 204:base.py(1) - No execution start time saved for YamlTemplateVfOnboardStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2022-02-16 15:27:53,132 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,132 INFO 200:base.py(1) - STOP [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-02-16 15:27:53,133 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,133 ERROR 204:base.py(1) - No execution start time saved for YamlTemplateServiceOnboardStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2022-02-16 15:27:53,133 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,133 INFO 200:base.py(1) - STOP [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-02-16 15:27:53,133 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,134 ERROR 204:base.py(1) - No execution start time saved for YamlTemplateServiceAlaCarteInstantiateStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2022-02-16 15:27:53,134 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,134 INFO 200:base.py(1) - STOP [SO] YamlTemplateVnfAlaCarteInstantiateStep: Instantiate vnf described in YAML using SO a'la carte method. 2022-02-16 15:27:53,134 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,134 ERROR 204:base.py(1) - No execution start time saved for YamlTemplateVnfAlaCarteInstantiateStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2022-02-16 15:27:53,135 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,135 INFO 200:base.py(1) - STOP [K8S plugin] K8SProfileStep: Create K8S profile. 2022-02-16 15:27:53,135 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,135 ERROR 204:base.py(1) - No execution start time saved for K8SProfileStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2022-02-16 15:27:53,136 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:27:53,136 INFO 200:base.py(1) - STOP [SO] YamlTemplateVfModuleAlaCarteInstantiateStep: Instantiate VF module described in YAML using SO a'la carte method. 2022-02-16 15:27:53,136 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:27:53,137 ERROR 204:base.py(1) - No execution start time saved for YamlTemplateVfModuleAlaCarteInstantiateStep step. Fix it by call `super.execute()` in step class `execute()` method definition 2022-02-16 15:27:53,137 ERROR 188:run_tests.py(1) - Please fix the testcase basic_cnf. All exceptions should be caught by the testcase instead! 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/xtesting/ci/run_tests.py", line 174, in run_test test_case.run() File "/usr/lib/python3.8/site-packages/onaptests/scenario/basic_cnf.py", line 35, in run self.test.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/vf_module_ala_carte.py", line 130, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 223, 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/k8s_profile_create.py", line 117, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 223, 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/vnf_ala_carte.py", line 103, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 223, 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/service_ala_carte.py", line 188, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 223, 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/service.py", line 158, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 223, 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/vf.py", line 103, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 223, 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/vsp.py", line 108, in execute with open(get_resource_location(vnf["heat_files_to_upload"]), "rb") as package: FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.8/site-packages/onaptests/onaptests/templates/heat-files/basic_cnf/basic_cnf.zip' 2022-02-16 15:27:53,141 ERROR 253:run_tests.py(1) - The test case 'basic_cnf' failed. 2022-02-16 15:27:53,141 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR