2025-08-11 02:10:58,174 - INFO - Domain Default found not creating
2025-08-11 02:10:58,303 - INFO - Project ctest-TestBGPaaS-57118418 not found, creating it
2025-08-11 02:10:58,787 - INFO - Created Project:ctest-TestBGPaaS-57118418, ID : b2da0be3-9c7b-458f-aa19-e45495e48e0e
2025-08-11 02:11:00,188 - INFO - Using existing project ['default-domain', 'admin'](957e4036-0d22-4e95-939e-d861b3da2619)
2025-08-11 02:11:00,830 - INFO - Adding rules to the default security group in Project admin
2025-08-11 02:11:01,163 - DEBUG - Services list from nova: [, , , ]
2025-08-11 02:11:01,163 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3794-2', 'an-jenkins-deploy-platform-ansible-os-3794-1']}
2025-08-11 02:11:01,165 - INFO - ================================================================================
2025-08-11 02:11:01,165 - INFO - STARTING TEST : test_bgpaas_basic
2025-08-11 02:11:01,166 - 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-11 02:11:01,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with
2025-08-11 02:11:01,782 - INFO - Initial checks done. Running the testcase now
2025-08-11 02:11:01,782 - INFO -
2025-08-11 02:11:02,492 - DEBUG - Response for create_network : {'network': {'id': '969f67d4-6c54-48e1-aa70-0913f54f0eda', 'name': 'ctest-bgpaas_vn-02686184', 'tenant_id': 'b2da0be39c7b458faa19e45495e48e0e', 'project_id': 'b2da0be39c7b458faa19e45495e48e0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBGPaaS-57118418', 'ctest-bgpaas_vn-02686184'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 02:11:02,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '702b980f-577b-4ee8-b774-953a9dc1d1fe', 'name': '', 'tenant_id': 'b2da0be39c7b458faa19e45495e48e0e', 'network_id': '969f67d4-6c54-48e1-aa70-0913f54f0eda', 'ip_version': 4, 'cidr': '6.82.245.64/26', 'allocation_pools': [{'start': '6.82.245.66', 'end': '6.82.245.126'}], 'gateway_ip': '6.82.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.82.245.66', 'tags': [], 'project_id': 'b2da0be39c7b458faa19e45495e48e0e'}}
2025-08-11 02:11:02,790 - INFO - Created VN ctest-bgpaas_vn-02686184
2025-08-11 02:11:02,802 - DEBUG - VN ctest-bgpaas_vn-02686184 UUID is 969f67d4-6c54-48e1-aa70-0913f54f0eda
2025-08-11 02:11:02,956 - DEBUG - Image by name ubuntu-bird not found
2025-08-11 02:11:02,956 - DEBUG - Installing image ubuntu-bird
2025-08-11 02:11:02,956 - 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-11 02:11:02,956 - DEBUG - Image build path http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-11 02:11:02,956 - DEBUG - Download image from web http://nexus.opensdn.io/repository///images/converts//ubuntu-bird.vmdk.gz
2025-08-11 02:11:02,965 - 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-11 02:11:05,572 - DEBUG - Image has been downloaded to /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-11 02:11:05,573 - DEBUG - Unzip image
2025-08-11 02:11:05,573 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu-bird.vmdk.gz
2025-08-11 02:11:15,333 - DEBUG - Try to create image in user context
2025-08-11 02:11:21,853 - DEBUG - Image has been created in user context
2025-08-11 02:11:21,853 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: rm -f /contrail-test/images/ubuntu-bird.vmdk
2025-08-11 02:11:22,009 - DEBUG - Downloaded image has been removed
2025-08-11 02:11:22,022 - DEBUG - Uploaded image status = active
2025-08-11 02:11:23,070 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3794-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3794-2)
2025-08-11 02:11:23,070 - INFO - Waiting for VM bgpaas_vm1 to be up..
2025-08-11 02:11:23,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:11:28,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:11:33,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:11:38,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:11:43,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:11:48,570 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:11:53,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 02:11:58,718 - DEBUG - VM is in ACTIVE state now
2025-08-11 02:11:58,718 - INFO - VM name : bgpaas_vm1
2025-08-11 02:11:58,802 - DEBUG - VM bgpaas_vm1 ID is 312b87dc-c303-475b-a03d-df6f9d63e433
2025-08-11 02:11:58,831 - DEBUG - VM bgpaas_vm1 launched on Node an-jenkins-deploy-platform-ansible-os-3794-2
2025-08-11 02:11:58,919 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/312b87dc-c303-475b-a03d-df6f9d63e433
2025-08-11 02:11:59,217 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/312b87dc-c303-475b-a03d-df6f9d63e433
2025-08-11 02:11:59,249 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fbfce615-44a6-41f1-9915-d77ae0253e13
2025-08-11 02:12:02,440 - 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-11 02:12:02,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:02,456 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:06,507 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms')
2025-08-11 02:12:06,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:06,521 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:10,564 - 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-11 02:12:10,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:10,580 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:14,602 - 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 1006ms')
2025-08-11 02:12:14,602 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:14,615 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:18,672 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1034ms')
2025-08-11 02:12:18,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:18,686 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:22,725 - 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-11 02:12:22,725 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:22,743 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:26,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 1031ms')
2025-08-11 02:12:26,797 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:26,819 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:30,860 - 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-11 02:12:30,860 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:30,875 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:34,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 1027ms')
2025-08-11 02:12:34,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:34,941 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:38,993 - 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-11 02:12:38,994 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:39,015 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:43,044 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1012ms')
2025-08-11 02:12:43,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:43,057 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:47,116 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1034ms')
2025-08-11 02:12:47,116 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:47,130 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:51,172 - 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-11 02:12:51,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 failed!
2025-08-11 02:12:51,185 - DEBUG - Gateway for vn default-domain:ctest-TestBGPaaS-57118418:ctest-bgpaas_vn-02686184 is 6.82.245.65 and allocation pool is NOT set
2025-08-11 02:12:55,213 - 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=1.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 1.093/1.093/1.093/0.000 ms')
2025-08-11 02:12:55,213 - INFO - Ping to Metadata IP 169.254.0.3 of VM bgpaas_vm1 passed
2025-08-11 02:12:55,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:12:55,327 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:12:55,350 - 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-11 02:12:55,429 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:00,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:00,430 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:00,445 - 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-11 02:13:00,515 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:05,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:05,516 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:05,529 - 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-11 02:13:05,611 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:10,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:10,612 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:10,626 - 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-11 02:13:10,704 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:15,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:15,704 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:15,718 - 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-11 02:13:15,806 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:20,808 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:20,808 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:20,832 - 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-11 02:13:20,906 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:25,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:25,907 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:25,973 - 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-11 02:13:26,072 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:31,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:31,073 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:31,086 - 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-11 02:13:31,157 - DEBUG - VM bgpaas_vm1 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 02:13:36,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:36,158 - DEBUG - Waiting to SSH to VM bgpaas_vm1, IP 6.82.245.67, Port 22
2025-08-11 02:13:36,237 - DEBUG - VM bgpaas_vm1 is ready for SSH connections
2025-08-11 02:13:36,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 02:13:36,391 - INFO - Creating BGPaaS ctest-TestBGPaaS-57118418-02767776
2025-08-11 02:13:36,471 - INFO - BGPaaS: ctest-TestBGPaaS-57118418-02767776(adeb9a88-a23b-4313-ae43-a76f21b92228)
2025-08-11 02:13:36,471 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:13:36,779 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:13:36,820 - INFO - verify_in_api_server passed for BGPaaS obj adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:13:36,820 - INFO - BGPaaS(adeb9a88-a23b-4313-ae43-a76f21b92228): verify_on_setup passed
2025-08-11 02:13:36,821 - INFO - We will configure BGP on the VM
2025-08-11 02:13:36,821 - INFO - Configuring BGP on bgpaas_vm1
2025-08-11 02:13:36,821 - 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 6.82.245.67;
protocol bgp bgp_1{
local as 64500;
neighbor 6.82.245.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 6.82.245.67;
}
protocol bfd {
neighbor 6.82.245.65 local 6.82.245.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-11 02:13:36,821 - 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 6.82.245.67;
protocol bgp bgp_1{
local as 64500;
neighbor 6.82.245.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 6.82.245.67;
}
protocol bfd {
neighbor 6.82.245.65 local 6.82.245.67 multihop on;
}
EOS
2025-08-11 02:13:55,466 - DEBUG - None
2025-08-11 02:13:55,466 - 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 6.82.245.67;
protocol bgp bgp_1{
local as 64500;
neighbor 6.82.245.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 6.82.245.67;
}
protocol bfd {
neighbor 6.82.245.65 local 6.82.245.67 multihop on;
}
EOS
, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-11 02:13:55,466 - 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 6.82.245.67;
protocol bgp bgp_1{
local as 64500;
neighbor 6.82.245.65 as 64512;
export where source = RTS_STATIC;
export all;
multihop;
#export all;
hold time 90;
bfd on;
source address 6.82.245.67;
}
protocol bfd {
neighbor 6.82.245.65 local 6.82.245.67 multihop on;
}
EOS
2025-08-11 02:13:55,937 - DEBUG - None
2025-08-11 02:13:55,938 - DEBUG - Running remote_cmd, Cmd : service bird restart, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2025-08-11 02:13:55,938 - DEBUG - service bird restart
2025-08-11 02:13:57,517 - DEBUG - bird stop/waiting
bird start/running, process 1482
2025-08-11 02:13:57,517 - INFO - Attaching the VMI to the BGPaaS object
2025-08-11 02:13:57,517 - INFO - Attaching VMI fbfce615-44a6-41f1-9915-d77ae0253e13 to BGPaaS adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:13:57,664 - INFO - Creating Health Check ctest-TestBGPaaS-57118418-70839878
2025-08-11 02:13:57,791 - INFO - Health Check: ctest-TestBGPaaS-57118418-70839878(4ceb419c-24dd-4755-9212-b6ad9ccc40e2), type BFD
2025-08-11 02:13:57,791 - DEBUG - Requesting: http://10.0.0.23:8082/service-health-check/4ceb419c-24dd-4755-9212-b6ad9ccc40e2
2025-08-11 02:13:57,817 - INFO - verify_in_api_server passed for HC obj 4ceb419c-24dd-4755-9212-b6ad9ccc40e2
2025-08-11 02:13:57,817 - INFO - Health Check(4ceb419c-24dd-4755-9212-b6ad9ccc40e2): verify_on_setup passed
2025-08-11 02:13:57,817 - INFO - Attaching HC 4ceb419c-24dd-4755-9212-b6ad9ccc40e2 to BGPaaS adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:13:57,959 - INFO - Check HC obj 4ceb419c-24dd-4755-9212-b6ad9ccc40e2 on agent 10.0.0.65
2025-08-11 02:13:57,967 - INFO - verify_in_agent passed for HC obj 4ceb419c-24dd-4755-9212-b6ad9ccc40e2
2025-08-11 02:13:57,981 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:13:57,998 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:04,025 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:04,038 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:10,063 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:10,077 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:16,102 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:16,117 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:22,143 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:22,157 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:28,183 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:28,198 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:34,225 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:34,240 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:40,269 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:40,283 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:46,309 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:46,326 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:52,358 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:52,375 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:58,404 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:58,420 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_BgpNeighborReq?domain=&ip_address=
2025-08-11 02:14:58,436 - INFO - Detaching HC 4ceb419c-24dd-4755-9212-b6ad9ccc40e2 from BGPaaS adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:14:58,555 - INFO - Deleting Health Check ctest-TestBGPaaS-57118418-70839878(4ceb419c-24dd-4755-9212-b6ad9ccc40e2)
2025-08-11 02:14:58,591 - DEBUG - Requesting: http://10.0.0.23:8082/service-health-check/4ceb419c-24dd-4755-9212-b6ad9ccc40e2
2025-08-11 02:14:58,599 - DEBUG - Response Code: 404
2025-08-11 02:14:58,599 - DEBUG - HC: 4ceb419c-24dd-4755-9212-b6ad9ccc40e2 deleted from api server
2025-08-11 02:14:58,599 - INFO - Health Check(4ceb419c-24dd-4755-9212-b6ad9ccc40e2): verify_on_cleanup passed
2025-08-11 02:14:58,599 - INFO - Detaching VMI fbfce615-44a6-41f1-9915-d77ae0253e13 from BGPaaS adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:14:58,679 - INFO - Deleting BGPaaS ctest-TestBGPaaS-57118418-02767776(adeb9a88-a23b-4313-ae43-a76f21b92228)
2025-08-11 02:14:58,755 - DEBUG - Requesting: http://10.0.0.23:8082/bgp-as-a-service/adeb9a88-a23b-4313-ae43-a76f21b92228
2025-08-11 02:14:58,763 - DEBUG - Response Code: 404
2025-08-11 02:14:58,763 - DEBUG - BGPaaS: adeb9a88-a23b-4313-ae43-a76f21b92228 deleted from api server
2025-08-11 02:14:58,764 - INFO - BGPaaS(adeb9a88-a23b-4313-ae43-a76f21b92228): verify_on_cleanup passed
2025-08-11 02:14:58,764 - INFO - Deleting VM bgpaas_vm1
2025-08-11 02:14:58,833 - INFO - Deleting VN ctest-bgpaas_vn-02686184
2025-08-11 02:14:58,875 - DEBUG - VN 969f67d4-6c54-48e1-aa70-0913f54f0eda still in use: Unable to complete operation on network 969f67d4-6c54-48e1-aa70-0913f54f0eda. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-8a6701c1-5778-4688-8b3a-327db6a8e234']
2025-08-11 02:14:58,875 - WARNING - Deleting VN ctest-bgpaas_vn-02686184 failed..Will retry
2025-08-11 02:15:01,127 - DEBUG - Response for deleting network ()
2025-08-11 02:15:02,401 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Mon Aug 11 02:14:58 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-11 02:15:02,414 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 02:15:02,414 - INFO -
2025-08-11 02:15:02,414 - INFO - END TEST : test_bgpaas_basic : FAILED[0:04:01]
2025-08-11 02:15:02,415 - INFO - --------------------------------------------------------------------------------
2025-08-11 02:15:03,119 - INFO - Deleted project: ctest-TestBGPaaS-57118418, ID : b2da0be3-9c7b-458f-aa19-e45495e48e0e
2025-08-11 02:43:41,557 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-09103475:ctest-bgpaas_vn-09103475.inet.0
2025-08-11 02:43:41,581 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-09103475:ctest-bgpaas_vn-09103475.inet.0
2025-08-11 02:44:11,787 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-28825523:ctest-bgpaas_vn-28825523.inet.0
2025-08-11 02:44:11,803 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-28825523:ctest-bgpaas_vn-28825523.inet.0
2025-08-11 02:44:15,706 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-28825523:ctest-bgpaas_vn-28825523.inet.0
2025-08-11 02:44:15,721 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-28825523:ctest-bgpaas_vn-28825523.inet.0
2025-08-11 02:44:39,788 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-73207725:ctest-bgpaas_vn-73207725.inet.0
2025-08-11 02:44:39,813 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80503259:ctest-bgpaas_vn-73207725:ctest-bgpaas_vn-73207725.inet.0