2025-07-21 11:56:40,528 - INFO - Domain Default found not creating 2025-07-21 11:56:40,878 - INFO - Project ctest-TestBGPaaS-05157293 not found, creating it 2025-07-21 11:56:41,454 - INFO - Created Project:ctest-TestBGPaaS-05157293, ID : 84ea3a19-e08c-4998-a6de-483cee50afe6 2025-07-21 11:56:43,445 - INFO - Using existing project ['default-domain', 'admin'](847418d9-7445-491b-a497-5d2cf09a838c) 2025-07-21 11:56:44,585 - INFO - Adding rules to the default security group in Project admin 2025-07-21 11:56:44,988 - DEBUG - Services list from nova: [, , ] 2025-07-21 11:56:44,988 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3677-1']} 2025-07-21 11:56:44,991 - INFO - ================================================================================ 2025-07-21 11:56:44,991 - INFO - STARTING TEST : test_bgpaas_basic 2025-07-21 11:56:44,991 - 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-21 11:56:45,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-21 11:56:45,167 - INFO - Initial checks done. Running the testcase now 2025-07-21 11:56:45,167 - INFO - 2025-07-21 11:56:45,819 - DEBUG - Response for create_network : {'network': {'id': 'caee5149-cee4-4081-8cb3-f4dbdf49cad6', 'name': 'ctest-bgpaas_vn-65380419', 'tenant_id': '84ea3a19e08c4998a6de483cee50afe6', 'project_id': '84ea3a19e08c4998a6de483cee50afe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaS-05157293', 'ctest-bgpaas_vn-65380419'], 'port_security_enabled': True, 'description': ''}} 2025-07-21 11:56:46,053 - DEBUG - Response for create_subnet : {'subnet': {'id': '9372416d-129f-4463-a67d-ca1002520bd9', 'name': '', 'tenant_id': '84ea3a19e08c4998a6de483cee50afe6', 'network_id': 'caee5149-cee4-4081-8cb3-f4dbdf49cad6', 'ip_version': 4, 'cidr': '40.83.38.192/26', 'allocation_pools': [{'start': '40.83.38.194', 'end': '40.83.38.254'}], 'gateway_ip': '40.83.38.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.83.38.194', 'tags': [], 'project_id': '84ea3a19e08c4998a6de483cee50afe6'}} 2025-07-21 11:56:46,078 - INFO - Created VN ctest-bgpaas_vn-65380419 2025-07-21 11:56:46,137 - DEBUG - VN ctest-bgpaas_vn-65380419 UUID is caee5149-cee4-4081-8cb3-f4dbdf49cad6 2025-07-21 11:56:46,441 - DEBUG - Image by name ubuntu-bird not found 2025-07-21 11:56:46,441 - DEBUG - Installing image ubuntu-bird 2025-07-21 11:56:46,441 - 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-21 11:56:46,444 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-07-21 11:56:46,445 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-07-21 11:56:46,472 - 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-21 11:56:49,237 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-07-21 11:56:49,237 - DEBUG - Unzip image 2025-07-21 11:56:49,237 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-07-21 11:56:58,683 - DEBUG - Try to create image in user context 2025-07-21 11:57:05,128 - DEBUG - Image has been created in user context 2025-07-21 11:57:05,129 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-07-21 11:57:05,405 - DEBUG - Downloaded image has been removed 2025-07-21 11:57:05,449 - DEBUG - Uploaded image status = active 2025-07-21 11:57:07,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3677-1) 2025-07-21 11:57:07,467 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-07-21 11:57:07,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 11:57:12,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 11:57:17,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 11:57:23,069 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 11:57:28,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 11:57:33,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 11:57:38,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-21 11:57:43,669 - DEBUG - VM is in ACTIVE state now 2025-07-21 11:57:43,669 - INFO - VM name : bgpaas_vm1 2025-07-21 11:57:43,752 - DEBUG - VM bgpaas_vm1 ID is 853a0f56-26fc-4c5a-84d6-340876966e70 2025-07-21 11:57:43,771 - DEBUG - VM bgpaas_vm1 launched on Node cn-jenkins-deploy-platform-ansible-os-3677-1. 2025-07-21 11:57:43,857 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/853a0f56-26fc-4c5a-84d6-340876966e70 2025-07-21 11:57:44,153 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/853a0f56-26fc-4c5a-84d6-340876966e70 2025-07-21 11:57:44,232 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/de9e2bfe-1daa-4d28-af52-5d635b01a9a7 2025-07-21 11:57:47,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 1005ms') 2025-07-21 11:57:47,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:57:47,565 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:57:51,609 - 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-07-21 11:57:51,610 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:57:51,698 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:57:55,767 - 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-21 11:57:55,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:57:55,849 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:57:59,902 - 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-07-21 11:57:59,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:57:59,981 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:04,026 - 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-21 11:58:04,026 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:04,105 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:08,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 1011ms') 2025-07-21 11:58:08,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:08,234 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:12,282 - 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 1007ms') 2025-07-21 11:58:12,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:12,365 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:16,438 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2025-07-21 11:58:16,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:16,518 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:20,571 - 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-07-21 11:58:20,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:20,649 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:24,699 - 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 1001ms') 2025-07-21 11:58:24,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:24,734 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:28,794 - 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-21 11:58:28,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:28,865 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:32,921 - 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-21 11:58:32,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:32,997 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:37,052 - 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-07-21 11:58:37,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:37,138 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:41,179 - 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 1003ms') 2025-07-21 11:58:41,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:41,261 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:45,300 - 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-21 11:58:45,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:45,382 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:49,433 - 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-07-21 11:58:49,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:49,509 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:53,557 - 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-07-21 11:58:53,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-07-21 11:58:53,641 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-05157293:ctest-bgpaas_vn-65380419 is 40.83.38.193 and allocation pool is NOT set 2025-07-21 11:58:55,679 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.76 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 = 2.758/4.072/5.386/1.314 ms') 2025-07-21 11:58:55,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-07-21 11:58:55,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:58:55,861 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:58:55,896 - 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-21 11:58:56,044 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:01,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:01,045 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:01,070 - 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-21 11:59:01,243 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:06,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:06,244 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:06,267 - 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-21 11:59:06,361 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:11,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:11,362 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:11,390 - 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-21 11:59:11,540 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:16,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:16,542 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:16,572 - 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-21 11:59:16,754 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:21,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:21,755 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:21,795 - 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-21 11:59:21,996 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:26,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:26,997 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:27,027 - 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-21 11:59:27,235 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:32,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:32,237 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:32,265 - 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-21 11:59:32,454 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:37,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:37,456 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:37,485 - 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-21 11:59:37,717 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-21 11:59:42,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:42,718 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 40.83.38.195, Port 22 2025-07-21 11:59:42,839 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-07-21 11:59:42,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-21 11:59:43,101 - INFO - Creating BGPaaS ctest-TestBGPaaS-05157293-40952770 2025-07-21 11:59:43,193 - INFO - BGPaaS: ctest-TestBGPaaS-05157293-40952770(64df155f-c55e-4b3a-b795-c280ebf28289) 2025-07-21 11:59:43,193 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/64df155f-c55e-4b3a-b795-c280ebf28289 2025-07-21 11:59:43,215 - INFO - verify_in_api_server passed for BGPaaS obj 64df155f-c55e-4b3a-b795-c280ebf28289 2025-07-21 11:59:43,215 - INFO - BGPaaS(64df155f-c55e-4b3a-b795-c280ebf28289): verify_on_setup passed 2025-07-21 11:59:43,216 - INFO - We will configure BGP on the VM 2025-07-21 11:59:43,217 - INFO - Configuring BGP on bgpaas_vm1 2025-07-21 11:59:43,217 - 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 40.83.38.195; protocol bgp bgp_1{ local as 64500; neighbor 40.83.38.193 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 40.83.38.195; } protocol bfd { neighbor 40.83.38.193 local 40.83.38.195 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 11:59:43,218 - 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 40.83.38.195; protocol bgp bgp_1{ local as 64500; neighbor 40.83.38.193 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 40.83.38.195; } protocol bfd { neighbor 40.83.38.193 local 40.83.38.195 multihop on; } EOS 2025-07-21 11:59:59,814 - DEBUG - None 2025-07-21 11:59:59,814 - 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 40.83.38.195; protocol bgp bgp_1{ local as 64500; neighbor 40.83.38.193 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 40.83.38.195; } protocol bfd { neighbor 40.83.38.193 local 40.83.38.195 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 11:59:59,815 - 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 40.83.38.195; protocol bgp bgp_1{ local as 64500; neighbor 40.83.38.193 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 40.83.38.195; } protocol bfd { neighbor 40.83.38.193 local 40.83.38.195 multihop on; } EOS 2025-07-21 12:00:00,769 - DEBUG - None 2025-07-21 12:00:00,769 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-21 12:00:00,769 - DEBUG - service bird restart 2025-07-21 12:00:04,046 - DEBUG - bird stop/waiting bird start/running, process 1430 2025-07-21 12:00:04,046 - INFO - Attaching the VMI to the BGPaaS object 2025-07-21 12:00:04,046 - INFO - Attaching VMI de9e2bfe-1daa-4d28-af52-5d635b01a9a7 to BGPaaS 64df155f-c55e-4b3a-b795-c280ebf28289 2025-07-21 12:00:04,232 - INFO - Creating Health Check ctest-TestBGPaaS-05157293-67928405 2025-07-21 12:00:04,353 - INFO - Health Check: ctest-TestBGPaaS-05157293-67928405(67c7560f-c8ef-4123-9608-9e6bcb5c67bf), type BFD 2025-07-21 12:00:04,353 - DEBUG - Requesting: http://10.0.0.254:8082/service-health-check/67c7560f-c8ef-4123-9608-9e6bcb5c67bf 2025-07-21 12:00:04,363 - INFO - verify_in_api_server passed for HC obj 67c7560f-c8ef-4123-9608-9e6bcb5c67bf 2025-07-21 12:00:04,363 - INFO - Health Check(67c7560f-c8ef-4123-9608-9e6bcb5c67bf): verify_on_setup passed 2025-07-21 12:00:04,363 - INFO - Attaching HC 67c7560f-c8ef-4123-9608-9e6bcb5c67bf to BGPaaS 64df155f-c55e-4b3a-b795-c280ebf28289 2025-07-21 12:00:04,516 - INFO - Check HC obj 67c7560f-c8ef-4123-9608-9e6bcb5c67bf on agent 10.0.0.254 2025-07-21 12:00:04,524 - INFO - verify_in_agent passed for HC obj 67c7560f-c8ef-4123-9608-9e6bcb5c67bf 2025-07-21 12:00:04,535 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:10,567 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:16,599 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:22,649 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:28,700 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:34,734 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:40,777 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:46,814 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:52,847 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:00:58,886 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:01:04,938 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-07-21 12:01:04,974 - INFO - Detaching HC 67c7560f-c8ef-4123-9608-9e6bcb5c67bf from BGPaaS 64df155f-c55e-4b3a-b795-c280ebf28289 2025-07-21 12:01:05,125 - INFO - Deleting Health Check ctest-TestBGPaaS-05157293-67928405(67c7560f-c8ef-4123-9608-9e6bcb5c67bf) 2025-07-21 12:01:05,183 - DEBUG - Requesting: http://10.0.0.254:8082/service-health-check/67c7560f-c8ef-4123-9608-9e6bcb5c67bf 2025-07-21 12:01:05,196 - DEBUG - Response Code: 404 2025-07-21 12:01:05,196 - DEBUG - HC: 67c7560f-c8ef-4123-9608-9e6bcb5c67bf deleted from api server 2025-07-21 12:01:05,197 - INFO - Health Check(67c7560f-c8ef-4123-9608-9e6bcb5c67bf): verify_on_cleanup passed 2025-07-21 12:01:05,197 - INFO - Detaching VMI de9e2bfe-1daa-4d28-af52-5d635b01a9a7 from BGPaaS 64df155f-c55e-4b3a-b795-c280ebf28289 2025-07-21 12:01:05,377 - INFO - Deleting BGPaaS ctest-TestBGPaaS-05157293-40952770(64df155f-c55e-4b3a-b795-c280ebf28289) 2025-07-21 12:01:05,442 - DEBUG - Requesting: http://10.0.0.254:8082/bgp-as-a-service/64df155f-c55e-4b3a-b795-c280ebf28289 2025-07-21 12:01:05,459 - DEBUG - Response Code: 404 2025-07-21 12:01:05,459 - DEBUG - BGPaaS: 64df155f-c55e-4b3a-b795-c280ebf28289 deleted from api server 2025-07-21 12:01:05,459 - INFO - BGPaaS(64df155f-c55e-4b3a-b795-c280ebf28289): verify_on_cleanup passed 2025-07-21 12:01:05,460 - INFO - Deleting VM bgpaas_vm1 2025-07-21 12:01:05,631 - INFO - Deleting VN ctest-bgpaas_vn-65380419 2025-07-21 12:01:05,748 - DEBUG - VN caee5149-cee4-4081-8cb3-f4dbdf49cad6 still in use: Unable to complete operation on network caee5149-cee4-4081-8cb3-f4dbdf49cad6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55e4b147-6d4c-46f6-b55d-3a94fd66d229'] 2025-07-21 12:01:05,748 - WARNING - Deleting VN ctest-bgpaas_vn-65380419 failed..Will retry 2025-07-21 12:01:08,270 - DEBUG - Response for deleting network () 2025-07-21 12:01:08,575 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Mon Jul 21 12:01:04 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-07-21 12:01:08,593 - DEBUG - No XMPP flaps were noticed during the test 2025-07-21 12:01:08,593 - INFO - 2025-07-21 12:01:08,594 - INFO - END TEST : test_bgpaas_basic : FAILED[0:04:24] 2025-07-21 12:01:08,594 - INFO - -------------------------------------------------------------------------------- 2025-07-21 12:01:09,678 - INFO - Deleted project: ctest-TestBGPaaS-05157293, ID : 84ea3a19-e08c-4998-a6de-483cee50afe6 2025-07-21 13:11:13,375 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-68074814:ctest-bgpaas_vn-72791790:ctest-bgpaas_vn-72791790.inet.0 2025-07-21 13:11:42,273 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-68074814:ctest-bgpaas_vn-49662678:ctest-bgpaas_vn-49662678.inet.0 2025-07-21 13:11:43,299 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-68074814:ctest-bgpaas_vn-49662678:ctest-bgpaas_vn-49662678.inet.0 2025-07-21 13:11:47,612 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-68074814:ctest-bgpaas_vn-49662678:ctest-bgpaas_vn-49662678.inet.0 2025-07-21 13:12:13,302 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-68074814:ctest-bgpaas_vn-29475206:ctest-bgpaas_vn-29475206.inet.0