2025-10-27 03:55:02,161 - INFO - Domain Default found not creating 2025-10-27 03:55:02,341 - INFO - Project ctest-TestBGPaaSlocalAS-53731191 not found, creating it 2025-10-27 03:55:02,921 - INFO - Created Project:ctest-TestBGPaaSlocalAS-53731191, ID : 68671093-a579-4add-ab40-473cd103567a 2025-10-27 03:55:04,455 - DEBUG - Services list from nova: [, , , ] 2025-10-27 03:55:04,455 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4489-2', 'an-jenkins-deploy-platform-ansible-os-4489-1']} 2025-10-27 03:55:04,457 - INFO - ================================================================================ 2025-10-27 03:55:04,458 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-10-27 03:55:04,458 - 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-27 03:55:05,734 - DEBUG - Skipping xmpp flap check 2025-10-27 03:55:05,734 - INFO - Initial checks done. Running the testcase now 2025-10-27 03:55:05,734 - INFO - 2025-10-27 03:55:06,395 - DEBUG - Response for create_network : {'network': {'id': '7368f41a-4ef3-4fb0-9b73-59b3117dc103', 'name': 'ctest-bgpaas_vn-51777534', 'tenant_id': '68671093a5794addab40473cd103567a', 'project_id': '68671093a5794addab40473cd103567a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-53731191', 'ctest-bgpaas_vn-51777534'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 03:55:06,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae6003df-5b3c-4aff-92e9-274c8bbc6432', 'name': '', 'tenant_id': '68671093a5794addab40473cd103567a', 'network_id': '7368f41a-4ef3-4fb0-9b73-59b3117dc103', 'ip_version': 4, 'cidr': '44.249.25.192/26', 'allocation_pools': [{'start': '44.249.25.194', 'end': '44.249.25.254'}], 'gateway_ip': '44.249.25.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.249.25.194', 'tags': [], 'project_id': '68671093a5794addab40473cd103567a'}} 2025-10-27 03:55:06,697 - INFO - Created VN ctest-bgpaas_vn-51777534 2025-10-27 03:55:06,708 - DEBUG - VN ctest-bgpaas_vn-51777534 UUID is 7368f41a-4ef3-4fb0-9b73-59b3117dc103 2025-10-27 03:55:07,910 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-2) 2025-10-27 03:55:07,993 - DEBUG - Image by name ubuntu-bird not found 2025-10-27 03:55:07,994 - DEBUG - Installing image ubuntu-bird 2025-10-27 03:55:07,994 - 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-27 03:55:07,994 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-27 03:55:07,995 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-27 03:55:08,011 - 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-27 03:55:10,663 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-27 03:55:10,663 - DEBUG - Unzip image 2025-10-27 03:55:10,663 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-27 03:55:22,109 - DEBUG - Try to create image in user context 2025-10-27 03:55:29,391 - DEBUG - Image has been created in user context 2025-10-27 03:55:29,392 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-10-27 03:55:29,576 - DEBUG - Downloaded image has been removed 2025-10-27 03:55:29,594 - DEBUG - Uploaded image status = active 2025-10-27 03:55:30,777 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4489-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4489-1) 2025-10-27 03:55:30,777 - INFO - Waiting for VM test_vm to be up.. 2025-10-27 03:55:30,879 - DEBUG - VM is in ACTIVE state now 2025-10-27 03:55:30,879 - INFO - VM name : test_vm 2025-10-27 03:55:30,978 - DEBUG - VM test_vm ID is 10369bb3-a3b9-48af-bc51-907f0a673fa8 2025-10-27 03:55:31,007 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4489-2 2025-10-27 03:55:31,120 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/10369bb3-a3b9-48af-bc51-907f0a673fa8 2025-10-27 03:55:31,564 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/10369bb3-a3b9-48af-bc51-907f0a673fa8 2025-10-27 03:55:31,611 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/bab54aab-2abf-4a47-9bbb-eacff732abfb 2025-10-27 03:55:32,843 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.992 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 = 0.992/2.349/3.706/1.357 ms') 2025-10-27 03:55:32,843 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-27 03:55:32,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:55:32,943 - DEBUG - Waiting to SSH to VM test_vm, IP 44.249.25.195, Port 22 2025-10-27 03:55:33,012 - DEBUG - Error on ssh to cirros@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-27 03:55:33,139 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:55:38,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:55:38,140 - DEBUG - Waiting to SSH to VM test_vm, IP 44.249.25.195, Port 22 2025-10-27 03:55:38,210 - DEBUG - Error on ssh to cirros@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-27 03:55:38,342 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:55:43,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:55:43,343 - DEBUG - Waiting to SSH to VM test_vm, IP 44.249.25.195, Port 22 2025-10-27 03:55:43,411 - DEBUG - Error on ssh to cirros@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-27 03:55:43,497 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:55:48,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:55:48,498 - DEBUG - Waiting to SSH to VM test_vm, IP 44.249.25.195, Port 22 2025-10-27 03:55:48,671 - DEBUG - VM test_vm is ready for SSH connections 2025-10-27 03:55:48,671 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-10-27 03:55:48,778 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 03:55:53,865 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 03:55:58,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 03:56:04,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 03:56:09,137 - DEBUG - VM is in ACTIVE state now 2025-10-27 03:56:09,137 - INFO - VM name : bgpaas_vm1 2025-10-27 03:56:09,219 - DEBUG - VM bgpaas_vm1 ID is 3abcf435-eecd-442b-b4d0-e02ffa1a3877 2025-10-27 03:56:09,219 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4489-1 2025-10-27 03:56:09,307 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/3abcf435-eecd-442b-b4d0-e02ffa1a3877 2025-10-27 03:56:09,323 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/ccd9d04c-e785-4a60-b2bc-0fbc24b0c959 2025-10-27 03:56:12,516 - 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 1025ms') 2025-10-27 03:56:12,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:12,530 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:16,617 - 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-27 03:56:16,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:16,633 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:20,701 - 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-27 03:56:20,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:20,715 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:24,806 - 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 1027ms') 2025-10-27 03:56:24,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:24,823 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:28,906 - 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-27 03:56:28,906 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:28,923 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:32,989 - 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-27 03:56:32,989 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:33,003 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:37,091 - 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 1024ms') 2025-10-27 03:56:37,091 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:37,106 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:41,187 - 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-27 03:56:41,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:41,202 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:45,284 - 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 1018ms') 2025-10-27 03:56:45,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:45,301 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:49,373 - 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-27 03:56:49,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:49,389 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:53,471 - 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 1022ms') 2025-10-27 03:56:53,471 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:53,486 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:56:57,569 - 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-27 03:56:57,570 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:56:57,583 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:57:01,668 - 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-27 03:57:01,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:57:01,682 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:57:05,761 - 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-27 03:57:05,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:57:05,775 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:57:09,858 - 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-27 03:57:09,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:57:09,879 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:57:13,951 - 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-27 03:57:13,951 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-27 03:57:13,970 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-53731191:ctest-bgpaas_vn-51777534 is 44.249.25.193 and allocation pool is NOT set 2025-10-27 03:57:16,035 - 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=1.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.15 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.825/1.989/2.153/0.164 ms') 2025-10-27 03:57:16,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-10-27 03:57:16,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:16,105 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:16,163 - 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-27 03:57:16,269 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:21,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:21,269 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:21,338 - 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-27 03:57:21,438 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:26,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:26,439 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:26,505 - 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-27 03:57:26,597 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:31,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:31,598 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:31,657 - 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-27 03:57:31,763 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:36,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:36,764 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:36,829 - 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-27 03:57:36,945 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:41,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:41,946 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:42,014 - 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-27 03:57:42,101 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:47,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:47,101 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:47,164 - 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-27 03:57:47,252 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:52,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:52,252 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:52,318 - 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-27 03:57:52,396 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:57:57,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:57:57,397 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:57:57,455 - 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-27 03:57:57,550 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:58:02,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:58:02,551 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:58:02,618 - 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-27 03:58:02,701 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 03:58:07,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:58:07,702 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:58:07,869 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-27 03:58:07,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:58:07,877 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-53731191-87872685 2025-10-27 03:58:07,953 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-53731191-87872685(ef5d1b3f-2762-4499-8605-1eb4c9f42ee4) 2025-10-27 03:58:07,953 - DEBUG - Requesting: http://10.0.0.249:8082/bgp-as-a-service/ef5d1b3f-2762-4499-8605-1eb4c9f42ee4 2025-10-27 03:58:08,252 - DEBUG - Requesting: http://10.0.0.249:8082/bgp-as-a-service/ef5d1b3f-2762-4499-8605-1eb4c9f42ee4 2025-10-27 03:58:08,288 - INFO - verify_in_api_server passed for BGPaaS obj ef5d1b3f-2762-4499-8605-1eb4c9f42ee4 2025-10-27 03:58:08,288 - INFO - BGPaaS(ef5d1b3f-2762-4499-8605-1eb4c9f42ee4): verify_on_setup passed 2025-10-27 03:58:08,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:58:08,289 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:58:08,474 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-27 03:58:08,474 - INFO - Attaching VMI ccd9d04c-e785-4a60-b2bc-0fbc24b0c959 to BGPaaS ef5d1b3f-2762-4499-8605-1eb4c9f42ee4 2025-10-27 03:58:08,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:58:08,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:58:08,648 - INFO - Configuring BGP on the bird 2025-10-27 03:58:08,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 03:58:08,648 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 44.249.25.196, Port 22 2025-10-27 03:58:08,816 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-27 03:58:08,816 - INFO - Configuring BGP on bgpaas_vm1 2025-10-27 03:58:08,817 - 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 44.249.25.196; protocol bgp bgp_1{ local as 64500; neighbor 44.249.25.193 as 251; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 44.249.25.196; } protocol bfd { neighbor 44.249.25.193 local 44.249.25.196 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-27 03:58:08,817 - 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 44.249.25.196; protocol bgp bgp_1{ local as 64500; neighbor 44.249.25.193 as 251; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 44.249.25.196; } protocol bfd { neighbor 44.249.25.193 local 44.249.25.196 multihop on; } EOS 2025-10-27 03:58:24,299 - DEBUG - None 2025-10-27 03:58:24,300 - 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 44.249.25.196; protocol bgp bgp_1{ local as 64500; neighbor 44.249.25.193 as 251; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 44.249.25.196; } protocol bfd { neighbor 44.249.25.193 local 44.249.25.196 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-27 03:58:24,300 - 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 44.249.25.196; protocol bgp bgp_1{ local as 64500; neighbor 44.249.25.193 as 251; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 44.249.25.196; } protocol bfd { neighbor 44.249.25.193 local 44.249.25.196 multihop on; } EOS 2025-10-27 03:58:25,401 - DEBUG - None 2025-10-27 03:58:25,401 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-27 03:58:25,401 - DEBUG - service bird restart 2025-10-27 03:58:28,823 - DEBUG - bird stop/waiting bird start/running, process 1434 2025-10-27 03:58:28,836 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 03:58:28,856 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 03:58:34,889 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 03:58:34,908 - INFO - BGPaaS session seen in control-node 10.20.0.25 2025-10-27 03:58:34,909 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 03:58:34,925 - INFO - Detaching VMI ccd9d04c-e785-4a60-b2bc-0fbc24b0c959 from BGPaaS ef5d1b3f-2762-4499-8605-1eb4c9f42ee4 2025-10-27 03:58:35,021 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-53731191-87872685(ef5d1b3f-2762-4499-8605-1eb4c9f42ee4) 2025-10-27 03:58:35,121 - DEBUG - Requesting: http://10.0.0.249:8082/bgp-as-a-service/ef5d1b3f-2762-4499-8605-1eb4c9f42ee4 2025-10-27 03:58:35,145 - DEBUG - Response Code: 404 2025-10-27 03:58:35,146 - DEBUG - BGPaaS: ef5d1b3f-2762-4499-8605-1eb4c9f42ee4 deleted from api server 2025-10-27 03:58:35,146 - INFO - BGPaaS(ef5d1b3f-2762-4499-8605-1eb4c9f42ee4): verify_on_cleanup passed 2025-10-27 03:58:35,146 - INFO - Deleting VM bgpaas_vm1 2025-10-27 03:58:35,265 - INFO - Deleting VM test_vm 2025-10-27 03:58:35,378 - INFO - Deleting VN ctest-bgpaas_vn-51777534 2025-10-27 03:58:35,423 - DEBUG - VN 7368f41a-4ef3-4fb0-9b73-59b3117dc103 still in use: Unable to complete operation on network 7368f41a-4ef3-4fb0-9b73-59b3117dc103. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-779f243b-23b8-4dc3-a689-8ff85b50cdcb'] 2025-10-27 03:58:35,423 - WARNING - Deleting VN ctest-bgpaas_vn-51777534 failed..Will retry 2025-10-27 03:58:37,709 - DEBUG - Response for deleting network () 2025-10-27 03:58:39,025 - DEBUG - Skipping xmpp flap check 2025-10-27 03:58:39,025 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:35] 2025-10-27 03:58:39,025 - INFO - -------------------------------------------------------------------------------- 2025-10-27 03:58:39,811 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-53731191, ID : 68671093-a579-4add-ab40-473cd103567a 2025-10-27 04:02:08,890 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:02:14,909 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:02:26,312 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:02:32,335 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:02:32,360 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:02:48,799 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:05:49,479 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:06:01,559 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:06:08,206 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-27 04:06:08,248 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=