2025-08-11 07:37:32,639 - INFO - Domain Default found not creating
2025-08-11 07:37:32,772 - INFO - Project ctest-TestBGPaaSlocalAS-76187326 not found, creating it
2025-08-11 07:37:33,295 - INFO - Created Project:ctest-TestBGPaaSlocalAS-76187326, ID : ad1a5bc4-1c58-4b5f-b73f-92652ec30acd
2025-08-11 07:37:35,244 - DEBUG - Services list from nova: [, , , ]
2025-08-11 07:37:35,244 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3798-2', 'an-jenkins-deploy-platform-ansible-os-3798-1']}
2025-08-11 07:37:35,246 - INFO - ================================================================================
2025-08-11 07:37:35,246 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-08-11 07:37:35,246 - 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-11 07:37:36,493 - DEBUG - Skipping xmpp flap check
2025-08-11 07:37:36,493 - INFO - Initial checks done. Running the testcase now
2025-08-11 07:37:36,493 - INFO -
2025-08-11 07:37:37,077 - DEBUG - Response for create_network : {'network': {'id': 'a055c748-e321-4221-ae5b-9ee840fa6556', 'name': 'ctest-bgpaas_vn-58066594', 'tenant_id': 'ad1a5bc41c584b5fb73f92652ec30acd', 'project_id': 'ad1a5bc41c584b5fb73f92652ec30acd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-76187326', 'ctest-bgpaas_vn-58066594'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 07:37:37,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '3372cf02-6afc-4a38-a354-24aa177b1500', 'name': '', 'tenant_id': 'ad1a5bc41c584b5fb73f92652ec30acd', 'network_id': 'a055c748-e321-4221-ae5b-9ee840fa6556', 'ip_version': 4, 'cidr': '209.92.255.64/26', 'allocation_pools': [{'start': '209.92.255.66', 'end': '209.92.255.126'}], 'gateway_ip': '209.92.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.92.255.66', 'tags': [], 'project_id': 'ad1a5bc41c584b5fb73f92652ec30acd'}}
2025-08-11 07:37:37,326 - INFO - Created VN ctest-bgpaas_vn-58066594
2025-08-11 07:37:37,340 - DEBUG - VN ctest-bgpaas_vn-58066594 UUID is a055c748-e321-4221-ae5b-9ee840fa6556
2025-08-11 07:37:38,827 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3798-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3798-2)
2025-08-11 07:37:38,905 - DEBUG - Image by name ubuntu-bird not found
2025-08-11 07:37:38,905 - DEBUG - Installing image ubuntu-bird
2025-08-11 07:37:38,905 - 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-11 07:37:38,905 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-11 07:37:38,905 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-11 07:37:38,917 - 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-11 07:37:41,527 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-11 07:37:41,528 - DEBUG - Unzip image
2025-08-11 07:37:41,528 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-11 07:37:52,040 - DEBUG - Try to create image in user context
2025-08-11 07:37:58,364 - DEBUG - Image has been created in user context
2025-08-11 07:37:58,364 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-08-11 07:37:58,520 - DEBUG - Downloaded image has been removed
2025-08-11 07:37:58,532 - DEBUG - Uploaded image status = active
2025-08-11 07:37:59,529 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3798-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3798-1)
2025-08-11 07:37:59,529 - INFO - Waiting for VM test_vm to be up..
2025-08-11 07:37:59,604 - DEBUG - VM is in ACTIVE state now
2025-08-11 07:37:59,604 - INFO - VM name : test_vm
2025-08-11 07:37:59,690 - DEBUG - VM test_vm ID is d0a7e095-856e-4aaa-a06b-7a1d2f983582
2025-08-11 07:37:59,715 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3798-2
2025-08-11 07:37:59,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0a7e095-856e-4aaa-a06b-7a1d2f983582
2025-08-11 07:38:00,078 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d0a7e095-856e-4aaa-a06b-7a1d2f983582
2025-08-11 07:38:00,161 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/81a1f95e-ec08-4794-8669-75a31be17e58
2025-08-11 07:38:01,412 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.370 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.370/1.780/3.190/1.410 ms')
2025-08-11 07:38:01,412 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-08-11 07:38:01,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:38:01,529 - DEBUG - Waiting to SSH to VM test_vm, IP 209.92.255.67, Port 22
2025-08-11 07:38:01,702 - DEBUG - VM test_vm is ready for SSH connections
2025-08-11 07:38:01,702 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-08-11 07:38:01,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 07:38:06,855 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 07:38:11,931 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 07:38:17,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 07:38:22,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 07:38:27,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 07:38:32,240 - DEBUG - VM is in ACTIVE state now
2025-08-11 07:38:32,240 - INFO - VM name : bgpaas_vm1
2025-08-11 07:38:32,308 - DEBUG - VM bgpaas_vm1 ID is 87db5002-c203-4148-b057-288b0f450e43
2025-08-11 07:38:32,309 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3798-1
2025-08-11 07:38:32,372 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/87db5002-c203-4148-b057-288b0f450e43
2025-08-11 07:38:32,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/756a1d13-4e60-4857-8253-98438892605a
2025-08-11 07:38:35,583 - 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-11 07:38:35,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:38:35,600 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:38:39,683 - 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-11 07:38:39,683 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:38:39,698 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:38:43,777 - 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-11 07:38:43,777 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:38:43,791 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:38:47,880 - 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-11 07:38:47,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:38:47,894 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:38:51,973 - 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-11 07:38:51,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:38:51,987 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:38:56,063 - 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-11 07:38:56,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:38:56,077 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:00,168 - 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 1025ms')
2025-08-11 07:39:00,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:39:00,181 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:04,263 - 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-11 07:39:04,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:39:04,277 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:08,356 - 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-11 07:39:08,356 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:39:08,369 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:12,451 - 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-11 07:39:12,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:39:12,465 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:16,539 - 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-11 07:39:16,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:39:16,560 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:20,643 - 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-11 07:39:20,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:39:20,662 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:24,731 - 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-11 07:39:24,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 07:39:24,752 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-76187326:ctest-bgpaas_vn-58066594 is 209.92.255.65 and allocation pool is NOT set
2025-08-11 07:39:28,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=2 ttl=63 time=1.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 1.576/1.576/1.576/0.000 ms')
2025-08-11 07:39:28,836 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-08-11 07:39:28,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:28,949 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:39:29,005 - 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-11 07:39:29,074 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:39:34,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:34,074 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:39:34,140 - 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-11 07:39:34,209 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:39:39,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:39,211 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:39:39,265 - 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-11 07:39:39,343 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:39:44,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:44,345 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:39:44,412 - 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-11 07:39:44,486 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:39:49,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:49,487 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:39:49,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-08-11 07:39:49,615 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:39:54,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:54,617 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:39:54,684 - 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-11 07:39:54,752 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:39:59,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:39:59,752 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:39:59,809 - 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-11 07:39:59,883 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:40:04,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:40:04,884 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:40:04,937 - 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-11 07:40:05,006 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 07:40:10,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:40:10,007 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:40:10,176 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-11 07:40:10,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:40:10,183 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-76187326-02878872
2025-08-11 07:40:10,260 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-76187326-02878872(c2226b98-9c42-474d-a401-0c53a534829e)
2025-08-11 07:40:10,260 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/c2226b98-9c42-474d-a401-0c53a534829e
2025-08-11 07:40:10,566 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/c2226b98-9c42-474d-a401-0c53a534829e
2025-08-11 07:40:10,596 - INFO - verify_in_api_server passed for BGPaaS obj c2226b98-9c42-474d-a401-0c53a534829e
2025-08-11 07:40:10,597 - INFO - BGPaaS(c2226b98-9c42-474d-a401-0c53a534829e): verify_on_setup passed
2025-08-11 07:40:10,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:40:10,597 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:40:10,754 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-11 07:40:10,754 - INFO - Attaching VMI 756a1d13-4e60-4857-8253-98438892605a to BGPaaS c2226b98-9c42-474d-a401-0c53a534829e
2025-08-11 07:40:10,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:40:10,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:40:10,946 - INFO - Configuring BGP on the bird
2025-08-11 07:40:10,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 07:40:10,947 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 209.92.255.68, Port 22
2025-08-11 07:40:11,101 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-11 07:40:11,101 - INFO - Configuring BGP on bgpaas_vm1
2025-08-11 07:40:11,101 - 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 209.92.255.68;
protocol bgp bgp_1{
local as 64500;
neighbor 209.92.255.65 as 319;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 209.92.255.68;
}
protocol bfd {
neighbor 209.92.255.65 local 209.92.255.68 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-11 07:40:11,102 - 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 209.92.255.68;
protocol bgp bgp_1{
local as 64500;
neighbor 209.92.255.65 as 319;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 209.92.255.68;
}
protocol bfd {
neighbor 209.92.255.65 local 209.92.255.68 multihop on;
}
EOS
2025-08-11 07:40:25,130 - DEBUG - None
2025-08-11 07:40:25,130 - 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 209.92.255.68;
protocol bgp bgp_1{
local as 64500;
neighbor 209.92.255.65 as 319;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 209.92.255.68;
}
protocol bfd {
neighbor 209.92.255.65 local 209.92.255.68 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-11 07:40:25,130 - 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 209.92.255.68;
protocol bgp bgp_1{
local as 64500;
neighbor 209.92.255.65 as 319;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 209.92.255.68;
}
protocol bfd {
neighbor 209.92.255.65 local 209.92.255.68 multihop on;
}
EOS
2025-08-11 07:40:25,964 - DEBUG - None
2025-08-11 07:40:25,964 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-11 07:40:25,964 - DEBUG - service bird restart
2025-08-11 07:40:28,677 - DEBUG - bird stop/waiting
bird start/running, process 1477
2025-08-11 07:40:28,689 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:40:28,712 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:40:34,741 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:40:34,755 - INFO - BGPaaS session seen in control-node 10.20.0.17
2025-08-11 07:40:34,755 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:40:34,769 - INFO - Detaching VMI 756a1d13-4e60-4857-8253-98438892605a from BGPaaS c2226b98-9c42-474d-a401-0c53a534829e
2025-08-11 07:40:34,841 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-76187326-02878872(c2226b98-9c42-474d-a401-0c53a534829e)
2025-08-11 07:40:34,914 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/c2226b98-9c42-474d-a401-0c53a534829e
2025-08-11 07:40:34,925 - DEBUG - Response Code: 404
2025-08-11 07:40:34,925 - DEBUG - BGPaaS: c2226b98-9c42-474d-a401-0c53a534829e deleted from api server
2025-08-11 07:40:34,925 - INFO - BGPaaS(c2226b98-9c42-474d-a401-0c53a534829e): verify_on_cleanup passed
2025-08-11 07:40:34,925 - INFO - Deleting VM bgpaas_vm1
2025-08-11 07:40:35,021 - INFO - Deleting VM test_vm
2025-08-11 07:40:35,089 - INFO - Deleting VN ctest-bgpaas_vn-58066594
2025-08-11 07:40:35,127 - DEBUG - VN a055c748-e321-4221-ae5b-9ee840fa6556 still in use: Unable to complete operation on network a055c748-e321-4221-ae5b-9ee840fa6556. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-013728bb-ff55-49e6-816e-ad81c378eb7b']
2025-08-11 07:40:35,128 - WARNING - Deleting VN ctest-bgpaas_vn-58066594 failed..Will retry
2025-08-11 07:40:37,293 - DEBUG - Response for deleting network ()
2025-08-11 07:40:38,557 - DEBUG - Skipping xmpp flap check
2025-08-11 07:40:38,557 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:03]
2025-08-11 07:40:38,557 - INFO - --------------------------------------------------------------------------------
2025-08-11 07:40:39,262 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-76187326, ID : ad1a5bc4-1c58-4b5f-b73f-92652ec30acd
2025-08-11 07:43:39,800 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:43:45,815 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:44:01,385 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:44:07,404 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:44:22,335 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:44:28,350 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:46:57,869 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:46:57,901 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:47:03,913 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:47:09,930 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:47:16,060 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 07:47:16,094 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=