2025-08-14 03:36:50,769 - INFO - Domain Default found not creating 2025-08-14 03:36:50,904 - INFO - Project ctest-TestBGPaaSlocalAS-00388400 not found, creating it 2025-08-14 03:36:51,486 - INFO - Created Project:ctest-TestBGPaaSlocalAS-00388400, ID : a93b0980-f0b6-47cb-b9bf-59bd065724e6 2025-08-14 03:36:52,924 - DEBUG - Services list from nova: [, , , ] 2025-08-14 03:36:52,924 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3851-2', 'an-jenkins-deploy-platform-ansible-os-3851-1']} 2025-08-14 03:36:52,926 - INFO - ================================================================================ 2025-08-14 03:36:52,926 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-08-14 03:36:52,926 - INFO - TEST DESCRIPTION : 1. Create a bgpaas vm. Configure same local-as on vm and contrail side. 2. Make sure BGP with vm comes up. 2025-08-14 03:36:54,183 - DEBUG - Skipping xmpp flap check 2025-08-14 03:36:54,183 - INFO - Initial checks done. Running the testcase now 2025-08-14 03:36:54,183 - INFO - 2025-08-14 03:36:54,874 - DEBUG - Response for create_network : {'network': {'id': '04632678-00df-49ae-8b23-839a47e5e8bb', 'name': 'ctest-bgpaas_vn-30702574', 'tenant_id': 'a93b0980f0b647cbb9bf59bd065724e6', 'project_id': 'a93b0980f0b647cbb9bf59bd065724e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-00388400', 'ctest-bgpaas_vn-30702574'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 03:36:55,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f37739d2-a87b-4cbd-aa8e-bbd52d657c17', 'name': '', 'tenant_id': 'a93b0980f0b647cbb9bf59bd065724e6', 'network_id': '04632678-00df-49ae-8b23-839a47e5e8bb', 'ip_version': 4, 'cidr': '60.59.164.64/26', 'allocation_pools': [{'start': '60.59.164.66', 'end': '60.59.164.126'}], 'gateway_ip': '60.59.164.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.59.164.66', 'tags': [], 'project_id': 'a93b0980f0b647cbb9bf59bd065724e6'}} 2025-08-14 03:36:55,133 - INFO - Created VN ctest-bgpaas_vn-30702574 2025-08-14 03:36:55,145 - DEBUG - VN ctest-bgpaas_vn-30702574 UUID is 04632678-00df-49ae-8b23-839a47e5e8bb 2025-08-14 03:36:56,324 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-2) 2025-08-14 03:36:56,407 - DEBUG - Image by name ubuntu-bird not found 2025-08-14 03:36:56,407 - DEBUG - Installing image ubuntu-bird 2025-08-14 03:36:56,407 - 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-08-14 03:36:56,407 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-14 03:36:56,407 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-14 03:36:56,418 - 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-08-14 03:36:59,040 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-14 03:36:59,041 - DEBUG - Unzip image 2025-08-14 03:36:59,041 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-14 03:37:09,324 - DEBUG - Try to create image in user context 2025-08-14 03:37:15,769 - DEBUG - Image has been created in user context 2025-08-14 03:37:15,769 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-08-14 03:37:15,909 - DEBUG - Downloaded image has been removed 2025-08-14 03:37:15,922 - DEBUG - Uploaded image status = active 2025-08-14 03:37:16,951 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-1) 2025-08-14 03:37:16,951 - INFO - Waiting for VM test_vm to be up.. 2025-08-14 03:37:17,033 - DEBUG - VM is in ACTIVE state now 2025-08-14 03:37:17,033 - INFO - VM name : test_vm 2025-08-14 03:37:17,128 - DEBUG - VM test_vm ID is 787abea4-ca25-4d69-aa14-001953a15755 2025-08-14 03:37:17,152 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3851-2 2025-08-14 03:37:17,248 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/787abea4-ca25-4d69-aa14-001953a15755 2025-08-14 03:37:17,646 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/787abea4-ca25-4d69-aa14-001953a15755 2025-08-14 03:37:17,683 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/02974fae-c5c6-468e-8bf2-ed85b168348b 2025-08-14 03:37:18,849 - 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=1.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.42 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.605/2.013/2.422/0.408 ms') 2025-08-14 03:37:18,850 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-14 03:37:18,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:37:18,925 - DEBUG - Waiting to SSH to VM test_vm, IP 60.59.164.67, Port 22 2025-08-14 03:37:19,098 - DEBUG - VM test_vm is ready for SSH connections 2025-08-14 03:37:19,098 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-08-14 03:37:19,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 03:37:24,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 03:37:29,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 03:37:34,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 03:37:39,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 03:37:44,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 03:37:49,641 - DEBUG - VM is in ACTIVE state now 2025-08-14 03:37:49,641 - INFO - VM name : bgpaas_vm1 2025-08-14 03:37:49,713 - DEBUG - VM bgpaas_vm1 ID is 59cdd908-6cf9-4fe3-b587-6c7e4ca8dc8f 2025-08-14 03:37:49,713 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3851-1 2025-08-14 03:37:49,799 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/59cdd908-6cf9-4fe3-b587-6c7e4ca8dc8f 2025-08-14 03:37:49,808 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5a5f4f2e-ef20-47f3-a243-d25cec9060fc 2025-08-14 03:37:52,975 - 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 1002ms') 2025-08-14 03:37:52,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:37:52,990 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:37:57,074 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-08-14 03:37:57,075 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:37:57,088 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:01,167 - 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-08-14 03:38:01,167 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:01,184 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:05,270 - 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-08-14 03:38:05,271 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:05,287 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:09,356 - 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-08-14 03:38:09,356 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:09,371 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:13,460 - 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-08-14 03:38:13,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:13,477 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:17,554 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-08-14 03:38:17,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:17,570 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:21,644 - 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-08-14 03:38:21,644 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:21,659 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:25,747 - 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-08-14 03:38:25,748 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:25,765 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:29,843 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-08-14 03:38:29,843 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:29,858 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:33,946 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2025-08-14 03:38:33,946 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:33,961 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:38,035 - 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-08-14 03:38:38,035 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:38,054 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:42,123 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-08-14 03:38:42,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:42,142 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:46,219 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-08-14 03:38:46,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:46,236 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:50,321 - 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-08-14 03:38:50,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:50,337 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:54,411 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-08-14 03:38:54,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-14 03:38:54,426 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-00388400:ctest-bgpaas_vn-30702574 is 60.59.164.65 and allocation pool is NOT set 2025-08-14 03:38:56,483 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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.688/2.727/3.766/1.039 ms') 2025-08-14 03:38:56,483 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-08-14 03:38:56,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:38:56,556 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:38:56,613 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:38:56,690 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:01,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:01,691 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:01,756 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:39:01,831 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:06,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:06,832 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:06,900 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:39:06,988 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:11,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:11,990 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:12,056 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:39:12,125 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:17,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:17,126 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:17,182 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:39:17,262 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:22,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:22,263 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:22,317 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:39:22,388 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:27,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:27,389 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:27,446 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:39:27,527 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:32,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:32,528 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:32,586 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-14 03:39:32,672 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 03:39:37,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:37,673 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:37,840 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-14 03:39:37,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:37,846 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-00388400-56471323 2025-08-14 03:39:37,928 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-00388400-56471323(caad97d9-87e9-41f0-9d4c-8d7ac641a1be) 2025-08-14 03:39:37,928 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/caad97d9-87e9-41f0-9d4c-8d7ac641a1be 2025-08-14 03:39:38,219 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/caad97d9-87e9-41f0-9d4c-8d7ac641a1be 2025-08-14 03:39:38,252 - INFO - verify_in_api_server passed for BGPaaS obj caad97d9-87e9-41f0-9d4c-8d7ac641a1be 2025-08-14 03:39:38,252 - INFO - BGPaaS(caad97d9-87e9-41f0-9d4c-8d7ac641a1be): verify_on_setup passed 2025-08-14 03:39:38,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:38,252 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:38,415 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-14 03:39:38,416 - INFO - Attaching VMI 5a5f4f2e-ef20-47f3-a243-d25cec9060fc to BGPaaS caad97d9-87e9-41f0-9d4c-8d7ac641a1be 2025-08-14 03:39:38,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:38,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:38,612 - INFO - Configuring BGP on the bird 2025-08-14 03:39:38,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 03:39:38,612 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 60.59.164.68, Port 22 2025-08-14 03:39:38,774 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-14 03:39:38,774 - INFO - Configuring BGP on bgpaas_vm1 2025-08-14 03:39:38,774 - 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.59.164.68; protocol bgp bgp_1{ local as 64500; neighbor 60.59.164.65 as 275; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.59.164.68; } protocol bfd { neighbor 60.59.164.65 local 60.59.164.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-14 03:39:38,774 - 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.59.164.68; protocol bgp bgp_1{ local as 64500; neighbor 60.59.164.65 as 275; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.59.164.68; } protocol bfd { neighbor 60.59.164.65 local 60.59.164.68 multihop on; } EOS 2025-08-14 03:39:53,841 - DEBUG - None 2025-08-14 03:39:53,841 - 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.59.164.68; protocol bgp bgp_1{ local as 64500; neighbor 60.59.164.65 as 275; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.59.164.68; } protocol bfd { neighbor 60.59.164.65 local 60.59.164.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-14 03:39:53,841 - 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.59.164.68; protocol bgp bgp_1{ local as 64500; neighbor 60.59.164.65 as 275; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 60.59.164.68; } protocol bfd { neighbor 60.59.164.65 local 60.59.164.68 multihop on; } EOS 2025-08-14 03:39:54,800 - DEBUG - None 2025-08-14 03:39:54,800 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-14 03:39:54,800 - DEBUG - service bird restart 2025-08-14 03:39:57,763 - DEBUG - bird stop/waiting bird start/running, process 1437 2025-08-14 03:39:57,777 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:39:57,792 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:40:03,823 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:40:03,839 - INFO - BGPaaS session seen in control-node 10.20.0.129 2025-08-14 03:40:03,839 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:40:03,856 - INFO - Detaching VMI 5a5f4f2e-ef20-47f3-a243-d25cec9060fc from BGPaaS caad97d9-87e9-41f0-9d4c-8d7ac641a1be 2025-08-14 03:40:03,939 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-00388400-56471323(caad97d9-87e9-41f0-9d4c-8d7ac641a1be) 2025-08-14 03:40:04,011 - DEBUG - Requesting: http://10.0.0.38:8082/bgp-as-a-service/caad97d9-87e9-41f0-9d4c-8d7ac641a1be 2025-08-14 03:40:04,022 - DEBUG - Response Code: 404 2025-08-14 03:40:04,022 - DEBUG - BGPaaS: caad97d9-87e9-41f0-9d4c-8d7ac641a1be deleted from api server 2025-08-14 03:40:04,022 - INFO - BGPaaS(caad97d9-87e9-41f0-9d4c-8d7ac641a1be): verify_on_cleanup passed 2025-08-14 03:40:04,022 - INFO - Deleting VM bgpaas_vm1 2025-08-14 03:40:04,136 - INFO - Deleting VM test_vm 2025-08-14 03:40:04,210 - INFO - Deleting VN ctest-bgpaas_vn-30702574 2025-08-14 03:40:04,261 - DEBUG - VN 04632678-00df-49ae-8b23-839a47e5e8bb still in use: Unable to complete operation on network 04632678-00df-49ae-8b23-839a47e5e8bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-046b2451-594f-4c7d-ae9c-a11986f0d54a'] 2025-08-14 03:40:04,261 - WARNING - Deleting VN ctest-bgpaas_vn-30702574 failed..Will retry 2025-08-14 03:40:06,456 - DEBUG - Response for deleting network () 2025-08-14 03:40:07,711 - DEBUG - Skipping xmpp flap check
2025-08-14 03:40:07,711 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:15]
2025-08-14 03:40:07,711 - INFO - -------------------------------------------------------------------------------- 2025-08-14 03:40:08,392 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-00388400, ID : a93b0980-f0b6-47cb-b9bf-59bd065724e6 2025-08-14 03:43:12,586 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:43:18,605 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:43:27,895 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:43:33,913 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:43:33,936 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:43:39,953 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:43:55,058 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:44:01,076 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:46:35,339 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:46:47,409 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:46:53,546 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-14 03:46:53,581 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=