2022-07-17 23:29:57,011 DEBUG 24:basic_network.py(1) - BasicNetwork init started 2022-07-17 23:29:57,016 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_onboard', value='onaptests.scenario.basic_onboard:BasicOnboard', group='xtesting.testcase') 2022-07-17 23:29:57,016 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm', value='onaptests.scenario.basic_vm:BasicVm', group='xtesting.testcase') 2022-07-17 23:29:57,016 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro', value='onaptests.scenario.basic_vm_macro:BasicVmMacro', group='xtesting.testcase') 2022-07-17 23:29:57,016 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-17 23:29:57,017 DEBUG 219:extension.py(1) - found extension EntryPoint(name='cds_resource_resolution', value='onaptests.scenario.cds_resource_resolution:CDSResourceResolution', group='xtesting.testcase') 2022-07-17 23:29:57,017 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2022-07-17 23:29:57,017 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-17 23:29:57,017 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2022-07-17 23:29:57,017 INFO 169:run_tests.py(1) - Running test case 'basic_network'... 2022-07-17 23:29:57,018 DEBUG 34:basic_network.py(1) - start time 2022-07-17 23:29:57,018 INFO 175:base.py(1) - ***************************************************** 2022-07-17 23:29:57,018 INFO 176:base.py(1) - START [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-07-17 23:29:57,018 INFO 177:base.py(1) - ***************************************************** 2022-07-17 23:29:57,018 INFO 175:base.py(1) - ***************************************************** 2022-07-17 23:29:57,018 INFO 176:base.py(1) - START [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-07-17 23:29:57,018 INFO 177:base.py(1) - ***************************************************** 2022-07-17 23:29:57,019 INFO 175:base.py(1) - ***************************************************** 2022-07-17 23:29:57,019 INFO 176:base.py(1) - START [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-07-17 23:29:57,019 INFO 177:base.py(1) - ***************************************************** 2022-07-17 23:29:57,023 DEBUG 187:__init__.py(1) - check if Service basic_network exists in SDC 2022-07-17 23:29:57,023 INFO 157:__init__.py(1) - retrieving all objects of type Service from SDC 2022-07-17 23:29:57,024 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-17 23:29:57,024 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-17 23:29:57,024 DEBUG 132:onap_service.py(1) - [SDC][get Services] data sent: None 2022-07-17 23:29:57,027 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:29:57,029 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-17 23:29:57,029 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-17 23:29:57,029 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (2): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:29:57,030 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-17 23:29:57,631 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-17 23:29:57,632 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (3): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:29:57,634 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-17 23:29:58,836 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-17 23:29:58,836 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (4): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:29:58,838 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-17 23:30:01,241 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-17 23:30:01,241 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (5): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:30:01,242 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-17 23:30:06,048 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-17 23:30:06,048 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (6): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:30:06,049 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-17 23:30:15,659 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-17 23:30:15,660 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (7): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:30:15,661 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-17 23:30:34,881 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-17 23:30:34,882 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (8): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:30:34,884 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-17 23:31:13,324 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-17 23:31:13,326 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (9): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:31:13,328 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-17 23:32:30,205 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-17 23:32:30,206 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (10): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:32:30,208 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-17 23:34:30,309 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-17 23:34:30,312 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (11): sdc.api.be.simpledemo.onap.org:30204 2022-07-17 23:34:30,315 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-17 23:34:30,315 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-17 23:34:30,315 INFO 199:base.py(1) - ***************************************************** 2022-07-17 23:34:30,316 INFO 200:base.py(1) - STOP [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-07-17 23:34:30,316 INFO 201:base.py(1) - ***************************************************** 2022-07-17 23:34:30,316 INFO 199:base.py(1) - ***************************************************** 2022-07-17 23:34:30,316 INFO 200:base.py(1) - STOP [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-07-17 23:34:30,316 INFO 201:base.py(1) - ***************************************************** 2022-07-17 23:34:30,316 INFO 199:base.py(1) - ***************************************************** 2022-07-17 23:34:30,316 INFO 200:base.py(1) - STOP [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-07-17 23:34:30,317 INFO 201:base.py(1) - ***************************************************** 2022-07-17 23:34:30,317 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-17 23:34:30,324 INFO 176:run_tests.py(1) - Test result: +-----------------------+---------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-----------------------+---------------------+------------------+----------------+ | basic_network | integration | 04:33 | FAIL | +-----------------------+---------------------+------------------+----------------+ 2022-07-17 23:34:30,327 INFO 61:basic_network.py(1) - Generate Test report 2022-07-17 23:34:30,425 DEBUG 226:connectionpool.py(1) - Starting new HTTP connection (1): 87.254.212.120:8080 2022-07-17 23:34:30,848 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-17 23:34:30,850 INFO 246:testcase.py(1) - The results were successfully pushed to DB: http://testresults.opnfv.org/onap/api/v1/results/62d49c866c44f5001088bb84 2022-07-17 23:34:30,851 ERROR 253:run_tests.py(1) - The test case 'basic_network' failed. 2022-07-17 23:34:30,851 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR