2025-10-31 16:27:50,692 - INFO - Domain Default found not creating 2025-10-31 16:27:50,828 - INFO - Project ctest-TestBGPaaSlocalAS-54906350 not found, creating it 2025-10-31 16:27:51,371 - INFO - Created Project:ctest-TestBGPaaSlocalAS-54906350, ID : 7cb485f2-7eb2-4876-8102-2bb7c51915a5 2025-10-31 16:27:52,832 - DEBUG - Services list from nova: [, , , ] 2025-10-31 16:27:52,832 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4577-1', 'an-jenkins-deploy-platform-ansible-os-4577-2']} 2025-10-31 16:27:52,834 - INFO - ================================================================================ 2025-10-31 16:27:52,834 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-10-31 16:27:52,834 - 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-10-31 16:27:54,103 - DEBUG - Skipping xmpp flap check 2025-10-31 16:27:54,103 - INFO - Initial checks done. Running the testcase now 2025-10-31 16:27:54,103 - INFO - 2025-10-31 16:27:54,774 - DEBUG - Response for create_network : {'network': {'id': '863936e0-c5c4-400c-a83b-8403fc5b80ab', 'name': 'ctest-bgpaas_vn-24596692', 'tenant_id': '7cb485f27eb2487681022bb7c51915a5', 'project_id': '7cb485f27eb2487681022bb7c51915a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-54906350', 'ctest-bgpaas_vn-24596692'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 16:27:55,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e092c35-9c57-4cc2-a405-e3331d7f1c4e', 'name': '', 'tenant_id': '7cb485f27eb2487681022bb7c51915a5', 'network_id': '863936e0-c5c4-400c-a83b-8403fc5b80ab', 'ip_version': 4, 'cidr': '77.56.196.0/26', 'allocation_pools': [{'start': '77.56.196.2', 'end': '77.56.196.62'}], 'gateway_ip': '77.56.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.56.196.2', 'tags': [], 'project_id': '7cb485f27eb2487681022bb7c51915a5'}} 2025-10-31 16:27:55,140 - INFO - Created VN ctest-bgpaas_vn-24596692 2025-10-31 16:27:55,155 - DEBUG - VN ctest-bgpaas_vn-24596692 UUID is 863936e0-c5c4-400c-a83b-8403fc5b80ab 2025-10-31 16:27:56,391 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-1) 2025-10-31 16:27:56,594 - DEBUG - Image by name ubuntu-bird not found 2025-10-31 16:27:56,595 - DEBUG - Installing image ubuntu-bird 2025-10-31 16:27:56,595 - 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-10-31 16:27:56,595 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-31 16:27:56,595 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-31 16:27:56,607 - 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-10-31 16:27:59,225 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-31 16:27:59,225 - DEBUG - Unzip image 2025-10-31 16:27:59,225 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-31 16:28:09,921 - DEBUG - Try to create image in user context 2025-10-31 16:28:16,632 - DEBUG - Image has been created in user context 2025-10-31 16:28:16,632 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-10-31 16:28:16,788 - DEBUG - Downloaded image has been removed 2025-10-31 16:28:16,804 - DEBUG - Uploaded image status = active 2025-10-31 16:28:17,912 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4577-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4577-2) 2025-10-31 16:28:17,912 - INFO - Waiting for VM test_vm to be up.. 2025-10-31 16:28:17,994 - DEBUG - VM is in ACTIVE state now 2025-10-31 16:28:17,994 - INFO - VM name : test_vm 2025-10-31 16:28:18,100 - DEBUG - VM test_vm ID is 071d2091-ddc7-4da3-a493-8a25d6cc75a5 2025-10-31 16:28:18,124 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4577-1 2025-10-31 16:28:18,209 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/071d2091-ddc7-4da3-a493-8a25d6cc75a5 2025-10-31 16:28:18,599 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/071d2091-ddc7-4da3-a493-8a25d6cc75a5 2025-10-31 16:28:18,645 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/35b24985-0444-48ad-bded-f6d674e096aa 2025-10-31 16:28:19,886 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.587 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.587/1.672/2.757/1.085 ms') 2025-10-31 16:28:19,886 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-31 16:28:19,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:28:19,982 - DEBUG - Waiting to SSH to VM test_vm, IP 77.56.196.3, Port 22 2025-10-31 16:28:20,183 - DEBUG - VM test_vm is ready for SSH connections 2025-10-31 16:28:20,183 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-10-31 16:28:20,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:28:25,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:28:30,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:28:35,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:28:40,696 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:28:45,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:28:50,865 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 16:28:55,947 - DEBUG - VM is in ACTIVE state now 2025-10-31 16:28:55,947 - INFO - VM name : bgpaas_vm1 2025-10-31 16:28:56,026 - DEBUG - VM bgpaas_vm1 ID is f393b820-0a2f-4481-8ae1-3350fb0bf174 2025-10-31 16:28:56,026 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4577-2 2025-10-31 16:28:56,131 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f393b820-0a2f-4481-8ae1-3350fb0bf174 2025-10-31 16:28:56,148 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/24ea0509-5b4e-438d-9edf-a61553a056f3 2025-10-31 16:28:59,326 - 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 1010ms') 2025-10-31 16:28:59,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:28:59,342 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:03,416 - 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 1009ms') 2025-10-31 16:29:03,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:03,433 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:07,509 - 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 1010ms') 2025-10-31 16:29:07,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:07,522 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:11,606 - 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 1015ms') 2025-10-31 16:29:11,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:11,624 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:15,706 - 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-10-31 16:29:15,706 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:15,722 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:19,795 - 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 1012ms') 2025-10-31 16:29:19,795 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:19,809 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:23,896 - 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 1021ms') 2025-10-31 16:29:23,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:23,914 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:27,988 - 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 1009ms') 2025-10-31 16:29:27,988 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:28,002 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:32,086 - 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 1017ms') 2025-10-31 16:29:32,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:32,101 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:36,183 - 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 1004ms') 2025-10-31 16:29:36,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:36,197 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:40,276 - 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 1014ms') 2025-10-31 16:29:40,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:40,289 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:44,377 - 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-10-31 16:29:44,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:44,393 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:48,472 - 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-10-31 16:29:48,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:48,489 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:52,599 - 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 1037ms') 2025-10-31 16:29:52,600 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:52,613 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:29:56,692 - 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 1013ms') 2025-10-31 16:29:56,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:29:56,709 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:30:00,794 - 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 1020ms') 2025-10-31 16:30:00,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:30:00,808 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:30:04,881 - 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 1012ms') 2025-10-31 16:30:04,881 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:30:04,897 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:30:08,980 - 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 1017ms') 2025-10-31 16:30:08,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:30:08,994 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:30:13,079 - 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 1020ms') 2025-10-31 16:30:13,079 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-31 16:30:13,097 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-54906350:ctest-bgpaas_vn-24596692 is 77.56.196.1 and allocation pool is NOT set 2025-10-31 16:30:15,166 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.231/3.032/4.833/1.801 ms') 2025-10-31 16:30:15,166 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-10-31 16:30:15,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:15,235 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:15,302 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:15,391 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:20,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:20,391 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:20,472 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:20,547 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:25,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:25,548 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:25,617 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:25,721 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:30,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:30,722 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:30,788 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:30,869 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:35,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:35,871 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:35,937 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:36,032 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:41,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:41,033 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:41,101 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:41,185 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:46,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:46,187 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:46,253 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:46,338 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:51,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:51,339 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:51,409 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:51,489 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:30:56,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:30:56,490 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:30:56,557 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:30:56,647 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:31:01,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:31:01,648 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:31:01,717 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 16:31:01,802 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 16:31:06,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:31:06,803 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:31:06,973 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-31 16:31:06,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:31:06,981 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-54906350-13887679 2025-10-31 16:31:07,070 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-54906350-13887679(2002fa31-87a6-4953-b3f8-980cd604933b) 2025-10-31 16:31:07,071 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/2002fa31-87a6-4953-b3f8-980cd604933b 2025-10-31 16:31:07,380 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/2002fa31-87a6-4953-b3f8-980cd604933b 2025-10-31 16:31:07,408 - INFO - verify_in_api_server passed for BGPaaS obj 2002fa31-87a6-4953-b3f8-980cd604933b 2025-10-31 16:31:07,408 - INFO - BGPaaS(2002fa31-87a6-4953-b3f8-980cd604933b): verify_on_setup passed 2025-10-31 16:31:07,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:31:07,409 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:31:07,586 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-31 16:31:07,586 - INFO - Attaching VMI 24ea0509-5b4e-438d-9edf-a61553a056f3 to BGPaaS 2002fa31-87a6-4953-b3f8-980cd604933b 2025-10-31 16:31:07,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:31:07,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:31:07,758 - INFO - Configuring BGP on the bird 2025-10-31 16:31:07,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 16:31:07,758 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 77.56.196.4, Port 22 2025-10-31 16:31:07,925 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-31 16:31:07,925 - INFO - Configuring BGP on bgpaas_vm1 2025-10-31 16:31:07,925 - DEBUG - Running remote_cmd, Cmd : cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 77.56.196.4; protocol bgp bgp_1{ local as 64500; neighbor 77.56.196.1 as 764; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 77.56.196.4; } protocol bfd { neighbor 77.56.196.1 local 77.56.196.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-31 16:31:07,925 - DEBUG - cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 77.56.196.4; protocol bgp bgp_1{ local as 64500; neighbor 77.56.196.1 as 764; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 77.56.196.4; } protocol bfd { neighbor 77.56.196.1 local 77.56.196.4 multihop on; } EOS 2025-10-31 16:31:29,688 - DEBUG - None 2025-10-31 16:31:29,688 - DEBUG - Running remote_cmd, Cmd : cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 77.56.196.4; protocol bgp bgp_1{ local as 64500; neighbor 77.56.196.1 as 764; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 77.56.196.4; } protocol bfd { neighbor 77.56.196.1 local 77.56.196.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-31 16:31:29,688 - DEBUG - cat > /etc/bird/bird.conf << EOS protocol device { scan time 10; # Scan interfaces every 10 seconds } protocol kernel { persist; # Don't remove routes on bird shutdown scan time 20; # Scan kernel routing table every 20 seconds import all; # Default is import all #export all; # Default is export none } protocol direct { interface "eth*"; } router id 77.56.196.4; protocol bgp bgp_1{ local as 64500; neighbor 77.56.196.1 as 764; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 77.56.196.4; } protocol bfd { neighbor 77.56.196.1 local 77.56.196.4 multihop on; } EOS 2025-10-31 16:31:30,790 - DEBUG - None 2025-10-31 16:31:30,790 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-31 16:31:30,790 - DEBUG - service bird restart 2025-10-31 16:31:34,626 - DEBUG - bird stop/waiting bird start/running, process 1434 2025-10-31 16:31:34,641 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:31:34,665 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:31:40,697 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:31:40,719 - INFO - BGPaaS session seen in control-node 10.20.0.25 2025-10-31 16:31:40,719 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:31:40,734 - INFO - Detaching VMI 24ea0509-5b4e-438d-9edf-a61553a056f3 from BGPaaS 2002fa31-87a6-4953-b3f8-980cd604933b 2025-10-31 16:31:40,823 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-54906350-13887679(2002fa31-87a6-4953-b3f8-980cd604933b) 2025-10-31 16:31:40,924 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/2002fa31-87a6-4953-b3f8-980cd604933b 2025-10-31 16:31:40,930 - DEBUG - Response Code: 404 2025-10-31 16:31:40,930 - DEBUG - BGPaaS: 2002fa31-87a6-4953-b3f8-980cd604933b deleted from api server 2025-10-31 16:31:40,930 - INFO - BGPaaS(2002fa31-87a6-4953-b3f8-980cd604933b): verify_on_cleanup passed 2025-10-31 16:31:40,930 - INFO - Deleting VM bgpaas_vm1 2025-10-31 16:31:41,040 - INFO - Deleting VM test_vm 2025-10-31 16:31:41,121 - INFO - Deleting VN ctest-bgpaas_vn-24596692 2025-10-31 16:31:41,169 - DEBUG - VN 863936e0-c5c4-400c-a83b-8403fc5b80ab still in use: Unable to complete operation on network 863936e0-c5c4-400c-a83b-8403fc5b80ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-355327c6-2c16-4451-8301-b881f9cbf31c'] 2025-10-31 16:31:41,169 - WARNING - Deleting VN ctest-bgpaas_vn-24596692 failed..Will retry 2025-10-31 16:31:43,375 - DEBUG - Response for deleting network () 2025-10-31 16:31:44,705 - DEBUG - Skipping xmpp flap check
2025-10-31 16:31:44,705 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:52]
2025-10-31 16:31:44,705 - INFO - -------------------------------------------------------------------------------- 2025-10-31 16:31:45,435 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-54906350, ID : 7cb485f2-7eb2-4876-8102-2bb7c51915a5 2025-10-31 16:34:57,372 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:35:03,392 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:35:09,415 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:35:19,440 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:35:25,456 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:35:25,481 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:35:41,319 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:39:11,479 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:39:23,550 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:39:30,479 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-31 16:39:30,517 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=