2025-11-06 03:52:33,823 - INFO - Domain Default found not creating 2025-11-06 03:52:33,992 - INFO - Project ctest-TestBGPaaSlocalAS-49115824 not found, creating it 2025-11-06 03:52:34,632 - INFO - Created Project:ctest-TestBGPaaSlocalAS-49115824, ID : 76d6e7b8-fbc4-4513-a988-18ef98018e4d 2025-11-06 03:52:36,148 - DEBUG - Services list from nova: [, , , ] 2025-11-06 03:52:36,148 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4662-2', 'an-jenkins-deploy-platform-ansible-os-4662-1']} 2025-11-06 03:52:36,151 - INFO - ================================================================================ 2025-11-06 03:52:36,151 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-11-06 03:52:36,151 - 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-06 03:52:37,431 - DEBUG - Skipping xmpp flap check 2025-11-06 03:52:37,431 - INFO - Initial checks done. Running the testcase now 2025-11-06 03:52:37,431 - INFO - 2025-11-06 03:52:38,136 - DEBUG - Response for create_network : {'network': {'id': 'a5572568-8514-4b8a-bd6d-d3cc6e49cd0a', 'name': 'ctest-bgpaas_vn-30879422', 'tenant_id': '76d6e7b8fbc44513a98818ef98018e4d', 'project_id': '76d6e7b8fbc44513a98818ef98018e4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-49115824', 'ctest-bgpaas_vn-30879422'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 03:52:38,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '67c55a36-62b5-478b-ab58-249e91500873', 'name': '', 'tenant_id': '76d6e7b8fbc44513a98818ef98018e4d', 'network_id': 'a5572568-8514-4b8a-bd6d-d3cc6e49cd0a', 'ip_version': 4, 'cidr': '84.209.136.64/26', 'allocation_pools': [{'start': '84.209.136.66', 'end': '84.209.136.126'}], 'gateway_ip': '84.209.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.209.136.66', 'tags': [], 'project_id': '76d6e7b8fbc44513a98818ef98018e4d'}} 2025-11-06 03:52:38,446 - INFO - Created VN ctest-bgpaas_vn-30879422 2025-11-06 03:52:38,464 - DEBUG - VN ctest-bgpaas_vn-30879422 UUID is a5572568-8514-4b8a-bd6d-d3cc6e49cd0a 2025-11-06 03:52:39,820 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-2) 2025-11-06 03:52:39,949 - DEBUG - Image by name ubuntu-bird not found 2025-11-06 03:52:39,949 - DEBUG - Installing image ubuntu-bird 2025-11-06 03:52:39,949 - 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-06 03:52:39,949 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-11-06 03:52:39,949 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-11-06 03:52:39,963 - 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-06 03:52:42,699 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-11-06 03:52:42,699 - DEBUG - Unzip image 2025-11-06 03:52:42,699 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-11-06 03:52:53,279 - DEBUG - Try to create image in user context 2025-11-06 03:53:00,382 - DEBUG - Image has been created in user context 2025-11-06 03:53:00,382 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-11-06 03:53:00,566 - DEBUG - Downloaded image has been removed 2025-11-06 03:53:00,585 - DEBUG - Uploaded image status = active 2025-11-06 03:53:01,856 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4662-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4662-1) 2025-11-06 03:53:01,856 - INFO - Waiting for VM test_vm to be up.. 2025-11-06 03:53:01,945 - DEBUG - VM is in ACTIVE state now 2025-11-06 03:53:01,945 - INFO - VM name : test_vm 2025-11-06 03:53:02,049 - DEBUG - VM test_vm ID is 892cf53f-3f2c-417c-a503-399d28dc2240 2025-11-06 03:53:02,082 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4662-2 2025-11-06 03:53:02,219 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/892cf53f-3f2c-417c-a503-399d28dc2240 2025-11-06 03:53:02,645 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/892cf53f-3f2c-417c-a503-399d28dc2240 2025-11-06 03:53:02,711 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/d42c93ec-ab14-4929-a824-088d7248e210 2025-11-06 03:53:04,011 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.605/1.780/2.955/1.175 ms') 2025-11-06 03:53:04,011 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-06 03:53:04,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:53:04,146 - DEBUG - Waiting to SSH to VM test_vm, IP 84.209.136.67, Port 22 2025-11-06 03:53:04,233 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-06 03:53:04,373 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:53:09,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:53:09,374 - DEBUG - Waiting to SSH to VM test_vm, IP 84.209.136.67, Port 22 2025-11-06 03:53:09,579 - DEBUG - VM test_vm is ready for SSH connections 2025-11-06 03:53:09,579 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-11-06 03:53:09,715 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:53:14,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:53:19,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:53:25,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:53:30,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:53:35,200 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 03:53:40,298 - DEBUG - VM is in ACTIVE state now 2025-11-06 03:53:40,298 - INFO - VM name : bgpaas_vm1 2025-11-06 03:53:40,386 - DEBUG - VM bgpaas_vm1 ID is ff4e7041-21d3-42e1-9acf-b8cb4dfe2db4 2025-11-06 03:53:40,386 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4662-1 2025-11-06 03:53:40,476 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/ff4e7041-21d3-42e1-9acf-b8cb4dfe2db4 2025-11-06 03:53:40,491 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/2beda36b-5ece-42b8-a1c2-466541b7ed82 2025-11-06 03:53:43,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 1006ms') 2025-11-06 03:53:43,668 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:53:43,692 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:53:47,768 - 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-11-06 03:53:47,768 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:53:47,791 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:53:51,864 - 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-11-06 03:53:51,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:53:51,887 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:53:55,959 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2025-11-06 03:53:55,960 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:53:55,977 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:00,052 - 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-06 03:54:00,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:00,070 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:04,154 - 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-06 03:54:04,155 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:04,175 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:08,248 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-11-06 03:54:08,248 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:08,265 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:12,341 - 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-06 03:54:12,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:12,359 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:16,439 - 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-06 03:54:16,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:16,456 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:20,535 - 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-06 03:54:20,535 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:20,550 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:24,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 1013ms') 2025-11-06 03:54:24,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:24,644 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:28,725 - 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-06 03:54:28,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:28,740 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:32,820 - 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-06 03:54:32,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:32,837 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:36,922 - 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-06 03:54:36,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:36,937 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:41,014 - 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 1012ms') 2025-11-06 03:54:41,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:41,033 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:45,115 - 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-06 03:54:45,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:45,130 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:49,204 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2025-11-06 03:54:49,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-11-06 03:54:49,226 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-49115824:ctest-bgpaas_vn-30879422 is 84.209.136.65 and allocation pool is NOT set 2025-11-06 03:54:51,288 - 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=4.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.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 = 1.159/2.611/4.064/1.452 ms') 2025-11-06 03:54:51,288 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-11-06 03:54:51,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:54:51,371 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:54:51,443 - 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-06 03:54:51,551 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:54:56,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:54:56,552 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:54:56,618 - 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-06 03:54:56,699 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:01,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:01,700 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:01,770 - 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-06 03:55:01,871 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:06,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:06,871 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:06,938 - 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-06 03:55:07,025 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:12,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:12,027 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:12,084 - 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-06 03:55:12,174 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:17,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:17,175 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:17,242 - 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-06 03:55:17,327 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:22,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:22,328 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:22,384 - 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-06 03:55:22,471 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:27,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:27,473 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:27,538 - 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-06 03:55:27,630 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:32,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:32,631 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:32,699 - 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-06 03:55:32,782 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-06 03:55:37,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:37,783 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:37,954 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-06 03:55:37,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:37,964 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-49115824-41393760 2025-11-06 03:55:38,054 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-49115824-41393760(fe849e50-0800-4ef5-b17e-673061dfe32a) 2025-11-06 03:55:38,055 - DEBUG - Requesting: http://10.0.0.41:8082/bgp-as-a-service/fe849e50-0800-4ef5-b17e-673061dfe32a 2025-11-06 03:55:38,352 - DEBUG - Requesting: http://10.0.0.41:8082/bgp-as-a-service/fe849e50-0800-4ef5-b17e-673061dfe32a 2025-11-06 03:55:38,388 - INFO - verify_in_api_server passed for BGPaaS obj fe849e50-0800-4ef5-b17e-673061dfe32a 2025-11-06 03:55:38,388 - INFO - BGPaaS(fe849e50-0800-4ef5-b17e-673061dfe32a): verify_on_setup passed 2025-11-06 03:55:38,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:38,388 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:38,554 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-06 03:55:38,554 - INFO - Attaching VMI 2beda36b-5ece-42b8-a1c2-466541b7ed82 to BGPaaS fe849e50-0800-4ef5-b17e-673061dfe32a 2025-11-06 03:55:38,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:38,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:38,756 - INFO - Configuring BGP on the bird 2025-11-06 03:55:38,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 03:55:38,757 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 84.209.136.68, Port 22 2025-11-06 03:55:38,922 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-11-06 03:55:38,922 - INFO - Configuring BGP on bgpaas_vm1 2025-11-06 03:55:38,923 - 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 84.209.136.68; protocol bgp bgp_1{ local as 64500; neighbor 84.209.136.65 as 616; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 84.209.136.68; } protocol bfd { neighbor 84.209.136.65 local 84.209.136.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-11-06 03:55:38,923 - 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 84.209.136.68; protocol bgp bgp_1{ local as 64500; neighbor 84.209.136.65 as 616; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 84.209.136.68; } protocol bfd { neighbor 84.209.136.65 local 84.209.136.68 multihop on; } EOS 2025-11-06 03:55:56,225 - DEBUG - None 2025-11-06 03:55:56,225 - 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 84.209.136.68; protocol bgp bgp_1{ local as 64500; neighbor 84.209.136.65 as 616; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 84.209.136.68; } protocol bfd { neighbor 84.209.136.65 local 84.209.136.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-11-06 03:55:56,225 - 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 84.209.136.68; protocol bgp bgp_1{ local as 64500; neighbor 84.209.136.65 as 616; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 84.209.136.68; } protocol bfd { neighbor 84.209.136.65 local 84.209.136.68 multihop on; } EOS 2025-11-06 03:55:57,220 - DEBUG - None 2025-11-06 03:55:57,220 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-11-06 03:55:57,221 - DEBUG - service bird restart 2025-11-06 03:56:00,517 - DEBUG - bird stop/waiting bird start/running, process 1438 2025-11-06 03:56:00,533 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 03:56:00,556 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 03:56:06,599 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 03:56:06,615 - INFO - BGPaaS session seen in control-node 10.20.0.252 2025-11-06 03:56:06,616 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 03:56:06,634 - INFO - Detaching VMI 2beda36b-5ece-42b8-a1c2-466541b7ed82 from BGPaaS fe849e50-0800-4ef5-b17e-673061dfe32a 2025-11-06 03:56:06,722 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-49115824-41393760(fe849e50-0800-4ef5-b17e-673061dfe32a) 2025-11-06 03:56:06,776 - DEBUG - Requesting: http://10.0.0.41:8082/bgp-as-a-service/fe849e50-0800-4ef5-b17e-673061dfe32a 2025-11-06 03:56:06,784 - DEBUG - Response Code: 404 2025-11-06 03:56:06,784 - DEBUG - BGPaaS: fe849e50-0800-4ef5-b17e-673061dfe32a deleted from api server 2025-11-06 03:56:06,784 - INFO - BGPaaS(fe849e50-0800-4ef5-b17e-673061dfe32a): verify_on_cleanup passed 2025-11-06 03:56:06,784 - INFO - Deleting VM bgpaas_vm1 2025-11-06 03:56:06,894 - INFO - Deleting VM test_vm 2025-11-06 03:56:06,960 - INFO - Deleting VN ctest-bgpaas_vn-30879422 2025-11-06 03:56:07,011 - DEBUG - VN a5572568-8514-4b8a-bd6d-d3cc6e49cd0a still in use: Unable to complete operation on network a5572568-8514-4b8a-bd6d-d3cc6e49cd0a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-53b98803-c232-4bc9-9de4-245cab852f34'] 2025-11-06 03:56:07,011 - WARNING - Deleting VN ctest-bgpaas_vn-30879422 failed..Will retry 2025-11-06 03:56:09,266 - DEBUG - Response for deleting network () 2025-11-06 03:56:10,597 - DEBUG - Skipping xmpp flap check 2025-11-06 03:56:10,597 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:34] 2025-11-06 03:56:10,597 - INFO - -------------------------------------------------------------------------------- 2025-11-06 03:56:11,396 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-49115824, ID : 76d6e7b8-fbc4-4513-a988-18ef98018e4d 2025-11-06 03:59:48,541 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 03:59:54,563 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:00:00,582 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:00:11,835 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:00:17,854 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:00:17,881 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:00:34,735 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:03:31,857 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:03:43,925 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:03:50,730 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-11-06 04:03:50,774 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address=