2025-08-06 07:31:39,698 - INFO - Domain Default found not creating 2025-08-06 07:31:39,892 - INFO - Project ctest-TestBGPaaS-18727420 not found, creating it 2025-08-06 07:31:40,534 - INFO - Created Project:ctest-TestBGPaaS-18727420, ID : 6eaa885f-92e9-494d-b731-5557f5e53ac0 2025-08-06 07:31:42,340 - INFO - Using existing project ['default-domain', 'admin'](adb0a682-d2c0-454a-9f6b-407a61f242d6) 2025-08-06 07:31:43,142 - INFO - Adding rules to the default security group in Project admin 2025-08-06 07:31:43,595 - DEBUG - Services list from nova: [, , , ] 2025-08-06 07:31:43,595 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3761-1', 'an-jenkins-deploy-platform-ansible-os-3761-2']} 2025-08-06 07:31:43,597 - INFO - ================================================================================ 2025-08-06 07:31:43,598 - INFO - STARTING TEST : test_bgpaas_basic 2025-08-06 07:31:43,598 - 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 07:31:44,253 - 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.14': '0', '10.20.0.254': '0'}} with 2025-08-06 07:31:44,253 - INFO - Initial checks done. Running the testcase now 2025-08-06 07:31:44,253 - INFO - 2025-08-06 07:31:45,120 - DEBUG - Response for create_network : {'network': {'id': 'be88d86a-e551-48df-bbff-c49690b7bed5', 'name': 'ctest-bgpaas_vn-98849451', 'tenant_id': '6eaa885f92e9494db7315557f5e53ac0', 'project_id': '6eaa885f92e9494db7315557f5e53ac0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaS-18727420', 'ctest-bgpaas_vn-98849451'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 07:31:45,476 - DEBUG - Response for create_subnet : {'subnet': {'id': '481ce358-6d56-4145-b58b-48e719bb1e29', 'name': '', 'tenant_id': '6eaa885f92e9494db7315557f5e53ac0', 'network_id': 'be88d86a-e551-48df-bbff-c49690b7bed5', 'ip_version': 4, 'cidr': '149.197.219.128/26', 'allocation_pools': [{'start': '149.197.219.130', 'end': '149.197.219.190'}], 'gateway_ip': '149.197.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.197.219.130', 'tags': [], 'project_id': '6eaa885f92e9494db7315557f5e53ac0'}} 2025-08-06 07:31:45,515 - INFO - Created VN ctest-bgpaas_vn-98849451 2025-08-06 07:31:45,530 - DEBUG - VN ctest-bgpaas_vn-98849451 UUID is be88d86a-e551-48df-bbff-c49690b7bed5 2025-08-06 07:31:45,743 - DEBUG - Image by name ubuntu-bird not found 2025-08-06 07:31:45,743 - DEBUG - Installing image ubuntu-bird 2025-08-06 07:31:45,743 - 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 07:31:45,743 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-06 07:31:45,743 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz 2025-08-06 07:31:45,754 - 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 07:31:48,373 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-06 07:31:48,374 - DEBUG - Unzip image 2025-08-06 07:31:48,374 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz 2025-08-06 07:31:59,701 - DEBUG - Try to create image in user context 2025-08-06 07:32:07,624 - DEBUG - Image has been created in user context 2025-08-06 07:32:07,625 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk 2025-08-06 07:32:07,801 - DEBUG - Downloaded image has been removed 2025-08-06 07:32:07,818 - DEBUG - Uploaded image status = active 2025-08-06 07:32:09,016 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1) 2025-08-06 07:32:09,017 - INFO - Waiting for VM bgpaas_vm1 to be up.. 2025-08-06 07:32:09,083 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:32:14,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:32:19,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:32:24,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:32:29,552 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:32:34,671 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:32:39,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 07:32:44,873 - DEBUG - VM is in ACTIVE state now 2025-08-06 07:32:44,873 - INFO - VM name : bgpaas_vm1 2025-08-06 07:32:44,975 - DEBUG - VM bgpaas_vm1 ID is d3e8dad8-222f-48ec-baa1-b7823efdeb16 2025-08-06 07:32:45,006 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3761-1 2025-08-06 07:32:45,248 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d3e8dad8-222f-48ec-baa1-b7823efdeb16 2025-08-06 07:32:45,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d3e8dad8-222f-48ec-baa1-b7823efdeb16 2025-08-06 07:32:45,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9bdd274e-d13b-4923-b70b-5437b6a36672 2025-08-06 07:32:48,797 - 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 07:32:48,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:32:48,819 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:32:52,863 - 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-06 07:32:52,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:32:52,881 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:32:56,927 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-08-06 07:32:56,927 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:32:56,949 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:00,996 - 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-06 07:33:00,996 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:01,015 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:05,050 - 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 07:33:05,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:05,069 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:09,119 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-08-06 07:33:09,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:09,136 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:13,180 - 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-06 07:33:13,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:13,197 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:17,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 1027ms') 2025-08-06 07:33:17,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:17,260 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:21,315 - 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 07:33:21,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:21,332 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:25,368 - 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 07:33:25,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:25,393 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:29,431 - 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-06 07:33:29,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:29,448 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:33,498 - 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 07:33:33,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:33,515 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:37,559 - 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 07:33:37,559 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:37,576 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:41,622 - 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 07:33:41,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed! 2025-08-06 07:33:41,645 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-18727420:ctest-bgpaas_vn-98849451 is 149.197.219.129 and allocation pool is NOT set 2025-08-06 07:33:43,669 - 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=2.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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.135/1.809/2.484/0.674 ms') 2025-08-06 07:33:43,669 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed 2025-08-06 07:33:43,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:33:43,794 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:33:43,819 - 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 07:33:43,925 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:33:48,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:33:48,925 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:33:48,950 - 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 07:33:49,046 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:33:54,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:33:54,047 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:33:54,064 - 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 07:33:54,171 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:33:59,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:33:59,171 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:33:59,186 - 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 07:33:59,284 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:34:04,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:34:04,286 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:34:04,301 - 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 07:34:04,396 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:34:09,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:34:09,398 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:34:09,413 - 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 07:34:09,506 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:34:14,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:34:14,506 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:34:14,573 - 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 07:34:14,691 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:34:19,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:34:19,692 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:34:19,717 - 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 07:34:19,822 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 07:34:24,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:34:24,824 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 149.197.219.131, Port 22 2025-08-06 07:34:24,908 - DEBUG - VM bgpaas_vm1 is ready for SSH connections 2025-08-06 07:34:24,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 07:34:25,082 - INFO - Creating BGPaaS ctest-TestBGPaaS-18727420-63905875 2025-08-06 07:34:25,171 - INFO - BGPaaS: ctest-TestBGPaaS-18727420-63905875(8b788540-83f0-45f2-8778-2237ed9731ed) 2025-08-06 07:34:25,172 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:34:25,474 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:34:25,511 - INFO - verify_in_api_server passed for BGPaaS obj 8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:34:25,511 - INFO - BGPaaS(8b788540-83f0-45f2-8778-2237ed9731ed): verify_on_setup passed 2025-08-06 07:34:25,511 - INFO - We will configure BGP on the VM 2025-08-06 07:34:25,511 - INFO - Configuring BGP on bgpaas_vm1 2025-08-06 07:34:25,511 - 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 149.197.219.131; protocol bgp bgp_1{ local as 64500; neighbor 149.197.219.129 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 149.197.219.131; } protocol bfd { neighbor 149.197.219.129 local 149.197.219.131 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:34:25,512 - 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 149.197.219.131; protocol bgp bgp_1{ local as 64500; neighbor 149.197.219.129 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 149.197.219.131; } protocol bfd { neighbor 149.197.219.129 local 149.197.219.131 multihop on; } EOS 2025-08-06 07:34:42,128 - DEBUG - None 2025-08-06 07:34:42,128 - 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 149.197.219.131; protocol bgp bgp_1{ local as 64500; neighbor 149.197.219.129 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 149.197.219.131; } protocol bfd { neighbor 149.197.219.129 local 149.197.219.131 multihop on; } EOS , host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 07:34:42,128 - 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 149.197.219.131; protocol bgp bgp_1{ local as 64500; neighbor 149.197.219.129 as 64512; export where source = RTS_STATIC; export all; multihop; #export all; hold time 90; bfd on; source address 149.197.219.131; } protocol bfd { neighbor 149.197.219.129 local 149.197.219.131 multihop on; } EOS 2025-08-06 07:34:43,034 - DEBUG - None 2025-08-06 07:34:43,034 - 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 07:34:43,034 - DEBUG - service bird restart 2025-08-06 07:34:45,754 - DEBUG - bird stop/waiting bird start/running, process 1467 2025-08-06 07:34:45,755 - INFO - Attaching the VMI to the BGPaaS object 2025-08-06 07:34:45,755 - INFO - Attaching VMI 9bdd274e-d13b-4923-b70b-5437b6a36672 to BGPaaS 8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:34:45,902 - INFO - Creating Health Check ctest-TestBGPaaS-18727420-03988554 2025-08-06 07:34:46,002 - INFO - Health Check: ctest-TestBGPaaS-18727420-03988554(4e70f28e-72b8-4b6a-a50a-f0188f3ae878), type BFD 2025-08-06 07:34:46,003 - DEBUG - Requesting: http://10.0.0.48:8082/service-health-check/4e70f28e-72b8-4b6a-a50a-f0188f3ae878 2025-08-06 07:34:46,020 - INFO - verify_in_api_server passed for HC obj 4e70f28e-72b8-4b6a-a50a-f0188f3ae878 2025-08-06 07:34:46,020 - INFO - Health Check(4e70f28e-72b8-4b6a-a50a-f0188f3ae878): verify_on_setup passed 2025-08-06 07:34:46,021 - INFO - Attaching HC 4e70f28e-72b8-4b6a-a50a-f0188f3ae878 to BGPaaS 8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:34:46,214 - INFO - Check HC obj 4e70f28e-72b8-4b6a-a50a-f0188f3ae878 on agent 10.0.0.49 2025-08-06 07:34:46,222 - INFO - verify_in_agent passed for HC obj 4e70f28e-72b8-4b6a-a50a-f0188f3ae878 2025-08-06 07:34:46,244 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:34:46,277 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:34:52,341 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:34:52,357 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:34:58,395 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:34:58,411 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:04,446 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:04,463 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:10,501 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:10,518 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:16,555 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:16,571 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:22,608 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:22,627 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:28,663 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:28,680 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:34,716 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:34,733 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:40,770 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:40,787 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:46,824 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:46,839 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_BgpNeighborReq?domain=&ip_address= 2025-08-06 07:35:46,863 - INFO - Detaching HC 4e70f28e-72b8-4b6a-a50a-f0188f3ae878 from BGPaaS 8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:35:46,990 - INFO - Deleting Health Check ctest-TestBGPaaS-18727420-03988554(4e70f28e-72b8-4b6a-a50a-f0188f3ae878) 2025-08-06 07:35:47,036 - DEBUG - Requesting: http://10.0.0.48:8082/service-health-check/4e70f28e-72b8-4b6a-a50a-f0188f3ae878 2025-08-06 07:35:47,048 - DEBUG - Response Code: 404 2025-08-06 07:35:47,048 - DEBUG - HC: 4e70f28e-72b8-4b6a-a50a-f0188f3ae878 deleted from api server 2025-08-06 07:35:47,048 - INFO - Health Check(4e70f28e-72b8-4b6a-a50a-f0188f3ae878): verify_on_cleanup passed 2025-08-06 07:35:47,048 - INFO - Detaching VMI 9bdd274e-d13b-4923-b70b-5437b6a36672 from BGPaaS 8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:35:47,147 - INFO - Deleting BGPaaS ctest-TestBGPaaS-18727420-63905875(8b788540-83f0-45f2-8778-2237ed9731ed) 2025-08-06 07:35:47,222 - DEBUG - Requesting: http://10.0.0.48:8082/bgp-as-a-service/8b788540-83f0-45f2-8778-2237ed9731ed 2025-08-06 07:35:47,239 - DEBUG - Response Code: 404 2025-08-06 07:35:47,240 - DEBUG - BGPaaS: 8b788540-83f0-45f2-8778-2237ed9731ed deleted from api server 2025-08-06 07:35:47,240 - INFO - BGPaaS(8b788540-83f0-45f2-8778-2237ed9731ed): verify_on_cleanup passed 2025-08-06 07:35:47,240 - INFO - Deleting VM bgpaas_vm1 2025-08-06 07:35:47,396 - INFO - Deleting VN ctest-bgpaas_vn-98849451 2025-08-06 07:35:47,456 - DEBUG - VN be88d86a-e551-48df-bbff-c49690b7bed5 still in use: Unable to complete operation on network be88d86a-e551-48df-bbff-c49690b7bed5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b24e2553-01c4-4cf0-a709-7c5909568fe8'] 2025-08-06 07:35:47,456 - WARNING - Deleting VN ctest-bgpaas_vn-98849451 failed..Will retry 2025-08-06 07:35:49,720 - DEBUG - Response for deleting network () 2025-08-06 07:35:51,037 - ERROR - AssertionError Python 3.6.8: /usr/bin/python3 Wed Aug 6 07:35:46 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 07:35:51,055 - DEBUG - No XMPP flaps were noticed during the test 2025-08-06 07:35:51,055 - INFO -
2025-08-06 07:35:51,055 - INFO - END TEST : test_bgpaas_basic : FAILED[0:04:08]
2025-08-06 07:35:51,055 - INFO - -------------------------------------------------------------------------------- 2025-08-06 07:35:51,921 - INFO - Deleted project: ctest-TestBGPaaS-18727420, ID : 6eaa885f-92e9-494d-b731-5557f5e53ac0 2025-08-06 08:20:23,165 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-44106778:ctest-bgpaas_vn-44106778.inet.0 2025-08-06 08:20:23,192 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-44106778:ctest-bgpaas_vn-44106778.inet.0 2025-08-06 08:20:50,641 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-58538234:ctest-bgpaas_vn-58538234.inet.0 2025-08-06 08:20:50,663 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-58538234:ctest-bgpaas_vn-58538234.inet.0 2025-08-06 08:20:54,492 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-58538234:ctest-bgpaas_vn-58538234.inet.0 2025-08-06 08:20:55,528 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-58538234:ctest-bgpaas_vn-58538234.inet.0 2025-08-06 08:20:55,542 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-58538234:ctest-bgpaas_vn-58538234.inet.0 2025-08-06 08:21:19,017 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-39124728:ctest-bgpaas_vn-39124728.inet.0 2025-08-06 08:21:19,046 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-00785196:ctest-bgpaas_vn-39124728:ctest-bgpaas_vn-39124728.inet.0