2025-10-08 18:06:55,939 - INFO - Domain Default found not creating
2025-10-08 18:06:56,089 - INFO - Project ctest-TestBGPaaSlocalAS-11913099 not found, creating it
2025-10-08 18:06:56,677 - INFO - Created Project:ctest-TestBGPaaSlocalAS-11913099, ID : 9df3bc5f-8a06-4fb0-aa26-92e1f284052d
2025-10-08 18:06:58,151 - DEBUG - Services list from nova: [, , , ]
2025-10-08 18:06:58,151 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4239-1', 'an-jenkins-deploy-platform-ansible-os-4239-2']}
2025-10-08 18:06:58,153 - INFO - ================================================================================
2025-10-08 18:06:58,154 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-10-08 18:06:58,154 - INFO - TEST DESCRIPTION :
1. Create a bgpaas vm. Configure same local-as on vm and contrail side.
2. Make sure BGP with vm comes up.
2025-10-08 18:06:59,420 - DEBUG - Skipping xmpp flap check
2025-10-08 18:06:59,420 - INFO - Initial checks done. Running the testcase now
2025-10-08 18:06:59,420 - INFO -
2025-10-08 18:07:00,064 - DEBUG - Response for create_network : {'network': {'id': '919d56ed-fe07-4c26-94f3-560955e73d55', 'name': 'ctest-bgpaas_vn-93360296', 'tenant_id': '9df3bc5f8a064fb0aa2692e1f284052d', 'project_id': '9df3bc5f8a064fb0aa2692e1f284052d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-11913099', 'ctest-bgpaas_vn-93360296'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 18:07:00,377 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b35297a4-270a-4953-ba64-8c6ced8af93b', 'name': '', 'tenant_id': '9df3bc5f8a064fb0aa2692e1f284052d', 'network_id': '919d56ed-fe07-4c26-94f3-560955e73d55', 'ip_version': 4, 'cidr': '182.204.118.0/26', 'allocation_pools': [{'start': '182.204.118.2', 'end': '182.204.118.62'}], 'gateway_ip': '182.204.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.204.118.2', 'tags': [], 'project_id': '9df3bc5f8a064fb0aa2692e1f284052d'}}
2025-10-08 18:07:00,399 - INFO - Created VN ctest-bgpaas_vn-93360296
2025-10-08 18:07:00,417 - DEBUG - VN ctest-bgpaas_vn-93360296 UUID is 919d56ed-fe07-4c26-94f3-560955e73d55
2025-10-08 18:07:01,585 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-1)
2025-10-08 18:07:01,665 - DEBUG - Image by name ubuntu-bird not found
2025-10-08 18:07:01,665 - DEBUG - Installing image ubuntu-bird
2025-10-08 18:07:01,665 - DEBUG - Image info {'name': 'ubuntu-bird.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_small', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'}
2025-10-08 18:07:01,666 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-10-08 18:07:01,666 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-10-08 18:07:01,679 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: wget -nv http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz -O /contrail-test/images/ubuntu-bird.vmdk.gz
2025-10-08 18:07:04,285 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-10-08 18:07:04,286 - DEBUG - Unzip image
2025-10-08 18:07:04,286 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-10-08 18:07:15,785 - DEBUG - Try to create image in user context
2025-10-08 18:07:22,538 - DEBUG - Image has been created in user context
2025-10-08 18:07:22,538 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-10-08 18:07:22,696 - DEBUG - Downloaded image has been removed
2025-10-08 18:07:22,710 - DEBUG - Uploaded image status = active
2025-10-08 18:07:23,763 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-2)
2025-10-08 18:07:23,763 - INFO - Waiting for VM test_vm to be up..
2025-10-08 18:07:23,835 - DEBUG - VM is in ACTIVE state now
2025-10-08 18:07:23,835 - INFO - VM name : test_vm
2025-10-08 18:07:23,913 - DEBUG - VM test_vm ID is c8842e5f-a8e9-46ae-acf0-5108215fdc71
2025-10-08 18:07:23,935 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-4239-1
2025-10-08 18:07:24,017 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c8842e5f-a8e9-46ae-acf0-5108215fdc71
2025-10-08 18:07:24,321 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c8842e5f-a8e9-46ae-acf0-5108215fdc71
2025-10-08 18:07:24,438 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1409aba4-adba-45a3-8b67-d8ae958b7aab
2025-10-08 18:07:25,627 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 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.701/2.381/3.061/0.680 ms')
2025-10-08 18:07:25,628 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-10-08 18:07:25,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:07:25,707 - DEBUG - Waiting to SSH to VM test_vm, IP 182.204.118.3, Port 22
2025-10-08 18:07:25,777 - 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-10-08 18:07:25,900 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:07:30,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:07:30,901 - DEBUG - Waiting to SSH to VM test_vm, IP 182.204.118.3, Port 22
2025-10-08 18:07:31,077 - DEBUG - VM test_vm is ready for SSH connections
2025-10-08 18:07:31,077 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-10-08 18:07:31,222 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 18:07:36,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 18:07:41,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 18:07:46,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 18:07:51,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 18:07:56,649 - DEBUG - VM is in ACTIVE state now
2025-10-08 18:07:56,649 - INFO - VM name : bgpaas_vm1
2025-10-08 18:07:56,729 - DEBUG - VM bgpaas_vm1 ID is dfc26c1a-8fc4-46e5-ad97-11ab95c9fede
2025-10-08 18:07:56,729 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-4239-2
2025-10-08 18:07:56,804 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/dfc26c1a-8fc4-46e5-ad97-11ab95c9fede
2025-10-08 18:07:56,815 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/39c07916-3d55-4e21-bda4-6e75c0fe9a96
2025-10-08 18:08:00,002 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2025-10-08 18:08:00,002 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:00,020 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:04,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 1019ms')
2025-10-08 18:08:04,095 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:04,110 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:08,197 - 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-10-08 18:08:08,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:08,213 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:12,291 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2025-10-08 18:08:12,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:12,305 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:16,390 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms')
2025-10-08 18:08:16,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:16,408 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:20,478 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-10-08 18:08:20,478 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:20,493 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:24,588 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms')
2025-10-08 18:08:24,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:24,601 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:28,680 - 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-10-08 18:08:28,680 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:28,694 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:32,773 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2025-10-08 18:08:32,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:32,793 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:36,864 - 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-10-08 18:08:36,864 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:36,886 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:40,958 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2025-10-08 18:08:40,958 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:40,972 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:45,059 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms')
2025-10-08 18:08:45,059 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:45,077 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:49,152 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-10-08 18:08:49,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:49,168 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:53,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 1022ms')
2025-10-08 18:08:53,253 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:53,270 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:08:57,351 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-10-08 18:08:57,351 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:08:57,367 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:09:01,447 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2025-10-08 18:09:01,447 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-10-08 18:09:01,466 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-11913099:ctest-bgpaas_vn-93360296 is 182.204.118.1 and allocation pool is NOT set
2025-10-08 18:09:03,534 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.984 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 0.984/3.216/5.449/2.232 ms')
2025-10-08 18:09:03,534 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-10-08 18:09:03,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:03,614 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:03,682 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:03,762 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:08,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:08,763 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:08,832 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:08,908 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:13,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:13,910 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:13,979 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:14,069 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:19,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:19,070 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:19,138 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:19,224 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:24,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:24,225 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:24,280 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:24,365 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:29,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:29,366 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:29,424 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:29,510 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:34,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:34,510 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:34,568 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:34,643 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:39,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:39,645 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:39,700 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:39,774 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:44,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:44,775 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:44,843 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-08 18:09:44,951 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-08 18:09:49,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:49,952 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:50,118 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-08 18:09:50,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:50,124 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-11913099-41642462
2025-10-08 18:09:50,208 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-11913099-41642462(b96158f3-9110-4449-97b0-716eb0fbfe13)
2025-10-08 18:09:50,209 - DEBUG - Requesting: http://10.0.0.56:8082/bgp-as-a-service/b96158f3-9110-4449-97b0-716eb0fbfe13
2025-10-08 18:09:50,533 - DEBUG - Requesting: http://10.0.0.56:8082/bgp-as-a-service/b96158f3-9110-4449-97b0-716eb0fbfe13
2025-10-08 18:09:50,564 - INFO - verify_in_api_server passed for BGPaaS obj b96158f3-9110-4449-97b0-716eb0fbfe13
2025-10-08 18:09:50,565 - INFO - BGPaaS(b96158f3-9110-4449-97b0-716eb0fbfe13): verify_on_setup passed
2025-10-08 18:09:50,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:50,565 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:50,796 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-08 18:09:50,796 - INFO - Attaching VMI 39c07916-3d55-4e21-bda4-6e75c0fe9a96 to BGPaaS b96158f3-9110-4449-97b0-716eb0fbfe13
2025-10-08 18:09:50,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:50,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:51,004 - INFO - Configuring BGP on the bird
2025-10-08 18:09:51,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 18:09:51,005 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 182.204.118.4, Port 22
2025-10-08 18:09:51,160 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-10-08 18:09:51,160 - INFO - Configuring BGP on bgpaas_vm1
2025-10-08 18:09:51,160 - 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 182.204.118.4;
protocol bgp bgp_1{
local as 64500;
neighbor 182.204.118.1 as 580;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 182.204.118.4;
}
protocol bfd {
neighbor 182.204.118.1 local 182.204.118.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-08 18:09:51,160 - 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 182.204.118.4;
protocol bgp bgp_1{
local as 64500;
neighbor 182.204.118.1 as 580;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 182.204.118.4;
}
protocol bfd {
neighbor 182.204.118.1 local 182.204.118.4 multihop on;
}
EOS
2025-10-08 18:10:04,794 - DEBUG - None
2025-10-08 18:10:04,794 - 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 182.204.118.4;
protocol bgp bgp_1{
local as 64500;
neighbor 182.204.118.1 as 580;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 182.204.118.4;
}
protocol bfd {
neighbor 182.204.118.1 local 182.204.118.4 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-08 18:10:04,794 - 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 182.204.118.4;
protocol bgp bgp_1{
local as 64500;
neighbor 182.204.118.1 as 580;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 182.204.118.4;
}
protocol bfd {
neighbor 182.204.118.1 local 182.204.118.4 multihop on;
}
EOS
2025-10-08 18:10:05,769 - DEBUG - None
2025-10-08 18:10:05,769 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2025-10-08 18:10:05,769 - DEBUG - service bird restart
2025-10-08 18:10:08,886 - DEBUG - bird stop/waiting
bird start/running, process 1428
2025-10-08 18:10:08,900 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:10:08,922 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:10:14,954 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:10:14,965 - INFO - BGPaaS session seen in control-node 10.20.0.192
2025-10-08 18:10:14,965 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:10:14,982 - INFO - Detaching VMI 39c07916-3d55-4e21-bda4-6e75c0fe9a96 from BGPaaS b96158f3-9110-4449-97b0-716eb0fbfe13
2025-10-08 18:10:15,072 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-11913099-41642462(b96158f3-9110-4449-97b0-716eb0fbfe13)
2025-10-08 18:10:15,139 - DEBUG - Requesting: http://10.0.0.56:8082/bgp-as-a-service/b96158f3-9110-4449-97b0-716eb0fbfe13
2025-10-08 18:10:15,149 - DEBUG - Response Code: 404
2025-10-08 18:10:15,149 - DEBUG - BGPaaS: b96158f3-9110-4449-97b0-716eb0fbfe13 deleted from api server
2025-10-08 18:10:15,149 - INFO - BGPaaS(b96158f3-9110-4449-97b0-716eb0fbfe13): verify_on_cleanup passed
2025-10-08 18:10:15,149 - INFO - Deleting VM bgpaas_vm1
2025-10-08 18:10:15,255 - INFO - Deleting VM test_vm
2025-10-08 18:10:15,318 - INFO - Deleting VN ctest-bgpaas_vn-93360296
2025-10-08 18:10:15,363 - DEBUG - VN 919d56ed-fe07-4c26-94f3-560955e73d55 still in use: Unable to complete operation on network 919d56ed-fe07-4c26-94f3-560955e73d55. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-c1575796-65cf-460b-b30a-93fc3fd29cb9']
2025-10-08 18:10:15,363 - WARNING - Deleting VN ctest-bgpaas_vn-93360296 failed..Will retry
2025-10-08 18:10:17,578 - DEBUG - Response for deleting network ()
2025-10-08 18:10:18,855 - DEBUG - Skipping xmpp flap check
2025-10-08 18:10:18,856 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:20]
2025-10-08 18:10:18,856 - INFO - --------------------------------------------------------------------------------
2025-10-08 18:10:19,553 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-11913099, ID : 9df3bc5f-8a06-4fb0-aa26-92e1f284052d
2025-10-08 18:13:21,596 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:13:21,614 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:13:27,631 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:13:43,805 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:13:49,822 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:13:59,245 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:14:05,259 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:14:05,277 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:14:11,295 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:16:56,014 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:16:56,027 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:16:56,053 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:17:02,067 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:17:02,083 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:17:08,102 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:17:14,168 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:17:14,182 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:17:14,203 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-10-08 18:17:14,215 - DEBUG - Requesting: http://10.20.0.19:8083/Snh_BgpNeighborReq?domain=&ip_address=