2024-08-27 17:23:11,593 - INFO - Domain Default found not creating 2024-08-27 17:23:11,746 - INFO - Project ctest-TestvDNSBasic0-97934736 not found, creating it 2024-08-27 17:23:12,221 - INFO - Created Project:ctest-TestvDNSBasic0-97934736, ID : 4b897751-4831-4ad1-9b68-528251ee881c 2024-08-27 17:23:13,723 - INFO - ================================================================================ 2024-08-27 17:23:13,723 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-08-27 17:23:13,723 - INFO - TEST DESCRIPTION : Test:- Test vdns functionality. On VM launch agent should dynamically update dns records to dns agent 1. Create vDNS server 2. Create IPAM using above vDNS data 3. Create VN using above IPAM and launch 2 VM's within it 4. Ping between these 2 VM's using dns name 5. Try to delete vDNS server which has IPAM back-reference[Negative case] 6. Add CNAME VDNS record for vm1-test and verify we able to ping by alias name Pass criteria: Step 4,5 and 6 should pass Maintainer: cf-test@juniper.net 2024-08-27 17:23:13,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.18': '0'}} with 2024-08-27 17:23:13,855 - INFO - Initial checks done. Running the testcase now 2024-08-27 17:23:13,855 - INFO - 2024-08-27 17:23:14,576 - INFO - Using existing project ['default-domain', 'ctest-TestvDNSBasic0-97934736'](4b897751-4831-4ad1-9b68-528251ee881c) 2024-08-27 17:23:14,632 - DEBUG - Creating VDNS : ctest-vdns1-72781954 2024-08-27 17:23:14,844 - DEBUG - VDNS: ['default-domain', 'ctest-vdns1-72781954'] created succesfully 2024-08-27 17:23:14,844 - DEBUG - Verify VDNS entry is shown in control node 2024-08-27 17:23:14,844 - DEBUG - Requesting: http://10.0.0.48:8083/Snh_IFMapTableShowReq?table_name=virtual-DNS&search_string=virtual-DNS:default-domain:ctest-vdns1-72781954 2024-08-27 17:23:14,851 - DEBUG - Verify VDNS entry is shown in the API server 2024-08-27 17:23:14,851 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-27 17:23:15,148 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-27 17:23:15,177 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0a354e77-ac24-40e3-b45c-ea234b596c85 2024-08-27 17:23:15,194 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-DNS/db742522-4c46-485c-8df4-1e903f6dfbd2 2024-08-27 17:23:15,729 - DEBUG - Deleting VDNS Entry: ctest-vdns1-72781954 2024-08-27 17:23:15,804 - INFO - VDNS info: ['default-domain', 'ctest-vdns1-72781954'] deleted successfully. 2024-08-27 17:23:15,804 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-08-27 17:23:15,811 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0a354e77-ac24-40e3-b45c-ea234b596c85 2024-08-27 17:23:15,823 - DEBUG - VDNS information not found in API server 2024-08-27 17:23:15,823 - INFO - VDNS information ctest-vdns1-72781954 removed from the API Server 2024-08-27 17:23:15,824 - DEBUG - Requesting: http://10.0.0.48:8083/Snh_IFMapTableShowReq?table_name=virtual-DNS&search_string=virtual-DNS:default-domain:ctest-vdns1-72781954 2024-08-27 17:23:15,829 - INFO - VDNS information ctest-vdns1-72781954 removed in the Control node 2024-08-27 17:23:15,829 - DEBUG - Skipping the deletion of Project ['default-domain', 'ctest-TestvDNSBasic0-97934736'] 2024-08-27 17:23:15,953 - ERROR - ConnectFailure Python 3.6.8: /usr/bin/python3 Tue Aug 27 17:23:15 2024 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 79 log.info('Initial checks done. Running the testcase now') 80 log.info('') 81 result = function(self, *args, **kwargs) 82 if self.inputs.upgrade: 83 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/vdns/test_vdns_basic.py in test_vdns_ping_same_vn(self=) 98 VNFixture( 99 self.connections, self.inputs, 100 vn_name=vn_name, subnets=[vn1_ip], ipam_fq_name=ipam_fixt1.fq_name)) 101 vm_fixture = {} 102 # Launch VM with VN Created above. This test verifies on launch of VM agent should updated DNS 'A' and 'PTR' records vn_name = 'ctest-vn1-vdns-75346596' subnets undefined vn1_ip = '10.10.10.0/24' ipam_fq_name undefined ipam_fixt1 = ipam_fixt1.fq_name = ['default-domain', 'ctest-TestvDNSBasic0-97934736', 'ipam1'] /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 = '4b897751-4831-4ad1-9b68-528251ee881c' /contrail-test/fixtures/openstack.py in get_vn_obj_if_present(self=, vn_name='ctest-vn1-vdns-75346596', option='orch', **kwargs={'project_id': '4b897751-4831-4ad1-9b68-528251ee881c'}) 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-vn1-vdns-75346596' kwargs = {'project_id': '4b897751-4831-4ad1-9b68-528251ee881c'} /contrail-test/fixtures/quantum_test.py in get_vn_obj_if_present(self=, vn_name='ctest-vn1-vdns-75346596', project_id='4b897751-4831-4ad1-9b68-528251ee881c', 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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in list_networks(self=, retrieve_all=True, **_params={'name': 'ctest-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'}) 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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'} /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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'}) 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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in _pagination(self=, collection='networks', path='/networks', **params={'name': 'ctest-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'}) 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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in get(self=, action='/networks', body=None, headers=None, params={'name': 'ctest-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'}) 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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'} /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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'}) 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-vn1-vdns-75346596', 'router:external': True, 'tenant_id': '4b897751-4831-4ad1-9b68-528251ee881c'} /usr/local/lib/python3.6/site-packages/neutronclient/v2_0/client.py in do_request(self=, method='GET', action='/v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596', body=None, headers=None, params={'name': b'ctest-vn1-vdns-75346596', 'router:external': True, 'tenant_id': b'4b897751-4831-4ad1-9b68-528251ee881c'}) 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=4b897751-4831-4ad1-9b68...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596', 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=4b897751-4831-4ad1-9b68...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596' 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=4b897751-4831-4ad1-9b68...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596', 'GET'), **kwargs={'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzguBOUwJEMby0C1NpD2_Cu6-VECOp1zlihOWcJq-...AqyNycR9XRCorvWANBdIpddm1xVT3ZBsN6hDXS_HDJ9qIqktQ'}, '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=4b897751-4831-4ad1-9b68...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596', 'GET') kwargs = {'authenticated': True, 'data': None, 'headers': {'Accept': 'application/json', 'User-Agent': 'python-neutronclient', 'X-Auth-Token': 'gAAAAABmzguBOUwJEMby0C1NpD2_Cu6-VECOp1zlihOWcJq-...AqyNycR9XRCorvWANBdIpddm1xVT3ZBsN6hDXS_HDJ9qIqktQ'}, 'raise_exc': False} /usr/local/lib/python3.6/site-packages/keystoneauth1/adapter.py in request(self=, url='/v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596', 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': 'gAAAAABmzguBOUwJEMby0C1NpD2_Cu6-VECOp1zlihOWcJq-...AqyNycR9XRCorvWANBdIpddm1xVT3ZBsN6hDXS_HDJ9qIqktQ'}, '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=4b897751-4831-4ad1-9b68...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596' 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': 'gAAAAABmzguBOUwJEMby0C1NpD2_Cu6-VECOp1zlihOWcJq-...AqyNycR9XRCorvWANBdIpddm1xVT3ZBsN6hDXS_HDJ9qIqktQ'}, '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.48:9696/v2.0/networks?tenant_id=4b...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596', 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': 'gAAAAABmzguBOUwJEMby0C1NpD2_Cu6-VECOp1zlihOWcJq-...AqyNycR9XRCorvWANBdIpddm1xVT3ZBsN6hDXS_HDJ9qIqktQ'}, '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': 'gAAAAABmzguBOUwJEMby0C1NpD2_Cu6-VECOp1zlihOWcJq-...AqyNycR9XRCorvWANBdIpddm1xVT3ZBsN6hDXS_HDJ9qIqktQ'}, 'verify': False} /usr/local/lib/python3.6/site-packages/keystoneauth1/session.py in _send_request(self=, url='http://10.0.0.48:9696/v2.0/networks?tenant_id=4b...uter%3Aexternal=True&name=ctest-vn1-vdns-75346596', 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': 'gAAAAABmzguBOUwJEMby0C1NpD2_Cu6-VECOp1zlihOWcJq-...AqyNycR9XRCorvWANBdIpddm1xVT3ZBsN6hDXS_HDJ9qIqktQ'}, '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.48:9696/v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68-528251ee881c&router%3Aexternal=True&name=ctest-vn1-vdns-75346596: HTTPConnectionPool(host='10.0.0.48', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68-528251ee881c&router%3Aexternal=True&name=ctest-vn1-vdns-75346596 (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.48', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68-528251ee881c&router%3Aexternal=True&name=ctest-vn1-vdns-75346596 (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.48', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68-528251ee881c&router%3Aexternal=True&name=ctest-vn1-vdns-75346596 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vdns/test_vdns_basic.py", line 100, in test_vdns_ping_same_vn vn_name=vn_name, subnets=[vn1_ip], ipam_fq_name=ipam_fixt1.fq_name)) 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.48:9696/v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68-528251ee881c&router%3Aexternal=True&name=ctest-vn1-vdns-75346596: HTTPConnectionPool(host='10.0.0.48', port=9696): Max retries exceeded with url: /v2.0/networks?tenant_id=4b897751-4831-4ad1-9b68-528251ee881c&router%3Aexternal=True&name=ctest-vn1-vdns-75346596 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) 2024-08-27 17:23:15,961 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 17:23:15,961 - INFO - 2024-08-27 17:23:15,961 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:02] 2024-08-27 17:23:15,961 - INFO - -------------------------------------------------------------------------------- 2024-08-27 17:23:16,623 - INFO - Deleted project: ctest-TestvDNSBasic0-97934736, ID : 4b897751-4831-4ad1-9b68-528251ee881c