2025-11-18 01:12:18,727 - INFO - Domain Default found not creating 2025-11-18 01:12:19,707 - INFO - Project ctest-TestRP-91726099 not found, creating it 2025-11-18 01:12:20,250 - INFO - Created Project:ctest-TestRP-91726099, ID : 64c528a0-1d5b-4ed9-8ff1-68be722d3c4a 2025-11-18 01:12:22,103 - DEBUG - Services list from nova: [, , ] 2025-11-18 01:12:22,103 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4751-1']} 2025-11-18 01:12:22,107 - INFO - ================================================================================ 2025-11-18 01:12:22,107 - INFO - STARTING TEST : test_rp_interface 2025-11-18 01:12:22,107 - 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-18 01:12:22,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-11-18 01:12:22,394 - INFO - Initial checks done. Running the testcase now 2025-11-18 01:12:22,394 - INFO - 2025-11-18 01:12:23,066 - DEBUG - Response for create_network : {'network': {'id': '0b6c9ab7-9489-4c90-a23a-e902fee515c8', 'name': 'ctest-bgpaas_vn-23973453', 'tenant_id': '64c528a01d5b4ed98ff168be722d3c4a', 'project_id': '64c528a01d5b4ed98ff168be722d3c4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-91726099', 'ctest-bgpaas_vn-23973453'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:12:23,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '641b315a-39fe-48be-ae12-7140f3ba6d18', 'name': '', 'tenant_id': '64c528a01d5b4ed98ff168be722d3c4a', 'network_id': '0b6c9ab7-9489-4c90-a23a-e902fee515c8', 'ip_version': 4, 'cidr': '219.148.232.192/26', 'allocation_pools': [{'start': '219.148.232.194', 'end': '219.148.232.254'}], 'gateway_ip': '219.148.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.148.232.194', 'tags': [], 'project_id': '64c528a01d5b4ed98ff168be722d3c4a'}} 2025-11-18 01:12:23,350 - INFO - Created VN ctest-bgpaas_vn-23973453 2025-11-18 01:12:23,410 - DEBUG - VN ctest-bgpaas_vn-23973453 UUID is 0b6c9ab7-9489-4c90-a23a-e902fee515c8 2025-11-18 01:12:23,938 - DEBUG - Response for create_network : {'network': {'id': '933df506-1aa9-4078-a7c8-139e80c92919', 'name': 'ctest-bgpaas_vn-17718083', 'tenant_id': '64c528a01d5b4ed98ff168be722d3c4a', 'project_id': '64c528a01d5b4ed98ff168be722d3c4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-91726099', 'ctest-bgpaas_vn-17718083'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:12:24,206 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1f2f3af-c525-4277-9b17-d8e1e8c338fb', 'name': '', 'tenant_id': '64c528a01d5b4ed98ff168be722d3c4a', 'network_id': '933df506-1aa9-4078-a7c8-139e80c92919', 'ip_version': 4, 'cidr': '35.251.19.128/26', 'allocation_pools': [{'start': '35.251.19.130', 'end': '35.251.19.190'}], 'gateway_ip': '35.251.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.251.19.130', 'tags': [], 'project_id': '64c528a01d5b4ed98ff168be722d3c4a'}} 2025-11-18 01:12:24,225 - INFO - Created VN ctest-bgpaas_vn-17718083 2025-11-18 01:12:24,282 - DEBUG - VN ctest-bgpaas_vn-17718083 UUID is 933df506-1aa9-4078-a7c8-139e80c92919 2025-11-18 01:12:25,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1) 2025-11-18 01:12:27,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1) 2025-11-18 01:12:27,387 - INFO - Waiting for VM test_vm to be up.. 2025-11-18 01:12:27,496 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 01:12:32,586 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:12:32,586 - INFO - VM name : test_vm 2025-11-18 01:12:32,670 - DEBUG - VM test_vm ID is 621679e3-2921-48e3-8b7c-5bf4c9bf76df 2025-11-18 01:12:32,692 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1 2025-11-18 01:12:32,778 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/621679e3-2921-48e3-8b7c-5bf4c9bf76df 2025-11-18 01:12:33,081 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/621679e3-2921-48e3-8b7c-5bf4c9bf76df 2025-11-18 01:12:33,118 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3ae737bc-ba8a-4c2b-8f76-0c9399aa0841 2025-11-18 01:12:36,377 - 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 1013ms') 2025-11-18 01:12:36,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-18 01:12:36,434 - DEBUG - Gateway for vn default-domain:ctest-TestRP-91726099:ctest-bgpaas_vn-23973453 is 219.148.232.193 and allocation pool is NOT set 2025-11-18 01:12:38,498 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.25 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 = 3.253/4.232/5.211/0.979 ms') 2025-11-18 01:12:38,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-18 01:12:38,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:38,650 - DEBUG - Waiting to SSH to VM test_vm, IP 219.148.232.195, Port 22 2025-11-18 01:12:38,705 - 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-18 01:12:38,802 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-18 01:12:43,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:43,802 - DEBUG - Waiting to SSH to VM test_vm, IP 219.148.232.195, Port 22 2025-11-18 01:12:43,968 - DEBUG - VM test_vm is ready for SSH connections 2025-11-18 01:12:43,969 - INFO - Waiting for VM test2_vm to be up.. 2025-11-18 01:12:44,071 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:12:44,071 - INFO - VM name : test2_vm 2025-11-18 01:12:44,181 - DEBUG - VM test2_vm ID is 0947d510-d0b2-4311-8795-100bc9109921 2025-11-18 01:12:44,181 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1 2025-11-18 01:12:44,283 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0947d510-d0b2-4311-8795-100bc9109921 2025-11-18 01:12:44,292 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d2b78472-3e64-40d2-aa2a-4e90c0ed30f9 2025-11-18 01:12:45,540 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.574 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.574/1.920/3.267/1.346 ms') 2025-11-18 01:12:45,540 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-18 01:12:45,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:45,690 - DEBUG - Waiting to SSH to VM test2_vm, IP 35.251.19.131, Port 22 2025-11-18 01:12:45,861 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-18 01:12:46,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:46,042 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-91726099:ctest-bgpaas_vn-23973453:ctest-bgpaas_vn-23973453.inet.0 2025-11-18 01:12:47,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:47,066 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-91726099:ctest-bgpaas_vn-23973453:ctest-bgpaas_vn-23973453.inet.0 2025-11-18 01:12:47,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:47,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.251.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-18 01:12:47,078 - DEBUG - ping -s 56 -c 3 -W 1 35.251.19.131 2025-11-18 01:12:50,824 - DEBUG - PING 35.251.19.131 (35.251.19.131): 56 data bytes 64 bytes from 35.251.19.131: seq=0 ttl=63 time=4.496 ms 64 bytes from 35.251.19.131: seq=1 ttl=63 time=1.070 ms 64 bytes from 35.251.19.131: seq=2 ttl=63 time=1.144 ms --- 35.251.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.070/2.236/4.496 ms 2025-11-18 01:12:50,824 - INFO - Ping to IP 35.251.19.131 from VM test_vm passed 2025-11-18 01:12:50,907 - INFO - Deleting VM test2_vm 2025-11-18 01:12:50,983 - INFO - Deleting VM test_vm 2025-11-18 01:12:51,060 - INFO - Deleting VN ctest-bgpaas_vn-17718083 2025-11-18 01:12:51,106 - DEBUG - VN 933df506-1aa9-4078-a7c8-139e80c92919 still in use: Unable to complete operation on network 933df506-1aa9-4078-a7c8-139e80c92919. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5da8f39-ce22-4951-b961-d4a588618a51'] 2025-11-18 01:12:51,106 - WARNING - Deleting VN ctest-bgpaas_vn-17718083 failed..Will retry 2025-11-18 01:12:53,234 - DEBUG - Response for deleting network () 2025-11-18 01:12:53,234 - INFO - Deleting VN ctest-bgpaas_vn-23973453 2025-11-18 01:12:53,399 - DEBUG - Response for deleting network () 2025-11-18 01:12:53,686 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 01:12:53,686 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-11-18 01:12:53,686 - INFO - -------------------------------------------------------------------------------- 2025-11-18 01:12:54,473 - INFO - Deleted project: ctest-TestRP-91726099, ID : 64c528a0-1d5b-4ed9-8ff1-68be722d3c4a