2025-11-20 03:34:43,198 - INFO - Domain Default found not creating 2025-11-20 03:34:43,358 - INFO - Project ctest-TestBGPaaSlocalAS-59974441 not found, creating it 2025-11-20 03:34:43,880 - INFO - Created Project:ctest-TestBGPaaSlocalAS-59974441, ID : 37d443ae-325d-404e-9af2-eec7e8d608e9 2025-11-20 03:34:45,356 - DEBUG - Services list from nova: [, , , ] 2025-11-20 03:34:45,356 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4768-2', 'an-jenkins-deploy-platform-ansible-os-4768-1']} 2025-11-20 03:34:45,359 - INFO - ================================================================================ 2025-11-20 03:34:45,359 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-11-20 03:34:45,359 - 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-11-20 03:34:46,612 - DEBUG - Skipping xmpp flap check 2025-11-20 03:34:46,612 - INFO - Initial checks done. Running the testcase now 2025-11-20 03:34:46,612 - INFO - 2025-11-20 03:34:47,328 - DEBUG - Response for create_network : {'network': {'id': '5e57a970-055c-4440-bbfa-41a4aa87ccdf', 'name': 'ctest-bgpaas_vn-70655482', 'tenant_id': '37d443ae325d404e9af2eec7e8d608e9', 'project_id': '37d443ae325d404e9af2eec7e8d608e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-59974441', 'ctest-bgpaas_vn-70655482'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 03:34:47,620 - DEBUG - Response for create_subnet : {'subnet': {'id': '2082da87-b59a-46d2-86d8-1f43887eb1e2', 'name': '', 'tenant_id': '37d443ae325d404e9af2eec7e8d608e9', 'network_id': '5e57a970-055c-4440-bbfa-41a4aa87ccdf', 'ip_version': 4, 'cidr': '36.231.103.0/26', 'allocation_pools': [{'start': '36.231.103.2', 'end': '36.231.103.62'}], 'gateway_ip': '36.231.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.231.103.2', 'tags': [], 'project_id': '37d443ae325d404e9af2eec7e8d608e9'}} 2025-11-20 03:34:47,643 - INFO - Created VN ctest-bgpaas_vn-70655482 2025-11-20 03:34:47,660 - DEBUG - VN ctest-bgpaas_vn-70655482 UUID is 5e57a970-055c-4440-bbfa-41a4aa87ccdf 2025-11-20 03:34:48,765 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-2) 2025-11-20 03:34:48,848 - DEBUG - Image by name ubuntu-bird not found 2025-11-20 03:34:48,848 - DEBUG - Installing image ubuntu-bird 2025-11-20 03:34:48,848 - 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-11-20 03:34:48,848 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-11-20 03:34:48,849 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-11-20 03:34:48,860 - 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-11-20 03:34:51,496 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-11-20 03:34:51,496 - DEBUG - Unzip image 2025-11-20 03:34:51,496 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-11-20 03:35:02,579 - DEBUG - Try to create image in user context 2025-11-20 03:35:09,630 - DEBUG - Image has been created in user context 2025-11-20 03:35:09,630 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-11-20 03:35:09,777 - DEBUG - Downloaded image has been removed 2025-11-20 03:35:09,791 - DEBUG - Uploaded image status = active 2025-11-20 03:35:11,034 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-1) 2025-11-20 03:35:11,035 - INFO - Waiting for VM test_vm to be up.. 2025-11-20 03:35:11,153 - DEBUG - VM is in ACTIVE state now 2025-11-20 03:35:11,153 - INFO - VM name : test_vm 2025-11-20 03:35:11,243 - DEBUG - VM test_vm ID is 9dd6c2d1-d0a0-4330-bc1e-37147690fd71 2025-11-20 03:35:11,279 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4768-2 2025-11-20 03:35:11,371 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9dd6c2d1-d0a0-4330-bc1e-37147690fd71 2025-11-20 03:35:11,682 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9dd6c2d1-d0a0-4330-bc1e-37147690fd71 2025-11-20 03:35:11,766 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5e971bec-e7ae-4692-92fd-8b7736ad4260 2025-11-20 03:35:13,013 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.922 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.922/1.986/3.050/1.064 ms') 2025-11-20 03:35:13,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-20 03:35:13,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:35:13,108 - DEBUG - Waiting to SSH to VM test_vm, IP 36.231.103.3, Port 22 2025-11-20 03:35:13,182 - 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-11-20 03:35:13,310 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:35:18,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:35:18,311 - DEBUG - Waiting to SSH to VM test_vm, IP 36.231.103.3, Port 22 2025-11-20 03:35:18,497 - DEBUG - VM test_vm is ready for SSH connections 2025-11-20 03:35:18,497 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-11-20 03:35:18,605 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 03:35:23,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 03:35:28,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 03:35:33,843 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 03:35:38,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 03:35:44,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 03:35:49,087 - DEBUG - VM is in ACTIVE state now 2025-11-20 03:35:49,088 - INFO - VM name : bgpaas_vm1 2025-11-20 03:35:49,169 - DEBUG - VM bgpaas_vm1 ID is 4b8dcbf4-d47a-4788-b2f6-61a38e7d6dd8 2025-11-20 03:35:49,169 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4768-1 2025-11-20 03:35:49,254 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4b8dcbf4-d47a-4788-b2f6-61a38e7d6dd8 2025-11-20 03:35:49,269 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/829ff872-f0bc-435d-ae8f-d1b93d02eeee 2025-11-20 03:35:52,428 - 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-11-20 03:35:52,428 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:35:52,444 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:35:56,528 - 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-11-20 03:35:56,528 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:35:56,544 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:00,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 1014ms') 2025-11-20 03:36:00,625 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:00,640 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:04,723 - 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-11-20 03:36:04,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:04,737 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:08,818 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-11-20 03:36:08,818 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:08,833 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:12,911 - 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-11-20 03:36:12,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:12,928 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:17,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 1016ms') 2025-11-20 03:36:17,009 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:17,024 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:21,097 - 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-11-20 03:36:21,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:21,111 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:25,195 - 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 1027ms') 2025-11-20 03:36:25,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:25,209 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:29,299 - 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-11-20 03:36:29,299 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:29,315 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:33,395 - 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-11-20 03:36:33,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:33,409 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:37,483 - 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-11-20 03:36:37,484 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:37,499 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:41,582 - 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-11-20 03:36:41,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:41,597 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:45,683 - 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-11-20 03:36:45,683 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:45,697 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:49,776 - 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-11-20 03:36:49,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:49,791 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:53,866 - 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-11-20 03:36:53,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-20 03:36:53,882 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59974441:ctest-bgpaas_vn-70655482 is 36.231.103.1 and allocation pool is NOT set 2025-11-20 03:36:57,966 - 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=5.49 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 = 5.488/5.488/5.488/0.000 ms') 2025-11-20 03:36:57,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-11-20 03:36:58,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:36:58,034 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:36:58,114 - 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-11-20 03:36:58,197 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:03,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:03,198 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:03,266 - 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-11-20 03:37:03,349 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:08,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:08,350 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:08,419 - 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-11-20 03:37:08,502 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:13,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:13,503 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:13,570 - 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-11-20 03:37:13,657 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:18,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:18,658 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:18,726 - 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-11-20 03:37:18,813 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:23,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:23,815 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:23,882 - 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-11-20 03:37:23,960 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:28,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:28,961 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:29,026 - 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-11-20 03:37:29,109 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:34,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:34,110 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:34,177 - 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-11-20 03:37:34,258 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:39,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:39,259 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:39,326 - 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-11-20 03:37:39,404 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 03:37:44,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:44,404 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:44,570 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-20 03:37:44,570 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:44,578 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-59974441-45576875 2025-11-20 03:37:44,661 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-59974441-45576875(ef68282a-9f42-4531-a002-f13caacae7a7) 2025-11-20 03:37:44,661 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/ef68282a-9f42-4531-a002-f13caacae7a7 2025-11-20 03:37:44,962 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/ef68282a-9f42-4531-a002-f13caacae7a7 2025-11-20 03:37:44,999 - INFO - verify_in_api_server passed for BGPaaS obj ef68282a-9f42-4531-a002-f13caacae7a7 2025-11-20 03:37:44,999 - INFO - BGPaaS(ef68282a-9f42-4531-a002-f13caacae7a7): verify_on_setup passed 2025-11-20 03:37:44,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:44,999 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:45,175 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-20 03:37:45,175 - INFO - Attaching VMI 829ff872-f0bc-435d-ae8f-d1b93d02eeee to BGPaaS ef68282a-9f42-4531-a002-f13caacae7a7 2025-11-20 03:37:45,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:45,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:45,387 - INFO - Configuring BGP on the bird 2025-11-20 03:37:45,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 03:37:45,389 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 36.231.103.4, Port 22 2025-11-20 03:37:45,544 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-20 03:37:45,544 - INFO - Configuring BGP on bgpaas_vm1 2025-11-20 03:37:45,545 - 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 36.231.103.4; protocol bgp bgp_1{ local as 64500; neighbor 36.231.103.1 as 571; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 36.231.103.4; } protocol bfd { neighbor 36.231.103.1 local 36.231.103.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-20 03:37:45,545 - 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 36.231.103.4; protocol bgp bgp_1{ local as 64500; neighbor 36.231.103.1 as 571; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 36.231.103.4; } protocol bfd { neighbor 36.231.103.1 local 36.231.103.4 multihop on; } EOS 2025-11-20 03:38:02,618 - DEBUG - None 2025-11-20 03:38:02,618 - 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 36.231.103.4; protocol bgp bgp_1{ local as 64500; neighbor 36.231.103.1 as 571; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 36.231.103.4; } protocol bfd { neighbor 36.231.103.1 local 36.231.103.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-20 03:38:02,619 - 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 36.231.103.4; protocol bgp bgp_1{ local as 64500; neighbor 36.231.103.1 as 571; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 36.231.103.4; } protocol bfd { neighbor 36.231.103.1 local 36.231.103.4 multihop on; } EOS 2025-11-20 03:38:03,623 - DEBUG - None 2025-11-20 03:38:03,623 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-11-20 03:38:03,623 - DEBUG - service bird restart 2025-11-20 03:38:07,151 - DEBUG - bird stop/waiting bird start/running, process 1429 2025-11-20 03:38:07,163 - DEBUG - Requesting: http://10.20.0.201:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:38:07,184 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:38:13,219 - DEBUG - Requesting: http://10.20.0.201:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:38:13,239 - INFO - BGPaaS session seen in control-node 10.20.0.201 2025-11-20 03:38:13,240 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:38:13,258 - INFO - Detaching VMI 829ff872-f0bc-435d-ae8f-d1b93d02eeee from BGPaaS ef68282a-9f42-4531-a002-f13caacae7a7 2025-11-20 03:38:13,356 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-59974441-45576875(ef68282a-9f42-4531-a002-f13caacae7a7) 2025-11-20 03:38:13,466 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/ef68282a-9f42-4531-a002-f13caacae7a7 2025-11-20 03:38:13,484 - DEBUG - Response Code: 404 2025-11-20 03:38:13,484 - DEBUG - BGPaaS: ef68282a-9f42-4531-a002-f13caacae7a7 deleted from api server 2025-11-20 03:38:13,484 - INFO - BGPaaS(ef68282a-9f42-4531-a002-f13caacae7a7): verify_on_cleanup passed 2025-11-20 03:38:13,484 - INFO - Deleting VM bgpaas_vm1 2025-11-20 03:38:13,576 - INFO - Deleting VM test_vm 2025-11-20 03:38:13,665 - INFO - Deleting VN ctest-bgpaas_vn-70655482 2025-11-20 03:38:13,713 - DEBUG - VN 5e57a970-055c-4440-bbfa-41a4aa87ccdf still in use: Unable to complete operation on network 5e57a970-055c-4440-bbfa-41a4aa87ccdf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89761fa4-461b-4baf-93d5-3803f092b618'] 2025-11-20 03:38:13,713 - WARNING - Deleting VN ctest-bgpaas_vn-70655482 failed..Will retry 2025-11-20 03:38:15,933 - DEBUG - Response for deleting network () 2025-11-20 03:38:17,224 - DEBUG - Skipping xmpp flap check 2025-11-20 03:38:17,225 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:32] 2025-11-20 03:38:17,225 - INFO - -------------------------------------------------------------------------------- 2025-11-20 03:38:17,949 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-59974441, ID : 37d443ae-325d-404e-9af2-eec7e8d608e9 2025-11-20 03:41:45,918 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:42:02,530 - DEBUG - Requesting: http://10.20.0.201:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:42:08,547 - DEBUG - Requesting: http://10.20.0.201:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:42:18,726 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:42:24,740 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:45:20,117 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:45:20,151 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:45:26,167 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:45:32,184 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:45:38,845 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-20 03:45:38,885 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=