2026-11-30 04:32:38,327 - INFO - Domain Default found not creating
2026-11-30 04:32:38,505 - INFO - Project ctest-TestBGPaaSlocalAS-32897917 not found, creating it
2026-11-30 04:32:39,037 - INFO - Created Project:ctest-TestBGPaaSlocalAS-32897917, ID : 2ed77017-34f1-4a49-b807-aeb838894e8b
2026-11-30 04:32:40,835 - DEBUG - Services list from nova: [, , , ]
2026-11-30 04:32:40,835 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-6522-1', 'an-jenkins-deploy-platform-ansible-os-6522-2']}
2026-11-30 04:32:40,837 - INFO - ================================================================================
2026-11-30 04:32:40,838 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2026-11-30 04:32:40,838 - INFO - TEST DESCRIPTION :
1. Create a bgpaas vm. Configure same local-as on vm and contrail side.
2. Make sure BGP with vm comes up.
2026-11-30 04:32:42,115 - DEBUG - Skipping xmpp flap check
2026-11-30 04:32:42,115 - INFO - Initial checks done. Running the testcase now
2026-11-30 04:32:42,115 - INFO -
2026-11-30 04:32:42,820 - DEBUG - Response for create_network : {'network': {'id': '0719ebea-afc6-4767-8291-16b2e8da69e4', 'name': 'ctest-bgpaas_vn-82764489', 'tenant_id': '2ed7701734f14a49b807aeb838894e8b', 'project_id': '2ed7701734f14a49b807aeb838894e8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-32897917', 'ctest-bgpaas_vn-82764489'], 'port_security_enabled': True, 'description': ''}}
2026-11-30 04:32:43,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd79d06f7-9d43-4ea3-b49c-dde49d689950', 'name': '', 'tenant_id': '2ed7701734f14a49b807aeb838894e8b', 'network_id': '0719ebea-afc6-4767-8291-16b2e8da69e4', 'ip_version': 4, 'cidr': '117.52.222.128/26', 'allocation_pools': [{'start': '117.52.222.130', 'end': '117.52.222.190'}], 'gateway_ip': '117.52.222.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.52.222.130', 'tags': [], 'project_id': '2ed7701734f14a49b807aeb838894e8b'}}
2026-11-30 04:32:43,144 - INFO - Created VN ctest-bgpaas_vn-82764489
2026-11-30 04:32:43,159 - DEBUG - VN ctest-bgpaas_vn-82764489 UUID is 0719ebea-afc6-4767-8291-16b2e8da69e4
2026-11-30 04:32:44,167 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6522-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6522-1)
2026-11-30 04:32:44,409 - DEBUG - Image by name ubuntu-bird not found
2026-11-30 04:32:44,409 - DEBUG - Installing image ubuntu-bird
2026-11-30 04:32:44,409 - DEBUG - Image info {'name': 'ubuntu-bird.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_small', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'}
2026-11-30 04:32:44,410 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2026-11-30 04:32:44,410 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2026-11-30 04:32:44,431 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz -O /contrail-test/images/ubuntu-bird.vmdk.gz
2026-11-30 04:32:47,062 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2026-11-30 04:32:47,063 - DEBUG - Unzip image
2026-11-30 04:32:47,063 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2026-11-30 04:32:58,974 - DEBUG - Try to create image in user context
2026-11-30 04:33:08,349 - DEBUG - Image has been created in user context
2026-11-30 04:33:08,349 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2026-11-30 04:33:08,496 - DEBUG - Downloaded image has been removed
2026-11-30 04:33:08,511 - DEBUG - Uploaded image status = active
2026-11-30 04:33:09,129 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6522-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6522-2)
2026-11-30 04:33:09,130 - INFO - Waiting for VM test_vm to be up..
2026-11-30 04:33:09,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-30 04:33:14,330 - DEBUG - VM is in ACTIVE state now
2026-11-30 04:33:14,330 - INFO - VM name : test_vm
2026-11-30 04:33:14,436 - DEBUG - VM test_vm ID is 190bd653-0ec1-419f-b8d7-b8cd08fae650
2026-11-30 04:33:14,471 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-6522-1
2026-11-30 04:33:14,559 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/190bd653-0ec1-419f-b8d7-b8cd08fae650
2026-11-30 04:33:14,932 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/190bd653-0ec1-419f-b8d7-b8cd08fae650
2026-11-30 04:33:14,968 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/47acd761-f4f1-496f-8b0f-1c23393cffd9
2026-11-30 04:33:18,187 - DEBUG - (True, 'PING 169.254.0.7 (169.254.0.7) 56(84) bytes of data.\r\n\r\n--- 169.254.0.7 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms')
2026-11-30 04:33:18,187 - DEBUG - Ping to Metadata IP 169.254.0.7 of VM test_vm failed!
2026-11-30 04:33:18,207 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32897917:ctest-bgpaas_vn-82764489 is 117.52.222.129 and allocation pool is NOT set
2026-11-30 04:33:22,288 - DEBUG - (True, 'PING 169.254.0.7 (169.254.0.7) 56(84) bytes of data.\r\n\r\n--- 169.254.0.7 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2026-11-30 04:33:22,288 - DEBUG - Ping to Metadata IP 169.254.0.7 of VM test_vm failed!
2026-11-30 04:33:22,303 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32897917:ctest-bgpaas_vn-82764489 is 117.52.222.129 and allocation pool is NOT set
2026-11-30 04:33:24,379 - DEBUG - (True, 'PING 169.254.0.7 (169.254.0.7) 56(84) bytes of data.\r\n64 bytes from 169.254.0.7: icmp_seq=1 ttl=63 time=14.8 ms\r\n64 bytes from 169.254.0.7: icmp_seq=2 ttl=63 time=3.97 ms\r\n\r\n--- 169.254.0.7 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.970/9.370/14.771/5.400 ms')
2026-11-30 04:33:24,379 - INFO - Ping to Metadata IP 169.254.0.7 of VM test_vm passed
2026-11-30 04:33:24,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-30 04:33:24,447 - DEBUG - Waiting to SSH to VM test_vm, IP 117.52.222.131, Port 22
2026-11-30 04:33:24,516 - DEBUG - Error on ssh to cirros@169.254.0.7:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.7/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.7/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.7/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-11-30 04:33:24,636 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2026-11-30 04:33:29,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-30 04:33:29,637 - DEBUG - Waiting to SSH to VM test_vm, IP 117.52.222.131, Port 22
2026-11-30 04:33:29,704 - DEBUG - Error on ssh to cirros@169.254.0.7:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.7/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.7/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.7/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-11-30 04:33:29,793 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2026-11-30 04:33:34,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-30 04:33:34,794 - DEBUG - Waiting to SSH to VM test_vm, IP 117.52.222.131, Port 22
2026-11-30 04:33:34,864 - DEBUG - Error on ssh to cirros@169.254.0.7:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.7/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.7/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.7/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-11-30 04:33:34,954 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2026-11-30 04:33:39,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-30 04:33:39,955 - DEBUG - Waiting to SSH to VM test_vm, IP 117.52.222.131, Port 22
2026-11-30 04:33:40,024 - DEBUG - Error on ssh to cirros@169.254.0.7:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.7/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.7/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.7/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-11-30 04:33:40,104 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2026-11-30 04:33:45,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-30 04:33:45,105 - DEBUG - Waiting to SSH to VM test_vm, IP 117.52.222.131, Port 22
2026-11-30 04:33:45,276 - DEBUG - VM test_vm is ready for SSH connections
2026-11-30 04:33:45,276 - INFO - Waiting for VM bgpaas_vm1 to be up..
2026-11-30 04:33:45,333 - DEBUG - VM is in ERROR state now
2026-11-30 04:33:45,333 - ERROR - VM in error state.
2026-11-30 04:33:45,333 - ERROR - VM is not in ACTIVE state
2026-11-30 04:33:45,417 - ERROR - Fatal Nova Exception while getting VM detail
2026-11-30 04:33:45,417 - DEBUG - None
2026-11-30 04:33:45,423 - INFO - Skip interface_detach for VM bgpaas_vm1 in state ERROR
2026-11-30 04:33:45,423 - INFO - Deleting VM bgpaas_vm1
2026-11-30 04:33:45,423 - ERROR - VM bgpaas_vm1 has failed to come up
2026-11-30 04:33:45,423 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2026-11-30T04:33:09Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib64/python3.9/site-packages/nova/conductor/manager.py", line 1654, in schedule_and_build_instances\n host_lists = self._schedule_instances(context, request_specs[0],\n File "/var/lib/kolla/venv/lib64/python3.9/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n host_lists = self.query_client.select_destinations(\n File "/var/lib/kolla/venv/lib64/python3.9/site-packages/nova/scheduler/client/query.py", line 41, in select_destinations\n return self.scheduler_rpcapi.select_destinations(context, spec_obj,\n File "/var/lib/kolla/venv/lib64/python3.9/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/lib64/python3.9/site-packages/oslo_messaging/rpc/client.py", line 190, in call\n result = self.transport._send(\n File "/var/lib/kolla/venv/lib64/python3.9/site-packages/oslo_messaging/transport.py", line 123, in _send\n return self._driver.send(target, ctxt, message,\n File "/var/lib/kolla/venv/lib64/python3.9/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 806, in send\n return self._send(target, ctxt, message, wait_for_reply, timeout,\n File "/var/lib/kolla/venv/lib64/python3.9/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 798, 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/lib64/python3.9/site-packages/oslo_messaging/rpc/server.py", line 269, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib64/python3.9/site-packages/nova/scheduler/manager.py", line 255, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'}
2026-11-30 04:33:45,427 - INFO - Deleting VM test_vm
2026-11-30 04:33:45,509 - INFO - Deleting VN ctest-bgpaas_vn-82764489
2026-11-30 04:33:45,548 - DEBUG - VN 0719ebea-afc6-4767-8291-16b2e8da69e4 still in use: Unable to complete operation on network 0719ebea-afc6-4767-8291-16b2e8da69e4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b49d6b31-ee4a-462c-aaa7-80986167958c']
2026-11-30 04:33:45,548 - WARNING - Deleting VN ctest-bgpaas_vn-82764489 failed..Will retry
2026-11-30 04:33:47,591 - DEBUG - VN 0719ebea-afc6-4767-8291-16b2e8da69e4 still in use: Unable to complete operation on network 0719ebea-afc6-4767-8291-16b2e8da69e4. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2f008a7c-a641-4fec-bcec-86d5a3b3b45c']
2026-11-30 04:33:47,591 - WARNING - Deleting VN ctest-bgpaas_vn-82764489 failed..Will retry
2026-11-30 04:33:49,740 - DEBUG - Response for deleting network ()
2026-11-30 04:33:51,067 - ERROR - AssertionError
Python 3.9.25: /usr/bin/python3
Mon Nov 30 04:33:45 2026
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/bgpaas/test_bgpaas_local_as.py in test_basic_bgpaas_local_as(self=)
31 2. Make sure BGP with vm comes up.
32 '''
33 ret_dict = self.config_basic(image_name='ubuntu-bird')
34 vn_fixture = ret_dict['vn_fixture']
35 test_vm = ret_dict['test_vm']
ret_dict undefined
self =
self.config_basic = >
image_name undefined
/contrail-test/serial_scripts/bgpaas/base.py in config_basic(self=, image_name='ubuntu-bird')
47
48 assert test_vm.wait_till_vm_is_up()
49 assert bgpaas_vm1.wait_till_vm_is_up()
50 ret_dict = {
51 'vn_fixture': vn_fixture,
bgpaas_vm1 =
bgpaas_vm1.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/serial_scripts/bgpaas/test_bgpaas_local_as.py", line 33, in test_basic_bgpaas_local_as
ret_dict = self.config_basic(image_name='ubuntu-bird')
File "/contrail-test/serial_scripts/bgpaas/base.py", line 49, in config_basic
assert bgpaas_vm1.wait_till_vm_is_up()
AssertionError
2026-11-30 04:33:51,070 - DEBUG - Skipping xmpp flap check
2026-11-30 04:33:51,070 - INFO -
2026-11-30 04:33:51,070 - INFO - END TEST : test_basic_bgpaas_local_as : FAILED[0:01:11]
2026-11-30 04:33:51,070 - INFO - --------------------------------------------------------------------------------
2026-11-30 04:33:51,876 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-32897917, ID : 2ed77017-34f1-4a49-b807-aeb838894e8b