2022-05-11 23:32:26,322 DEBUG 24:basic_network.py(1) - BasicNetwork init started 2022-05-11 23:32:26,326 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_onboard', value='onaptests.scenario.basic_onboard:BasicOnboard', group='xtesting.testcase') 2022-05-11 23:32:26,326 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm', value='onaptests.scenario.basic_vm:BasicVm', group='xtesting.testcase') 2022-05-11 23:32:26,327 DEBUG 219:extension.py(1) - found extension EntryPoint(name='basic_vm_macro', value='onaptests.scenario.basic_vm_macro:BasicVmMacro', group='xtesting.testcase') 2022-05-11 23:32:26,327 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-11 23:32:26,327 DEBUG 219:extension.py(1) - found extension EntryPoint(name='cds_resource_resolution', value='onaptests.scenario.cds_resource_resolution:CDSResourceResolution', group='xtesting.testcase') 2022-05-11 23:32:26,327 DEBUG 219:extension.py(1) - found extension EntryPoint(name='clearwater_ims', value='onaptests.scenario.clearwater_ims:ClearwaterIms', group='xtesting.testcase') 2022-05-11 23:32:26,327 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-11 23:32:26,328 DEBUG 219:extension.py(1) - found extension EntryPoint(name='pnf_macro', value='onaptests.scenario.pnf_macro:PnfMacro', group='xtesting.testcase') 2022-05-11 23:32:26,328 INFO 169:run_tests.py(1) - Running test case 'basic_network'... 2022-05-11 23:32:26,329 DEBUG 34:basic_network.py(1) - start time 2022-05-11 23:32:26,329 INFO 175:base.py(1) - ***************************************************** 2022-05-11 23:32:26,329 INFO 176:base.py(1) - START [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-05-11 23:32:26,330 INFO 177:base.py(1) - ***************************************************** 2022-05-11 23:32:26,330 INFO 175:base.py(1) - ***************************************************** 2022-05-11 23:32:26,330 INFO 176:base.py(1) - START [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-05-11 23:32:26,331 INFO 177:base.py(1) - ***************************************************** 2022-05-11 23:32:26,331 INFO 175:base.py(1) - ***************************************************** 2022-05-11 23:32:26,331 INFO 176:base.py(1) - START [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-05-11 23:32:26,331 INFO 177:base.py(1) - ***************************************************** 2022-05-11 23:32:26,335 DEBUG 187:__init__.py(1) - check if Service basic_network exists in SDC 2022-05-11 23:32:26,335 INFO 157:__init__.py(1) - retrieving all objects of type Service from SDC 2022-05-11 23:32:26,336 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-11 23:32:26,336 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-11 23:32:26,336 DEBUG 132:onap_service.py(1) - [SDC][get Services] data sent: None 2022-05-11 23:32:26,339 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (1): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:32:26,341 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-11 23:32:26,341 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-11 23:32:26,342 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (2): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:32:26,344 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-11 23:32:26,945 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-11 23:32:26,946 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (3): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:32:26,947 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-11 23:32:28,149 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-11 23:32:28,150 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (4): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:32:28,152 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-11 23:32:30,555 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-11 23:32:30,556 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (5): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:32:30,558 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-11 23:32:35,364 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-11 23:32:35,365 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (6): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:32:35,367 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-11 23:32:44,978 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-11 23:32:44,979 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (7): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:32:44,981 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-11 23:33:04,201 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-11 23:33:04,202 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (8): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:33:04,204 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-11 23:33:42,625 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-11 23:33:42,626 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (9): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:33:42,628 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-11 23:34:59,506 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-11 23:34:59,507 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (10): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:34:59,510 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-11 23:36:59,611 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-11 23:36:59,613 DEBUG 939:connectionpool.py(1) - Starting new HTTPS connection (11): sdc.api.be.simpledemo.onap.org:30204 2022-05-11 23:36:59,616 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-11 23:36:59,616 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-11 23:36:59,617 INFO 199:base.py(1) - ***************************************************** 2022-05-11 23:36:59,617 INFO 200:base.py(1) - STOP [SDC] YamlTemplateServiceOnboardStep: Onboard service described in YAML file in SDC. 2022-05-11 23:36:59,617 INFO 201:base.py(1) - ***************************************************** 2022-05-11 23:36:59,617 INFO 199:base.py(1) - ***************************************************** 2022-05-11 23:36:59,618 INFO 200:base.py(1) - STOP [SO] YamlTemplateServiceAlaCarteInstantiateStep: Instantiate service described in YAML using SO a'la carte method. 2022-05-11 23:36:59,618 INFO 201:base.py(1) - ***************************************************** 2022-05-11 23:36:59,618 INFO 199:base.py(1) - ***************************************************** 2022-05-11 23:36:59,618 INFO 200:base.py(1) - STOP [SO] YamlTemplateVlAlaCarteInstantiateStep: Instantiate network link described in YAML using SO a'la carte method. 2022-05-11 23:36:59,618 INFO 201:base.py(1) - ***************************************************** 2022-05-11 23:36:59,619 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-11 23:36:59,629 INFO 176:run_tests.py(1) - Test result: +-----------------------+---------------------+------------------+----------------+ | TEST CASE | PROJECT | DURATION | RESULT | +-----------------------+---------------------+------------------+----------------+ | basic_network | integration | 04:33 | FAIL | +-----------------------+---------------------+------------------+----------------+ 2022-05-11 23:36:59,633 INFO 61:basic_network.py(1) - Generate Test report 2022-05-11 23:36:59,759 DEBUG 226:connectionpool.py(1) - Starting new HTTP connection (1): 87.254.212.120:8080 2022-05-11 23:37:30,349 DEBUG 433:connectionpool.py(1) - http://87.254.212.120:8080 "POST http://testresults.opnfv.org/onap/api/v1/results HTTP/1.1" 500 4275 2022-05-11 23:37:30,387 ERROR 254:testcase.py(1) - The HTTP request raises issues Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/xtesting/core/testcase.py", line 239, in push_to_db req.raise_for_status() File "/usr/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://testresults.opnfv.org/onap/api/v1/results 2022-05-11 23:37:30,389 ERROR 253:run_tests.py(1) - The test case 'basic_network' failed. 2022-05-11 23:37:30,390 INFO 275:run_tests.py(1) - Execution exit value: Result.EX_ERROR