2025-11-20 14:35:19,021 - INFO - Domain Default found not creating 2025-11-20 14:35:19,193 - INFO - Project ctest-TestRP-18740757 not found, creating it 2025-11-20 14:35:19,666 - INFO - Created Project:ctest-TestRP-18740757, ID : d7fdef47-ceac-4eb3-9017-45b952f10634 2025-11-20 14:35:21,214 - DEBUG - Services list from nova: [, , ] 2025-11-20 14:35:21,214 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4777-1']} 2025-11-20 14:35:21,217 - INFO - ================================================================================ 2025-11-20 14:35:21,217 - INFO - STARTING TEST : test_rp_interface 2025-11-20 14:35:21,217 - 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-20 14:35:21,486 - DEBUG - Nothing to compare xmpp stats {'10.0.0.136': {'10.20.0.218': '0'}} with 2025-11-20 14:35:21,486 - INFO - Initial checks done. Running the testcase now 2025-11-20 14:35:21,486 - INFO - 2025-11-20 14:35:22,036 - DEBUG - Response for create_network : {'network': {'id': '7525dede-6627-4161-b4a2-5e488a6cd17f', 'name': 'ctest-bgpaas_vn-69508379', 'tenant_id': 'd7fdef47ceac4eb3901745b952f10634', 'project_id': 'd7fdef47ceac4eb3901745b952f10634', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18740757', 'ctest-bgpaas_vn-69508379'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 14:35:22,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e809fc5-a391-46fe-99d4-fa3a97111b04', 'name': '', 'tenant_id': 'd7fdef47ceac4eb3901745b952f10634', 'network_id': '7525dede-6627-4161-b4a2-5e488a6cd17f', 'ip_version': 4, 'cidr': '120.62.124.64/26', 'allocation_pools': [{'start': '120.62.124.66', 'end': '120.62.124.126'}], 'gateway_ip': '120.62.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.62.124.66', 'tags': [], 'project_id': 'd7fdef47ceac4eb3901745b952f10634'}} 2025-11-20 14:35:22,269 - INFO - Created VN ctest-bgpaas_vn-69508379 2025-11-20 14:35:22,319 - DEBUG - VN ctest-bgpaas_vn-69508379 UUID is 7525dede-6627-4161-b4a2-5e488a6cd17f 2025-11-20 14:35:22,785 - DEBUG - Response for create_network : {'network': {'id': '8fbc2a28-56a2-4d68-8e06-3b2ab4af1bea', 'name': 'ctest-bgpaas_vn-04110085', 'tenant_id': 'd7fdef47ceac4eb3901745b952f10634', 'project_id': 'd7fdef47ceac4eb3901745b952f10634', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18740757', 'ctest-bgpaas_vn-04110085'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 14:35:22,942 - DEBUG - Response for create_subnet : {'subnet': {'id': '70e04f33-74d7-45b1-98a8-070002ecd4af', 'name': '', 'tenant_id': 'd7fdef47ceac4eb3901745b952f10634', 'network_id': '8fbc2a28-56a2-4d68-8e06-3b2ab4af1bea', 'ip_version': 4, 'cidr': '77.113.169.0/26', 'allocation_pools': [{'start': '77.113.169.2', 'end': '77.113.169.62'}], 'gateway_ip': '77.113.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.113.169.2', 'tags': [], 'project_id': 'd7fdef47ceac4eb3901745b952f10634'}} 2025-11-20 14:35:22,960 - INFO - Created VN ctest-bgpaas_vn-04110085 2025-11-20 14:35:23,011 - DEBUG - VN ctest-bgpaas_vn-04110085 UUID is 8fbc2a28-56a2-4d68-8e06-3b2ab4af1bea 2025-11-20 14:35:24,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4777-1) 2025-11-20 14:35:25,507 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4777-1) 2025-11-20 14:35:25,508 - INFO - Waiting for VM test_vm to be up.. 2025-11-20 14:35:25,591 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 14:35:30,669 - DEBUG - VM is in ACTIVE state now 2025-11-20 14:35:30,669 - INFO - VM name : test_vm 2025-11-20 14:35:30,756 - DEBUG - VM test_vm ID is a0407d3c-238e-4e51-8300-9b42d06cdc67 2025-11-20 14:35:30,877 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4777-1 2025-11-20 14:35:30,966 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine/a0407d3c-238e-4e51-8300-9b42d06cdc67 2025-11-20 14:35:31,261 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine/a0407d3c-238e-4e51-8300-9b42d06cdc67 2025-11-20 14:35:31,298 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/d6114b43-11e8-4422-bc07-8a8e31c8253a 2025-11-20 14:35:34,553 - 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 1015ms') 2025-11-20 14:35:34,553 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-20 14:35:34,607 - DEBUG - Gateway for vn default-domain:ctest-TestRP-18740757:ctest-bgpaas_vn-69508379 is 120.62.124.65 and allocation pool is NOT set 2025-11-20 14:35:36,675 - 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=4.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.935 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.935/2.664/4.394/1.729 ms') 2025-11-20 14:35:36,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-20 14:35:36,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:36,827 - DEBUG - Waiting to SSH to VM test_vm, IP 120.62.124.67, Port 22 2025-11-20 14:35:36,887 - 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-20 14:35:36,965 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 14:35:41,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:41,966 - DEBUG - Waiting to SSH to VM test_vm, IP 120.62.124.67, Port 22 2025-11-20 14:35:42,123 - DEBUG - VM test_vm is ready for SSH connections 2025-11-20 14:35:42,123 - INFO - Waiting for VM test2_vm to be up.. 2025-11-20 14:35:42,202 - DEBUG - VM is in ACTIVE state now 2025-11-20 14:35:42,202 - INFO - VM name : test2_vm 2025-11-20 14:35:42,271 - DEBUG - VM test2_vm ID is d47b983e-494c-4810-88fa-cbe619174981 2025-11-20 14:35:42,271 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4777-1 2025-11-20 14:35:42,340 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine/d47b983e-494c-4810-88fa-cbe619174981 2025-11-20 14:35:42,349 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/ab2cdbeb-5357-4b08-befc-ed8f085c2f97 2025-11-20 14:35:43,586 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.571 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.571/1.770/2.969/1.199 ms') 2025-11-20 14:35:43,586 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-20 14:35:43,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:43,735 - DEBUG - Waiting to SSH to VM test2_vm, IP 77.113.169.3, Port 22 2025-11-20 14:35:43,891 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-20 14:35:44,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:44,041 - DEBUG - Requesting: http://10.20.0.218:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-18740757:ctest-bgpaas_vn-69508379:ctest-bgpaas_vn-69508379.inet.0 2025-11-20 14:35:45,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:45,057 - DEBUG - Requesting: http://10.20.0.218:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-18740757:ctest-bgpaas_vn-69508379:ctest-bgpaas_vn-69508379.inet.0 2025-11-20 14:35:45,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 14:35:45,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.113.169.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.136, gateway password: c0ntrail123 2025-11-20 14:35:45,069 - DEBUG - ping -s 56 -c 3 -W 1 77.113.169.3 2025-11-20 14:35:48,734 - DEBUG - PING 77.113.169.3 (77.113.169.3): 56 data bytes 64 bytes from 77.113.169.3: seq=0 ttl=63 time=3.493 ms 64 bytes from 77.113.169.3: seq=1 ttl=63 time=0.935 ms 64 bytes from 77.113.169.3: seq=2 ttl=63 time=0.789 ms --- 77.113.169.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/1.739/3.493 ms 2025-11-20 14:35:48,734 - INFO - Ping to IP 77.113.169.3 from VM test_vm passed 2025-11-20 14:35:48,795 - INFO - Deleting VM test2_vm 2025-11-20 14:35:48,867 - INFO - Deleting VM test_vm 2025-11-20 14:35:48,942 - INFO - Deleting VN ctest-bgpaas_vn-04110085 2025-11-20 14:35:48,981 - DEBUG - VN 8fbc2a28-56a2-4d68-8e06-3b2ab4af1bea still in use: Unable to complete operation on network 8fbc2a28-56a2-4d68-8e06-3b2ab4af1bea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-55f0cc3b-685c-4817-be72-3b3eab1bef8a'] 2025-11-20 14:35:48,981 - WARNING - Deleting VN ctest-bgpaas_vn-04110085 failed..Will retry 2025-11-20 14:35:51,145 - DEBUG - Response for deleting network () 2025-11-20 14:35:51,145 - INFO - Deleting VN ctest-bgpaas_vn-69508379 2025-11-20 14:35:51,284 - DEBUG - Response for deleting network () 2025-11-20 14:35:51,537 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 14:35:51,537 - INFO - END TEST : test_rp_interface : PASSED[0:00:30] 2025-11-20 14:35:51,537 - INFO - -------------------------------------------------------------------------------- 2025-11-20 14:35:52,237 - INFO - Deleted project: ctest-TestRP-18740757, ID : d7fdef47-ceac-4eb3-9017-45b952f10634