2025-07-21 14:31:13,842 - INFO - Domain Default found not creating 2025-07-21 14:31:14,203 - INFO - Project ctest-TestPbbEvpnMacLearning-02542823 not found, creating it 2025-07-21 14:31:14,998 - INFO - Created Project:ctest-TestPbbEvpnMacLearning-02542823, ID : 4187cf72-13fa-4019-8976-09a3a2f1e166 2025-07-21 14:31:17,048 - INFO - ================================================================================ 2025-07-21 14:31:17,049 - INFO - STARTING TEST : test_mac_learning_single_isid 2025-07-21 14:31:17,049 - INFO - TEST DESCRIPTION : Test MAC learning on I-Component with single isid 2025-07-21 14:31:17,243 - DEBUG - Skipping xmpp flap check 2025-07-21 14:31:17,244 - INFO - Initial checks done. Running the testcase now 2025-07-21 14:31:17,244 - INFO - 2025-07-21 14:31:17,245 - DEBUG - Read the existing encap priority 2025-07-21 14:31:18,053 - INFO - Created.UUID is {"global-vrouter-config": {"uuid": "3d6912ff-afa4-4bbc-a46f-479b6218a40c", "href": "http://10.0.0.254:8082/global-vrouter-config/3d6912ff-afa4-4bbc-a46f-479b6218a40c"}}. MPLSoUDP is the highest priority encap 2025-07-21 14:31:18,582 - DEBUG - Response for create_network : {'network': {'id': '7cef7250-3307-4789-a164-0f1d9b60889d', 'name': 'vn1', 'tenant_id': '4187cf7213fa4019897609a3a2f1e166', 'project_id': '4187cf7213fa4019897609a3a2f1e166', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPbbEvpnMacLearning-02542823', 'vn1'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 14:31:18,893 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca496511-5875-4a17-b62b-01a4dbcfd4a6', 'name': '', 'tenant_id': '4187cf7213fa4019897609a3a2f1e166', 'network_id': '7cef7250-3307-4789-a164-0f1d9b60889d', 'ip_version': 4, 'cidr': '10.10.10.0/24', 'allocation_pools': [{'start': '10.10.10.2', 'end': '10.10.10.254'}], 'gateway_ip': '10.10.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '10.10.10.2', 'tags': [], 'project_id': '4187cf7213fa4019897609a3a2f1e166'}} 2025-07-21 14:31:18,950 - INFO - Created VN vn1 2025-07-21 14:31:19,034 - DEBUG - VN vn1 UUID is 7cef7250-3307-4789-a164-0f1d9b60889d 2025-07-21 14:31:19,452 - DEBUG - Updating Layer2 control word on VN default-domain:ctest-TestPbbEvpnMacLearning-02542823:vn1 to True 2025-07-21 14:31:19,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7cef7250-3307-4789-a164-0f1d9b60889d 2025-07-21 14:31:19,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7cef7250-3307-4789-a164-0f1d9b60889d 2025-07-21 14:31:20,125 - INFO - Created Bridge Domain ['default-domain', 'ctest-TestPbbEvpnMacLearning-02542823', 'vn1', 'ctest-bd_ctest-TestPbbEvpnMacLearning-02542823-12744187'], UUID: 90c9348a-47f7-4e74-81e7-736ac89938c0 2025-07-21 14:31:20,125 - DEBUG - Requesting: http://10.0.0.254:8082/bridge-domains 2025-07-21 14:31:20,143 - DEBUG - Requesting: http://10.0.0.254:8082/bridge-domain/90c9348a-47f7-4e74-81e7-736ac89938c0 2025-07-21 14:31:20,169 - INFO - Verifications in API Server 10.0.0.254 for BD ctest-bd_ctest-TestPbbEvpnMacLearning-02542823-12744187 passed 2025-07-21 14:31:20,170 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPbbEvpnMacLearning-02542823', 'ctest-vmi-59449093']} 2025-07-21 14:31:20,615 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59449093', 'id': '1ef4a76d-5374-479f-bba5-88ca1dd9c4d3', 'tenant_id': '4187cf7213fa4019897609a3a2f1e166', 'network_id': '7cef7250-3307-4789-a164-0f1d9b60889d', 'mac_address': '02:1e:f4:a7:6d:53', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '10.10.10.3', 'subnet_id': 'ca496511-5875-4a17-b62b-01a4dbcfd4a6'}], 'security_groups': ['1a9c92a2-8e22-486f-80d6-ac30345df4a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4187cf7213fa4019897609a3a2f1e166'}} 2025-07-21 14:31:20,615 - DEBUG - Created port 1ef4a76d-5374-479f-bba5-88ca1dd9c4d3 2025-07-21 14:31:20,746 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPbbEvpnMacLearning-02542823', 'ctest-vmi-23202565']} 2025-07-21 14:31:21,182 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23202565', 'id': '05abd289-8028-4d51-911a-0ec4c466df23', 'tenant_id': '4187cf7213fa4019897609a3a2f1e166', 'network_id': '7cef7250-3307-4789-a164-0f1d9b60889d', 'mac_address': '02:05:ab:d2:89:80', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '10.10.10.4', 'subnet_id': 'ca496511-5875-4a17-b62b-01a4dbcfd4a6'}], 'security_groups': ['1a9c92a2-8e22-486f-80d6-ac30345df4a4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4187cf7213fa4019897609a3a2f1e166'}} 2025-07-21 14:31:21,182 - DEBUG - Created port 05abd289-8028-4d51-911a-0ec4c466df23 2025-07-21 14:31:21,377 - DEBUG - Services list from nova: [, , ] 2025-07-21 14:31:21,377 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3677-1']} 2025-07-21 14:31:21,753 - DEBUG - Response for delete_port : () 2025-07-21 14:31:21,753 - INFO - Deleted port 05abd289-8028-4d51-911a-0ec4c466df23 2025-07-21 14:31:21,928 - DEBUG - Response for delete_port : () 2025-07-21 14:31:21,929 - INFO - Deleted port 1ef4a76d-5374-479f-bba5-88ca1dd9c4d3 2025-07-21 14:31:21,962 - INFO - Deleted Bridge Domain 90c9348a-47f7-4e74-81e7-736ac89938c0 2025-07-21 14:31:21,973 - INFO - Bridge Domain ctest-bd_ctest-TestPbbEvpnMacLearning-02542823-12744187 is removed from Agent 10.0.0.254 2025-07-21 14:31:21,973 - DEBUG - Deleting RT for VN vn1 2025-07-21 14:31:22,232 - INFO - Deleting VN vn1 2025-07-21 14:31:22,432 - DEBUG - Response for deleting network () 2025-07-21 14:31:22,574 - ERROR - RuntimeError Python 3.6.8: /usr/bin/python3 Mon Jul 21 14:31:21 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/serial_scripts/pbb_evpn/test_pbb_evpn.py in test_mac_learning_single_isid(self=) 62 ret_dict = self.setup_pbb_evpn(pbb_evpn_config=pbb_evpn_config, 63 bd=bd, vn=vn, vmi=vmi, vm=vm, 64 bd_vmi_mapping=bd_vmi_mapping) 65 bd_fixtures = ret_dict['bd_fixtures'] 66 vmi_fixtures = ret_dict['vmi_fixtures'] bd_vmi_mapping = {'bd1': ['vmi1', 'vmi2']} /contrail-test/common/pbb_evpn/base.py in setup_pbb_evpn(self=, pbb_evpn_config={'mac_aging': 300, 'mac_learning': True, 'mac_limit': {'action': 'log', 'limit': 1024}, 'mac_move_limit': {'action': 'log', 'limit': 1024, 'window': 30}, 'pbb_etree': False, 'pbb_evpn_enable': True}, bd={'bd1': {'isid': 200200, 'vn': 'vn1'}, 'count': 1}, vn={'count': 1, 'vn1': {'asn': 64510, 'subnet': '10.10.10.0/24', 'target': 1}}, vmi={'count': 2, 'vmi1': {'vn': 'vn1'}, 'vmi2': {'vn': 'vn1'}}, vm={'count': 2, 'launch_mode': 'distribute', 'vm1': {'vmi': ['vmi1'], 'vn': ['vn1']}, 'vm2': {'vmi': ['vmi2'], 'vn': ['vn1']}}, bd_vmi_mapping={'bd1': ['vmi1', 'vmi2']}, verify=True) 487 488 # VMs creation 489 vm_fixtures = self.setup_vms(vn_fixtures, vmi_fixtures, vm) 490 491 # Compute nodes, where vms have launched, pbb verification vm_fixtures undefined self = self.setup_vms = > vn_fixtures = {'vn1': } vmi_fixtures = {'vmi1': , 'vmi2': } vm = {'count': 2, 'launch_mode': 'distribute', 'vm1': {'vmi': ['vmi1'], 'vn': ['vn1']}, 'vm2': {'vmi': ['vmi2'], 'vn': ['vn1']}} /contrail-test/common/pbb_evpn/base.py in setup_vms(self=, vn_fixtures={'vn1': }, vmi_fixtures={'vmi1': , 'vmi2': }, vm={'count': 2, 'launch_mode': 'distribute', 'vm1': {'vmi': ['vmi1'], 'vn': ['vn1']}, 'vm2': {'vmi': ['vmi2'], 'vn': ['vn1']}}) 375 port_ids=vmi_fix_uuid_list, 376 userdata=userdata_file, 377 node_name=node_name) 378 vm_fixtures[vm_id] = vm_fixture 379 if userdata: node_name = 'cn-jenkins-deploy-platform-ansible-os-3677-1-test' /contrail-test/common/base.py in create_vm(self=, vn_fixture=None, vm_name=None, image_name='ubuntu-traffic', port_ids=['1ef4a76d-5374-479f-bba5-88ca1dd9c4d3'], **kwargs={'node_name': 'cn-jenkins-deploy-platform-ansible-os-3677-1-test', 'userdata': None, 'vn_objs': [{'network': {'id': '7cef7250-3307-4789-a164-0f1d...port_security_enabled': True, 'description': ''}}]}) 279 image_name=image_name, 280 port_ids=port_ids, 281 **kwargs) 282 if cleanup: 283 self.addCleanup(vm_fixture.cleanUp) kwargs = {'node_name': 'cn-jenkins-deploy-platform-ansible-os-3677-1-test', 'userdata': None, 'vn_objs': [{'network': {'id': '7cef7250-3307-4789-a164-0f1d...port_security_enabled': True, 'description': ''}}]} /contrail-test/common/base.py in create_only_vm(cls=, vn_fixture=None, vm_name=None, image_name='ubuntu-traffic', **kwargs={'node_name': 'cn-jenkins-deploy-platform-ansible-os-3677-1-test', 'port_ids': ['1ef4a76d-5374-479f-bba5-88ca1dd9c4d3'], 'userdata': None, 'vn_objs': [{'network': {'id': '7cef7250-3307-4789-a164-0f1d...port_security_enabled': True, 'description': ''}}]}) 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=) 186 def setUp(self): 187 super(VMFixture, self).setUp() 188 self.create() 189 190 def create(self): self = self.create = > /contrail-test/fixtures/vm_test.py in create(self=) 238 userdata=self.userdata, 239 port_ids=self.port_ids, 240 fixed_ips=self.fixed_ips) 241 self.created = True 242 self.vm_obj = objs[0] fixed_ips undefined self = self.fixed_ips = [] /contrail-test/fixtures/openstack.py in create_vm(self=, vm_name='ctest-TestPbbEvpnMacLearning-02542823-24568432', image_name='ubuntu-traffic', vn_objs=[{'network': {'id': '7cef7250-3307-4789-a164-0f1d...port_security_enabled': True, 'description': ''}}], **kwargs={'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_small', 'node_name': 'cn-jenkins-deploy-platform-ansible-os-3677-1-test', 'port_ids': ['1ef4a76d-5374-479f-bba5-88ca1dd9c4d3'], 'project_uuid': '4187cf72-13fa-4019-8976-09a3a2f1e166', '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-TestPbbEvpnMacLearning-02542823-24568432' image_name = 'ubuntu-traffic' vn_ids = ['7cef7250-3307-4789-a164-0f1d9b60889d'] kwargs = {'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_small', 'node_name': 'cn-jenkins-deploy-platform-ansible-os-3677-1-test', 'port_ids': ['1ef4a76d-5374-479f-bba5-88ca1dd9c4d3'], 'project_uuid': '4187cf72-13fa-4019-8976-09a3a2f1e166', 'sg_ids': [], 'userdata': None, 'zone': None} /contrail-test/fixtures/nova_test.py in create_vm(self=, project_uuid='4187cf72-13fa-4019-8976-09a3a2f1e166', image_name='ubuntu-traffic', vm_name='ctest-TestPbbEvpnMacLearning-02542823-24568432', vn_ids=['7cef7250-3307-4789-a164-0f1d9b60889d'], node_name='cn-jenkins-deploy-platform-ansible-os-3677-1-test', sg_ids=[], count=1, userdata=None, flavor='contrail_flavor_small', port_ids=['1ef4a76d-5374-479f-bba5-88ca1dd9c4d3'], fixed_ips=[], zone=None) 570 if not zone: 571 raise RuntimeError( 572 "Compute host %s is not listed in nova serivce list" % node_name) 573 zone = self.get_compute_node_zone(node_name) 574 else: node_name = 'cn-jenkins-deploy-platform-ansible-os-3677-1-test' RuntimeError: Compute host cn-jenkins-deploy-platform-ansible-os-3677-1-test is not listed in nova serivce list __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Unspecified run-time error.' __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 = ('Compute host cn-jenkins-deploy-platform-ansible-os-3677-1-test is not listed in nova serivce list',) 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/serial_scripts/pbb_evpn/test_pbb_evpn.py", line 64, in test_mac_learning_single_isid bd_vmi_mapping=bd_vmi_mapping) File "/contrail-test/common/pbb_evpn/base.py", line 489, in setup_pbb_evpn vm_fixtures = self.setup_vms(vn_fixtures, vmi_fixtures, vm) File "/contrail-test/common/pbb_evpn/base.py", line 377, in setup_vms node_name=node_name) File "/contrail-test/common/base.py", line 281, in create_vm **kwargs) File "/contrail-test/common/base.py", line 254, in create_only_vm vm_obj.setUp() File "/contrail-test/fixtures/vm_test.py", line 188, in setUp self.create() File "/contrail-test/fixtures/vm_test.py", line 240, in create fixed_ips=self.fixed_ips) 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 572, in create_vm "Compute host %s is not listed in nova serivce list" % node_name) RuntimeError: Compute host cn-jenkins-deploy-platform-ansible-os-3677-1-test is not listed in nova serivce list 2025-07-21 14:31:22,576 - DEBUG - Skipping xmpp flap check 2025-07-21 14:31:22,576 - INFO - 2025-07-21 14:31:22,576 - INFO - END TEST : test_mac_learning_single_isid : FAILED[0:00:05] 2025-07-21 14:31:22,576 - INFO - -------------------------------------------------------------------------------- 2025-07-21 14:31:23,387 - INFO - Deleted project: ctest-TestPbbEvpnMacLearning-02542823, ID : 4187cf72-13fa-4019-8976-09a3a2f1e166