2025-08-21 02:15:42,297 - INFO - Domain Default found not creating 2025-08-21 02:15:42,423 - INFO - Project ctest-TestRP-15836360 not found, creating it 2025-08-21 02:15:42,885 - INFO - Created Project:ctest-TestRP-15836360, ID : 757a2c08-00e0-4a26-a59b-57bd201b461f 2025-08-21 02:15:44,238 - DEBUG - Services list from nova: [, , ] 2025-08-21 02:15:44,239 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3903-1']} 2025-08-21 02:15:44,241 - INFO - ================================================================================ 2025-08-21 02:15:44,241 - INFO - STARTING TEST : test_rp_interface 2025-08-21 02:15:44,241 - 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-08-21 02:15:44,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0'}} with 2025-08-21 02:15:44,504 - INFO - Initial checks done. Running the testcase now 2025-08-21 02:15:44,504 - INFO - 2025-08-21 02:15:45,037 - DEBUG - Response for create_network : {'network': {'id': 'cd39d71c-04fc-44a4-a6d6-f5dfcb7ea5f7', 'name': 'ctest-bgpaas_vn-56465916', 'tenant_id': '757a2c0800e04a26a59b57bd201b461f', 'project_id': '757a2c0800e04a26a59b57bd201b461f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-15836360', 'ctest-bgpaas_vn-56465916'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:15:45,215 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edd8c7d1-96ae-4728-a54e-9dffd06d5153', 'name': '', 'tenant_id': '757a2c0800e04a26a59b57bd201b461f', 'network_id': 'cd39d71c-04fc-44a4-a6d6-f5dfcb7ea5f7', 'ip_version': 4, 'cidr': '124.89.179.64/26', 'allocation_pools': [{'start': '124.89.179.66', 'end': '124.89.179.126'}], 'gateway_ip': '124.89.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.89.179.66', 'tags': [], 'project_id': '757a2c0800e04a26a59b57bd201b461f'}} 2025-08-21 02:15:45,234 - INFO - Created VN ctest-bgpaas_vn-56465916 2025-08-21 02:15:45,291 - DEBUG - VN ctest-bgpaas_vn-56465916 UUID is cd39d71c-04fc-44a4-a6d6-f5dfcb7ea5f7 2025-08-21 02:15:45,783 - DEBUG - Response for create_network : {'network': {'id': '5c59b47c-2ae8-44ca-b195-ba42f02cb4b1', 'name': 'ctest-bgpaas_vn-61958551', 'tenant_id': '757a2c0800e04a26a59b57bd201b461f', 'project_id': '757a2c0800e04a26a59b57bd201b461f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-15836360', 'ctest-bgpaas_vn-61958551'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:15:45,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '932e8592-4716-4771-8ace-808fa75771a7', 'name': '', 'tenant_id': '757a2c0800e04a26a59b57bd201b461f', 'network_id': '5c59b47c-2ae8-44ca-b195-ba42f02cb4b1', 'ip_version': 4, 'cidr': '125.64.185.192/26', 'allocation_pools': [{'start': '125.64.185.194', 'end': '125.64.185.254'}], 'gateway_ip': '125.64.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.64.185.194', 'tags': [], 'project_id': '757a2c0800e04a26a59b57bd201b461f'}} 2025-08-21 02:15:45,982 - INFO - Created VN ctest-bgpaas_vn-61958551 2025-08-21 02:15:46,035 - DEBUG - VN ctest-bgpaas_vn-61958551 UUID is 5c59b47c-2ae8-44ca-b195-ba42f02cb4b1 2025-08-21 02:15:47,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3903-1) 2025-08-21 02:15:48,545 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3903-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3903-1) 2025-08-21 02:15:48,545 - INFO - Waiting for VM test_vm to be up.. 2025-08-21 02:15:48,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 02:15:53,715 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:15:53,715 - INFO - VM name : test_vm 2025-08-21 02:15:53,805 - DEBUG - VM test_vm ID is 3bdc0d7b-4a42-4353-a054-4e1e961fc46e 2025-08-21 02:15:53,831 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3903-1 2025-08-21 02:15:53,921 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3bdc0d7b-4a42-4353-a054-4e1e961fc46e 2025-08-21 02:15:54,237 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/3bdc0d7b-4a42-4353-a054-4e1e961fc46e 2025-08-21 02:15:54,267 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6cb0f191-4027-421b-b2a6-7a63e095211d 2025-08-21 02:15:57,513 - 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 1008ms') 2025-08-21 02:15:57,513 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-21 02:15:57,567 - DEBUG - Gateway for vn default-domain:ctest-TestRP-15836360:ctest-bgpaas_vn-56465916 is 124.89.179.65 and allocation pool is NOT set 2025-08-21 02:15:59,630 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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 = 0.422/1.806/3.191/1.384 ms') 2025-08-21 02:15:59,630 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-21 02:15:59,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:15:59,779 - DEBUG - Waiting to SSH to VM test_vm, IP 124.89.179.67, Port 22 2025-08-21 02:15:59,934 - DEBUG - VM test_vm is ready for SSH connections 2025-08-21 02:15:59,934 - INFO - Waiting for VM test2_vm to be up.. 2025-08-21 02:16:00,012 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:16:00,013 - INFO - VM name : test2_vm 2025-08-21 02:16:00,089 - DEBUG - VM test2_vm ID is f8115a4f-e763-4869-ae86-e8740227260c 2025-08-21 02:16:00,089 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3903-1 2025-08-21 02:16:00,179 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f8115a4f-e763-4869-ae86-e8740227260c 2025-08-21 02:16:00,188 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/07d55795-8709-4886-95f7-915181aefe46 2025-08-21 02:16:01,426 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.311/2.549/3.788/1.238 ms') 2025-08-21 02:16:01,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-21 02:16:01,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:16:01,575 - DEBUG - Waiting to SSH to VM test2_vm, IP 125.64.185.195, Port 22 2025-08-21 02:16:01,634 - 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-08-21 02:16:01,703 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-21 02:16:06,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:16:06,704 - DEBUG - Waiting to SSH to VM test2_vm, IP 125.64.185.195, Port 22 2025-08-21 02:16:06,858 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-21 02:16:07,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:16:07,016 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-15836360:ctest-bgpaas_vn-56465916:ctest-bgpaas_vn-56465916.inet.0 2025-08-21 02:16:07,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:16:07,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.64.185.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-21 02:16:07,025 - DEBUG - ping -s 56 -c 3 -W 1 125.64.185.195 2025-08-21 02:16:10,665 - DEBUG - PING 125.64.185.195 (125.64.185.195): 56 data bytes 64 bytes from 125.64.185.195: seq=0 ttl=63 time=4.236 ms 64 bytes from 125.64.185.195: seq=1 ttl=63 time=0.642 ms 64 bytes from 125.64.185.195: seq=2 ttl=63 time=0.745 ms --- 125.64.185.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.642/1.874/4.236 ms 2025-08-21 02:16:10,665 - INFO - Ping to IP 125.64.185.195 from VM test_vm passed 2025-08-21 02:16:10,735 - INFO - Deleting VM test2_vm 2025-08-21 02:16:10,798 - INFO - Deleting VM test_vm 2025-08-21 02:16:10,861 - INFO - Deleting VN ctest-bgpaas_vn-61958551 2025-08-21 02:16:10,898 - DEBUG - VN 5c59b47c-2ae8-44ca-b195-ba42f02cb4b1 still in use: Unable to complete operation on network 5c59b47c-2ae8-44ca-b195-ba42f02cb4b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f50d56b-bc7e-4485-97af-b7783fbb2eda'] 2025-08-21 02:16:10,898 - WARNING - Deleting VN ctest-bgpaas_vn-61958551 failed..Will retry 2025-08-21 02:16:13,013 - DEBUG - Response for deleting network () 2025-08-21 02:16:13,013 - INFO - Deleting VN ctest-bgpaas_vn-56465916 2025-08-21 02:16:13,148 - DEBUG - Response for deleting network () 2025-08-21 02:16:13,407 - DEBUG - No XMPP flaps were noticed during the test 2025-08-21 02:16:13,407 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-08-21 02:16:13,407 - INFO - -------------------------------------------------------------------------------- 2025-08-21 02:16:14,079 - INFO - Deleted project: ctest-TestRP-15836360, ID : 757a2c08-00e0-4a26-a59b-57bd201b461f