2024-08-28 12:01:22,920 - INFO - Domain Default found not creating 2024-08-28 12:01:23,110 - INFO - Project ctest-TestSvcRegr-41422523 not found, creating it 2024-08-28 12:01:23,644 - INFO - Created Project:ctest-TestSvcRegr-41422523, ID : fc2d8c23-d4e5-4994-97b8-487d31c84f28 2024-08-28 12:01:25,405 - INFO - ================================================================================ 2024-08-28 12:01:25,405 - INFO - STARTING TEST : test_svc_in_network_datapath 2024-08-28 12:01:25,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2024-08-28 12:01:25,543 - INFO - Initial checks done. Running the testcase now 2024-08-28 12:01:25,543 - INFO - 2024-08-28 12:01:26,189 - ERROR - ConnectFailure Python 3.6.8: /usr/bin/python3 Wed Aug 28 12:01:26 2024 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 79 log.info('Initial checks done. Running the testcase now') 80 log.info('') 81 result = function(self, *args, **kwargs) 82 if self.inputs.upgrade: 83 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/svc_firewall/test_svc_fw.py in test_svc_in_network_datapath(self=) 31 def test_svc_in_network_datapath(self): 32 return self.verify_svc_chain(svc_img_name='cirros_in_net', service_mode='in-network', 33 create_svms=True) 34 35 create_svms undefined /contrail-test/common/servicechain/verify.py in verify_svc_chain(self=, *args=(), **kwargs={'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'}) 326 def verify_svc_chain(self, *args, **kwargs): 327 svc_chain_info = kwargs.get('svc_chain_info') 328 ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs) 329 proto = kwargs.get('proto', 'any') 330 left_vn_fq_name = ret_dict.get('left_vn_fixture').vn_fq_name ret_dict undefined svc_chain_info = None self = self.config_svc_chain = > args = () kwargs = {'create_svms': True, 'service_mode': 'in-network', 'svc_img_name': 'cirros_in_net'} /contrail-test/common/servicechain/config.py in config_svc_chain(self=, service_mode='in-network', service_type='firewall', max_inst=1, proto='any', svc_chain_type='parallel', src_ports=[0, 65535], dst_ports=[0, 65535], svc_img_name='cirros_in_net', st_version=2, mgmt_vn_name=None, mgmt_vn_subnets=[], mgmt_vn_fixture=None, left_vn_name=None, left_vn_subnets=[], left_vn_fixture=None, right_vn_name=None, right_vn_subnets=[], right_vn_fixture=None, left_lr_child_vn_fixture=None, right_lr_child_vn_fixture=None, left_vm_name=None, left_vm_fixture=None, right_vm_name=None, right_vm_fixture=None, image_name='cirros', policy_fixture=None, st_fixture=None, si_fixture=None, port_tuples_props=None, static_route=None, svm_fixtures=[], create_svms=True, evpn=False, modify_rules=False, policy_action='pass', hosts=[], **kwargs={}) 472 mgmt_vn_fixture, 473 'mgmt_vn', 474 **kwargs) 475 476 # Left kwargs = {} /contrail-test/common/servicechain/config.py in _get_vn_for_config(self=, vn_name='ctest-mgmt_vn-58894691', vn_subnets=['42.35.52.64/26'], vn_fixture=None, vn_name_prefix='mgmt_vn', **kwargs={}) 373 vn_subnets = vn_subnets or \ 374 [get_random_cidr(af=self.inputs.get_af())] 375 vn_fixture = vn_fixture or self.config_vn(vn_name, vn_subnets, **kwargs) 376 vn_fq_name = vn_fixture.vn_fq_name 377 return (vn_name, vn_subnets, vn_fixture, vn_fq_name) vn_fixture = None self = self.config_vn = > vn_name = 'ctest-mgmt_vn-58894691' vn_subnets = ['42.35.52.64/26'] kwargs = {} /contrail-test/common/servicechain/config.py in config_vn(self=, vn_name='ctest-mgmt_vn-58894691', vn_net=['42.35.52.64/26'], **kwargs={}) 154 vn_fixture = self.useFixture(VNFixture( 155 project_name=self.inputs.project_name, connections=self.connections, 156 vn_name=vn_name, inputs=self.inputs, subnets=vn_net, **kwargs)) 157 assert vn_fixture.verify_on_setup() 158 return vn_fixture vn_name = 'ctest-mgmt_vn-58894691' inputs undefined self = self.inputs = subnets undefined vn_net = ['42.35.52.64/26'] kwargs = {} /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 754 # Gather_details worked, so raise the exception setUp 755 # encountered. 756 reraise(*exc_info) 757 else: 758 self.addCleanup(fixture.cleanUp) global reraise = exc_info = (, ConnectFailure("Unable to establish connection t...connection: [Errno 111] Connection refused',))",), ) /usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=ConnectFailure("Unable to establish connection t...connection: [Errno 111] Connection refused',))",), exc_tb=, _marker=) 13 14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()): 15 """Re-raise an exception received from sys.exc_info() or similar.""" 16 raise exc_obj.with_traceback(exc_tb) 17 exc_obj = ConnectFailure("Unable to establish connection t...connection: [Errno 111] Connection refused',))",) exc_obj.with_traceback = exc_tb = /usr/local/lib/python3.6/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 729 """ 730 try: 731 fixture.setUp() 732 except MultipleExceptions as e: 733 if (fixtures is not None and fixture = fixture.setUp = > /contrail-test/fixtures/vn_test.py in setUp(self=) 447 def setUp(self): 448 super(VNFixture, self).setUp() 449 self.create() 450 451 def create(self): self = self.create = > /contrail-test/fixtures/vn_test.py in create(self=) 460 self._create_vn_api(self.vn_name, self.project_obj) 461 else: 462 self._create_vn_orch() 463 if not self.obj: 464 self.logger.debug('VN %s not present' % (self.vn_name)) self = self._create_vn_orch = > /contrail-test/fixtures/vn_test.py in _create_vn_orch(self=) 302 try: 303 self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, 304 project_id=self.project_id) 305 if not self.obj: 306 self.obj = self.orchestrator.create_vn( project_id undefined self = self.project_id = 'fc2d8c23-d4e5-4994-97b8-487d31c84f28' /contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-mgmt_vn-58894691', option='orch', **kwargs={'project_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'}) 204 205 def get_vn_obj_if_present(self, vn_name, option='orch', **kwargs): 206 return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) 207 208 def get_vn_obj_from_id(self, vn_id): self = self.quantum_h = self.quantum_h.get_vn_obj_if_present = > vn_name = 'ctest-mgmt_vn-58894691' kwargs = {'project_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'} /contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-mgmt_vn-58894691', project_id='fc2d8c23-d4e5-4994-97b8-487d31c84f28', router_external=True) 278 query_dict['name'] = vn_name 279 try: 280 net_rsp = self.obj.list_networks(**query_dict)['networks'] 281 if net_rsp: 282 return self.obj.show_network(network=net_rsp[0]['id']) net_rsp undefined self = self.obj = self.obj.list_networks = > query_dict = {'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in list_networks(self=, retrieve_all=True, **_params={'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'}) 816 # Pass filters in "params" argument to do_request 817 return self.list('networks', self.networks_path, retrieve_all, 818 **_params) 819 820 def show_network(self, network, **_params): _params = {'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in list(self=, collection='networks', path='/networks', retrieve_all=True, **params={'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'}) 367 res = [] 368 request_ids = [] 369 for r in self._pagination(collection, path, **params): 370 res.extend(r[collection]) 371 request_ids.extend(r.request_ids) r undefined self = self._pagination = > collection = 'networks' path = '/networks' params = {'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in _pagination(self=, collection='networks', path='/networks', **params={'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'}) 382 next = True 383 while next: 384 res = self.get(path, params=params) 385 yield res 386 next = False res undefined self = self.get = > path = '/networks' params = {'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in get(self=, action='/networks', body=None, headers=None, params={'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'}) 352 def get(self, action, body=None, headers=None, params=None): 353 return self.retry_request("GET", action, body=body, 354 headers=headers, params=params) 355 356 def post(self, action, body=None, headers=None, params=None): headers = None params = {'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in retry_request(self=, method='GET', action='/networks', body=None, headers=None, params={'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'}) 329 try: 330 return self.do_request(method, action, body=body, 331 headers=headers, params=params) 332 except (exceptions.ConnectionFailed, ksa_exc.ConnectionError): 333 # Exception has already been logged by do_request() headers = None params = {'name': 'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': 'fc2d8c23-d4e5-4994-97b8-487d31c84f28'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='GET', action='/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691', body=None, headers=None, params={'name': b'ctest-mgmt_vn-58894691', 'router:external': True, 'tenant_id': b'fc2d8c23-d4e5-4994-97b8-487d31c84f28'}) 280 281 resp, replybody = self.httpclient.do_request(action, method, body=body, 282 headers=headers) 283 284 status_code = resp.status_code headers = None /usr/local/lib/python3.6/site-packages/neutronclient/client.py in do_request(self=, url='/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691', method='GET', **kwargs={'authenticated': True, 'body': None, 'headers': None}) 338 kwargs.setdefault('authenticated', True) 339 self._check_uri_length(url) 340 return self.request(url, method, **kwargs) 341 342 @property self = self.request = > url = '/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691' method = 'GET' kwargs = {'authenticated': True, 'body': None, 'headers': None} /usr/local/lib/python3.6/site-packages/neutronclient/client.py in request(self=, *args=('/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691', 'GET'), **kwargs={'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGUJUHEAOVAYaJUM7Qh20wRp3HMWxR9SvpP4JEN...jTNw_lddo2AwCdtecw_HFCDOnOSY3k7c3a3XdOHwFPWOOJSJA'}, 'raise_exc': False}) 326 327 kwargs['headers'] = headers 328 resp = super(SessionClient, self).request(*args, **kwargs) 329 return resp, resp.text 330 resp undefined builtinsuper = global SessionClient = self = ).request = > args = ('/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691', 'GET') kwargs = {'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGUJUHEAOVAYaJUM7Qh20wRp3HMWxR9SvpP4JEN...jTNw_lddo2AwCdtecw_HFCDOnOSY3k7c3a3XdOHwFPWOOJSJA'}, 'raise_exc': False} /usr/local/lib/python3.6/site-packages/keystoneauth1/adapter.py in request(self=, url='/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691', method='GET', **kwargs={'authenticated': True, 'data': None, 'endpoint_filter': {'interface': 'public', 'region_name': 'RegionOne', 'service_type': 'network'}, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGUJUHEAOVAYaJUM7Qh20wRp3HMWxR9SvpP4JEN...jTNw_lddo2AwCdtecw_HFCDOnOSY3k7c3a3XdOHwFPWOOJSJA'}, 'raise_exc': False, 'rate_semaphore': , 'user_agent': 'python-neutronclient'}) 246 kwargs.setdefault('raise_exc', self.raise_exc) 247 248 return self.session.request(url, method, **kwargs) 249 250 def get_token(self, auth=None): self = self.session = self.session.request = > url = '/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691' method = 'GET' kwargs = {'authenticated': True, 'data': None, 'endpoint_filter': {'interface': 'public', 'region_name': 'RegionOne', 'service_type': 'network'}, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGUJUHEAOVAYaJUM7Qh20wRp3HMWxR9SvpP4JEN...jTNw_lddo2AwCdtecw_HFCDOnOSY3k7c3a3XdOHwFPWOOJSJA'}, 'raise_exc': False, 'rate_semaphore': , 'user_agent': 'python-neutronclient'} /usr/local/lib/python3.6/site-packages/keystoneauth1/session.py in request(self=, url='http://10.0.0.31:9696/v2.0/networks?tenant_id=fc...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691', method='GET', json=None, original_ip=None, user_agent='python-neutronclient', redirect=30, authenticated=True, endpoint_filter={'interface': 'public', 'region_name': 'RegionOne', 'service_type': 'network'}, auth=None, requests_auth=None, raise_exc=False, allow_reauth=True, log=True, endpoint_override=None, connect_retries=0, logger=, allow=None, client_name=None, client_version=None, microversion=None, microversion_service_type=None, status_code_retries=0, retriable_status_codes=[503], rate_semaphore=, global_request_id=None, connect_retry_delay=None, status_code_retry_delay=None, **kwargs={'allow_redirects': False, 'cert': (None, None), 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGUJUHEAOVAYaJUM7Qh20wRp3HMWxR9SvpP4JEN...jTNw_lddo2AwCdtecw_HFCDOnOSY3k7c3a3XdOHwFPWOOJSJA'}, 'verify': False}) 911 kwargs.update(connection_params) 912 913 resp = send(**kwargs) 914 915 # log callee and caller request-id for each api call resp undefined send = functools.partial() kwargs = {'allow_redirects': False, 'cert': (None, None), 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGUJUHEAOVAYaJUM7Qh20wRp3HMWxR9SvpP4JEN...jTNw_lddo2AwCdtecw_HFCDOnOSY3k7c3a3XdOHwFPWOOJSJA'}, 'verify': False} /usr/local/lib/python3.6/site-packages/keystoneauth1/session.py in _send_request(self=, url='http://10.0.0.31:9696/v2.0/networks?tenant_id=fc...outer%3Aexternal=True&name=ctest-mgmt_vn-58894691', method='GET', redirect=30, log=True, logger=, split_loggers=None, connect_retries=0, status_code_retries=0, retriable_status_codes=[503], rate_semaphore=, connect_retry_delays=, status_code_retry_delays=, **kwargs={'allow_redirects': False, 'cert': (None, None), 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGUJUHEAOVAYaJUM7Qh20wRp3HMWxR9SvpP4JEN...jTNw_lddo2AwCdtecw_HFCDOnOSY3k7c3a3XdOHwFPWOOJSJA'}, 'verify': False}) 1018 # and firewall blocking. 1019 msg = 'Unable to establish connection to %s: %s' % (url, e) 1020 raise exceptions.ConnectFailure(msg) 1021 except requests.exceptions.RequestException as e: 1022 msg = 'Unexpected exception for %(url)s: %(error)s' % { global exceptions = exceptions.ConnectFailure = msg = "Unable to establish connection to http://10.0.0....ew connection: [Errno 111] Connection refused',))" ConnectFailure: Unable to establish connection to http://10.0.0.31:9696/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8-487d31c84f28&router%3Aexternal=True&name=ctest-mgmt_vn-58894691: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8-487d31c84f28&router%3Aexternal=True&name=ctest-mgmt_vn-58894691 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) __cause__ = None __class__ = __context__ = ConnectionError(MaxRetryError("HTTPConnectionPoo...nnection: [Errno 111] Connection refused',))",),) __delattr__ = __dict__ = {'message': "Unable to establish connection to http://10.0.0....ew connection: [Errno 111] Connection refused',))"} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'keystoneauth1.exceptions.connection' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None args = ("Unable to establish connection to http://10.0.0....ew connection: [Errno 111] Connection refused',))",) message = "Unable to establish connection to http://10.0.0....ew connection: [Errno 111] Connection refused',))" with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) File "/usr/local/lib64/python3.6/site-packages/gevent/_socket3.py", line 400, in connect raise error(err, strerror(err)) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib64/python3.6/http/client.py", line 1254, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1300, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1249, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1036, in _send_output self.send(msg) File "/usr/lib64/python3.6/http/client.py", line 974, in send self.connect() File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e 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/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8-487d31c84f28&router%3Aexternal=True&name=ctest-mgmt_vn-58894691 (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/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1004, in _send_request resp = self.session.request(method, url, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8-487d31c84f28&router%3Aexternal=True&name=ctest-mgmt_vn-58894691 (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 "/contrail-test/tcutils/wrappers.py", line 81, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/svc_firewall/test_svc_fw.py", line 33, in test_svc_in_network_datapath create_svms=True) File "/contrail-test/common/servicechain/verify.py", line 328, in verify_svc_chain ret_dict = svc_chain_info or self.config_svc_chain(*args, **kwargs) File "/contrail-test/common/servicechain/config.py", line 474, in config_svc_chain **kwargs) File "/contrail-test/common/servicechain/config.py", line 375, in _get_vn_for_config vn_fixture = vn_fixture or self.config_vn(vn_name, vn_subnets, **kwargs) File "/contrail-test/common/servicechain/config.py", line 156, in config_vn vn_name=vn_name, inputs=self.inputs, subnets=vn_net, **kwargs)) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/local/lib/python3.6/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/local/lib/python3.6/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/contrail-test/fixtures/vn_test.py", line 449, in setUp self.create() File "/contrail-test/fixtures/vn_test.py", line 462, in create self._create_vn_orch() File "/contrail-test/fixtures/vn_test.py", line 304, in _create_vn_orch project_id=self.project_id) File "/contrail-test/fixtures/openstack.py", line 206, in get_vn_obj_if_present return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) File "/contrail-test/fixtures/quantum_test.py", line 280, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 818, in list_networks **_params) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 354, in get headers=headers, params=params) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 331, in retry_request headers=headers, params=params) File "/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py", line 282, in do_request headers=headers) File "/usr/local/lib/python3.6/site-packages/neutronclient/client.py", line 340, in do_request return self.request(url, method, **kwargs) File "/usr/local/lib/python3.6/site-packages/neutronclient/client.py", line 328, in request resp = super(SessionClient, self).request(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 248, in request return self.session.request(url, method, **kwargs) File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 913, in request resp = send(**kwargs) File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 1020, in _send_request raise exceptions.ConnectFailure(msg) keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to http://10.0.0.31:9696/v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8-487d31c84f28&router%3Aexternal=True&name=ctest-mgmt_vn-58894691: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=fc2d8c23-d4e5-4994-97b8-487d31c84f28&router%3Aexternal=True&name=ctest-mgmt_vn-58894691 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) 2024-08-28 12:01:26,199 - DEBUG - No XMPP flaps were noticed during the test 2024-08-28 12:01:26,199 - INFO - 2024-08-28 12:01:26,199 - INFO - END TEST : test_svc_in_network_datapath : FAILED[0:00:01] 2024-08-28 12:01:26,199 - INFO - -------------------------------------------------------------------------------- 2024-08-28 12:01:26,980 - INFO - Deleted project: ctest-TestSvcRegr-41422523, ID : fc2d8c23-d4e5-4994-97b8-487d31c84f28