2022-02-16 15:26:14,538 DEBUG 23:basic_vm.py(1) - BasicVm init started 2022-02-16 15:26:14,554 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:26:14,555 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:26:14,555 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:26:14,555 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2022-02-16 15:26:14,556 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:26:14,556 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2022-02-16 15:26:14,556 INFO 169:run_tests.py(1) - Running test case 'basic_vm'... 2022-02-16 15:26:14,558 DEBUG 33:basic_vm.py(1) - start time 2022-02-16 15:26:14,558 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:26:14,558 INFO 176:base.py(1) - START [SO] YamlTemplateVfModuleAlaCarteInstantiateStep: Instantiate VF module described in YAML using SO a'la carte method. 2022-02-16 15:26:14,559 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:26:14,559 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:26:14,559 INFO 176:base.py(1) - START [SO] YamlTemplateVnfAlaCarteInstantiateStep: Instantiate vnf described in YAML using SO a'la carte method. 2022-02-16 15:26:14,560 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:26:14,560 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:26:14,560 INFO 176:base.py(1) - START [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-02-16 15:26:14,561 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:26:14,561 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:26:14,561 INFO 176:base.py(1) - START [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-02-16 15:26:14,561 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:26:14,562 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:26:14,562 INFO 176:base.py(1) - START [SDC] YamlTemplateVfOnboardStep: Onboard vf described in YAML file in SDC. 2022-02-16 15:26:14,562 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:26:14,563 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:26:14,563 INFO 176:base.py(1) - START [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC. 2022-02-16 15:26:14,563 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:26:14,563 INFO 175:base.py(1) - ***************************************************** 2022-02-16 15:26:14,564 INFO 176:base.py(1) - START [SDC] VendorOnboardStep: Onboard vendor in SDC. 2022-02-16 15:26:14,564 INFO 177:base.py(1) - ***************************************************** 2022-02-16 15:26:14,564 DEBUG 187:__init__.py(1) - check if Vendor basicvm_vendor exists in SDC 2022-02-16 15:26:14,565 INFO 157:__init__.py(1) - retrieving all objects of type Vendor from SDC 2022-02-16 15:26:14,565 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:26:14,565 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:26:14,566 DEBUG 132:onap_service.py(1) - [SDC][get Vendors] data sent: None 2022-02-16 15:26:14,569 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:26:14,743 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 379 2022-02-16 15:26:14,745 INFO 142:onap_service.py(1) - [SDC][get Vendors] response code: 200 2022-02-16 15:26:14,746 DEBUG 146:onap_service.py(1) - [SDC][get Vendors] response: {"results":[{"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":2} 2022-02-16 15:26:14,749 DEBUG 175:__init__.py(1) - number of Vendor returned: 2 2022-02-16 15:26:14,749 DEBUG 191:__init__.py(1) - filtering objects of all versions to be basicvm_vendor 2022-02-16 15:26:14,750 INFO 197:__init__.py(1) - Vendor basicvm_vendor doesn't exist in SDC 2022-02-16 15:26:14,750 INFO 312:__init__.py(1) - attempting to create Vendor basicvm_vendor in SDC 2022-02-16 15:26:14,750 DEBUG 187:__init__.py(1) - check if Vendor basicvm_vendor exists in SDC 2022-02-16 15:26:14,750 INFO 157:__init__.py(1) - retrieving all objects of type Vendor from SDC 2022-02-16 15:26:14,751 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:26:14,751 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:26:14,752 DEBUG 132:onap_service.py(1) - [SDC][get Vendors] data sent: None 2022-02-16 15:26:14,754 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:26:14,835 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 379 2022-02-16 15:26:14,836 INFO 142:onap_service.py(1) - [SDC][get Vendors] response code: 200 2022-02-16 15:26:14,836 DEBUG 146:onap_service.py(1) - [SDC][get Vendors] response: {"results":[{"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":2} 2022-02-16 15:26:14,838 DEBUG 175:__init__.py(1) - number of Vendor returned: 2 2022-02-16 15:26:14,838 DEBUG 191:__init__.py(1) - filtering objects of all versions to be basicvm_vendor 2022-02-16 15:26:14,838 INFO 197:__init__.py(1) - Vendor basicvm_vendor doesn't exist in SDC 2022-02-16 15:26:14,854 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:26:14,854 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:26:14,855 DEBUG 132:onap_service.py(1) - [SDC][create Vendor] data sent: { "iconRef": "icon", "vendorName": "basicvm_vendor", "description": "vendor" } 2022-02-16 15:26:14,856 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:26:15,672 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:26:15,674 INFO 142:onap_service.py(1) - [SDC][create Vendor] response code: 200 2022-02-16 15:26:15,674 DEBUG 146:onap_service.py(1) - [SDC][create Vendor] response: {"itemId":"720182219d974b8ab1c953e8b381c0e4","version":{"id":"a7ad652313704b09b5df4bd40ecac724","name":"1.0","description":"Initial version","status":"Draft"}} 2022-02-16 15:26:15,676 INFO 330:__init__.py(1) - Vendor basicvm_vendor is created in SDC 2022-02-16 15:26:15,676 INFO 53:vendor.py(1) - attempting to certify/sumbit vendor basicvm_vendor in SDC 2022-02-16 15:26:15,680 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:26:15,681 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/720182219d974b8ab1c953e8b381c0e4/versions/a7ad652313704b09b5df4bd40ecac724/actions 2022-02-16 15:26:15,681 DEBUG 132:onap_service.py(1) - [SDC][Submit Vendor] data sent: { "action": "Submit" } 2022-02-16 15:26:15,682 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.fe.simpledemo.onap.org:30207 2022-02-16 15:26:15,854 DEBUG 433:connectionpool.py(1) - https://sdc.api.fe.simpledemo.onap.org:30207 "PUT /sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/720182219d974b8ab1c953e8b381c0e4/versions/a7ad652313704b09b5df4bd40ecac724/actions HTTP/1.1" 200 2 2022-02-16 15:26:15,855 INFO 142:onap_service.py(1) - [SDC][Submit Vendor] response code: 200 2022-02-16 15:26:15,855 DEBUG 146:onap_service.py(1) - [SDC][Submit Vendor] response: {} 2022-02-16 15:26:15,857 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:26:15,857 INFO 200:base.py(1) - STOP [SDC] VendorOnboardStep: Onboard vendor in SDC. 2022-02-16 15:26:15,858 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:26:15,858 INFO 227:base.py(1) - ***************************************************** 2022-02-16 15:26:15,858 INFO 228:base.py(1) - CONTINUE [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC. 2022-02-16 15:26:15,858 INFO 229:base.py(1) - ***************************************************** 2022-02-16 15:26:15,868 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:26:15,868 INFO 200:base.py(1) - STOP [SDC] YamlTemplateVspOnboardStep: Onboard vsp described in YAML file in SDC. 2022-02-16 15:26:15,868 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:26:15,868 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:26:15,868 INFO 200:base.py(1) - STOP [SDC] YamlTemplateVfOnboardStep: Onboard vf described in YAML file in SDC. 2022-02-16 15:26:15,868 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:26:15,868 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:26:15,868 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:26:15,868 INFO 200:base.py(1) - STOP [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-02-16 15:26:15,869 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:26:15,869 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:26:15,869 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:26:15,869 INFO 200:base.py(1) - STOP [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-02-16 15:26:15,869 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:26:15,869 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:26:15,869 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:26:15,869 INFO 200:base.py(1) - STOP [SO] YamlTemplateVnfAlaCarteInstantiateStep: Instantiate vnf described in YAML using SO a'la carte method. 2022-02-16 15:26:15,869 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:26:15,869 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:26:15,869 INFO 199:base.py(1) - ***************************************************** 2022-02-16 15:26:15,870 INFO 200:base.py(1) - STOP [SO] YamlTemplateVfModuleAlaCarteInstantiateStep: Instantiate VF module described in YAML using SO a'la carte method. 2022-02-16 15:26:15,870 INFO 201:base.py(1) - ***************************************************** 2022-02-16 15:26:15,870 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:26:15,870 ERROR 188:run_tests.py(1) - Please fix the testcase basic_vm. 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_vm.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/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/ubuntu20/ubuntu20agent.zip' 2022-02-16 15:26:15,872 ERROR 253:run_tests.py(1) - The test case 'basic_vm' failed. 2022-02-16 15:26:15,872 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR