2025-09-04 03:47:39,075 - INFO - Domain Default found not creating
2025-09-04 03:47:39,645 - INFO - Project ctest-TestBGPaaSlocalAS-10938622 not found, creating it
2025-09-04 03:47:40,464 - INFO - Created Project:ctest-TestBGPaaSlocalAS-10938622, ID : c006ea8d-ef23-4eba-af96-a2f016341cd9
2025-09-04 03:47:42,037 - DEBUG - Services list from nova: [, , , ]
2025-09-04 03:47:42,037 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4012-1', 'an-jenkins-deploy-platform-ansible-os-4012-2']}
2025-09-04 03:47:42,039 - INFO - ================================================================================
2025-09-04 03:47:42,039 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-09-04 03:47:42,039 - 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-09-04 03:47:43,305 - DEBUG - Skipping xmpp flap check
2025-09-04 03:47:43,305 - INFO - Initial checks done. Running the testcase now
2025-09-04 03:47:43,305 - INFO -
2025-09-04 03:47:43,954 - DEBUG - Response for create_network : {'network': {'id': 'f9c878f9-032d-4681-9388-01a082c08d2f', 'name': 'ctest-bgpaas_vn-04602656', 'tenant_id': 'c006ea8def234ebaaf96a2f016341cd9', 'project_id': 'c006ea8def234ebaaf96a2f016341cd9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-10938622', 'ctest-bgpaas_vn-04602656'], 'port_security_enabled': True, 'description': ''}}
2025-09-04 03:47:44,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '458ff22c-6381-4c6f-b0bc-84281a9f7d4a', 'name': '', 'tenant_id': 'c006ea8def234ebaaf96a2f016341cd9', 'network_id': 'f9c878f9-032d-4681-9388-01a082c08d2f', 'ip_version': 4, 'cidr': '122.143.34.0/26', 'allocation_pools': [{'start': '122.143.34.2', 'end': '122.143.34.62'}], 'gateway_ip': '122.143.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.143.34.2', 'tags': [], 'project_id': 'c006ea8def234ebaaf96a2f016341cd9'}}
2025-09-04 03:47:44,181 - INFO - Created VN ctest-bgpaas_vn-04602656
2025-09-04 03:47:44,193 - DEBUG - VN ctest-bgpaas_vn-04602656 UUID is f9c878f9-032d-4681-9388-01a082c08d2f
2025-09-04 03:47:45,463 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-1)
2025-09-04 03:47:45,565 - DEBUG - Image by name ubuntu-bird not found
2025-09-04 03:47:45,565 - DEBUG - Installing image ubuntu-bird
2025-09-04 03:47:45,565 - 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-09-04 03:47:45,566 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-09-04 03:47:45,566 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-09-04 03:47:45,580 - 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-09-04 03:47:48,303 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-09-04 03:47:48,303 - DEBUG - Unzip image
2025-09-04 03:47:48,303 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-09-04 03:47:59,490 - DEBUG - Try to create image in user context
2025-09-04 03:48:06,235 - DEBUG - Image has been created in user context
2025-09-04 03:48:06,235 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-09-04 03:48:06,413 - DEBUG - Downloaded image has been removed
2025-09-04 03:48:06,426 - DEBUG - Uploaded image status = active
2025-09-04 03:48:07,600 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4012-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4012-2)
2025-09-04 03:48:07,600 - INFO - Waiting for VM test_vm to be up..
2025-09-04 03:48:07,699 - DEBUG - VM is in ACTIVE state now
2025-09-04 03:48:07,700 - INFO - VM name : test_vm
2025-09-04 03:48:07,795 - DEBUG - VM test_vm ID is cfd4df4d-830d-4379-9bae-6246cf369c75
2025-09-04 03:48:07,828 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4012-1
2025-09-04 03:48:07,924 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cfd4df4d-830d-4379-9bae-6246cf369c75
2025-09-04 03:48:08,241 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/cfd4df4d-830d-4379-9bae-6246cf369c75
2025-09-04 03:48:08,326 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/0477c5e1-2729-4dc5-8c97-e4e6eaed90bf
2025-09-04 03:48:09,561 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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.626/2.392/3.159/0.766 ms')
2025-09-04 03:48:09,561 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-09-04 03:48:09,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:48:09,647 - DEBUG - Waiting to SSH to VM test_vm, IP 122.143.34.3, Port 22
2025-09-04 03:48:09,715 - 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-09-04 03:48:09,849 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:48:14,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:48:14,850 - DEBUG - Waiting to SSH to VM test_vm, IP 122.143.34.3, Port 22
2025-09-04 03:48:15,018 - DEBUG - VM test_vm is ready for SSH connections
2025-09-04 03:48:15,018 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-09-04 03:48:15,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 03:48:20,205 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 03:48:25,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 03:48:30,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 03:48:35,474 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-04 03:48:40,575 - DEBUG - VM is in ACTIVE state now
2025-09-04 03:48:40,575 - INFO - VM name : bgpaas_vm1
2025-09-04 03:48:40,675 - DEBUG - VM bgpaas_vm1 ID is c2a271a2-e1bd-4507-aa02-42f8a77e3c61
2025-09-04 03:48:40,675 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4012-2
2025-09-04 03:48:40,762 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/c2a271a2-e1bd-4507-aa02-42f8a77e3c61
2025-09-04 03:48:40,771 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/9cb27adc-3a7c-464e-a537-2bef462c1170
2025-09-04 03:48:43,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 1019ms')
2025-09-04 03:48:43,957 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:48:43,971 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:48:48,056 - 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-09-04 03:48:48,056 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:48:48,070 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:48:52,160 - 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 1021ms')
2025-09-04 03:48:52,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:48:52,175 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:48:56,253 - 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-09-04 03:48:56,254 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:48:56,275 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:00,340 - 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-09-04 03:49:00,340 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:00,356 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:04,438 - 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-09-04 03:49:04,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:04,451 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:08,538 - 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-09-04 03:49:08,538 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:08,552 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:12,638 - 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-09-04 03:49:12,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:12,654 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:16,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 1010ms')
2025-09-04 03:49:16,731 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:16,745 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:20,827 - 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-09-04 03:49:20,827 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:20,840 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:24,922 - 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-09-04 03:49:24,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:24,935 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:29,019 - 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-09-04 03:49:29,019 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:29,035 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:33,119 - 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-09-04 03:49:33,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:33,134 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:37,210 - 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-09-04 03:49:37,210 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:37,224 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:41,307 - 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-09-04 03:49:41,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:41,321 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:45,395 - 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-09-04 03:49:45,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:45,409 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:49,499 - 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-09-04 03:49:49,500 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-09-04 03:49:49,514 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-10938622:ctest-bgpaas_vn-04602656 is 122.143.34.1 and allocation pool is NOT set
2025-09-04 03:49:51,584 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 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 = 1.939/3.130/4.321/1.191 ms')
2025-09-04 03:49:51,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-09-04 03:49:51,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:49:51,662 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:49:51,731 - 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-09-04 03:49:51,816 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:49:56,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:49:56,817 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:49:56,882 - 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-09-04 03:49:56,975 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:01,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:01,976 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:02,043 - 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-09-04 03:50:02,137 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:07,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:07,138 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:07,198 - 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-09-04 03:50:07,284 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:12,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:12,285 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:12,342 - 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-09-04 03:50:12,426 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:17,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:17,428 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:17,495 - 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-09-04 03:50:17,580 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:22,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:22,582 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:22,647 - 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-09-04 03:50:22,749 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:27,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:27,750 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:27,819 - 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-09-04 03:50:27,898 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:32,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:32,899 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:32,967 - 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-09-04 03:50:33,062 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-04 03:50:38,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:38,063 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:38,236 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-09-04 03:50:38,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:38,242 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-10938622-09752181
2025-09-04 03:50:38,320 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-10938622-09752181(4b058df0-31c9-4e83-b27f-e924b3b0ba81)
2025-09-04 03:50:38,321 - DEBUG - Requesting: http://10.0.0.57:8082/bgp-as-a-service/4b058df0-31c9-4e83-b27f-e924b3b0ba81
2025-09-04 03:50:38,623 - DEBUG - Requesting: http://10.0.0.57:8082/bgp-as-a-service/4b058df0-31c9-4e83-b27f-e924b3b0ba81
2025-09-04 03:50:38,664 - INFO - verify_in_api_server passed for BGPaaS obj 4b058df0-31c9-4e83-b27f-e924b3b0ba81
2025-09-04 03:50:38,664 - INFO - BGPaaS(4b058df0-31c9-4e83-b27f-e924b3b0ba81): verify_on_setup passed
2025-09-04 03:50:38,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:38,664 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:38,835 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-09-04 03:50:38,836 - INFO - Attaching VMI 9cb27adc-3a7c-464e-a537-2bef462c1170 to BGPaaS 4b058df0-31c9-4e83-b27f-e924b3b0ba81
2025-09-04 03:50:38,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:38,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:39,033 - INFO - Configuring BGP on the bird
2025-09-04 03:50:39,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-04 03:50:39,034 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 122.143.34.4, Port 22
2025-09-04 03:50:39,207 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-09-04 03:50:39,207 - INFO - Configuring BGP on bgpaas_vm1
2025-09-04 03:50:39,207 - 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 122.143.34.4;
protocol bgp bgp_1{
local as 64500;
neighbor 122.143.34.1 as 664;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 122.143.34.4;
}
protocol bfd {
neighbor 122.143.34.1 local 122.143.34.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-09-04 03:50:39,207 - 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 122.143.34.4;
protocol bgp bgp_1{
local as 64500;
neighbor 122.143.34.1 as 664;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 122.143.34.4;
}
protocol bfd {
neighbor 122.143.34.1 local 122.143.34.4 multihop on;
}
EOS
2025-09-04 03:50:57,047 - DEBUG - None
2025-09-04 03:50:57,047 - 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 122.143.34.4;
protocol bgp bgp_1{
local as 64500;
neighbor 122.143.34.1 as 664;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 122.143.34.4;
}
protocol bfd {
neighbor 122.143.34.1 local 122.143.34.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-09-04 03:50:57,047 - 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 122.143.34.4;
protocol bgp bgp_1{
local as 64500;
neighbor 122.143.34.1 as 664;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 122.143.34.4;
}
protocol bfd {
neighbor 122.143.34.1 local 122.143.34.4 multihop on;
}
EOS
2025-09-04 03:50:58,063 - DEBUG - None
2025-09-04 03:50:58,063 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-09-04 03:50:58,063 - DEBUG - service bird restart
2025-09-04 03:51:01,357 - DEBUG - bird stop/waiting
bird start/running, process 1429
2025-09-04 03:51:01,371 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:51:01,394 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:51:07,430 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:51:07,447 - INFO - BGPaaS session seen in control-node 10.20.0.25
2025-09-04 03:51:07,447 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:51:07,468 - INFO - Detaching VMI 9cb27adc-3a7c-464e-a537-2bef462c1170 from BGPaaS 4b058df0-31c9-4e83-b27f-e924b3b0ba81
2025-09-04 03:51:07,544 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-10938622-09752181(4b058df0-31c9-4e83-b27f-e924b3b0ba81)
2025-09-04 03:51:07,606 - DEBUG - Requesting: http://10.0.0.57:8082/bgp-as-a-service/4b058df0-31c9-4e83-b27f-e924b3b0ba81
2025-09-04 03:51:07,614 - DEBUG - Response Code: 404
2025-09-04 03:51:07,614 - DEBUG - BGPaaS: 4b058df0-31c9-4e83-b27f-e924b3b0ba81 deleted from api server
2025-09-04 03:51:07,614 - INFO - BGPaaS(4b058df0-31c9-4e83-b27f-e924b3b0ba81): verify_on_cleanup passed
2025-09-04 03:51:07,614 - INFO - Deleting VM bgpaas_vm1
2025-09-04 03:51:07,715 - INFO - Deleting VM test_vm
2025-09-04 03:51:07,790 - INFO - Deleting VN ctest-bgpaas_vn-04602656
2025-09-04 03:51:07,833 - DEBUG - VN f9c878f9-032d-4681-9388-01a082c08d2f still in use: Unable to complete operation on network f9c878f9-032d-4681-9388-01a082c08d2f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-963975d3-015b-443f-8c67-ce373a91db65']
2025-09-04 03:51:07,833 - WARNING - Deleting VN ctest-bgpaas_vn-04602656 failed..Will retry
2025-09-04 03:51:10,065 - DEBUG - Response for deleting network ()
2025-09-04 03:51:11,381 - DEBUG - Skipping xmpp flap check
2025-09-04 03:51:11,382 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:29]
2025-09-04 03:51:11,382 - INFO - --------------------------------------------------------------------------------
2025-09-04 03:51:12,122 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-10938622, ID : c006ea8d-ef23-4eba-af96-a2f016341cd9
2025-09-04 03:54:36,759 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:54:36,783 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:54:42,802 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:54:48,822 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:55:05,550 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:55:15,812 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:55:21,828 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:55:21,851 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:28,343 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:28,358 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:28,381 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:34,397 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:40,412 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:40,432 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:46,999 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:47,021 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:47,050 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-09-04 03:58:47,074 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=