2025-10-08 15:04:10,632 - INFO - Domain Default found not creating 2025-10-08 15:04:10,764 - INFO - Project ctest-TestBGPaaSlocalAS-32172648 not found, creating it 2025-10-08 15:04:11,244 - INFO - Created Project:ctest-TestBGPaaSlocalAS-32172648, ID : 9fdf7a06-698d-4052-b840-6e0ade201f70 2025-10-08 15:04:12,812 - DEBUG - Services list from nova: [, , , ] 2025-10-08 15:04:12,812 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4234-2', 'an-jenkins-deploy-platform-ansible-os-4234-1']} 2025-10-08 15:04:12,814 - INFO - ================================================================================ 2025-10-08 15:04:12,815 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-10-08 15:04:12,815 - 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-08 15:04:14,107 - DEBUG - Skipping xmpp flap check 2025-10-08 15:04:14,108 - INFO - Initial checks done. Running the testcase now 2025-10-08 15:04:14,108 - INFO - 2025-10-08 15:04:14,754 - DEBUG - Response for create_network : {'network': {'id': '42daa02e-c171-421f-bd45-31842625ff7f', 'name': 'ctest-bgpaas_vn-58999585', 'tenant_id': '9fdf7a06698d4052b8406e0ade201f70', 'project_id': '9fdf7a06698d4052b8406e0ade201f70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-32172648', 'ctest-bgpaas_vn-58999585'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 15:04:15,000 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b88151a1-29ef-4e1d-9fa8-7fa1f0d16e7e', 'name': '', 'tenant_id': '9fdf7a06698d4052b8406e0ade201f70', 'network_id': '42daa02e-c171-421f-bd45-31842625ff7f', 'ip_version': 4, 'cidr': '60.252.243.0/26', 'allocation_pools': [{'start': '60.252.243.2', 'end': '60.252.243.62'}], 'gateway_ip': '60.252.243.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.252.243.2', 'tags': [], 'project_id': '9fdf7a06698d4052b8406e0ade201f70'}} 2025-10-08 15:04:15,020 - INFO - Created VN ctest-bgpaas_vn-58999585 2025-10-08 15:04:15,030 - DEBUG - VN ctest-bgpaas_vn-58999585 UUID is 42daa02e-c171-421f-bd45-31842625ff7f 2025-10-08 15:04:16,260 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-2) 2025-10-08 15:04:16,355 - DEBUG - Image by name ubuntu-bird not found 2025-10-08 15:04:16,355 - DEBUG - Installing image ubuntu-bird 2025-10-08 15:04:16,355 - 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-08 15:04:16,356 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-08 15:04:16,356 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-08 15:04:16,370 - 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-08 15:04:19,000 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-08 15:04:19,001 - DEBUG - Unzip image 2025-10-08 15:04:19,002 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-08 15:04:29,684 - DEBUG - Try to create image in user context 2025-10-08 15:04:36,674 - DEBUG - Image has been created in user context 2025-10-08 15:04:36,674 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-10-08 15:04:36,834 - DEBUG - Downloaded image has been removed 2025-10-08 15:04:36,846 - DEBUG - Uploaded image status = active 2025-10-08 15:04:37,897 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4234-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4234-1) 2025-10-08 15:04:37,897 - INFO - Waiting for VM test_vm to be up.. 2025-10-08 15:04:38,001 - DEBUG - VM is in ACTIVE state now 2025-10-08 15:04:38,001 - INFO - VM name : test_vm 2025-10-08 15:04:38,092 - DEBUG - VM test_vm ID is 3af73636-8642-498e-98ed-aa893eace905 2025-10-08 15:04:38,117 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4234-2 2025-10-08 15:04:38,197 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/3af73636-8642-498e-98ed-aa893eace905 2025-10-08 15:04:38,496 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/3af73636-8642-498e-98ed-aa893eace905 2025-10-08 15:04:38,569 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/a5ff5be3-433f-44e1-b54c-d5ca16db06ba 2025-10-08 15:04:39,795 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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.488/3.427/4.367/0.939 ms') 2025-10-08 15:04:39,795 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-08 15:04:39,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:04:39,865 - DEBUG - Waiting to SSH to VM test_vm, IP 60.252.243.3, Port 22 2025-10-08 15:04:39,963 - 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-08 15:04:40,066 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:04:45,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:04:45,067 - DEBUG - Waiting to SSH to VM test_vm, IP 60.252.243.3, Port 22 2025-10-08 15:04:45,236 - DEBUG - VM test_vm is ready for SSH connections 2025-10-08 15:04:45,236 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-10-08 15:04:45,321 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:04:50,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:04:55,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:05:00,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:05:05,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:05:10,723 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:05:15,814 - DEBUG - VM is in ACTIVE state now 2025-10-08 15:05:15,814 - INFO - VM name : bgpaas_vm1 2025-10-08 15:05:15,898 - DEBUG - VM bgpaas_vm1 ID is e0a10c4b-8915-4501-b90d-53743fceaad0 2025-10-08 15:05:15,899 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4234-1 2025-10-08 15:05:15,993 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/e0a10c4b-8915-4501-b90d-53743fceaad0 2025-10-08 15:05:16,005 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/37a905c3-e603-4990-80f4-b4a777ff2d9e 2025-10-08 15:05:19,193 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-10-08 15:05:19,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:19,207 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:23,283 - 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-08 15:05:23,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:23,300 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:27,381 - 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-08 15:05:27,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:27,394 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:31,473 - 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-08 15:05:31,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:31,487 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:35,568 - 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-08 15:05:35,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:35,586 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:39,669 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-10-08 15:05:39,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:39,682 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:43,761 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-10-08 15:05:43,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:43,775 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:47,862 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-10-08 15:05:47,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:47,877 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:51,952 - 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-08 15:05:51,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:51,966 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:05:56,055 - 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-08 15:05:56,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:05:56,069 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:00,150 - 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-08 15:06:00,150 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:00,165 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:04,244 - 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-08 15:06:04,244 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:04,257 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:08,340 - 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-08 15:06:08,340 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:08,354 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:12,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 1020ms') 2025-10-08 15:06:12,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:12,452 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:16,533 - 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-08 15:06:16,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:16,545 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:20,625 - 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-08 15:06:20,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:20,638 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:24,729 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-10-08 15:06:24,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:24,743 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:28,823 - 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-08 15:06:28,823 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:28,838 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:32,920 - 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-08 15:06:32,920 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:06:32,935 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-32172648:ctest-bgpaas_vn-58999585 is 60.252.243.1 and allocation pool is NOT set 2025-10-08 15:06:35,011 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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.901/5.260/8.620/3.359 ms') 2025-10-08 15:06:35,012 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-10-08 15:06:35,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:06:35,081 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:06:35,148 - 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-08 15:06:35,242 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:06:40,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:06:40,243 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:06:40,309 - 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-08 15:06:40,393 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:06:45,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:06:45,394 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:06:45,461 - 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-08 15:06:45,536 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:06:50,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:06:50,538 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:06:50,606 - 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-08 15:06:50,701 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:06:55,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:06:55,702 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:06:55,768 - 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-08 15:06:55,845 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:07:00,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:00,846 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:00,913 - 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-08 15:07:00,993 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:07:05,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:05,994 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:06,061 - 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-08 15:07:06,141 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:07:11,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:11,142 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:11,208 - 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-08 15:07:11,278 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:07:16,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:16,279 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:16,344 - 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-08 15:07:16,422 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:07:21,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:21,422 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:21,488 - 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-08 15:07:21,560 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:07:26,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:26,561 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:26,639 - 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-08 15:07:26,727 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:07:31,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:31,728 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:31,901 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-08 15:07:31,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:31,907 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-32172648-65292762 2025-10-08 15:07:31,991 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-32172648-65292762(c60445b7-c911-456c-9f6c-6c3f7fbf99cd) 2025-10-08 15:07:31,991 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/c60445b7-c911-456c-9f6c-6c3f7fbf99cd 2025-10-08 15:07:32,287 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/c60445b7-c911-456c-9f6c-6c3f7fbf99cd 2025-10-08 15:07:32,326 - INFO - verify_in_api_server passed for BGPaaS obj c60445b7-c911-456c-9f6c-6c3f7fbf99cd 2025-10-08 15:07:32,326 - INFO - BGPaaS(c60445b7-c911-456c-9f6c-6c3f7fbf99cd): verify_on_setup passed 2025-10-08 15:07:32,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:32,327 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:32,493 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-08 15:07:32,493 - INFO - Attaching VMI 37a905c3-e603-4990-80f4-b4a777ff2d9e to BGPaaS c60445b7-c911-456c-9f6c-6c3f7fbf99cd 2025-10-08 15:07:32,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:32,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:32,666 - INFO - Configuring BGP on the bird 2025-10-08 15:07:32,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:07:32,666 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.252.243.4, Port 22 2025-10-08 15:07:32,837 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-08 15:07:32,837 - INFO - Configuring BGP on bgpaas_vm1 2025-10-08 15:07:32,837 - 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 60.252.243.4; protocol bgp bgp_1{ local as 64500; neighbor 60.252.243.1 as 387; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.252.243.4; } protocol bfd { neighbor 60.252.243.1 local 60.252.243.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-08 15:07:32,837 - 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 60.252.243.4; protocol bgp bgp_1{ local as 64500; neighbor 60.252.243.1 as 387; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.252.243.4; } protocol bfd { neighbor 60.252.243.1 local 60.252.243.4 multihop on; } EOS 2025-10-08 15:07:54,985 - DEBUG - None 2025-10-08 15:07:54,985 - 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 60.252.243.4; protocol bgp bgp_1{ local as 64500; neighbor 60.252.243.1 as 387; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.252.243.4; } protocol bfd { neighbor 60.252.243.1 local 60.252.243.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-08 15:07:54,986 - 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 60.252.243.4; protocol bgp bgp_1{ local as 64500; neighbor 60.252.243.1 as 387; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.252.243.4; } protocol bfd { neighbor 60.252.243.1 local 60.252.243.4 multihop on; } EOS 2025-10-08 15:07:56,230 - DEBUG - None 2025-10-08 15:07:56,230 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-08 15:07:56,230 - DEBUG - service bird restart 2025-10-08 15:07:59,997 - DEBUG - bird stop/waiting bird start/running, process 1433 2025-10-08 15:08:00,011 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:08:00,031 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:08:06,064 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:08:06,079 - INFO - BGPaaS session seen in control-node 10.20.0.25 2025-10-08 15:08:06,079 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:08:06,091 - INFO - Detaching VMI 37a905c3-e603-4990-80f4-b4a777ff2d9e from BGPaaS c60445b7-c911-456c-9f6c-6c3f7fbf99cd 2025-10-08 15:08:06,175 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-32172648-65292762(c60445b7-c911-456c-9f6c-6c3f7fbf99cd) 2025-10-08 15:08:06,243 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/c60445b7-c911-456c-9f6c-6c3f7fbf99cd 2025-10-08 15:08:06,249 - DEBUG - Response Code: 404 2025-10-08 15:08:06,249 - DEBUG - BGPaaS: c60445b7-c911-456c-9f6c-6c3f7fbf99cd deleted from api server 2025-10-08 15:08:06,249 - INFO - BGPaaS(c60445b7-c911-456c-9f6c-6c3f7fbf99cd): verify_on_cleanup passed 2025-10-08 15:08:06,250 - INFO - Deleting VM bgpaas_vm1 2025-10-08 15:08:06,359 - INFO - Deleting VM test_vm 2025-10-08 15:08:06,419 - INFO - Deleting VN ctest-bgpaas_vn-58999585 2025-10-08 15:08:06,460 - DEBUG - VN 42daa02e-c171-421f-bd45-31842625ff7f still in use: Unable to complete operation on network 42daa02e-c171-421f-bd45-31842625ff7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05f16fcf-2564-49d0-90c8-18448e020ff8'] 2025-10-08 15:08:06,460 - WARNING - Deleting VN ctest-bgpaas_vn-58999585 failed..Will retry 2025-10-08 15:08:08,658 - DEBUG - Response for deleting network () 2025-10-08 15:08:09,949 - DEBUG - Skipping xmpp flap check 2025-10-08 15:08:09,949 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:57] 2025-10-08 15:08:09,950 - INFO - -------------------------------------------------------------------------------- 2025-10-08 15:08:10,637 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-32172648, ID : 9fdf7a06-698d-4052-b840-6e0ade201f70 2025-10-08 15:11:44,131 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:11:50,145 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:11:56,162 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:12:07,857 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:12:13,876 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:12:13,898 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:12:30,669 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:15:58,961 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:16:11,020 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:16:18,370 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:16:18,404 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=