2024-10-18 22:02:46,460 - INFO - Domain Default found not creating 2024-10-18 22:02:46,608 - INFO - Project ctest-TestBasicVMVNx-20646571 not found, creating it 2024-10-18 22:02:47,050 - 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/2b64444d-87dc-4172-8924-0732b84e0172 body {'exclude_back_refs': True, 'exclude_children': True} response Unknown id: 2b64444d-87dc-4172-8924-0732b84e0172 2024-10-18 22:02:52,116 - INFO - ================================================================================ 2024-10-18 22:02:52,116 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-18 22:02:52,116 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2024-10-18 22:02:52,273 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.20': '0'}} with 2024-10-18 22:02:52,273 - INFO - Initial checks done. Running the testcase now 2024-10-18 22:02:52,273 - INFO - 2024-10-18 22:02:52,839 - ERROR - NoIdError Python 3.6.8: /usr/bin/python3 Fri Oct 18 22:02:52 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/vm_regression/test_vm.py in test_vm_file_trf_scp_tests(self=) 2898 cmd_to_sync = [x] 2899 create_result = True 2900 vn_fixture = self.create_vn(orch=self.orchestrator) 2901 vm1_fixture = self.create_vm(vn_fixture=vn_fixture, 2902 image_name='ubuntu-sshpass', vn_fixture undefined self = self.create_vn = > orch undefined self.orchestrator = /contrail-test/common/base.py in create_vn(self=, vn_name=None, vn_subnets=None, cleanup=True, **kwargs={'orch': }) 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 = {'orch': } /contrail-test/common/base.py in create_only_vn(cls=, vn_name='ctest-vn-99257998', vn_subnets=None, **kwargs={'orch': }) 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=) 452 project_fqname = [self.domain_name, self.project_name] 453 self.project_obj = self.connections.vnc_lib_fixture.get_project_obj( 454 project_fqname) 455 if self.uuid: 456 return self.read() project_fqname = ['default-domain', 'ctest-TestBasicVMVNx-20646571'] /contrail-test/fixtures/vnc_api_test.py in get_project_obj(self=, project_fqname=['default-domain', 'ctest-TestBasicVMVNx-20646571']) 284 def get_project_obj(self, project_fqname=None): 285 if project_fqname: 286 return self.vnc_api_h.project_read(fq_name=project_fqname) 287 elif self.connections: 288 project_id = self.connections.project_id self = self.vnc_api_h = self.vnc_api_h.project_read = functools.partial(>, 'project') fq_name undefined project_fqname = ['default-domain', 'ctest-TestBasicVMVNx-20646571'] /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=, *args=('project',), **kwargs={'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20646571']}) 50 retry_on_error=False) 51 self._parse_homepage(homepage) 52 return func(self, *args, **kwargs) 53 return wrapper 54 func = self = args = ('project',) kwargs = {'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20646571']} /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _object_read(self=, res_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVNx-20646571'], fq_name_str=None, id=None, ifmap_id=None, fields=None, exclude_back_refs=True, exclude_children=True) 699 700 (args_ok, result) = self._read_args_to_id( 701 res_type, fq_name, fq_name_str, id, ifmap_id) 702 if not args_ok: 703 return result res_type = 'project' fq_name = ['default-domain', 'ctest-TestBasicVMVNx-20646571'] fq_name_str = None id = None ifmap_id = None /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _read_args_to_id(self=, res_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVNx-20646571'], fq_name_str=None, id=None, ifmap_id=None) 1112 return (True, id) 1113 if fq_name: 1114 return (True, self.fq_name_to_id(res_type, fq_name)) 1115 if fq_name_str: 1116 return (True, self.fq_name_to_id(res_type, fq_name_str.split(':'))) self = self.fq_name_to_id = > res_type = 'project' fq_name = ['default-domain', 'ctest-TestBasicVMVNx-20646571'] /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in wrapper(self=, *args=('project', ['default-domain', 'ctest-TestBasicVMVNx-20646571']), **kwargs={}) 50 retry_on_error=False) 51 self._parse_homepage(homepage) 52 return func(self, *args, **kwargs) 53 return wrapper 54 func = self = args = ('project', ['default-domain', 'ctest-TestBasicVMVNx-20646571']) kwargs = {} /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in fq_name_to_id(self=, obj_type='project', fq_name=['default-domain', 'ctest-TestBasicVMVNx-20646571']) 1393 uri = self._action_uri['name-to-id'] 1394 try: 1395 content = self._request_server(OP_POST, uri, data=json_body) 1396 except HttpError as he: 1397 if he.status_code == 404: content undefined self = self._request_server = > global OP_POST = 1 uri = '/fqname-to-id' data undefined json_body = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}' /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request_server(self=, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}', retry_on_error=True, retry_after_authn=False, retry_count=30) 1126 return self._request( 1127 op, url, data=data, retry_on_error=retry_on_error, 1128 retry_after_authn=retry_after_authn, retry_count=retry_count) 1129 # end _request_server 1130 retry_after_authn = False retry_count = 30 /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}', retry_on_error=True, retry_after_authn=False, retry_count=30) 1174 # Recursive call after authentication (max 1 level) 1175 content = self._request( 1176 op, url, data=data, retry_after_authn=True) 1177 1178 return content op = 1 url = '/fqname-to-id' data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}' retry_after_authn = False /usr/lib/python3.6/site-packages/vnc_api/vnc_api.py in _request(self=, op=1, url='/fqname-to-id', data='{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}', retry_on_error=True, retry_after_authn=True, retry_count=30) 1179 elif status == 404: 1180 raise NoIdError('Error: oper %s url %s body %s response %s' 1181 % (op, url, data, content)) 1182 elif status == 403: 1183 raise PermissionDenied(content) op = 1 url = '/fqname-to-id' data = '{"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]}' content = "Name ['default-domain', 'ctest-TestBasicVMVNx-20646571'] not found" NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]} response Name ['default-domain', 'ctest-TestBasicVMVNx-20646571'] not found __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'_unknown_id': 'Error: oper 1 url /fqname-to-id body {"type": "p...main\', \'ctest-TestBasicVMVNx-20646571\'] not found'} __dir__ = __doc__ = None __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'vnc_api.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None _unknown_id = 'Error: oper 1 url /fqname-to-id body {"type": "p...main\', \'ctest-TestBasicVMVNx-20646571\'] not found' args = ('Error: oper 1 url /fqname-to-id body {"type": "p...main\', \'ctest-TestBasicVMVNx-20646571\'] 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/vm_regression/test_vm.py", line 2900, in test_vm_file_trf_scp_tests vn_fixture = self.create_vn(orch=self.orchestrator) 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 454, in create project_fqname) File "/contrail-test/fixtures/vnc_api_test.py", line 286, in get_project_obj return self.vnc_api_h.project_read(fq_name=project_fqname) 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 701, in _object_read res_type, fq_name, fq_name_str, id, ifmap_id) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id return (True, self.fq_name_to_id(res_type, fq_name)) 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 1395, in fq_name_to_id content = self._request_server(OP_POST, uri, data=json_body) 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 1176, in _request op, url, data=data, retry_after_authn=True) 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 1 url /fqname-to-id body {"type": "project", "fq_name": ["default-domain", "ctest-TestBasicVMVNx-20646571"]} response Name ['default-domain', 'ctest-TestBasicVMVNx-20646571'] not found 2024-10-18 22:02:52,846 - DEBUG - No XMPP flaps were noticed during the test 2024-10-18 22:02:52,846 - INFO -
2024-10-18 22:02:52,846 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:00]
2024-10-18 22:02:52,851 - INFO - --------------------------------------------------------------------------------