2025-09-11 02:44:38,147 - INFO - Domain Default found not creating
2025-09-11 02:44:38,297 - INFO - Project ctest-TestRP-92853988 not found, creating it
2025-09-11 02:44:38,780 - INFO - Created Project:ctest-TestRP-92853988, ID : d44f367c-efb5-4e38-8d18-09e37d5ea1b4
2025-09-11 02:44:40,213 - DEBUG - Services list from nova: [, , , ]
2025-09-11 02:44:40,213 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4079-1', 'an-jenkins-deploy-platform-ansible-os-4079-2']}
2025-09-11 02:44:40,215 - INFO - ================================================================================
2025-09-11 02:44:40,215 - INFO - STARTING TEST : test_rp_interface
2025-09-11 02:44:40,215 - INFO - TEST DESCRIPTION :
1. Create a routing policy with interface match.
2. Launch VMs.
3. Attach policy to VN and confirm if policy takes hold.
2025-09-11 02:44:41,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}} with
2025-09-11 02:44:41,477 - INFO - Initial checks done. Running the testcase now
2025-09-11 02:44:41,477 - INFO -
2025-09-11 02:44:42,140 - DEBUG - Response for create_network : {'network': {'id': '2ce4f0f5-a920-4341-84dc-d75469f76461', 'name': 'ctest-bgpaas_vn-32430024', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92853988', 'ctest-bgpaas_vn-32430024'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 02:44:42,452 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3660a14-7e34-41a6-9b03-2b2f08cfcf80', 'name': '', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'network_id': '2ce4f0f5-a920-4341-84dc-d75469f76461', 'ip_version': 4, 'cidr': '58.90.52.0/26', 'allocation_pools': [{'start': '58.90.52.2', 'end': '58.90.52.62'}], 'gateway_ip': '58.90.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.90.52.2', 'tags': [], 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4'}}
2025-09-11 02:44:42,479 - INFO - Created VN ctest-bgpaas_vn-32430024
2025-09-11 02:44:42,493 - DEBUG - VN ctest-bgpaas_vn-32430024 UUID is 2ce4f0f5-a920-4341-84dc-d75469f76461
2025-09-11 02:44:43,067 - DEBUG - Response for create_network : {'network': {'id': 'c2aa4fe9-9fef-460e-b69e-d9b0d1e4be82', 'name': 'ctest-bgpaas_vn-29107172', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92853988', 'ctest-bgpaas_vn-29107172'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 02:44:43,354 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf5e6cdf-d6c4-42c9-a2ec-763873f43ae9', 'name': '', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'network_id': 'c2aa4fe9-9fef-460e-b69e-d9b0d1e4be82', 'ip_version': 4, 'cidr': '162.203.29.128/26', 'allocation_pools': [{'start': '162.203.29.130', 'end': '162.203.29.190'}], 'gateway_ip': '162.203.29.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.203.29.130', 'tags': [], 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4'}}
2025-09-11 02:44:43,403 - INFO - Created VN ctest-bgpaas_vn-29107172
2025-09-11 02:44:43,427 - DEBUG - VN ctest-bgpaas_vn-29107172 UUID is c2aa4fe9-9fef-460e-b69e-d9b0d1e4be82
2025-09-11 02:44:44,831 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-1)
2025-09-11 02:44:46,196 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-2)
2025-09-11 02:44:46,196 - INFO - Waiting for VM test_vm to be up..
2025-09-11 02:44:46,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 02:44:51,395 - DEBUG - VM is in ACTIVE state now
2025-09-11 02:44:51,395 - INFO - VM name : test_vm
2025-09-11 02:44:51,485 - DEBUG - VM test_vm ID is 6c171431-64d3-415d-90de-15bd51ea6504
2025-09-11 02:44:51,508 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4079-1
2025-09-11 02:44:51,580 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6c171431-64d3-415d-90de-15bd51ea6504
2025-09-11 02:44:51,871 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6c171431-64d3-415d-90de-15bd51ea6504
2025-09-11 02:44:51,909 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e52a542d-3dcd-48b7-ba15-f0639cdad461
2025-09-11 02:44:55,085 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms')
2025-09-11 02:44:55,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed!
2025-09-11 02:44:55,107 - DEBUG - Gateway for vn default-domain:ctest-TestRP-92853988:ctest-bgpaas_vn-32430024 is 58.90.52.1 and allocation pool is NOT set
2025-09-11 02:44:57,171 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.269/2.803/4.337/1.534 ms')
2025-09-11 02:44:57,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-09-11 02:44:57,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 02:44:57,236 - DEBUG - Waiting to SSH to VM test_vm, IP 58.90.52.3, Port 22
2025-09-11 02:44:57,390 - DEBUG - VM test_vm is ready for SSH connections
2025-09-11 02:44:57,390 - INFO - Waiting for VM test2_vm to be up..
2025-09-11 02:44:57,471 - DEBUG - VM is in ERROR state now
2025-09-11 02:44:57,471 - ERROR - VM in error state.
2025-09-11 02:44:57,471 - ERROR - VM is not in ACTIVE state
2025-09-11 02:44:57,582 - ERROR - Fatal Nova Exception while getting VM detail
2025-09-11 02:44:57,582 - DEBUG - None
2025-09-11 02:44:57,586 - INFO - Skip interface_detach for VM test2_vm in state ERROR
2025-09-11 02:44:57,586 - INFO - Deleting VM test2_vm
2025-09-11 02:44:57,587 - ERROR - VM test2_vm has failed to come up
2025-09-11 02:44:57,587 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-09-11T02:44:46Z', '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-09-11 02:44:57,589 - INFO - Deleting VM test_vm
2025-09-11 02:44:57,804 - INFO - Deleting VN ctest-bgpaas_vn-29107172
2025-09-11 02:44:57,960 - DEBUG - Response for deleting network ()
2025-09-11 02:44:57,960 - INFO - Deleting VN ctest-bgpaas_vn-32430024
2025-09-11 02:44:58,006 - DEBUG - VN 2ce4f0f5-a920-4341-84dc-d75469f76461 still in use: Unable to complete operation on network 2ce4f0f5-a920-4341-84dc-d75469f76461. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-90dba363-81da-471e-9266-509b7f7ad87c']
2025-09-11 02:44:58,006 - WARNING - Deleting VN ctest-bgpaas_vn-32430024 failed..Will retry
2025-09-11 02:45:00,150 - DEBUG - Response for deleting network ()
2025-09-11 02:45:01,430 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Sep 11 02:44:57 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/routing_policy/test_routing_policy.py in test_rp_interface(self=)
38 3. Attach policy to VN and confirm if policy takes hold.
39 '''
40 ret_dict = self.config_basic()
41 vn_fixture = ret_dict['vn_fixture']
42 test_vm = ret_dict['test_vm']
ret_dict undefined
self =
self.config_basic = >
/contrail-test/scripts/routing_policy/base.py in config_basic(self=)
44 test2_vm = self.create_vm(vn2_fixture, 'test2_vm', image_name='cirros')
45 assert test_vm.wait_till_vm_is_up()
46 assert test2_vm.wait_till_vm_is_up()
47
48 ret_dict = {
test2_vm =
test2_vm.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/routing_policy/test_routing_policy.py", line 40, in test_rp_interface
ret_dict = self.config_basic()
File "/contrail-test/scripts/routing_policy/base.py", line 46, in config_basic
assert test2_vm.wait_till_vm_is_up()
AssertionError
2025-09-11 02:45:01,444 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:45:01,445 - INFO -
2025-09-11 02:45:01,445 - INFO - END TEST : test_rp_interface : FAILED[0:00:21]
2025-09-11 02:45:01,445 - INFO - --------------------------------------------------------------------------------
2025-09-11 02:45:01,449 - INFO - ================================================================================
2025-09-11 02:45:01,449 - INFO - STARTING TEST : test_rp_interface_ext_community
2025-09-11 02:45:01,449 - INFO - TEST DESCRIPTION :
1. Create a routing policy with interface match.
2. Launch VMs.
3. Attach policy to VN and confirm if policy takes hold.
2025-09-11 02:45:02,708 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}} with
2025-09-11 02:45:02,708 - INFO - Initial checks done. Running the testcase now
2025-09-11 02:45:02,709 - INFO -
2025-09-11 02:45:02,966 - DEBUG - Response for create_network : {'network': {'id': 'fbc97925-d1cb-4aee-a3fc-11e5f0ae9ecc', 'name': 'ctest-bgpaas_vn-70958014', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92853988', 'ctest-bgpaas_vn-70958014'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 02:45:03,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '689cb870-afb7-4156-887c-485b23f8c722', 'name': '', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'network_id': 'fbc97925-d1cb-4aee-a3fc-11e5f0ae9ecc', 'ip_version': 4, 'cidr': '58.213.123.0/26', 'allocation_pools': [{'start': '58.213.123.2', 'end': '58.213.123.62'}], 'gateway_ip': '58.213.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.213.123.2', 'tags': [], 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4'}}
2025-09-11 02:45:03,201 - INFO - Created VN ctest-bgpaas_vn-70958014
2025-09-11 02:45:03,214 - DEBUG - VN ctest-bgpaas_vn-70958014 UUID is fbc97925-d1cb-4aee-a3fc-11e5f0ae9ecc
2025-09-11 02:45:03,734 - DEBUG - Response for create_network : {'network': {'id': '0c688e6b-1d05-4c1c-850f-3c3949724fa4', 'name': 'ctest-bgpaas_vn-77732483', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92853988', 'ctest-bgpaas_vn-77732483'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 02:45:03,982 - DEBUG - Response for create_subnet : {'subnet': {'id': '875619e3-f6c1-4b8e-8fe2-891b739bc10c', 'name': '', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'network_id': '0c688e6b-1d05-4c1c-850f-3c3949724fa4', 'ip_version': 4, 'cidr': '176.35.252.128/26', 'allocation_pools': [{'start': '176.35.252.130', 'end': '176.35.252.190'}], 'gateway_ip': '176.35.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.35.252.130', 'tags': [], 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4'}}
2025-09-11 02:45:04,004 - INFO - Created VN ctest-bgpaas_vn-77732483
2025-09-11 02:45:04,018 - DEBUG - VN ctest-bgpaas_vn-77732483 UUID is 0c688e6b-1d05-4c1c-850f-3c3949724fa4
2025-09-11 02:45:05,401 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-1)
2025-09-11 02:45:05,610 - DEBUG - VM test2_vm already present, not creating it
2025-09-11 02:45:05,610 - INFO - Waiting for VM test_vm to be up..
2025-09-11 02:45:05,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-11 02:45:10,758 - DEBUG - VM is in ACTIVE state now
2025-09-11 02:45:10,758 - INFO - VM name : test_vm
2025-09-11 02:45:10,836 - DEBUG - VM test_vm ID is 8f007b04-ebc2-4dc2-9350-15692bb1a6a7
2025-09-11 02:45:10,836 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4079-1
2025-09-11 02:45:10,909 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/8f007b04-ebc2-4dc2-9350-15692bb1a6a7
2025-09-11 02:45:10,919 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3f4e6e98-fea8-4ef8-8e40-ecefd0ac7ead
2025-09-11 02:45:14,097 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2025-09-11 02:45:14,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed!
2025-09-11 02:45:14,111 - DEBUG - Gateway for vn default-domain:ctest-TestRP-92853988:ctest-bgpaas_vn-70958014 is 58.213.123.1 and allocation pool is NOT set
2025-09-11 02:45:16,174 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.384/2.120/3.856/1.736 ms')
2025-09-11 02:45:16,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-09-11 02:45:16,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-11 02:45:16,240 - DEBUG - Waiting to SSH to VM test_vm, IP 58.213.123.3, Port 22
2025-09-11 02:45:16,410 - DEBUG - VM test_vm is ready for SSH connections
2025-09-11 02:45:16,410 - INFO - Waiting for VM test2_vm to be up..
2025-09-11 02:45:16,463 - DEBUG - VM is in ERROR state now
2025-09-11 02:45:16,463 - ERROR - VM in error state.
2025-09-11 02:45:16,463 - ERROR - VM is not in ACTIVE state
2025-09-11 02:45:16,536 - ERROR - Fatal Nova Exception while getting VM detail
2025-09-11 02:45:16,536 - DEBUG - None
2025-09-11 02:45:16,537 - INFO - Skipping the deletion of VM test2_vm
2025-09-11 02:45:16,538 - INFO - Deleting VM test_vm
2025-09-11 02:45:16,602 - INFO - Deleting VN ctest-bgpaas_vn-77732483
2025-09-11 02:45:16,744 - DEBUG - Response for deleting network ()
2025-09-11 02:45:16,745 - INFO - Deleting VN ctest-bgpaas_vn-70958014
2025-09-11 02:45:16,796 - DEBUG - VN fbc97925-d1cb-4aee-a3fc-11e5f0ae9ecc still in use: Unable to complete operation on network fbc97925-d1cb-4aee-a3fc-11e5f0ae9ecc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-89aea28c-1788-4b85-b3b0-1c77c91968f5']
2025-09-11 02:45:16,796 - WARNING - Deleting VN ctest-bgpaas_vn-70958014 failed..Will retry
2025-09-11 02:45:18,932 - DEBUG - Response for deleting network ()
2025-09-11 02:45:20,199 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Sep 11 02:45:16 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/routing_policy/test_routing_policy.py in test_rp_interface_ext_community(self=)
249 3. Attach policy to VN and confirm if policy takes hold.
250 '''
251 ret_dict = self.config_basic()
252 vn_fixture = ret_dict['vn_fixture']
253 test_vm = ret_dict['test_vm']
ret_dict undefined
self =
self.config_basic = >
/contrail-test/scripts/routing_policy/base.py in config_basic(self=)
44 test2_vm = self.create_vm(vn2_fixture, 'test2_vm', image_name='cirros')
45 assert test_vm.wait_till_vm_is_up()
46 assert test2_vm.wait_till_vm_is_up()
47
48 ret_dict = {
test2_vm =
test2_vm.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/routing_policy/test_routing_policy.py", line 251, in test_rp_interface_ext_community
ret_dict = self.config_basic()
File "/contrail-test/scripts/routing_policy/base.py", line 46, in config_basic
assert test2_vm.wait_till_vm_is_up()
AssertionError
2025-09-11 02:45:20,216 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:45:20,216 - INFO -
2025-09-11 02:45:20,216 - INFO - --------------------------------------------------------------------------------
2025-09-11 02:45:20,221 - INFO - ================================================================================
2025-09-11 02:45:20,222 - INFO - STARTING TEST : test_rp_interface_static
2025-09-11 02:45:20,222 - INFO - TEST DESCRIPTION :
1. Create a routing policy with interface-static match.
2. Launch VMs.
3. Attach policy to VN and confirm if policy takes hold.
2025-09-11 02:45:21,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}} with
2025-09-11 02:45:21,484 - INFO - Initial checks done. Running the testcase now
2025-09-11 02:45:21,484 - INFO -
2025-09-11 02:45:21,751 - DEBUG - Response for create_network : {'network': {'id': '7175ba26-3abc-4651-a792-edf9a784ba56', 'name': 'ctest-bgpaas_vn-35161982', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92853988', 'ctest-bgpaas_vn-35161982'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 02:45:21,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '35106213-fa19-456f-9961-1e9bfbd1ff7d', 'name': '', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'network_id': '7175ba26-3abc-4651-a792-edf9a784ba56', 'ip_version': 4, 'cidr': '151.134.238.192/26', 'allocation_pools': [{'start': '151.134.238.194', 'end': '151.134.238.254'}], 'gateway_ip': '151.134.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.134.238.194', 'tags': [], 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4'}}
2025-09-11 02:45:21,992 - INFO - Created VN ctest-bgpaas_vn-35161982
2025-09-11 02:45:22,004 - DEBUG - VN ctest-bgpaas_vn-35161982 UUID is 7175ba26-3abc-4651-a792-edf9a784ba56
2025-09-11 02:45:22,566 - DEBUG - Response for create_network : {'network': {'id': '0a0b6cc2-71a4-4fde-b2b5-0b6413c500da', 'name': 'ctest-bgpaas_vn-56024503', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92853988', 'ctest-bgpaas_vn-56024503'], 'port_security_enabled': True, 'description': ''}}
2025-09-11 02:45:22,809 - DEBUG - Response for create_subnet : {'subnet': {'id': '76ce1a76-811a-47ec-8183-dfa55bae8c1a', 'name': '', 'tenant_id': 'd44f367cefb54e388d1809e37d5ea1b4', 'network_id': '0a0b6cc2-71a4-4fde-b2b5-0b6413c500da', 'ip_version': 4, 'cidr': '59.138.129.0/26', 'allocation_pools': [{'start': '59.138.129.2', 'end': '59.138.129.62'}], 'gateway_ip': '59.138.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.138.129.2', 'tags': [], 'project_id': 'd44f367cefb54e388d1809e37d5ea1b4'}}
2025-09-11 02:45:22,829 - INFO - Created VN ctest-bgpaas_vn-56024503
2025-09-11 02:45:22,847 - DEBUG - VN ctest-bgpaas_vn-56024503 UUID is 0a0b6cc2-71a4-4fde-b2b5-0b6413c500da
2025-09-11 02:45:24,283 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-2)
2025-09-11 02:45:24,439 - DEBUG - VM test2_vm already present, not creating it
2025-09-11 02:45:24,439 - INFO - Waiting for VM test_vm to be up..
2025-09-11 02:45:24,492 - DEBUG - VM is in ERROR state now
2025-09-11 02:45:24,492 - ERROR - VM in error state.
2025-09-11 02:45:24,492 - ERROR - VM is not in ACTIVE state
2025-09-11 02:45:24,579 - ERROR - Fatal Nova Exception while getting VM detail
2025-09-11 02:45:24,579 - DEBUG - None
2025-09-11 02:45:24,580 - INFO - Skipping the deletion of VM test2_vm
2025-09-11 02:45:24,581 - INFO - Skip interface_detach for VM test_vm in state ERROR
2025-09-11 02:45:24,581 - INFO - Deleting VM test_vm
2025-09-11 02:45:24,581 - ERROR - VM test_vm has failed to come up
2025-09-11 02:45:24,581 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-09-11T02:45:24Z', '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-09-11 02:45:24,581 - INFO - Deleting VN ctest-bgpaas_vn-56024503
2025-09-11 02:45:24,713 - DEBUG - Response for deleting network ()
2025-09-11 02:45:24,713 - INFO - Deleting VN ctest-bgpaas_vn-35161982
2025-09-11 02:45:24,869 - DEBUG - Response for deleting network ()
2025-09-11 02:45:26,127 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Sep 11 02:45:24 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/routing_policy/test_routing_policy.py in test_rp_interface_static(self=)
56 '''
57
58 ret_dict,random_cidr = self.create_interface_static_routes()
59 config_dicts = {'vn_fixture':ret_dict['vn_fixture'], 'from_term':'protocol', 'sub_from':'interface-static', 'to_term':'community', 'sub_to':'64512:55555'}
60 rp = self.configure_term_routing_policy(config_dicts)
ret_dict undefined
random_cidr undefined
self =
self.create_interface_static_routes = >
/contrail-test/scripts/routing_policy/test_routing_policy.py in create_interface_static_routes(self=)
576
577 def create_interface_static_routes(self):
578 ret_dict = self.config_basic()
579 self.static_table_handle = ContrailVncApi(self.vnc_lib, self.logger)
580 random_cidr = get_random_cidr()
ret_dict undefined
self =
self.config_basic = >
/contrail-test/scripts/routing_policy/base.py in config_basic(self=)
43 image_name='cirros')
44 test2_vm = self.create_vm(vn2_fixture, 'test2_vm', image_name='cirros')
45 assert test_vm.wait_till_vm_is_up()
46 assert test2_vm.wait_till_vm_is_up()
47
test_vm =
test_vm.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/routing_policy/test_routing_policy.py", line 58, in test_rp_interface_static
ret_dict,random_cidr = self.create_interface_static_routes()
File "/contrail-test/scripts/routing_policy/test_routing_policy.py", line 578, in create_interface_static_routes
ret_dict = self.config_basic()
File "/contrail-test/scripts/routing_policy/base.py", line 45, in config_basic
assert test_vm.wait_till_vm_is_up()
AssertionError
2025-09-11 02:45:26,149 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:45:26,149 - INFO -
2025-09-11 02:45:26,150 - INFO - END TEST : test_rp_interface_static : FAILED[0:00:06]
2025-09-11 02:45:26,150 - INFO - --------------------------------------------------------------------------------
2025-09-11 02:45:27,073 - INFO - Deleted project: ctest-TestRP-92853988, ID : d44f367c-efb5-4e38-8d18-09e37d5ea1b4