2025-08-27 14:16:49,619 - INFO - Domain Default found not creating 2025-08-27 14:16:49,749 - INFO - Project ctest-TestBasicVMVN-79851289 not found, creating it 2025-08-27 14:16:50,177 - INFO - Created Project:ctest-TestBasicVMVN-79851289, ID : 825c74a0-d604-4eae-93f1-1c37b925a73c 2025-08-27 14:16:51,513 - INFO - ================================================================================ 2025-08-27 14:16:51,513 - INFO - STARTING TEST : test_generic_link_local_service 2025-08-27 14:16:51,513 - 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 2025-08-27 14:16:51,637 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 14:16:51,637 - INFO - Initial checks done. Running the testcase now 2025-08-27 14:16:51,637 - INFO - 2025-08-27 14:16:52,184 - DEBUG - Response for create_network : {'network': {'id': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487', 'name': 'ctest-vn2_metadata-99956979', 'tenant_id': '825c74a0d6044eae93f11c37b925a73c', 'project_id': '825c74a0d6044eae93f11c37b925a73c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-79851289', 'ctest-vn2_metadata-99956979'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 14:16:52,353 - ERROR - Neutron Exception while creating subnet for vn with id cd6a4694-0d7a-4b0a-bfb2-3d6e21073487 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet subnet_rsp = self.obj.create_subnet({'subnet': subnet_req}) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet return self.post(self.subnets_path, body=body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-f87530e0-1691-4acb-baf0-3d849efe176e'] 2025-08-27 14:16:52,367 - INFO - Created VN ctest-vn2_metadata-99956979 2025-08-27 14:16:52,419 - DEBUG - VN ctest-vn2_metadata-99956979 UUID is cd6a4694-0d7a-4b0a-bfb2-3d6e21073487 2025-08-27 14:16:52,603 - DEBUG - Services list from nova: [, , ] 2025-08-27 14:16:52,704 - INFO - Deleting VN ctest-vn2_metadata-99956979 2025-08-27 14:16:52,771 - DEBUG - Response for deleting network () 2025-08-27 14:16:52,891 - ERROR - BadRequest Python 3.9.21: /usr/bin/python3 Wed Aug 27 14:16:52 2025 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=) 275 vn_name=vn_name, inputs=self.inputs, subnets=vn_subnets)) 276 vn_obj = vn_fixture.obj 277 vm1_fixture = self.create_vm(vn_ids=[vn_fixture.uuid], image_name='cirros') 278 279 lls_service_name = 'introspect' vm1_fixture undefined self = self.create_vm = > vn_ids undefined vn_fixture = vn_fixture.uuid = 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487' image_name undefined /contrail-test/common/base.py in create_vm(self=, vn_fixture=None, vm_name=None, image_name='cirros', port_ids=None, **kwargs={'vn_ids': ['cd6a4694-0d7a-4b0a-bfb2-3d6e21073487']}) 275 assert port_obj.verify_on_setup() 276 port_ids = [port_obj.uuid] 277 vm_fixture = self.create_only_vm(vn_fixture=vn_fixture, 278 vm_name=vm_name, 279 image_name=image_name, vm_fixture undefined self = self.create_only_vm = > vn_fixture = None vm_name = None image_name = 'cirros' port_ids = None kwargs = {'vn_ids': ['cd6a4694-0d7a-4b0a-bfb2-3d6e21073487']} /contrail-test/common/base.py in create_only_vm(cls=, vn_fixture=None, vm_name=None, image_name='cirros', **kwargs={'port_ids': None, 'vn_ids': ['cd6a4694-0d7a-4b0a-bfb2-3d6e21073487']}) 252 image_name=image_name, 253 **kwargs) 254 vm_obj.setUp() 255 return vm_obj 256 # end create_only_vm vm_obj = vm_obj.setUp = > /contrail-test/fixtures/vm_test.py in setUp(self=) 191 def setUp(self): 192 super(VMFixture, self).setUp() 193 self.create() 194 195 def create(self): self = self.create = > /contrail-test/fixtures/vm_test.py in create(self=) 231 self.port_ids = port_ids 232 233 objs = self.orch.create_vm( 234 project_uuid=self.project_id, 235 image_name=self.image_name, objs undefined self = self.orch = self.orch.create_vm = > project_uuid undefined self.project_id = '825c74a0-d604-4eae-93f1-1c37b925a73c' image_name undefined self.image_name = 'cirros' flavor undefined self.flavor = 'contrail_flavor_tiny' vm_name undefined self.vm_name = 'ctest-TestBasicVMVN-79851289-52564632' vn_objs undefined self.vn_objs = [{'network': {'id': 'cd6a4694-0d7a-4b0a-bfb2-3d6e...port_security_enabled': True, 'description': ''}}] node_name undefined self.node_name = None zone undefined self.zone = None sg_ids undefined self.sg_ids = [] count undefined self.count = 1 userdata undefined self.userdata = None port_ids undefined self.port_ids = None fixed_ips undefined self.fixed_ips = [] /contrail-test/fixtures/openstack.py in create_vm(self=, vm_name='ctest-TestBasicVMVN-79851289-52564632', image_name='cirros', vn_objs=[{'network': {'id': 'cd6a4694-0d7a-4b0a-bfb2-3d6e...port_security_enabled': True, 'description': ''}}], **kwargs={'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_tiny', 'node_name': None, 'port_ids': None, 'project_uuid': '825c74a0-d604-4eae-93f1-1c37b925a73c', 'sg_ids': [], 'userdata': None, 'zone': None}) 116 except Exception as e: 117 vn_ids.append(vn.uuid) #For the case of VcenterVN obnect in vrouter gw case 118 return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs) 119 120 def delete_vm(self, vm_obj, **kwargs): self = self.nova_h = self.nova_h.create_vm = > vm_name = 'ctest-TestBasicVMVN-79851289-52564632' image_name = 'cirros' vn_ids = ['cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'] kwargs = {'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_tiny', 'node_name': None, 'port_ids': None, 'project_uuid': '825c74a0-d604-4eae-93f1-1c37b925a73c', 'sg_ids': [], 'userdata': None, 'zone': None} /contrail-test/fixtures/nova_test.py in create_vm(self=, project_uuid='825c74a0-d604-4eae-93f1-1c37b925a73c', image_name='cirros', vm_name='ctest-TestBasicVMVN-79851289-52564632', vn_ids=['cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'], node_name='cn-jenkins-deploy-platform-ansible-os-3949-1', sg_ids=[], count=1, userdata=None, flavor=, port_ids=None, fixed_ips=[], zone='nova:cn-jenkins-deploy-platform-ansible-os-3949-1') 604 605 zone = zone + ":" + node_name if node_name else zone 606 self.obj.servers.create(name=vm_name, image=image, 607 security_groups=sg_ids, 608 flavor=flavor, nics=nics_list, self = self.obj = self.obj.servers = self.obj.servers.create = > name undefined vm_name = 'ctest-TestBasicVMVN-79851289-52564632' image = security_groups undefined sg_ids = [] flavor = nics undefined nics_list = [{'net-id': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}] config_drive = False key_name undefined self.key = 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1' availability_zone undefined zone = 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1' min_count undefined count = 1 max_count undefined userdata = None /usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py in create(self=, name='ctest-TestBasicVMVN-79851289-52564632', image=, flavor=, meta=None, files=None, reservation_id=False, min_count=1, max_count=1, security_groups=[], userdata=None, key_name='ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', availability_zone='nova:cn-jenkins-deploy-platform-ansible-os-3949-1', block_device_mapping=None, block_device_mapping_v2=None, nics=[{'net-id': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}], scheduler_hints=None, config_drive=False, disk_config=None, admin_pass=None, access_ip_v4=None, access_ip_v6=None, trusted_image_certificates=None, host=None, hypervisor_hostname=None, **kwargs={}) 1479 1480 response_key = "server" if not reservation_id else "reservation_id" 1481 return self._boot(response_key, *boot_args, **boot_kwargs) 1482 1483 @api_versions.wraps("2.0", "2.18") self = self._boot = > response_key = 'server' boot_args = ['ctest-TestBasicVMVN-79851289-52564632', , ] boot_kwargs = {'access_ip_v4': None, 'access_ip_v6': None, 'admin_pass': None, 'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'config_drive': False, 'disk_config': None, 'files': None, 'host': None, 'hypervisor_hostname': None, 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', ...} /usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py in _boot(self=, response_key='server', name='ctest-TestBasicVMVN-79851289-52564632', image=, flavor=, meta=None, files=None, userdata=None, reservation_id=False, return_raw=False, min_count=1, max_count=1, security_groups=[], key_name='ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', availability_zone='nova:cn-jenkins-deploy-platform-ansible-os-3949-1', block_device_mapping=None, block_device_mapping_v2=None, nics=[{'net-id': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}], scheduler_hints=None, config_drive=False, admin_pass=None, disk_config=None, access_ip_v4=None, access_ip_v6=None, description=None, tags=None, trusted_image_certificates=None, host=None, hypervisor_hostname=None, **kwargs={}) 843 body['server']['hypervisor_hostname'] = hypervisor_hostname 844 845 return self._create('/servers', body, response_key, 846 return_raw=return_raw, **kwargs) 847 self = self._create = > body = {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-52564632', 'networks': [{'uuid': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}]}} response_key = 'server' return_raw = False kwargs = {} /usr/local/lib/python3.9/site-packages/novaclient/base.py in _create(self=, url='/servers', body={'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-52564632', 'networks': [{'uuid': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}]}}, response_key='server', return_raw=False, obj_class=None, **kwargs={}) 362 obj_class=None, **kwargs): 363 self.run_hooks('modify_body_for_create', body, **kwargs) 364 resp, body = self.api.client.post(url, body=body) 365 if return_raw: 366 return self.convert_into_with_meta(body[response_key], resp) resp undefined body = {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-52564632', 'networks': [{'uuid': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}]}} self = self.api = self.api.client = self.api.client.post = > url = '/servers' /usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py in post(self=, url='/servers', **kwargs={'body': {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-52564632', 'networks': [{'uuid': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}]}}}) 390 391 def post(self, url, **kwargs): 392 return self.request(url, 'POST', **kwargs) 393 394 def put(self, url, **kwargs): self = self.request = > url = '/servers' kwargs = {'body': {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-52564632', 'networks': [{'uuid': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}]}}} /usr/local/lib/python3.9/site-packages/novaclient/client.py in request(self=, url='/servers', method='POST', **kwargs={'body': {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-52564632', 'networks': [{'uuid': 'cd6a4694-0d7a-4b0a-bfb2-3d6e21073487'}]}}, 'headers': {'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'python-novaclient', 'X-Auth-Token': 'gAAAAABorxNTYpxtT4tirerZ6gabdduRVZ797I9H9uipuGri...YtTe4Vulb_r4IEK5WpPcygjxGoT8-m9TnqHPByiudPdfNLuQk'}}) 76 # api_versions.check_headers(resp, self.api_version) 77 if raise_exc and resp.status_code >= 400: 78 raise exceptions.from_response(resp, body, url, method) 79 80 return resp, body global exceptions = exceptions.from_response = resp = body = {'badRequest': {'code': 400, 'message': 'Network cd6a4694-0d7a-4b0a-bfb2-3d6e21073487 requires a subnet in order to boot instances on.'}} url = '/servers' method = 'POST' BadRequest: Network cd6a4694-0d7a-4b0a-bfb2-3d6e21073487 requires a subnet in order to boot instances on. (HTTP 400) (Request-ID: req-ed4ab72b-2464-4b5e-b935-a68e2b0de9a7) __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'code': 400, 'details': None, 'message': 'Network cd6a4694-0d7a-4b0a-bfb2-3d6e21073487 requires a subnet in order to boot instances on.', 'method': 'POST', 'request_id': 'req-ed4ab72b-2464-4b5e-b935-a68e2b0de9a7', 'url': '/servers'} __dir__ = __doc__ = '\n HTTP 400 - Bad request: you sent some malformed data.\n ' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'novaclient.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None args = () code = 400 details = None http_status = 400 message = 'Network cd6a4694-0d7a-4b0a-bfb2-3d6e21073487 requires a subnet in order to boot instances on.' method = 'POST' request_id = 'req-ed4ab72b-2464-4b5e-b935-a68e2b0de9a7' url = '/servers' 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 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 277, in test_generic_link_local_service vm1_fixture = self.create_vm(vn_ids=[vn_fixture.uuid], image_name='cirros') File "/contrail-test/common/base.py", line 277, in create_vm vm_fixture = self.create_only_vm(vn_fixture=vn_fixture, File "/contrail-test/common/base.py", line 254, in create_only_vm vm_obj.setUp() File "/contrail-test/fixtures/vm_test.py", line 193, in setUp self.create() File "/contrail-test/fixtures/vm_test.py", line 233, in create objs = self.orch.create_vm( File "/contrail-test/fixtures/openstack.py", line 118, in create_vm return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs) File "/contrail-test/fixtures/nova_test.py", line 606, in create_vm self.obj.servers.create(name=vm_name, image=image, File "/usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py", line 1481, in create return self._boot(response_key, *boot_args, **boot_kwargs) File "/usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py", line 845, in _boot return self._create('/servers', body, response_key, File "/usr/local/lib/python3.9/site-packages/novaclient/base.py", line 364, in _create resp, body = self.api.client.post(url, body=body) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py", line 392, in post return self.request(url, 'POST', **kwargs) File "/usr/local/lib/python3.9/site-packages/novaclient/client.py", line 78, in request raise exceptions.from_response(resp, body, url, method) novaclient.exceptions.BadRequest: Network cd6a4694-0d7a-4b0a-bfb2-3d6e21073487 requires a subnet in order to boot instances on. (HTTP 400) (Request-ID: req-ed4ab72b-2464-4b5e-b935-a68e2b0de9a7) 2025-08-27 14:16:52,897 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 14:16:52,897 - INFO - 2025-08-27 14:16:52,897 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:01] 2025-08-27 14:16:52,897 - INFO - -------------------------------------------------------------------------------- 2025-08-27 14:16:52,899 - INFO - ================================================================================ 2025-08-27 14:16:52,900 - INFO - STARTING TEST : test_metadata_service 2025-08-27 14:16:52,900 - 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 2025-08-27 14:16:53,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 14:16:53,052 - INFO - Initial checks done. Running the testcase now 2025-08-27 14:16:53,052 - INFO - 2025-08-27 14:16:53,052 - DEBUG - Requesting: http://10.0.0.38:8082/global-vrouter-configs 2025-08-27 14:16:53,342 - DEBUG - Requesting: http://10.0.0.38:8082/global-vrouter-configs 2025-08-27 14:16:53,365 - DEBUG - Requesting: http://10.0.0.38:8082/global-vrouter-config/b2315f63-9d31-4a30-819c-9a4f1dbfeda8 2025-08-27 14:16:53,511 - DEBUG - Response for create_network : {'network': {'id': 'b36cd0cd-9abb-48ed-80df-39516194a902', 'name': 'ctest-vn-31707740', 'tenant_id': '825c74a0d6044eae93f11c37b925a73c', 'project_id': '825c74a0d6044eae93f11c37b925a73c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-79851289', 'ctest-vn-31707740'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 14:16:53,631 - ERROR - Neutron Exception while creating subnet for vn with id b36cd0cd-9abb-48ed-80df-39516194a902 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet subnet_rsp = self.obj.create_subnet({'subnet': subnet_req}) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet return self.post(self.subnets_path, body=body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-3e45c8b4-11eb-48c5-83f9-cb6321f62ef1'] 2025-08-27 14:16:53,645 - INFO - Created VN ctest-vn-31707740 2025-08-27 14:16:53,699 - DEBUG - VN ctest-vn-31707740 UUID is b36cd0cd-9abb-48ed-80df-39516194a902 2025-08-27 14:16:54,041 - INFO - Deleting VN ctest-vn-31707740 2025-08-27 14:16:54,117 - DEBUG - Response for deleting network () 2025-08-27 14:16:54,235 - ERROR - BadRequest Python 3.9.21: /usr/bin/python3 Wed Aug 27 14:16:54 2025 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=) 52 53 vn_fixture = self.create_vn(af='v4') 54 vm1_fixture = self.create_vm(vn_fixture=vn_fixture, 55 image_name='cirros', 56 userdata='/tmp/metadata_script.txt') vm1_fixture undefined self = self.create_vm = > vn_fixture = image_name undefined userdata undefined /contrail-test/common/base.py in create_vm(self=, vn_fixture=, vm_name=None, image_name='cirros', port_ids=None, **kwargs={'userdata': '/tmp/metadata_script.txt'}) 275 assert port_obj.verify_on_setup() 276 port_ids = [port_obj.uuid] 277 vm_fixture = self.create_only_vm(vn_fixture=vn_fixture, 278 vm_name=vm_name, 279 image_name=image_name, vm_fixture undefined self = self.create_only_vm = > vn_fixture = vm_name = None image_name = 'cirros' port_ids = None kwargs = {'userdata': '/tmp/metadata_script.txt'} /contrail-test/common/base.py in create_only_vm(cls=, vn_fixture=, vm_name=None, image_name='cirros', **kwargs={'port_ids': None, 'userdata': '/tmp/metadata_script.txt'}) 252 image_name=image_name, 253 **kwargs) 254 vm_obj.setUp() 255 return vm_obj 256 # end create_only_vm vm_obj = vm_obj.setUp = > /contrail-test/fixtures/vm_test.py in setUp(self=) 191 def setUp(self): 192 super(VMFixture, self).setUp() 193 self.create() 194 195 def create(self): self = self.create = > /contrail-test/fixtures/vm_test.py in create(self=) 231 self.port_ids = port_ids 232 233 objs = self.orch.create_vm( 234 project_uuid=self.project_id, 235 image_name=self.image_name, objs undefined self = self.orch = self.orch.create_vm = > project_uuid undefined self.project_id = '825c74a0-d604-4eae-93f1-1c37b925a73c' image_name undefined self.image_name = 'cirros' flavor undefined self.flavor = 'contrail_flavor_tiny' vm_name undefined self.vm_name = 'ctest-TestBasicVMVN-79851289-37745285' vn_objs undefined self.vn_objs = [{'network': {'id': 'b36cd0cd-9abb-48ed-80df-3951...port_security_enabled': True, 'description': ''}}] node_name undefined self.node_name = None zone undefined self.zone = None sg_ids undefined self.sg_ids = [] count undefined self.count = 1 userdata undefined self.userdata = '/tmp/metadata_script.txt' port_ids undefined self.port_ids = None fixed_ips undefined self.fixed_ips = [] /contrail-test/fixtures/openstack.py in create_vm(self=, vm_name='ctest-TestBasicVMVN-79851289-37745285', image_name='cirros', vn_objs=[{'network': {'id': 'b36cd0cd-9abb-48ed-80df-3951...port_security_enabled': True, 'description': ''}}], **kwargs={'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_tiny', 'node_name': None, 'port_ids': None, 'project_uuid': '825c74a0-d604-4eae-93f1-1c37b925a73c', 'sg_ids': [], 'userdata': '/tmp/metadata_script.txt', 'zone': None}) 116 except Exception as e: 117 vn_ids.append(vn.uuid) #For the case of VcenterVN obnect in vrouter gw case 118 return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs) 119 120 def delete_vm(self, vm_obj, **kwargs): self = self.nova_h = self.nova_h.create_vm = > vm_name = 'ctest-TestBasicVMVN-79851289-37745285' image_name = 'cirros' vn_ids = ['b36cd0cd-9abb-48ed-80df-39516194a902'] kwargs = {'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_tiny', 'node_name': None, 'port_ids': None, 'project_uuid': '825c74a0-d604-4eae-93f1-1c37b925a73c', 'sg_ids': [], 'userdata': '/tmp/metadata_script.txt', 'zone': None} /contrail-test/fixtures/nova_test.py in create_vm(self=, project_uuid='825c74a0-d604-4eae-93f1-1c37b925a73c', image_name='cirros', vm_name='ctest-TestBasicVMVN-79851289-37745285', vn_ids=['b36cd0cd-9abb-48ed-80df-39516194a902'], node_name='cn-jenkins-deploy-platform-ansible-os-3949-1', sg_ids=[], count=1, userdata='#!/bin/sh\necho "Hello World. The time is now $(date -R)!" | tee /tmp/output.txt\n ', flavor=, port_ids=None, fixed_ips=[], zone='nova:cn-jenkins-deploy-platform-ansible-os-3949-1') 604 605 zone = zone + ":" + node_name if node_name else zone 606 self.obj.servers.create(name=vm_name, image=image, 607 security_groups=sg_ids, 608 flavor=flavor, nics=nics_list, self = self.obj = self.obj.servers = self.obj.servers.create = > name undefined vm_name = 'ctest-TestBasicVMVN-79851289-37745285' image = security_groups undefined sg_ids = [] flavor = nics undefined nics_list = [{'net-id': 'b36cd0cd-9abb-48ed-80df-39516194a902'}] config_drive = False key_name undefined self.key = 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1' availability_zone undefined zone = 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1' min_count undefined count = 1 max_count undefined userdata = '#!/bin/sh\necho "Hello World. The time is now $(date -R)!" | tee /tmp/output.txt\n ' /usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py in create(self=, name='ctest-TestBasicVMVN-79851289-37745285', image=, flavor=, meta=None, files=None, reservation_id=False, min_count=1, max_count=1, security_groups=[], userdata='#!/bin/sh\necho "Hello World. The time is now $(date -R)!" | tee /tmp/output.txt\n ', key_name='ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', availability_zone='nova:cn-jenkins-deploy-platform-ansible-os-3949-1', block_device_mapping=None, block_device_mapping_v2=None, nics=[{'net-id': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], scheduler_hints=None, config_drive=False, disk_config=None, admin_pass=None, access_ip_v4=None, access_ip_v6=None, trusted_image_certificates=None, host=None, hypervisor_hostname=None, **kwargs={}) 1479 1480 response_key = "server" if not reservation_id else "reservation_id" 1481 return self._boot(response_key, *boot_args, **boot_kwargs) 1482 1483 @api_versions.wraps("2.0", "2.18") self = self._boot = > response_key = 'server' boot_args = ['ctest-TestBasicVMVN-79851289-37745285', , ] boot_kwargs = {'access_ip_v4': None, 'access_ip_v6': None, 'admin_pass': None, 'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'config_drive': False, 'disk_config': None, 'files': None, 'host': None, 'hypervisor_hostname': None, 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', ...} /usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py in _boot(self=, response_key='server', name='ctest-TestBasicVMVN-79851289-37745285', image=, flavor=, meta=None, files=None, userdata='#!/bin/sh\necho "Hello World. The time is now $(date -R)!" | tee /tmp/output.txt\n ', reservation_id=False, return_raw=False, min_count=1, max_count=1, security_groups=[], key_name='ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', availability_zone='nova:cn-jenkins-deploy-platform-ansible-os-3949-1', block_device_mapping=None, block_device_mapping_v2=None, nics=[{'net-id': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], scheduler_hints=None, config_drive=False, admin_pass=None, disk_config=None, access_ip_v4=None, access_ip_v6=None, description=None, tags=None, trusted_image_certificates=None, host=None, hypervisor_hostname=None, **kwargs={}) 843 body['server']['hypervisor_hostname'] = hypervisor_hostname 844 845 return self._create('/servers', body, response_key, 846 return_raw=return_raw, **kwargs) 847 self = self._create = > body = {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-37745285', 'networks': [{'uuid': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], 'user_data': 'IyEvYmluL3NoCmVjaG8gIkhlbGxvIFdvcmxkLiAgVGhlIHRp...8IHRlZSAvdG1wL291dHB1dC50eHQKICAgICAgICAgICAgICAg'}} response_key = 'server' return_raw = False kwargs = {} /usr/local/lib/python3.9/site-packages/novaclient/base.py in _create(self=, url='/servers', body={'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-37745285', 'networks': [{'uuid': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], 'user_data': 'IyEvYmluL3NoCmVjaG8gIkhlbGxvIFdvcmxkLiAgVGhlIHRp...8IHRlZSAvdG1wL291dHB1dC50eHQKICAgICAgICAgICAgICAg'}}, response_key='server', return_raw=False, obj_class=None, **kwargs={}) 362 obj_class=None, **kwargs): 363 self.run_hooks('modify_body_for_create', body, **kwargs) 364 resp, body = self.api.client.post(url, body=body) 365 if return_raw: 366 return self.convert_into_with_meta(body[response_key], resp) resp undefined body = {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-37745285', 'networks': [{'uuid': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], 'user_data': 'IyEvYmluL3NoCmVjaG8gIkhlbGxvIFdvcmxkLiAgVGhlIHRp...8IHRlZSAvdG1wL291dHB1dC50eHQKICAgICAgICAgICAgICAg'}} self = self.api = self.api.client = self.api.client.post = > url = '/servers' /usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py in post(self=, url='/servers', **kwargs={'body': {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-37745285', 'networks': [{'uuid': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], 'user_data': 'IyEvYmluL3NoCmVjaG8gIkhlbGxvIFdvcmxkLiAgVGhlIHRp...8IHRlZSAvdG1wL291dHB1dC50eHQKICAgICAgICAgICAgICAg'}}}) 390 391 def post(self, url, **kwargs): 392 return self.request(url, 'POST', **kwargs) 393 394 def put(self, url, **kwargs): self = self.request = > url = '/servers' kwargs = {'body': {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-37745285', 'networks': [{'uuid': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], 'user_data': 'IyEvYmluL3NoCmVjaG8gIkhlbGxvIFdvcmxkLiAgVGhlIHRp...8IHRlZSAvdG1wL291dHB1dC50eHQKICAgICAgICAgICAgICAg'}}} /usr/local/lib/python3.9/site-packages/novaclient/client.py in request(self=, url='/servers', method='POST', **kwargs={'body': {'server': {'availability_zone': 'nova:cn-jenkins-deploy-platform-ansible-os-3949-1', 'flavorRef': '8db9f424-a0b7-44c4-bf21-409bd72f2095', 'imageRef': '5849dffd-e671-49d9-8759-09c120a3b4a0', 'key_name': 'ctest_ctest-TestBasicVMVN-79851289ctest-TestBasicVMVN-79851289key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestBasicVMVN-79851289-37745285', 'networks': [{'uuid': 'b36cd0cd-9abb-48ed-80df-39516194a902'}], 'user_data': 'IyEvYmluL3NoCmVjaG8gIkhlbGxvIFdvcmxkLiAgVGhlIHRp...8IHRlZSAvdG1wL291dHB1dC50eHQKICAgICAgICAgICAgICAg'}}, 'headers': {'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'python-novaclient', 'X-Auth-Token': 'gAAAAABorxNTYpxtT4tirerZ6gabdduRVZ797I9H9uipuGri...YtTe4Vulb_r4IEK5WpPcygjxGoT8-m9TnqHPByiudPdfNLuQk'}}) 76 # api_versions.check_headers(resp, self.api_version) 77 if raise_exc and resp.status_code >= 400: 78 raise exceptions.from_response(resp, body, url, method) 79 80 return resp, body global exceptions = exceptions.from_response = resp = body = {'badRequest': {'code': 400, 'message': 'Network b36cd0cd-9abb-48ed-80df-39516194a902 requires a subnet in order to boot instances on.'}} url = '/servers' method = 'POST' BadRequest: Network b36cd0cd-9abb-48ed-80df-39516194a902 requires a subnet in order to boot instances on. (HTTP 400) (Request-ID: req-ed594e05-7df5-485c-af4f-c9dd3918aa88) __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'code': 400, 'details': None, 'message': 'Network b36cd0cd-9abb-48ed-80df-39516194a902 requires a subnet in order to boot instances on.', 'method': 'POST', 'request_id': 'req-ed594e05-7df5-485c-af4f-c9dd3918aa88', 'url': '/servers'} __dir__ = __doc__ = '\n HTTP 400 - Bad request: you sent some malformed data.\n ' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'novaclient.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None args = () code = 400 details = None http_status = 400 message = 'Network b36cd0cd-9abb-48ed-80df-39516194a902 requires a subnet in order to boot instances on.' method = 'POST' request_id = 'req-ed594e05-7df5-485c-af4f-c9dd3918aa88' url = '/servers' 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 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 54, in test_metadata_service vm1_fixture = self.create_vm(vn_fixture=vn_fixture, File "/contrail-test/common/base.py", line 277, in create_vm vm_fixture = self.create_only_vm(vn_fixture=vn_fixture, File "/contrail-test/common/base.py", line 254, in create_only_vm vm_obj.setUp() File "/contrail-test/fixtures/vm_test.py", line 193, in setUp self.create() File "/contrail-test/fixtures/vm_test.py", line 233, in create objs = self.orch.create_vm( File "/contrail-test/fixtures/openstack.py", line 118, in create_vm return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs) File "/contrail-test/fixtures/nova_test.py", line 606, in create_vm self.obj.servers.create(name=vm_name, image=image, File "/usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py", line 1481, in create return self._boot(response_key, *boot_args, **boot_kwargs) File "/usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py", line 845, in _boot return self._create('/servers', body, response_key, File "/usr/local/lib/python3.9/site-packages/novaclient/base.py", line 364, in _create resp, body = self.api.client.post(url, body=body) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py", line 392, in post return self.request(url, 'POST', **kwargs) File "/usr/local/lib/python3.9/site-packages/novaclient/client.py", line 78, in request raise exceptions.from_response(resp, body, url, method) novaclient.exceptions.BadRequest: Network b36cd0cd-9abb-48ed-80df-39516194a902 requires a subnet in order to boot instances on. (HTTP 400) (Request-ID: req-ed594e05-7df5-485c-af4f-c9dd3918aa88) 2025-08-27 14:16:54,242 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 14:16:54,242 - INFO - 2025-08-27 14:16:54,242 - INFO - END TEST : test_metadata_service : FAILED[0:00:02] 2025-08-27 14:16:54,242 - INFO - -------------------------------------------------------------------------------- 2025-08-27 14:16:54,244 - INFO - ================================================================================ 2025-08-27 14:16:54,244 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2025-08-27 14:16:54,244 - 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 2025-08-27 14:16:54,401 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-27 14:16:54,401 - INFO - Initial checks done. Running the testcase now 2025-08-27 14:16:54,401 - INFO - 2025-08-27 14:16:54,862 - DEBUG - Response for create_network : {'network': {'id': '84b7da60-7fd8-48d8-aef6-bb37526ce459', 'name': 'ctest-vn-81491801', 'tenant_id': '825c74a0d6044eae93f11c37b925a73c', 'project_id': '825c74a0d6044eae93f11c37b925a73c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-79851289', 'ctest-vn-81491801'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 14:16:55,005 - ERROR - Neutron Exception while creating subnet for vn with id 84b7da60-7fd8-48d8-aef6-bb37526ce459 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet subnet_rsp = self.obj.create_subnet({'subnet': subnet_req}) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet return self.post(self.subnets_path, body=body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-86f9546f-2e25-4f4e-af24-8b7cc3e498a4'] 2025-08-27 14:16:55,118 - ERROR - Neutron Exception while creating subnet for vn with id 84b7da60-7fd8-48d8-aef6-bb37526ce459 Traceback (most recent call last): File "/contrail-test/fixtures/quantum_test.py", line 128, in create_subnet subnet_rsp = self.obj.create_subnet({'subnet': subnet_req}) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet return self.post(self.subnets_path, body=body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 358, in post return self.do_request("POST", action, body=body, File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 294, in do_request self._handle_fault_response(status_code, replybody, resp) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response exception_handler_v20(status_code, error_body) File "/usr/local/lib/python3.9/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20 raise client_exc(message=error_message, neutronclient.common.exceptions.InternalServerError: The server has either erred or is incapable of performing the requested operation.

Neutron server returns request_ids: ['req-20b2d13b-62ba-44b7-9a80-dbccc74b3f05'] 2025-08-27 14:16:55,134 - INFO - Created VN ctest-vn-81491801 2025-08-27 14:16:55,187 - DEBUG - VN ctest-vn-81491801 UUID is 84b7da60-7fd8-48d8-aef6-bb37526ce459 2025-08-27 14:16:55,281 - INFO - Deleting VN ctest-vn-81491801 2025-08-27 14:16:55,352 - DEBUG - Response for deleting network () 2025-08-27 14:16:55,495 - ERROR - KeyError Python 3.9.21: /usr/bin/python3 Wed Aug 27 14:16:55 2025 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=) 139 140 vm1 = self.create_vm(image_name='cirros', vn_fixture=vn1_fixture, 141 port_ids=[ports['subnet1']['id']]) 142 vm2 = self.create_vm(image_name='cirros', vn_fixture=vn1_fixture, 143 port_ids=[ports['subnet2']['id']]) port_ids undefined ports = {} KeyError: 'subnet1' __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Mapping key not found.' __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 = ('subnet1',) 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 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 141, in test_ping_within_vn_two_vms_two_different_subnets port_ids=[ports['subnet1']['id']]) KeyError: 'subnet1' 2025-08-27 14:16:55,500 - DEBUG - No XMPP flaps were noticed during the test 2025-08-27 14:16:55,500 - INFO - 2025-08-27 14:16:55,500 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:01] 2025-08-27 14:16:55,501 - INFO - -------------------------------------------------------------------------------- 2025-08-27 14:16:56,155 - INFO - Deleted project: ctest-TestBasicVMVN-79851289, ID : 825c74a0-d604-4eae-93f1-1c37b925a73c