2025-11-17 03:51:52,746 - INFO - Domain Default found not creating
2025-11-17 03:51:52,951 - INFO - Project ctest-TestBGPaaSlocalAS-70876597 not found, creating it
2025-11-17 03:51:53,582 - INFO - Created Project:ctest-TestBGPaaSlocalAS-70876597, ID : 5b309c1a-4b54-446d-a3df-93002f876f29
2025-11-17 03:51:55,361 - DEBUG - Services list from nova: [, , , ]
2025-11-17 03:51:55,361 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4736-1', 'an-jenkins-deploy-platform-ansible-os-4736-2']}
2025-11-17 03:51:55,363 - INFO - ================================================================================
2025-11-17 03:51:55,363 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-11-17 03:51:55,364 - 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-17 03:51:56,631 - DEBUG - Skipping xmpp flap check
2025-11-17 03:51:56,631 - INFO - Initial checks done. Running the testcase now
2025-11-17 03:51:56,631 - INFO -
2025-11-17 03:51:57,396 - DEBUG - Response for create_network : {'network': {'id': 'fbf26e64-ab3f-473e-a0ad-df8e661fc155', 'name': 'ctest-bgpaas_vn-68616574', 'tenant_id': '5b309c1a4b54446da3df93002f876f29', 'project_id': '5b309c1a4b54446da3df93002f876f29', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-70876597', 'ctest-bgpaas_vn-68616574'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 03:51:57,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ae015c4-2cf4-419f-9065-0cb5c29ac7e4', 'name': '', 'tenant_id': '5b309c1a4b54446da3df93002f876f29', 'network_id': 'fbf26e64-ab3f-473e-a0ad-df8e661fc155', 'ip_version': 4, 'cidr': '21.133.33.192/26', 'allocation_pools': [{'start': '21.133.33.194', 'end': '21.133.33.254'}], 'gateway_ip': '21.133.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.133.33.194', 'tags': [], 'project_id': '5b309c1a4b54446da3df93002f876f29'}}
2025-11-17 03:51:57,758 - INFO - Created VN ctest-bgpaas_vn-68616574
2025-11-17 03:51:57,769 - DEBUG - VN ctest-bgpaas_vn-68616574 UUID is fbf26e64-ab3f-473e-a0ad-df8e661fc155
2025-11-17 03:51:59,363 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-1)
2025-11-17 03:51:59,490 - DEBUG - Image by name ubuntu-bird not found
2025-11-17 03:51:59,490 - DEBUG - Installing image ubuntu-bird
2025-11-17 03:51:59,490 - 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-17 03:51:59,490 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-11-17 03:51:59,491 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-11-17 03:51:59,507 - 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-17 03:52:02,142 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-11-17 03:52:02,142 - DEBUG - Unzip image
2025-11-17 03:52:02,143 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-11-17 03:52:15,530 - DEBUG - Try to create image in user context
2025-11-17 03:52:23,645 - DEBUG - Image has been created in user context
2025-11-17 03:52:23,645 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-11-17 03:52:23,820 - DEBUG - Downloaded image has been removed
2025-11-17 03:52:23,835 - DEBUG - Uploaded image status = active
2025-11-17 03:52:25,102 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4736-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4736-2)
2025-11-17 03:52:25,103 - INFO - Waiting for VM test_vm to be up..
2025-11-17 03:52:25,210 - DEBUG - VM is in ACTIVE state now
2025-11-17 03:52:25,210 - INFO - VM name : test_vm
2025-11-17 03:52:25,313 - DEBUG - VM test_vm ID is 8b4223e3-6007-420d-8aeb-c4d2fcbf291f
2025-11-17 03:52:25,346 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4736-1
2025-11-17 03:52:25,444 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8b4223e3-6007-420d-8aeb-c4d2fcbf291f
2025-11-17 03:52:25,793 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8b4223e3-6007-420d-8aeb-c4d2fcbf291f
2025-11-17 03:52:25,886 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f90f9bfa-f19e-4604-92f5-0b8a66aad1e6
2025-11-17 03:52:27,135 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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.140/2.274/3.409/1.134 ms')
2025-11-17 03:52:27,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-11-17 03:52:27,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:52:27,217 - DEBUG - Waiting to SSH to VM test_vm, IP 21.133.33.195, Port 22
2025-11-17 03:52:27,391 - DEBUG - VM test_vm is ready for SSH connections
2025-11-17 03:52:27,391 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-11-17 03:52:27,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 03:52:32,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 03:52:37,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 03:52:42,803 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 03:52:47,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 03:52:52,976 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 03:52:58,070 - DEBUG - VM is in ACTIVE state now
2025-11-17 03:52:58,070 - INFO - VM name : bgpaas_vm1
2025-11-17 03:52:58,159 - DEBUG - VM bgpaas_vm1 ID is 4f5c686e-edc0-49fd-aa4a-ec700bef564d
2025-11-17 03:52:58,159 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4736-2
2025-11-17 03:52:58,244 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4f5c686e-edc0-49fd-aa4a-ec700bef564d
2025-11-17 03:52:58,257 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/aff2df46-376c-450a-8d55-5f4c12f492e9
2025-11-17 03:53:01,445 - 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-17 03:53:01,445 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:01,461 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:05,543 - 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-17 03:53:05,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:05,558 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:09,641 - 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-17 03:53:09,641 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:09,664 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:13,741 - 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 1007ms')
2025-11-17 03:53:13,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:13,757 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:17,835 - 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-11-17 03:53:17,835 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:17,849 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:21,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 1015ms')
2025-11-17 03:53:21,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:21,939 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:26,020 - 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-17 03:53:26,020 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:26,033 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:30,122 - 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-17 03:53:30,122 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:30,138 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:34,214 - 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-17 03:53:34,214 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:34,228 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:38,307 - 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-17 03:53:38,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:38,322 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:42,406 - 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-17 03:53:42,406 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:42,423 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:46,504 - 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-17 03:53:46,504 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:46,519 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:50,596 - 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-17 03:53:50,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:50,612 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:54,692 - 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-17 03:53:54,692 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:54,707 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:53:58,785 - 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-17 03:53:58,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-11-17 03:53:58,800 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-70876597:ctest-bgpaas_vn-68616574 is 21.133.33.193 and allocation pool is NOT set
2025-11-17 03:54:00,868 - 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=7.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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.344/4.362/7.381/3.018 ms')
2025-11-17 03:54:00,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-11-17 03:54:00,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:00,939 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:01,005 - 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-17 03:54:01,096 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:06,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:06,097 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:06,166 - 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-17 03:54:06,273 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:11,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:11,275 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:11,332 - 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-17 03:54:11,446 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:16,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:16,447 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:16,503 - 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-17 03:54:16,602 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:21,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:21,603 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:21,663 - 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-17 03:54:21,751 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:26,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:26,752 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:26,808 - 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-17 03:54:26,905 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:31,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:31,906 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:31,974 - 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-17 03:54:32,065 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:37,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:37,066 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:37,123 - 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-17 03:54:37,212 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-17 03:54:42,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:42,213 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:42,386 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-11-17 03:54:42,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:42,392 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-70876597-40009210
2025-11-17 03:54:42,473 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-70876597-40009210(e0296cef-1024-4353-90b6-758744f52b1d)
2025-11-17 03:54:42,473 - DEBUG - Requesting: http://10.0.0.22:8082/bgp-as-a-service/e0296cef-1024-4353-90b6-758744f52b1d
2025-11-17 03:54:42,814 - DEBUG - Requesting: http://10.0.0.22:8082/bgp-as-a-service/e0296cef-1024-4353-90b6-758744f52b1d
2025-11-17 03:54:42,856 - INFO - verify_in_api_server passed for BGPaaS obj e0296cef-1024-4353-90b6-758744f52b1d
2025-11-17 03:54:42,856 - INFO - BGPaaS(e0296cef-1024-4353-90b6-758744f52b1d): verify_on_setup passed
2025-11-17 03:54:42,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:42,856 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:43,011 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-11-17 03:54:43,012 - INFO - Attaching VMI aff2df46-376c-450a-8d55-5f4c12f492e9 to BGPaaS e0296cef-1024-4353-90b6-758744f52b1d
2025-11-17 03:54:43,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:43,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:43,252 - INFO - Configuring BGP on the bird
2025-11-17 03:54:43,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 03:54:43,252 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 21.133.33.196, Port 22
2025-11-17 03:54:43,429 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-11-17 03:54:43,429 - INFO - Configuring BGP on bgpaas_vm1
2025-11-17 03:54:43,429 - 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 21.133.33.196;
protocol bgp bgp_1{
local as 64500;
neighbor 21.133.33.193 as 484;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 21.133.33.196;
}
protocol bfd {
neighbor 21.133.33.193 local 21.133.33.196 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-11-17 03:54:43,429 - 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 21.133.33.196;
protocol bgp bgp_1{
local as 64500;
neighbor 21.133.33.193 as 484;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 21.133.33.196;
}
protocol bfd {
neighbor 21.133.33.193 local 21.133.33.196 multihop on;
}
EOS
2025-11-17 03:55:02,220 - DEBUG - None
2025-11-17 03:55:02,220 - 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 21.133.33.196;
protocol bgp bgp_1{
local as 64500;
neighbor 21.133.33.193 as 484;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 21.133.33.196;
}
protocol bfd {
neighbor 21.133.33.193 local 21.133.33.196 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-11-17 03:55:02,220 - 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 21.133.33.196;
protocol bgp bgp_1{
local as 64500;
neighbor 21.133.33.193 as 484;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 21.133.33.196;
}
protocol bfd {
neighbor 21.133.33.193 local 21.133.33.196 multihop on;
}
EOS
2025-11-17 03:55:03,099 - DEBUG - None
2025-11-17 03:55:03,099 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-11-17 03:55:03,099 - DEBUG - service bird restart
2025-11-17 03:55:06,038 - DEBUG - bird stop/waiting
bird start/running, process 1472
2025-11-17 03:55:06,050 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:55:06,073 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:55:12,106 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:55:12,119 - INFO - BGPaaS session seen in control-node 10.20.0.25
2025-11-17 03:55:12,119 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:55:12,139 - INFO - Detaching VMI aff2df46-376c-450a-8d55-5f4c12f492e9 from BGPaaS e0296cef-1024-4353-90b6-758744f52b1d
2025-11-17 03:55:12,221 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-70876597-40009210(e0296cef-1024-4353-90b6-758744f52b1d)
2025-11-17 03:55:12,275 - DEBUG - Requesting: http://10.0.0.22:8082/bgp-as-a-service/e0296cef-1024-4353-90b6-758744f52b1d
2025-11-17 03:55:12,290 - DEBUG - Response Code: 404
2025-11-17 03:55:12,290 - DEBUG - BGPaaS: e0296cef-1024-4353-90b6-758744f52b1d deleted from api server
2025-11-17 03:55:12,290 - INFO - BGPaaS(e0296cef-1024-4353-90b6-758744f52b1d): verify_on_cleanup passed
2025-11-17 03:55:12,291 - INFO - Deleting VM bgpaas_vm1
2025-11-17 03:55:12,423 - INFO - Deleting VM test_vm
2025-11-17 03:55:12,529 - INFO - Deleting VN ctest-bgpaas_vn-68616574
2025-11-17 03:55:12,577 - DEBUG - VN fbf26e64-ab3f-473e-a0ad-df8e661fc155 still in use: Unable to complete operation on network fbf26e64-ab3f-473e-a0ad-df8e661fc155. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2674a10a-eac9-4937-b94c-8293880dc1d5']
2025-11-17 03:55:12,577 - WARNING - Deleting VN ctest-bgpaas_vn-68616574 failed..Will retry
2025-11-17 03:55:14,877 - DEBUG - Response for deleting network ()
2025-11-17 03:55:16,160 - DEBUG - Skipping xmpp flap check
2025-11-17 03:55:16,160 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:21]
2025-11-17 03:55:16,160 - INFO - --------------------------------------------------------------------------------
2025-11-17 03:55:16,963 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-70876597, ID : 5b309c1a-4b54-446d-a3df-93002f876f29
2025-11-17 03:58:52,461 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:58:52,484 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:58:58,504 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:59:04,524 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:59:21,723 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:59:27,743 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:59:37,925 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:59:43,940 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:59:43,961 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 03:59:49,979 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:02:51,677 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:02:51,694 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:02:51,721 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:02:57,738 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:02:57,755 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:03:03,773 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:03:14,762 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:03:14,777 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:03:14,803 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-11-17 04:03:14,817 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=