2025-08-08 09:07:08,718 - INFO - Domain Default found not creating 2025-08-08 09:07:08,957 - INFO - Project ctest-TestBGPaaSlocalAS-73346718 not found, creating it 2025-08-08 09:07:09,548 - INFO - Created Project:ctest-TestBGPaaSlocalAS-73346718, ID : 997dc9a0-0188-4619-a0a5-d7072b09eadf 2025-08-08 09:07:11,240 - DEBUG - Services list from nova: [, , , ] 2025-08-08 09:07:11,240 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3781-2', 'an-jenkins-deploy-platform-ansible-os-3781-1']} 2025-08-08 09:07:11,243 - INFO - ================================================================================ 2025-08-08 09:07:11,243 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-08-08 09:07:11,243 - 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-08 09:07:12,544 - DEBUG - Skipping xmpp flap check 2025-08-08 09:07:12,545 - INFO - Initial checks done. Running the testcase now 2025-08-08 09:07:12,545 - INFO - 2025-08-08 09:07:13,225 - DEBUG - Response for create_network : {'network': {'id': '27254ed7-cf7b-482e-9a3c-cdb30d62ef64', 'name': 'ctest-bgpaas_vn-74235080', 'tenant_id': '997dc9a001884619a0a5d7072b09eadf', 'project_id': '997dc9a001884619a0a5d7072b09eadf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-73346718', 'ctest-bgpaas_vn-74235080'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 09:07:13,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '991ebef1-0ac1-417f-b5cb-cf9a626dddaf', 'name': '', 'tenant_id': '997dc9a001884619a0a5d7072b09eadf', 'network_id': '27254ed7-cf7b-482e-9a3c-cdb30d62ef64', 'ip_version': 4, 'cidr': '109.186.21.64/26', 'allocation_pools': [{'start': '109.186.21.66', 'end': '109.186.21.126'}], 'gateway_ip': '109.186.21.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.186.21.66', 'tags': [], 'project_id': '997dc9a001884619a0a5d7072b09eadf'}} 2025-08-08 09:07:13,563 - INFO - Created VN ctest-bgpaas_vn-74235080 2025-08-08 09:07:13,580 - DEBUG - VN ctest-bgpaas_vn-74235080 UUID is 27254ed7-cf7b-482e-9a3c-cdb30d62ef64 2025-08-08 09:07:15,052 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3781-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3781-2) 2025-08-08 09:07:15,157 - DEBUG - Image by name ubuntu-bird not found 2025-08-08 09:07:15,157 - DEBUG - Installing image ubuntu-bird 2025-08-08 09:07:15,157 - 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-08 09:07:15,158 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-08 09:07:15,158 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-08 09:07:15,174 - 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-08 09:07:17,789 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-08 09:07:17,792 - DEBUG - Unzip image 2025-08-08 09:07:17,793 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-08 09:07:29,653 - DEBUG - Try to create image in user context 2025-08-08 09:07:36,878 - DEBUG - Image has been created in user context 2025-08-08 09:07:36,878 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-08-08 09:07:37,052 - DEBUG - Downloaded image has been removed 2025-08-08 09:07:37,069 - DEBUG - Uploaded image status = active 2025-08-08 09:07:38,317 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3781-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3781-1) 2025-08-08 09:07:38,318 - INFO - Waiting for VM test_vm to be up.. 2025-08-08 09:07:38,438 - DEBUG - VM is in ACTIVE state now 2025-08-08 09:07:38,438 - INFO - VM name : test_vm 2025-08-08 09:07:38,559 - DEBUG - VM test_vm ID is ed463795-bf84-4be2-9739-e813a4e59fdd 2025-08-08 09:07:38,588 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3781-2 2025-08-08 09:07:38,708 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ed463795-bf84-4be2-9739-e813a4e59fdd 2025-08-08 09:07:39,076 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ed463795-bf84-4be2-9739-e813a4e59fdd 2025-08-08 09:07:39,147 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/24ca8f51-83bb-4fda-aa3f-0992391919fb 2025-08-08 09:07:40,462 - 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=5.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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 = 3.161/4.393/5.625/1.232 ms') 2025-08-08 09:07:40,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-08 09:07:40,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:07:40,605 - DEBUG - Waiting to SSH to VM test_vm, IP 109.186.21.67, Port 22 2025-08-08 09:07:40,688 - 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-08-08 09:07:40,831 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:07:45,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:07:45,832 - DEBUG - Waiting to SSH to VM test_vm, IP 109.186.21.67, Port 22 2025-08-08 09:07:46,044 - DEBUG - VM test_vm is ready for SSH connections 2025-08-08 09:07:46,044 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-08-08 09:07:46,196 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:07:51,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:07:56,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:08:01,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:08:06,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:08:11,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:08:16,827 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:08:21,942 - DEBUG - VM is in ACTIVE state now 2025-08-08 09:08:21,943 - INFO - VM name : bgpaas_vm1 2025-08-08 09:08:22,057 - DEBUG - VM bgpaas_vm1 ID is 50843e6d-9d71-456d-a2fb-1db4c07a10b4 2025-08-08 09:08:22,057 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3781-1 2025-08-08 09:08:22,161 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/50843e6d-9d71-456d-a2fb-1db4c07a10b4 2025-08-08 09:08:22,174 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8d834a2e-d72d-40bb-849d-4abdba59f313 2025-08-08 09:08:25,435 - 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 1031ms') 2025-08-08 09:08:25,435 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:25,528 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:29,628 - 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 1036ms') 2025-08-08 09:08:29,628 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:29,644 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:33,726 - 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-08 09:08:33,727 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:33,747 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:37,821 - 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 1009ms') 2025-08-08 09:08:37,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:37,847 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:41,924 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2025-08-08 09:08:41,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:41,940 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:46,011 - 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-08 09:08:46,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:46,029 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:50,105 - 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-08-08 09:08:50,105 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:50,123 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:54,205 - 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-08-08 09:08:54,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:54,221 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:08:58,295 - 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-08 09:08:58,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:08:58,311 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:09:02,391 - 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-08 09:09:02,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:09:02,405 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:09:06,491 - 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-08-08 09:09:06,491 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:09:06,507 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:09:10,591 - 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-08 09:09:10,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:09:10,607 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:09:14,687 - 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-08 09:09:14,687 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:09:14,705 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:09:18,777 - 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 1009ms') 2025-08-08 09:09:18,778 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:09:18,795 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:09:22,879 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2025-08-08 09:09:22,879 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-08 09:09:22,900 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73346718:ctest-bgpaas_vn-74235080 is 109.186.21.65 and allocation pool is NOT set 2025-08-08 09:09:26,970 - 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=7.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 7.166/7.166/7.166/0.000 ms') 2025-08-08 09:09:26,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-08-08 09:09:27,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:09:27,101 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:09:27,168 - 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-08 09:09:27,301 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:09:32,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:09:32,302 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:09:32,367 - 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-08 09:09:32,492 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:09:37,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:09:37,494 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:09:37,563 - 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-08 09:09:37,654 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:09:42,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:09:42,655 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:09:42,724 - 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-08 09:09:42,830 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:09:47,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:09:47,831 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:09:47,899 - 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-08 09:09:48,037 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:09:53,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:09:53,038 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:09:53,108 - 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-08 09:09:53,228 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:09:58,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:09:58,230 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:09:58,299 - 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-08 09:09:58,397 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:10:03,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:03,398 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:10:03,467 - 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-08 09:10:03,581 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:10:08,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:08,583 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:10:08,651 - 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-08 09:10:08,756 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 09:10:13,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:13,757 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:10:13,923 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-08 09:10:13,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:13,932 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-73346718-60428390 2025-08-08 09:10:14,012 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-73346718-60428390(7a4937eb-378e-4af3-96c2-972f52ad291e) 2025-08-08 09:10:14,012 - DEBUG - Requesting: http://10.0.0.50:8082/bgp-as-a-service/7a4937eb-378e-4af3-96c2-972f52ad291e 2025-08-08 09:10:14,317 - DEBUG - Requesting: http://10.0.0.50:8082/bgp-as-a-service/7a4937eb-378e-4af3-96c2-972f52ad291e 2025-08-08 09:10:14,360 - INFO - verify_in_api_server passed for BGPaaS obj 7a4937eb-378e-4af3-96c2-972f52ad291e 2025-08-08 09:10:14,360 - INFO - BGPaaS(7a4937eb-378e-4af3-96c2-972f52ad291e): verify_on_setup passed 2025-08-08 09:10:14,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:14,360 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:10:14,534 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-08 09:10:14,534 - INFO - Attaching VMI 8d834a2e-d72d-40bb-849d-4abdba59f313 to BGPaaS 7a4937eb-378e-4af3-96c2-972f52ad291e 2025-08-08 09:10:14,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:14,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:14,787 - INFO - Configuring BGP on the bird 2025-08-08 09:10:14,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:10:14,787 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.186.21.68, Port 22 2025-08-08 09:10:14,963 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-08 09:10:14,963 - INFO - Configuring BGP on bgpaas_vm1 2025-08-08 09:10:14,963 - 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 109.186.21.68; protocol bgp bgp_1{ local as 64500; neighbor 109.186.21.65 as 292; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 109.186.21.68; } protocol bfd { neighbor 109.186.21.65 local 109.186.21.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-08 09:10:14,964 - 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 109.186.21.68; protocol bgp bgp_1{ local as 64500; neighbor 109.186.21.65 as 292; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 109.186.21.68; } protocol bfd { neighbor 109.186.21.65 local 109.186.21.68 multihop on; } EOS 2025-08-08 09:10:31,429 - DEBUG - None 2025-08-08 09:10:31,430 - 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 109.186.21.68; protocol bgp bgp_1{ local as 64500; neighbor 109.186.21.65 as 292; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 109.186.21.68; } protocol bfd { neighbor 109.186.21.65 local 109.186.21.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-08 09:10:31,430 - 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 109.186.21.68; protocol bgp bgp_1{ local as 64500; neighbor 109.186.21.65 as 292; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 109.186.21.68; } protocol bfd { neighbor 109.186.21.65 local 109.186.21.68 multihop on; } EOS 2025-08-08 09:10:32,441 - DEBUG - None 2025-08-08 09:10:32,442 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-08 09:10:32,442 - DEBUG - service bird restart 2025-08-08 09:10:35,645 - DEBUG - bird stop/waiting bird start/running, process 1431 2025-08-08 09:10:35,661 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:10:35,680 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:10:41,717 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:10:41,737 - INFO - BGPaaS session seen in control-node 10.20.0.14 2025-08-08 09:10:41,738 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:10:41,763 - INFO - Detaching VMI 8d834a2e-d72d-40bb-849d-4abdba59f313 from BGPaaS 7a4937eb-378e-4af3-96c2-972f52ad291e 2025-08-08 09:10:41,852 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-73346718-60428390(7a4937eb-378e-4af3-96c2-972f52ad291e) 2025-08-08 09:10:41,942 - DEBUG - Requesting: http://10.0.0.50:8082/bgp-as-a-service/7a4937eb-378e-4af3-96c2-972f52ad291e 2025-08-08 09:10:41,954 - DEBUG - Response Code: 404 2025-08-08 09:10:41,954 - DEBUG - BGPaaS: 7a4937eb-378e-4af3-96c2-972f52ad291e deleted from api server 2025-08-08 09:10:41,955 - INFO - BGPaaS(7a4937eb-378e-4af3-96c2-972f52ad291e): verify_on_cleanup passed 2025-08-08 09:10:41,955 - INFO - Deleting VM bgpaas_vm1 2025-08-08 09:10:42,097 - INFO - Deleting VM test_vm 2025-08-08 09:10:42,184 - INFO - Deleting VN ctest-bgpaas_vn-74235080 2025-08-08 09:10:42,244 - DEBUG - VN 27254ed7-cf7b-482e-9a3c-cdb30d62ef64 still in use: Unable to complete operation on network 27254ed7-cf7b-482e-9a3c-cdb30d62ef64. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dff80787-51c7-467c-95ba-cefe3d26e2fd'] 2025-08-08 09:10:42,244 - WARNING - Deleting VN ctest-bgpaas_vn-74235080 failed..Will retry 2025-08-08 09:10:44,502 - DEBUG - Response for deleting network () 2025-08-08 09:10:45,809 - DEBUG - Skipping xmpp flap check 2025-08-08 09:10:45,809 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:34] 2025-08-08 09:10:45,809 - INFO - -------------------------------------------------------------------------------- 2025-08-08 09:10:46,632 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-73346718, ID : 997dc9a0-0188-4619-a0a5-d7072b09eadf 2025-08-08 09:15:00,473 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:00,503 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:06,526 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:12,547 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:35,215 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:41,237 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:52,107 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:58,129 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:15:58,156 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:16:04,182 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:18:59,143 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:18:59,161 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:18:59,190 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:19:05,212 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:19:05,233 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:19:11,747 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:19:11,771 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:19:11,800 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-08 09:19:11,820 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=