2025-08-07 20:31:16,750 - INFO - Domain Default found not creating 2025-08-07 20:31:16,968 - INFO - Project ctest-TestBGPaaSlocalAS-88395954 not found, creating it 2025-08-07 20:31:17,678 - INFO - Created Project:ctest-TestBGPaaSlocalAS-88395954, ID : 0029beaf-f033-42ae-ae3f-fb3bd71fa21c 2025-08-07 20:31:19,302 - DEBUG - Services list from nova: [, , , ] 2025-08-07 20:31:19,302 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3775-2', 'an-jenkins-deploy-platform-ansible-os-3775-1']} 2025-08-07 20:31:19,305 - INFO - ================================================================================ 2025-08-07 20:31:19,305 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-08-07 20:31:19,306 - 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-07 20:31:20,623 - DEBUG - Skipping xmpp flap check 2025-08-07 20:31:20,624 - INFO - Initial checks done. Running the testcase now 2025-08-07 20:31:20,624 - INFO - 2025-08-07 20:31:21,393 - DEBUG - Response for create_network : {'network': {'id': '446bb244-9875-40f5-9228-41557d17c3b2', 'name': 'ctest-bgpaas_vn-20018941', 'tenant_id': '0029beaff03342aeae3ffb3bd71fa21c', 'project_id': '0029beaff03342aeae3ffb3bd71fa21c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-88395954', 'ctest-bgpaas_vn-20018941'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 20:31:21,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '8df4ce37-7b1b-4237-883f-1984f119c539', 'name': '', 'tenant_id': '0029beaff03342aeae3ffb3bd71fa21c', 'network_id': '446bb244-9875-40f5-9228-41557d17c3b2', 'ip_version': 4, 'cidr': '183.232.93.0/26', 'allocation_pools': [{'start': '183.232.93.2', 'end': '183.232.93.62'}], 'gateway_ip': '183.232.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.232.93.2', 'tags': [], 'project_id': '0029beaff03342aeae3ffb3bd71fa21c'}} 2025-08-07 20:31:21,796 - INFO - Created VN ctest-bgpaas_vn-20018941 2025-08-07 20:31:21,810 - DEBUG - VN ctest-bgpaas_vn-20018941 UUID is 446bb244-9875-40f5-9228-41557d17c3b2 2025-08-07 20:31:23,212 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-2) 2025-08-07 20:31:23,341 - DEBUG - Image by name ubuntu-bird not found 2025-08-07 20:31:23,341 - DEBUG - Installing image ubuntu-bird 2025-08-07 20:31:23,341 - 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-07 20:31:23,342 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-07 20:31:23,342 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-07 20:31:23,356 - 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-07 20:31:26,007 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-07 20:31:26,008 - DEBUG - Unzip image 2025-08-07 20:31:26,008 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-07 20:31:37,646 - DEBUG - Try to create image in user context 2025-08-07 20:31:44,896 - DEBUG - Image has been created in user context 2025-08-07 20:31:44,896 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-08-07 20:31:45,066 - DEBUG - Downloaded image has been removed 2025-08-07 20:31:45,082 - DEBUG - Uploaded image status = active 2025-08-07 20:31:46,340 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3775-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3775-1) 2025-08-07 20:31:46,341 - INFO - Waiting for VM test_vm to be up.. 2025-08-07 20:31:46,453 - DEBUG - VM is in ACTIVE state now 2025-08-07 20:31:46,454 - INFO - VM name : test_vm 2025-08-07 20:31:46,556 - DEBUG - VM test_vm ID is 5ca3cc78-a4a3-4006-a90f-882c744eabbb 2025-08-07 20:31:46,602 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3775-2 2025-08-07 20:31:46,712 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/5ca3cc78-a4a3-4006-a90f-882c744eabbb 2025-08-07 20:31:47,085 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/5ca3cc78-a4a3-4006-a90f-882c744eabbb 2025-08-07 20:31:47,152 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/4d8efabe-d901-449e-95fd-99be94d0afd1 2025-08-07 20:31:48,450 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.30 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 = 1.298/2.268/3.238/0.970 ms') 2025-08-07 20:31:48,450 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-07 20:31:48,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:31:48,606 - DEBUG - Waiting to SSH to VM test_vm, IP 183.232.93.3, Port 22 2025-08-07 20:31:48,687 - 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-07 20:31:48,831 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:31:53,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:31:53,832 - DEBUG - Waiting to SSH to VM test_vm, IP 183.232.93.3, Port 22 2025-08-07 20:31:54,023 - DEBUG - VM test_vm is ready for SSH connections 2025-08-07 20:31:54,023 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-08-07 20:31:54,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 20:31:59,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 20:32:04,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 20:32:09,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 20:32:14,588 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 20:32:19,729 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 20:32:24,830 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 20:32:29,923 - DEBUG - VM is in ACTIVE state now 2025-08-07 20:32:29,923 - INFO - VM name : bgpaas_vm1 2025-08-07 20:32:30,019 - DEBUG - VM bgpaas_vm1 ID is d23df2f2-e0e0-4b7a-9907-6b71ef72bb39 2025-08-07 20:32:30,019 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3775-1 2025-08-07 20:32:30,103 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/d23df2f2-e0e0-4b7a-9907-6b71ef72bb39 2025-08-07 20:32:30,115 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/bac85117-2ddc-458b-bb7f-c2176ffb7544 2025-08-07 20:32:33,410 - 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 1035ms') 2025-08-07 20:32:33,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:32:33,430 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:32:37,539 - 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 1025ms') 2025-08-07 20:32:37,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:32:37,559 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:32:41,669 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-08-07 20:32:41,669 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:32:41,687 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:32:45,794 - 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 1028ms') 2025-08-07 20:32:45,795 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:32:45,811 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:32:49,931 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-07 20:32:49,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:32:49,951 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:32:54,018 - 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-07 20:32:54,019 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:32:54,038 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:32:58,119 - 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-07 20:32:58,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:32:58,144 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:02,216 - 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-08-07 20:33:02,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:02,239 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:06,312 - 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-07 20:33:06,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:06,333 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:10,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 1007ms') 2025-08-07 20:33:10,411 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:10,427 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:14,529 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-07 20:33:14,530 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:14,547 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:18,667 - 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-07 20:33:18,667 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:18,687 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:22,793 - 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-07 20:33:22,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:22,810 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:26,917 - 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-08-07 20:33:26,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:26,938 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:31,048 - 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-07 20:33:31,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 20:33:31,071 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-88395954:ctest-bgpaas_vn-20018941 is 183.232.93.1 and allocation pool is NOT set 2025-08-07 20:33:33,144 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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 = 1.924/2.782/3.640/0.858 ms') 2025-08-07 20:33:33,144 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-08-07 20:33:33,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:33:33,265 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:33:33,356 - 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-07 20:33:33,459 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:33:38,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:33:38,459 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:33:38,547 - 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-07 20:33:38,635 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:33:43,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:33:43,637 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:33:43,717 - 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-07 20:33:43,808 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:33:48,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:33:48,810 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:33:48,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-07 20:33:48,993 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:33:53,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:33:53,994 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:33:54,087 - 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-07 20:33:54,185 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:33:59,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:33:59,186 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:33:59,276 - 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-07 20:33:59,361 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:34:04,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:04,362 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:34:04,452 - 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-07 20:34:04,558 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:34:09,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:09,560 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:34:09,627 - 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-07 20:34:09,723 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 20:34:14,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:14,724 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:34:14,922 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-07 20:34:14,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:14,930 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-88395954-20211043 2025-08-07 20:34:15,015 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-88395954-20211043(da9f81e2-8b5c-4634-9450-b021ea19604d) 2025-08-07 20:34:15,016 - DEBUG - Requesting: http://10.0.0.19:8082/bgp-as-a-service/da9f81e2-8b5c-4634-9450-b021ea19604d 2025-08-07 20:34:15,318 - DEBUG - Requesting: http://10.0.0.19:8082/bgp-as-a-service/da9f81e2-8b5c-4634-9450-b021ea19604d 2025-08-07 20:34:15,360 - INFO - verify_in_api_server passed for BGPaaS obj da9f81e2-8b5c-4634-9450-b021ea19604d 2025-08-07 20:34:15,360 - INFO - BGPaaS(da9f81e2-8b5c-4634-9450-b021ea19604d): verify_on_setup passed 2025-08-07 20:34:15,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:15,360 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:34:15,539 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-07 20:34:15,539 - INFO - Attaching VMI bac85117-2ddc-458b-bb7f-c2176ffb7544 to BGPaaS da9f81e2-8b5c-4634-9450-b021ea19604d 2025-08-07 20:34:15,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:15,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:15,773 - INFO - Configuring BGP on the bird 2025-08-07 20:34:15,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 20:34:15,773 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 183.232.93.4, Port 22 2025-08-07 20:34:15,973 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-07 20:34:15,973 - INFO - Configuring BGP on bgpaas_vm1 2025-08-07 20:34:15,974 - 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 183.232.93.4; protocol bgp bgp_1{ local as 64500; neighbor 183.232.93.1 as 412; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 183.232.93.4; } protocol bfd { neighbor 183.232.93.1 local 183.232.93.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-07 20:34:15,974 - 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 183.232.93.4; protocol bgp bgp_1{ local as 64500; neighbor 183.232.93.1 as 412; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 183.232.93.4; } protocol bfd { neighbor 183.232.93.1 local 183.232.93.4 multihop on; } EOS 2025-08-07 20:34:34,956 - DEBUG - None 2025-08-07 20:34:34,956 - 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 183.232.93.4; protocol bgp bgp_1{ local as 64500; neighbor 183.232.93.1 as 412; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 183.232.93.4; } protocol bfd { neighbor 183.232.93.1 local 183.232.93.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-07 20:34:34,956 - 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 183.232.93.4; protocol bgp bgp_1{ local as 64500; neighbor 183.232.93.1 as 412; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 183.232.93.4; } protocol bfd { neighbor 183.232.93.1 local 183.232.93.4 multihop on; } EOS 2025-08-07 20:34:36,070 - DEBUG - None 2025-08-07 20:34:36,070 - 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-07 20:34:36,070 - DEBUG - service bird restart 2025-08-07 20:34:37,791 - DEBUG - bird stop/waiting bird start/running, process 1437 2025-08-07 20:34:37,808 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:34:37,832 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:34:43,881 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:34:43,903 - INFO - BGPaaS session seen in control-node 10.20.0.193 2025-08-07 20:34:43,904 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:34:43,919 - INFO - Detaching VMI bac85117-2ddc-458b-bb7f-c2176ffb7544 from BGPaaS da9f81e2-8b5c-4634-9450-b021ea19604d 2025-08-07 20:34:43,995 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-88395954-20211043(da9f81e2-8b5c-4634-9450-b021ea19604d) 2025-08-07 20:34:44,054 - DEBUG - Requesting: http://10.0.0.19:8082/bgp-as-a-service/da9f81e2-8b5c-4634-9450-b021ea19604d 2025-08-07 20:34:44,064 - DEBUG - Response Code: 404 2025-08-07 20:34:44,064 - DEBUG - BGPaaS: da9f81e2-8b5c-4634-9450-b021ea19604d deleted from api server 2025-08-07 20:34:44,064 - INFO - BGPaaS(da9f81e2-8b5c-4634-9450-b021ea19604d): verify_on_cleanup passed 2025-08-07 20:34:44,065 - INFO - Deleting VM bgpaas_vm1 2025-08-07 20:34:44,194 - INFO - Deleting VM test_vm 2025-08-07 20:34:44,292 - INFO - Deleting VN ctest-bgpaas_vn-20018941 2025-08-07 20:34:44,338 - DEBUG - VN 446bb244-9875-40f5-9228-41557d17c3b2 still in use: Unable to complete operation on network 446bb244-9875-40f5-9228-41557d17c3b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-072148e7-6a49-4f74-a860-672467e1529e'] 2025-08-07 20:34:44,338 - WARNING - Deleting VN ctest-bgpaas_vn-20018941 failed..Will retry 2025-08-07 20:34:46,582 - DEBUG - Response for deleting network () 2025-08-07 20:34:47,920 - DEBUG - Skipping xmpp flap check
2025-08-07 20:34:47,920 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:28]
2025-08-07 20:34:47,921 - INFO - -------------------------------------------------------------------------------- 2025-08-07 20:34:48,740 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-88395954, ID : 0029beaf-f033-42ae-ae3f-fb3bd71fa21c 2025-08-07 20:38:27,142 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:38:50,767 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:38:56,789 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:39:07,395 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:39:13,417 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:42:09,407 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:42:09,460 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:42:15,480 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:42:21,500 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:42:28,460 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 20:42:28,506 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=