2025-10-09 12:08:49,463 - INFO - Domain Default found not creating 2025-10-09 12:08:49,626 - INFO - Project ctest-TestRP-53407916 not found, creating it 2025-10-09 12:08:50,119 - INFO - Created Project:ctest-TestRP-53407916, ID : d19ef8da-7431-4d79-a09b-f6b41382bc8a 2025-10-09 12:08:51,675 - DEBUG - Services list from nova: [, , ] 2025-10-09 12:08:51,675 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4259-1']} 2025-10-09 12:08:51,678 - INFO - ================================================================================ 2025-10-09 12:08:51,678 - INFO - STARTING TEST : test_rp_interface 2025-10-09 12:08:51,678 - 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-09 12:08:51,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-09 12:08:51,937 - INFO - Initial checks done. Running the testcase now 2025-10-09 12:08:51,937 - INFO - 2025-10-09 12:08:52,507 - DEBUG - Response for create_network : {'network': {'id': '86a7ef1e-a1c3-4804-82ac-f0ffe90f46e7', 'name': 'ctest-bgpaas_vn-38313672', 'tenant_id': 'd19ef8da74314d79a09bf6b41382bc8a', 'project_id': 'd19ef8da74314d79a09bf6b41382bc8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-53407916', 'ctest-bgpaas_vn-38313672'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 12:08:52,696 - DEBUG - Response for create_subnet : {'subnet': {'id': '337e0660-01ca-4462-801e-4fae8a7f1187', 'name': '', 'tenant_id': 'd19ef8da74314d79a09bf6b41382bc8a', 'network_id': '86a7ef1e-a1c3-4804-82ac-f0ffe90f46e7', 'ip_version': 4, 'cidr': '222.147.67.64/26', 'allocation_pools': [{'start': '222.147.67.66', 'end': '222.147.67.126'}], 'gateway_ip': '222.147.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.147.67.66', 'tags': [], 'project_id': 'd19ef8da74314d79a09bf6b41382bc8a'}} 2025-10-09 12:08:52,715 - INFO - Created VN ctest-bgpaas_vn-38313672 2025-10-09 12:08:52,767 - DEBUG - VN ctest-bgpaas_vn-38313672 UUID is 86a7ef1e-a1c3-4804-82ac-f0ffe90f46e7 2025-10-09 12:08:53,242 - DEBUG - Response for create_network : {'network': {'id': '339bc929-fc09-49dd-8d01-ff3518fd11ee', 'name': 'ctest-bgpaas_vn-90666403', 'tenant_id': 'd19ef8da74314d79a09bf6b41382bc8a', 'project_id': 'd19ef8da74314d79a09bf6b41382bc8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-53407916', 'ctest-bgpaas_vn-90666403'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 12:08:53,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '09875188-06aa-47db-8915-20e03681f91c', 'name': '', 'tenant_id': 'd19ef8da74314d79a09bf6b41382bc8a', 'network_id': '339bc929-fc09-49dd-8d01-ff3518fd11ee', 'ip_version': 4, 'cidr': '72.242.240.128/26', 'allocation_pools': [{'start': '72.242.240.130', 'end': '72.242.240.190'}], 'gateway_ip': '72.242.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.242.240.130', 'tags': [], 'project_id': 'd19ef8da74314d79a09bf6b41382bc8a'}} 2025-10-09 12:08:53,469 - INFO - Created VN ctest-bgpaas_vn-90666403 2025-10-09 12:08:53,523 - DEBUG - VN ctest-bgpaas_vn-90666403 UUID is 339bc929-fc09-49dd-8d01-ff3518fd11ee 2025-10-09 12:08:54,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1) 2025-10-09 12:08:56,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4259-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4259-1) 2025-10-09 12:08:56,232 - INFO - Waiting for VM test_vm to be up.. 2025-10-09 12:08:56,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 12:09:01,404 - DEBUG - VM is in ACTIVE state now 2025-10-09 12:09:01,404 - INFO - VM name : test_vm 2025-10-09 12:09:01,612 - DEBUG - VM test_vm ID is d8810c0b-7fa3-4187-b15c-45222e97a1a3 2025-10-09 12:09:01,635 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1 2025-10-09 12:09:01,717 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8810c0b-7fa3-4187-b15c-45222e97a1a3 2025-10-09 12:09:02,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d8810c0b-7fa3-4187-b15c-45222e97a1a3 2025-10-09 12:09:02,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/874d2165-86b7-4303-9f22-ecb0d74b0784 2025-10-09 12:09:05,330 - 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-10-09 12:09:05,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-09 12:09:05,395 - DEBUG - Gateway for vn default-domain:ctest-TestRP-53407916:ctest-bgpaas_vn-38313672 is 222.147.67.65 and allocation pool is NOT set 2025-10-09 12:09:07,461 - 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=3.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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.348/2.498/3.648/1.150 ms') 2025-10-09 12:09:07,461 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-09 12:09:07,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:09:07,624 - DEBUG - Waiting to SSH to VM test_vm, IP 222.147.67.67, Port 22 2025-10-09 12:09:07,693 - 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-09 12:09:07,790 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 12:09:12,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:09:12,791 - DEBUG - Waiting to SSH to VM test_vm, IP 222.147.67.67, Port 22 2025-10-09 12:09:12,957 - DEBUG - VM test_vm is ready for SSH connections 2025-10-09 12:09:12,957 - INFO - Waiting for VM test2_vm to be up.. 2025-10-09 12:09:13,058 - DEBUG - VM is in ACTIVE state now 2025-10-09 12:09:13,058 - INFO - VM name : test2_vm 2025-10-09 12:09:13,139 - DEBUG - VM test2_vm ID is ac6e438d-cb13-44e7-b81d-4fec9f973645 2025-10-09 12:09:13,139 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4259-1 2025-10-09 12:09:13,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ac6e438d-cb13-44e7-b81d-4fec9f973645 2025-10-09 12:09:13,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/582660d1-46ab-44fe-b9d2-010b9ada390d 2025-10-09 12:09:14,469 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.648/2.874/1.226 ms') 2025-10-09 12:09:14,469 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-09 12:09:14,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:09:14,623 - DEBUG - Waiting to SSH to VM test2_vm, IP 72.242.240.131, Port 22 2025-10-09 12:09:14,783 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-09 12:09:14,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:09:14,949 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-53407916:ctest-bgpaas_vn-38313672:ctest-bgpaas_vn-38313672.inet.0 2025-10-09 12:09:14,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 12:09:14,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 72.242.240.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-09 12:09:14,962 - DEBUG - ping -s 56 -c 3 -W 1 72.242.240.131 2025-10-09 12:09:18,647 - DEBUG - PING 72.242.240.131 (72.242.240.131): 56 data bytes 64 bytes from 72.242.240.131: seq=0 ttl=63 time=3.355 ms 64 bytes from 72.242.240.131: seq=1 ttl=63 time=1.030 ms 64 bytes from 72.242.240.131: seq=2 ttl=63 time=0.869 ms --- 72.242.240.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/1.751/3.355 ms 2025-10-09 12:09:18,647 - INFO - Ping to IP 72.242.240.131 from VM test_vm passed 2025-10-09 12:09:18,704 - INFO - Deleting VM test2_vm 2025-10-09 12:09:18,775 - INFO - Deleting VM test_vm 2025-10-09 12:09:18,850 - INFO - Deleting VN ctest-bgpaas_vn-90666403 2025-10-09 12:09:18,885 - DEBUG - VN 339bc929-fc09-49dd-8d01-ff3518fd11ee still in use: Unable to complete operation on network 339bc929-fc09-49dd-8d01-ff3518fd11ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df8f47e7-65c3-4107-887e-6462e08eff32'] 2025-10-09 12:09:18,885 - WARNING - Deleting VN ctest-bgpaas_vn-90666403 failed..Will retry 2025-10-09 12:09:21,002 - DEBUG - Response for deleting network () 2025-10-09 12:09:21,002 - INFO - Deleting VN ctest-bgpaas_vn-38313672 2025-10-09 12:09:21,114 - DEBUG - Response for deleting network () 2025-10-09 12:09:21,373 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 12:09:21,374 - INFO - END TEST : test_rp_interface : PASSED[0:00:30] 2025-10-09 12:09:21,374 - INFO - -------------------------------------------------------------------------------- 2025-10-09 12:09:22,050 - INFO - Deleted project: ctest-TestRP-53407916, ID : d19ef8da-7431-4d79-a09b-f6b41382bc8a