2025-09-11 03:18:24,762 - INFO - Domain Default found not creating 2025-09-11 03:18:24,938 - INFO - Project ctest-TestBGPaaSlocalAS-05123932 not found, creating it 2025-09-11 03:18:25,474 - INFO - Created Project:ctest-TestBGPaaSlocalAS-05123932, ID : a3dc3b8b-ed70-4781-91e4-b325150991c1 2025-09-11 03:18:27,250 - DEBUG - Services list from nova: [, , , ] 2025-09-11 03:18:27,250 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4079-1', 'an-jenkins-deploy-platform-ansible-os-4079-2']} 2025-09-11 03:18:27,252 - INFO - ================================================================================ 2025-09-11 03:18:27,253 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-09-11 03:18:27,253 - 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-09-11 03:18:28,536 - DEBUG - Skipping xmpp flap check 2025-09-11 03:18:28,536 - INFO - Initial checks done. Running the testcase now 2025-09-11 03:18:28,536 - INFO - 2025-09-11 03:18:29,171 - DEBUG - Response for create_network : {'network': {'id': '76a40824-0421-415d-ab04-97be2a32d6a2', 'name': 'ctest-bgpaas_vn-91730460', 'tenant_id': 'a3dc3b8bed70478191e4b325150991c1', 'project_id': 'a3dc3b8bed70478191e4b325150991c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-05123932', 'ctest-bgpaas_vn-91730460'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 03:18:29,409 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efe78fc5-76e9-4dae-8b5a-9aa936628120', 'name': '', 'tenant_id': 'a3dc3b8bed70478191e4b325150991c1', 'network_id': '76a40824-0421-415d-ab04-97be2a32d6a2', 'ip_version': 4, 'cidr': '2.236.121.128/26', 'allocation_pools': [{'start': '2.236.121.130', 'end': '2.236.121.190'}], 'gateway_ip': '2.236.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.236.121.130', 'tags': [], 'project_id': 'a3dc3b8bed70478191e4b325150991c1'}} 2025-09-11 03:18:29,430 - INFO - Created VN ctest-bgpaas_vn-91730460 2025-09-11 03:18:29,442 - DEBUG - VN ctest-bgpaas_vn-91730460 UUID is 76a40824-0421-415d-ab04-97be2a32d6a2 2025-09-11 03:18:30,956 - 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 03:18:31,192 - DEBUG - Image by name ubuntu-bird not found 2025-09-11 03:18:31,192 - DEBUG - Installing image ubuntu-bird 2025-09-11 03:18:31,192 - 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-09-11 03:18:31,192 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-09-11 03:18:31,192 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-09-11 03:18:31,205 - 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-09-11 03:18:33,879 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-09-11 03:18:33,880 - DEBUG - Unzip image 2025-09-11 03:18:33,880 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-09-11 03:18:43,707 - DEBUG - Try to create image in user context 2025-09-11 03:18:50,836 - DEBUG - Image has been created in user context 2025-09-11 03:18:50,836 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-09-11 03:18:51,020 - DEBUG - Downloaded image has been removed 2025-09-11 03:18:51,033 - DEBUG - Uploaded image status = active 2025-09-11 03:18:52,583 - 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 03:18:52,583 - INFO - Waiting for VM test_vm to be up.. 2025-09-11 03:18:52,669 - DEBUG - VM is in ACTIVE state now 2025-09-11 03:18:52,669 - INFO - VM name : test_vm 2025-09-11 03:18:52,748 - DEBUG - VM test_vm ID is 00a17dff-1148-4c5f-a0de-610510b2d70f 2025-09-11 03:18:52,779 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4079-1 2025-09-11 03:18:52,864 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/00a17dff-1148-4c5f-a0de-610510b2d70f 2025-09-11 03:18:53,164 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/00a17dff-1148-4c5f-a0de-610510b2d70f 2025-09-11 03:18:53,196 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/0e94b41c-a067-4d59-b4e6-a440db1608cd 2025-09-11 03:18:54,370 - 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=6.91 ms\r\n64 bytes from 169.254.0.7: icmp_seq=2 ttl=63 time=2.02 ms\r\n\r\n--- 169.254.0.7 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.022/4.464/6.907/2.442 ms') 2025-09-11 03:18:54,370 - INFO - Ping to Metadata IP 169.254.0.7 of VM test_vm passed 2025-09-11 03:18:54,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 03:18:54,439 - DEBUG - Waiting to SSH to VM test_vm, IP 2.236.121.131, Port 22 2025-09-11 03:18:54,505 - 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': ''} 2025-09-11 03:18:54,588 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 03:18:59,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 03:18:59,589 - DEBUG - Waiting to SSH to VM test_vm, IP 2.236.121.131, Port 22 2025-09-11 03:18:59,755 - DEBUG - VM test_vm is ready for SSH connections 2025-09-11 03:18:59,755 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-09-11 03:18:59,809 - DEBUG - VM is in ERROR state now 2025-09-11 03:18:59,809 - ERROR - VM in error state. 2025-09-11 03:18:59,809 - ERROR - VM is not in ACTIVE state 2025-09-11 03:18:59,893 - ERROR - Fatal Nova Exception while getting VM detail 2025-09-11 03:18:59,893 - DEBUG - None 2025-09-11 03:18:59,898 - INFO - Skip interface_detach for VM bgpaas_vm1 in state ERROR 2025-09-11 03:18:59,898 - INFO - Deleting VM bgpaas_vm1 2025-09-11 03:18:59,899 - ERROR - VM bgpaas_vm1 has failed to come up 2025-09-11 03:18:59,899 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-09-11T03:18:52Z', '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 03:18:59,902 - INFO - Deleting VM test_vm 2025-09-11 03:18:59,977 - INFO - Deleting VN ctest-bgpaas_vn-91730460 2025-09-11 03:19:00,019 - DEBUG - VN 76a40824-0421-415d-ab04-97be2a32d6a2 still in use: Unable to complete operation on network 76a40824-0421-415d-ab04-97be2a32d6a2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e767523-cb6d-4e35-b60a-068b55416ca7'] 2025-09-11 03:19:00,019 - WARNING - Deleting VN ctest-bgpaas_vn-91730460 failed..Will retry 2025-09-11 03:19:02,164 - DEBUG - Response for deleting network () 2025-09-11 03:19:03,444 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Thu Sep 11 03:18:59 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') 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 2025-09-11 03:19:03,444 - DEBUG - Skipping xmpp flap check 2025-09-11 03:19:03,444 - INFO - 2025-09-11 03:19:03,444 - INFO - END TEST : test_basic_bgpaas_local_as : FAILED[0:00:36] 2025-09-11 03:19:03,444 - INFO - -------------------------------------------------------------------------------- 2025-09-11 03:19:04,178 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-05123932, ID : a3dc3b8b-ed70-4781-91e4-b325150991c1