2025-09-11 14:40:40,761 - INFO - Domain Default found not creating 2025-09-11 14:40:40,956 - INFO - Project ctest-TestRP-37913929 not found, creating it 2025-09-11 14:40:41,443 - INFO - Created Project:ctest-TestRP-37913929, ID : aa0a80b6-c9c9-4792-a0bd-7ca733577dc4 2025-09-11 14:40:43,176 - DEBUG - Services list from nova: [, , ] 2025-09-11 14:40:43,176 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4093-1']} 2025-09-11 14:40:43,179 - INFO - ================================================================================ 2025-09-11 14:40:43,180 - INFO - STARTING TEST : test_rp_interface 2025-09-11 14:40:43,180 - 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-09-11 14:40:43,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.254': '0'}} with 2025-09-11 14:40:43,458 - INFO - Initial checks done. Running the testcase now 2025-09-11 14:40:43,458 - INFO - 2025-09-11 14:40:44,113 - DEBUG - Response for create_network : {'network': {'id': 'e50b9270-d790-4328-82ac-15f258e259dd', 'name': 'ctest-bgpaas_vn-20592247', 'tenant_id': 'aa0a80b6c9c94792a0bd7ca733577dc4', 'project_id': 'aa0a80b6c9c94792a0bd7ca733577dc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37913929', 'ctest-bgpaas_vn-20592247'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:40:44,292 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f52b8bab-379f-4cd2-b4a5-4db1531b3c45', 'name': '', 'tenant_id': 'aa0a80b6c9c94792a0bd7ca733577dc4', 'network_id': 'e50b9270-d790-4328-82ac-15f258e259dd', 'ip_version': 4, 'cidr': '65.188.85.64/26', 'allocation_pools': [{'start': '65.188.85.66', 'end': '65.188.85.126'}], 'gateway_ip': '65.188.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.188.85.66', 'tags': [], 'project_id': 'aa0a80b6c9c94792a0bd7ca733577dc4'}} 2025-09-11 14:40:44,314 - INFO - Created VN ctest-bgpaas_vn-20592247 2025-09-11 14:40:44,367 - DEBUG - VN ctest-bgpaas_vn-20592247 UUID is e50b9270-d790-4328-82ac-15f258e259dd 2025-09-11 14:40:44,899 - DEBUG - Response for create_network : {'network': {'id': '951e4cf3-773d-46fd-a43c-e2fb97a6e21b', 'name': 'ctest-bgpaas_vn-84063536', 'tenant_id': 'aa0a80b6c9c94792a0bd7ca733577dc4', 'project_id': 'aa0a80b6c9c94792a0bd7ca733577dc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37913929', 'ctest-bgpaas_vn-84063536'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 14:40:45,101 - DEBUG - Response for create_subnet : {'subnet': {'id': '826f5409-8729-4f18-b46b-f57b223a6824', 'name': '', 'tenant_id': 'aa0a80b6c9c94792a0bd7ca733577dc4', 'network_id': '951e4cf3-773d-46fd-a43c-e2fb97a6e21b', 'ip_version': 4, 'cidr': '203.185.47.64/26', 'allocation_pools': [{'start': '203.185.47.66', 'end': '203.185.47.126'}], 'gateway_ip': '203.185.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.185.47.66', 'tags': [], 'project_id': 'aa0a80b6c9c94792a0bd7ca733577dc4'}} 2025-09-11 14:40:45,125 - INFO - Created VN ctest-bgpaas_vn-84063536 2025-09-11 14:40:45,179 - DEBUG - VN ctest-bgpaas_vn-84063536 UUID is 951e4cf3-773d-46fd-a43c-e2fb97a6e21b 2025-09-11 14:40:46,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:40:48,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4093-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4093-1) 2025-09-11 14:40:48,102 - INFO - Waiting for VM test_vm to be up.. 2025-09-11 14:40:48,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 14:40:53,312 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:40:53,312 - INFO - VM name : test_vm 2025-09-11 14:40:53,398 - DEBUG - VM test_vm ID is 75e991f8-f3c7-47d2-a963-dec8f100f015 2025-09-11 14:40:53,422 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:40:53,517 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/75e991f8-f3c7-47d2-a963-dec8f100f015 2025-09-11 14:40:53,861 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/75e991f8-f3c7-47d2-a963-dec8f100f015 2025-09-11 14:40:53,915 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/0981f28e-7213-40e9-b79b-ce9e787bc7a1 2025-09-11 14:40:57,195 - 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 1005ms') 2025-09-11 14:40:57,195 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-11 14:40:57,255 - DEBUG - Gateway for vn default-domain:ctest-TestRP-37913929:ctest-bgpaas_vn-20592247 is 65.188.85.65 and allocation pool is NOT set 2025-09-11 14:40:59,322 - 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=5.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.92 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.923/4.229/5.535/1.306 ms') 2025-09-11 14:40:59,322 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-11 14:40:59,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:40:59,479 - DEBUG - Waiting to SSH to VM test_vm, IP 65.188.85.67, Port 22 2025-09-11 14:40:59,542 - 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-09-11 14:40:59,650 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 14:41:04,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:41:04,651 - DEBUG - Waiting to SSH to VM test_vm, IP 65.188.85.67, Port 22 2025-09-11 14:41:04,819 - DEBUG - VM test_vm is ready for SSH connections 2025-09-11 14:41:04,821 - INFO - Waiting for VM test2_vm to be up.. 2025-09-11 14:41:04,922 - DEBUG - VM is in ACTIVE state now 2025-09-11 14:41:04,922 - INFO - VM name : test2_vm 2025-09-11 14:41:05,023 - DEBUG - VM test2_vm ID is 2ff166af-8a74-498a-868e-12ff113e06ff 2025-09-11 14:41:05,023 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4093-1 2025-09-11 14:41:05,118 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/2ff166af-8a74-498a-868e-12ff113e06ff 2025-09-11 14:41:05,129 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/822f9c21-d25e-4e9f-9601-058372c41ae5 2025-09-11 14:41:06,395 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.587 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.587/2.398/4.210/1.811 ms') 2025-09-11 14:41:06,395 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-11 14:41:06,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:41:06,551 - DEBUG - Waiting to SSH to VM test2_vm, IP 203.185.47.67, Port 22 2025-09-11 14:41:06,731 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-11 14:41:06,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:41:06,914 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-37913929:ctest-bgpaas_vn-20592247:ctest-bgpaas_vn-20592247.inet.0 2025-09-11 14:41:06,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 14:41:06,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.185.47.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-09-11 14:41:06,925 - DEBUG - ping -s 56 -c 3 -W 1 203.185.47.67 2025-09-11 14:41:10,691 - DEBUG - PING 203.185.47.67 (203.185.47.67): 56 data bytes 64 bytes from 203.185.47.67: seq=0 ttl=63 time=4.481 ms 64 bytes from 203.185.47.67: seq=1 ttl=63 time=1.583 ms 64 bytes from 203.185.47.67: seq=2 ttl=63 time=1.159 ms --- 203.185.47.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.159/2.407/4.481 ms 2025-09-11 14:41:10,691 - INFO - Ping to IP 203.185.47.67 from VM test_vm passed 2025-09-11 14:41:10,771 - INFO - Deleting VM test2_vm 2025-09-11 14:41:10,858 - INFO - Deleting VM test_vm 2025-09-11 14:41:10,955 - INFO - Deleting VN ctest-bgpaas_vn-84063536 2025-09-11 14:41:11,013 - DEBUG - VN 951e4cf3-773d-46fd-a43c-e2fb97a6e21b still in use: Unable to complete operation on network 951e4cf3-773d-46fd-a43c-e2fb97a6e21b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7796b466-d4ea-475d-aed3-bf59b38d424f'] 2025-09-11 14:41:11,013 - WARNING - Deleting VN ctest-bgpaas_vn-84063536 failed..Will retry 2025-09-11 14:41:13,142 - DEBUG - Response for deleting network () 2025-09-11 14:41:13,142 - INFO - Deleting VN ctest-bgpaas_vn-20592247 2025-09-11 14:41:13,291 - DEBUG - Response for deleting network () 2025-09-11 14:41:13,581 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 14:41:13,581 - INFO - END TEST : test_rp_interface : PASSED[0:00:30] 2025-09-11 14:41:13,581 - INFO - -------------------------------------------------------------------------------- 2025-09-11 14:41:14,403 - INFO - Deleted project: ctest-TestRP-37913929, ID : aa0a80b6-c9c9-4792-a0bd-7ca733577dc4