2025-08-10 22:10:33,570 - INFO - Domain Default found not creating
2025-08-10 22:10:33,694 - INFO - Project ctest-TestBGPaaSlocalAS-39056761 not found, creating it
2025-08-10 22:10:34,120 - INFO - Created Project:ctest-TestBGPaaSlocalAS-39056761, ID : 664cb2ee-aca8-4922-a6e8-4fd7919043a7
2025-08-10 22:10:35,627 - DEBUG - Services list from nova: [, , , ]
2025-08-10 22:10:35,627 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3790-1', 'an-jenkins-deploy-platform-ansible-os-3790-2']}
2025-08-10 22:10:35,629 - INFO - ================================================================================
2025-08-10 22:10:35,629 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-08-10 22:10:35,629 - 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 22:10:36,874 - DEBUG - Skipping xmpp flap check
2025-08-10 22:10:36,874 - INFO - Initial checks done. Running the testcase now
2025-08-10 22:10:36,874 - INFO -
2025-08-10 22:10:37,694 - DEBUG - Response for create_network : {'network': {'id': 'ea491b77-ae8b-41e9-b14f-ef1ae723d372', 'name': 'ctest-bgpaas_vn-63859045', 'tenant_id': '664cb2eeaca84922a6e84fd7919043a7', 'project_id': '664cb2eeaca84922a6e84fd7919043a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-39056761', 'ctest-bgpaas_vn-63859045'], 'port_security_enabled': True, 'description': ''}}
2025-08-10 22:10:38,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a835358-db36-43db-9cf7-b98593387552', 'name': '', 'tenant_id': '664cb2eeaca84922a6e84fd7919043a7', 'network_id': 'ea491b77-ae8b-41e9-b14f-ef1ae723d372', 'ip_version': 4, 'cidr': '68.19.70.128/26', 'allocation_pools': [{'start': '68.19.70.130', 'end': '68.19.70.190'}], 'gateway_ip': '68.19.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.19.70.130', 'tags': [], 'project_id': '664cb2eeaca84922a6e84fd7919043a7'}}
2025-08-10 22:10:38,059 - INFO - Created VN ctest-bgpaas_vn-63859045
2025-08-10 22:10:38,076 - DEBUG - VN ctest-bgpaas_vn-63859045 UUID is ea491b77-ae8b-41e9-b14f-ef1ae723d372
2025-08-10 22:10:39,425 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3790-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3790-1)
2025-08-10 22:10:39,501 - DEBUG - Image by name ubuntu-bird not found
2025-08-10 22:10:39,501 - DEBUG - Installing image ubuntu-bird
2025-08-10 22:10:39,501 - 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 22:10:39,502 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-10 22:10:39,502 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-10 22:10:39,513 - 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 22:10:42,401 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-10 22:10:42,401 - DEBUG - Unzip image
2025-08-10 22:10:42,401 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-10 22:10:52,832 - DEBUG - Try to create image in user context
2025-08-10 22:10:59,515 - DEBUG - Image has been created in user context
2025-08-10 22:10:59,515 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-08-10 22:10:59,710 - DEBUG - Downloaded image has been removed
2025-08-10 22:10:59,723 - DEBUG - Uploaded image status = active
2025-08-10 22:11:00,740 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3790-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3790-2)
2025-08-10 22:11:00,740 - INFO - Waiting for VM test_vm to be up..
2025-08-10 22:11:00,811 - DEBUG - VM is in ACTIVE state now
2025-08-10 22:11:00,811 - INFO - VM name : test_vm
2025-08-10 22:11:00,889 - DEBUG - VM test_vm ID is f20d73d3-f2b2-4f72-9250-1629749dffd4
2025-08-10 22:11:00,914 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3790-1
2025-08-10 22:11:01,000 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f20d73d3-f2b2-4f72-9250-1629749dffd4
2025-08-10 22:11:01,299 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f20d73d3-f2b2-4f72-9250-1629749dffd4
2025-08-10 22:11:01,385 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/03a76bbb-9eb8-461e-8edc-5e603eb3f8e1
2025-08-10 22:11:02,647 - 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=1.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.512/1.689/1.866/0.177 ms')
2025-08-10 22:11:02,648 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-08-10 22:11:02,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:11:02,768 - DEBUG - Waiting to SSH to VM test_vm, IP 68.19.70.131, Port 22
2025-08-10 22:11:02,939 - DEBUG - VM test_vm is ready for SSH connections
2025-08-10 22:11:02,940 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-08-10 22:11:03,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-10 22:11:08,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-10 22:11:13,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-10 22:11:18,274 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-10 22:11:23,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-10 22:11:28,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-10 22:11:33,511 - DEBUG - VM is in ACTIVE state now
2025-08-10 22:11:33,511 - INFO - VM name : bgpaas_vm1
2025-08-10 22:11:33,584 - DEBUG - VM bgpaas_vm1 ID is 5f6ccd73-8c91-43f7-bd77-a63741e4c778
2025-08-10 22:11:33,584 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3790-2
2025-08-10 22:11:33,660 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5f6ccd73-8c91-43f7-bd77-a63741e4c778
2025-08-10 22:11:33,670 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a8838763-8a53-4128-958d-47d3d14c6da7
2025-08-10 22:11:36,900 - 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 22:11:36,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:11:36,915 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:11:40,999 - 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 22:11:40,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:11:41,013 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:11:45,088 - 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-08-10 22:11:45,088 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:11:45,102 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:11:49,189 - 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 22:11:49,189 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:11:49,202 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:11:53,283 - 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 22:11:53,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:11:53,297 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:11:57,377 - 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 22:11:57,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:11:57,392 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:01,477 - 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 22:12:01,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:12:01,490 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:05,572 - 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 22:12:05,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:12:05,596 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:09,673 - 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-08-10 22:12:09,673 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:12:09,687 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:13,760 - 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-10 22:12:13,760 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:12:13,774 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:17,856 - 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 22:12:17,856 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:12:17,869 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:21,956 - 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 22:12:21,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:12:21,970 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:26,055 - 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 22:12:26,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-10 22:12:26,068 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-39056761:ctest-bgpaas_vn-63859045 is 68.19.70.129 and allocation pool is NOT set
2025-08-10 22:12:28,128 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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.368/2.971/5.574/2.603 ms')
2025-08-10 22:12:28,128 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-08-10 22:12:28,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:12:28,240 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:12:28,298 - 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 22:12:28,368 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:12:33,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:12:33,370 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:12:33,436 - 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 22:12:33,512 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:12:38,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:12:38,513 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:12:38,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-08-10 22:12:38,656 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:12:43,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:12:43,657 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:12:43,714 - 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 22:12:43,784 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:12:48,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:12:48,784 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:12:48,838 - 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 22:12:48,914 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:12:53,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:12:53,916 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:12:53,974 - 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 22:12:54,053 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:12:59,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:12:59,054 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:12:59,111 - 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 22:12:59,194 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:13:04,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:13:04,195 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:13:04,250 - 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 22:13:04,319 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-10 22:13:09,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:13:09,320 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:13:09,488 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-10 22:13:09,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:13:09,495 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-39056761-34749217
2025-08-10 22:13:09,564 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-39056761-34749217(2ff4020e-a9c5-4422-8f34-02433e803e20)
2025-08-10 22:13:09,564 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/2ff4020e-a9c5-4422-8f34-02433e803e20
2025-08-10 22:13:09,853 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/2ff4020e-a9c5-4422-8f34-02433e803e20
2025-08-10 22:13:09,885 - INFO - verify_in_api_server passed for BGPaaS obj 2ff4020e-a9c5-4422-8f34-02433e803e20
2025-08-10 22:13:09,885 - INFO - BGPaaS(2ff4020e-a9c5-4422-8f34-02433e803e20): verify_on_setup passed
2025-08-10 22:13:09,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:13:09,885 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:13:10,038 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-10 22:13:10,038 - INFO - Attaching VMI a8838763-8a53-4128-958d-47d3d14c6da7 to BGPaaS 2ff4020e-a9c5-4422-8f34-02433e803e20
2025-08-10 22:13:10,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:13:10,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:13:10,206 - INFO - Configuring BGP on the bird
2025-08-10 22:13:10,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-10 22:13:10,206 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 68.19.70.132, Port 22
2025-08-10 22:13:10,359 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-10 22:13:10,359 - INFO - Configuring BGP on bgpaas_vm1
2025-08-10 22:13:10,359 - 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 68.19.70.132;
protocol bgp bgp_1{
local as 64500;
neighbor 68.19.70.129 as 631;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 68.19.70.132;
}
protocol bfd {
neighbor 68.19.70.129 local 68.19.70.132 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-10 22:13:10,359 - 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 68.19.70.132;
protocol bgp bgp_1{
local as 64500;
neighbor 68.19.70.129 as 631;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 68.19.70.132;
}
protocol bfd {
neighbor 68.19.70.129 local 68.19.70.132 multihop on;
}
EOS
2025-08-10 22:13:22,903 - DEBUG - None
2025-08-10 22:13:22,903 - 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 68.19.70.132;
protocol bgp bgp_1{
local as 64500;
neighbor 68.19.70.129 as 631;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 68.19.70.132;
}
protocol bfd {
neighbor 68.19.70.129 local 68.19.70.132 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-10 22:13:22,903 - 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 68.19.70.132;
protocol bgp bgp_1{
local as 64500;
neighbor 68.19.70.129 as 631;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 68.19.70.132;
}
protocol bfd {
neighbor 68.19.70.129 local 68.19.70.132 multihop on;
}
EOS
2025-08-10 22:13:23,710 - DEBUG - None
2025-08-10 22:13:23,710 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-10 22:13:23,710 - DEBUG - service bird restart
2025-08-10 22:13:26,356 - DEBUG - bird stop/waiting
bird start/running, process 1472
2025-08-10 22:13:26,369 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:13:26,387 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:13:32,424 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:13:32,441 - INFO - BGPaaS session seen in control-node 10.20.0.25
2025-08-10 22:13:32,441 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:13:32,454 - INFO - Detaching VMI a8838763-8a53-4128-958d-47d3d14c6da7 from BGPaaS 2ff4020e-a9c5-4422-8f34-02433e803e20
2025-08-10 22:13:32,528 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-39056761-34749217(2ff4020e-a9c5-4422-8f34-02433e803e20)
2025-08-10 22:13:32,592 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/2ff4020e-a9c5-4422-8f34-02433e803e20
2025-08-10 22:13:32,598 - DEBUG - Response Code: 404
2025-08-10 22:13:32,598 - DEBUG - BGPaaS: 2ff4020e-a9c5-4422-8f34-02433e803e20 deleted from api server
2025-08-10 22:13:32,598 - INFO - BGPaaS(2ff4020e-a9c5-4422-8f34-02433e803e20): verify_on_cleanup passed
2025-08-10 22:13:32,598 - INFO - Deleting VM bgpaas_vm1
2025-08-10 22:13:32,701 - INFO - Deleting VM test_vm
2025-08-10 22:13:32,757 - INFO - Deleting VN ctest-bgpaas_vn-63859045
2025-08-10 22:13:32,797 - DEBUG - VN ea491b77-ae8b-41e9-b14f-ef1ae723d372 still in use: Unable to complete operation on network ea491b77-ae8b-41e9-b14f-ef1ae723d372. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-d4233351-3aa1-456e-9d1e-a88a33780327']
2025-08-10 22:13:32,797 - WARNING - Deleting VN ctest-bgpaas_vn-63859045 failed..Will retry
2025-08-10 22:13:34,984 - DEBUG - Response for deleting network ()
2025-08-10 22:13:36,266 - DEBUG - Skipping xmpp flap check
2025-08-10 22:13:36,266 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:01]
2025-08-10 22:13:36,266 - INFO - --------------------------------------------------------------------------------
2025-08-10 22:13:36,964 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-39056761, ID : 664cb2ee-aca8-4922-a6e8-4fd7919043a7
2025-08-10 22:16:32,395 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:16:38,412 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:16:53,972 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:16:59,991 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:17:14,829 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:17:20,845 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:19:52,879 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:19:58,929 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:20:04,942 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:20:10,955 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-10 22:20:10,987 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=