2022-05-24 11:50:42,122 DEBUG 24:basic_network.py(1) - BasicNetwork init started 2022-05-24 11:50:42,126 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_onboard', value='onaptests.scenario.basic_onboard:BasicOnboard', group='xtesting.testcase') 2022-05-24 11:50:42,127 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm', value='onaptests.scenario.basic_vm:BasicVm', group='xtesting.testcase') 2022-05-24 11:50:42,127 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro', value='onaptests.scenario.basic_vm_macro:BasicVmMacro', group='xtesting.testcase') 2022-05-24 11:50:42,127 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-05-24 11:50:42,127 DEBUG 219:extension.py(1) - found extension EntryPoint(name='cds_resource_resolution', value='onaptests.scenario.cds_resource_resolution:CDSResourceResolution', group='xtesting.testcase') 2022-05-24 11:50:42,127 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2022-05-24 11:50:42,127 DEBUG 219:extension.py(1) - found extension EntryPoint(name='multi_vnf_ubuntu_macro', value='onaptests.scenario.multi_vnf_macro:MultiVnfUbuntuMacro', group='xtesting.testcase') 2022-05-24 11:50:42,127 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2022-05-24 11:50:42,127 INFO 169:run_tests.py(1) - Running test case 'basic_network'... 2022-05-24 11:50:42,128 DEBUG 34:basic_network.py(1) - start time 2022-05-24 11:50:42,128 INFO 175:base.py(1) - ***************************************************** 2022-05-24 11:50:42,129 INFO 176:base.py(1) - START [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-05-24 11:50:42,129 INFO 177:base.py(1) - ***************************************************** 2022-05-24 11:50:42,129 INFO 175:base.py(1) - ***************************************************** 2022-05-24 11:50:42,129 INFO 176:base.py(1) - START [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-05-24 11:50:42,129 INFO 177:base.py(1) - ***************************************************** 2022-05-24 11:50:42,129 INFO 175:base.py(1) - ***************************************************** 2022-05-24 11:50:42,129 INFO 176:base.py(1) - START [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-05-24 11:50:42,129 INFO 177:base.py(1) - ***************************************************** 2022-05-24 11:50:42,133 DEBUG 187:__init__.py(1) - check if Service basic_network exists in SDC 2022-05-24 11:50:42,133 INFO 157:__init__.py(1) - retrieving all objects of type Service from SDC 2022-05-24 11:50:42,133 DEBUG 129:onap_service.py(1) - [SDC][get Services] sent header: {'Content-Type': 'application/json', 'Accept': 'application/json', 'USER_ID': 'cs0008', 'Authorization': 'Basic YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 'X-ECOMP-InstanceID': 'onapsdk'} 2022-05-24 11:50:42,134 DEBUG 131:onap_service.py(1) - [SDC][get Services] url used: https://sdc.api.be.simpledemo.onap.org:30204/sdc/v1/catalog/services 2022-05-24 11:50:42,134 DEBUG 132:onap_service.py(1) - [SDC][get Services] data sent: None 2022-05-24 11:50:42,136 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:50:42,138 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=9, connect=9, read=10, redirect=None, status=None) 2022-05-24 11:50:42,138 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=9, connect=9, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:50:42,139 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (2): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:50:42,140 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=8, connect=8, read=10, redirect=None, status=None) 2022-05-24 11:50:42,741 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=8, connect=8, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:50:42,742 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (3): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:50:42,744 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=7, connect=7, read=10, redirect=None, status=None) 2022-05-24 11:50:43,946 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=7, connect=7, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:50:43,947 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (4): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:50:43,949 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=6, connect=6, read=10, redirect=None, status=None) 2022-05-24 11:50:46,352 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=6, connect=6, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:50:46,353 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (5): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:50:46,355 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=5, connect=5, read=10, redirect=None, status=None) 2022-05-24 11:50:51,161 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=5, connect=5, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:50:51,162 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (6): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:50:51,163 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=4, connect=4, read=10, redirect=None, status=None) 2022-05-24 11:51:00,773 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=4, connect=4, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:51:00,774 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (7): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:51:00,776 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=3, connect=3, read=10, redirect=None, status=None) 2022-05-24 11:51:19,996 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=3, connect=3, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:51:19,997 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (8): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:51:19,999 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=2, connect=2, read=10, redirect=None, status=None) 2022-05-24 11:51:58,439 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=2, connect=2, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:51:58,442 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (9): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:51:58,444 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=1, connect=1, read=10, redirect=None, status=None) 2022-05-24 11:53:15,323 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=1, connect=1, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:53:15,325 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (10): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:53:15,328 DEBUG 448:retry.py(1) - Incremented Retry for (url='/sdc/v1/catalog/services'): Retry(total=0, connect=0, read=10, redirect=None, status=None) 2022-05-24 11:55:15,431 WARNING 751:connectionpool.py(1) - Retrying (Retry(total=0, connect=0, read=10, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /sdc/v1/catalog/services 2022-05-24 11:55:15,433 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (11): sdc.api.be.simpledemo.onap.org:30204 2022-05-24 11:55:15,438 ERROR 170:onap_service.py(1) - [SDC][get Services] Failed to connect: HTTPSConnectionPool(host='sdc.api.be.simpledemo.onap.org', port=30204): Max retries exceeded with url: /sdc/v1/catalog/services (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2022-05-24 11:55:15,438 ERROR 233:onap_service.py(1) - [SDC][get Services] request failed: Can't connect to https://sdc.api.be.simpledemo.onap.org:30204/sdc/v1/catalog/services. 2022-05-24 11:55:15,439 INFO 199:base.py(1) - ***************************************************** 2022-05-24 11:55:15,439 INFO 200:base.py(1) - STOP [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-05-24 11:55:15,439 INFO 201:base.py(1) - ***************************************************** 2022-05-24 11:55:15,439 INFO 199:base.py(1) - ***************************************************** 2022-05-24 11:55:15,440 INFO 200:base.py(1) - STOP [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-05-24 11:55:15,440 INFO 201:base.py(1) - ***************************************************** 2022-05-24 11:55:15,440 INFO 199:base.py(1) - ***************************************************** 2022-05-24 11:55:15,440 INFO 200:base.py(1) - STOP [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-05-24 11:55:15,440 INFO 201:base.py(1) - ***************************************************** 2022-05-24 11:55:15,441 ERROR 52:basic_network.py(1) - Generic OnapTest exception 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/urllib3/connection.py", line 159, in _new_conn conn = connection.create_connection( File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen httplib_response = self._make_request( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request self._validate_conn(conn) File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn conn.connect() File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 309, in connect conn = self._new_conn() File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen return self.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen return self.urlopen( File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 754, in urlopen return self.urlopen( [Previous line repeated 7 more times] File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen retries = retries.increment( File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 446, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sdc.api.be.simpledemo.onap.org', port=30204): Max retries exceeded with url: /sdc/v1/catalog/services (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 135, in send_message response = session.request(method, File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 530, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 643, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='sdc.api.be.simpledemo.onap.org', port=30204): Max retries exceeded with url: /sdc/v1/catalog/services (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: Traceback (most recent call last): 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 173, in execute if not service.created(): File "/usr/lib/python3.8/site-packages/onapsdk/sdc/__init__.py", line 294, in created return self.exists() File "/usr/lib/python3.8/site-packages/onapsdk/sdc/__init__.py", line 189, in exists objects = self.get_all() File "/usr/lib/python3.8/site-packages/onapsdk/sdc/__init__.py", line 164, in get_all cls.send_message_json('GET', "get {}s".format(cls.__name__), File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 238, in send_message_json raise exception File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 222, in send_message_json response = cls.send_message(method, action, url, **kwargs) File "/usr/lib/python3.8/site-packages/onapsdk/onap_service.py", line 174, in send_message raise ConnectionFailed(msg) from cause onapsdk.exceptions.ConnectionFailed: Can't connect to https://sdc.api.be.simpledemo.onap.org:30204/sdc/v1/catalog/services. The above exception was the direct cause of the following exception: Traceback (most recent call last): 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 225, in execute raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/onaptests/scenario/basic_network.py", line 36, 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/vl_ala_carte.py", line 130, in execute super().execute() File "/usr/lib/python3.8/site-packages/onaptests/steps/base.py", line 225, in execute raise SubstepExecutionException from substep_err onaptests.utils.exceptions.SubstepExecutionException 2022-05-24 11:55:15,452 INFO 176:run_tests.py(1) - Test result: +-----------------------+---------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-----------------------+---------------------+------------------+----------------+ | basic_network | integration | 04:33 | FAIL | +-----------------------+---------------------+------------------+----------------+ 2022-05-24 11:55:15,457 INFO 61:basic_network.py(1) - Generate Test report 2022-05-24 11:55:15,574 DEBUG 226:connectionpool.py(1) - Starting new HTTP connection (1): 87.254.212.120:8080 2022-05-24 11:55:15,972 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 2022-05-24 11:55:15,974 INFO 246:testcase.py(1) - The results were successfully pushed to DB: http://testresults.opnfv.org/onap/api/v1/results/628cc7a36c44f50010888b08 2022-05-24 11:55:15,975 ERROR 253:run_tests.py(1) - The test case 'basic_network' failed. 2022-05-24 11:55:15,975 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR