2025-08-04 02:33:33,265 - INFO - Domain Default found not creating
2025-08-04 02:33:33,456 - INFO - Project ctest-TestBGPaaS-78077123 not found, creating it
2025-08-04 02:33:34,098 - INFO - Created Project:ctest-TestBGPaaS-78077123, ID : cbb0cd8d-c2a0-43ef-85b9-c48603b15f3f
2025-08-04 02:33:35,887 - INFO - Using existing project ['default-domain', 'admin'](b12c869f-cf68-4ba1-84ef-c49e0683dbcf)
2025-08-04 02:33:36,743 - INFO - Adding rules to the default security group in Project admin
2025-08-04 02:33:37,152 - DEBUG - Services list from nova: [, , , ]
2025-08-04 02:33:37,152 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3750-2', 'an-jenkins-deploy-platform-ansible-os-3750-1']}
2025-08-04 02:33:37,157 - INFO - ================================================================================
2025-08-04 02:33:37,175 - INFO - STARTING TEST : test_bgpaas_basic
2025-08-04 02:33:37,175 - 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-04 02:33:37,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.57': {'10.20.0.193': '0', '10.20.0.18': '0'}} with
2025-08-04 02:33:37,817 - INFO - Initial checks done. Running the testcase now
2025-08-04 02:33:37,818 - INFO -
2025-08-04 02:33:38,675 - DEBUG - Response for create_network : {'network': {'id': 'd00ecc23-fa54-4f64-8d45-4f4ffa56d19f', 'name': 'ctest-bgpaas_vn-42637287', 'tenant_id': 'cbb0cd8dc2a043ef85b9c48603b15f3f', 'project_id': 'cbb0cd8dc2a043ef85b9c48603b15f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaS-78077123', 'ctest-bgpaas_vn-42637287'], 'port_security_enabled': True, 'description': ''}}
2025-08-04 02:33:39,030 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff482e51-ea9d-487a-a420-aaee9e3b53db', 'name': '', 'tenant_id': 'cbb0cd8dc2a043ef85b9c48603b15f3f', 'network_id': 'd00ecc23-fa54-4f64-8d45-4f4ffa56d19f', 'ip_version': 4, 'cidr': '55.235.49.64/26', 'allocation_pools': [{'start': '55.235.49.66', 'end': '55.235.49.126'}], 'gateway_ip': '55.235.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.235.49.66', 'tags': [], 'project_id': 'cbb0cd8dc2a043ef85b9c48603b15f3f'}}
2025-08-04 02:33:39,064 - INFO - Created VN ctest-bgpaas_vn-42637287
2025-08-04 02:33:39,082 - DEBUG - VN ctest-bgpaas_vn-42637287 UUID is d00ecc23-fa54-4f64-8d45-4f4ffa56d19f
2025-08-04 02:33:39,267 - DEBUG - Image by name ubuntu-bird not found
2025-08-04 02:33:39,267 - DEBUG - Installing image ubuntu-bird
2025-08-04 02:33:39,267 - 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-04 02:33:39,268 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-04 02:33:39,268 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-04 02:33:39,282 - 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-04 02:33:41,917 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-04 02:33:41,918 - DEBUG - Unzip image
2025-08-04 02:33:41,918 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-04 02:33:52,811 - DEBUG - Try to create image in user context
2025-08-04 02:34:00,224 - DEBUG - Image has been created in user context
2025-08-04 02:34:00,225 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-08-04 02:34:00,376 - DEBUG - Downloaded image has been removed
2025-08-04 02:34:00,396 - DEBUG - Uploaded image status = active
2025-08-04 02:34:01,564 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3750-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3750-2)
2025-08-04 02:34:01,564 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-08-04 02:34:01,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:34:06,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:34:11,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:34:16,975 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:34:22,090 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:34:27,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:34:32,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-04 02:34:37,380 - DEBUG - VM is in ACTIVE state now
2025-08-04 02:34:37,380 - INFO - VM name : bgpaas_vm1
2025-08-04 02:34:37,503 - DEBUG - VM bgpaas_vm1 ID is 33fe97d7-26a1-4f7b-8980-38b6336553bb
2025-08-04 02:34:37,535 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3750-2
2025-08-04 02:34:37,803 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/33fe97d7-26a1-4f7b-8980-38b6336553bb
2025-08-04 02:34:38,117 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine/33fe97d7-26a1-4f7b-8980-38b6336553bb
2025-08-04 02:34:38,158 - DEBUG - Requesting: http://10.0.0.61:8082/virtual-machine-interface/390a350a-6d43-4a47-9022-e25f2d3b8597
2025-08-04 02:34:41,342 - 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-08-04 02:34:41,342 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:34:41,361 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:34:45,409 - 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-04 02:34:45,409 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:34:45,432 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:34:49,474 - 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-04 02:34:49,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:34:49,496 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:34:53,531 - 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-04 02:34:53,531 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:34:53,549 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:34:57,594 - 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-04 02:34:57,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:34:57,613 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:01,666 - 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-04 02:35:01,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:01,684 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:05,734 - 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-04 02:35:05,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:05,754 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:09,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 1018ms')
2025-08-04 02:35:09,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:09,814 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:13,852 - 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-04 02:35:13,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:13,875 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:17,928 - 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-04 02:35:17,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:17,946 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:21,987 - 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 1017ms')
2025-08-04 02:35:21,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:22,006 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:26,047 - 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-04 02:35:26,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:26,065 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:30,115 - 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-04 02:35:30,115 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:30,133 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:34,178 - 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-04 02:35:34,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-04 02:35:34,197 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-78077123:ctest-bgpaas_vn-42637287 is 55.235.49.65 and allocation pool is NOT set
2025-08-04 02:35:38,234 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.67 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 3.668/3.668/3.668/0.000 ms')
2025-08-04 02:35:38,234 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-08-04 02:35:38,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:35:38,356 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:35:38,380 - 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-04 02:35:38,507 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:35:43,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:35:43,508 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:35:43,534 - 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-04 02:35:43,638 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:35:48,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:35:48,640 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:35:48,665 - 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-04 02:35:48,761 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:35:53,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:35:53,761 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:35:53,776 - 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-04 02:35:53,866 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:35:58,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:35:58,867 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:35:58,891 - 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-04 02:35:59,095 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:36:04,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:36:04,096 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:36:04,110 - 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-04 02:36:04,205 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:36:09,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:36:09,206 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:36:09,231 - 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-04 02:36:09,338 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:36:14,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:36:14,338 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:36:14,353 - 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-04 02:36:14,473 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-04 02:36:19,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:36:19,473 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 55.235.49.67, Port 22
2025-08-04 02:36:19,542 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-04 02:36:19,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-04 02:36:19,704 - INFO - Creating BGPaaS ctest-TestBGPaaS-78077123-74807885
2025-08-04 02:36:19,784 - INFO - BGPaaS: ctest-TestBGPaaS-78077123-74807885(25cb54cb-8348-477d-a304-d6ceea584992)
2025-08-04 02:36:19,784 - DEBUG - Requesting: http://10.0.0.27:8082/bgp-as-a-service/25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:36:20,089 - DEBUG - Requesting: http://10.0.0.27:8082/bgp-as-a-service/25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:36:20,131 - INFO - verify_in_api_server passed for BGPaaS obj 25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:36:20,132 - INFO - BGPaaS(25cb54cb-8348-477d-a304-d6ceea584992): verify_on_setup passed
2025-08-04 02:36:20,132 - INFO - We will configure BGP on the VM
2025-08-04 02:36:20,132 - INFO - Configuring BGP on bgpaas_vm1
2025-08-04 02:36:20,132 - 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 55.235.49.67;
protocol bgp bgp_1{
local as 64500;
neighbor 55.235.49.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 55.235.49.67;
}
protocol bfd {
neighbor 55.235.49.65 local 55.235.49.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-04 02:36:20,132 - 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 55.235.49.67;
protocol bgp bgp_1{
local as 64500;
neighbor 55.235.49.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 55.235.49.67;
}
protocol bfd {
neighbor 55.235.49.65 local 55.235.49.67 multihop on;
}
EOS
2025-08-04 02:36:38,353 - DEBUG - None
2025-08-04 02:36:38,354 - 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 55.235.49.67;
protocol bgp bgp_1{
local as 64500;
neighbor 55.235.49.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 55.235.49.67;
}
protocol bfd {
neighbor 55.235.49.65 local 55.235.49.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-04 02:36:38,354 - 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 55.235.49.67;
protocol bgp bgp_1{
local as 64500;
neighbor 55.235.49.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 55.235.49.67;
}
protocol bfd {
neighbor 55.235.49.65 local 55.235.49.67 multihop on;
}
EOS
2025-08-04 02:36:38,833 - DEBUG - None
2025-08-04 02:36:38,833 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-08-04 02:36:38,833 - DEBUG - service bird restart
2025-08-04 02:36:40,501 - DEBUG - bird stop/waiting
bird start/running, process 1441
2025-08-04 02:36:40,502 - INFO - Attaching the VMI to the BGPaaS object
2025-08-04 02:36:40,502 - INFO - Attaching VMI 390a350a-6d43-4a47-9022-e25f2d3b8597 to BGPaaS 25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:36:40,656 - INFO - Creating Health Check ctest-TestBGPaaS-78077123-36137785
2025-08-04 02:36:40,732 - INFO - Health Check: ctest-TestBGPaaS-78077123-36137785(5880809d-08fc-48e1-81fb-713a7033a2ec), type BFD
2025-08-04 02:36:40,732 - DEBUG - Requesting: http://10.0.0.27:8082/service-health-check/5880809d-08fc-48e1-81fb-713a7033a2ec
2025-08-04 02:36:40,755 - INFO - verify_in_api_server passed for HC obj 5880809d-08fc-48e1-81fb-713a7033a2ec
2025-08-04 02:36:40,758 - INFO - Health Check(5880809d-08fc-48e1-81fb-713a7033a2ec): verify_on_setup passed
2025-08-04 02:36:40,758 - INFO - Attaching HC 5880809d-08fc-48e1-81fb-713a7033a2ec to BGPaaS 25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:36:40,925 - INFO - Check HC obj 5880809d-08fc-48e1-81fb-713a7033a2ec on agent 10.0.0.57
2025-08-04 02:36:40,936 - INFO - verify_in_agent passed for HC obj 5880809d-08fc-48e1-81fb-713a7033a2ec
2025-08-04 02:36:40,956 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:36:40,973 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:36:47,010 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:36:47,025 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:36:53,067 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:36:53,084 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:36:59,123 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:36:59,139 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:05,175 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:05,191 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:11,226 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:11,246 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:17,285 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:17,304 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:23,337 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:23,352 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:29,387 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:29,411 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:35,460 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:35,475 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:41,513 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:41,529 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-04 02:37:41,549 - INFO - Detaching HC 5880809d-08fc-48e1-81fb-713a7033a2ec from BGPaaS 25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:37:41,680 - INFO - Deleting Health Check ctest-TestBGPaaS-78077123-36137785(5880809d-08fc-48e1-81fb-713a7033a2ec)
2025-08-04 02:37:41,744 - DEBUG - Requesting: http://10.0.0.27:8082/service-health-check/5880809d-08fc-48e1-81fb-713a7033a2ec
2025-08-04 02:37:41,758 - DEBUG - Response Code: 404
2025-08-04 02:37:41,758 - DEBUG - HC: 5880809d-08fc-48e1-81fb-713a7033a2ec deleted from api server
2025-08-04 02:37:41,758 - INFO - Health Check(5880809d-08fc-48e1-81fb-713a7033a2ec): verify_on_cleanup passed
2025-08-04 02:37:41,758 - INFO - Detaching VMI 390a350a-6d43-4a47-9022-e25f2d3b8597 from BGPaaS 25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:37:41,852 - INFO - Deleting BGPaaS ctest-TestBGPaaS-78077123-74807885(25cb54cb-8348-477d-a304-d6ceea584992)
2025-08-04 02:37:41,909 - DEBUG - Requesting: http://10.0.0.27:8082/bgp-as-a-service/25cb54cb-8348-477d-a304-d6ceea584992
2025-08-04 02:37:41,921 - DEBUG - Response Code: 404
2025-08-04 02:37:41,921 - DEBUG - BGPaaS: 25cb54cb-8348-477d-a304-d6ceea584992 deleted from api server
2025-08-04 02:37:41,921 - INFO - BGPaaS(25cb54cb-8348-477d-a304-d6ceea584992): verify_on_cleanup passed
2025-08-04 02:37:41,921 - INFO - Deleting VM bgpaas_vm1
2025-08-04 02:37:42,092 - INFO - Deleting VN ctest-bgpaas_vn-42637287
2025-08-04 02:37:42,156 - DEBUG - VN d00ecc23-fa54-4f64-8d45-4f4ffa56d19f still in use: Unable to complete operation on network d00ecc23-fa54-4f64-8d45-4f4ffa56d19f. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4fc0253e-efa6-44dc-b3ce-31551388da79']
2025-08-04 02:37:42,156 - WARNING - Deleting VN ctest-bgpaas_vn-42637287 failed..Will retry
2025-08-04 02:37:44,370 - DEBUG - Response for deleting network ()
2025-08-04 02:37:45,665 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Mon Aug 4 02:37:41 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-04 02:37:45,680 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:37:45,680 - INFO -
2025-08-04 02:37:45,680 - INFO - END TEST : test_bgpaas_basic : FAILED[0:04:08]
2025-08-04 02:37:45,680 - INFO - --------------------------------------------------------------------------------
2025-08-04 02:37:46,511 - INFO - Deleted project: ctest-TestBGPaaS-78077123, ID : cbb0cd8d-c2a0-43ef-85b9-c48603b15f3f
2025-08-04 03:07:00,375 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-68281961:ctest-bgpaas_vn-68281961.inet.0
2025-08-04 03:07:00,390 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-68281961:ctest-bgpaas_vn-68281961.inet.0
2025-08-04 03:07:27,392 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-26375521:ctest-bgpaas_vn-26375521.inet.0
2025-08-04 03:07:27,406 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-26375521:ctest-bgpaas_vn-26375521.inet.0
2025-08-04 03:07:31,347 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-26375521:ctest-bgpaas_vn-26375521.inet.0
2025-08-04 03:07:31,364 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-26375521:ctest-bgpaas_vn-26375521.inet.0
2025-08-04 03:07:59,640 - DEBUG - Requesting: http://10.20.0.193:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-28824713:ctest-bgpaas_vn-28824713.inet.0
2025-08-04 03:07:59,660 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64334385:ctest-bgpaas_vn-28824713:ctest-bgpaas_vn-28824713.inet.0