2022-07-21 11:50:24,250 DEBUG 24:basic_network.py(1) - BasicNetwork init started 2022-07-21 11:50:24,256 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_onboard', value='onaptests.scenario.basic_onboard:BasicOnboard', group='xtesting.testcase') 2022-07-21 11:50:24,256 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm', value='onaptests.scenario.basic_vm:BasicVm', group='xtesting.testcase') 2022-07-21 11:50:24,256 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro', value='onaptests.scenario.basic_vm_macro:BasicVmMacro', group='xtesting.testcase') 2022-07-21 11:50:24,256 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-07-21 11:50:24,256 DEBUG 219:extension.py(1) - found extension EntryPoint(name='cds_resource_resolution', value='onaptests.scenario.cds_resource_resolution:CDSResourceResolution', group='xtesting.testcase') 2022-07-21 11:50:24,257 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2022-07-21 11:50:24,257 DEBUG 219:extension.py(1) - found extension EntryPoint(name='multi_vnf_ubuntu_macro', value='onaptests.scenario.multi_vnf_macro:MultiVnfUbuntuMacro', group='xtesting.testcase') 2022-07-21 11:50:24,257 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2022-07-21 11:50:24,258 INFO 169:run_tests.py(1) - Running test case 'basic_network'... 2022-07-21 11:50:24,259 DEBUG 34:basic_network.py(1) - start time 2022-07-21 11:50:24,259 INFO 175:base.py(1) - ***************************************************** 2022-07-21 11:50:24,259 INFO 176:base.py(1) - START [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-07-21 11:50:24,259 INFO 177:base.py(1) - ***************************************************** 2022-07-21 11:50:24,260 INFO 175:base.py(1) - ***************************************************** 2022-07-21 11:50:24,260 INFO 176:base.py(1) - START [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-07-21 11:50:24,260 INFO 177:base.py(1) - ***************************************************** 2022-07-21 11:50:24,260 INFO 175:base.py(1) - ***************************************************** 2022-07-21 11:50:24,260 INFO 176:base.py(1) - START [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-07-21 11:50:24,261 INFO 177:base.py(1) - ***************************************************** 2022-07-21 11:50:24,266 DEBUG 187:__init__.py(1) - check if Service basic_network exists in SDC 2022-07-21 11:50:24,266 INFO 157:__init__.py(1) - retrieving all objects of type Service from SDC 2022-07-21 11:50:24,267 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-07-21 11:50:24,267 DEBUG 131:onap_service.py(1) - [SDC][get Services] url used: https://sdc.api.be.simpledemo.onap.org:30204/sdc/v1/catalog/services 2022-07-21 11:50:24,267 DEBUG 132:onap_service.py(1) - [SDC][get Services] data sent: None 2022-07-21 11:50:24,270 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:50:24,272 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-07-21 11:50:24,272 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-07-21 11:50:24,273 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (2): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:50:24,274 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-07-21 11:50:24,875 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-07-21 11:50:24,876 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (3): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:50:24,877 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-07-21 11:50:26,079 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-07-21 11:50:26,080 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (4): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:50:26,082 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-07-21 11:50:28,485 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-07-21 11:50:28,486 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (5): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:50:28,488 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-07-21 11:50:33,293 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-07-21 11:50:33,294 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (6): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:50:33,296 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-07-21 11:50:42,906 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-07-21 11:50:42,907 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (7): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:50:42,908 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-07-21 11:51:02,128 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-07-21 11:51:02,129 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (8): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:51:02,131 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-07-21 11:51:40,571 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-07-21 11:51:40,573 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (9): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:51:40,575 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-07-21 11:52:57,454 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-07-21 11:52:57,455 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (10): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:52:57,457 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-07-21 11:54:57,559 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-07-21 11:54:57,560 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (11): sdc.api.be.simpledemo.onap.org:30204 2022-07-21 11:54:57,563 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-07-21 11:54:57,564 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-07-21 11:54:57,564 INFO 199:base.py(1) - ***************************************************** 2022-07-21 11:54:57,564 INFO 200:base.py(1) - STOP [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-07-21 11:54:57,564 INFO 201:base.py(1) - ***************************************************** 2022-07-21 11:54:57,564 INFO 199:base.py(1) - ***************************************************** 2022-07-21 11:54:57,564 INFO 200:base.py(1) - STOP [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-07-21 11:54:57,565 INFO 201:base.py(1) - ***************************************************** 2022-07-21 11:54:57,565 INFO 199:base.py(1) - ***************************************************** 2022-07-21 11:54:57,565 INFO 200:base.py(1) - STOP [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-07-21 11:54:57,565 INFO 201:base.py(1) - ***************************************************** 2022-07-21 11:54:57,565 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-07-21 11:54:57,571 INFO 176:run_tests.py(1) - Test result: +-----------------------+---------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-----------------------+---------------------+------------------+----------------+ | basic_network | integration | 04:33 | FAIL | +-----------------------+---------------------+------------------+----------------+ 2022-07-21 11:54:57,573 INFO 61:basic_network.py(1) - Generate Test report 2022-07-21 11:54:57,669 DEBUG 226:connectionpool.py(1) - Starting new HTTP connection (1): 87.254.212.120:8080 2022-07-21 11:54:58,052 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-07-21 11:54:58,055 INFO 246:testcase.py(1) - The results were successfully pushed to DB: http://testresults.opnfv.org/onap/api/v1/results/62d93e916c44f5001088be97 2022-07-21 11:54:58,056 ERROR 253:run_tests.py(1) - The test case 'basic_network' failed. 2022-07-21 11:54:58,056 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR