2025-10-29 21:12:42,909 - INFO - Domain Default found not creating
2025-10-29 21:12:43,057 - INFO - Project ctest-TestBGPaaSlocalAS-36074112 not found, creating it
2025-10-29 21:12:43,523 - INFO - Created Project:ctest-TestBGPaaSlocalAS-36074112, ID : 737d6b61-b0df-48b1-bdb9-bf4f4c16d3f4
2025-10-29 21:12:45,000 - DEBUG - Services list from nova: [, , , ]
2025-10-29 21:12:45,000 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4527-2', 'an-jenkins-deploy-platform-ansible-os-4527-1']}
2025-10-29 21:12:45,002 - INFO - ================================================================================
2025-10-29 21:12:45,002 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-10-29 21:12:45,002 - 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-10-29 21:12:46,327 - DEBUG - Skipping xmpp flap check
2025-10-29 21:12:46,327 - INFO - Initial checks done. Running the testcase now
2025-10-29 21:12:46,327 - INFO -
2025-10-29 21:12:46,961 - DEBUG - Response for create_network : {'network': {'id': '33c9f288-d6fb-4af4-b9b7-1650eeb5fb36', 'name': 'ctest-bgpaas_vn-73494501', 'tenant_id': '737d6b61b0df48b1bdb9bf4f4c16d3f4', 'project_id': '737d6b61b0df48b1bdb9bf4f4c16d3f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-36074112', 'ctest-bgpaas_vn-73494501'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 21:12:47,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cbc51d3-c0c0-4a23-995b-4c5cbdb0082a', 'name': '', 'tenant_id': '737d6b61b0df48b1bdb9bf4f4c16d3f4', 'network_id': '33c9f288-d6fb-4af4-b9b7-1650eeb5fb36', 'ip_version': 4, 'cidr': '70.105.38.64/26', 'allocation_pools': [{'start': '70.105.38.66', 'end': '70.105.38.126'}], 'gateway_ip': '70.105.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.105.38.66', 'tags': [], 'project_id': '737d6b61b0df48b1bdb9bf4f4c16d3f4'}}
2025-10-29 21:12:47,298 - INFO - Created VN ctest-bgpaas_vn-73494501
2025-10-29 21:12:47,314 - DEBUG - VN ctest-bgpaas_vn-73494501 UUID is 33c9f288-d6fb-4af4-b9b7-1650eeb5fb36
2025-10-29 21:12:48,645 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-2)
2025-10-29 21:12:48,731 - DEBUG - Image by name ubuntu-bird not found
2025-10-29 21:12:48,731 - DEBUG - Installing image ubuntu-bird
2025-10-29 21:12:48,731 - 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-10-29 21:12:48,731 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-10-29 21:12:48,732 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-10-29 21:12:48,745 - 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-10-29 21:12:51,408 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-10-29 21:12:51,408 - DEBUG - Unzip image
2025-10-29 21:12:51,408 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-10-29 21:13:02,427 - DEBUG - Try to create image in user context
2025-10-29 21:13:10,650 - DEBUG - Image has been created in user context
2025-10-29 21:13:10,650 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-10-29 21:13:10,846 - DEBUG - Downloaded image has been removed
2025-10-29 21:13:10,862 - DEBUG - Uploaded image status = active
2025-10-29 21:13:11,965 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4527-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4527-1)
2025-10-29 21:13:11,966 - INFO - Waiting for VM test_vm to be up..
2025-10-29 21:13:12,102 - DEBUG - VM is in ACTIVE state now
2025-10-29 21:13:12,102 - INFO - VM name : test_vm
2025-10-29 21:13:12,210 - DEBUG - VM test_vm ID is f74406e2-8165-4a21-9a28-6e4b26a2ba95
2025-10-29 21:13:12,257 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4527-2
2025-10-29 21:13:12,354 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f74406e2-8165-4a21-9a28-6e4b26a2ba95
2025-10-29 21:13:12,755 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f74406e2-8165-4a21-9a28-6e4b26a2ba95
2025-10-29 21:13:12,988 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0e13d40a-9eeb-42d3-ad6a-9def4d6dffee
2025-10-29 21:13:14,194 - 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=2.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/1.525/2.549/1.023 ms')
2025-10-29 21:13:14,194 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-10-29 21:13:14,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:13:14,270 - DEBUG - Waiting to SSH to VM test_vm, IP 70.105.38.67, Port 22
2025-10-29 21:13:14,331 - 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-10-29 21:13:14,434 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:13:19,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:13:19,434 - DEBUG - Waiting to SSH to VM test_vm, IP 70.105.38.67, Port 22
2025-10-29 21:13:19,594 - DEBUG - VM test_vm is ready for SSH connections
2025-10-29 21:13:19,595 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-10-29 21:13:19,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 21:13:24,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 21:13:29,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 21:13:34,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 21:13:40,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 21:13:45,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 21:13:50,196 - DEBUG - VM is in ACTIVE state now
2025-10-29 21:13:50,196 - INFO - VM name : bgpaas_vm1
2025-10-29 21:13:50,274 - DEBUG - VM bgpaas_vm1 ID is e3f0cd2e-b881-48a1-8d62-7bd398650903
2025-10-29 21:13:50,274 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4527-1
2025-10-29 21:13:50,357 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e3f0cd2e-b881-48a1-8d62-7bd398650903
2025-10-29 21:13:50,368 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8d547f29-f641-4399-ab87-b99d75b5bbad
2025-10-29 21:13:53,578 - 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-10-29 21:13:53,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:13:53,591 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:13:57,703 - 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 1033ms')
2025-10-29 21:13:57,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:13:57,717 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:01,830 - 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-10-29 21:14:01,831 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:01,844 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:05,925 - 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-10-29 21:14:05,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:05,942 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:10,055 - 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-10-29 21:14:10,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:10,068 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:14,189 - 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-10-29 21:14:14,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:14,203 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:18,283 - 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-10-29 21:14:18,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:18,298 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:22,407 - 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-10-29 21:14:22,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:22,421 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:26,509 - 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 1004ms')
2025-10-29 21:14:26,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:26,524 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:30,629 - 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-10-29 21:14:30,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:30,643 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:34,756 - 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-10-29 21:14:34,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:34,772 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:38,853 - 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 1004ms')
2025-10-29 21:14:38,853 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:38,866 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:42,948 - 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-10-29 21:14:42,948 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:42,962 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:47,082 - 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 1034ms')
2025-10-29 21:14:47,082 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:47,097 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:51,210 - 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 1033ms')
2025-10-29 21:14:51,210 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:51,224 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:55,301 - 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-10-29 21:14:55,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-29 21:14:55,316 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-36074112:ctest-bgpaas_vn-73494501 is 70.105.38.65 and allocation pool is NOT set
2025-10-29 21:14:57,393 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.791 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 = 0.791/6.772/12.753/5.981 ms')
2025-10-29 21:14:57,393 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-10-29 21:14:57,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:14:57,462 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:14:57,541 - 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-10-29 21:14:57,651 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:02,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:02,652 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:02,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-10-29 21:15:02,811 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:07,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:07,812 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:07,879 - 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-10-29 21:15:07,963 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:12,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:12,964 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:13,052 - 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-10-29 21:15:13,130 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:18,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:18,131 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:18,199 - 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-10-29 21:15:18,278 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:23,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:23,279 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:23,368 - 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-10-29 21:15:23,465 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:28,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:28,466 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:28,536 - 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-10-29 21:15:28,634 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:33,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:33,635 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:33,714 - 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-10-29 21:15:33,813 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:38,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:38,814 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:38,904 - 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-10-29 21:15:38,998 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-29 21:15:43,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:43,999 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:44,171 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-29 21:15:44,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:44,177 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-36074112-20191494
2025-10-29 21:15:44,251 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-36074112-20191494(eacd3bc0-c65e-4e7d-be54-d75a1e102d74)
2025-10-29 21:15:44,251 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/eacd3bc0-c65e-4e7d-be54-d75a1e102d74
2025-10-29 21:15:44,550 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/eacd3bc0-c65e-4e7d-be54-d75a1e102d74
2025-10-29 21:15:44,583 - INFO - verify_in_api_server passed for BGPaaS obj eacd3bc0-c65e-4e7d-be54-d75a1e102d74
2025-10-29 21:15:44,583 - INFO - BGPaaS(eacd3bc0-c65e-4e7d-be54-d75a1e102d74): verify_on_setup passed
2025-10-29 21:15:44,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:44,583 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:44,786 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-29 21:15:44,787 - INFO - Attaching VMI 8d547f29-f641-4399-ab87-b99d75b5bbad to BGPaaS eacd3bc0-c65e-4e7d-be54-d75a1e102d74
2025-10-29 21:15:44,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:44,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:45,022 - INFO - Configuring BGP on the bird
2025-10-29 21:15:45,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 21:15:45,023 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 70.105.38.68, Port 22
2025-10-29 21:15:45,212 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-29 21:15:45,213 - INFO - Configuring BGP on bgpaas_vm1
2025-10-29 21:15:45,213 - 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 70.105.38.68;
protocol bgp bgp_1{
local as 64500;
neighbor 70.105.38.65 as 548;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 70.105.38.68;
}
protocol bfd {
neighbor 70.105.38.65 local 70.105.38.68 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-29 21:15:45,213 - 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 70.105.38.68;
protocol bgp bgp_1{
local as 64500;
neighbor 70.105.38.65 as 548;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 70.105.38.68;
}
protocol bfd {
neighbor 70.105.38.65 local 70.105.38.68 multihop on;
}
EOS
2025-10-29 21:16:01,708 - DEBUG - None
2025-10-29 21:16:01,708 - 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 70.105.38.68;
protocol bgp bgp_1{
local as 64500;
neighbor 70.105.38.65 as 548;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 70.105.38.68;
}
protocol bfd {
neighbor 70.105.38.65 local 70.105.38.68 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-29 21:16:01,709 - 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 70.105.38.68;
protocol bgp bgp_1{
local as 64500;
neighbor 70.105.38.65 as 548;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 70.105.38.68;
}
protocol bfd {
neighbor 70.105.38.65 local 70.105.38.68 multihop on;
}
EOS
2025-10-29 21:16:02,747 - DEBUG - None
2025-10-29 21:16:02,747 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-10-29 21:16:02,747 - DEBUG - service bird restart
2025-10-29 21:16:06,121 - DEBUG - bird stop/waiting
bird start/running, process 1434
2025-10-29 21:16:06,140 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:16:06,160 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:16:12,196 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:16:12,213 - INFO - BGPaaS session seen in control-node 10.20.0.254
2025-10-29 21:16:12,213 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:16:12,233 - INFO - Detaching VMI 8d547f29-f641-4399-ab87-b99d75b5bbad from BGPaaS eacd3bc0-c65e-4e7d-be54-d75a1e102d74
2025-10-29 21:16:12,313 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-36074112-20191494(eacd3bc0-c65e-4e7d-be54-d75a1e102d74)
2025-10-29 21:16:12,372 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/eacd3bc0-c65e-4e7d-be54-d75a1e102d74
2025-10-29 21:16:12,380 - DEBUG - Response Code: 404
2025-10-29 21:16:12,380 - DEBUG - BGPaaS: eacd3bc0-c65e-4e7d-be54-d75a1e102d74 deleted from api server
2025-10-29 21:16:12,380 - INFO - BGPaaS(eacd3bc0-c65e-4e7d-be54-d75a1e102d74): verify_on_cleanup passed
2025-10-29 21:16:12,380 - INFO - Deleting VM bgpaas_vm1
2025-10-29 21:16:12,558 - INFO - Deleting VM test_vm
2025-10-29 21:16:12,704 - INFO - Deleting VN ctest-bgpaas_vn-73494501
2025-10-29 21:16:12,764 - DEBUG - VN 33c9f288-d6fb-4af4-b9b7-1650eeb5fb36 still in use: Unable to complete operation on network 33c9f288-d6fb-4af4-b9b7-1650eeb5fb36. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4d80f43e-33fd-44f5-96d6-6f64b530faa5']
2025-10-29 21:16:12,764 - WARNING - Deleting VN ctest-bgpaas_vn-73494501 failed..Will retry
2025-10-29 21:16:14,966 - DEBUG - Response for deleting network ()
2025-10-29 21:16:16,318 - DEBUG - Skipping xmpp flap check
2025-10-29 21:16:16,318 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:31]
2025-10-29 21:16:16,318 - INFO - --------------------------------------------------------------------------------
2025-10-29 21:16:17,038 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-36074112, ID : 737d6b61-b0df-48b1-bdb9-bf4f4c16d3f4
2025-10-29 21:19:23,223 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:19:29,244 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:19:35,266 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:19:45,630 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:19:51,647 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:19:51,670 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:20:07,376 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:20:13,394 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:23:07,346 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:23:13,407 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:23:20,012 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-29 21:23:20,057 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=