2025-07-23 15:02:21,738 - INFO - Domain Default found not creating
2025-07-23 15:02:21,908 - INFO - Project ctest-TestBGPaaS-18104947 not found, creating it
2025-07-23 15:02:22,552 - INFO - Created Project:ctest-TestBGPaaS-18104947, ID : 84ae2640-7849-4a07-a8b1-08708874dd79
2025-07-23 15:02:24,531 - INFO - Using existing project ['default-domain', 'admin'](de188a85-0813-4d84-b64d-a8a6d4ed6ea9)
2025-07-23 15:02:25,404 - INFO - Adding rules to the default security group in Project admin
2025-07-23 15:02:25,837 - DEBUG - Services list from nova: [, , , ]
2025-07-23 15:02:25,837 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3704-2', 'an-jenkins-deploy-platform-ansible-os-3704-1']}
2025-07-23 15:02:25,840 - INFO - ================================================================================
2025-07-23 15:02:25,847 - INFO - STARTING TEST : test_bgpaas_basic
2025-07-23 15:02:25,852 - INFO - TEST DESCRIPTION :
1. Create a BGPaaS object with shared attribute, IP address and ASN.
2. Launch a VM which will act as the BGPaaS client.
3. Configure BFDoBGPaaS on it.
4. Verify BGP and BFD sessions over it come up fine.
Maintainer: ganeshahv@juniper.net
2025-07-23 15:02:26,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.130': {'10.20.0.17': '0', '10.20.0.254': '0'}} with
2025-07-23 15:02:26,575 - INFO - Initial checks done. Running the testcase now
2025-07-23 15:02:26,575 - INFO -
2025-07-23 15:02:27,465 - DEBUG - Response for create_network : {'network': {'id': '82afe8f7-1b35-4d44-8b8e-83747b255a32', 'name': 'ctest-bgpaas_vn-51891163', 'tenant_id': '84ae264078494a07a8b108708874dd79', 'project_id': '84ae264078494a07a8b108708874dd79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaS-18104947', 'ctest-bgpaas_vn-51891163'], 'port_security_enabled': True, 'description': ''}}
2025-07-23 15:02:27,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '6feb551e-9b4b-4176-bcbb-a2a6415f3b40', 'name': '', 'tenant_id': '84ae264078494a07a8b108708874dd79', 'network_id': '82afe8f7-1b35-4d44-8b8e-83747b255a32', 'ip_version': 4, 'cidr': '147.152.80.64/26', 'allocation_pools': [{'start': '147.152.80.66', 'end': '147.152.80.126'}], 'gateway_ip': '147.152.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.152.80.66', 'tags': [], 'project_id': '84ae264078494a07a8b108708874dd79'}}
2025-07-23 15:02:27,875 - INFO - Created VN ctest-bgpaas_vn-51891163
2025-07-23 15:02:27,895 - DEBUG - VN ctest-bgpaas_vn-51891163 UUID is 82afe8f7-1b35-4d44-8b8e-83747b255a32
2025-07-23 15:02:28,156 - DEBUG - Image by name ubuntu-bird not found
2025-07-23 15:02:28,156 - DEBUG - Installing image ubuntu-bird
2025-07-23 15:02:28,156 - 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-07-23 15:02:28,157 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-07-23 15:02:28,157 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-07-23 15:02:28,170 - 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-07-23 15:02:31,115 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-07-23 15:02:31,116 - DEBUG - Unzip image
2025-07-23 15:02:31,117 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-07-23 15:02:41,555 - DEBUG - Try to create image in user context
2025-07-23 15:02:48,680 - DEBUG - Image has been created in user context
2025-07-23 15:02:48,680 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-07-23 15:02:48,835 - DEBUG - Downloaded image has been removed
2025-07-23 15:02:48,849 - DEBUG - Uploaded image status = active
2025-07-23 15:02:49,940 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3704-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3704-2)
2025-07-23 15:02:49,940 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-07-23 15:02:50,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:02:55,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:03:00,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:03:05,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:03:10,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:03:15,528 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:03:20,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-23 15:03:25,722 - DEBUG - VM is in ACTIVE state now
2025-07-23 15:03:25,723 - INFO - VM name : bgpaas_vm1
2025-07-23 15:03:25,933 - DEBUG - VM bgpaas_vm1 ID is ddca7ebf-17ac-442b-b891-ff594c834bf1
2025-07-23 15:03:25,962 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3704-2
2025-07-23 15:03:26,059 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ddca7ebf-17ac-442b-b891-ff594c834bf1
2025-07-23 15:03:26,370 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ddca7ebf-17ac-442b-b891-ff594c834bf1
2025-07-23 15:03:26,415 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/24539a06-724d-4715-a6a6-03fa8fa9cf2b
2025-07-23 15:03:29,634 - 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 1034ms')
2025-07-23 15:03:29,634 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:29,655 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:03:33,698 - 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-07-23 15:03:33,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:33,718 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:03:37,761 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms')
2025-07-23 15:03:37,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:37,777 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:03:41,824 - 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-07-23 15:03:41,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:41,841 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:03:45,892 - 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 1029ms')
2025-07-23 15:03:45,892 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:45,914 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:03:49,951 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms')
2025-07-23 15:03:49,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:49,969 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:03:54,021 - 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 1029ms')
2025-07-23 15:03:54,021 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:54,041 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:03:58,084 - 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-07-23 15:03:58,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:03:58,102 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:02,151 - 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-07-23 15:04:02,151 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:02,169 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:06,209 - 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-07-23 15:04:06,209 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:06,229 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:10,274 - 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-07-23 15:04:10,274 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:10,298 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:14,336 - 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-07-23 15:04:14,336 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:14,357 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:18,399 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms')
2025-07-23 15:04:18,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:18,421 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:22,464 - 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 1027ms')
2025-07-23 15:04:22,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:22,486 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:26,534 - 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-07-23 15:04:26,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:26,552 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:30,590 - 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-07-23 15:04:30,590 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:30,607 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:34,654 - 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 1033ms')
2025-07-23 15:04:34,655 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-07-23 15:04:34,678 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18104947:ctest-bgpaas_vn-51891163 is 147.152.80.65 and allocation pool is NOT set
2025-07-23 15:04:38,723 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.03 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 4.034/4.034/4.034/0.000 ms')
2025-07-23 15:04:38,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-07-23 15:04:38,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:04:38,844 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:04:38,871 - 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-07-23 15:04:38,958 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:04:43,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:04:43,959 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:04:43,983 - 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-07-23 15:04:44,082 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:04:49,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:04:49,083 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:04:49,108 - 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-07-23 15:04:49,205 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:04:54,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:04:54,207 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:04:54,222 - 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-07-23 15:04:54,314 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:04:59,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:04:59,315 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:04:59,340 - 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-07-23 15:04:59,434 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:05:04,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:05:04,434 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:05:04,460 - 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-07-23 15:05:04,567 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:05:09,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:05:09,568 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:05:09,594 - 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-07-23 15:05:09,720 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:05:14,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:05:14,721 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:05:14,746 - 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-07-23 15:05:14,866 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:05:19,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:05:19,867 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:05:19,892 - 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-07-23 15:05:19,990 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:05:24,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:05:24,991 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:05:25,015 - 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-07-23 15:05:25,129 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-07-23 15:05:30,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:05:30,130 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 147.152.80.67, Port 22
2025-07-23 15:05:30,215 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-07-23 15:05:30,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-23 15:05:30,427 - INFO - Creating BGPaaS ctest-TestBGPaaS-18104947-22442907
2025-07-23 15:05:30,531 - INFO - BGPaaS: ctest-TestBGPaaS-18104947-22442907(42f91393-e303-463d-b044-f8447969c84d)
2025-07-23 15:05:30,532 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:05:30,834 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:05:30,873 - INFO - verify_in_api_server passed for BGPaaS obj 42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:05:30,873 - INFO - BGPaaS(42f91393-e303-463d-b044-f8447969c84d): verify_on_setup passed
2025-07-23 15:05:30,874 - INFO - We will configure BGP on the VM
2025-07-23 15:05:30,874 - INFO - Configuring BGP on bgpaas_vm1
2025-07-23 15:05:30,875 - 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 147.152.80.67;
protocol bgp bgp_1{
local as 64500;
neighbor 147.152.80.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 147.152.80.67;
}
protocol bfd {
neighbor 147.152.80.65 local 147.152.80.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-07-23 15:05:30,875 - 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 147.152.80.67;
protocol bgp bgp_1{
local as 64500;
neighbor 147.152.80.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 147.152.80.67;
}
protocol bfd {
neighbor 147.152.80.65 local 147.152.80.67 multihop on;
}
EOS
2025-07-23 15:05:46,920 - DEBUG - None
2025-07-23 15:05:46,920 - 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 147.152.80.67;
protocol bgp bgp_1{
local as 64500;
neighbor 147.152.80.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 147.152.80.67;
}
protocol bfd {
neighbor 147.152.80.65 local 147.152.80.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-07-23 15:05:46,920 - 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 147.152.80.67;
protocol bgp bgp_1{
local as 64500;
neighbor 147.152.80.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 147.152.80.67;
}
protocol bfd {
neighbor 147.152.80.65 local 147.152.80.67 multihop on;
}
EOS
2025-07-23 15:05:47,963 - DEBUG - None
2025-07-23 15:05:47,964 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-07-23 15:05:47,964 - DEBUG - service bird restart
2025-07-23 15:05:51,367 - DEBUG - bird stop/waiting
bird start/running, process 1429
2025-07-23 15:05:51,367 - INFO - Attaching the VMI to the BGPaaS object
2025-07-23 15:05:51,367 - INFO - Attaching VMI 24539a06-724d-4715-a6a6-03fa8fa9cf2b to BGPaaS 42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:05:51,519 - INFO - Creating Health Check ctest-TestBGPaaS-18104947-13928169
2025-07-23 15:05:51,627 - INFO - Health Check: ctest-TestBGPaaS-18104947-13928169(5e265be2-2df0-4200-968e-738148271a64), type BFD
2025-07-23 15:05:51,628 - DEBUG - Requesting: http://10.0.0.23:8082/service-health-check/5e265be2-2df0-4200-968e-738148271a64
2025-07-23 15:05:51,661 - INFO - verify_in_api_server passed for HC obj 5e265be2-2df0-4200-968e-738148271a64
2025-07-23 15:05:51,662 - INFO - Health Check(5e265be2-2df0-4200-968e-738148271a64): verify_on_setup passed
2025-07-23 15:05:51,662 - INFO - Attaching HC 5e265be2-2df0-4200-968e-738148271a64 to BGPaaS 42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:05:51,843 - INFO - Check HC obj 5e265be2-2df0-4200-968e-738148271a64 on agent 10.0.0.130
2025-07-23 15:05:51,853 - INFO - verify_in_agent passed for HC obj 5e265be2-2df0-4200-968e-738148271a64
2025-07-23 15:05:51,880 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-07-23 15:05:51,895 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-07-23 15:05:57,942 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-07-23 15:05:57,958 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-07-23 15:06:04,005 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-07-23 15:06:04,022 - INFO - BGPaaS session seen in control-node 10.20.0.17
2025-07-23 15:06:04,022 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-07-23 15:06:11,269 - DEBUG - Running remote_cmd, Cmd : birdc show protocols bfd1, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-07-23 15:06:11,269 - DEBUG - birdc show protocols bfd1
2025-07-23 15:06:11,753 - DEBUG - BIRD 1.4.0 ready.
name proto table state since info
bfd1 BFD master up 15:05:50
2025-07-23 15:06:11,753 - INFO - Detaching HC 5e265be2-2df0-4200-968e-738148271a64 from BGPaaS 42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:06:11,887 - INFO - Deleting Health Check ctest-TestBGPaaS-18104947-13928169(5e265be2-2df0-4200-968e-738148271a64)
2025-07-23 15:06:11,952 - DEBUG - Requesting: http://10.0.0.23:8082/service-health-check/5e265be2-2df0-4200-968e-738148271a64
2025-07-23 15:06:11,961 - DEBUG - Response Code: 404
2025-07-23 15:06:11,961 - DEBUG - HC: 5e265be2-2df0-4200-968e-738148271a64 deleted from api server
2025-07-23 15:06:11,961 - INFO - Health Check(5e265be2-2df0-4200-968e-738148271a64): verify_on_cleanup passed
2025-07-23 15:06:11,961 - INFO - Detaching VMI 24539a06-724d-4715-a6a6-03fa8fa9cf2b from BGPaaS 42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:06:12,056 - INFO - Deleting BGPaaS ctest-TestBGPaaS-18104947-22442907(42f91393-e303-463d-b044-f8447969c84d)
2025-07-23 15:06:12,123 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/42f91393-e303-463d-b044-f8447969c84d
2025-07-23 15:06:12,137 - DEBUG - Response Code: 404
2025-07-23 15:06:12,137 - DEBUG - BGPaaS: 42f91393-e303-463d-b044-f8447969c84d deleted from api server
2025-07-23 15:06:12,137 - INFO - BGPaaS(42f91393-e303-463d-b044-f8447969c84d): verify_on_cleanup passed
2025-07-23 15:06:12,137 - INFO - Deleting VM bgpaas_vm1
2025-07-23 15:06:12,284 - INFO - Deleting VN ctest-bgpaas_vn-51891163
2025-07-23 15:06:12,349 - DEBUG - VN 82afe8f7-1b35-4d44-8b8e-83747b255a32 still in use: Unable to complete operation on network 82afe8f7-1b35-4d44-8b8e-83747b255a32. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-654f6399-20de-488f-b560-3fbc3175411b']
2025-07-23 15:06:12,350 - WARNING - Deleting VN ctest-bgpaas_vn-51891163 failed..Will retry
2025-07-23 15:06:14,597 - DEBUG - Response for deleting network ()
2025-07-23 15:06:15,974 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:06:15,974 - INFO - END TEST : test_bgpaas_basic : PASSED[0:03:50]
2025-07-23 15:06:15,974 - INFO - --------------------------------------------------------------------------------
2025-07-23 15:06:16,753 - INFO - Deleted project: ctest-TestBGPaaS-18104947, ID : 84ae2640-7849-4a07-a8b1-08708874dd79
2025-07-23 16:13:09,755 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-99604566:ctest-bgpaas_vn-99604566.inet.0
2025-07-23 16:13:09,773 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-99604566:ctest-bgpaas_vn-99604566.inet.0
2025-07-23 16:13:36,254 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-17266665:ctest-bgpaas_vn-17266665.inet.0
2025-07-23 16:13:36,265 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-17266665:ctest-bgpaas_vn-17266665.inet.0
2025-07-23 16:13:40,169 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-17266665:ctest-bgpaas_vn-17266665.inet.0
2025-07-23 16:13:40,205 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-17266665:ctest-bgpaas_vn-17266665.inet.0
2025-07-23 16:14:03,523 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-80094004:ctest-bgpaas_vn-80094004.inet.0
2025-07-23 16:14:03,536 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-41036767:ctest-bgpaas_vn-80094004:ctest-bgpaas_vn-80094004.inet.0