2025-10-22 11:39:44,703 - INFO - Domain Default found not creating 2025-10-22 11:39:44,862 - INFO - Project ctest-TestRP-64219503 not found, creating it 2025-10-22 11:39:45,326 - INFO - Created Project:ctest-TestRP-64219503, ID : dbd6dd84-2836-4005-915d-445f1eec3ab6 2025-10-22 11:39:46,847 - DEBUG - Services list from nova: [, , ] 2025-10-22 11:39:46,847 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4425-1']} 2025-10-22 11:39:46,849 - INFO - ================================================================================ 2025-10-22 11:39:46,849 - INFO - STARTING TEST : test_rp_interface 2025-10-22 11:39:46,849 - 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-22 11:39:47,109 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-22 11:39:47,109 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:39:47,109 - INFO - 2025-10-22 11:39:47,674 - DEBUG - Response for create_network : {'network': {'id': '5d057d9d-59ae-4df1-9717-4d3375ad7877', 'name': 'ctest-bgpaas_vn-06798727', 'tenant_id': 'dbd6dd8428364005915d445f1eec3ab6', 'project_id': 'dbd6dd8428364005915d445f1eec3ab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-64219503', 'ctest-bgpaas_vn-06798727'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:39:47,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d9aecce-d15c-4eb8-9b2f-268afc711573', 'name': '', 'tenant_id': 'dbd6dd8428364005915d445f1eec3ab6', 'network_id': '5d057d9d-59ae-4df1-9717-4d3375ad7877', 'ip_version': 4, 'cidr': '16.141.9.64/26', 'allocation_pools': [{'start': '16.141.9.66', 'end': '16.141.9.126'}], 'gateway_ip': '16.141.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.141.9.66', 'tags': [], 'project_id': 'dbd6dd8428364005915d445f1eec3ab6'}} 2025-10-22 11:39:47,887 - INFO - Created VN ctest-bgpaas_vn-06798727 2025-10-22 11:39:47,940 - DEBUG - VN ctest-bgpaas_vn-06798727 UUID is 5d057d9d-59ae-4df1-9717-4d3375ad7877 2025-10-22 11:39:48,395 - DEBUG - Response for create_network : {'network': {'id': '89fe2e4d-26d4-458c-8217-44068378be02', 'name': 'ctest-bgpaas_vn-21250269', 'tenant_id': 'dbd6dd8428364005915d445f1eec3ab6', 'project_id': 'dbd6dd8428364005915d445f1eec3ab6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-64219503', 'ctest-bgpaas_vn-21250269'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:39:48,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f3a5ee2-feb0-4f1f-bb78-c205e5729e7d', 'name': '', 'tenant_id': 'dbd6dd8428364005915d445f1eec3ab6', 'network_id': '89fe2e4d-26d4-458c-8217-44068378be02', 'ip_version': 4, 'cidr': '162.143.100.64/26', 'allocation_pools': [{'start': '162.143.100.66', 'end': '162.143.100.126'}], 'gateway_ip': '162.143.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.143.100.66', 'tags': [], 'project_id': 'dbd6dd8428364005915d445f1eec3ab6'}} 2025-10-22 11:39:48,562 - INFO - Created VN ctest-bgpaas_vn-21250269 2025-10-22 11:39:48,612 - DEBUG - VN ctest-bgpaas_vn-21250269 UUID is 89fe2e4d-26d4-458c-8217-44068378be02 2025-10-22 11:39:49,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:39:51,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:39:51,331 - INFO - Waiting for VM test_vm to be up.. 2025-10-22 11:39:51,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 11:39:56,521 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:39:56,521 - INFO - VM name : test_vm 2025-10-22 11:39:56,617 - DEBUG - VM test_vm ID is c732b17d-903e-4b01-afae-ca5333a30bd8 2025-10-22 11:39:56,639 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:39:56,718 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c732b17d-903e-4b01-afae-ca5333a30bd8 2025-10-22 11:39:57,038 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c732b17d-903e-4b01-afae-ca5333a30bd8 2025-10-22 11:39:57,077 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/fa9a1dff-a849-4baa-8f3f-fc5bf01be0a7 2025-10-22 11:40:00,317 - 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 1003ms') 2025-10-22 11:40:00,317 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-22 11:40:00,376 - DEBUG - Gateway for vn default-domain:ctest-TestRP-64219503:ctest-bgpaas_vn-06798727 is 16.141.9.65 and allocation pool is NOT set 2025-10-22 11:40:02,448 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.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 = 2.231/6.213/10.196/3.982 ms') 2025-10-22 11:40:02,448 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-22 11:40:02,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:40:02,604 - DEBUG - Waiting to SSH to VM test_vm, IP 16.141.9.67, Port 22 2025-10-22 11:40:02,659 - 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-22 11:40:02,746 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 11:40:07,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:40:07,746 - DEBUG - Waiting to SSH to VM test_vm, IP 16.141.9.67, Port 22 2025-10-22 11:40:07,903 - DEBUG - VM test_vm is ready for SSH connections 2025-10-22 11:40:07,903 - INFO - Waiting for VM test2_vm to be up.. 2025-10-22 11:40:08,075 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:40:08,075 - INFO - VM name : test2_vm 2025-10-22 11:40:08,157 - DEBUG - VM test2_vm ID is 7b87febe-11bc-497a-9019-d910b948e961 2025-10-22 11:40:08,157 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:40:08,232 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/7b87febe-11bc-497a-9019-d910b948e961 2025-10-22 11:40:08,240 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5f5a55fe-ea09-4c26-aae8-1dd248b96fc5 2025-10-22 11:40:09,490 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.716/2.955/1.239 ms') 2025-10-22 11:40:09,490 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-22 11:40:09,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:40:09,644 - DEBUG - Waiting to SSH to VM test2_vm, IP 162.143.100.67, Port 22 2025-10-22 11:40:09,799 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-22 11:40:09,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:40:09,953 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64219503:ctest-bgpaas_vn-06798727:ctest-bgpaas_vn-06798727.inet.0 2025-10-22 11:40:10,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:40:10,970 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-64219503:ctest-bgpaas_vn-06798727:ctest-bgpaas_vn-06798727.inet.0 2025-10-22 11:40:10,981 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:40:10,981 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.143.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:40:10,981 - DEBUG - ping -s 56 -c 3 -W 1 162.143.100.67 2025-10-22 11:40:14,664 - DEBUG - PING 162.143.100.67 (162.143.100.67): 56 data bytes 64 bytes from 162.143.100.67: seq=0 ttl=63 time=4.702 ms 64 bytes from 162.143.100.67: seq=1 ttl=63 time=0.928 ms 64 bytes from 162.143.100.67: seq=2 ttl=63 time=0.959 ms --- 162.143.100.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/2.196/4.702 ms 2025-10-22 11:40:14,664 - INFO - Ping to IP 162.143.100.67 from VM test_vm passed 2025-10-22 11:40:14,726 - INFO - Deleting VM test2_vm 2025-10-22 11:40:14,797 - INFO - Deleting VM test_vm 2025-10-22 11:40:14,879 - INFO - Deleting VN ctest-bgpaas_vn-21250269 2025-10-22 11:40:14,914 - DEBUG - VN 89fe2e4d-26d4-458c-8217-44068378be02 still in use: Unable to complete operation on network 89fe2e4d-26d4-458c-8217-44068378be02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbdbd0da-ddc7-4edc-bdc4-8da19d771cb1'] 2025-10-22 11:40:14,915 - WARNING - Deleting VN ctest-bgpaas_vn-21250269 failed..Will retry 2025-10-22 11:40:17,022 - DEBUG - Response for deleting network () 2025-10-22 11:40:17,022 - INFO - Deleting VN ctest-bgpaas_vn-06798727 2025-10-22 11:40:17,121 - DEBUG - Response for deleting network () 2025-10-22 11:40:17,377 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 11:40:17,377 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-10-22 11:40:17,377 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:40:18,062 - INFO - Deleted project: ctest-TestRP-64219503, ID : dbd6dd84-2836-4005-915d-445f1eec3ab6