2025-10-30 11:53:57,527 - INFO - Domain Default found not creating 2025-10-30 11:53:57,739 - INFO - Project ctest-TestBGPaaSlocalAS-75449813 not found, creating it 2025-10-30 11:53:58,383 - INFO - Created Project:ctest-TestBGPaaSlocalAS-75449813, ID : dd354a1c-9a99-408e-8064-1f89b8dd0588 2025-10-30 11:53:59,930 - DEBUG - Services list from nova: [, , , ] 2025-10-30 11:53:59,930 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4541-1', 'an-jenkins-deploy-platform-ansible-os-4541-2']} 2025-10-30 11:53:59,933 - INFO - ================================================================================ 2025-10-30 11:53:59,933 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-10-30 11:53:59,934 - 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-30 11:54:01,218 - DEBUG - Skipping xmpp flap check 2025-10-30 11:54:01,218 - INFO - Initial checks done. Running the testcase now 2025-10-30 11:54:01,219 - INFO - 2025-10-30 11:54:01,909 - DEBUG - Response for create_network : {'network': {'id': '571cb798-eb92-4337-aa40-12cc232b6054', 'name': 'ctest-bgpaas_vn-74360730', 'tenant_id': 'dd354a1c9a99408e80641f89b8dd0588', 'project_id': 'dd354a1c9a99408e80641f89b8dd0588', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-75449813', 'ctest-bgpaas_vn-74360730'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 11:54:02,221 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ce13c1e-9c31-45ce-97a1-891f82917191', 'name': '', 'tenant_id': 'dd354a1c9a99408e80641f89b8dd0588', 'network_id': '571cb798-eb92-4337-aa40-12cc232b6054', 'ip_version': 4, 'cidr': '204.7.74.192/26', 'allocation_pools': [{'start': '204.7.74.194', 'end': '204.7.74.254'}], 'gateway_ip': '204.7.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.7.74.194', 'tags': [], 'project_id': 'dd354a1c9a99408e80641f89b8dd0588'}} 2025-10-30 11:54:02,247 - INFO - Created VN ctest-bgpaas_vn-74360730 2025-10-30 11:54:02,259 - DEBUG - VN ctest-bgpaas_vn-74360730 UUID is 571cb798-eb92-4337-aa40-12cc232b6054 2025-10-30 11:54:03,593 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-1) 2025-10-30 11:54:03,682 - DEBUG - Image by name ubuntu-bird not found 2025-10-30 11:54:03,682 - DEBUG - Installing image ubuntu-bird 2025-10-30 11:54:03,682 - 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-30 11:54:03,683 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-30 11:54:03,683 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-30 11:54:03,698 - 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-30 11:54:06,353 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-30 11:54:06,354 - DEBUG - Unzip image 2025-10-30 11:54:06,354 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-30 11:54:18,588 - DEBUG - Try to create image in user context 2025-10-30 11:54:26,006 - DEBUG - Image has been created in user context 2025-10-30 11:54:26,006 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-10-30 11:54:26,167 - DEBUG - Downloaded image has been removed 2025-10-30 11:54:26,181 - DEBUG - Uploaded image status = active 2025-10-30 11:54:27,369 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4541-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4541-2) 2025-10-30 11:54:27,369 - INFO - Waiting for VM test_vm to be up.. 2025-10-30 11:54:27,468 - DEBUG - VM is in ACTIVE state now 2025-10-30 11:54:27,468 - INFO - VM name : test_vm 2025-10-30 11:54:27,577 - DEBUG - VM test_vm ID is 69cc0102-14a8-4bae-a309-ccd4676cd5e9 2025-10-30 11:54:27,609 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4541-1 2025-10-30 11:54:27,711 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/69cc0102-14a8-4bae-a309-ccd4676cd5e9 2025-10-30 11:54:28,021 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/69cc0102-14a8-4bae-a309-ccd4676cd5e9 2025-10-30 11:54:28,096 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8293ca74-5767-47a3-8249-dee257704bdb 2025-10-30 11:54:29,340 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.12 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 = 3.122/3.605/4.089/0.483 ms') 2025-10-30 11:54:29,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-30 11:54:29,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:54:29,443 - DEBUG - Waiting to SSH to VM test_vm, IP 204.7.74.195, Port 22 2025-10-30 11:54:29,644 - DEBUG - VM test_vm is ready for SSH connections 2025-10-30 11:54:29,645 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-10-30 11:54:29,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 11:54:34,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 11:54:40,019 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 11:54:45,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 11:54:50,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 11:54:55,302 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 11:55:00,387 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 11:55:05,480 - DEBUG - VM is in ACTIVE state now 2025-10-30 11:55:05,480 - INFO - VM name : bgpaas_vm1 2025-10-30 11:55:05,583 - DEBUG - VM bgpaas_vm1 ID is 29fe6c56-88a1-4fef-9590-1f0220130072 2025-10-30 11:55:05,583 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4541-2 2025-10-30 11:55:05,689 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/29fe6c56-88a1-4fef-9590-1f0220130072 2025-10-30 11:55:05,701 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4538fccf-cd41-45ec-b978-24077b21181a 2025-10-30 11:55:08,874 - 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') 2025-10-30 11:55:08,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:08,891 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:12,977 - 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-30 11:55:12,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:12,995 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:17,073 - 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-30 11:55:17,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:17,092 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:21,155 - 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 1003ms') 2025-10-30 11:55:21,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:21,171 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:25,254 - 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-30 11:55:25,255 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:25,272 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:29,361 - 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-30 11:55:29,362 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:29,377 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:33,448 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-30 11:55:33,448 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:33,465 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:37,549 - 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-30 11:55:37,549 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:37,567 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:41,639 - 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-30 11:55:41,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:41,654 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:45,740 - 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-30 11:55:45,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:45,756 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:49,830 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-30 11:55:49,831 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:49,847 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:53,924 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-30 11:55:53,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:53,939 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:55:58,026 - 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-30 11:55:58,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:55:58,047 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:56:02,121 - 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-30 11:56:02,121 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:56:02,138 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:56:06,217 - 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-30 11:56:06,217 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:56:06,234 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:56:10,309 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-30 11:56:10,310 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:56:10,328 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:56:14,412 - 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-10-30 11:56:14,412 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-30 11:56:14,429 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-75449813:ctest-bgpaas_vn-74360730 is 204.7.74.193 and allocation pool is NOT set 2025-10-30 11:56:16,500 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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.062/1.925/2.788/0.863 ms') 2025-10-30 11:56:16,501 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-10-30 11:56:16,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:16,579 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:16,654 - 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-30 11:56:16,757 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:21,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:21,758 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:21,832 - 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-30 11:56:21,933 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:26,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:26,934 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:27,000 - 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-30 11:56:27,084 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:32,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:32,085 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:32,152 - 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-30 11:56:32,243 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:37,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:37,243 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:37,312 - 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-30 11:56:37,404 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:42,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:42,405 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:42,473 - 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-30 11:56:42,570 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:47,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:47,572 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:47,633 - 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-30 11:56:47,729 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:52,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:52,729 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:52,796 - 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-30 11:56:52,888 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:56:57,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:56:57,889 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:56:57,956 - 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-30 11:56:58,060 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 11:57:03,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:57:03,061 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:57:03,228 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-30 11:57:03,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:57:03,237 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-75449813-64383328 2025-10-30 11:57:03,321 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-75449813-64383328(9efa7804-32e5-4d80-ac89-dd3b6b7a5086) 2025-10-30 11:57:03,321 - DEBUG - Requesting: http://10.0.0.249:8082/bgp-as-a-service/9efa7804-32e5-4d80-ac89-dd3b6b7a5086 2025-10-30 11:57:03,637 - DEBUG - Requesting: http://10.0.0.249:8082/bgp-as-a-service/9efa7804-32e5-4d80-ac89-dd3b6b7a5086 2025-10-30 11:57:03,673 - INFO - verify_in_api_server passed for BGPaaS obj 9efa7804-32e5-4d80-ac89-dd3b6b7a5086 2025-10-30 11:57:03,673 - INFO - BGPaaS(9efa7804-32e5-4d80-ac89-dd3b6b7a5086): verify_on_setup passed 2025-10-30 11:57:03,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:57:03,674 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:57:03,830 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-30 11:57:03,830 - INFO - Attaching VMI 4538fccf-cd41-45ec-b978-24077b21181a to BGPaaS 9efa7804-32e5-4d80-ac89-dd3b6b7a5086 2025-10-30 11:57:03,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:57:03,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:57:04,072 - INFO - Configuring BGP on the bird 2025-10-30 11:57:04,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 11:57:04,072 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.7.74.196, Port 22 2025-10-30 11:57:04,245 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-30 11:57:04,245 - INFO - Configuring BGP on bgpaas_vm1 2025-10-30 11:57:04,245 - 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 204.7.74.196; protocol bgp bgp_1{ local as 64500; neighbor 204.7.74.193 as 630; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.7.74.196; } protocol bfd { neighbor 204.7.74.193 local 204.7.74.196 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-30 11:57:04,245 - 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 204.7.74.196; protocol bgp bgp_1{ local as 64500; neighbor 204.7.74.193 as 630; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.7.74.196; } protocol bfd { neighbor 204.7.74.193 local 204.7.74.196 multihop on; } EOS 2025-10-30 11:57:23,402 - DEBUG - None 2025-10-30 11:57:23,402 - 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 204.7.74.196; protocol bgp bgp_1{ local as 64500; neighbor 204.7.74.193 as 630; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.7.74.196; } protocol bfd { neighbor 204.7.74.193 local 204.7.74.196 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-30 11:57:23,403 - 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 204.7.74.196; protocol bgp bgp_1{ local as 64500; neighbor 204.7.74.193 as 630; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.7.74.196; } protocol bfd { neighbor 204.7.74.193 local 204.7.74.196 multihop on; } EOS 2025-10-30 11:57:24,407 - DEBUG - None 2025-10-30 11:57:24,407 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-30 11:57:24,408 - DEBUG - service bird restart 2025-10-30 11:57:27,721 - DEBUG - bird stop/waiting bird start/running, process 1434 2025-10-30 11:57:27,736 - DEBUG - Requesting: http://10.20.0.145:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 11:57:27,758 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 11:57:33,798 - DEBUG - Requesting: http://10.20.0.145:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 11:57:33,815 - INFO - BGPaaS session seen in control-node 10.20.0.145 2025-10-30 11:57:33,815 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 11:57:33,829 - INFO - Detaching VMI 4538fccf-cd41-45ec-b978-24077b21181a from BGPaaS 9efa7804-32e5-4d80-ac89-dd3b6b7a5086 2025-10-30 11:57:33,917 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-75449813-64383328(9efa7804-32e5-4d80-ac89-dd3b6b7a5086) 2025-10-30 11:57:33,991 - DEBUG - Requesting: http://10.0.0.249:8082/bgp-as-a-service/9efa7804-32e5-4d80-ac89-dd3b6b7a5086 2025-10-30 11:57:34,003 - DEBUG - Response Code: 404 2025-10-30 11:57:34,003 - DEBUG - BGPaaS: 9efa7804-32e5-4d80-ac89-dd3b6b7a5086 deleted from api server 2025-10-30 11:57:34,003 - INFO - BGPaaS(9efa7804-32e5-4d80-ac89-dd3b6b7a5086): verify_on_cleanup passed 2025-10-30 11:57:34,003 - INFO - Deleting VM bgpaas_vm1 2025-10-30 11:57:34,097 - INFO - Deleting VM test_vm 2025-10-30 11:57:34,173 - INFO - Deleting VN ctest-bgpaas_vn-74360730 2025-10-30 11:57:34,231 - DEBUG - VN 571cb798-eb92-4337-aa40-12cc232b6054 still in use: Unable to complete operation on network 571cb798-eb92-4337-aa40-12cc232b6054. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ef4aa9b-ca1a-4ae2-a424-1dcb9ac835ae'] 2025-10-30 11:57:34,231 - WARNING - Deleting VN ctest-bgpaas_vn-74360730 failed..Will retry 2025-10-30 11:57:36,497 - DEBUG - Response for deleting network () 2025-10-30 11:57:37,795 - DEBUG - Skipping xmpp flap check
2025-10-30 11:57:37,795 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:38]
2025-10-30 11:57:37,795 - INFO - -------------------------------------------------------------------------------- 2025-10-30 11:57:38,575 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-75449813, ID : dd354a1c-9a99-408e-8064-1f89b8dd0588 2025-10-30 12:01:49,937 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:02:14,228 - DEBUG - Requesting: http://10.20.0.145:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:02:20,247 - DEBUG - Requesting: http://10.20.0.145:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:02:31,537 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:02:37,559 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:05:44,602 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:05:44,642 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:05:50,659 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:05:56,678 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:06:03,026 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-30 12:06:03,069 - DEBUG - Requesting: http://10.20.0.128:8083/Snh_BgpNeighborReq?domain=&ip_address=