2025-10-16 03:55:23,036 - INFO - Domain Default found not creating 2025-10-16 03:55:23,202 - INFO - Project ctest-TestBGPaaSlocalAS-10999351 not found, creating it 2025-10-16 03:55:23,731 - INFO - Created Project:ctest-TestBGPaaSlocalAS-10999351, ID : 887d7938-4a2a-442e-beca-8e6727d21cc5 2025-10-16 03:55:25,213 - DEBUG - Services list from nova: [, , , ] 2025-10-16 03:55:25,213 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4339-1', 'an-jenkins-deploy-platform-ansible-os-4339-2']} 2025-10-16 03:55:25,216 - INFO - ================================================================================ 2025-10-16 03:55:25,216 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-10-16 03:55:25,217 - 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-16 03:55:26,495 - DEBUG - Skipping xmpp flap check 2025-10-16 03:55:26,495 - INFO - Initial checks done. Running the testcase now 2025-10-16 03:55:26,495 - INFO - 2025-10-16 03:55:27,141 - DEBUG - Response for create_network : {'network': {'id': '752d47ff-9d28-4624-9e94-25ddecaf9650', 'name': 'ctest-bgpaas_vn-90073774', 'tenant_id': '887d79384a2a442ebeca8e6727d21cc5', 'project_id': '887d79384a2a442ebeca8e6727d21cc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-10999351', 'ctest-bgpaas_vn-90073774'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 03:55:27,360 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb773ebd-d236-4331-b5bb-3e1f13a9de3a', 'name': '', 'tenant_id': '887d79384a2a442ebeca8e6727d21cc5', 'network_id': '752d47ff-9d28-4624-9e94-25ddecaf9650', 'ip_version': 4, 'cidr': '103.52.213.0/26', 'allocation_pools': [{'start': '103.52.213.2', 'end': '103.52.213.62'}], 'gateway_ip': '103.52.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.52.213.2', 'tags': [], 'project_id': '887d79384a2a442ebeca8e6727d21cc5'}} 2025-10-16 03:55:27,383 - INFO - Created VN ctest-bgpaas_vn-90073774 2025-10-16 03:55:27,393 - DEBUG - VN ctest-bgpaas_vn-90073774 UUID is 752d47ff-9d28-4624-9e94-25ddecaf9650 2025-10-16 03:55:28,608 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-1) 2025-10-16 03:55:28,691 - DEBUG - Image by name ubuntu-bird not found 2025-10-16 03:55:28,691 - DEBUG - Installing image ubuntu-bird 2025-10-16 03:55:28,692 - 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-16 03:55:28,692 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-16 03:55:28,692 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-16 03:55:28,705 - 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-16 03:55:31,402 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-16 03:55:31,402 - DEBUG - Unzip image 2025-10-16 03:55:31,402 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-16 03:55:42,302 - DEBUG - Try to create image in user context 2025-10-16 03:55:49,280 - DEBUG - Image has been created in user context 2025-10-16 03:55:49,281 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-10-16 03:55:49,423 - DEBUG - Downloaded image has been removed 2025-10-16 03:55:49,436 - DEBUG - Uploaded image status = active 2025-10-16 03:55:50,732 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-2) 2025-10-16 03:55:50,732 - INFO - Waiting for VM test_vm to be up.. 2025-10-16 03:55:50,819 - DEBUG - VM is in ACTIVE state now 2025-10-16 03:55:50,819 - INFO - VM name : test_vm 2025-10-16 03:55:50,905 - DEBUG - VM test_vm ID is 2dfc9952-4114-45ab-b4e0-acab318e0a98 2025-10-16 03:55:50,940 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4339-1 2025-10-16 03:55:51,033 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2dfc9952-4114-45ab-b4e0-acab318e0a98 2025-10-16 03:55:51,333 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2dfc9952-4114-45ab-b4e0-acab318e0a98 2025-10-16 03:55:51,404 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d2c9f1cc-d977-449a-85bd-97ab4a97912d 2025-10-16 03:55:52,616 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.574 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.574/1.929/3.284/1.355 ms') 2025-10-16 03:55:52,616 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-16 03:55:52,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:55:52,708 - DEBUG - Waiting to SSH to VM test_vm, IP 103.52.213.3, Port 22 2025-10-16 03:55:52,894 - DEBUG - VM test_vm is ready for SSH connections 2025-10-16 03:55:52,894 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-10-16 03:55:53,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 03:55:58,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 03:56:03,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 03:56:08,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 03:56:13,405 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 03:56:18,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 03:56:23,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 03:56:28,662 - DEBUG - VM is in ACTIVE state now 2025-10-16 03:56:28,662 - INFO - VM name : bgpaas_vm1 2025-10-16 03:56:28,744 - DEBUG - VM bgpaas_vm1 ID is 6c4199d1-0a6a-4a82-8abb-a05732a1dd55 2025-10-16 03:56:28,744 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4339-2 2025-10-16 03:56:28,821 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6c4199d1-0a6a-4a82-8abb-a05732a1dd55 2025-10-16 03:56:28,832 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/40a6fac7-5dce-47ff-a09d-aad94d242795 2025-10-16 03:56:32,024 - 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 1032ms') 2025-10-16 03:56:32,025 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:56:32,037 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:56:36,116 - 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-16 03:56:36,116 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:56:36,134 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:56:40,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 1017ms') 2025-10-16 03:56:40,210 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:56:40,224 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:56:44,316 - 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-16 03:56:44,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:56:44,331 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:56:48,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 1010ms') 2025-10-16 03:56:48,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:56:48,421 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:56:52,505 - 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-10-16 03:56:52,505 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:56:52,520 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:56:56,597 - 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-10-16 03:56:56,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:56:56,611 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:00,691 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-10-16 03:57:00,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:00,705 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:04,796 - 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-16 03:57:04,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:04,809 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:08,887 - 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-10-16 03:57:08,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:08,901 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:12,983 - 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-16 03:57:12,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:12,996 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:17,074 - 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-16 03:57:17,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:17,087 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:21,179 - 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-10-16 03:57:21,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:21,192 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:25,269 - 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-10-16 03:57:25,269 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:25,283 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:29,364 - 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-10-16 03:57:29,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:29,377 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:33,469 - 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-16 03:57:33,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:33,483 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:37,556 - 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-10-16 03:57:37,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:37,570 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:41,650 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-10-16 03:57:41,650 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-16 03:57:41,668 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10999351:ctest-bgpaas_vn-90073774 is 103.52.213.1 and allocation pool is NOT set 2025-10-16 03:57:43,738 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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 = 2.602/4.274/5.947/1.672 ms') 2025-10-16 03:57:43,738 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-10-16 03:57:43,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:57:43,807 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:57:43,875 - 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-16 03:57:43,968 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:57:48,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:57:48,968 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:57:49,046 - 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-16 03:57:49,129 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:57:54,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:57:54,130 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:57:54,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-16 03:57:54,291 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:57:59,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:57:59,292 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:57:59,359 - 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-16 03:57:59,452 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:04,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:04,453 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:04,519 - 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-16 03:58:04,601 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:09,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:09,602 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:09,671 - 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-16 03:58:09,756 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:14,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:14,757 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:14,822 - 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-16 03:58:14,903 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:19,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:19,904 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:19,971 - 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-16 03:58:20,064 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:25,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:25,065 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:25,132 - 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-16 03:58:25,236 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:30,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:30,238 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:30,303 - 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-16 03:58:30,377 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:35,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:35,378 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:35,444 - 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-16 03:58:35,535 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 03:58:40,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:40,536 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:40,707 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-16 03:58:40,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:40,719 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-10999351-06238580 2025-10-16 03:58:40,794 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-10999351-06238580(afb94e08-f7f2-4a7b-811c-9178334e979a) 2025-10-16 03:58:40,795 - DEBUG - Requesting: http://10.0.0.19:8082/bgp-as-a-service/afb94e08-f7f2-4a7b-811c-9178334e979a 2025-10-16 03:58:41,109 - DEBUG - Requesting: http://10.0.0.19:8082/bgp-as-a-service/afb94e08-f7f2-4a7b-811c-9178334e979a 2025-10-16 03:58:41,144 - INFO - verify_in_api_server passed for BGPaaS obj afb94e08-f7f2-4a7b-811c-9178334e979a 2025-10-16 03:58:41,145 - INFO - BGPaaS(afb94e08-f7f2-4a7b-811c-9178334e979a): verify_on_setup passed 2025-10-16 03:58:41,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:41,145 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:41,311 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-16 03:58:41,311 - INFO - Attaching VMI 40a6fac7-5dce-47ff-a09d-aad94d242795 to BGPaaS afb94e08-f7f2-4a7b-811c-9178334e979a 2025-10-16 03:58:41,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:41,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:41,561 - INFO - Configuring BGP on the bird 2025-10-16 03:58:41,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 03:58:41,562 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 103.52.213.4, Port 22 2025-10-16 03:58:41,727 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-16 03:58:41,727 - INFO - Configuring BGP on bgpaas_vm1 2025-10-16 03:58:41,728 - 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 103.52.213.4; protocol bgp bgp_1{ local as 64500; neighbor 103.52.213.1 as 256; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 103.52.213.4; } protocol bfd { neighbor 103.52.213.1 local 103.52.213.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-16 03:58:41,728 - 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 103.52.213.4; protocol bgp bgp_1{ local as 64500; neighbor 103.52.213.1 as 256; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 103.52.213.4; } protocol bfd { neighbor 103.52.213.1 local 103.52.213.4 multihop on; } EOS 2025-10-16 03:59:03,151 - DEBUG - None 2025-10-16 03:59:03,151 - 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 103.52.213.4; protocol bgp bgp_1{ local as 64500; neighbor 103.52.213.1 as 256; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 103.52.213.4; } protocol bfd { neighbor 103.52.213.1 local 103.52.213.4 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-16 03:59:03,151 - 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 103.52.213.4; protocol bgp bgp_1{ local as 64500; neighbor 103.52.213.1 as 256; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 103.52.213.4; } protocol bfd { neighbor 103.52.213.1 local 103.52.213.4 multihop on; } EOS 2025-10-16 03:59:03,746 - DEBUG - None 2025-10-16 03:59:03,747 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-10-16 03:59:03,747 - DEBUG - service bird restart 2025-10-16 03:59:05,750 - DEBUG - bird stop/waiting bird start/running, process 1445 2025-10-16 03:59:05,763 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 03:59:05,785 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 03:59:11,816 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 03:59:11,836 - INFO - BGPaaS session seen in control-node 10.20.0.5 2025-10-16 03:59:11,836 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 03:59:11,851 - INFO - Detaching VMI 40a6fac7-5dce-47ff-a09d-aad94d242795 from BGPaaS afb94e08-f7f2-4a7b-811c-9178334e979a 2025-10-16 03:59:11,931 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-10999351-06238580(afb94e08-f7f2-4a7b-811c-9178334e979a) 2025-10-16 03:59:11,991 - DEBUG - Requesting: http://10.0.0.19:8082/bgp-as-a-service/afb94e08-f7f2-4a7b-811c-9178334e979a 2025-10-16 03:59:12,006 - DEBUG - Response Code: 404 2025-10-16 03:59:12,006 - DEBUG - BGPaaS: afb94e08-f7f2-4a7b-811c-9178334e979a deleted from api server 2025-10-16 03:59:12,006 - INFO - BGPaaS(afb94e08-f7f2-4a7b-811c-9178334e979a): verify_on_cleanup passed 2025-10-16 03:59:12,006 - INFO - Deleting VM bgpaas_vm1 2025-10-16 03:59:12,140 - INFO - Deleting VM test_vm 2025-10-16 03:59:12,206 - INFO - Deleting VN ctest-bgpaas_vn-90073774 2025-10-16 03:59:12,258 - DEBUG - VN 752d47ff-9d28-4624-9e94-25ddecaf9650 still in use: Unable to complete operation on network 752d47ff-9d28-4624-9e94-25ddecaf9650. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6769c3f-e607-4f8d-9358-34c7d1efe03e'] 2025-10-16 03:59:12,258 - WARNING - Deleting VN ctest-bgpaas_vn-90073774 failed..Will retry 2025-10-16 03:59:14,436 - DEBUG - Response for deleting network () 2025-10-16 03:59:15,737 - DEBUG - Skipping xmpp flap check
2025-10-16 03:59:15,737 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:50]
2025-10-16 03:59:15,737 - INFO - -------------------------------------------------------------------------------- 2025-10-16 03:59:16,481 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-10999351, ID : 887d7938-4a2a-442e-beca-8e6727d21cc5 2025-10-16 04:02:35,014 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:02:57,831 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:03:03,866 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:03:13,951 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:03:19,967 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:06:39,969 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:06:40,017 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:06:46,036 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:06:52,053 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:06:59,092 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-16 04:06:59,132 - DEBUG - Requesting: http://10.20.0.5:8083/Snh_BgpNeighborReq?domain=&ip_address=