2025-10-29 13:14:13,969 - INFO - Domain Default found not creating 2025-10-29 13:14:14,139 - INFO - Project ctest-TestBGPaaSlocalAS-43613535 not found, creating it 2025-10-29 13:14:14,730 - INFO - Created Project:ctest-TestBGPaaSlocalAS-43613535, ID : 8a9cf0cd-5a92-44ab-a32a-af7bee93bba0 2025-10-29 13:14:16,288 - DEBUG - Services list from nova: [, , , ] 2025-10-29 13:14:16,288 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4521-2', 'an-jenkins-deploy-platform-ansible-os-4521-1']} 2025-10-29 13:14:16,291 - INFO - ================================================================================ 2025-10-29 13:14:16,291 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-10-29 13:14:16,291 - 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-29 13:14:17,573 - DEBUG - Skipping xmpp flap check 2025-10-29 13:14:17,573 - INFO - Initial checks done. Running the testcase now 2025-10-29 13:14:17,573 - INFO - 2025-10-29 13:14:18,293 - DEBUG - Response for create_network : {'network': {'id': 'd02de690-0689-460e-9a74-33163a4452d9', 'name': 'ctest-bgpaas_vn-45452910', 'tenant_id': '8a9cf0cd5a9244aba32aaf7bee93bba0', 'project_id': '8a9cf0cd5a9244aba32aaf7bee93bba0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-43613535', 'ctest-bgpaas_vn-45452910'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 13:14:18,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '778abce2-151a-4185-ac36-c99f3681199f', 'name': '', 'tenant_id': '8a9cf0cd5a9244aba32aaf7bee93bba0', 'network_id': 'd02de690-0689-460e-9a74-33163a4452d9', 'ip_version': 4, 'cidr': '184.75.5.192/26', 'allocation_pools': [{'start': '184.75.5.194', 'end': '184.75.5.254'}], 'gateway_ip': '184.75.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.75.5.194', 'tags': [], 'project_id': '8a9cf0cd5a9244aba32aaf7bee93bba0'}} 2025-10-29 13:14:18,676 - INFO - Created VN ctest-bgpaas_vn-45452910 2025-10-29 13:14:18,693 - DEBUG - VN ctest-bgpaas_vn-45452910 UUID is d02de690-0689-460e-9a74-33163a4452d9 2025-10-29 13:14:20,037 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-2) 2025-10-29 13:14:20,142 - DEBUG - Image by name ubuntu-bird not found 2025-10-29 13:14:20,142 - DEBUG - Installing image ubuntu-bird 2025-10-29 13:14:20,143 - 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-29 13:14:20,143 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-29 13:14:20,143 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-29 13:14:20,158 - 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-29 13:14:22,793 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-29 13:14:22,795 - DEBUG - Unzip image 2025-10-29 13:14:22,795 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-29 13:14:34,170 - DEBUG - Try to create image in user context 2025-10-29 13:14:41,614 - DEBUG - Image has been created in user context 2025-10-29 13:14:41,614 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-10-29 13:14:41,779 - DEBUG - Downloaded image has been removed 2025-10-29 13:14:41,792 - DEBUG - Uploaded image status = active 2025-10-29 13:14:42,985 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4521-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4521-1) 2025-10-29 13:14:42,985 - INFO - Waiting for VM test_vm to be up.. 2025-10-29 13:14:43,092 - DEBUG - VM is in ACTIVE state now 2025-10-29 13:14:43,092 - INFO - VM name : test_vm 2025-10-29 13:14:43,209 - DEBUG - VM test_vm ID is 61be2b64-30d6-4253-80dd-af85e322d900 2025-10-29 13:14:43,243 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4521-2 2025-10-29 13:14:43,344 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/61be2b64-30d6-4253-80dd-af85e322d900 2025-10-29 13:14:43,752 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/61be2b64-30d6-4253-80dd-af85e322d900 2025-10-29 13:14:43,798 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ad35f48b-6d91-4cb8-b33a-5708a989f47c 2025-10-29 13:14:45,052 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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 = 2.003/3.262/4.521/1.259 ms') 2025-10-29 13:14:45,052 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-29 13:14:45,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:14:45,181 - DEBUG - Waiting to SSH to VM test_vm, IP 184.75.5.195, Port 22 2025-10-29 13:14:45,259 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-29 13:14:45,378 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:14:50,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:14:50,380 - DEBUG - Waiting to SSH to VM test_vm, IP 184.75.5.195, Port 22 2025-10-29 13:14:50,566 - DEBUG - VM test_vm is ready for SSH connections 2025-10-29 13:14:50,566 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-10-29 13:14:50,697 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 13:14:55,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 13:15:00,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 13:15:05,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 13:15:11,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 13:15:16,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 13:15:21,271 - DEBUG - VM is in ACTIVE state now 2025-10-29 13:15:21,271 - INFO - VM name : bgpaas_vm1 2025-10-29 13:15:21,358 - DEBUG - VM bgpaas_vm1 ID is 3371509f-361f-4e2a-b961-81282d912f0a 2025-10-29 13:15:21,359 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4521-1 2025-10-29 13:15:21,444 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3371509f-361f-4e2a-b961-81282d912f0a 2025-10-29 13:15:21,457 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/6eb0ddf2-75cc-4e01-832d-3cbb89b8d208 2025-10-29 13:15:24,630 - 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-29 13:15:24,630 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:24,645 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:28,725 - 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-10-29 13:15:28,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:28,740 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:32,825 - 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-29 13:15:32,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:32,843 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:36,912 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-10-29 13:15:36,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:36,928 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:41,009 - 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-29 13:15:41,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:41,031 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:45,109 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-10-29 13:15:45,109 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:45,125 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:49,204 - 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-29 13:15:49,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:49,221 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:53,305 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-10-29 13:15:53,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:53,328 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:15:57,401 - 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-29 13:15:57,401 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:15:57,419 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:01,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 1015ms') 2025-10-29 13:16:01,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:01,514 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:05,592 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-10-29 13:16:05,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:05,608 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:09,681 - 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-29 13:16:09,681 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:09,697 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:13,788 - 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-29 13:16:13,788 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:13,804 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:17,879 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-10-29 13:16:17,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:17,897 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:21,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 1015ms') 2025-10-29 13:16:21,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:21,993 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:26,065 - 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-29 13:16:26,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:26,081 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:30,166 - 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-29 13:16:30,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-29 13:16:30,182 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-43613535:ctest-bgpaas_vn-45452910 is 184.75.5.193 and allocation pool is NOT set 2025-10-29 13:16:34,261 - 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=2 ttl=63 time=4.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 4.324/4.324/4.324/0.000 ms') 2025-10-29 13:16:34,261 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-10-29 13:16:34,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:16:34,334 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:16:34,400 - 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-29 13:16:34,491 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:16:39,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:16:39,492 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:16:39,561 - 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-29 13:16:39,673 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:16:44,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:16:44,674 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:16:44,730 - 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-29 13:16:44,826 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:16:49,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:16:49,827 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:16:49,883 - 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-29 13:16:49,968 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:16:54,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:16:54,970 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:16:55,027 - 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-29 13:16:55,162 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:17:00,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:00,162 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:17:00,229 - 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-29 13:17:00,327 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:17:05,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:05,328 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:17:05,397 - 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-29 13:17:05,495 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:17:10,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:10,497 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:17:10,565 - 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-29 13:17:10,656 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:17:15,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:15,657 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:17:15,725 - 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-29 13:17:15,826 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 13:17:20,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:20,826 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:17:20,987 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-29 13:17:20,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:20,994 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-43613535-27301129 2025-10-29 13:17:21,076 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-43613535-27301129(d46dab80-599a-4572-b3db-bca0865aeb8f) 2025-10-29 13:17:21,076 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/d46dab80-599a-4572-b3db-bca0865aeb8f 2025-10-29 13:17:21,385 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/d46dab80-599a-4572-b3db-bca0865aeb8f 2025-10-29 13:17:21,422 - INFO - verify_in_api_server passed for BGPaaS obj d46dab80-599a-4572-b3db-bca0865aeb8f 2025-10-29 13:17:21,422 - INFO - BGPaaS(d46dab80-599a-4572-b3db-bca0865aeb8f): verify_on_setup passed 2025-10-29 13:17:21,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:21,422 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:17:21,589 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-29 13:17:21,590 - INFO - Attaching VMI 6eb0ddf2-75cc-4e01-832d-3cbb89b8d208 to BGPaaS d46dab80-599a-4572-b3db-bca0865aeb8f 2025-10-29 13:17:21,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:21,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:21,778 - INFO - Configuring BGP on the bird 2025-10-29 13:17:21,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 13:17:21,778 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 184.75.5.196, Port 22 2025-10-29 13:17:21,946 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-29 13:17:21,946 - INFO - Configuring BGP on bgpaas_vm1 2025-10-29 13:17:21,948 - 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 184.75.5.196; protocol bgp bgp_1{ local as 64500; neighbor 184.75.5.193 as 433; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 184.75.5.196; } protocol bfd { neighbor 184.75.5.193 local 184.75.5.196 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-29 13:17:21,948 - 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 184.75.5.196; protocol bgp bgp_1{ local as 64500; neighbor 184.75.5.193 as 433; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 184.75.5.196; } protocol bfd { neighbor 184.75.5.193 local 184.75.5.196 multihop on; } EOS 2025-10-29 13:17:41,174 - DEBUG - None 2025-10-29 13:17:41,175 - 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 184.75.5.196; protocol bgp bgp_1{ local as 64500; neighbor 184.75.5.193 as 433; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 184.75.5.196; } protocol bfd { neighbor 184.75.5.193 local 184.75.5.196 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-29 13:17:41,175 - 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 184.75.5.196; protocol bgp bgp_1{ local as 64500; neighbor 184.75.5.193 as 433; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 184.75.5.196; } protocol bfd { neighbor 184.75.5.193 local 184.75.5.196 multihop on; } EOS 2025-10-29 13:17:42,200 - DEBUG - None 2025-10-29 13:17:42,201 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-29 13:17:42,201 - DEBUG - service bird restart 2025-10-29 13:17:45,503 - DEBUG - bird stop/waiting bird start/running, process 1432 2025-10-29 13:17:45,515 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:17:45,533 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:17:51,566 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:17:51,578 - INFO - BGPaaS session seen in control-node 10.20.0.17 2025-10-29 13:17:51,578 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:17:51,595 - INFO - Detaching VMI 6eb0ddf2-75cc-4e01-832d-3cbb89b8d208 from BGPaaS d46dab80-599a-4572-b3db-bca0865aeb8f 2025-10-29 13:17:51,676 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-43613535-27301129(d46dab80-599a-4572-b3db-bca0865aeb8f) 2025-10-29 13:17:51,741 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/d46dab80-599a-4572-b3db-bca0865aeb8f 2025-10-29 13:17:51,747 - DEBUG - Response Code: 404 2025-10-29 13:17:51,747 - DEBUG - BGPaaS: d46dab80-599a-4572-b3db-bca0865aeb8f deleted from api server 2025-10-29 13:17:51,747 - INFO - BGPaaS(d46dab80-599a-4572-b3db-bca0865aeb8f): verify_on_cleanup passed 2025-10-29 13:17:51,748 - INFO - Deleting VM bgpaas_vm1 2025-10-29 13:17:51,882 - INFO - Deleting VM test_vm 2025-10-29 13:17:51,957 - INFO - Deleting VN ctest-bgpaas_vn-45452910 2025-10-29 13:17:52,002 - DEBUG - VN d02de690-0689-460e-9a74-33163a4452d9 still in use: Unable to complete operation on network d02de690-0689-460e-9a74-33163a4452d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3deff117-9ca5-4e36-98dd-d80e6c7bfd0f'] 2025-10-29 13:17:52,002 - WARNING - Deleting VN ctest-bgpaas_vn-45452910 failed..Will retry 2025-10-29 13:17:54,196 - DEBUG - Response for deleting network () 2025-10-29 13:17:55,509 - DEBUG - Skipping xmpp flap check
2025-10-29 13:17:55,509 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:39]
2025-10-29 13:17:55,510 - INFO - -------------------------------------------------------------------------------- 2025-10-29 13:17:56,278 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-43613535, ID : 8a9cf0cd-5a92-44ab-a32a-af7bee93bba0 2025-10-29 13:21:32,529 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:21:32,552 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:21:38,573 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:21:44,593 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:22:01,781 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:22:12,489 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:22:18,511 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:22:18,533 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:18,133 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:18,148 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:18,173 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:24,189 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:30,207 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:30,223 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:37,174 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:37,188 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:37,218 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-29 13:25:37,231 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=