2025-08-07 02:22:20,010 - INFO - Domain Default found not creating 2025-08-07 02:22:20,178 - INFO - Project ctest-TestBGPaaS-53230466 not found, creating it 2025-08-07 02:22:20,888 - INFO - Created Project:ctest-TestBGPaaS-53230466, ID : d598a05a-c922-460a-a4ab-e6d1a7dba36b 2025-08-07 02:22:22,636 - INFO - Using existing project ['default-domain', 'admin'](db90afc9-ebb9-4864-97c2-f05b9e92842e) 2025-08-07 02:22:23,472 - INFO - Adding rules to the default security group in Project admin 2025-08-07 02:22:23,956 - DEBUG - Services list from nova: [, , , ] 2025-08-07 02:22:23,956 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3767-2', 'an-jenkins-deploy-platform-ansible-os-3767-1']} 2025-08-07 02:22:23,958 - INFO - ================================================================================ 2025-08-07 02:22:23,958 - INFO - STARTING TEST : test_bgpaas_basic 2025-08-07 02:22:23,958 - 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-07 02:22:24,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 02:22:24,655 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:22:24,655 - INFO - 2025-08-07 02:22:25,567 - DEBUG - Response for create_network : {'network': {'id': '61ba48e0-b482-4641-adf3-16818b65c35c', 'name': 'ctest-bgpaas_vn-04887243', 'tenant_id': 'd598a05ac922460aa4abe6d1a7dba36b', 'project_id': 'd598a05ac922460aa4abe6d1a7dba36b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaS-53230466', 'ctest-bgpaas_vn-04887243'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:22:25,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '951d5b94-317f-497b-876e-5147a7d2a735', 'name': '', 'tenant_id': 'd598a05ac922460aa4abe6d1a7dba36b', 'network_id': '61ba48e0-b482-4641-adf3-16818b65c35c', 'ip_version': 4, 'cidr': '203.14.141.0/26', 'allocation_pools': [{'start': '203.14.141.2', 'end': '203.14.141.62'}], 'gateway_ip': '203.14.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.14.141.2', 'tags': [], 'project_id': 'd598a05ac922460aa4abe6d1a7dba36b'}} 2025-08-07 02:22:25,997 - INFO - Created VN ctest-bgpaas_vn-04887243 2025-08-07 02:22:26,020 - DEBUG - VN ctest-bgpaas_vn-04887243 UUID is 61ba48e0-b482-4641-adf3-16818b65c35c 2025-08-07 02:22:26,218 - DEBUG - Image by name ubuntu-bird not found 2025-08-07 02:22:26,218 - DEBUG - Installing image ubuntu-bird 2025-08-07 02:22:26,218 - 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-07 02:22:26,218 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-07 02:22:26,218 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-07 02:22:26,229 - 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-07 02:22:28,839 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-07 02:22:28,839 - DEBUG - Unzip image 2025-08-07 02:22:28,839 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-07 02:22:39,323 - DEBUG - Try to create image in user context 2025-08-07 02:22:46,372 - DEBUG - Image has been created in user context 2025-08-07 02:22:46,372 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-08-07 02:22:46,528 - DEBUG - Downloaded image has been removed 2025-08-07 02:22:46,544 - DEBUG - Uploaded image status = active 2025-08-07 02:22:47,705 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3767-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3767-2) 2025-08-07 02:22:47,705 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-08-07 02:22:47,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:22:52,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:22:57,976 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:23:03,063 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:23:08,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:23:13,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:23:18,357 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:23:23,450 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:23:23,450 - INFO - VM name : bgpaas_vm1 2025-08-07 02:23:23,556 - DEBUG - VM bgpaas_vm1 ID is bf657131-cee4-4ef2-b61f-42abac015b70 2025-08-07 02:23:23,587 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3767-2 2025-08-07 02:23:23,825 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bf657131-cee4-4ef2-b61f-42abac015b70 2025-08-07 02:23:24,142 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bf657131-cee4-4ef2-b61f-42abac015b70 2025-08-07 02:23:24,179 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/91cb7b03-113b-4b4a-a94d-19c256afbd8c 2025-08-07 02:23:27,396 - 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-07 02:23:27,396 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:27,414 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:31,459 - 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-07 02:23:31,459 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:31,478 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:35,522 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-08-07 02:23:35,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:35,544 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:39,583 - 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-07 02:23:39,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:39,603 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:43,643 - 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-08-07 02:23:43,644 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:43,663 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:47,714 - 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-07 02:23:47,714 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:47,731 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:51,776 - 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-08-07 02:23:51,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:51,797 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:55,845 - 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-07 02:23:55,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:55,862 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:23:59,900 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-08-07 02:23:59,901 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:23:59,922 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:03,971 - 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 1028ms') 2025-08-07 02:24:03,971 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:03,988 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:08,034 - 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-07 02:24:08,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:08,052 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:12,094 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-08-07 02:24:12,094 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:12,114 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:16,165 - 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-07 02:24:16,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:16,182 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:20,226 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2025-08-07 02:24:20,226 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:20,244 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:24,285 - 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-07 02:24:24,285 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:24,328 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:28,358 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1008ms') 2025-08-07 02:24:28,358 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:28,375 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:32,410 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2025-08-07 02:24:32,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-07 02:24:32,430 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-53230466:ctest-bgpaas_vn-04887243 is 203.14.141.1 and allocation pool is NOT set 2025-08-07 02:24:34,447 - 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=7.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.277/4.631/7.986/3.354 ms') 2025-08-07 02:24:34,447 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-08-07 02:24:34,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:24:34,564 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:24:34,589 - 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-07 02:24:34,681 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:24:39,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:24:39,682 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:24:39,707 - 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-07 02:24:39,822 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:24:44,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:24:44,823 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:24:44,848 - 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-07 02:24:44,944 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:24:49,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:24:49,944 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:24:49,959 - 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-07 02:24:50,048 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:24:55,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:24:55,049 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:24:55,075 - 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-07 02:24:55,172 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:25:00,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:25:00,173 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:25:00,187 - 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-07 02:25:00,299 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:25:05,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:25:05,300 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:25:05,324 - 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-07 02:25:05,422 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:25:10,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:25:10,422 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:25:10,447 - 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-07 02:25:10,531 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:25:15,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:25:15,532 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:25:15,547 - 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-07 02:25:15,652 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:25:20,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:25:20,652 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 203.14.141.3, Port 22 2025-08-07 02:25:20,737 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-07 02:25:20,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:25:20,899 - INFO - Creating BGPaaS ctest-TestBGPaaS-53230466-24817290 2025-08-07 02:25:20,990 - INFO - BGPaaS: ctest-TestBGPaaS-53230466-24817290(312ca41d-6da3-4e73-8310-34355f551e0a) 2025-08-07 02:25:20,990 - DEBUG - Requesting: http://10.0.0.56:8082/bgp-as-a-service/312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:25:21,321 - DEBUG - Requesting: http://10.0.0.56:8082/bgp-as-a-service/312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:25:21,357 - INFO - verify_in_api_server passed for BGPaaS obj 312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:25:21,358 - INFO - BGPaaS(312ca41d-6da3-4e73-8310-34355f551e0a): verify_on_setup passed 2025-08-07 02:25:21,358 - INFO - We will configure BGP on the VM 2025-08-07 02:25:21,358 - INFO - Configuring BGP on bgpaas_vm1 2025-08-07 02:25:21,358 - 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 203.14.141.3; protocol bgp bgp_1{ local as 64500; neighbor 203.14.141.1 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 203.14.141.3; } protocol bfd { neighbor 203.14.141.1 local 203.14.141.3 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:25:21,358 - 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 203.14.141.3; protocol bgp bgp_1{ local as 64500; neighbor 203.14.141.1 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 203.14.141.3; } protocol bfd { neighbor 203.14.141.1 local 203.14.141.3 multihop on; } EOS 2025-08-07 02:25:38,689 - DEBUG - None 2025-08-07 02:25:38,689 - 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 203.14.141.3; protocol bgp bgp_1{ local as 64500; neighbor 203.14.141.1 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 203.14.141.3; } protocol bfd { neighbor 203.14.141.1 local 203.14.141.3 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:25:38,689 - 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 203.14.141.3; protocol bgp bgp_1{ local as 64500; neighbor 203.14.141.1 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 203.14.141.3; } protocol bfd { neighbor 203.14.141.1 local 203.14.141.3 multihop on; } EOS 2025-08-07 02:25:39,712 - DEBUG - None 2025-08-07 02:25:39,712 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.61, gateway password: c0ntrail123 2025-08-07 02:25:39,712 - DEBUG - service bird restart 2025-08-07 02:25:42,941 - DEBUG - bird stop/waiting bird start/running, process 1433 2025-08-07 02:25:42,941 - INFO - Attaching the VMI to the BGPaaS object 2025-08-07 02:25:42,941 - INFO - Attaching VMI 91cb7b03-113b-4b4a-a94d-19c256afbd8c to BGPaaS 312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:25:43,102 - INFO - Creating Health Check ctest-TestBGPaaS-53230466-77564849 2025-08-07 02:25:43,194 - INFO - Health Check: ctest-TestBGPaaS-53230466-77564849(a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a), type BFD 2025-08-07 02:25:43,195 - DEBUG - Requesting: http://10.0.0.56:8082/service-health-check/a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a 2025-08-07 02:25:43,239 - INFO - verify_in_api_server passed for HC obj a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a 2025-08-07 02:25:43,239 - INFO - Health Check(a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a): verify_on_setup passed 2025-08-07 02:25:43,239 - INFO - Attaching HC a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a to BGPaaS 312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:25:43,410 - INFO - Check HC obj a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a on agent 10.0.0.61 2025-08-07 02:25:43,421 - INFO - verify_in_agent passed for HC obj a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a 2025-08-07 02:25:43,440 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:25:43,462 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:25:49,509 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:25:49,523 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:25:55,561 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:25:55,575 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:01,618 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:01,636 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:07,672 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:07,690 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:13,728 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:13,744 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:19,785 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:19,803 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:25,841 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:25,856 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:31,894 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:31,909 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:37,947 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:37,963 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:43,999 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:44,014 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-07 02:26:44,039 - INFO - Detaching HC a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a from BGPaaS 312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:26:44,170 - INFO - Deleting Health Check ctest-TestBGPaaS-53230466-77564849(a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a) 2025-08-07 02:26:44,216 - DEBUG - Requesting: http://10.0.0.56:8082/service-health-check/a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a 2025-08-07 02:26:44,230 - DEBUG - Response Code: 404 2025-08-07 02:26:44,230 - DEBUG - HC: a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a deleted from api server 2025-08-07 02:26:44,230 - INFO - Health Check(a7d1d447-6fe1-42ef-b079-2cdc9bcc4b7a): verify_on_cleanup passed 2025-08-07 02:26:44,230 - INFO - Detaching VMI 91cb7b03-113b-4b4a-a94d-19c256afbd8c from BGPaaS 312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:26:44,318 - INFO - Deleting BGPaaS ctest-TestBGPaaS-53230466-24817290(312ca41d-6da3-4e73-8310-34355f551e0a) 2025-08-07 02:26:44,375 - DEBUG - Requesting: http://10.0.0.56:8082/bgp-as-a-service/312ca41d-6da3-4e73-8310-34355f551e0a 2025-08-07 02:26:44,383 - DEBUG - Response Code: 404 2025-08-07 02:26:44,384 - DEBUG - BGPaaS: 312ca41d-6da3-4e73-8310-34355f551e0a deleted from api server 2025-08-07 02:26:44,384 - INFO - BGPaaS(312ca41d-6da3-4e73-8310-34355f551e0a): verify_on_cleanup passed 2025-08-07 02:26:44,384 - INFO - Deleting VM bgpaas_vm1 2025-08-07 02:26:44,470 - INFO - Deleting VN ctest-bgpaas_vn-04887243 2025-08-07 02:26:44,518 - DEBUG - VN 61ba48e0-b482-4641-adf3-16818b65c35c still in use: Unable to complete operation on network 61ba48e0-b482-4641-adf3-16818b65c35c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fa6086d-ee47-4542-84c8-c9760be82d62'] 2025-08-07 02:26:44,518 - WARNING - Deleting VN ctest-bgpaas_vn-04887243 failed..Will retry 2025-08-07 02:26:46,807 - DEBUG - Response for deleting network () 2025-08-07 02:26:48,101 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Thu Aug 7 02:26:44 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-07 02:26:48,117 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:26:48,117 - INFO -
2025-08-07 02:26:48,117 - INFO - END TEST : test_bgpaas_basic : FAILED[0:04:25]
2025-08-07 02:26:48,118 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:26:48,970 - INFO - Deleted project: ctest-TestBGPaaS-53230466, ID : d598a05a-c922-460a-a4ab-e6d1a7dba36b 2025-08-07 02:57:28,756 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-64627490:ctest-bgpaas_vn-64627490.inet.0 2025-08-07 02:57:28,770 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-64627490:ctest-bgpaas_vn-64627490.inet.0 2025-08-07 02:58:00,951 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-69353323:ctest-bgpaas_vn-69353323.inet.0 2025-08-07 02:58:00,970 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-69353323:ctest-bgpaas_vn-69353323.inet.0 2025-08-07 02:58:04,895 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-69353323:ctest-bgpaas_vn-69353323.inet.0 2025-08-07 02:58:05,929 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-69353323:ctest-bgpaas_vn-69353323.inet.0 2025-08-07 02:58:05,943 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-69353323:ctest-bgpaas_vn-69353323.inet.0 2025-08-07 02:58:34,353 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-57838359:ctest-bgpaas_vn-57838359.inet.0 2025-08-07 02:58:34,369 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94105649:ctest-bgpaas_vn-57838359:ctest-bgpaas_vn-57838359.inet.0