2025-11-05 08:23:07,144 - INFO - Domain Default found not creating 2025-11-05 08:23:07,321 - INFO - Project ctest-TestPorts-00410862 not found, creating it 2025-11-05 08:23:07,827 - INFO - Created Project:ctest-TestPorts-00410862, ID : 5004b6f3-48ce-4f65-8c25-d738ba231cd6 2025-11-05 08:23:09,482 - INFO - ================================================================================ 2025-11-05 08:23:09,482 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 08:23:09,482 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-11-05 08:23:09,742 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.129': '0'}} with 2025-11-05 08:23:09,742 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:23:09,742 - INFO - 2025-11-05 08:23:10,362 - DEBUG - Response for create_network : {'network': {'id': '6470d0e7-1672-4db4-81c4-755f05c4a6fc', 'name': 'ctest-vn-83117441', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'project_id': '5004b6f348ce4f658c25d738ba231cd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00410862', 'ctest-vn-83117441'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:23:10,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bc0835a-a05c-44f3-b93d-13d6cf11fbec', 'name': '', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'network_id': '6470d0e7-1672-4db4-81c4-755f05c4a6fc', 'ip_version': 4, 'cidr': '13.215.116.192/26', 'allocation_pools': [{'start': '13.215.116.194', 'end': '13.215.116.254'}], 'gateway_ip': '13.215.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.215.116.194', 'tags': [], 'project_id': '5004b6f348ce4f658c25d738ba231cd6'}} 2025-11-05 08:23:10,569 - INFO - Created VN ctest-vn-83117441 2025-11-05 08:23:10,621 - DEBUG - VN ctest-vn-83117441 UUID is 6470d0e7-1672-4db4-81c4-755f05c4a6fc 2025-11-05 08:23:10,730 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00410862', 'ctest-vmi-40988076']} 2025-11-05 08:23:10,982 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40988076', 'id': '6aa8f57e-c2e5-4ded-9583-b9cba2397803', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'network_id': '6470d0e7-1672-4db4-81c4-755f05c4a6fc', 'mac_address': '02:6a:a8:f5:7e:c2', 'binding:profile': {'foo': 'bar'}, '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': '13.215.116.195', 'subnet_id': '0bc0835a-a05c-44f3-b93d-13d6cf11fbec'}], 'security_groups': ['e6ea503c-46ce-4b12-97ec-c83c415e3918'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5004b6f348ce4f658c25d738ba231cd6'}} 2025-11-05 08:23:10,982 - DEBUG - Created port 6aa8f57e-c2e5-4ded-9583-b9cba2397803 2025-11-05 08:23:11,089 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/6aa8f57e-c2e5-4ded-9583-b9cba2397803 2025-11-05 08:23:11,434 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/6aa8f57e-c2e5-4ded-9583-b9cba2397803 2025-11-05 08:23:11,471 - INFO - VMI 6aa8f57e-c2e5-4ded-9583-b9cba2397803 verification in API Server passed 2025-11-05 08:23:11,569 - DEBUG - Response for delete_port : () 2025-11-05 08:23:11,569 - INFO - Deleted port 6aa8f57e-c2e5-4ded-9583-b9cba2397803 2025-11-05 08:23:11,569 - INFO - Deleting VN ctest-vn-83117441 2025-11-05 08:23:11,697 - DEBUG - Response for deleting network () 2025-11-05 08:23:11,951 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:23:11,951 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 08:23:11,951 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:23:11,954 - INFO - ================================================================================ 2025-11-05 08:23:11,954 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 08:23:11,954 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-11-05 08:23:12,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.129': '0'}} with 2025-11-05 08:23:12,252 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:23:12,252 - INFO - 2025-11-05 08:23:12,438 - DEBUG - Response for create_network : {'network': {'id': '8f3ccfd3-5f2a-44b0-b94d-c6b290b45a4f', 'name': 'ctest-vn1-34302156', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'project_id': '5004b6f348ce4f658c25d738ba231cd6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00410862', 'ctest-vn1-34302156'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:23:12,597 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4b431ae-5611-4071-ab27-5eb77467ffb3', 'name': '', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'network_id': '8f3ccfd3-5f2a-44b0-b94d-c6b290b45a4f', 'ip_version': 4, 'cidr': '134.66.209.0/26', 'allocation_pools': [{'start': '134.66.209.2', 'end': '134.66.209.62'}], 'gateway_ip': '134.66.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.66.209.2', 'tags': [], 'project_id': '5004b6f348ce4f658c25d738ba231cd6'}} 2025-11-05 08:23:12,800 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c7e758c-17f7-4b56-afd4-9c072a62ddf0', 'name': '', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'network_id': '8f3ccfd3-5f2a-44b0-b94d-c6b290b45a4f', 'ip_version': 4, 'cidr': '186.61.124.128/26', 'allocation_pools': [{'start': '186.61.124.130', 'end': '186.61.124.190'}], 'gateway_ip': '186.61.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.61.124.130', 'tags': [], 'project_id': '5004b6f348ce4f658c25d738ba231cd6'}} 2025-11-05 08:23:12,820 - INFO - Created VN ctest-vn1-34302156 2025-11-05 08:23:12,873 - DEBUG - VN ctest-vn1-34302156 UUID is 8f3ccfd3-5f2a-44b0-b94d-c6b290b45a4f 2025-11-05 08:23:13,212 - DEBUG - Response for create_port : {'port': {'name': '82e6b6cd-c757-4850-936e-e46842fb65fb', 'id': '82e6b6cd-c757-4850-936e-e46842fb65fb', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'network_id': '8f3ccfd3-5f2a-44b0-b94d-c6b290b45a4f', 'mac_address': '02:82:e6:b6:cd:c7', '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': '134.66.209.5', 'subnet_id': 'c4b431ae-5611-4071-ab27-5eb77467ffb3'}], 'security_groups': ['e6ea503c-46ce-4b12-97ec-c83c415e3918'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5004b6f348ce4f658c25d738ba231cd6'}} 2025-11-05 08:23:13,412 - DEBUG - Response for create_port : {'port': {'name': '3a88d22f-c3fd-4d53-84fb-a0df5fdb4b1d', 'id': '3a88d22f-c3fd-4d53-84fb-a0df5fdb4b1d', 'tenant_id': '5004b6f348ce4f658c25d738ba231cd6', 'network_id': '8f3ccfd3-5f2a-44b0-b94d-c6b290b45a4f', 'mac_address': '02:3a:88:d2:2f:c3', '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': '186.61.124.133', 'subnet_id': '5c7e758c-17f7-4b56-afd4-9c072a62ddf0'}], 'security_groups': ['e6ea503c-46ce-4b12-97ec-c83c415e3918'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5004b6f348ce4f658c25d738ba231cd6'}} 2025-11-05 08:23:13,478 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:23:13,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4634-1) 2025-11-05 08:23:14,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4634-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4634-1) 2025-11-05 08:23:14,287 - INFO - Waiting for VM ctest-vn1-vm1-51484202 to be up.. 2025-11-05 08:23:14,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:23:19,419 - DEBUG - VM is in ERROR state now 2025-11-05 08:23:19,419 - ERROR - VM in error state. 2025-11-05 08:23:19,419 - ERROR - VM is not in ACTIVE state 2025-11-05 08:23:19,529 - ERROR - Fatal Nova Exception while getting VM detail 2025-11-05 08:23:19,529 - DEBUG - None 2025-11-05 08:23:19,536 - INFO - Skip interface_detach for VM ctest-vn1-vm2-87597562 in state BUILD 2025-11-05 08:23:19,536 - INFO - Deleting VM ctest-vn1-vm2-87597562 2025-11-05 08:23:19,559 - ERROR - VM ctest-vn1-vm2-87597562 has failed to come up 2025-11-05 08:23:19,559 - ERROR - Nova failed to get host of the VM 2025-11-05 08:23:19,811 - INFO - Skip interface_detach for VM ctest-vn1-vm1-51484202 in state ERROR 2025-11-05 08:23:19,811 - INFO - Deleting VM ctest-vn1-vm1-51484202 2025-11-05 08:23:19,811 - ERROR - VM ctest-vn1-vm1-51484202 has failed to come up 2025-11-05 08:23:19,811 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-11-05T08:23:14Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-11-05 08:23:19,925 - DEBUG - Response for delete_port : () 2025-11-05 08:23:20,046 - DEBUG - Response for delete_port : () 2025-11-05 08:23:20,046 - INFO - Deleting VN ctest-vn1-34302156 2025-11-05 08:23:20,185 - DEBUG - Response for deleting network () 2025-11-05 08:23:20,432 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Wed Nov 5 08:23:19 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/neutron/test_ports.py in test_ports_specific_subnet_ip(self=) 173 image_name='cirros', 174 port_ids=[port2_obj['id']]) 175 assert vm1_fixture.wait_till_vm_is_up() 176 assert vm2_fixture.wait_till_vm_is_up() 177 self.assertEqual(vm1_fixture.vm_ip, vm1_fixture = vm1_fixture.wait_till_vm_is_up = > AssertionError: __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __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 = () 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/neutron/test_ports.py", line 175, in test_ports_specific_subnet_ip assert vm1_fixture.wait_till_vm_is_up() AssertionError 2025-11-05 08:23:20,440 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:23:20,440 - INFO -
2025-11-05 08:23:20,440 - INFO - END TEST : test_ports_specific_subnet_ip : FAILED[0:00:09]
2025-11-05 08:23:20,440 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:23:21,186 - INFO - Deleted project: ctest-TestPorts-00410862, ID : 5004b6f3-48ce-4f65-8c25-d738ba231cd6