2026-03-30 10:38:40,841 - INFO - Domain Default found not creating 2026-03-30 10:38:41,041 - INFO - Project ctest-TestBasicVMVN-80419675 not found, creating it 2026-03-30 10:38:41,518 - INFO - Created Project:ctest-TestBasicVMVN-80419675, ID : b31e7100-ba7c-4513-9a5d-97bc8900e931 2026-03-30 10:38:43,079 - INFO - ================================================================================ 2026-03-30 10:38:43,080 - INFO - STARTING TEST : test_generic_link_local_service 2026-03-30 10:38:43,080 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2026-03-30 10:38:43,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-03-30 10:38:43,209 - INFO - Initial checks done. Running the testcase now 2026-03-30 10:38:43,209 - INFO - 2026-03-30 10:38:43,803 - ERROR - ConnectFailure Python 3.9.25: /usr/bin/python3 Mon Mar 30 10:38:43 2026 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={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/vm_regression/test_vm_basic.py in test_generic_link_local_service(self=) 270 vn_name = get_random_name('vn2_metadata') 271 vn_subnets = ['11.1.1.0/24'] 272 vn_fixture = self.useFixture( 273 VNFixture( 274 project_name=self.inputs.project_name, connections=self.connections, vn_fixture undefined self = self.useFixture = > global VNFixture = project_name undefined self.inputs = self.inputs.project_name = 'ctest-TestBasicVMVN-80419675' connections undefined self.connections = vn_name = 'ctest-vn2_metadata-65717314' inputs undefined subnets undefined vn_subnets = ['11.1.1.0/24'] /usr/local/lib/python3.9/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...w connection: [Errno 111] Connection refused'))"), ) /usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=ConnectFailure("Unable to establish connection t...w 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...w connection: [Errno 111] Connection refused'))") exc_obj.with_traceback = exc_tb = /usr/local/lib/python3.9/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=) 437 def setUp(self): 438 super(VNFixture, self).setUp() 439 self.create() 440 441 def create(self): self = self.create = > /contrail-test/fixtures/vn_test.py in create(self=) 450 self._create_vn_api(self.vn_name, self.project_obj) 451 else: 452 self._create_vn_orch() 453 if not self.obj: 454 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=) 293 self.project_id = self.connections.get_project_id() 294 try: 295 self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, 296 project_id=self.project_id) 297 if not self.obj: self = self.obj = None self.orchestrator = self.orchestrator.get_vn_obj_if_present = > self.vn_name = 'ctest-vn2_metadata-65717314' project_id undefined self.project_id = 'b31e7100-ba7c-4513-9a5d-97bc8900e931' /contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-vn2_metadata-65717314', option='orch', **kwargs={'project_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 182 183 def get_vn_obj_if_present(self, vn_name, option='orch', **kwargs): 184 return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) 185 186 def get_vn_obj_from_id(self, vn_id): self = self.quantum_h = self.quantum_h.get_vn_obj_if_present = > vn_name = 'ctest-vn2_metadata-65717314' kwargs = {'project_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-vn2_metadata-65717314', project_id='b31e7100-ba7c-4513-9a5d-97bc8900e931', router_external=True) 274 query_dict['name'] = vn_name 275 try: 276 net_rsp = self.obj.list_networks(**query_dict)['networks'] 277 if net_rsp: 278 return self.obj.show_network(network=net_rsp[0]['id']) net_rsp undefined self = self.obj = self.obj.list_networks = > query_dict = {'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in list_networks(self=, retrieve_all=True, **_params={'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 815 """Fetches a list of all networks for a project.""" 816 # Pass filters in "params" argument to do_request 817 return self.list('networks', self.networks_path, retrieve_all, 818 **_params) 819 self = self.list = > self.networks_path = '/networks' retrieve_all = True _params = {'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in list(self=, collection='networks', path='/networks', retrieve_all=True, **params={'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 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-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in _pagination(self=, collection='networks', path='/networks', **params={'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 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-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in get(self=, action='/networks', body=None, headers=None, params={'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 351 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 self = self.retry_request = > action = '/networks' body = None headers = None params = {'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in retry_request(self=, method='GET', action='/networks', body=None, headers=None, params={'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 328 for i in range(max_attempts): 329 try: 330 return self.do_request(method, action, body=body, 331 headers=headers, params=params) 332 except (exceptions.ConnectionFailed, ksa_exc.ConnectionError): self = self.do_request = > method = 'GET' action = '/networks' body = None headers = None params = {'name': 'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='GET', action='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314', body=None, headers=None, params={'name': b'ctest-vn2_metadata-65717314', 'router:external': True, 'tenant_id': b'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 279 body = self.serialize(body) 280 281 resp, replybody = self.httpclient.do_request(action, method, body=body, 282 headers=headers) 283 resp undefined replybody undefined self = self.httpclient = self.httpclient.do_request = > action = '/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314' method = 'GET' body = None headers = None /usr/local/lib/python3.9/site-packages/neutronclient/client.py in do_request(self=, url='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314', 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=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314' method = 'GET' kwargs = {'authenticated': True, 'body': None, 'headers': None} /usr/local/lib/python3.9/site-packages/neutronclient/client.py in request(self=, *args=('/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314', 'GET'), **kwargs={'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314', 'GET') kwargs = {'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'raise_exc': False} /usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py in request(self=, url='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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=b31e7100-ba7c-4513-9a5d...%3Aexternal=True&name=ctest-vn2_metadata-65717314' 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'raise_exc': False, 'rate_semaphore': , 'user_agent': 'python-neutronclient'} /usr/local/lib/python3.9/site-packages/keystoneauth1/session.py in request(self=, url='http://10.0.0.22:9696/v2.0/networks?tenant_id=b3...%3Aexternal=True&name=ctest-vn2_metadata-65717314', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'verify': False} /usr/local/lib/python3.9/site-packages/keystoneauth1/session.py in _send_request(self=, url='http://10.0.0.22:9696/v2.0/networks?tenant_id=b3...%3Aexternal=True&name=ctest-vn2_metadata-65717314', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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....new connection: [Errno 111] Connection refused'))" ConnectFailure: Unable to establish connection to http://10.0.0.22:9696/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn2_metadata-65717314: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn2_metadata-65717314 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) __cause__ = None __class__ = __context__ = ConnectionError(MaxRetryError("HTTPConnectionPoo... connection: [Errno 111] Connection refused'))")) __delattr__ = __dict__ = {'message': "Unable to establish connection to http://10.0.0....new 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....new connection: [Errno 111] Connection refused'))",) message = "Unable to establish connection to http://10.0.0....new 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.9/site-packages/urllib3/connection.py", line 159, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 590, in connect self._internal_connect(address) File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 634, in _internal_connect raise _SocketError(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.9/site-packages/urllib3/connectionpool.py", line 670, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 392, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib64/python3.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib64/python3.9/http/client.py", line 980, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 187, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/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/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 726, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 446, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn2_metadata-65717314 (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.9/site-packages/keystoneauth1/session.py", line 1004, in _send_request resp = self.session.request(method, url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn2_metadata-65717314 (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 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 272, in test_generic_link_local_service vn_fixture = self.useFixture( File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/contrail-test/fixtures/vn_test.py", line 439, in setUp self.create() File "/contrail-test/fixtures/vn_test.py", line 452, in create self._create_vn_orch() File "/contrail-test/fixtures/vn_test.py", line 295, in _create_vn_orch self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, File "/contrail-test/fixtures/openstack.py", line 184, 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 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 281, in do_request resp, replybody = self.httpclient.do_request(action, method, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/client.py", line 340, in do_request return self.request(url, method, **kwargs) File "/usr/local/lib/python3.9/site-packages/neutronclient/client.py", line 328, in request resp = super(SessionClient, self).request(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py", line 248, in request return self.session.request(url, method, **kwargs) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/session.py", line 913, in request resp = send(**kwargs) File "/usr/local/lib/python3.9/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.22:9696/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn2_metadata-65717314: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn2_metadata-65717314 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2026-03-30 10:38:43,810 - DEBUG - No XMPP flaps were noticed during the test 2026-03-30 10:38:43,810 - INFO - 2026-03-30 10:38:43,810 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:00] 2026-03-30 10:38:43,810 - INFO - -------------------------------------------------------------------------------- 2026-03-30 10:38:43,814 - INFO - ================================================================================ 2026-03-30 10:38:43,814 - INFO - STARTING TEST : test_metadata_service 2026-03-30 10:38:43,814 - INFO - TEST DESCRIPTION : Description: Test to validate metadata service on VM creation. 1.Verify from global-vrouter-config if metadata configures or not - fails otherwise 2.Create a shell script which writes 'hello world ' in a file in /tmp and save the script on the nova api node 3.Create a vm with userdata pointing to that script - script should get executed during vm boot up 4.Go to the vm and verify if the file with 'hello world ' written saved in /tmp of the vm - fails otherwise Maintainer: sandipd@juniper.net 2026-03-30 10:38:43,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-03-30 10:38:43,973 - INFO - Initial checks done. Running the testcase now 2026-03-30 10:38:43,973 - INFO - 2026-03-30 10:38:43,973 - DEBUG - Requesting: http://10.0.0.22:8082/global-vrouter-configs 2026-03-30 10:38:44,299 - DEBUG - Requesting: http://10.0.0.22:8082/global-vrouter-configs 2026-03-30 10:38:44,332 - DEBUG - Requesting: http://10.0.0.22:8082/global-vrouter-config/73f3c9f6-ed21-419f-bce2-045bf1fe8d0a 2026-03-30 10:38:44,563 - ERROR - ConnectFailure Python 3.9.25: /usr/bin/python3 Mon Mar 30 10:38:44 2026 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={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/vm_regression/test_vm_basic.py in test_metadata_service(self=) 51 f.write(text) 52 53 vn_fixture = self.create_vn(af='v4') 54 vm1_fixture = self.create_vm(vn_fixture=vn_fixture, 55 image_name='cirros', vn_fixture undefined self = self.create_vn = > af undefined /contrail-test/common/base.py in create_vn(self=, vn_name=None, vn_subnets=None, cleanup=True, **kwargs={'af': 'v4'}) 189 190 def create_vn(self, vn_name=None, vn_subnets=None, cleanup=True, **kwargs): 191 vn_fixture = self.create_only_vn(vn_name=vn_name, 192 vn_subnets=vn_subnets, 193 **kwargs) vn_fixture undefined self = self.create_only_vn = > vn_name = None vn_subnets = None kwargs = {'af': 'v4'} /contrail-test/common/base.py in create_only_vn(cls=, vn_name='ctest-vn-19486216', vn_subnets=None, **kwargs={'af': 'v4'}) 184 subnets=vn_subnets, 185 **kwargs) 186 vn_fixture.setUp() 187 return vn_fixture 188 # end create_only_vn vn_fixture = vn_fixture.setUp = > /contrail-test/fixtures/vn_test.py in setUp(self=) 437 def setUp(self): 438 super(VNFixture, self).setUp() 439 self.create() 440 441 def create(self): self = self.create = > /contrail-test/fixtures/vn_test.py in create(self=) 450 self._create_vn_api(self.vn_name, self.project_obj) 451 else: 452 self._create_vn_orch() 453 if not self.obj: 454 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=) 293 self.project_id = self.connections.get_project_id() 294 try: 295 self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, 296 project_id=self.project_id) 297 if not self.obj: self = self.obj = None self.orchestrator = self.orchestrator.get_vn_obj_if_present = > self.vn_name = 'ctest-vn-19486216' project_id undefined self.project_id = 'b31e7100-ba7c-4513-9a5d-97bc8900e931' /contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-vn-19486216', option='orch', **kwargs={'project_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 182 183 def get_vn_obj_if_present(self, vn_name, option='orch', **kwargs): 184 return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) 185 186 def get_vn_obj_from_id(self, vn_id): self = self.quantum_h = self.quantum_h.get_vn_obj_if_present = > vn_name = 'ctest-vn-19486216' kwargs = {'project_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-vn-19486216', project_id='b31e7100-ba7c-4513-9a5d-97bc8900e931', router_external=True) 274 query_dict['name'] = vn_name 275 try: 276 net_rsp = self.obj.list_networks(**query_dict)['networks'] 277 if net_rsp: 278 return self.obj.show_network(network=net_rsp[0]['id']) net_rsp undefined self = self.obj = self.obj.list_networks = > query_dict = {'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in list_networks(self=, retrieve_all=True, **_params={'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 815 """Fetches a list of all networks for a project.""" 816 # Pass filters in "params" argument to do_request 817 return self.list('networks', self.networks_path, retrieve_all, 818 **_params) 819 self = self.list = > self.networks_path = '/networks' retrieve_all = True _params = {'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in list(self=, collection='networks', path='/networks', retrieve_all=True, **params={'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 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-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in _pagination(self=, collection='networks', path='/networks', **params={'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 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-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in get(self=, action='/networks', body=None, headers=None, params={'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 351 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 self = self.retry_request = > action = '/networks' body = None headers = None params = {'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in retry_request(self=, method='GET', action='/networks', body=None, headers=None, params={'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 328 for i in range(max_attempts): 329 try: 330 return self.do_request(method, action, body=body, 331 headers=headers, params=params) 332 except (exceptions.ConnectionFailed, ksa_exc.ConnectionError): self = self.do_request = > method = 'GET' action = '/networks' body = None headers = None params = {'name': 'ctest-vn-19486216', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='GET', action='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216', body=None, headers=None, params={'name': b'ctest-vn-19486216', 'router:external': True, 'tenant_id': b'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 279 body = self.serialize(body) 280 281 resp, replybody = self.httpclient.do_request(action, method, body=body, 282 headers=headers) 283 resp undefined replybody undefined self = self.httpclient = self.httpclient.do_request = > action = '/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216' method = 'GET' body = None headers = None /usr/local/lib/python3.9/site-packages/neutronclient/client.py in do_request(self=, url='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216', 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=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216' method = 'GET' kwargs = {'authenticated': True, 'body': None, 'headers': None} /usr/local/lib/python3.9/site-packages/neutronclient/client.py in request(self=, *args=('/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216', 'GET'), **kwargs={'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216', 'GET') kwargs = {'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'raise_exc': False} /usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py in request(self=, url='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-19486216' 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'raise_exc': False, 'rate_semaphore': , 'user_agent': 'python-neutronclient'} /usr/local/lib/python3.9/site-packages/keystoneauth1/session.py in request(self=, url='http://10.0.0.22:9696/v2.0/networks?tenant_id=b3...931&router%3Aexternal=True&name=ctest-vn-19486216', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'verify': False} /usr/local/lib/python3.9/site-packages/keystoneauth1/session.py in _send_request(self=, url='http://10.0.0.22:9696/v2.0/networks?tenant_id=b3...931&router%3Aexternal=True&name=ctest-vn-19486216', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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....new connection: [Errno 111] Connection refused'))" ConnectFailure: Unable to establish connection to http://10.0.0.22:9696/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-19486216: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-19486216 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) __cause__ = None __class__ = __context__ = ConnectionError(MaxRetryError("HTTPConnectionPoo... connection: [Errno 111] Connection refused'))")) __delattr__ = __dict__ = {'message': "Unable to establish connection to http://10.0.0....new 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....new connection: [Errno 111] Connection refused'))",) message = "Unable to establish connection to http://10.0.0....new 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.9/site-packages/urllib3/connection.py", line 159, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 590, in connect self._internal_connect(address) File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 634, in _internal_connect raise _SocketError(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.9/site-packages/urllib3/connectionpool.py", line 670, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 392, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib64/python3.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib64/python3.9/http/client.py", line 980, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 187, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/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/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 726, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 446, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-19486216 (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.9/site-packages/keystoneauth1/session.py", line 1004, in _send_request resp = self.session.request(method, url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-19486216 (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 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 53, in test_metadata_service vn_fixture = self.create_vn(af='v4') File "/contrail-test/common/base.py", line 191, in create_vn vn_fixture = self.create_only_vn(vn_name=vn_name, File "/contrail-test/common/base.py", line 186, in create_only_vn vn_fixture.setUp() File "/contrail-test/fixtures/vn_test.py", line 439, in setUp self.create() File "/contrail-test/fixtures/vn_test.py", line 452, in create self._create_vn_orch() File "/contrail-test/fixtures/vn_test.py", line 295, in _create_vn_orch self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, File "/contrail-test/fixtures/openstack.py", line 184, 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 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 281, in do_request resp, replybody = self.httpclient.do_request(action, method, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/client.py", line 340, in do_request return self.request(url, method, **kwargs) File "/usr/local/lib/python3.9/site-packages/neutronclient/client.py", line 328, in request resp = super(SessionClient, self).request(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py", line 248, in request return self.session.request(url, method, **kwargs) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/session.py", line 913, in request resp = send(**kwargs) File "/usr/local/lib/python3.9/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.22:9696/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-19486216: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-19486216 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2026-03-30 10:38:44,572 - DEBUG - No XMPP flaps were noticed during the test 2026-03-30 10:38:44,572 - INFO - 2026-03-30 10:38:44,572 - INFO - END TEST : test_metadata_service : FAILED[0:00:01] 2026-03-30 10:38:44,572 - INFO - -------------------------------------------------------------------------------- 2026-03-30 10:38:44,575 - INFO - ================================================================================ 2026-03-30 10:38:44,576 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2026-03-30 10:38:44,576 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2026-03-30 10:38:44,736 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-03-30 10:38:44,736 - INFO - Initial checks done. Running the testcase now 2026-03-30 10:38:44,737 - INFO - 2026-03-30 10:38:45,342 - ERROR - ConnectFailure Python 3.9.25: /usr/bin/python3 Mon Mar 30 10:38:45 2026 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={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/vm_regression/test_vm_basic.py in test_ping_within_vn_two_vms_two_different_subnets(self=) 124 125 ipam_obj = self.create_ipam() 126 vn1_fixture = self.create_vn(vn_subnets=vn1_subnets, 127 ipam_fq_name=ipam_obj.fq_name) 128 vn1_fixture undefined self = self.create_vn = > vn_subnets undefined vn1_subnets = ['31.1.1.0/29', '31.1.2.0/29'] ipam_fq_name undefined ipam_obj = ipam_obj.fq_name = ['default-domain', 'ctest-TestBasicVMVN-80419675', 'ctest-ipam-86567419'] /contrail-test/common/base.py in create_vn(self=, vn_name=None, vn_subnets=['31.1.1.0/29', '31.1.2.0/29'], cleanup=True, **kwargs={'ipam_fq_name': ['default-domain', 'ctest-TestBasicVMVN-80419675', 'ctest-ipam-86567419']}) 189 190 def create_vn(self, vn_name=None, vn_subnets=None, cleanup=True, **kwargs): 191 vn_fixture = self.create_only_vn(vn_name=vn_name, 192 vn_subnets=vn_subnets, 193 **kwargs) vn_fixture undefined self = self.create_only_vn = > vn_name = None vn_subnets = ['31.1.1.0/29', '31.1.2.0/29'] kwargs = {'ipam_fq_name': ['default-domain', 'ctest-TestBasicVMVN-80419675', 'ctest-ipam-86567419']} /contrail-test/common/base.py in create_only_vn(cls=, vn_name='ctest-vn-96706479', vn_subnets=['31.1.1.0/29', '31.1.2.0/29'], **kwargs={'ipam_fq_name': ['default-domain', 'ctest-TestBasicVMVN-80419675', 'ctest-ipam-86567419']}) 184 subnets=vn_subnets, 185 **kwargs) 186 vn_fixture.setUp() 187 return vn_fixture 188 # end create_only_vn vn_fixture = vn_fixture.setUp = > /contrail-test/fixtures/vn_test.py in setUp(self=) 437 def setUp(self): 438 super(VNFixture, self).setUp() 439 self.create() 440 441 def create(self): self = self.create = > /contrail-test/fixtures/vn_test.py in create(self=) 450 self._create_vn_api(self.vn_name, self.project_obj) 451 else: 452 self._create_vn_orch() 453 if not self.obj: 454 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=) 293 self.project_id = self.connections.get_project_id() 294 try: 295 self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, 296 project_id=self.project_id) 297 if not self.obj: self = self.obj = None self.orchestrator = self.orchestrator.get_vn_obj_if_present = > self.vn_name = 'ctest-vn-96706479' project_id undefined self.project_id = 'b31e7100-ba7c-4513-9a5d-97bc8900e931' /contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-vn-96706479', option='orch', **kwargs={'project_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 182 183 def get_vn_obj_if_present(self, vn_name, option='orch', **kwargs): 184 return self.quantum_h.get_vn_obj_if_present(vn_name, **kwargs) 185 186 def get_vn_obj_from_id(self, vn_id): self = self.quantum_h = self.quantum_h.get_vn_obj_if_present = > vn_name = 'ctest-vn-96706479' kwargs = {'project_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-vn-96706479', project_id='b31e7100-ba7c-4513-9a5d-97bc8900e931', router_external=True) 274 query_dict['name'] = vn_name 275 try: 276 net_rsp = self.obj.list_networks(**query_dict)['networks'] 277 if net_rsp: 278 return self.obj.show_network(network=net_rsp[0]['id']) net_rsp undefined self = self.obj = self.obj.list_networks = > query_dict = {'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in list_networks(self=, retrieve_all=True, **_params={'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 815 """Fetches a list of all networks for a project.""" 816 # Pass filters in "params" argument to do_request 817 return self.list('networks', self.networks_path, retrieve_all, 818 **_params) 819 self = self.list = > self.networks_path = '/networks' retrieve_all = True _params = {'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in list(self=, collection='networks', path='/networks', retrieve_all=True, **params={'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 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-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in _pagination(self=, collection='networks', path='/networks', **params={'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 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-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in get(self=, action='/networks', body=None, headers=None, params={'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 351 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 self = self.retry_request = > action = '/networks' body = None headers = None params = {'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in retry_request(self=, method='GET', action='/networks', body=None, headers=None, params={'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 328 for i in range(max_attempts): 329 try: 330 return self.do_request(method, action, body=body, 331 headers=headers, params=params) 332 except (exceptions.ConnectionFailed, ksa_exc.ConnectionError): self = self.do_request = > method = 'GET' action = '/networks' body = None headers = None params = {'name': 'ctest-vn-96706479', 'router:external': True, 'tenant_id': 'b31e7100-ba7c-4513-9a5d-97bc8900e931'} /usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='GET', action='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479', body=None, headers=None, params={'name': b'ctest-vn-96706479', 'router:external': True, 'tenant_id': b'b31e7100-ba7c-4513-9a5d-97bc8900e931'}) 279 body = self.serialize(body) 280 281 resp, replybody = self.httpclient.do_request(action, method, body=body, 282 headers=headers) 283 resp undefined replybody undefined self = self.httpclient = self.httpclient.do_request = > action = '/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479' method = 'GET' body = None headers = None /usr/local/lib/python3.9/site-packages/neutronclient/client.py in do_request(self=, url='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479', 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=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479' method = 'GET' kwargs = {'authenticated': True, 'body': None, 'headers': None} /usr/local/lib/python3.9/site-packages/neutronclient/client.py in request(self=, *args=('/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479', 'GET'), **kwargs={'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479', 'GET') kwargs = {'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'raise_exc': False} /usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py in request(self=, url='/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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=b31e7100-ba7c-4513-9a5d...931&router%3Aexternal=True&name=ctest-vn-96706479' 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'raise_exc': False, 'rate_semaphore': , 'user_agent': 'python-neutronclient'} /usr/local/lib/python3.9/site-packages/keystoneauth1/session.py in request(self=, url='http://10.0.0.22:9696/v2.0/networks?tenant_id=b3...931&router%3Aexternal=True&name=ctest-vn-96706479', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, 'verify': False} /usr/local/lib/python3.9/site-packages/keystoneauth1/session.py in _send_request(self=, url='http://10.0.0.22:9696/v2.0/networks?tenant_id=b3...931&router%3Aexternal=True&name=ctest-vn-96706479', 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': 'gAAAAABpylKy5395ttUdHQ-2IGDj-Of-wuCi_f1TpK-sYN7M...1mhP6cv3TwSwFIaHGtcPv9KS00HR53kBYjJhTUwKguQM73qoY'}, '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....new connection: [Errno 111] Connection refused'))" ConnectFailure: Unable to establish connection to http://10.0.0.22:9696/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-96706479: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-96706479 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) __cause__ = None __class__ = __context__ = ConnectionError(MaxRetryError("HTTPConnectionPoo... connection: [Errno 111] Connection refused'))")) __delattr__ = __dict__ = {'message': "Unable to establish connection to http://10.0.0....new 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....new connection: [Errno 111] Connection refused'))",) message = "Unable to establish connection to http://10.0.0....new 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.9/site-packages/urllib3/connection.py", line 159, in _new_conn conn = connection.create_connection( File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 84, in create_connection raise err File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 74, in create_connection sock.connect(sa) File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 590, in connect self._internal_connect(address) File "/usr/local/lib64/python3.9/site-packages/gevent/_socketcommon.py", line 634, in _internal_connect raise _SocketError(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.9/site-packages/urllib3/connectionpool.py", line 670, in urlopen httplib_response = self._make_request( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 392, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib64/python3.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib64/python3.9/http/client.py", line 980, in send self.connect() File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 187, in connect conn = self._new_conn() File "/usr/local/lib/python3.9/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/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 726, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 446, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-96706479 (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.9/site-packages/keystoneauth1/session.py", line 1004, in _send_request resp = self.session.request(method, url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-96706479 (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 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 126, in test_ping_within_vn_two_vms_two_different_subnets vn1_fixture = self.create_vn(vn_subnets=vn1_subnets, File "/contrail-test/common/base.py", line 191, in create_vn vn_fixture = self.create_only_vn(vn_name=vn_name, File "/contrail-test/common/base.py", line 186, in create_only_vn vn_fixture.setUp() File "/contrail-test/fixtures/vn_test.py", line 439, in setUp self.create() File "/contrail-test/fixtures/vn_test.py", line 452, in create self._create_vn_orch() File "/contrail-test/fixtures/vn_test.py", line 295, in _create_vn_orch self.obj = self.orchestrator.get_vn_obj_if_present(self.vn_name, File "/contrail-test/fixtures/openstack.py", line 184, 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 276, in get_vn_obj_if_present net_rsp = self.obj.list_networks(**query_dict)['networks'] File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 817, in list_networks return self.list('networks', self.networks_path, retrieve_all, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 369, in list for r in self._pagination(collection, path, **params): File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 384, in _pagination res = self.get(path, params=params) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 353, in get return self.retry_request("GET", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 330, in retry_request return self.do_request(method, action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 281, in do_request resp, replybody = self.httpclient.do_request(action, method, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/client.py", line 340, in do_request return self.request(url, method, **kwargs) File "/usr/local/lib/python3.9/site-packages/neutronclient/client.py", line 328, in request resp = super(SessionClient, self).request(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py", line 248, in request return self.session.request(url, method, **kwargs) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/session.py", line 913, in request resp = send(**kwargs) File "/usr/local/lib/python3.9/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.22:9696/v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-96706479: HTTPConnectionPool(host='10.0.0.22', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=b31e7100-ba7c-4513-9a5d-97bc8900e931&router%3Aexternal=True&name=ctest-vn-96706479 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) 2026-03-30 10:38:45,349 - DEBUG - No XMPP flaps were noticed during the test 2026-03-30 10:38:45,349 - INFO - 2026-03-30 10:38:45,350 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:01] 2026-03-30 10:38:45,350 - INFO - -------------------------------------------------------------------------------- 2026-03-30 10:38:46,127 - INFO - Deleted project: ctest-TestBasicVMVN-80419675, ID : b31e7100-ba7c-4513-9a5d-97bc8900e931