2025-08-06 16:43:51,173 - INFO - Domain Default found not creating 2025-08-06 16:43:51,311 - INFO - Project ctest-TestBGPaaSlocalAS-77431519 not found, creating it 2025-08-06 16:43:51,891 - INFO - Created Project:ctest-TestBGPaaSlocalAS-77431519, ID : 0bc96891-9db3-4c63-aded-3f74d16f6382 2025-08-06 16:43:53,364 - DEBUG - Services list from nova: [, , , ] 2025-08-06 16:43:53,364 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3763-1', 'an-jenkins-deploy-platform-ansible-os-3763-2']} 2025-08-06 16:43:53,367 - INFO - ================================================================================ 2025-08-06 16:43:53,367 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-08-06 16:43:53,367 - 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-08-06 16:43:54,654 - DEBUG - Skipping xmpp flap check 2025-08-06 16:43:54,654 - INFO - Initial checks done. Running the testcase now 2025-08-06 16:43:54,654 - INFO - 2025-08-06 16:43:55,387 - DEBUG - Response for create_network : {'network': {'id': '93429d5d-e814-4ffb-95ca-254ae349c5e8', 'name': 'ctest-bgpaas_vn-88046192', 'tenant_id': '0bc968919db34c63aded3f74d16f6382', 'project_id': '0bc968919db34c63aded3f74d16f6382', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-77431519', 'ctest-bgpaas_vn-88046192'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 16:43:55,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e839724-8a8c-4e39-92a1-cfaaeb66bb31', 'name': '', 'tenant_id': '0bc968919db34c63aded3f74d16f6382', 'network_id': '93429d5d-e814-4ffb-95ca-254ae349c5e8', 'ip_version': 4, 'cidr': '25.168.164.64/26', 'allocation_pools': [{'start': '25.168.164.66', 'end': '25.168.164.126'}], 'gateway_ip': '25.168.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.168.164.66', 'tags': [], 'project_id': '0bc968919db34c63aded3f74d16f6382'}} 2025-08-06 16:43:55,681 - INFO - Created VN ctest-bgpaas_vn-88046192 2025-08-06 16:43:55,693 - DEBUG - VN ctest-bgpaas_vn-88046192 UUID is 93429d5d-e814-4ffb-95ca-254ae349c5e8 2025-08-06 16:43:57,083 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-1) 2025-08-06 16:43:58,542 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-2) 2025-08-06 16:43:58,542 - INFO - Waiting for VM test_vm to be up.. 2025-08-06 16:43:58,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 16:44:03,751 - DEBUG - VM is in ACTIVE state now 2025-08-06 16:44:03,752 - INFO - VM name : test_vm 2025-08-06 16:44:03,881 - DEBUG - VM test_vm ID is 75fa3eb3-64e3-4812-9e43-86dce723b600 2025-08-06 16:44:03,918 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3763-1 2025-08-06 16:44:04,043 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/75fa3eb3-64e3-4812-9e43-86dce723b600 2025-08-06 16:44:04,380 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/75fa3eb3-64e3-4812-9e43-86dce723b600 2025-08-06 16:44:04,422 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c7b84eec-43ce-4a8e-b916-6423a577e1a8 2025-08-06 16:44:07,690 - 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-08-06 16:44:07,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-06 16:44:07,703 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:11,790 - 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-08-06 16:44:11,790 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-06 16:44:11,804 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:15,888 - 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-08-06 16:44:15,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-06 16:44:15,906 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:17,973 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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.616/3.193/4.771/1.577 ms') 2025-08-06 16:44:17,973 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-06 16:44:18,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:44:18,088 - DEBUG - Waiting to SSH to VM test_vm, IP 25.168.164.67, Port 22 2025-08-06 16:44:18,157 - 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-08-06 16:44:18,237 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:44:23,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:44:23,238 - DEBUG - Waiting to SSH to VM test_vm, IP 25.168.164.67, Port 22 2025-08-06 16:44:23,305 - 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-08-06 16:44:23,389 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:44:28,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:44:28,390 - DEBUG - Waiting to SSH to VM test_vm, IP 25.168.164.67, Port 22 2025-08-06 16:44:28,457 - 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-08-06 16:44:28,536 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:44:33,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:44:33,537 - DEBUG - Waiting to SSH to VM test_vm, IP 25.168.164.67, Port 22 2025-08-06 16:44:33,695 - DEBUG - VM test_vm is ready for SSH connections 2025-08-06 16:44:33,695 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-08-06 16:44:33,779 - DEBUG - VM is in ACTIVE state now 2025-08-06 16:44:33,779 - INFO - VM name : bgpaas_vm1 2025-08-06 16:44:33,859 - DEBUG - VM bgpaas_vm1 ID is 4363fe87-9d5a-48c8-84b4-20ff7e6f9724 2025-08-06 16:44:33,860 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3763-2 2025-08-06 16:44:33,946 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4363fe87-9d5a-48c8-84b4-20ff7e6f9724 2025-08-06 16:44:33,957 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/21dd5ec0-adbe-4548-a72b-8550d5c99205 2025-08-06 16:44:37,211 - 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-08-06 16:44:37,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:44:37,227 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:41,308 - 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-08-06 16:44:41,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:44:41,322 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:45,411 - 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-08-06 16:44:45,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:44:45,424 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:49,498 - 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-08-06 16:44:49,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:44:49,511 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:53,597 - 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-08-06 16:44:53,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:44:53,611 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:44:57,695 - 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 1019ms') 2025-08-06 16:44:57,695 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:44:57,709 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:01,790 - 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-08-06 16:45:01,790 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:01,808 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:05,894 - 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-08-06 16:45:05,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:05,912 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:09,979 - 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 1005ms') 2025-08-06 16:45:09,979 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:09,996 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:14,075 - 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 1016ms') 2025-08-06 16:45:14,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:14,091 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:18,175 - 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-08-06 16:45:18,175 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:18,189 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:22,268 - 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-08-06 16:45:22,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:22,282 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:26,362 - 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-08-06 16:45:26,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:26,378 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:30,458 - 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-08-06 16:45:30,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:30,474 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:34,558 - 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-08-06 16:45:34,558 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:34,574 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:38,651 - 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-08-06 16:45:38,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:38,667 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:42,755 - 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-08-06 16:45:42,755 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:42,774 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:46,843 - 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-08-06 16:45:46,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:46,861 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:50,942 - 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-08-06 16:45:50,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 16:45:50,962 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-77431519:ctest-bgpaas_vn-88046192 is 25.168.164.65 and allocation pool is NOT set 2025-08-06 16:45:53,032 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.459/1.542/2.625/1.083 ms') 2025-08-06 16:45:53,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-08-06 16:45:53,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:45:53,155 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:45:53,223 - 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-08-06 16:45:53,335 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:45:58,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:45:58,336 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:45:58,412 - 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-08-06 16:45:58,504 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:03,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:03,504 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:03,570 - 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-08-06 16:46:03,649 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:08,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:08,652 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:08,719 - 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-08-06 16:46:08,797 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:13,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:13,798 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:13,866 - 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-08-06 16:46:13,946 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:18,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:18,947 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:19,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-08-06 16:46:19,095 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:24,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:24,096 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:24,166 - 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-08-06 16:46:24,249 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:29,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:29,250 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:29,317 - 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-08-06 16:46:29,409 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:34,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:34,410 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:34,478 - 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-08-06 16:46:34,567 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:39,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:39,568 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:39,634 - 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-08-06 16:46:39,708 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:44,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:44,709 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:44,778 - 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-08-06 16:46:44,869 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 16:46:49,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:49,870 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:50,042 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-06 16:46:50,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:50,050 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-77431519-56187957 2025-08-06 16:46:50,134 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-77431519-56187957(1258a28d-130e-4801-9a1e-cfa025400b08) 2025-08-06 16:46:50,135 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/1258a28d-130e-4801-9a1e-cfa025400b08 2025-08-06 16:46:50,439 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/1258a28d-130e-4801-9a1e-cfa025400b08 2025-08-06 16:46:50,473 - INFO - verify_in_api_server passed for BGPaaS obj 1258a28d-130e-4801-9a1e-cfa025400b08 2025-08-06 16:46:50,473 - INFO - BGPaaS(1258a28d-130e-4801-9a1e-cfa025400b08): verify_on_setup passed 2025-08-06 16:46:50,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:50,473 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:50,651 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-06 16:46:50,651 - INFO - Attaching VMI 21dd5ec0-adbe-4548-a72b-8550d5c99205 to BGPaaS 1258a28d-130e-4801-9a1e-cfa025400b08 2025-08-06 16:46:50,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:50,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:50,902 - INFO - Configuring BGP on the bird 2025-08-06 16:46:50,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 16:46:50,902 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 25.168.164.68, Port 22 2025-08-06 16:46:51,078 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-06 16:46:51,078 - INFO - Configuring BGP on bgpaas_vm1 2025-08-06 16:46:51,078 - 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 25.168.164.68; protocol bgp bgp_1{ local as 64500; neighbor 25.168.164.65 as 634; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 25.168.164.68; } protocol bfd { neighbor 25.168.164.65 local 25.168.164.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 16:46:51,078 - 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 25.168.164.68; protocol bgp bgp_1{ local as 64500; neighbor 25.168.164.65 as 634; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 25.168.164.68; } protocol bfd { neighbor 25.168.164.65 local 25.168.164.68 multihop on; } EOS 2025-08-06 16:47:10,767 - DEBUG - None 2025-08-06 16:47:10,767 - 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 25.168.164.68; protocol bgp bgp_1{ local as 64500; neighbor 25.168.164.65 as 634; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 25.168.164.68; } protocol bfd { neighbor 25.168.164.65 local 25.168.164.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 16:47:10,768 - 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 25.168.164.68; protocol bgp bgp_1{ local as 64500; neighbor 25.168.164.65 as 634; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 25.168.164.68; } protocol bfd { neighbor 25.168.164.65 local 25.168.164.68 multihop on; } EOS 2025-08-06 16:47:11,865 - DEBUG - None 2025-08-06 16:47:11,865 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-06 16:47:11,865 - DEBUG - service bird restart 2025-08-06 16:47:15,574 - DEBUG - bird stop/waiting bird start/running, process 1435 2025-08-06 16:47:15,591 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:47:15,614 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:47:21,650 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:47:21,669 - INFO - BGPaaS session seen in control-node 10.20.0.254 2025-08-06 16:47:21,669 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:47:21,686 - INFO - Detaching VMI 21dd5ec0-adbe-4548-a72b-8550d5c99205 from BGPaaS 1258a28d-130e-4801-9a1e-cfa025400b08 2025-08-06 16:47:21,763 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-77431519-56187957(1258a28d-130e-4801-9a1e-cfa025400b08) 2025-08-06 16:47:21,822 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/1258a28d-130e-4801-9a1e-cfa025400b08 2025-08-06 16:47:21,832 - DEBUG - Response Code: 404 2025-08-06 16:47:21,832 - DEBUG - BGPaaS: 1258a28d-130e-4801-9a1e-cfa025400b08 deleted from api server 2025-08-06 16:47:21,832 - INFO - BGPaaS(1258a28d-130e-4801-9a1e-cfa025400b08): verify_on_cleanup passed 2025-08-06 16:47:21,832 - INFO - Deleting VM bgpaas_vm1 2025-08-06 16:47:21,958 - INFO - Deleting VM test_vm 2025-08-06 16:47:22,031 - INFO - Deleting VN ctest-bgpaas_vn-88046192 2025-08-06 16:47:22,070 - DEBUG - VN 93429d5d-e814-4ffb-95ca-254ae349c5e8 still in use: Unable to complete operation on network 93429d5d-e814-4ffb-95ca-254ae349c5e8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2c7a0297-fb9e-400e-a3b2-974a2e2b90db'] 2025-08-06 16:47:22,070 - WARNING - Deleting VN ctest-bgpaas_vn-88046192 failed..Will retry 2025-08-06 16:47:24,251 - DEBUG - Response for deleting network () 2025-08-06 16:47:25,531 - DEBUG - Skipping xmpp flap check 2025-08-06 16:47:25,531 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:32] 2025-08-06 16:47:25,531 - INFO - -------------------------------------------------------------------------------- 2025-08-06 16:47:26,317 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-77431519, ID : 0bc96891-9db3-4c63-aded-3f74d16f6382 2025-08-06 16:50:36,154 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:50:58,566 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:51:04,586 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:51:15,244 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:51:21,263 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:54:47,484 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:54:47,527 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:54:53,545 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:54:59,563 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:55:06,568 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 16:55:06,614 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=