2025-08-10 12:23:54,953 - INFO - Domain Default found not creating 2025-08-10 12:23:55,066 - INFO - Project ctest-TestBGPaaSlocalAS-89099679 not found, creating it 2025-08-10 12:23:55,550 - INFO - Created Project:ctest-TestBGPaaSlocalAS-89099679, ID : 8488bb16-6ce7-4cc8-9033-320a25ab52ff 2025-08-10 12:23:56,992 - DEBUG - Services list from nova: [, , , ] 2025-08-10 12:23:56,992 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3786-1', 'an-jenkins-deploy-platform-ansible-os-3786-2']} 2025-08-10 12:23:56,994 - INFO - ================================================================================ 2025-08-10 12:23:56,994 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-08-10 12:23:56,995 - INFO - TEST DESCRIPTION : 1. Create a bgpaas vm. Configure same local-as on vm and contrail side. 2. Make sure BGP with vm comes up. 2025-08-10 12:23:58,239 - DEBUG - Skipping xmpp flap check 2025-08-10 12:23:58,239 - INFO - Initial checks done. Running the testcase now 2025-08-10 12:23:58,239 - INFO - 2025-08-10 12:23:58,952 - DEBUG - Response for create_network : {'network': {'id': '3ef63e66-45ff-4e23-9ed6-26e0ce3713d6', 'name': 'ctest-bgpaas_vn-63000034', 'tenant_id': '8488bb166ce74cc89033320a25ab52ff', 'project_id': '8488bb166ce74cc89033320a25ab52ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-89099679', 'ctest-bgpaas_vn-63000034'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 12:23:59,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '775433d4-3511-4560-89ec-ad3360a7decb', 'name': '', 'tenant_id': '8488bb166ce74cc89033320a25ab52ff', 'network_id': '3ef63e66-45ff-4e23-9ed6-26e0ce3713d6', 'ip_version': 4, 'cidr': '39.121.152.128/26', 'allocation_pools': [{'start': '39.121.152.130', 'end': '39.121.152.190'}], 'gateway_ip': '39.121.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.121.152.130', 'tags': [], 'project_id': '8488bb166ce74cc89033320a25ab52ff'}} 2025-08-10 12:23:59,336 - INFO - Created VN ctest-bgpaas_vn-63000034 2025-08-10 12:23:59,355 - DEBUG - VN ctest-bgpaas_vn-63000034 UUID is 3ef63e66-45ff-4e23-9ed6-26e0ce3713d6 2025-08-10 12:24:00,475 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-1) 2025-08-10 12:24:00,551 - DEBUG - Image by name ubuntu-bird not found 2025-08-10 12:24:00,551 - DEBUG - Installing image ubuntu-bird 2025-08-10 12:24:00,551 - DEBUG - Image info {'name': 'ubuntu-bird.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_small', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-08-10 12:24:00,551 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-10 12:24:00,552 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-10 12:24:00,564 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz -O /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-10 12:24:03,251 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-10 12:24:03,252 - DEBUG - Unzip image 2025-08-10 12:24:03,252 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-10 12:24:13,551 - DEBUG - Try to create image in user context 2025-08-10 12:24:19,995 - DEBUG - Image has been created in user context 2025-08-10 12:24:19,995 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-08-10 12:24:20,155 - DEBUG - Downloaded image has been removed 2025-08-10 12:24:20,167 - DEBUG - Uploaded image status = active 2025-08-10 12:24:21,128 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-2) 2025-08-10 12:24:21,129 - INFO - Waiting for VM test_vm to be up.. 2025-08-10 12:24:21,195 - DEBUG - VM is in ACTIVE state now 2025-08-10 12:24:21,195 - INFO - VM name : test_vm 2025-08-10 12:24:21,260 - DEBUG - VM test_vm ID is 122ec439-7ec7-415f-ae84-58f8e7cf5126 2025-08-10 12:24:21,280 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3786-1 2025-08-10 12:24:21,343 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/122ec439-7ec7-415f-ae84-58f8e7cf5126 2025-08-10 12:24:21,632 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/122ec439-7ec7-415f-ae84-58f8e7cf5126 2025-08-10 12:24:21,684 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/0093a404-4a3a-47f4-850f-25b2cfeb688e 2025-08-10 12:24:22,901 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.747 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.747/1.900/3.054/1.153 ms') 2025-08-10 12:24:22,901 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-10 12:24:23,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:24:23,013 - DEBUG - Waiting to SSH to VM test_vm, IP 39.121.152.131, Port 22 2025-08-10 12:24:23,069 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:24:23,145 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:24:28,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:24:28,146 - DEBUG - Waiting to SSH to VM test_vm, IP 39.121.152.131, Port 22 2025-08-10 12:24:28,310 - DEBUG - VM test_vm is ready for SSH connections 2025-08-10 12:24:28,311 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-08-10 12:24:28,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 12:24:33,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 12:24:38,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 12:24:43,576 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 12:24:48,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 12:24:53,718 - DEBUG - VM is in ACTIVE state now 2025-08-10 12:24:53,718 - INFO - VM name : bgpaas_vm1 2025-08-10 12:24:53,786 - DEBUG - VM bgpaas_vm1 ID is fb5bcfd7-b577-464a-8552-7ed5eaa19ef3 2025-08-10 12:24:53,786 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3786-2 2025-08-10 12:24:53,847 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/fb5bcfd7-b577-464a-8552-7ed5eaa19ef3 2025-08-10 12:24:53,858 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/360e43bc-baa3-4947-b4e6-92ee4aea87f0 2025-08-10 12:24:57,076 - 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-08-10 12:24:57,076 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:24:57,090 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:01,166 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-08-10 12:25:01,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:01,180 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:05,270 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2025-08-10 12:25:05,270 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:05,283 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:09,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 1024ms') 2025-08-10 12:25:09,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:09,378 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:13,461 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-10 12:25:13,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:13,475 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:17,550 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-08-10 12:25:17,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:17,564 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:21,645 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2025-08-10 12:25:21,645 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:21,659 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:25,745 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-08-10 12:25:25,745 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:25,760 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:29,846 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-08-10 12:25:29,846 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:29,859 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:33,942 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-10 12:25:33,942 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:33,955 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:38,036 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-10 12:25:38,036 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:38,049 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:42,134 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-10 12:25:42,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:42,147 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:46,230 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2025-08-10 12:25:46,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-10 12:25:46,245 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-89099679:ctest-bgpaas_vn-63000034 is 39.121.152.129 and allocation pool is NOT set 2025-08-10 12:25:48,302 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.244 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.244/2.500/4.756/2.256 ms') 2025-08-10 12:25:48,302 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-08-10 12:25:48,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:25:48,411 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:25:48,471 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:25:48,555 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:25:53,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:25:53,556 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:25:53,621 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:25:53,693 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:25:58,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:25:58,693 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:25:58,751 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:25:58,825 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:26:03,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:03,826 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:03,883 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:26:03,948 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:26:08,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:08,949 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:09,007 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:26:09,073 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:26:14,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:14,074 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:14,130 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:26:14,196 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:26:19,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:19,197 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:19,261 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:26:19,333 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:26:24,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:24,334 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:24,401 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-10 12:26:24,464 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-10 12:26:29,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:29,465 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:29,627 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-10 12:26:29,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:29,633 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-89099679-92538341 2025-08-10 12:26:29,704 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-89099679-92538341(b2c96300-e979-4acf-9d73-27056e611f63) 2025-08-10 12:26:29,704 - DEBUG - Requesting: http://10.0.0.49:8082/bgp-as-a-service/b2c96300-e979-4acf-9d73-27056e611f63 2025-08-10 12:26:29,992 - DEBUG - Requesting: http://10.0.0.49:8082/bgp-as-a-service/b2c96300-e979-4acf-9d73-27056e611f63 2025-08-10 12:26:30,020 - INFO - verify_in_api_server passed for BGPaaS obj b2c96300-e979-4acf-9d73-27056e611f63 2025-08-10 12:26:30,020 - INFO - BGPaaS(b2c96300-e979-4acf-9d73-27056e611f63): verify_on_setup passed 2025-08-10 12:26:30,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:30,020 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:30,175 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-10 12:26:30,175 - INFO - Attaching VMI 360e43bc-baa3-4947-b4e6-92ee4aea87f0 to BGPaaS b2c96300-e979-4acf-9d73-27056e611f63 2025-08-10 12:26:30,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:30,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:30,357 - INFO - Configuring BGP on the bird 2025-08-10 12:26:30,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 12:26:30,358 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 39.121.152.132, Port 22 2025-08-10 12:26:30,511 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-10 12:26:30,511 - INFO - Configuring BGP on bgpaas_vm1 2025-08-10 12:26:30,511 - 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 39.121.152.132; protocol bgp bgp_1{ local as 64500; neighbor 39.121.152.129 as 205; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 39.121.152.132; } protocol bfd { neighbor 39.121.152.129 local 39.121.152.132 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-10 12:26:30,511 - 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 39.121.152.132; protocol bgp bgp_1{ local as 64500; neighbor 39.121.152.129 as 205; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 39.121.152.132; } protocol bfd { neighbor 39.121.152.129 local 39.121.152.132 multihop on; } EOS 2025-08-10 12:26:43,750 - DEBUG - None 2025-08-10 12:26:43,750 - 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 39.121.152.132; protocol bgp bgp_1{ local as 64500; neighbor 39.121.152.129 as 205; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 39.121.152.132; } protocol bfd { neighbor 39.121.152.129 local 39.121.152.132 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-10 12:26:43,750 - 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 39.121.152.132; protocol bgp bgp_1{ local as 64500; neighbor 39.121.152.129 as 205; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 39.121.152.132; } protocol bfd { neighbor 39.121.152.129 local 39.121.152.132 multihop on; } EOS 2025-08-10 12:26:44,589 - DEBUG - None 2025-08-10 12:26:44,589 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-10 12:26:44,589 - DEBUG - service bird restart 2025-08-10 12:26:47,226 - DEBUG - bird stop/waiting bird start/running, process 1471 2025-08-10 12:26:47,238 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:26:47,266 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:26:53,294 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:26:53,305 - INFO - BGPaaS session seen in control-node 10.20.0.254 2025-08-10 12:26:53,305 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:26:53,318 - INFO - Detaching VMI 360e43bc-baa3-4947-b4e6-92ee4aea87f0 from BGPaaS b2c96300-e979-4acf-9d73-27056e611f63 2025-08-10 12:26:53,392 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-89099679-92538341(b2c96300-e979-4acf-9d73-27056e611f63) 2025-08-10 12:26:53,444 - DEBUG - Requesting: http://10.0.0.49:8082/bgp-as-a-service/b2c96300-e979-4acf-9d73-27056e611f63 2025-08-10 12:26:53,450 - DEBUG - Response Code: 404 2025-08-10 12:26:53,450 - DEBUG - BGPaaS: b2c96300-e979-4acf-9d73-27056e611f63 deleted from api server 2025-08-10 12:26:53,450 - INFO - BGPaaS(b2c96300-e979-4acf-9d73-27056e611f63): verify_on_cleanup passed 2025-08-10 12:26:53,450 - INFO - Deleting VM bgpaas_vm1 2025-08-10 12:26:53,541 - INFO - Deleting VM test_vm 2025-08-10 12:26:53,596 - INFO - Deleting VN ctest-bgpaas_vn-63000034 2025-08-10 12:26:53,636 - DEBUG - VN 3ef63e66-45ff-4e23-9ed6-26e0ce3713d6 still in use: Unable to complete operation on network 3ef63e66-45ff-4e23-9ed6-26e0ce3713d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79b631af-2ef8-4819-906f-d7c4899efbd4'] 2025-08-10 12:26:53,636 - WARNING - Deleting VN ctest-bgpaas_vn-63000034 failed..Will retry 2025-08-10 12:26:55,813 - DEBUG - Response for deleting network () 2025-08-10 12:26:57,074 - DEBUG - Skipping xmpp flap check 2025-08-10 12:26:57,075 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:01] 2025-08-10 12:26:57,075 - INFO - -------------------------------------------------------------------------------- 2025-08-10 12:26:57,812 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-89099679, ID : 8488bb16-6ce7-4cc8-9033-320a25ab52ff 2025-08-10 12:29:55,339 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:29:55,359 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:30:01,378 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:30:07,396 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:30:23,288 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:30:32,269 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:30:38,282 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:30:38,299 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:05,693 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:11,707 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:11,719 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:11,738 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:17,750 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:17,763 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:23,675 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:23,687 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:23,706 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-10 12:33:23,717 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=