2025-11-17 02:08:11,172 - INFO - Domain Default found not creating 2025-11-17 02:08:11,376 - INFO - Project ctest-TestRP-79500266 not found, creating it 2025-11-17 02:08:11,892 - INFO - Created Project:ctest-TestRP-79500266, ID : cf52f1ee-5ae4-43f9-ace2-c2b28248c8c7 2025-11-17 02:08:13,566 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:08:13,566 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4739-1']} 2025-11-17 02:08:13,570 - INFO - ================================================================================ 2025-11-17 02:08:13,570 - INFO - STARTING TEST : test_rp_interface 2025-11-17 02:08:13,570 - 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 02:08:13,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-11-17 02:08:13,843 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:08:13,843 - INFO - 2025-11-17 02:08:14,475 - DEBUG - Response for create_network : {'network': {'id': '5ff8a20f-845f-47a0-a7aa-8a44ee607c84', 'name': 'ctest-bgpaas_vn-87421397', 'tenant_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7', 'project_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-79500266', 'ctest-bgpaas_vn-87421397'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:08:14,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '166205f8-dd96-480e-83db-ba5e64a32751', 'name': '', 'tenant_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7', 'network_id': '5ff8a20f-845f-47a0-a7aa-8a44ee607c84', 'ip_version': 4, 'cidr': '125.33.222.0/26', 'allocation_pools': [{'start': '125.33.222.2', 'end': '125.33.222.62'}], 'gateway_ip': '125.33.222.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.33.222.2', 'tags': [], 'project_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7'}} 2025-11-17 02:08:14,702 - INFO - Created VN ctest-bgpaas_vn-87421397 2025-11-17 02:08:14,755 - DEBUG - VN ctest-bgpaas_vn-87421397 UUID is 5ff8a20f-845f-47a0-a7aa-8a44ee607c84 2025-11-17 02:08:15,256 - DEBUG - Response for create_network : {'network': {'id': '43b4937d-7a30-4b3f-8804-b02f0d3844b7', 'name': 'ctest-bgpaas_vn-94758704', 'tenant_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7', 'project_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-79500266', 'ctest-bgpaas_vn-94758704'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:08:15,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '973d8816-d136-4b2e-9d7d-8d0bc887f4ef', 'name': '', 'tenant_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7', 'network_id': '43b4937d-7a30-4b3f-8804-b02f0d3844b7', 'ip_version': 4, 'cidr': '84.27.26.192/26', 'allocation_pools': [{'start': '84.27.26.194', 'end': '84.27.26.254'}], 'gateway_ip': '84.27.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.27.26.194', 'tags': [], 'project_id': 'cf52f1ee5ae443f9ace2c2b28248c8c7'}} 2025-11-17 02:08:15,497 - INFO - Created VN ctest-bgpaas_vn-94758704 2025-11-17 02:08:15,551 - DEBUG - VN ctest-bgpaas_vn-94758704 UUID is 43b4937d-7a30-4b3f-8804-b02f0d3844b7 2025-11-17 02:08:16,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1) 2025-11-17 02:08:18,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1) 2025-11-17 02:08:18,268 - INFO - Waiting for VM test_vm to be up.. 2025-11-17 02:08:18,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:08:23,461 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:08:23,462 - INFO - VM name : test_vm 2025-11-17 02:08:23,551 - DEBUG - VM test_vm ID is a882b509-b10e-42a4-b974-5216cd5b0cdd 2025-11-17 02:08:23,582 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1 2025-11-17 02:08:23,682 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a882b509-b10e-42a4-b974-5216cd5b0cdd 2025-11-17 02:08:24,002 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a882b509-b10e-42a4-b974-5216cd5b0cdd 2025-11-17 02:08:24,048 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e74ae42c-e03c-4172-925b-a3d0afc542b0 2025-11-17 02:08:27,313 - 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 1010ms') 2025-11-17 02:08:27,313 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-17 02:08:27,375 - DEBUG - Gateway for vn default-domain:ctest-TestRP-79500266:ctest-bgpaas_vn-87421397 is 125.33.222.1 and allocation pool is NOT set 2025-11-17 02:08:29,438 - 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=6.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.80 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.800/4.320/6.840/2.520 ms') 2025-11-17 02:08:29,439 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-17 02:08:29,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:08:29,591 - DEBUG - Waiting to SSH to VM test_vm, IP 125.33.222.3, Port 22 2025-11-17 02:08:29,657 - 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-11-17 02:08:29,762 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 02:08:34,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:08:34,763 - DEBUG - Waiting to SSH to VM test_vm, IP 125.33.222.3, Port 22 2025-11-17 02:08:34,928 - DEBUG - VM test_vm is ready for SSH connections 2025-11-17 02:08:34,929 - INFO - Waiting for VM test2_vm to be up.. 2025-11-17 02:08:35,013 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:08:35,013 - INFO - VM name : test2_vm 2025-11-17 02:08:35,102 - DEBUG - VM test2_vm ID is 6a09348a-3c9c-4556-8fbf-6b4f0f57eb09 2025-11-17 02:08:35,102 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1 2025-11-17 02:08:35,196 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/6a09348a-3c9c-4556-8fbf-6b4f0f57eb09 2025-11-17 02:08:35,209 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ff57eddf-f8d2-4564-9839-66e3747b973f 2025-11-17 02:08:36,472 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.838/3.180/1.342 ms') 2025-11-17 02:08:36,472 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-17 02:08:36,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:08:36,623 - DEBUG - Waiting to SSH to VM test2_vm, IP 84.27.26.195, Port 22 2025-11-17 02:08:36,788 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-17 02:08:36,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:08:36,964 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-79500266:ctest-bgpaas_vn-87421397:ctest-bgpaas_vn-87421397.inet.0 2025-11-17 02:08:37,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:08:37,988 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-79500266:ctest-bgpaas_vn-87421397:ctest-bgpaas_vn-87421397.inet.0 2025-11-17 02:08:37,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:08:37,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.27.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:08:37,999 - DEBUG - ping -s 56 -c 3 -W 1 84.27.26.195 2025-11-17 02:08:41,765 - DEBUG - PING 84.27.26.195 (84.27.26.195): 56 data bytes 64 bytes from 84.27.26.195: seq=0 ttl=63 time=5.620 ms 64 bytes from 84.27.26.195: seq=1 ttl=63 time=1.296 ms 64 bytes from 84.27.26.195: seq=2 ttl=63 time=1.053 ms --- 84.27.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.053/2.656/5.620 ms 2025-11-17 02:08:41,766 - INFO - Ping to IP 84.27.26.195 from VM test_vm passed 2025-11-17 02:08:41,829 - INFO - Deleting VM test2_vm 2025-11-17 02:08:41,916 - INFO - Deleting VM test_vm 2025-11-17 02:08:42,008 - INFO - Deleting VN ctest-bgpaas_vn-94758704 2025-11-17 02:08:42,054 - DEBUG - VN 43b4937d-7a30-4b3f-8804-b02f0d3844b7 still in use: Unable to complete operation on network 43b4937d-7a30-4b3f-8804-b02f0d3844b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75522616-c60a-4c42-b0d5-d15d38b14f16'] 2025-11-17 02:08:42,054 - WARNING - Deleting VN ctest-bgpaas_vn-94758704 failed..Will retry 2025-11-17 02:08:44,171 - DEBUG - Response for deleting network () 2025-11-17 02:08:44,171 - INFO - Deleting VN ctest-bgpaas_vn-87421397 2025-11-17 02:08:44,286 - DEBUG - Response for deleting network () 2025-11-17 02:08:44,543 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 02:08:44,544 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-11-17 02:08:44,544 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:08:45,290 - INFO - Deleted project: ctest-TestRP-79500266, ID : cf52f1ee-5ae4-43f9-ace2-c2b28248c8c7