2025-08-06 14:28:21,077 - INFO - Domain Default found not creating
2025-08-06 14:28:21,253 - INFO - Project ctest-TestBGPaaS-58682096 not found, creating it
2025-08-06 14:28:21,855 - INFO - Created Project:ctest-TestBGPaaS-58682096, ID : 0c36d980-70e2-412f-94d7-dcb156c3b671
2025-08-06 14:28:23,362 - INFO - Using existing project ['default-domain', 'admin'](07393d47-d984-4396-b18a-b446d7fc2560)
2025-08-06 14:28:24,134 - INFO - Adding rules to the default security group in Project admin
2025-08-06 14:28:24,513 - DEBUG - Services list from nova: [, , , ]
2025-08-06 14:28:24,513 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3763-1', 'an-jenkins-deploy-platform-ansible-os-3763-2']}
2025-08-06 14:28:24,515 - INFO - ================================================================================
2025-08-06 14:28:24,515 - INFO - STARTING TEST : test_bgpaas_basic
2025-08-06 14:28:24,515 - 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-08-06 14:28:25,186 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.57': {'10.20.0.25': '0', '10.20.0.14': '0'}} with
2025-08-06 14:28:25,186 - INFO - Initial checks done. Running the testcase now
2025-08-06 14:28:25,187 - INFO -
2025-08-06 14:28:26,391 - DEBUG - Response for create_network : {'network': {'id': '60d78cd1-fe57-4355-8b50-6d18731417ae', 'name': 'ctest-bgpaas_vn-28939806', 'tenant_id': '0c36d98070e2412f94d7dcb156c3b671', 'project_id': '0c36d98070e2412f94d7dcb156c3b671', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaS-58682096', 'ctest-bgpaas_vn-28939806'], 'port_security_enabled': True, 'description': ''}}
2025-08-06 14:28:26,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '596ed68e-5ba4-4015-994f-b721004fd869', 'name': '', 'tenant_id': '0c36d98070e2412f94d7dcb156c3b671', 'network_id': '60d78cd1-fe57-4355-8b50-6d18731417ae', 'ip_version': 4, 'cidr': '80.222.210.64/26', 'allocation_pools': [{'start': '80.222.210.66', 'end': '80.222.210.126'}], 'gateway_ip': '80.222.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.222.210.66', 'tags': [], 'project_id': '0c36d98070e2412f94d7dcb156c3b671'}}
2025-08-06 14:28:26,737 - INFO - Created VN ctest-bgpaas_vn-28939806
2025-08-06 14:28:26,750 - DEBUG - VN ctest-bgpaas_vn-28939806 UUID is 60d78cd1-fe57-4355-8b50-6d18731417ae
2025-08-06 14:28:26,894 - DEBUG - Image by name ubuntu-bird not found
2025-08-06 14:28:26,894 - DEBUG - Installing image ubuntu-bird
2025-08-06 14:28:26,894 - 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-06 14:28:26,894 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-06 14:28:26,895 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-06 14:28:26,905 - 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-06 14:28:29,567 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-06 14:28:29,575 - DEBUG - Unzip image
2025-08-06 14:28:29,575 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-06 14:28:39,823 - DEBUG - Try to create image in user context
2025-08-06 14:28:46,589 - DEBUG - Image has been created in user context
2025-08-06 14:28:46,590 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-08-06 14:28:46,724 - DEBUG - Downloaded image has been removed
2025-08-06 14:28:46,740 - DEBUG - Uploaded image status = active
2025-08-06 14:28:47,856 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3763-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3763-1)
2025-08-06 14:28:47,856 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-08-06 14:28:47,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 14:28:53,015 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 14:28:58,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 14:29:03,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 14:29:08,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 14:29:13,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 14:29:18,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-06 14:29:23,535 - DEBUG - VM is in ACTIVE state now
2025-08-06 14:29:23,536 - INFO - VM name : bgpaas_vm1
2025-08-06 14:29:23,614 - DEBUG - VM bgpaas_vm1 ID is 3de1cc98-231f-4301-baf7-e2c85e590c1a
2025-08-06 14:29:23,637 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3763-1
2025-08-06 14:29:23,721 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3de1cc98-231f-4301-baf7-e2c85e590c1a
2025-08-06 14:29:24,039 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3de1cc98-231f-4301-baf7-e2c85e590c1a
2025-08-06 14:29:24,073 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3d73762e-0ba4-4747-ab92-71193c7a8b34
2025-08-06 14:29:27,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 1013ms')
2025-08-06 14:29:27,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:27,297 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:31,338 - 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-06 14:29:31,338 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:31,354 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:35,405 - 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-08-06 14:29:35,405 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:35,421 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:39,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 1029ms')
2025-08-06 14:29:39,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:39,483 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:43,535 - 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-08-06 14:29:43,536 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:43,550 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:47,601 - 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 1030ms')
2025-08-06 14:29:47,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:47,616 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:51,662 - 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-08-06 14:29:51,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:51,683 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:55,729 - 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-06 14:29:55,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:55,746 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:29:59,790 - 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-06 14:29:59,790 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:29:59,806 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:03,859 - 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-08-06 14:30:03,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:03,874 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:07,916 - 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-08-06 14:30:07,916 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:07,931 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:11,978 - 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-08-06 14:30:11,978 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:11,994 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:16,043 - 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-08-06 14:30:16,043 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:16,059 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:20,111 - 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 1032ms')
2025-08-06 14:30:20,111 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:20,128 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:24,174 - 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-06 14:30:24,174 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:24,199 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:28,243 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-08-06 14:30:28,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:28,263 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:32,305 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-08-06 14:30:32,305 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:32,321 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:36,363 - 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-06 14:30:36,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-06 14:30:36,376 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-58682096:ctest-bgpaas_vn-28939806 is 80.222.210.65 and allocation pool is NOT set
2025-08-06 14:30:38,401 - 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=8.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.19 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 = 4.190/6.179/8.169/1.989 ms')
2025-08-06 14:30:38,401 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-08-06 14:30:38,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:30:38,516 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:30:38,539 - 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-06 14:30:38,622 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:30:43,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:30:43,624 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:30:43,649 - 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-06 14:30:43,739 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:30:48,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:30:48,740 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:30:48,754 - 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-06 14:30:48,834 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:30:53,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:30:53,835 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:30:53,859 - 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-06 14:30:53,937 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:30:58,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:30:58,938 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:30:58,952 - 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-06 14:30:59,040 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:31:04,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:31:04,041 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:31:04,055 - 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-06 14:31:04,147 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:31:09,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:31:09,147 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:31:09,171 - 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-06 14:31:09,273 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:31:14,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:31:14,275 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:31:14,299 - 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-06 14:31:14,377 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:31:19,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:31:19,377 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:31:19,403 - 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-06 14:31:19,479 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-06 14:31:24,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:31:24,480 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 80.222.210.67, Port 22
2025-08-06 14:31:24,563 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-06 14:31:24,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-06 14:31:24,710 - INFO - Creating BGPaaS ctest-TestBGPaaS-58682096-29125458
2025-08-06 14:31:24,782 - INFO - BGPaaS: ctest-TestBGPaaS-58682096-29125458(f964a3e4-17a4-4dad-a7d6-a7eea8c43780)
2025-08-06 14:31:24,782 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:31:25,087 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:31:25,120 - INFO - verify_in_api_server passed for BGPaaS obj f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:31:25,120 - INFO - BGPaaS(f964a3e4-17a4-4dad-a7d6-a7eea8c43780): verify_on_setup passed
2025-08-06 14:31:25,120 - INFO - We will configure BGP on the VM
2025-08-06 14:31:25,120 - INFO - Configuring BGP on bgpaas_vm1
2025-08-06 14:31:25,121 - 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 80.222.210.67;
protocol bgp bgp_1{
local as 64500;
neighbor 80.222.210.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 80.222.210.67;
}
protocol bfd {
neighbor 80.222.210.65 local 80.222.210.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 14:31:25,121 - 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 80.222.210.67;
protocol bgp bgp_1{
local as 64500;
neighbor 80.222.210.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 80.222.210.67;
}
protocol bfd {
neighbor 80.222.210.65 local 80.222.210.67 multihop on;
}
EOS
2025-08-06 14:31:41,834 - DEBUG - None
2025-08-06 14:31:41,834 - 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 80.222.210.67;
protocol bgp bgp_1{
local as 64500;
neighbor 80.222.210.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 80.222.210.67;
}
protocol bfd {
neighbor 80.222.210.65 local 80.222.210.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 14:31:41,834 - 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 80.222.210.67;
protocol bgp bgp_1{
local as 64500;
neighbor 80.222.210.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 80.222.210.67;
}
protocol bfd {
neighbor 80.222.210.65 local 80.222.210.67 multihop on;
}
EOS
2025-08-06 14:31:42,858 - DEBUG - None
2025-08-06 14:31:42,858 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-08-06 14:31:42,858 - DEBUG - service bird restart
2025-08-06 14:31:46,104 - DEBUG - bird stop/waiting
bird start/running, process 1422
2025-08-06 14:31:46,104 - INFO - Attaching the VMI to the BGPaaS object
2025-08-06 14:31:46,104 - INFO - Attaching VMI 3d73762e-0ba4-4747-ab92-71193c7a8b34 to BGPaaS f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:31:46,234 - INFO - Creating Health Check ctest-TestBGPaaS-58682096-22582167
2025-08-06 14:31:46,310 - INFO - Health Check: ctest-TestBGPaaS-58682096-22582167(57612a27-c595-4b39-b1ff-1b913d642a61), type BFD
2025-08-06 14:31:46,311 - DEBUG - Requesting: http://10.0.0.254:8082/service-health-check/57612a27-c595-4b39-b1ff-1b913d642a61
2025-08-06 14:31:46,337 - INFO - verify_in_api_server passed for HC obj 57612a27-c595-4b39-b1ff-1b913d642a61
2025-08-06 14:31:46,337 - INFO - Health Check(57612a27-c595-4b39-b1ff-1b913d642a61): verify_on_setup passed
2025-08-06 14:31:46,337 - INFO - Attaching HC 57612a27-c595-4b39-b1ff-1b913d642a61 to BGPaaS f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:31:46,470 - INFO - Check HC obj 57612a27-c595-4b39-b1ff-1b913d642a61 on agent 10.0.0.49
2025-08-06 14:31:46,482 - INFO - verify_in_agent passed for HC obj 57612a27-c595-4b39-b1ff-1b913d642a61
2025-08-06 14:31:46,501 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:31:46,533 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:31:52,576 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:31:52,595 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:31:58,630 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:31:58,646 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:04,681 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:04,699 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:10,734 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:10,751 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:16,784 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:16,802 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:22,836 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:22,855 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:28,889 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:28,908 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:34,942 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:34,960 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:40,993 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:41,012 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:47,048 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:47,066 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-06 14:32:47,110 - INFO - Detaching HC 57612a27-c595-4b39-b1ff-1b913d642a61 from BGPaaS f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:32:47,234 - INFO - Deleting Health Check ctest-TestBGPaaS-58682096-22582167(57612a27-c595-4b39-b1ff-1b913d642a61)
2025-08-06 14:32:47,307 - DEBUG - Requesting: http://10.0.0.254:8082/service-health-check/57612a27-c595-4b39-b1ff-1b913d642a61
2025-08-06 14:32:47,317 - DEBUG - Response Code: 404
2025-08-06 14:32:47,317 - DEBUG - HC: 57612a27-c595-4b39-b1ff-1b913d642a61 deleted from api server
2025-08-06 14:32:47,317 - INFO - Health Check(57612a27-c595-4b39-b1ff-1b913d642a61): verify_on_cleanup passed
2025-08-06 14:32:47,318 - INFO - Detaching VMI 3d73762e-0ba4-4747-ab92-71193c7a8b34 from BGPaaS f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:32:47,398 - INFO - Deleting BGPaaS ctest-TestBGPaaS-58682096-29125458(f964a3e4-17a4-4dad-a7d6-a7eea8c43780)
2025-08-06 14:32:47,440 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/f964a3e4-17a4-4dad-a7d6-a7eea8c43780
2025-08-06 14:32:47,448 - DEBUG - Response Code: 404
2025-08-06 14:32:47,449 - DEBUG - BGPaaS: f964a3e4-17a4-4dad-a7d6-a7eea8c43780 deleted from api server
2025-08-06 14:32:47,449 - INFO - BGPaaS(f964a3e4-17a4-4dad-a7d6-a7eea8c43780): verify_on_cleanup passed
2025-08-06 14:32:47,449 - INFO - Deleting VM bgpaas_vm1
2025-08-06 14:32:47,530 - INFO - Deleting VN ctest-bgpaas_vn-28939806
2025-08-06 14:32:47,584 - DEBUG - VN 60d78cd1-fe57-4355-8b50-6d18731417ae still in use: Unable to complete operation on network 60d78cd1-fe57-4355-8b50-6d18731417ae. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-be86b51f-e59a-46f3-93bb-d6013dd6a1c8']
2025-08-06 14:32:47,584 - WARNING - Deleting VN ctest-bgpaas_vn-28939806 failed..Will retry
2025-08-06 14:32:49,842 - DEBUG - Response for deleting network ()
2025-08-06 14:32:51,110 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Wed Aug 6 14:32:47 2025
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/scripts/bgpaas/test_bgpaas.py in test_bgpaas_basic(self=)
1576 Maintainer: ganeshahv@juniper.net
1577 '''
1578 self.bgpaas_basic_common(attach_to='bgpaas')
1579 # end test_bgpaas_basic
1580
self =
self.bgpaas_basic_common = >
attach_to undefined
/contrail-test/scripts/bgpaas/test_bgpaas.py in bgpaas_basic_common(self=, attach_to='bgpaas')
1616 shc_fixture.verify_in_agent(agent)
1617 assert bgpaas_fixture.verify_in_control_node(
1618 bgpaas_vm), 'BGPaaS Session not seen in the control-node'
1619 assert self.verify_bfd_packets(
1620 bgpaas_vm, vn_fixture), 'Multihop BFD packets not seen over the BGPaaS interface'
bgpaas_vm =
AssertionError: BGPaaS Session not seen in the control-node
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__eq__ =
__format__ =
__ge__ =
__getattribute__ =
__gt__ =
__hash__ =
__init__ =
__init_subclass__ =
__le__ =
__lt__ =
__ne__ =
__new__ =
__reduce__ =
__reduce_ex__ =
__repr__ =
__setattr__ =
__setstate__ =
__sizeof__ =
__str__ =
__subclasshook__ =
__suppress_context__ = False
__traceback__ =
args = ('BGPaaS Session not seen in the control-node',)
with_traceback =
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/bgpaas/test_bgpaas.py", line 1578, in test_bgpaas_basic
self.bgpaas_basic_common(attach_to='bgpaas')
File "/contrail-test/scripts/bgpaas/test_bgpaas.py", line 1618, in bgpaas_basic_common
bgpaas_vm), 'BGPaaS Session not seen in the control-node'
AssertionError: BGPaaS Session not seen in the control-node
2025-08-06 14:32:51,129 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 14:32:51,129 - INFO -
2025-08-06 14:32:51,129 - INFO - END TEST : test_bgpaas_basic : FAILED[0:04:27]
2025-08-06 14:32:51,129 - INFO - --------------------------------------------------------------------------------
2025-08-06 14:32:51,892 - INFO - Deleted project: ctest-TestBGPaaS-58682096, ID : 0c36d980-70e2-412f-94d7-dcb156c3b671
2025-08-06 15:31:09,405 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-91356128:ctest-bgpaas_vn-91356128.inet.0
2025-08-06 15:31:09,425 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-91356128:ctest-bgpaas_vn-91356128.inet.0
2025-08-06 15:31:40,593 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-53412767:ctest-bgpaas_vn-53412767.inet.0
2025-08-06 15:31:41,626 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-53412767:ctest-bgpaas_vn-53412767.inet.0
2025-08-06 15:31:41,641 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-53412767:ctest-bgpaas_vn-53412767.inet.0
2025-08-06 15:31:45,827 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-53412767:ctest-bgpaas_vn-53412767.inet.0
2025-08-06 15:31:45,858 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-53412767:ctest-bgpaas_vn-53412767.inet.0
2025-08-06 15:32:13,683 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-83261051:ctest-bgpaas_vn-83261051.inet.0
2025-08-06 15:32:13,702 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-26706320:ctest-bgpaas_vn-83261051:ctest-bgpaas_vn-83261051.inet.0