2024-08-28 12:01:37,658 - INFO - Domain Default found not creating
2024-08-28 12:01:37,867 - INFO - Project ctest-TestBasicVMVN-08778897 not found, creating it
2024-08-28 12:01:38,396 - INFO - Created Project:ctest-TestBasicVMVN-08778897, ID : a646178e-1534-4d10-a22b-c063a3381f0f
2024-08-28 12:01:40,153 - INFO - ================================================================================
2024-08-28 12:01:40,153 - INFO - STARTING TEST : test_generic_link_local_service
2024-08-28 12:01:40,153 - 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
2024-08-28 12:01:40,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with
2024-08-28 12:01:40,285 - INFO - Initial checks done. Running the testcase now
2024-08-28 12:01:40,285 - INFO -
2024-08-28 12:01:40,940 - ERROR - ConnectFailure
Python 3.6.8: /usr/bin/python3
Wed Aug 28 12:01:40 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/tcutils/util.py in wrapper(self=, *func_args=(), **func_kwargs={})
1165 raise testtools.TestCase.skipException(msg)
1166
1167 return f(self, *func_args, **func_kwargs)
1168 return wrapper
1169 return decorator
f =
self =
func_args = ()
func_kwargs = {}
/contrail-test/scripts/vm_regression/test_vm_basic.py in test_generic_link_local_service(self=)
291 VNFixture(
292 project_name=self.inputs.project_name, connections=self.connections,
293 vn_name=vn_name, inputs=self.inputs, subnets=vn_subnets))
294 vn_obj = vn_fixture.obj
295 vm1_fixture = self.create_vm(vn_ids=[vn_fixture.uuid], image_name='cirros')
vn_name = 'ctest-vn2_metadata-41403989'
inputs undefined
self =
self.inputs =
subnets undefined
vn_subnets = ['11.1.1.0/24']
/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 = 'a646178e-1534-4d10-a22b-c063a3381f0f'
/contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-vn2_metadata-41403989', option='orch', **kwargs={'project_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn2_metadata-41403989'
kwargs = {'project_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-vn2_metadata-41403989', project_id='a646178e-1534-4d10-a22b-c063a3381f0f', 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-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in list_networks(self=, retrieve_all=True, **_params={'name': 'ctest-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/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-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in _pagination(self=, collection='networks', path='/networks', **params={'name': 'ctest-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in get(self=, action='/networks', body=None, headers=None, params={'name': 'ctest-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/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-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn2_metadata-41403989', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='GET', action='/v2.0/networks?tenant_id=a646178e-1534-4d10-a22b...%3Aexternal=True&name=ctest-vn2_metadata-41403989', body=None, headers=None, params={'name': b'ctest-vn2_metadata-41403989', 'router:external': True, 'tenant_id': b'a646178e-1534-4d10-a22b-c063a3381f0f'})
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=a646178e-1534-4d10-a22b...%3Aexternal=True&name=ctest-vn2_metadata-41403989', 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=a646178e-1534-4d10-a22b...%3Aexternal=True&name=ctest-vn2_metadata-41403989'
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=a646178e-1534-4d10-a22b...%3Aexternal=True&name=ctest-vn2_metadata-41403989', 'GET'), **kwargs={'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a646178e-1534-4d10-a22b...%3Aexternal=True&name=ctest-vn2_metadata-41403989', 'GET')
kwargs = {'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, 'raise_exc': False}
/usr/local/lib/python3.6/site-packages/keystoneauth1/adapter.py in request(self=, url='/v2.0/networks?tenant_id=a646178e-1534-4d10-a22b...%3Aexternal=True&name=ctest-vn2_metadata-41403989', 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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a646178e-1534-4d10-a22b...%3Aexternal=True&name=ctest-vn2_metadata-41403989'
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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a6...%3Aexternal=True&name=ctest-vn2_metadata-41403989', 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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a6...%3Aexternal=True&name=ctest-vn2_metadata-41403989', 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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn2_metadata-41403989: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn2_metadata-41403989 (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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn2_metadata-41403989 (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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn2_metadata-41403989 (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/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 293, in test_generic_link_local_service
vn_name=vn_name, inputs=self.inputs, subnets=vn_subnets))
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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn2_metadata-41403989: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn2_metadata-41403989 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
2024-08-28 12:01:40,949 - DEBUG - No XMPP flaps were noticed during the test
2024-08-28 12:01:40,949 - INFO -
2024-08-28 12:01:40,949 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:00]
2024-08-28 12:01:40,949 - INFO - --------------------------------------------------------------------------------
2024-08-28 12:01:40,953 - INFO - ================================================================================
2024-08-28 12:01:40,953 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2024-08-28 12:01:40,953 - 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
2024-08-28 12:01:41,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with
2024-08-28 12:01:41,101 - INFO - Initial checks done. Running the testcase now
2024-08-28 12:01:41,101 - INFO -
2024-08-28 12:01:41,769 - ERROR - ConnectFailure
Python 3.6.8: /usr/bin/python3
Wed Aug 28 12:01:41 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/tcutils/util.py in wrapper(self=, *func_args=(), **func_kwargs={})
1165 raise testtools.TestCase.skipException(msg)
1166
1167 return f(self, *func_args, **func_kwargs)
1168 return wrapper
1169 return decorator
f =
self =
func_args = ()
func_kwargs = {}
/contrail-test/scripts/vm_regression/test_vm_basic.py in test_ping_within_vn_two_vms_two_different_subnets(self=)
142 ipam_obj = self.create_ipam()
143 vn1_fixture = self.create_vn(vn_subnets=vn1_subnets,
144 ipam_fq_name=ipam_obj.fq_name)
145
146 subnet_objects = vn1_fixture.get_subnets()
ipam_fq_name undefined
ipam_obj =
ipam_obj.fq_name = ['default-domain', 'ctest-TestBasicVMVN-08778897', 'ctest-ipam-33060640']
/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-08778897', 'ctest-ipam-33060640']})
202 vn_fixture = self.create_only_vn(vn_name=vn_name,
203 vn_subnets=vn_subnets,
204 **kwargs)
205 if cleanup:
206 self.addCleanup(vn_fixture.cleanUp)
kwargs = {'ipam_fq_name': ['default-domain', 'ctest-TestBasicVMVN-08778897', 'ctest-ipam-33060640']}
/contrail-test/common/base.py in create_only_vn(cls=, vn_name='ctest-vn-41911049', vn_subnets=['31.1.1.0/29', '31.1.2.0/29'], **kwargs={'ipam_fq_name': ['default-domain', 'ctest-TestBasicVMVN-08778897', 'ctest-ipam-33060640']})
195 subnets=vn_subnets,
196 **kwargs)
197 vn_fixture.setUp()
198 return vn_fixture
199 # end create_only_vn
vn_fixture =
vn_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 = 'a646178e-1534-4d10-a22b-c063a3381f0f'
/contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-vn-41911049', option='orch', **kwargs={'project_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn-41911049'
kwargs = {'project_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-vn-41911049', project_id='a646178e-1534-4d10-a22b-c063a3381f0f', 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-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in list_networks(self=, retrieve_all=True, **_params={'name': 'ctest-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/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-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in _pagination(self=, collection='networks', path='/networks', **params={'name': 'ctest-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in get(self=, action='/networks', body=None, headers=None, params={'name': 'ctest-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/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-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'})
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-vn-41911049', 'router:external': True, 'tenant_id': 'a646178e-1534-4d10-a22b-c063a3381f0f'}
/usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='GET', action='/v2.0/networks?tenant_id=a646178e-1534-4d10-a22b...f0f&router%3Aexternal=True&name=ctest-vn-41911049', body=None, headers=None, params={'name': b'ctest-vn-41911049', 'router:external': True, 'tenant_id': b'a646178e-1534-4d10-a22b-c063a3381f0f'})
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=a646178e-1534-4d10-a22b...f0f&router%3Aexternal=True&name=ctest-vn-41911049', 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=a646178e-1534-4d10-a22b...f0f&router%3Aexternal=True&name=ctest-vn-41911049'
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=a646178e-1534-4d10-a22b...f0f&router%3Aexternal=True&name=ctest-vn-41911049', 'GET'), **kwargs={'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a646178e-1534-4d10-a22b...f0f&router%3Aexternal=True&name=ctest-vn-41911049', 'GET')
kwargs = {'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, 'raise_exc': False}
/usr/local/lib/python3.6/site-packages/keystoneauth1/adapter.py in request(self=, url='/v2.0/networks?tenant_id=a646178e-1534-4d10-a22b...f0f&router%3Aexternal=True&name=ctest-vn-41911049', 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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a646178e-1534-4d10-a22b...f0f&router%3Aexternal=True&name=ctest-vn-41911049'
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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a6...f0f&router%3Aexternal=True&name=ctest-vn-41911049', 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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a6...f0f&router%3Aexternal=True&name=ctest-vn-41911049', 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': 'gAAAAABmzxGjMx5ugCLHwiVdtOZxW1sMPtek5etEcyintjvW...43XM5AFMRjsDQ6l3mdnCVDh2FubRO-vWXmFrw7JaYTZOf5oGU'}, '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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn-41911049: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn-41911049 (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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn-41911049 (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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn-41911049 (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/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 144, in test_ping_within_vn_two_vms_two_different_subnets
ipam_fq_name=ipam_obj.fq_name)
File "/contrail-test/common/base.py", line 204, in create_vn
**kwargs)
File "/contrail-test/common/base.py", line 197, in create_only_vn
vn_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=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn-41911049: HTTPConnectionPool(host='10.0.0.31', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=a646178e-1534-4d10-a22b-c063a3381f0f&router%3Aexternal=True&name=ctest-vn-41911049 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
2024-08-28 12:01:41,780 - DEBUG - No XMPP flaps were noticed during the test
2024-08-28 12:01:41,780 - INFO -
2024-08-28 12:01:41,780 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:01]
2024-08-28 12:01:41,780 - INFO - --------------------------------------------------------------------------------
2024-08-28 12:01:42,543 - INFO - Deleted project: ctest-TestBasicVMVN-08778897, ID : a646178e-1534-4d10-a22b-c063a3381f0f