2025-10-10 12:01:26,064 - INFO - Domain Default found not creating
2025-10-10 12:01:26,269 - INFO - Project ctest-TestPorts-06739553 not found, creating it
2025-10-10 12:01:26,774 - INFO - Created Project:ctest-TestPorts-06739553, ID : 2a8854ce-50df-4b8a-82b6-8682278a465e
2025-10-10 12:01:28,546 - INFO - ================================================================================
2025-10-10 12:01:28,546 - INFO - STARTING TEST : test_ports_bindings
2025-10-10 12:01:28,546 - 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-10-10 12:01:28,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-10 12:01:28,682 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:01:28,682 - INFO -
2025-10-10 12:01:29,297 - DEBUG - Response for create_network : {'network': {'id': '5ce92482-861d-4f95-ae5f-c66094393ec4', 'name': 'ctest-vn-86329212', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'project_id': '2a8854ce50df4b8a82b68682278a465e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06739553', 'ctest-vn-86329212'], 'port_security_enabled': True, 'description': ''}}
2025-10-10 12:01:29,481 - DEBUG - Response for create_subnet : {'subnet': {'id': '428467db-41f9-477b-ae35-faf65ed79c0c', 'name': '', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'network_id': '5ce92482-861d-4f95-ae5f-c66094393ec4', 'ip_version': 4, 'cidr': '200.153.187.128/26', 'allocation_pools': [{'start': '200.153.187.130', 'end': '200.153.187.190'}], 'gateway_ip': '200.153.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.153.187.130', 'tags': [], 'project_id': '2a8854ce50df4b8a82b68682278a465e'}}
2025-10-10 12:01:29,500 - INFO - Created VN ctest-vn-86329212
2025-10-10 12:01:29,555 - DEBUG - VN ctest-vn-86329212 UUID is 5ce92482-861d-4f95-ae5f-c66094393ec4
2025-10-10 12:01:29,674 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06739553', 'ctest-vmi-41100717']}
2025-10-10 12:01:29,960 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41100717', 'id': '84f76aee-d6bd-416b-9f6e-977aa9c2bdd0', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'network_id': '5ce92482-861d-4f95-ae5f-c66094393ec4', 'mac_address': '02:84:f7:6a:ee:d6', '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': '200.153.187.131', 'subnet_id': '428467db-41f9-477b-ae35-faf65ed79c0c'}], 'security_groups': ['6135b085-368f-4998-81f9-481264dfae94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2a8854ce50df4b8a82b68682278a465e'}}
2025-10-10 12:01:29,960 - DEBUG - Created port 84f76aee-d6bd-416b-9f6e-977aa9c2bdd0
2025-10-10 12:01:30,071 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/84f76aee-d6bd-416b-9f6e-977aa9c2bdd0
2025-10-10 12:01:30,375 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/84f76aee-d6bd-416b-9f6e-977aa9c2bdd0
2025-10-10 12:01:30,409 - INFO - VMI 84f76aee-d6bd-416b-9f6e-977aa9c2bdd0 verification in API Server passed
2025-10-10 12:01:30,541 - DEBUG - Response for delete_port : ()
2025-10-10 12:01:30,541 - INFO - Deleted port 84f76aee-d6bd-416b-9f6e-977aa9c2bdd0
2025-10-10 12:01:30,541 - INFO - Deleting VN ctest-vn-86329212
2025-10-10 12:01:30,672 - DEBUG - Response for deleting network ()
2025-10-10 12:01:30,816 - DEBUG - No XMPP flaps were noticed during the test
2025-10-10 12:01:30,816 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-10 12:01:30,817 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:01:30,819 - INFO - ================================================================================
2025-10-10 12:01:30,819 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-10 12:01:30,819 - 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-10-10 12:01:30,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-10 12:01:30,975 - INFO - Initial checks done. Running the testcase now
2025-10-10 12:01:30,975 - INFO -
2025-10-10 12:01:31,209 - DEBUG - Response for create_network : {'network': {'id': '9e17104f-b3ad-4f91-8baa-9ec042f54c3e', 'name': 'ctest-vn1-18054090', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'project_id': '2a8854ce50df4b8a82b68682278a465e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06739553', 'ctest-vn1-18054090'], 'port_security_enabled': True, 'description': ''}}
2025-10-10 12:01:31,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '708353fd-2f64-47b9-869a-185e7fb2b549', 'name': '', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'network_id': '9e17104f-b3ad-4f91-8baa-9ec042f54c3e', 'ip_version': 4, 'cidr': '95.83.85.128/26', 'allocation_pools': [{'start': '95.83.85.130', 'end': '95.83.85.190'}], 'gateway_ip': '95.83.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.83.85.130', 'tags': [], 'project_id': '2a8854ce50df4b8a82b68682278a465e'}}
2025-10-10 12:01:31,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fa012f5-8d02-4bf9-b2b8-f13711535bbf', 'name': '', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'network_id': '9e17104f-b3ad-4f91-8baa-9ec042f54c3e', 'ip_version': 4, 'cidr': '11.175.52.0/26', 'allocation_pools': [{'start': '11.175.52.2', 'end': '11.175.52.62'}], 'gateway_ip': '11.175.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.175.52.2', 'tags': [], 'project_id': '2a8854ce50df4b8a82b68682278a465e'}}
2025-10-10 12:01:31,633 - INFO - Created VN ctest-vn1-18054090
2025-10-10 12:01:31,691 - DEBUG - VN ctest-vn1-18054090 UUID is 9e17104f-b3ad-4f91-8baa-9ec042f54c3e
2025-10-10 12:01:32,067 - DEBUG - Response for create_port : {'port': {'name': '6819685e-c412-4ab2-bb0b-fe7b22e591c5', 'id': '6819685e-c412-4ab2-bb0b-fe7b22e591c5', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'network_id': '9e17104f-b3ad-4f91-8baa-9ec042f54c3e', 'mac_address': '02:68:19:68:5e:c4', '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': '95.83.85.133', 'subnet_id': '708353fd-2f64-47b9-869a-185e7fb2b549'}], 'security_groups': ['6135b085-368f-4998-81f9-481264dfae94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2a8854ce50df4b8a82b68682278a465e'}}
2025-10-10 12:01:32,286 - DEBUG - Response for create_port : {'port': {'name': '0822f127-f83c-4cdc-8df9-193565ba3bc7', 'id': '0822f127-f83c-4cdc-8df9-193565ba3bc7', 'tenant_id': '2a8854ce50df4b8a82b68682278a465e', 'network_id': '9e17104f-b3ad-4f91-8baa-9ec042f54c3e', 'mac_address': '02:08:22:f1:27:f8', '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': '11.175.52.5', 'subnet_id': '4fa012f5-8d02-4bf9-b2b8-f13711535bbf'}], 'security_groups': ['6135b085-368f-4998-81f9-481264dfae94'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2a8854ce50df4b8a82b68682278a465e'}}
2025-10-10 12:01:32,411 - DEBUG - Services list from nova: [, , ]
2025-10-10 12:01:32,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:01:33,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4285-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4285-1)
2025-10-10 12:01:33,407 - INFO - Waiting for VM ctest-vn1-vm1-95379256 to be up..
2025-10-10 12:01:33,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-10 12:01:38,547 - DEBUG - VM is in ERROR state now
2025-10-10 12:01:38,547 - ERROR - VM in error state.
2025-10-10 12:01:38,547 - ERROR - VM is not in ACTIVE state
2025-10-10 12:01:38,651 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-10 12:01:38,651 - DEBUG - None
2025-10-10 12:01:38,653 - INFO - Skip interface_detach for VM ctest-vn1-vm2-94040472 in state BUILD
2025-10-10 12:01:38,653 - INFO - Deleting VM ctest-vn1-vm2-94040472
2025-10-10 12:01:38,677 - ERROR - VM ctest-vn1-vm2-94040472 has failed to come up
2025-10-10 12:01:38,677 - ERROR - Nova failed to get host of the VM
2025-10-10 12:01:38,869 - INFO - Skip interface_detach for VM ctest-vn1-vm1-95379256 in state ERROR
2025-10-10 12:01:38,870 - INFO - Deleting VM ctest-vn1-vm1-95379256
2025-10-10 12:01:38,870 - ERROR - VM ctest-vn1-vm1-95379256 has failed to come up
2025-10-10 12:01:38,870 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-10T12:01:35Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:68:19:68:5e:c4,has_traffic_filtering=True,id=6819685e-c412-4ab2-bb0b-fe7b22e591c5,network=Network(9e17104f-b3ad-4f91-8baa-9ec042f54c3e),plugin='vrouter',port_p", 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 77, in plug\n plugin.plug(vif, instance_info)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 271, in plug\n self._vrouter_port_add(instance_info, vif)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 263, in _vrouter_port_add\n vhostuser_socket, vhostuser_mode)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line 272, in _wrap\n r_call_timeout)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 215, in remote_call\n raise exc_type(*result[2])\nvif_plug_vrouter.exception.VrouterPortControlError: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=6819685e-c412-4ab2-bb0b-fe7b22e591c5\', \'--instance_uuid=6e8e6a87-4aab-4866-8b96-9cacd3636d26\', \'--vn_uuid=9e17104f-b3ad-4f91-8baa-9ec042f54c3e\', \'--vm_project_uuid=2a8854ce50df4b8a82b68682278a465e\', \'--ip_address=95.83.85.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-95379256\', \'--mac=02:68:19:68:5e:c4\', \'--tap_name=tap6819685e-c4\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 699, in _plug_os_vif\n os_vif.plug(vif, instance_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 82, in plug\n raise os_vif.exception.PlugException(vif=vif, err=err)\nos_vif.exception.PlugException: Failed to plug VIF VIFGeneric(active=True,address=02:68:19:68:5e:c4,has_traffic_filtering=True,id=6819685e-c412-4ab2-bb0b-fe7b22e591c5,network=Network(9e17104f-b3ad-4f91-8baa-9ec042f54c3e),plugin=\'vrouter\',port_profile=>,preserve_on_delete=True,vif_name=\'tap6819685e-c4\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=6819685e-c412-4ab2-bb0b-fe7b22e591c5\', \'--instance_uuid=6e8e6a87-4aab-4866-8b96-9cacd3636d26\', \'--vn_uuid=9e17104f-b3ad-4f91-8baa-9ec042f54c3e\', \'--vm_project_uuid=2a8854ce50df4b8a82b68682278a465e\', \'--ip_address=95.83.85.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-95379256\', \'--mac=02:68:19:68:5e:c4\', \'--tap_name=tap6819685e-c4\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2521, in _build_and_run_instance\n accel_info=accel_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in spawn\n cleanup_instance_disks=created_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7523, in _create_guest_with_network\n cleanup_instance_disks=cleanup_instance_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n raise self.value\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7492, in _create_guest_with_network\n self.plug_vifs(instance, network_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1386, in plug_vifs\n self.vif_driver.plug(instance, vif)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 723, in plug\n self._plug_os_vif(instance, vif_obj)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 703, in _plug_os_vif\n raise exception.InternalError(msg)\nnova.exception.InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:68:19:68:5e:c4,has_traffic_filtering=True,id=6819685e-c412-4ab2-bb0b-fe7b22e591c5,network=Network(9e17104f-b3ad-4f91-8baa-9ec042f54c3e),plugin=\'vrouter\',port_profile=>,preserve_on_delete=True,vif_name=\'tap6819685e-c4\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=6819685e-c412-4ab2-bb0b-fe7b22e591c5\', \'--instance_uuid=6e8e6a87-4aab-4866-8b96-9cacd3636d26\', \'--vn_uuid=9e17104f-b3ad-4f91-8baa-9ec042f54c3e\', \'--vm_project_uuid=2a8854ce50df4b8a82b68682278a465e\', \'--ip_address=95.83.85.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-95379256\', \'--mac=02:68:19:68:5e:c4\', \'--tap_name=tap6819685e-c4\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2337, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2625, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\nnova.exception.RescheduledException: Build of instance 6e8e6a87-4aab-4866-8b96-9cacd3636d26 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:68:19:68:5e:c4,has_traffic_filtering=True,id=6819685e-c412-4ab2-bb0b-fe7b22e591c5,network=Network(9e17104f-b3ad-4f91-8baa-9ec042f54c3e),plugin=\'vrouter\',port_profile=>,preserve_on_delete=True,vif_name=\'tap6819685e-c4\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=6819685e-c412-4ab2-bb0b-fe7b22e591c5\', \'--instance_uuid=6e8e6a87-4aab-4866-8b96-9cacd3636d26\', \'--vn_uuid=9e17104f-b3ad-4f91-8baa-9ec042f54c3e\', \'--vm_project_uuid=2a8854ce50df4b8a82b68682278a465e\', \'--ip_address=95.83.85.133\', \'--ipv6_address=None\', \'--vm_name=ctest-vn1-vm1-95379256\', \'--mac=02:68:19:68:5e:c4\', \'--tap_name=tap6819685e-c4\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-10 12:01:39,003 - DEBUG - Response for delete_port : ()
2025-10-10 12:01:39,139 - DEBUG - Response for delete_port : ()
2025-10-10 12:01:39,139 - INFO - Deleting VN ctest-vn1-18054090
2025-10-10 12:01:39,303 - DEBUG - Response for deleting network ()
2025-10-10 12:01:39,438 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Fri Oct 10 12:01:38 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-10-10 12:01:39,445 - DEBUG - No XMPP flaps were noticed during the test
2025-10-10 12:01:39,445 - INFO -
2025-10-10 12:01:39,445 - INFO - END TEST : test_ports_specific_subnet_ip : FAILED[0:00:09]
2025-10-10 12:01:39,445 - INFO - --------------------------------------------------------------------------------
2025-10-10 12:01:40,171 - INFO - Deleted project: ctest-TestPorts-06739553, ID : 2a8854ce-50df-4b8a-82b6-8682278a465e