2025-11-17 16:14:11,857 - INFO - Domain Default found not creating 2025-11-17 16:14:12,031 - INFO - Project ctest-TestRP-51941048 not found, creating it 2025-11-17 16:14:12,523 - INFO - Created Project:ctest-TestRP-51941048, ID : b64a0fb8-b046-4515-b8d4-9689e714cdba 2025-11-17 16:14:14,193 - DEBUG - Services list from nova: [, , ] 2025-11-17 16:14:14,193 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4742-1']} 2025-11-17 16:14:14,196 - INFO - ================================================================================ 2025-11-17 16:14:14,196 - INFO - STARTING TEST : test_rp_interface 2025-11-17 16:14:14,196 - 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-11-17 16:14:14,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-11-17 16:14:14,464 - INFO - Initial checks done. Running the testcase now 2025-11-17 16:14:14,464 - INFO - 2025-11-17 16:14:15,064 - DEBUG - Response for create_network : {'network': {'id': '9280efa6-8fb0-4317-8426-7780f7bede77', 'name': 'ctest-bgpaas_vn-27501942', 'tenant_id': 'b64a0fb8b0464515b8d49689e714cdba', 'project_id': 'b64a0fb8b0464515b8d49689e714cdba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51941048', 'ctest-bgpaas_vn-27501942'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:14:15,289 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9b604a5-a7d5-4769-b4b3-42ce2369a128', 'name': '', 'tenant_id': 'b64a0fb8b0464515b8d49689e714cdba', 'network_id': '9280efa6-8fb0-4317-8426-7780f7bede77', 'ip_version': 4, 'cidr': '119.197.119.128/26', 'allocation_pools': [{'start': '119.197.119.130', 'end': '119.197.119.190'}], 'gateway_ip': '119.197.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.197.119.130', 'tags': [], 'project_id': 'b64a0fb8b0464515b8d49689e714cdba'}} 2025-11-17 16:14:15,311 - INFO - Created VN ctest-bgpaas_vn-27501942 2025-11-17 16:14:15,364 - DEBUG - VN ctest-bgpaas_vn-27501942 UUID is 9280efa6-8fb0-4317-8426-7780f7bede77 2025-11-17 16:14:15,855 - DEBUG - Response for create_network : {'network': {'id': '05b18bed-02ec-405f-86e6-7c7416754847', 'name': 'ctest-bgpaas_vn-12918529', 'tenant_id': 'b64a0fb8b0464515b8d49689e714cdba', 'project_id': 'b64a0fb8b0464515b8d49689e714cdba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51941048', 'ctest-bgpaas_vn-12918529'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:14:16,068 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1f6ffd0-4153-46c2-8638-0a927f5367df', 'name': '', 'tenant_id': 'b64a0fb8b0464515b8d49689e714cdba', 'network_id': '05b18bed-02ec-405f-86e6-7c7416754847', 'ip_version': 4, 'cidr': '11.143.116.128/26', 'allocation_pools': [{'start': '11.143.116.130', 'end': '11.143.116.190'}], 'gateway_ip': '11.143.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.143.116.130', 'tags': [], 'project_id': 'b64a0fb8b0464515b8d49689e714cdba'}} 2025-11-17 16:14:16,087 - INFO - Created VN ctest-bgpaas_vn-12918529 2025-11-17 16:14:16,140 - DEBUG - VN ctest-bgpaas_vn-12918529 UUID is 05b18bed-02ec-405f-86e6-7c7416754847 2025-11-17 16:14:17,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4742-1) 2025-11-17 16:14:18,825 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4742-1) 2025-11-17 16:14:18,825 - INFO - Waiting for VM test_vm to be up.. 2025-11-17 16:14:18,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 16:14:23,982 - DEBUG - VM is in ACTIVE state now 2025-11-17 16:14:23,982 - INFO - VM name : test_vm 2025-11-17 16:14:24,064 - DEBUG - VM test_vm ID is 6080b870-b8ec-4afc-8642-f3054d564eb7 2025-11-17 16:14:24,083 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4742-1 2025-11-17 16:14:24,165 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6080b870-b8ec-4afc-8642-f3054d564eb7 2025-11-17 16:14:24,505 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6080b870-b8ec-4afc-8642-f3054d564eb7 2025-11-17 16:14:24,538 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6069c22d-03f0-4247-ace0-fcf9c08bc88b 2025-11-17 16:14:27,807 - 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-11-17 16:14:27,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-17 16:14:27,864 - DEBUG - Gateway for vn default-domain:ctest-TestRP-51941048:ctest-bgpaas_vn-27501942 is 119.197.119.129 and allocation pool is NOT set 2025-11-17 16:14:29,925 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.23 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.231/2.274/3.318/1.043 ms') 2025-11-17 16:14:29,926 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-17 16:14:30,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:30,084 - DEBUG - Waiting to SSH to VM test_vm, IP 119.197.119.131, Port 22 2025-11-17 16:14:30,243 - DEBUG - VM test_vm is ready for SSH connections 2025-11-17 16:14:30,243 - INFO - Waiting for VM test2_vm to be up.. 2025-11-17 16:14:30,325 - DEBUG - VM is in ACTIVE state now 2025-11-17 16:14:30,325 - INFO - VM name : test2_vm 2025-11-17 16:14:30,403 - DEBUG - VM test2_vm ID is b145ba78-7d35-4965-8a02-8778a31f26de 2025-11-17 16:14:30,403 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4742-1 2025-11-17 16:14:30,476 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b145ba78-7d35-4965-8a02-8778a31f26de 2025-11-17 16:14:30,484 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/14d021eb-64ab-4912-b14e-68363fd9fcbd 2025-11-17 16:14:31,725 - 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=4.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.63 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 = 1.628/3.105/4.582/1.477 ms') 2025-11-17 16:14:31,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-17 16:14:31,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:31,872 - DEBUG - Waiting to SSH to VM test2_vm, IP 11.143.116.131, Port 22 2025-11-17 16:14:31,937 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-17 16:14:32,105 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 16:14:37,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:37,107 - DEBUG - Waiting to SSH to VM test2_vm, IP 11.143.116.131, Port 22 2025-11-17 16:14:37,263 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-17 16:14:37,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:37,417 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-51941048:ctest-bgpaas_vn-27501942:ctest-bgpaas_vn-27501942.inet.0 2025-11-17 16:14:38,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:38,434 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-51941048:ctest-bgpaas_vn-27501942:ctest-bgpaas_vn-27501942.inet.0 2025-11-17 16:14:38,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:38,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.143.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 16:14:38,445 - DEBUG - ping -s 56 -c 3 -W 1 11.143.116.131 2025-11-17 16:14:42,157 - DEBUG - PING 11.143.116.131 (11.143.116.131): 56 data bytes 64 bytes from 11.143.116.131: seq=0 ttl=63 time=5.391 ms 64 bytes from 11.143.116.131: seq=1 ttl=63 time=0.969 ms 64 bytes from 11.143.116.131: seq=2 ttl=63 time=0.791 ms --- 11.143.116.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/2.383/5.391 ms 2025-11-17 16:14:42,157 - INFO - Ping to IP 11.143.116.131 from VM test_vm passed 2025-11-17 16:14:42,219 - INFO - Deleting VM test2_vm 2025-11-17 16:14:42,289 - INFO - Deleting VM test_vm 2025-11-17 16:14:42,361 - INFO - Deleting VN ctest-bgpaas_vn-12918529 2025-11-17 16:14:42,398 - DEBUG - VN 05b18bed-02ec-405f-86e6-7c7416754847 still in use: Unable to complete operation on network 05b18bed-02ec-405f-86e6-7c7416754847. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb82c933-e68d-46e7-9752-b5f9d7fb6ddd'] 2025-11-17 16:14:42,398 - WARNING - Deleting VN ctest-bgpaas_vn-12918529 failed..Will retry 2025-11-17 16:14:44,509 - DEBUG - Response for deleting network () 2025-11-17 16:14:44,509 - INFO - Deleting VN ctest-bgpaas_vn-27501942 2025-11-17 16:14:44,616 - DEBUG - Response for deleting network () 2025-11-17 16:14:44,883 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 16:14:44,883 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-11-17 16:14:44,883 - INFO - -------------------------------------------------------------------------------- 2025-11-17 16:14:45,632 - INFO - Deleted project: ctest-TestRP-51941048, ID : b64a0fb8-b046-4515-b8d4-9689e714cdba