2025-08-15 11:10:58,847 - INFO - Domain Default found not creating
2025-08-15 11:10:58,967 - INFO - Project ctest-TestBGPaaSlocalAS-06897272 not found, creating it
2025-08-15 11:10:59,437 - INFO - Created Project:ctest-TestBGPaaSlocalAS-06897272, ID : 09baf8d4-98e6-43eb-96be-603e97b6b171
2025-08-15 11:11:00,793 - DEBUG - Services list from nova: [, , , ]
2025-08-15 11:11:00,793 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3861-2', 'an-jenkins-deploy-platform-ansible-os-3861-1']}
2025-08-15 11:11:00,795 - INFO - ================================================================================
2025-08-15 11:11:00,795 - INFO - STARTING TEST : test_basic_bgpaas_local_as
2025-08-15 11:11:00,795 - 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-15 11:11:02,070 - DEBUG - Skipping xmpp flap check
2025-08-15 11:11:02,070 - INFO - Initial checks done. Running the testcase now
2025-08-15 11:11:02,071 - INFO -
2025-08-15 11:11:02,740 - DEBUG - Response for create_network : {'network': {'id': '0784f45e-bffb-42ca-a732-52c4a61cfea6', 'name': 'ctest-bgpaas_vn-94445115', 'tenant_id': '09baf8d498e643eb96be603e97b6b171', 'project_id': '09baf8d498e643eb96be603e97b6b171', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaSlocalAS-06897272', 'ctest-bgpaas_vn-94445115'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 11:11:02,989 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ebceb949-ecd0-4752-80a7-28f299ce595e', 'name': '', 'tenant_id': '09baf8d498e643eb96be603e97b6b171', 'network_id': '0784f45e-bffb-42ca-a732-52c4a61cfea6', 'ip_version': 4, 'cidr': '118.62.5.128/26', 'allocation_pools': [{'start': '118.62.5.130', 'end': '118.62.5.190'}], 'gateway_ip': '118.62.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.62.5.130', 'tags': [], 'project_id': '09baf8d498e643eb96be603e97b6b171'}}
2025-08-15 11:11:03,011 - INFO - Created VN ctest-bgpaas_vn-94445115
2025-08-15 11:11:03,022 - DEBUG - VN ctest-bgpaas_vn-94445115 UUID is 0784f45e-bffb-42ca-a732-52c4a61cfea6
2025-08-15 11:11:04,442 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-2)
2025-08-15 11:11:04,556 - DEBUG - Image by name ubuntu-bird not found
2025-08-15 11:11:04,556 - DEBUG - Installing image ubuntu-bird
2025-08-15 11:11:04,556 - 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-15 11:11:04,556 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-15 11:11:04,556 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-15 11:11:04,568 - 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-15 11:11:07,247 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-15 11:11:07,286 - DEBUG - Unzip image
2025-08-15 11:11:07,286 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-15 11:11:17,240 - DEBUG - Try to create image in user context
2025-08-15 11:11:23,709 - DEBUG - Image has been created in user context
2025-08-15 11:11:23,709 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-08-15 11:11:23,861 - DEBUG - Downloaded image has been removed
2025-08-15 11:11:23,872 - DEBUG - Uploaded image status = active
2025-08-15 11:11:24,887 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3861-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3861-1)
2025-08-15 11:11:24,888 - INFO - Waiting for VM test_vm to be up..
2025-08-15 11:11:24,964 - DEBUG - VM is in ACTIVE state now
2025-08-15 11:11:24,964 - INFO - VM name : test_vm
2025-08-15 11:11:25,039 - DEBUG - VM test_vm ID is 36aea973-45de-41ab-8856-643b1606a96b
2025-08-15 11:11:25,073 - DEBUG - VM test_vm launched on Node an-jenkins-deploy-platform-ansible-os-3861-2
2025-08-15 11:11:25,156 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/36aea973-45de-41ab-8856-643b1606a96b
2025-08-15 11:11:25,446 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/36aea973-45de-41ab-8856-643b1606a96b
2025-08-15 11:11:25,510 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/22636f65-d5fd-4cc1-a0f5-05ad7dd40e21
2025-08-15 11:11:26,706 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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.043/2.128/3.213/1.085 ms')
2025-08-15 11:11:26,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed
2025-08-15 11:11:26,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:11:26,786 - DEBUG - Waiting to SSH to VM test_vm, IP 118.62.5.131, Port 22
2025-08-15 11:11:26,864 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-08-15 11:11:26,949 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:11:31,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:11:31,951 - DEBUG - Waiting to SSH to VM test_vm, IP 118.62.5.131, Port 22
2025-08-15 11:11:32,125 - DEBUG - VM test_vm is ready for SSH connections
2025-08-15 11:11:32,126 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-08-15 11:11:32,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 11:11:37,307 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 11:11:42,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 11:11:47,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 11:11:52,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 11:11:57,686 - DEBUG - VM is in ACTIVE state now
2025-08-15 11:11:57,686 - INFO - VM name : bgpaas_vm1
2025-08-15 11:11:57,757 - DEBUG - VM bgpaas_vm1 ID is 7f08f9b5-682d-4936-880e-c1a4ca754b3d
2025-08-15 11:11:57,757 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3861-1
2025-08-15 11:11:57,832 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7f08f9b5-682d-4936-880e-c1a4ca754b3d
2025-08-15 11:11:57,842 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5a95cca3-c41d-4e68-9e9d-81654b077012
2025-08-15 11:12:01,040 - 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 1035ms')
2025-08-15 11:12:01,040 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:01,056 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:05,123 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2025-08-15 11:12:05,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:05,138 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:09,223 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2025-08-15 11:12:09,223 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:09,241 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:13,314 - 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-15 11:12:13,314 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:13,329 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:17,424 - 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-08-15 11:12:17,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:17,441 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:21,507 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms')
2025-08-15 11:12:21,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:21,522 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:25,611 - 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-08-15 11:12:25,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:25,625 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:29,707 - 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-08-15 11:12:29,707 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:29,721 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:33,804 - 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-08-15 11:12:33,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:33,817 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:37,896 - 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-15 11:12:37,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:37,909 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:41,992 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms')
2025-08-15 11:12:41,992 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:42,005 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:46,091 - 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-15 11:12:46,091 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:46,107 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:50,187 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2025-08-15 11:12:50,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:50,201 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:54,281 - 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-08-15 11:12:54,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:54,296 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:12:58,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 1019ms')
2025-08-15 11:12:58,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:12:58,397 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:13:02,474 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2025-08-15 11:13:02,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:13:02,487 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:13:06,568 - 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-15 11:13:06,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-15 11:13:06,580 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaSlocalAS-06897272:ctest-bgpaas_vn-94445115 is 118.62.5.129 and allocation pool is NOT set
2025-08-15 11:13:08,649 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.783 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 = 0.783/2.574/4.366/1.791 ms')
2025-08-15 11:13:08,649 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-08-15 11:13:08,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:08,717 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:08,772 - 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-15 11:13:08,857 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:13,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:13,858 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:13,922 - 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-15 11:13:13,997 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:18,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:18,997 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:19,072 - 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-15 11:13:19,177 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:24,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:24,177 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:24,242 - 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-15 11:13:24,315 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:29,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:29,315 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:29,382 - 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-15 11:13:29,461 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:34,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:34,462 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:34,527 - 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-15 11:13:34,600 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:39,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:39,601 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:39,666 - 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-15 11:13:39,736 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:44,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:44,737 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:44,802 - 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-15 11:13:44,886 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:49,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:49,887 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:49,944 - 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-15 11:13:50,037 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-15 11:13:55,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:55,038 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:55,215 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-15 11:13:55,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:55,221 - INFO - Creating BGPaaS ctest-TestBGPaaSlocalAS-06897272-63405975
2025-08-15 11:13:55,295 - INFO - BGPaaS: ctest-TestBGPaaSlocalAS-06897272-63405975(d4b9f46a-0cca-43f7-872f-b897f814ec80)
2025-08-15 11:13:55,296 - DEBUG - Requesting: http://10.0.0.50:8082/bgp-as-a-service/d4b9f46a-0cca-43f7-872f-b897f814ec80
2025-08-15 11:13:55,585 - DEBUG - Requesting: http://10.0.0.50:8082/bgp-as-a-service/d4b9f46a-0cca-43f7-872f-b897f814ec80
2025-08-15 11:13:55,616 - INFO - verify_in_api_server passed for BGPaaS obj d4b9f46a-0cca-43f7-872f-b897f814ec80
2025-08-15 11:13:55,616 - INFO - BGPaaS(d4b9f46a-0cca-43f7-872f-b897f814ec80): verify_on_setup passed
2025-08-15 11:13:55,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:55,616 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:55,782 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-15 11:13:55,782 - INFO - Attaching VMI 5a95cca3-c41d-4e68-9e9d-81654b077012 to BGPaaS d4b9f46a-0cca-43f7-872f-b897f814ec80
2025-08-15 11:13:55,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:55,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:55,985 - INFO - Configuring BGP on the bird
2025-08-15 11:13:55,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 11:13:55,985 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 118.62.5.132, Port 22
2025-08-15 11:13:56,140 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-15 11:13:56,140 - INFO - Configuring BGP on bgpaas_vm1
2025-08-15 11:13:56,141 - 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 118.62.5.132;
protocol bgp bgp_1{
local as 64500;
neighbor 118.62.5.129 as 209;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 118.62.5.132;
}
protocol bfd {
neighbor 118.62.5.129 local 118.62.5.132 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-15 11:13:56,141 - 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 118.62.5.132;
protocol bgp bgp_1{
local as 64500;
neighbor 118.62.5.129 as 209;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 118.62.5.132;
}
protocol bfd {
neighbor 118.62.5.129 local 118.62.5.132 multihop on;
}
EOS
2025-08-15 11:14:13,214 - DEBUG - None
2025-08-15 11:14:13,214 - 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 118.62.5.132;
protocol bgp bgp_1{
local as 64500;
neighbor 118.62.5.129 as 209;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 118.62.5.132;
}
protocol bfd {
neighbor 118.62.5.129 local 118.62.5.132 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-15 11:14:13,214 - 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 118.62.5.132;
protocol bgp bgp_1{
local as 64500;
neighbor 118.62.5.129 as 209;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 118.62.5.132;
}
protocol bfd {
neighbor 118.62.5.129 local 118.62.5.132 multihop on;
}
EOS
2025-08-15 11:14:14,201 - DEBUG - None
2025-08-15 11:14:14,201 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-08-15 11:14:14,201 - DEBUG - service bird restart
2025-08-15 11:14:17,215 - DEBUG - bird stop/waiting
bird start/running, process 1433
2025-08-15 11:14:17,230 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:14:17,250 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:14:23,283 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:14:23,296 - INFO - BGPaaS session seen in control-node 10.20.0.14
2025-08-15 11:14:23,297 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:14:23,307 - INFO - Detaching VMI 5a95cca3-c41d-4e68-9e9d-81654b077012 from BGPaaS d4b9f46a-0cca-43f7-872f-b897f814ec80
2025-08-15 11:14:23,385 - INFO - Deleting BGPaaS ctest-TestBGPaaSlocalAS-06897272-63405975(d4b9f46a-0cca-43f7-872f-b897f814ec80)
2025-08-15 11:14:23,442 - DEBUG - Requesting: http://10.0.0.50:8082/bgp-as-a-service/d4b9f46a-0cca-43f7-872f-b897f814ec80
2025-08-15 11:14:23,454 - DEBUG - Response Code: 404
2025-08-15 11:14:23,455 - DEBUG - BGPaaS: d4b9f46a-0cca-43f7-872f-b897f814ec80 deleted from api server
2025-08-15 11:14:23,455 - INFO - BGPaaS(d4b9f46a-0cca-43f7-872f-b897f814ec80): verify_on_cleanup passed
2025-08-15 11:14:23,455 - INFO - Deleting VM bgpaas_vm1
2025-08-15 11:14:23,543 - INFO - Deleting VM test_vm
2025-08-15 11:14:23,600 - INFO - Deleting VN ctest-bgpaas_vn-94445115
2025-08-15 11:14:23,638 - DEBUG - VN 0784f45e-bffb-42ca-a732-52c4a61cfea6 still in use: Unable to complete operation on network 0784f45e-bffb-42ca-a732-52c4a61cfea6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-96815f44-b22b-479e-a76a-56e955bb2da7']
2025-08-15 11:14:23,639 - WARNING - Deleting VN ctest-bgpaas_vn-94445115 failed..Will retry
2025-08-15 11:14:25,826 - DEBUG - Response for deleting network ()
2025-08-15 11:14:27,106 - DEBUG - Skipping xmpp flap check
2025-08-15 11:14:27,106 - INFO - END TEST : test_basic_bgpaas_local_as : PASSED[0:03:27]
2025-08-15 11:14:27,106 - INFO - --------------------------------------------------------------------------------
2025-08-15 11:14:27,858 - INFO - Deleted project: ctest-TestBGPaaSlocalAS-06897272, ID : 09baf8d4-98e6-43eb-96be-603e97b6b171
2025-08-15 11:17:30,625 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:17:30,642 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:17:36,657 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:17:42,673 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:17:58,567 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:18:08,080 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:18:14,095 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:18:14,113 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:18:20,127 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:15,675 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:15,688 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:15,707 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:21,719 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:27,743 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:27,762 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:39,494 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:39,507 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:39,528 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-15 11:21:39,540 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=