2025-10-06 03:21:30,208 - INFO - Domain Default found not creating
2025-10-06 03:21:30,331 - INFO - Project ctest-TestBGPaaSlocalAS-59074745 not found, creating it
2025-10-06 03:21:30,797 - INFO - Created Project:ctest-TestBGPaaSlocalAS-59074745, ID : 9690a16e-1c10-46c2-ad78-e31423f16f1d
2025-10-06 03:21:32,184 - DEBUG - Services list from nova: [, , , ]
2025-10-06 03:21:32,184 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4219-1', 'an-jenkins-deploy-platform-ansible-os-4219-2']}
2025-10-06 03:21:32,186 - INFO - ================================================================================
2025-10-06 03:21:32,186 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-10-06 03:21:32,187 - 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-06 03:21:33,436 - DEBUG - Skipping xmpp flap check
2025-10-06 03:21:33,436 - INFO - Initial checks done. Running the testcase now
2025-10-06 03:21:33,436 - INFO -
2025-10-06 03:21:34,058 - DEBUG - Response for create_network : {'network': {'id': '72bd8ba5-71e2-420c-9941-608c7e1fdd8b', 'name': 'ctest-bgpaas_vn-61033624', 'tenant_id': '9690a16e1c1046c2ad78e31423f16f1d', 'project_id': '9690a16e1c1046c2ad78e31423f16f1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-59074745', 'ctest-bgpaas_vn-61033624'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 03:21:34,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbf10a42-88b4-4fd1-ada5-4c0116cf8cf8', 'name': '', 'tenant_id': '9690a16e1c1046c2ad78e31423f16f1d', 'network_id': '72bd8ba5-71e2-420c-9941-608c7e1fdd8b', 'ip_version': 4, 'cidr': '109.96.112.0/26', 'allocation_pools': [{'start': '109.96.112.2', 'end': '109.96.112.62'}], 'gateway_ip': '109.96.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.96.112.2', 'tags': [], 'project_id': '9690a16e1c1046c2ad78e31423f16f1d'}}
2025-10-06 03:21:34,321 - INFO - Created VN ctest-bgpaas_vn-61033624
2025-10-06 03:21:34,332 - DEBUG - VN ctest-bgpaas_vn-61033624 UUID is 72bd8ba5-71e2-420c-9941-608c7e1fdd8b
2025-10-06 03:21:35,502 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4219-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4219-1)
2025-10-06 03:21:35,585 - DEBUG - Image by name ubuntu-bird not found
2025-10-06 03:21:35,586 - DEBUG - Installing image ubuntu-bird
2025-10-06 03:21:35,586 - 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-06 03:21:35,587 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-10-06 03:21:35,587 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-10-06 03:21:35,597 - 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-06 03:21:38,228 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-10-06 03:21:38,228 - DEBUG - Unzip image
2025-10-06 03:21:38,229 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-10-06 03:21:49,118 - DEBUG - Try to create image in user context
2025-10-06 03:21:55,942 - DEBUG - Image has been created in user context
2025-10-06 03:21:55,942 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-10-06 03:21:56,139 - DEBUG - Downloaded image has been removed
2025-10-06 03:21:56,152 - DEBUG - Uploaded image status = active
2025-10-06 03:21:57,177 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4219-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4219-2)
2025-10-06 03:21:57,177 - INFO - Waiting for VM test_vm to be up..
2025-10-06 03:21:57,262 - DEBUG - VM is in ACTIVE state now
2025-10-06 03:21:57,262 - INFO - VM name : test_vm
2025-10-06 03:21:57,341 - DEBUG - VM test_vm ID is ffc02379-aee6-4993-866c-220e3feaf990
2025-10-06 03:21:57,363 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4219-1
2025-10-06 03:21:57,446 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ffc02379-aee6-4993-866c-220e3feaf990
2025-10-06 03:21:57,736 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ffc02379-aee6-4993-866c-220e3feaf990
2025-10-06 03:21:57,805 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7674d4a5-e0f5-496a-bf3e-fa4cd01797a1
2025-10-06 03:21:59,026 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/2.230/4.068/1.837 ms')
2025-10-06 03:21:59,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-10-06 03:21:59,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:21:59,099 - DEBUG - Waiting to SSH to VM test_vm, IP 109.96.112.3, Port 22
2025-10-06 03:21:59,264 - DEBUG - VM test_vm is ready for SSH connections
2025-10-06 03:21:59,264 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-10-06 03:21:59,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 03:22:04,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 03:22:09,579 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 03:22:14,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 03:22:19,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 03:22:24,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 03:22:29,909 - DEBUG - VM is in ACTIVE state now
2025-10-06 03:22:29,909 - INFO - VM name : bgpaas_vm1
2025-10-06 03:22:29,995 - DEBUG - VM bgpaas_vm1 ID is 974d3551-7138-4269-9358-0ebfa9d1e01d
2025-10-06 03:22:29,995 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4219-2
2025-10-06 03:22:30,084 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/974d3551-7138-4269-9358-0ebfa9d1e01d
2025-10-06 03:22:30,098 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ea0fab5e-8576-4d17-b39e-58952d12fdac
2025-10-06 03:22:33,294 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1034ms')
2025-10-06 03:22:33,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:22:33,309 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:22:37,382 - 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-06 03:22:37,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:22:37,397 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:22:41,490 - 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-06 03:22:41,490 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:22:41,505 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:22:45,579 - 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-06 03:22:45,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:22:45,597 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:22:49,675 - 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-06 03:22:49,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:22:49,689 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:22:53,773 - 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-10-06 03:22:53,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:22:53,788 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:22:57,861 - 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-06 03:22:57,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:22:57,876 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:01,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 1028ms')
2025-10-06 03:23:01,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:01,973 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:06,059 - 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 1031ms')
2025-10-06 03:23:06,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:06,074 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:10,158 - 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-06 03:23:10,158 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:10,176 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:14,247 - 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-06 03:23:14,247 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:14,262 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:18,354 - 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-06 03:23:18,354 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:18,367 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:22,449 - 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-10-06 03:23:22,449 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:22,462 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:26,537 - 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-06 03:23:26,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:26,568 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:30,639 - 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-06 03:23:30,639 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-06 03:23:30,652 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-59074745:ctest-bgpaas_vn-61033624 is 109.96.112.1 and allocation pool is NOT set
2025-10-06 03:23:32,716 - 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=8.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.50 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 = 2.500/5.637/8.775/3.137 ms')
2025-10-06 03:23:32,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-10-06 03:23:32,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:23:32,782 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:23:32,850 - 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-06 03:23:32,933 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:23:37,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:23:37,934 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:23:38,001 - 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-06 03:23:38,071 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:23:43,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:23:43,072 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:23:43,139 - 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-06 03:23:43,224 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:23:48,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:23:48,225 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:23:48,280 - 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-06 03:23:48,352 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:23:53,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:23:53,353 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:23:53,408 - 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-06 03:23:53,488 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:23:58,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:23:58,489 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:23:58,554 - 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-06 03:23:58,631 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:24:03,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:03,631 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:24:03,697 - 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-06 03:24:03,785 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:24:08,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:08,785 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:24:08,840 - 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-06 03:24:08,914 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:24:13,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:13,916 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:24:13,982 - 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-06 03:24:14,078 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-06 03:24:19,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:19,079 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:24:19,243 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-06 03:24:19,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:19,249 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-59074745-77490251
2025-10-06 03:24:19,333 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-59074745-77490251(c18546a9-a0e6-4546-8de7-c687f306d029)
2025-10-06 03:24:19,333 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/c18546a9-a0e6-4546-8de7-c687f306d029
2025-10-06 03:24:19,633 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/c18546a9-a0e6-4546-8de7-c687f306d029
2025-10-06 03:24:19,662 - INFO - verify_in_api_server passed for BGPaaS obj c18546a9-a0e6-4546-8de7-c687f306d029
2025-10-06 03:24:19,662 - INFO - BGPaaS(c18546a9-a0e6-4546-8de7-c687f306d029): verify_on_setup passed
2025-10-06 03:24:19,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:19,662 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:24:19,834 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-06 03:24:19,835 - INFO - Attaching VMI ea0fab5e-8576-4d17-b39e-58952d12fdac to BGPaaS c18546a9-a0e6-4546-8de7-c687f306d029
2025-10-06 03:24:19,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:19,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:19,990 - INFO - Configuring BGP on the bird
2025-10-06 03:24:19,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 03:24:19,990 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 109.96.112.4, Port 22
2025-10-06 03:24:20,162 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-06 03:24:20,162 - INFO - Configuring BGP on bgpaas_vm1
2025-10-06 03:24:20,162 - 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 109.96.112.4;
protocol bgp bgp_1{
local as 64500;
neighbor 109.96.112.1 as 530;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 109.96.112.4;
}
protocol bfd {
neighbor 109.96.112.1 local 109.96.112.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-06 03:24:20,162 - 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 109.96.112.4;
protocol bgp bgp_1{
local as 64500;
neighbor 109.96.112.1 as 530;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 109.96.112.4;
}
protocol bfd {
neighbor 109.96.112.1 local 109.96.112.4 multihop on;
}
EOS
2025-10-06 03:24:33,242 - DEBUG - None
2025-10-06 03:24:33,242 - 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 109.96.112.4;
protocol bgp bgp_1{
local as 64500;
neighbor 109.96.112.1 as 530;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 109.96.112.4;
}
protocol bfd {
neighbor 109.96.112.1 local 109.96.112.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-06 03:24:33,242 - 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 109.96.112.4;
protocol bgp bgp_1{
local as 64500;
neighbor 109.96.112.1 as 530;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 109.96.112.4;
}
protocol bfd {
neighbor 109.96.112.1 local 109.96.112.4 multihop on;
}
EOS
2025-10-06 03:24:34,183 - DEBUG - None
2025-10-06 03:24:34,183 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-06 03:24:34,183 - DEBUG - service bird restart
2025-10-06 03:24:37,188 - DEBUG - bird stop/waiting
bird start/running, process 1435
2025-10-06 03:24:37,200 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:24:37,220 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:24:43,246 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:24:43,258 - INFO - BGPaaS session seen in control-node 10.20.0.25
2025-10-06 03:24:43,258 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:24:43,269 - INFO - Detaching VMI ea0fab5e-8576-4d17-b39e-58952d12fdac from BGPaaS c18546a9-a0e6-4546-8de7-c687f306d029
2025-10-06 03:24:43,341 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-59074745-77490251(c18546a9-a0e6-4546-8de7-c687f306d029)
2025-10-06 03:24:43,385 - DEBUG - Requesting: http://10.0.0.33:8082/bgp-as-a-service/c18546a9-a0e6-4546-8de7-c687f306d029
2025-10-06 03:24:43,392 - DEBUG - Response Code: 404
2025-10-06 03:24:43,392 - DEBUG - BGPaaS: c18546a9-a0e6-4546-8de7-c687f306d029 deleted from api server
2025-10-06 03:24:43,392 - INFO - BGPaaS(c18546a9-a0e6-4546-8de7-c687f306d029): verify_on_cleanup passed
2025-10-06 03:24:43,395 - INFO - Deleting VM bgpaas_vm1
2025-10-06 03:24:43,496 - INFO - Deleting VM test_vm
2025-10-06 03:24:43,557 - INFO - Deleting VN ctest-bgpaas_vn-61033624
2025-10-06 03:24:43,597 - DEBUG - VN 72bd8ba5-71e2-420c-9941-608c7e1fdd8b still in use: Unable to complete operation on network 72bd8ba5-71e2-420c-9941-608c7e1fdd8b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-15865544-d43a-4ddf-b738-f9b68fb5bf27']
2025-10-06 03:24:43,598 - WARNING - Deleting VN ctest-bgpaas_vn-61033624 failed..Will retry
2025-10-06 03:24:45,818 - DEBUG - Response for deleting network ()
2025-10-06 03:24:47,120 - DEBUG - Skipping xmpp flap check
2025-10-06 03:24:47,120 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:15]
2025-10-06 03:24:47,120 - INFO - --------------------------------------------------------------------------------
2025-10-06 03:24:47,828 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-59074745, ID : 9690a16e-1c10-46c2-ad78-e31423f16f1d
2025-10-06 03:27:54,595 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:27:54,613 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:28:00,627 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:28:16,657 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:28:26,030 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:28:32,044 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:28:32,061 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:15,521 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:21,538 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:21,550 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:21,568 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:27,582 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:27,596 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:34,535 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:34,548 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:34,564 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-06 03:31:34,577 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=