2025-12-22 03:48:51,535 - INFO - Domain Default found not creating
2025-12-22 03:48:51,685 - INFO - Project ctest-TestBGPaaSlocalAS-52758132 not found, creating it
2025-12-22 03:48:52,256 - INFO - Created Project:ctest-TestBGPaaSlocalAS-52758132, ID : 0f6d4598-99af-448c-ba25-20d8c5998470
2025-12-22 03:48:53,771 - DEBUG - Services list from nova: [, , , ]
2025-12-22 03:48:53,771 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4918-1', 'an-jenkins-deploy-platform-ansible-os-4918-2']}
2025-12-22 03:48:53,773 - INFO - ================================================================================
2025-12-22 03:48:53,773 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-12-22 03:48:53,773 - 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.
2025-12-22 03:48:55,054 - DEBUG - Skipping xmpp flap check
2025-12-22 03:48:55,054 - INFO - Initial checks done. Running the testcase now
2025-12-22 03:48:55,054 - INFO -
2025-12-22 03:48:55,721 - DEBUG - Response for create_network : {'network': {'id': '41b563c8-a392-49b0-aeb1-70512930335e', 'name': 'ctest-bgpaas_vn-34036712', 'tenant_id': '0f6d459899af448cba2520d8c5998470', 'project_id': '0f6d459899af448cba2520d8c5998470', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-52758132', 'ctest-bgpaas_vn-34036712'], 'port_security_enabled': True, 'description': ''}}
2025-12-22 03:48:56,054 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e84d55cb-bd80-4410-aa00-53bb7faddf33', 'name': '', 'tenant_id': '0f6d459899af448cba2520d8c5998470', 'network_id': '41b563c8-a392-49b0-aeb1-70512930335e', 'ip_version': 4, 'cidr': '108.199.4.64/26', 'allocation_pools': [{'start': '108.199.4.66', 'end': '108.199.4.126'}], 'gateway_ip': '108.199.4.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.199.4.66', 'tags': [], 'project_id': '0f6d459899af448cba2520d8c5998470'}}
2025-12-22 03:48:56,073 - INFO - Created VN ctest-bgpaas_vn-34036712
2025-12-22 03:48:56,087 - DEBUG - VN ctest-bgpaas_vn-34036712 UUID is 41b563c8-a392-49b0-aeb1-70512930335e
2025-12-22 03:48:57,307 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-1)
2025-12-22 03:48:57,422 - DEBUG - Image by name ubuntu-bird not found
2025-12-22 03:48:57,422 - DEBUG - Installing image ubuntu-bird
2025-12-22 03:48:57,423 - 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'}
2025-12-22 03:48:57,423 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-12-22 03:48:57,423 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-12-22 03:48:57,436 - 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
2025-12-22 03:49:00,161 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-12-22 03:49:00,161 - DEBUG - Unzip image
2025-12-22 03:49:00,161 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-12-22 03:49:10,961 - DEBUG - Try to create image in user context
2025-12-22 03:49:17,692 - DEBUG - Image has been created in user context
2025-12-22 03:49:17,692 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-12-22 03:49:17,836 - DEBUG - Downloaded image has been removed
2025-12-22 03:49:17,850 - DEBUG - Uploaded image status = active
2025-12-22 03:49:18,968 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-2)
2025-12-22 03:49:18,968 - INFO - Waiting for VM test_vm to be up..
2025-12-22 03:49:19,032 - DEBUG - VM is in ERROR state now
2025-12-22 03:49:19,032 - ERROR - VM in error state.
2025-12-22 03:49:19,032 - ERROR - VM is not in ACTIVE state
2025-12-22 03:49:19,109 - ERROR - Fatal Nova Exception while getting VM detail
2025-12-22 03:49:19,110 - DEBUG - None
2025-12-22 03:49:19,115 - INFO - Skip interface_detach for VM bgpaas_vm1 in state BUILD
2025-12-22 03:49:19,116 - INFO - Deleting VM bgpaas_vm1
2025-12-22 03:49:19,151 - ERROR - VM bgpaas_vm1 has failed to come up
2025-12-22 03:49:19,151 - ERROR - Nova failed to get host of the VM
2025-12-22 03:49:19,151 - ERROR - VM bgpaas_vm1 has failed to come up
2025-12-22 03:49:19,151 - ERROR - Nova failed to get host of the VM
2025-12-22 03:49:19,373 - INFO - Skip interface_detach for VM test_vm in state ERROR
2025-12-22 03:49:19,373 - INFO - Deleting VM test_vm
2025-12-22 03:49:19,373 - ERROR - VM test_vm has failed to come up
2025-12-22 03:49:19,374 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-12-22T03:48:57Z', '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-12-22 03:49:19,376 - INFO - Deleting VN ctest-bgpaas_vn-34036712
2025-12-22 03:49:19,564 - DEBUG - Response for deleting network ()
2025-12-22 03:49:20,881 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Mon Dec 22 03:49: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/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')
46 vn_fixture, 'bgpaas_vm1', image_name=image_name)
47
48 assert test_vm.wait_till_vm_is_up()
49 assert bgpaas_vm1.wait_till_vm_is_up()
50 ret_dict = {
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/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 48, in config_basic
assert test_vm.wait_till_vm_is_up()
AssertionError
2025-12-22 03:49:20,882 - DEBUG - Skipping xmpp flap check
2025-12-22 03:49:20,882 - INFO -
2025-12-22 03:49:20,882 - INFO - END TEST : test_basic_bgpaas_local_as : FAILED[0:00:27]
2025-12-22 03:49:20,882 - INFO - --------------------------------------------------------------------------------
2025-12-22 03:49:22,099 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-52758132, ID : 0f6d4598-99af-448c-ba25-20d8c5998470