2025-10-21 17:07:48,858 - INFO - Domain Default found not creating 2025-10-21 17:07:49,102 - INFO - Project ctest-TestRP-37554736 not found, creating it 2025-10-21 17:07:49,568 - INFO - Created Project:ctest-TestRP-37554736, ID : cd6d0197-c5ec-461b-8bae-3fbaa7267621 2025-10-21 17:07:51,116 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:07:51,116 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4399-1']} 2025-10-21 17:07:51,119 - INFO - ================================================================================ 2025-10-21 17:07:51,119 - INFO - STARTING TEST : test_rp_interface 2025-10-21 17:07:51,119 - INFO - TEST DESCRIPTION : 1. Create a routing policy with interface match. 2. Launch VMs. 3. Attach policy to VN and confirm if policy takes hold. 2025-10-21 17:07:51,384 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-10-21 17:07:51,384 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:07:51,384 - INFO - 2025-10-21 17:07:51,937 - DEBUG - Response for create_network : {'network': {'id': '26f07ddd-4e78-4870-a525-e9baf16db9a6', 'name': 'ctest-bgpaas_vn-24308913', 'tenant_id': 'cd6d0197c5ec461b8bae3fbaa7267621', 'project_id': 'cd6d0197c5ec461b8bae3fbaa7267621', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37554736', 'ctest-bgpaas_vn-24308913'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:07:52,149 - DEBUG - Response for create_subnet : {'subnet': {'id': '9542f8b3-4c5d-4a28-a916-64dd4ad22cb4', 'name': '', 'tenant_id': 'cd6d0197c5ec461b8bae3fbaa7267621', 'network_id': '26f07ddd-4e78-4870-a525-e9baf16db9a6', 'ip_version': 4, 'cidr': '15.119.180.64/26', 'allocation_pools': [{'start': '15.119.180.66', 'end': '15.119.180.126'}], 'gateway_ip': '15.119.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.119.180.66', 'tags': [], 'project_id': 'cd6d0197c5ec461b8bae3fbaa7267621'}} 2025-10-21 17:07:52,169 - INFO - Created VN ctest-bgpaas_vn-24308913 2025-10-21 17:07:52,221 - DEBUG - VN ctest-bgpaas_vn-24308913 UUID is 26f07ddd-4e78-4870-a525-e9baf16db9a6 2025-10-21 17:07:52,700 - DEBUG - Response for create_network : {'network': {'id': 'c30f4cb3-5f0f-49f9-b63a-83ffe67106f9', 'name': 'ctest-bgpaas_vn-05678525', 'tenant_id': 'cd6d0197c5ec461b8bae3fbaa7267621', 'project_id': 'cd6d0197c5ec461b8bae3fbaa7267621', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37554736', 'ctest-bgpaas_vn-05678525'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:07:52,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '30c40281-cb8f-41d8-a5d4-af1b39248e14', 'name': '', 'tenant_id': 'cd6d0197c5ec461b8bae3fbaa7267621', 'network_id': 'c30f4cb3-5f0f-49f9-b63a-83ffe67106f9', 'ip_version': 4, 'cidr': '186.233.232.192/26', 'allocation_pools': [{'start': '186.233.232.194', 'end': '186.233.232.254'}], 'gateway_ip': '186.233.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.233.232.194', 'tags': [], 'project_id': 'cd6d0197c5ec461b8bae3fbaa7267621'}} 2025-10-21 17:07:52,936 - INFO - Created VN ctest-bgpaas_vn-05678525 2025-10-21 17:07:52,989 - DEBUG - VN ctest-bgpaas_vn-05678525 UUID is c30f4cb3-5f0f-49f9-b63a-83ffe67106f9 2025-10-21 17:07:54,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1) 2025-10-21 17:07:55,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4399-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4399-1) 2025-10-21 17:07:55,552 - INFO - Waiting for VM test_vm to be up.. 2025-10-21 17:07:55,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:08:00,741 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:08:00,741 - INFO - VM name : test_vm 2025-10-21 17:08:00,829 - DEBUG - VM test_vm ID is c0a7ac9e-6445-4203-8f5e-44e61b90ea5f 2025-10-21 17:08:00,852 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1 2025-10-21 17:08:00,937 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c0a7ac9e-6445-4203-8f5e-44e61b90ea5f 2025-10-21 17:08:01,231 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c0a7ac9e-6445-4203-8f5e-44e61b90ea5f 2025-10-21 17:08:01,265 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1df3d4df-49c3-40d5-9797-b7d4bc44af64 2025-10-21 17:08:04,525 - 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-10-21 17:08:04,525 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-21 17:08:04,581 - DEBUG - Gateway for vn default-domain:ctest-TestRP-37554736:ctest-bgpaas_vn-24308913 is 15.119.180.65 and allocation pool is NOT set 2025-10-21 17:08:06,648 - 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=4.68 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 1002ms\r\nrtt min/avg/max/mdev = 1.135/2.906/4.677/1.771 ms') 2025-10-21 17:08:06,648 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-21 17:08:06,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:08:06,801 - DEBUG - Waiting to SSH to VM test_vm, IP 15.119.180.67, Port 22 2025-10-21 17:08:06,868 - DEBUG - Error on ssh to cirros@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-10-21 17:08:06,957 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 17:08:11,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:08:11,957 - DEBUG - Waiting to SSH to VM test_vm, IP 15.119.180.67, Port 22 2025-10-21 17:08:12,124 - DEBUG - VM test_vm is ready for SSH connections 2025-10-21 17:08:12,124 - INFO - Waiting for VM test2_vm to be up.. 2025-10-21 17:08:12,209 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:08:12,209 - INFO - VM name : test2_vm 2025-10-21 17:08:12,291 - DEBUG - VM test2_vm ID is a24bf67d-afcc-4524-bde9-7bbabdefa7ce 2025-10-21 17:08:12,291 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4399-1 2025-10-21 17:08:12,374 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a24bf67d-afcc-4524-bde9-7bbabdefa7ce 2025-10-21 17:08:12,384 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8d14c090-72fb-4841-a82a-3dd2141b57d0 2025-10-21 17:08:13,619 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.473 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.473/1.773/3.074/1.300 ms') 2025-10-21 17:08:13,619 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-21 17:08:13,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:08:13,769 - DEBUG - Waiting to SSH to VM test2_vm, IP 186.233.232.195, Port 22 2025-10-21 17:08:13,936 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-21 17:08:14,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:08:14,103 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-37554736:ctest-bgpaas_vn-24308913:ctest-bgpaas_vn-24308913.inet.0 2025-10-21 17:08:14,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:08:14,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.233.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-21 17:08:14,115 - DEBUG - ping -s 56 -c 3 -W 1 186.233.232.195 2025-10-21 17:08:17,779 - DEBUG - PING 186.233.232.195 (186.233.232.195): 56 data bytes 64 bytes from 186.233.232.195: seq=0 ttl=63 time=3.722 ms 64 bytes from 186.233.232.195: seq=1 ttl=63 time=1.474 ms 64 bytes from 186.233.232.195: seq=2 ttl=63 time=1.022 ms --- 186.233.232.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.022/2.072/3.722 ms 2025-10-21 17:08:17,779 - INFO - Ping to IP 186.233.232.195 from VM test_vm passed 2025-10-21 17:08:17,839 - INFO - Deleting VM test2_vm 2025-10-21 17:08:17,919 - INFO - Deleting VM test_vm 2025-10-21 17:08:18,123 - INFO - Deleting VN ctest-bgpaas_vn-05678525 2025-10-21 17:08:18,185 - DEBUG - VN c30f4cb3-5f0f-49f9-b63a-83ffe67106f9 still in use: Unable to complete operation on network c30f4cb3-5f0f-49f9-b63a-83ffe67106f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-205abefb-2435-486c-8162-bf74d8c6ac4f'] 2025-10-21 17:08:18,185 - WARNING - Deleting VN ctest-bgpaas_vn-05678525 failed..Will retry 2025-10-21 17:08:20,297 - DEBUG - Response for deleting network () 2025-10-21 17:08:20,297 - INFO - Deleting VN ctest-bgpaas_vn-24308913 2025-10-21 17:08:20,413 - DEBUG - Response for deleting network () 2025-10-21 17:08:20,671 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 17:08:20,671 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-10-21 17:08:20,672 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:08:21,396 - INFO - Deleted project: ctest-TestRP-37554736, ID : cd6d0197-c5ec-461b-8bae-3fbaa7267621