2024-10-18 22:02:42,163 - INFO - Domain Default found not creating 2024-10-18 22:02:42,301 - INFO - Project ctest-TestvDNSBasic0-85736515 not found, creating it 2024-10-18 22:02:42,367 - ERROR - Exception while creating project Traceback (most recent call last): File "/contrail-test/common/isolated_creds.py", line 184, in create_tenant project.setUp() File "/contrail-test/fixtures/project_test.py", line 99, in setUp self.create() File "/contrail-test/fixtures/project_test.py", line 133, in create self._create_project() File "/contrail-test/fixtures/project_test.py", line 70, in _create_project self.project_obj = self.vnc_lib_fixture.project_read(id=self.uuid) File "/contrail-test/fixtures/vnc_api_test.py", line 238, in hook return act_attr(*args, **kwargs) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 728, in _object_read response = self._request_server(OP_GET, uri, query_params) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server retry_after_authn=retry_after_authn, retry_count=retry_count) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request % (op, url, data, content)) vnc_api.exceptions.NoIdError: Unknown id: Error: oper 2 url /project/96c134ef-83b5-4c04-bdd0-fc43525afd1b body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: 96c134ef-83b5-4c04-bdd0-fc43525afd1b 2024-10-18 22:02:44,251 - INFO - ================================================================================ 2024-10-18 22:02:44,251 - INFO - STARTING TEST : test_vdns_ping_same_vn 2024-10-18 22:02:44,251 - 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-10-18 22:02:44,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.20': '0'}} with 2024-10-18 22:02:44,388 - INFO - Initial checks done. Running the testcase now 2024-10-18 22:02:44,388 - INFO - 2024-10-18 22:02:46,376 - ERROR - Exception Python 3.6.8: /usr/bin/python3 Fri Oct 18 22:02:46 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=) 79 rev_zone = rev_zone + '.in-addr.arpa' 80 proj_fixt = self.useFixture(ProjectFixture( 81 project_name=self.inputs.project_name, connections=self.connections)) 82 proj_connections = proj_fixt.get_project_connections() 83 dns_data = VirtualDnsType( project_name undefined self = self.inputs = self.inputs.project_name = 'ctest-TestvDNSBasic0-85736515' connections undefined self.connections = /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 = (, Exception('Project ctest-TestvDNSBasic0-85736515 not found',), ) /usr/local/lib/python3.6/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=Exception('Project ctest-TestvDNSBasic0-85736515 not found',), 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 = Exception('Project ctest-TestvDNSBasic0-85736515 not found',) 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/project_test.py in setUp(self=) 97 def setUp(self): 98 super(ProjectFixture, self).setUp() 99 self.create() 100 101 def read(self): self = self.create = > /contrail-test/fixtures/project_test.py in create(self=) 127 self.project_fq_name, self.uuid)) 128 elif self.project_name == self.inputs.stack_tenant: 129 raise Exception('Project %s not found' % (self.project_name)) 130 else: 131 self.logger.info('Project %s not found, creating it' % ( builtinException = self = self.project_name = 'ctest-TestvDNSBasic0-85736515' Exception: Project ctest-TestvDNSBasic0-85736515 not found __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Common base class for all non-exit exceptions.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ('Project ctest-TestvDNSBasic0-85736515 not found',) 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 "/contrail-test/tcutils/wrappers.py", line 81, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vdns/test_vdns_basic.py", line 81, in test_vdns_ping_same_vn project_name=self.inputs.project_name, connections=self.connections)) 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/project_test.py", line 99, in setUp self.create() File "/contrail-test/fixtures/project_test.py", line 129, in create raise Exception('Project %s not found' % (self.project_name)) Exception: Project ctest-TestvDNSBasic0-85736515 not found 2024-10-18 22:02:46,383 - DEBUG - No XMPP flaps were noticed during the test 2024-10-18 22:02:46,384 - INFO - 2024-10-18 22:02:46,384 - INFO - END TEST : test_vdns_ping_same_vn : FAILED[0:00:02] 2024-10-18 22:02:46,384 - INFO - --------------------------------------------------------------------------------