2025-08-06 09:38:03,089 - INFO - Domain Default found not creating
2025-08-06 09:38:03,297 - INFO - Project ctest-TestBGPaaSlocalAS-73364342 not found, creating it
2025-08-06 09:38:03,924 - INFO - Created Project:ctest-TestBGPaaSlocalAS-73364342, ID : 85e33544-6cfc-4bb6-b609-c5f24abfc863
2025-08-06 09:38:05,538 - DEBUG - Services list from nova: [, , , ]
2025-08-06 09:38:05,538 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3761-1', 'an-jenkins-deploy-platform-ansible-os-3761-2']}
2025-08-06 09:38:05,541 - INFO - ================================================================================
2025-08-06 09:38:05,541 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-08-06 09:38:05,541 - 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-06 09:38:06,818 - DEBUG - Skipping xmpp flap check
2025-08-06 09:38:06,818 - INFO - Initial checks done. Running the testcase now
2025-08-06 09:38:06,818 - INFO -
2025-08-06 09:38:07,537 - DEBUG - Response for create_network : {'network': {'id': 'f8235cc8-7419-4caa-8739-bbe125da8334', 'name': 'ctest-bgpaas_vn-89367594', 'tenant_id': '85e335446cfc4bb6b609c5f24abfc863', 'project_id': '85e335446cfc4bb6b609c5f24abfc863', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-73364342', 'ctest-bgpaas_vn-89367594'], 'port_security_enabled': True, 'description': ''}}
2025-08-06 09:38:07,862 - DEBUG - Response for create_subnet : {'subnet': {'id': '821ed9be-8f5b-4995-a541-b76dab3d0d7d', 'name': '', 'tenant_id': '85e335446cfc4bb6b609c5f24abfc863', 'network_id': 'f8235cc8-7419-4caa-8739-bbe125da8334', 'ip_version': 4, 'cidr': '106.60.161.0/26', 'allocation_pools': [{'start': '106.60.161.2', 'end': '106.60.161.62'}], 'gateway_ip': '106.60.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.60.161.2', 'tags': [], 'project_id': '85e335446cfc4bb6b609c5f24abfc863'}}
2025-08-06 09:38:07,898 - INFO - Created VN ctest-bgpaas_vn-89367594
2025-08-06 09:38:07,913 - DEBUG - VN ctest-bgpaas_vn-89367594 UUID is f8235cc8-7419-4caa-8739-bbe125da8334
2025-08-06 09:38:09,523 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1)
2025-08-06 09:38:11,088 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-2)
2025-08-06 09:38:11,088 - INFO - Waiting for VM test_vm to be up..
2025-08-06 09:38:11,259 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 09:38:16,377 - DEBUG - VM is in ACTIVE state now
2025-08-06 09:38:16,377 - INFO - VM name : test_vm
2025-08-06 09:38:16,493 - DEBUG - VM test_vm ID is b07c62b1-29f2-4eb3-904a-1ba67345cb47
2025-08-06 09:38:16,543 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3761-1
2025-08-06 09:38:16,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b07c62b1-29f2-4eb3-904a-1ba67345cb47
2025-08-06 09:38:16,998 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b07c62b1-29f2-4eb3-904a-1ba67345cb47
2025-08-06 09:38:17,038 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b9cf7147-7b65-4738-a9c2-54e95a7aee40
2025-08-06 09:38:20,286 - 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 1004ms')
2025-08-06 09:38:20,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed!
2025-08-06 09:38:20,308 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:38:24,380 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2025-08-06 09:38:24,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed!
2025-08-06 09:38:24,397 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:38:28,474 - 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=2 ttl=63 time=6.46 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 6.463/6.463/6.463/0.000 ms')
2025-08-06 09:38:28,475 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-08-06 09:38:28,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:38:28,588 - DEBUG - Waiting to SSH to VM test_vm, IP 106.60.161.3, Port 22
2025-08-06 09:38:28,644 - 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-06 09:38:28,731 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:38:33,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:38:33,732 - DEBUG - Waiting to SSH to VM test_vm, IP 106.60.161.3, Port 22
2025-08-06 09:38:33,890 - DEBUG - VM test_vm is ready for SSH connections
2025-08-06 09:38:33,890 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-08-06 09:38:33,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 09:38:39,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 09:38:44,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 09:38:49,323 - DEBUG - VM is in ACTIVE state now
2025-08-06 09:38:49,323 - INFO - VM name : bgpaas_vm1
2025-08-06 09:38:49,423 - DEBUG - VM bgpaas_vm1 ID is dad74d72-e338-4286-a08d-3e7f824adc93
2025-08-06 09:38:49,423 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3761-2
2025-08-06 09:38:49,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dad74d72-e338-4286-a08d-3e7f824adc93
2025-08-06 09:38:49,557 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ab084e2b-12fe-4743-b748-6e8689fc574e
2025-08-06 09:38:52,800 - 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-08-06 09:38:52,800 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:38:52,817 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:38:56,892 - 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-06 09:38:56,892 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:38:56,909 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:00,995 - 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-08-06 09:39:00,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:01,013 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:05,094 - 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-08-06 09:39:05,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:05,114 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:09,184 - 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 1005ms')
2025-08-06 09:39:09,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:09,201 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:13,286 - 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-08-06 09:39:13,286 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:13,306 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:17,414 - 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-08-06 09:39:17,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:17,433 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:21,509 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2025-08-06 09:39:21,509 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:21,528 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:25,603 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms')
2025-08-06 09:39:25,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:25,623 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:29,698 - 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 1008ms')
2025-08-06 09:39:29,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:29,716 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:33,797 - 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-08-06 09:39:33,798 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:33,816 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:37,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 1009ms')
2025-08-06 09:39:37,887 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:37,905 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:41,987 - 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-08-06 09:39:41,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:42,008 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:46,083 - 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-08-06 09:39:46,083 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:46,100 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:50,180 - 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-06 09:39:50,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:50,200 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:54,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 1006ms')
2025-08-06 09:39:54,269 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:54,295 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:39:58,369 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms')
2025-08-06 09:39:58,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 09:39:58,395 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-73364342:ctest-bgpaas_vn-89367594 is 106.60.161.1 and allocation pool is NOT set
2025-08-06 09:40:00,462 - 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.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.198/3.060/4.922/1.862 ms')
2025-08-06 09:40:00,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-08-06 09:40:00,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:00,580 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:00,649 - 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-06 09:40:00,768 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:05,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:05,769 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:05,837 - 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-06 09:40:05,939 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:10,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:10,940 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:11,009 - 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-06 09:40:11,116 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:16,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:16,118 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:16,185 - 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-06 09:40:16,285 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:21,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:21,286 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:21,354 - 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-06 09:40:21,469 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:26,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:26,470 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:26,537 - 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-06 09:40:26,670 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:31,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:31,671 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:31,741 - 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-06 09:40:31,832 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:36,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:36,833 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:36,900 - 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-06 09:40:37,000 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:42,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:42,001 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:42,071 - 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-06 09:40:42,165 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:47,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:47,166 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:47,234 - 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-06 09:40:47,337 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 09:40:52,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:52,338 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:52,515 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-06 09:40:52,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:52,523 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-73364342-11256468
2025-08-06 09:40:52,618 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-73364342-11256468(f01bcbea-a17a-411c-a407-909ad5421203)
2025-08-06 09:40:52,619 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/f01bcbea-a17a-411c-a407-909ad5421203
2025-08-06 09:40:52,979 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/f01bcbea-a17a-411c-a407-909ad5421203
2025-08-06 09:40:53,037 - INFO - verify_in_api_server passed for BGPaaS obj f01bcbea-a17a-411c-a407-909ad5421203
2025-08-06 09:40:53,037 - INFO - BGPaaS(f01bcbea-a17a-411c-a407-909ad5421203): verify_on_setup passed
2025-08-06 09:40:53,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:53,037 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:53,194 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-06 09:40:53,195 - INFO - Attaching VMI ab084e2b-12fe-4743-b748-6e8689fc574e to BGPaaS f01bcbea-a17a-411c-a407-909ad5421203
2025-08-06 09:40:53,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:53,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:53,445 - INFO - Configuring BGP on the bird
2025-08-06 09:40:53,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 09:40:53,446 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 106.60.161.4, Port 22
2025-08-06 09:40:53,616 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-06 09:40:53,616 - INFO - Configuring BGP on bgpaas_vm1
2025-08-06 09:40:53,616 - 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 106.60.161.4;
protocol bgp bgp_1{
local as 64500;
neighbor 106.60.161.1 as 504;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 106.60.161.4;
}
protocol bfd {
neighbor 106.60.161.1 local 106.60.161.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-06 09:40:53,617 - 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 106.60.161.4;
protocol bgp bgp_1{
local as 64500;
neighbor 106.60.161.1 as 504;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 106.60.161.4;
}
protocol bfd {
neighbor 106.60.161.1 local 106.60.161.4 multihop on;
}
EOS
2025-08-06 09:41:15,445 - DEBUG - None
2025-08-06 09:41:15,446 - 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 106.60.161.4;
protocol bgp bgp_1{
local as 64500;
neighbor 106.60.161.1 as 504;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 106.60.161.4;
}
protocol bfd {
neighbor 106.60.161.1 local 106.60.161.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-06 09:41:15,446 - 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 106.60.161.4;
protocol bgp bgp_1{
local as 64500;
neighbor 106.60.161.1 as 504;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 106.60.161.4;
}
protocol bfd {
neighbor 106.60.161.1 local 106.60.161.4 multihop on;
}
EOS
2025-08-06 09:41:15,968 - DEBUG - None
2025-08-06 09:41:15,968 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-06 09:41:15,968 - DEBUG - service bird restart
2025-08-06 09:41:18,095 - DEBUG - bird stop/waiting
bird start/running, process 1445
2025-08-06 09:41:18,109 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:41:18,130 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:41:24,173 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:41:24,194 - INFO - BGPaaS session seen in control-node 10.20.0.14
2025-08-06 09:41:24,194 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:41:24,214 - INFO - Detaching VMI ab084e2b-12fe-4743-b748-6e8689fc574e from BGPaaS f01bcbea-a17a-411c-a407-909ad5421203
2025-08-06 09:41:24,298 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-73364342-11256468(f01bcbea-a17a-411c-a407-909ad5421203)
2025-08-06 09:41:24,367 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/f01bcbea-a17a-411c-a407-909ad5421203
2025-08-06 09:41:24,378 - DEBUG - Response Code: 404
2025-08-06 09:41:24,379 - DEBUG - BGPaaS: f01bcbea-a17a-411c-a407-909ad5421203 deleted from api server
2025-08-06 09:41:24,379 - INFO - BGPaaS(f01bcbea-a17a-411c-a407-909ad5421203): verify_on_cleanup passed
2025-08-06 09:41:24,379 - INFO - Deleting VM bgpaas_vm1
2025-08-06 09:41:24,557 - INFO - Deleting VM test_vm
2025-08-06 09:41:24,649 - INFO - Deleting VN ctest-bgpaas_vn-89367594
2025-08-06 09:41:24,704 - DEBUG - VN f8235cc8-7419-4caa-8739-bbe125da8334 still in use: Unable to complete operation on network f8235cc8-7419-4caa-8739-bbe125da8334. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-883cd60a-de90-4903-846c-9baaf49fac6b']
2025-08-06 09:41:24,704 - WARNING - Deleting VN ctest-bgpaas_vn-89367594 failed..Will retry
2025-08-06 09:41:26,922 - DEBUG - Response for deleting network ()
2025-08-06 09:41:28,199 - DEBUG - Skipping xmpp flap check
2025-08-06 09:41:28,199 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:23]
2025-08-06 09:41:28,199 - INFO - --------------------------------------------------------------------------------
2025-08-06 09:41:28,966 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-73364342, ID : 85e33544-6cfc-4bb6-b609-c5f24abfc863
2025-08-06 09:44:04,760 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:44:10,782 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:44:16,811 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:44:27,203 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:44:33,237 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:44:33,263 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:44:48,776 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:47:53,112 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:48:05,208 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:48:11,941 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 09:48:11,989 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=