2025-11-05 08:23:21,386 - INFO - Domain Default found not creating
2025-11-05 08:23:21,561 - INFO - Project ctest-TestRouters-97013592 not found, creating it
2025-11-05 08:23:22,135 - INFO - Created Project:ctest-TestRouters-97013592, ID : 0d31763a-75f7-4798-ba7b-f72746210657
2025-11-05 08:23:23,862 - INFO - ================================================================================
2025-11-05 08:23:23,862 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-05 08:23:23,862 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs
Create a router
Create 2 VNs, and a VM in each
Add router port from each VN
Ping between VMs
2025-11-05 08:23:24,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.129': '0'}} with
2025-11-05 08:23:24,142 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:23:24,142 - INFO -
2025-11-05 08:23:24,760 - DEBUG - Response for create_network : {'network': {'id': 'f4e13f86-c1dd-46b5-9bfd-cdee684b408d', 'name': 'ctest-vn1-00886535', 'tenant_id': '0d31763a75f74798ba7bf72746210657', 'project_id': '0d31763a75f74798ba7bf72746210657', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97013592', 'ctest-vn1-00886535'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:23:24,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e08c87f2-1771-46e3-8a95-6ea62c269e13', 'name': '', 'tenant_id': '0d31763a75f74798ba7bf72746210657', 'network_id': 'f4e13f86-c1dd-46b5-9bfd-cdee684b408d', 'ip_version': 4, 'cidr': '83.179.215.192/26', 'allocation_pools': [{'start': '83.179.215.194', 'end': '83.179.215.254'}], 'gateway_ip': '83.179.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.179.215.194', 'tags': [], 'project_id': '0d31763a75f74798ba7bf72746210657'}}
2025-11-05 08:23:24,957 - INFO - Created VN ctest-vn1-00886535
2025-11-05 08:23:25,013 - DEBUG - VN ctest-vn1-00886535 UUID is f4e13f86-c1dd-46b5-9bfd-cdee684b408d
2025-11-05 08:23:25,319 - DEBUG - Response for create_network : {'network': {'id': '81bff346-52c4-408f-81d7-d9af5aea470a', 'name': 'ctest-vn2-13509969', 'tenant_id': '0d31763a75f74798ba7bf72746210657', 'project_id': '0d31763a75f74798ba7bf72746210657', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97013592', 'ctest-vn2-13509969'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:23:25,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '1871ab37-573b-4967-80fe-f9c86059a3aa', 'name': '', 'tenant_id': '0d31763a75f74798ba7bf72746210657', 'network_id': '81bff346-52c4-408f-81d7-d9af5aea470a', 'ip_version': 4, 'cidr': '191.121.241.64/26', 'allocation_pools': [{'start': '191.121.241.66', 'end': '191.121.241.126'}], 'gateway_ip': '191.121.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.121.241.66', 'tags': [], 'project_id': '0d31763a75f74798ba7bf72746210657'}}
2025-11-05 08:23:25,557 - INFO - Created VN ctest-vn2-13509969
2025-11-05 08:23:25,609 - DEBUG - VN ctest-vn2-13509969 UUID is 81bff346-52c4-408f-81d7-d9af5aea470a
2025-11-05 08:23:25,874 - DEBUG - Services list from nova: [, , ]
2025-11-05 08:23:27,042 - 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:28,430 - 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:28,516 - INFO - Adding interface with subnet_id e08c87f2-1771-46e3-8a95-6ea62c269e13, port_id None to router 86cdcac2-9c78-4965-9048-871aef2d98f2
2025-11-05 08:23:28,764 - INFO - Waiting for VM ctest-vn1-vm1-29176396 to be up..
2025-11-05 08:23:28,836 - DEBUG - VM is in ERROR state now
2025-11-05 08:23:28,836 - ERROR - VM in error state.
2025-11-05 08:23:28,836 - ERROR - VM is not in ACTIVE state
2025-11-05 08:23:28,919 - ERROR - Fatal Nova Exception while getting VM detail
2025-11-05 08:23:28,920 - DEBUG - None
2025-11-05 08:23:28,921 - INFO - Deleting interface with subnet_id e08c87f2-1771-46e3-8a95-6ea62c269e13, port_id None from router 86cdcac2-9c78-4965-9048-871aef2d98f2
2025-11-05 08:23:29,091 - INFO - Skip interface_detach for VM ctest-vn2-vm1-01560258 in state BUILD
2025-11-05 08:23:29,091 - INFO - Deleting VM ctest-vn2-vm1-01560258
2025-11-05 08:23:29,114 - ERROR - VM ctest-vn2-vm1-01560258 has failed to come up
2025-11-05 08:23:29,114 - ERROR - Nova failed to get host of the VM
2025-11-05 08:23:29,278 - INFO - Skip interface_detach for VM ctest-vn1-vm1-29176396 in state ERROR
2025-11-05 08:23:29,278 - INFO - Deleting VM ctest-vn1-vm1-29176396
2025-11-05 08:23:29,278 - ERROR - VM ctest-vn1-vm1-29176396 has failed to come up
2025-11-05 08:23:29,278 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-11-05T08:23:27Z', '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:29,278 - INFO - Deleting VN ctest-vn2-13509969
2025-11-05 08:23:29,394 - DEBUG - Response for deleting network ()
2025-11-05 08:23:29,394 - INFO - Deleting VN ctest-vn1-00886535
2025-11-05 08:23:29,497 - DEBUG - Response for deleting network ()
2025-11-05 08:23:29,744 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Wed Nov 5 08:23:28 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_routers.py in test_basic_router_behavior(self=)
55 router_dict = self.create_router(router_name)
56 self.add_vn_to_router(router_dict['id'], vn1_fixture)
57 assert vn1_vm1_fixture.wait_till_vm_is_up()
58 assert vn2_vm1_fixture.wait_till_vm_is_up()
59 assert vn1_vm1_fixture.ping_with_certainty(vn2_vm1_fixture.vm_ip,
vn1_vm1_fixture =
vn1_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_routers.py", line 57, in test_basic_router_behavior
assert vn1_vm1_fixture.wait_till_vm_is_up()
AssertionError
2025-11-05 08:23:29,750 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:23:29,750 - INFO -
2025-11-05 08:23:29,750 - INFO - END TEST : test_basic_router_behavior : FAILED[0:00:06]
2025-11-05 08:23:29,750 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:23:30,478 - INFO - Deleted project: ctest-TestRouters-97013592, ID : 0d31763a-75f7-4798-ba7b-f72746210657