2026-05-28 01:35:56,161 - INFO - Domain Default found not creating 2026-05-28 01:35:56,387 - INFO - Project ctest-TestBGPaaSlocalAS-20905146 not found, creating it 2026-05-28 01:35:56,925 - INFO - Created Project:ctest-TestBGPaaSlocalAS-20905146, ID : ea53b460-87b1-4bd7-a6c4-5335833ea606 2026-05-28 01:35:58,791 - DEBUG - Services list from nova: [, , , ] 2026-05-28 01:35:58,791 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-5836-1', 'an-jenkins-deploy-platform-ansible-os-5836-2']} 2026-05-28 01:35:58,795 - INFO - ================================================================================ 2026-05-28 01:35:58,795 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2026-05-28 01:35:58,795 - 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. 2026-05-28 01:36:00,084 - DEBUG - Skipping xmpp flap check 2026-05-28 01:36:00,084 - INFO - Initial checks done. Running the testcase now 2026-05-28 01:36:00,084 - INFO - 2026-05-28 01:36:00,925 - DEBUG - Response for create_network : {'network': {'id': '4e65d098-790f-45e8-bdff-cd670dc07b29', 'name': 'ctest-bgpaas_vn-09131256', 'tenant_id': 'ea53b46087b14bd7a6c45335833ea606', 'project_id': 'ea53b46087b14bd7a6c45335833ea606', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-20905146', 'ctest-bgpaas_vn-09131256'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 01:36:01,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bba48aab-9956-44c7-856d-56ca902384cb', 'name': '', 'tenant_id': 'ea53b46087b14bd7a6c45335833ea606', 'network_id': '4e65d098-790f-45e8-bdff-cd670dc07b29', 'ip_version': 4, 'cidr': '146.183.187.128/26', 'allocation_pools': [{'start': '146.183.187.130', 'end': '146.183.187.190'}], 'gateway_ip': '146.183.187.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.183.187.130', 'tags': [], 'project_id': 'ea53b46087b14bd7a6c45335833ea606'}} 2026-05-28 01:36:01,288 - INFO - Created VN ctest-bgpaas_vn-09131256 2026-05-28 01:36:01,307 - DEBUG - VN ctest-bgpaas_vn-09131256 UUID is 4e65d098-790f-45e8-bdff-cd670dc07b29 2026-05-28 01:36:02,989 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5836-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5836-1) 2026-05-28 01:36:03,110 - DEBUG - Image by name ubuntu-bird not found 2026-05-28 01:36:03,110 - DEBUG - Installing image ubuntu-bird 2026-05-28 01:36:03,110 - 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'} 2026-05-28 01:36:03,111 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2026-05-28 01:36:03,112 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2026-05-28 01:36:03,131 - 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 2026-05-28 01:36:05,734 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2026-05-28 01:36:05,734 - DEBUG - Unzip image 2026-05-28 01:36:05,734 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2026-05-28 01:36:19,137 - DEBUG - Try to create image in user context 2026-05-28 01:36:27,737 - DEBUG - Image has been created in user context 2026-05-28 01:36:27,738 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2026-05-28 01:36:27,946 - DEBUG - Downloaded image has been removed 2026-05-28 01:36:27,968 - DEBUG - Uploaded image status = active 2026-05-28 01:36:29,555 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5836-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5836-2) 2026-05-28 01:36:29,556 - INFO - Waiting for VM test_vm to be up.. 2026-05-28 01:36:29,682 - DEBUG - VM is in ACTIVE state now 2026-05-28 01:36:29,706 - INFO - VM name : test_vm 2026-05-28 01:36:29,818 - DEBUG - VM test_vm ID is 10796c32-58e9-4657-934e-7a1b3c09ed5a 2026-05-28 01:36:29,856 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-5836-1 2026-05-28 01:36:30,004 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/10796c32-58e9-4657-934e-7a1b3c09ed5a 2026-05-28 01:36:30,442 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/10796c32-58e9-4657-934e-7a1b3c09ed5a 2026-05-28 01:36:30,547 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/697daa62-c73b-474c-a0ff-4748dda90e93 2026-05-28 01:36:31,839 - 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.85 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 1001ms\r\nrtt min/avg/max/mdev = 0.459/2.152/3.845/1.693 ms') 2026-05-28 01:36:31,839 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2026-05-28 01:36:31,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:36:31,967 - DEBUG - Waiting to SSH to VM test_vm, IP 146.183.187.131, Port 22 2026-05-28 01:36:32,181 - DEBUG - VM test_vm is ready for SSH connections 2026-05-28 01:36:32,181 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2026-05-28 01:36:32,353 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:36:37,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:36:42,690 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:36:47,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:36:52,935 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:36:58,070 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:37:03,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:37:08,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 01:37:13,420 - DEBUG - VM is in ACTIVE state now 2026-05-28 01:37:13,420 - INFO - VM name : bgpaas_vm1 2026-05-28 01:37:13,529 - DEBUG - VM bgpaas_vm1 ID is 09fe0e3e-5c41-469c-b304-de2ce16574ff 2026-05-28 01:37:13,529 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-5836-2 2026-05-28 01:37:13,649 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/09fe0e3e-5c41-469c-b304-de2ce16574ff 2026-05-28 01:37:13,662 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1cd75f67-41a7-4869-9cc5-6992b25daca4 2026-05-28 01:37:16,863 - 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 1030ms') 2026-05-28 01:37:16,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:16,886 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:20,962 - 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') 2026-05-28 01:37:20,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:20,983 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:25,058 - 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') 2026-05-28 01:37:25,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:25,077 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:29,154 - 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') 2026-05-28 01:37:29,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:29,174 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:33,252 - 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 1006ms') 2026-05-28 01:37:33,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:33,271 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:37,347 - 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') 2026-05-28 01:37:37,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:37,367 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:41,436 - 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 1008ms') 2026-05-28 01:37:41,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:41,453 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:45,537 - 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') 2026-05-28 01:37:45,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:45,554 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:49,636 - 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') 2026-05-28 01:37:49,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:49,663 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:53,754 - 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 1033ms') 2026-05-28 01:37:53,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:53,773 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:37:57,859 - 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') 2026-05-28 01:37:57,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:37:57,878 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:01,946 - 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') 2026-05-28 01:38:01,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:38:01,966 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:06,049 - 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') 2026-05-28 01:38:06,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:38:06,067 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:10,144 - 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') 2026-05-28 01:38:10,144 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:38:10,163 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:14,234 - 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') 2026-05-28 01:38:14,234 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:38:14,253 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:18,335 - 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') 2026-05-28 01:38:18,335 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:38:18,353 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:22,469 - 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 1035ms') 2026-05-28 01:38:22,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:38:22,488 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:26,562 - 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 1006ms') 2026-05-28 01:38:26,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2026-05-28 01:38:26,581 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-20905146:ctest-bgpaas_vn-09131256 is 146.183.187.129 and allocation pool is NOT set 2026-05-28 01:38:28,654 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.79 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 = 2.139/2.465/2.792/0.326 ms') 2026-05-28 01:38:28,654 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2026-05-28 01:38:28,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:38:28,728 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:38:28,795 - 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': ''} 2026-05-28 01:38:28,902 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:38:33,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:38:33,903 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:38:33,971 - 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': ''} 2026-05-28 01:38:34,121 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:38:39,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:38:39,122 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:38:39,191 - 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': ''} 2026-05-28 01:38:39,325 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:38:44,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:38:44,327 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:38:44,396 - 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': ''} 2026-05-28 01:38:44,502 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:38:49,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:38:49,503 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:38:49,571 - 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': ''} 2026-05-28 01:38:49,696 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:38:54,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:38:54,697 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:38:54,767 - 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': ''} 2026-05-28 01:38:54,894 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:38:59,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:38:59,896 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:38:59,963 - 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': ''} 2026-05-28 01:39:00,091 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:39:05,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:05,093 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:39:05,160 - 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': ''} 2026-05-28 01:39:05,269 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:39:10,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:10,271 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:39:10,339 - 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': ''} 2026-05-28 01:39:10,447 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:39:15,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:15,448 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:39:15,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': ''} 2026-05-28 01:39:15,607 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 01:39:20,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:20,608 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:39:20,783 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2026-05-28 01:39:20,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:20,792 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-20905146-23317966 2026-05-28 01:39:20,891 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-20905146-23317966(8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f) 2026-05-28 01:39:20,891 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f 2026-05-28 01:39:21,238 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f 2026-05-28 01:39:21,280 - INFO - verify_in_api_server passed for BGPaaS obj 8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f 2026-05-28 01:39:21,280 - INFO - BGPaaS(8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f): verify_on_setup passed 2026-05-28 01:39:21,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:21,280 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:39:21,447 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2026-05-28 01:39:21,447 - INFO - Attaching VMI 1cd75f67-41a7-4869-9cc5-6992b25daca4 to BGPaaS 8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f 2026-05-28 01:39:21,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:21,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:21,655 - INFO - Configuring BGP on the bird 2026-05-28 01:39:21,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 01:39:21,656 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 146.183.187.132, Port 22 2026-05-28 01:39:21,829 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2026-05-28 01:39:21,830 - INFO - Configuring BGP on bgpaas_vm1 2026-05-28 01:39:21,830 - 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 146.183.187.132; protocol bgp bgp_1{ local as 64500; neighbor 146.183.187.129 as 731; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 146.183.187.132; } protocol bfd { neighbor 146.183.187.129 local 146.183.187.132 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-05-28 01:39:21,830 - 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 146.183.187.132; protocol bgp bgp_1{ local as 64500; neighbor 146.183.187.129 as 731; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 146.183.187.132; } protocol bfd { neighbor 146.183.187.129 local 146.183.187.132 multihop on; } EOS 2026-05-28 01:39:39,114 - DEBUG - None 2026-05-28 01:39:39,114 - 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 146.183.187.132; protocol bgp bgp_1{ local as 64500; neighbor 146.183.187.129 as 731; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 146.183.187.132; } protocol bfd { neighbor 146.183.187.129 local 146.183.187.132 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-05-28 01:39:39,114 - 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 146.183.187.132; protocol bgp bgp_1{ local as 64500; neighbor 146.183.187.129 as 731; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 146.183.187.132; } protocol bfd { neighbor 146.183.187.129 local 146.183.187.132 multihop on; } EOS 2026-05-28 01:39:40,251 - DEBUG - None 2026-05-28 01:39:40,251 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-05-28 01:39:40,251 - DEBUG - service bird restart 2026-05-28 01:39:43,808 - DEBUG - bird stop/waiting bird start/running, process 1427 2026-05-28 01:39:43,823 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:39:43,847 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:39:49,891 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:39:49,911 - INFO - BGPaaS session seen in control-node 10.20.0.254 2026-05-28 01:39:49,912 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:39:49,931 - INFO - Detaching VMI 1cd75f67-41a7-4869-9cc5-6992b25daca4 from BGPaaS 8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f 2026-05-28 01:39:50,022 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-20905146-23317966(8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f) 2026-05-28 01:39:50,071 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f 2026-05-28 01:39:50,104 - DEBUG - Response Code: 404 2026-05-28 01:39:50,105 - DEBUG - BGPaaS: 8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f deleted from api server 2026-05-28 01:39:50,105 - INFO - BGPaaS(8fb6c5bd-8095-4c50-816b-17fb8dfe6d5f): verify_on_cleanup passed 2026-05-28 01:39:50,105 - INFO - Deleting VM bgpaas_vm1 2026-05-28 01:39:50,248 - INFO - Deleting VM test_vm 2026-05-28 01:39:50,352 - INFO - Deleting VN ctest-bgpaas_vn-09131256 2026-05-28 01:39:50,414 - DEBUG - VN 4e65d098-790f-45e8-bdff-cd670dc07b29 still in use: Unable to complete operation on network 4e65d098-790f-45e8-bdff-cd670dc07b29. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8eefbdd4-dae6-458d-8e36-ef456221afe3'] 2026-05-28 01:39:50,415 - WARNING - Deleting VN ctest-bgpaas_vn-09131256 failed..Will retry 2026-05-28 01:39:52,767 - DEBUG - Response for deleting network () 2026-05-28 01:39:54,081 - DEBUG - Skipping xmpp flap check
2026-05-28 01:39:54,081 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:56]
2026-05-28 01:39:54,081 - INFO - -------------------------------------------------------------------------------- 2026-05-28 01:39:54,948 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-20905146, ID : ea53b460-87b1-4bd7-a6c4-5335833ea606 2026-05-28 01:43:49,924 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:43:49,952 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:43:55,983 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:44:02,002 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:44:19,715 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:44:30,673 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:44:36,690 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:44:36,712 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:47:49,503 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:47:49,519 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:47:49,543 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:47:55,558 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:48:01,578 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:48:01,596 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:48:08,630 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:48:08,646 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:48:08,670 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2026-05-28 01:48:08,691 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=