2025-10-08 15:23:08,373 - INFO - Domain Default found not creating 2025-10-08 15:23:08,569 - INFO - Project ctest-TestBGPaaSlocalAS-37207693 not found, creating it 2025-10-08 15:23:09,146 - INFO - Created Project:ctest-TestBGPaaSlocalAS-37207693, ID : 29c66293-d3bd-47dc-9d94-1ae1e6f2f08b 2025-10-08 15:23:10,957 - DEBUG - Services list from nova: [, , , ] 2025-10-08 15:23:10,957 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4236-2', 'an-jenkins-deploy-platform-ansible-os-4236-1']} 2025-10-08 15:23:10,960 - INFO - ================================================================================ 2025-10-08 15:23:10,961 - INFO - STARTING TEST : test_basic_bgpaas_local_as 2025-10-08 15:23:10,961 - 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-08 15:23:12,225 - DEBUG - Skipping xmpp flap check 2025-10-08 15:23:12,225 - INFO - Initial checks done. Running the testcase now 2025-10-08 15:23:12,225 - INFO - 2025-10-08 15:23:12,959 - DEBUG - Response for create_network : {'network': {'id': '794451be-9fbf-42e4-b6fe-fc88fbb6f662', 'name': 'ctest-bgpaas_vn-43752504', 'tenant_id': '29c66293d3bd47dc9d941ae1e6f2f08b', 'project_id': '29c66293d3bd47dc9d941ae1e6f2f08b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-37207693', 'ctest-bgpaas_vn-43752504'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 15:23:13,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '1aeba1fb-b395-4086-81f5-4cba4baee9d2', 'name': '', 'tenant_id': '29c66293d3bd47dc9d941ae1e6f2f08b', 'network_id': '794451be-9fbf-42e4-b6fe-fc88fbb6f662', 'ip_version': 4, 'cidr': '204.149.174.64/26', 'allocation_pools': [{'start': '204.149.174.66', 'end': '204.149.174.126'}], 'gateway_ip': '204.149.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.149.174.66', 'tags': [], 'project_id': '29c66293d3bd47dc9d941ae1e6f2f08b'}} 2025-10-08 15:23:13,226 - INFO - Created VN ctest-bgpaas_vn-43752504 2025-10-08 15:23:13,243 - DEBUG - VN ctest-bgpaas_vn-43752504 UUID is 794451be-9fbf-42e4-b6fe-fc88fbb6f662 2025-10-08 15:23:15,142 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-2) 2025-10-08 15:23:15,301 - DEBUG - Image by name ubuntu-bird not found 2025-10-08 15:23:15,301 - DEBUG - Installing image ubuntu-bird 2025-10-08 15:23:15,301 - 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-08 15:23:15,301 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-08 15:23:15,302 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-10-08 15:23:15,320 - 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-08 15:23:17,993 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-08 15:23:17,993 - DEBUG - Unzip image 2025-10-08 15:23:17,993 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-10-08 15:23:31,295 - DEBUG - Try to create image in user context 2025-10-08 15:23:39,066 - DEBUG - Image has been created in user context 2025-10-08 15:23:39,067 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-10-08 15:23:39,312 - DEBUG - Downloaded image has been removed 2025-10-08 15:23:39,329 - DEBUG - Uploaded image status = active 2025-10-08 15:23:40,711 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4236-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4236-1) 2025-10-08 15:23:40,711 - INFO - Waiting for VM test_vm to be up.. 2025-10-08 15:23:40,838 - DEBUG - VM is in ACTIVE state now 2025-10-08 15:23:40,838 - INFO - VM name : test_vm 2025-10-08 15:23:40,946 - DEBUG - VM test_vm ID is c0e3d337-eb10-4452-a2c5-79ed1dd5592a 2025-10-08 15:23:40,980 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4236-2 2025-10-08 15:23:41,082 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c0e3d337-eb10-4452-a2c5-79ed1dd5592a 2025-10-08 15:23:41,405 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/c0e3d337-eb10-4452-a2c5-79ed1dd5592a 2025-10-08 15:23:41,594 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e28ae4ae-9f4e-4219-82cd-0be1aea4048c 2025-10-08 15:23:42,836 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/2.507/4.492/1.984 ms') 2025-10-08 15:23:42,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-08 15:23:42,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:23:42,949 - DEBUG - Waiting to SSH to VM test_vm, IP 204.149.174.67, Port 22 2025-10-08 15:23:43,157 - DEBUG - VM test_vm is ready for SSH connections 2025-10-08 15:23:43,158 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-10-08 15:23:43,333 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:23:48,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:23:53,605 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:23:58,707 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:24:03,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:24:08,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:24:14,010 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 15:24:19,122 - DEBUG - VM is in ACTIVE state now 2025-10-08 15:24:19,122 - INFO - VM name : bgpaas_vm1 2025-10-08 15:24:19,240 - DEBUG - VM bgpaas_vm1 ID is edfeeade-b87c-4d9a-b8ea-e7466942a745 2025-10-08 15:24:19,240 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4236-1 2025-10-08 15:24:19,383 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/edfeeade-b87c-4d9a-b8ea-e7466942a745 2025-10-08 15:24:19,414 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e85deea5-e1f0-4279-9b8d-bf40ca7322e2 2025-10-08 15:24:22,590 - 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 1003ms') 2025-10-08 15:24:22,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:22,606 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:26,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 1014ms') 2025-10-08 15:24:26,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:26,712 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:30,788 - 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-10-08 15:24:30,788 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:30,803 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:34,882 - 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 1011ms') 2025-10-08 15:24:34,883 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:34,904 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:38,977 - 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-08 15:24:38,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:38,995 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:43,071 - 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-08 15:24:43,071 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:43,090 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:47,164 - 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-08 15:24:47,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:47,178 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:51,267 - 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-10-08 15:24:51,267 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:51,287 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:55,357 - 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-08 15:24:55,357 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:55,375 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:24:59,459 - 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-10-08 15:24:59,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:24:59,477 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:25:03,549 - 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 1011ms') 2025-10-08 15:25:03,550 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:25:03,565 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:25:07,651 - 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-10-08 15:25:07,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:25:07,667 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:25:11,744 - 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-08 15:25:11,744 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:25:11,761 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:25:15,841 - 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-08 15:25:15,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:25:15,862 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:25:19,936 - 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-08 15:25:19,936 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-10-08 15:25:19,955 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-37207693:ctest-bgpaas_vn-43752504 is 204.149.174.65 and allocation pool is NOT set 2025-10-08 15:25:22,015 - 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=7.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.731 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.731/4.129/7.528/3.398 ms') 2025-10-08 15:25:22,015 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-10-08 15:25:22,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:22,092 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:22,162 - 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-08 15:25:22,290 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:25:27,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:27,291 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:27,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-08 15:25:27,471 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:25:32,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:32,473 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:32,542 - 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-08 15:25:32,655 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:25:37,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:37,656 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:37,712 - 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-08 15:25:37,816 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:25:42,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:42,817 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:42,876 - 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-08 15:25:43,005 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:25:48,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:48,006 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:48,073 - 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-08 15:25:48,174 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:25:53,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:53,175 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:53,232 - 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-08 15:25:53,348 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:25:58,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:25:58,349 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:25:58,407 - 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-08 15:25:58,521 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:26:03,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:26:03,522 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:26:03,580 - 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-08 15:26:03,692 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 15:26:08,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:26:08,694 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:26:08,862 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-08 15:26:08,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:26:08,870 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-37207693-57455397 2025-10-08 15:26:08,956 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-37207693-57455397(5f8e4e5d-bb97-4230-9764-8d56c8adf01c) 2025-10-08 15:26:08,956 - DEBUG - Requesting: http://10.0.0.133:8082/bgp-as-a-service/5f8e4e5d-bb97-4230-9764-8d56c8adf01c 2025-10-08 15:26:09,292 - DEBUG - Requesting: http://10.0.0.133:8082/bgp-as-a-service/5f8e4e5d-bb97-4230-9764-8d56c8adf01c 2025-10-08 15:26:09,331 - INFO - verify_in_api_server passed for BGPaaS obj 5f8e4e5d-bb97-4230-9764-8d56c8adf01c 2025-10-08 15:26:09,332 - INFO - BGPaaS(5f8e4e5d-bb97-4230-9764-8d56c8adf01c): verify_on_setup passed 2025-10-08 15:26:09,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:26:09,332 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:26:09,487 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-08 15:26:09,487 - INFO - Attaching VMI e85deea5-e1f0-4279-9b8d-bf40ca7322e2 to BGPaaS 5f8e4e5d-bb97-4230-9764-8d56c8adf01c 2025-10-08 15:26:09,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:26:09,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:26:09,681 - INFO - Configuring BGP on the bird 2025-10-08 15:26:09,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 15:26:09,682 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 204.149.174.68, Port 22 2025-10-08 15:26:09,834 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-10-08 15:26:09,835 - INFO - Configuring BGP on bgpaas_vm1 2025-10-08 15:26:09,835 - 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 204.149.174.68; protocol bgp bgp_1{ local as 64500; neighbor 204.149.174.65 as 593; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.149.174.68; } protocol bfd { neighbor 204.149.174.65 local 204.149.174.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-08 15:26:09,835 - 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 204.149.174.68; protocol bgp bgp_1{ local as 64500; neighbor 204.149.174.65 as 593; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.149.174.68; } protocol bfd { neighbor 204.149.174.65 local 204.149.174.68 multihop on; } EOS 2025-10-08 15:26:24,706 - DEBUG - None 2025-10-08 15:26:24,706 - 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 204.149.174.68; protocol bgp bgp_1{ local as 64500; neighbor 204.149.174.65 as 593; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.149.174.68; } protocol bfd { neighbor 204.149.174.65 local 204.149.174.68 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-08 15:26:24,706 - 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 204.149.174.68; protocol bgp bgp_1{ local as 64500; neighbor 204.149.174.65 as 593; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 204.149.174.68; } protocol bfd { neighbor 204.149.174.65 local 204.149.174.68 multihop on; } EOS 2025-10-08 15:26:25,619 - DEBUG - None 2025-10-08 15:26:25,619 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-10-08 15:26:25,619 - DEBUG - service bird restart 2025-10-08 15:26:28,583 - DEBUG - bird stop/waiting bird start/running, process 1433 2025-10-08 15:26:28,597 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:26:28,623 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:26:34,662 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:26:34,683 - INFO - BGPaaS session seen in control-node 10.20.0.249 2025-10-08 15:26:34,683 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:26:34,706 - INFO - Detaching VMI e85deea5-e1f0-4279-9b8d-bf40ca7322e2 from BGPaaS 5f8e4e5d-bb97-4230-9764-8d56c8adf01c 2025-10-08 15:26:34,796 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-37207693-57455397(5f8e4e5d-bb97-4230-9764-8d56c8adf01c) 2025-10-08 15:26:34,860 - DEBUG - Requesting: http://10.0.0.133:8082/bgp-as-a-service/5f8e4e5d-bb97-4230-9764-8d56c8adf01c 2025-10-08 15:26:34,877 - DEBUG - Response Code: 404 2025-10-08 15:26:34,877 - DEBUG - BGPaaS: 5f8e4e5d-bb97-4230-9764-8d56c8adf01c deleted from api server 2025-10-08 15:26:34,877 - INFO - BGPaaS(5f8e4e5d-bb97-4230-9764-8d56c8adf01c): verify_on_cleanup passed 2025-10-08 15:26:34,877 - INFO - Deleting VM bgpaas_vm1 2025-10-08 15:26:35,009 - INFO - Deleting VM test_vm 2025-10-08 15:26:35,100 - INFO - Deleting VN ctest-bgpaas_vn-43752504 2025-10-08 15:26:35,153 - DEBUG - VN 794451be-9fbf-42e4-b6fe-fc88fbb6f662 still in use: Unable to complete operation on network 794451be-9fbf-42e4-b6fe-fc88fbb6f662. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd322224-e577-494e-8d71-f8e01970b0e1'] 2025-10-08 15:26:35,153 - WARNING - Deleting VN ctest-bgpaas_vn-43752504 failed..Will retry 2025-10-08 15:26:37,408 - DEBUG - Response for deleting network () 2025-10-08 15:26:38,728 - DEBUG - Skipping xmpp flap check
2025-10-08 15:26:38,728 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:28]
2025-10-08 15:26:38,728 - INFO - -------------------------------------------------------------------------------- 2025-10-08 15:26:39,598 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-37207693, ID : 29c66293-d3bd-47dc-9d94-1ae1e6f2f08b 2025-10-08 15:30:06,564 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:30:12,591 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:30:18,612 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:30:29,083 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:30:35,109 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:30:35,137 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:30:50,943 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:30:56,963 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:33:41,892 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:33:53,970 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:34:00,077 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-10-08 15:34:00,122 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_BgpNeighborReq?domain=&ip_address=