2025-08-08 03:00:31,941 - INFO - Domain Default found not creating 2025-08-08 03:00:32,088 - INFO - Project ctest-TestRP-76436997 not found, creating it 2025-08-08 03:00:32,551 - INFO - Created Project:ctest-TestRP-76436997, ID : 5c0598f4-d620-401e-9925-d520b5f89772 2025-08-08 03:00:34,128 - DEBUG - Services list from nova: [, , ] 2025-08-08 03:00:34,128 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3779-1']} 2025-08-08 03:00:34,131 - INFO - ================================================================================ 2025-08-08 03:00:34,131 - INFO - STARTING TEST : test_rp_interface 2025-08-08 03:00:34,131 - 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-08 03:00:34,391 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 03:00:34,391 - INFO - Initial checks done. Running the testcase now 2025-08-08 03:00:34,391 - INFO - 2025-08-08 03:00:34,978 - DEBUG - Response for create_network : {'network': {'id': 'e1260a5e-983e-45e8-a20c-f04d724a10ac', 'name': 'ctest-bgpaas_vn-46738123', 'tenant_id': '5c0598f4d620401e9925d520b5f89772', 'project_id': '5c0598f4d620401e9925d520b5f89772', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-76436997', 'ctest-bgpaas_vn-46738123'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 03:00:35,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '005fa9c9-117c-4b46-a126-3097c103cf9f', 'name': '', 'tenant_id': '5c0598f4d620401e9925d520b5f89772', 'network_id': 'e1260a5e-983e-45e8-a20c-f04d724a10ac', 'ip_version': 4, 'cidr': '165.249.63.0/26', 'allocation_pools': [{'start': '165.249.63.2', 'end': '165.249.63.62'}], 'gateway_ip': '165.249.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.249.63.2', 'tags': [], 'project_id': '5c0598f4d620401e9925d520b5f89772'}} 2025-08-08 03:00:35,185 - INFO - Created VN ctest-bgpaas_vn-46738123 2025-08-08 03:00:35,237 - DEBUG - VN ctest-bgpaas_vn-46738123 UUID is e1260a5e-983e-45e8-a20c-f04d724a10ac 2025-08-08 03:00:35,777 - DEBUG - Response for create_network : {'network': {'id': '82da1144-7e83-4d99-9af0-e812ada80d34', 'name': 'ctest-bgpaas_vn-59672511', 'tenant_id': '5c0598f4d620401e9925d520b5f89772', 'project_id': '5c0598f4d620401e9925d520b5f89772', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-76436997', 'ctest-bgpaas_vn-59672511'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 03:00:35,955 - DEBUG - Response for create_subnet : {'subnet': {'id': '47589b6b-0aee-4e4e-a55b-4f3c23766743', 'name': '', 'tenant_id': '5c0598f4d620401e9925d520b5f89772', 'network_id': '82da1144-7e83-4d99-9af0-e812ada80d34', 'ip_version': 4, 'cidr': '129.59.106.64/26', 'allocation_pools': [{'start': '129.59.106.66', 'end': '129.59.106.126'}], 'gateway_ip': '129.59.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.59.106.66', 'tags': [], 'project_id': '5c0598f4d620401e9925d520b5f89772'}} 2025-08-08 03:00:35,972 - INFO - Created VN ctest-bgpaas_vn-59672511 2025-08-08 03:00:36,029 - DEBUG - VN ctest-bgpaas_vn-59672511 UUID is 82da1144-7e83-4d99-9af0-e812ada80d34 2025-08-08 03:00:37,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1) 2025-08-08 03:00:38,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1) 2025-08-08 03:00:38,679 - INFO - Waiting for VM test_vm to be up.. 2025-08-08 03:00:38,768 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 03:00:43,843 - DEBUG - VM is in ACTIVE state now 2025-08-08 03:00:43,844 - INFO - VM name : test_vm 2025-08-08 03:00:43,919 - DEBUG - VM test_vm ID is 6dc651ab-17c8-4fbb-b4e3-dc90edf93fbe 2025-08-08 03:00:44,031 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1 2025-08-08 03:00:44,109 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6dc651ab-17c8-4fbb-b4e3-dc90edf93fbe 2025-08-08 03:00:44,464 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6dc651ab-17c8-4fbb-b4e3-dc90edf93fbe 2025-08-08 03:00:44,499 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/59d0cfb8-5c06-4f71-a7e7-65f4af2e62d0 2025-08-08 03:00:47,750 - 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 1011ms') 2025-08-08 03:00:47,750 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-08 03:00:47,805 - DEBUG - Gateway for vn default-domain:ctest-TestRP-76436997:ctest-bgpaas_vn-46738123 is 165.249.63.1 and allocation pool is NOT set 2025-08-08 03:00:49,867 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.348/3.035/4.722/1.687 ms') 2025-08-08 03:00:49,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-08 03:00:50,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 03:00:50,017 - DEBUG - Waiting to SSH to VM test_vm, IP 165.249.63.3, Port 22 2025-08-08 03:00:50,077 - 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-08-08 03:00:50,153 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-08 03:00:55,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 03:00:55,154 - DEBUG - Waiting to SSH to VM test_vm, IP 165.249.63.3, Port 22 2025-08-08 03:00:55,309 - DEBUG - VM test_vm is ready for SSH connections 2025-08-08 03:00:55,309 - INFO - Waiting for VM test2_vm to be up.. 2025-08-08 03:00:55,388 - DEBUG - VM is in ACTIVE state now 2025-08-08 03:00:55,388 - INFO - VM name : test2_vm 2025-08-08 03:00:55,462 - DEBUG - VM test2_vm ID is c6c09a5a-cd79-44dd-a43b-d4a097677191 2025-08-08 03:00:55,462 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1 2025-08-08 03:00:55,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c6c09a5a-cd79-44dd-a43b-d4a097677191 2025-08-08 03:00:55,552 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c148e2b7-273f-4a56-aad2-76e368af302a 2025-08-08 03:00:56,801 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.451/1.756/3.062/1.305 ms') 2025-08-08 03:00:56,801 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-08 03:00:56,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 03:00:56,957 - DEBUG - Waiting to SSH to VM test2_vm, IP 129.59.106.67, Port 22 2025-08-08 03:00:57,112 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-08 03:00:57,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 03:00:57,275 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-76436997:ctest-bgpaas_vn-46738123:ctest-bgpaas_vn-46738123.inet.0 2025-08-08 03:00:58,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 03:00:58,293 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-76436997:ctest-bgpaas_vn-46738123:ctest-bgpaas_vn-46738123.inet.0 2025-08-08 03:00:58,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 03:00:58,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.59.106.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 03:00:58,305 - DEBUG - ping -s 56 -c 3 -W 1 129.59.106.67 2025-08-08 03:01:02,010 - DEBUG - PING 129.59.106.67 (129.59.106.67): 56 data bytes 64 bytes from 129.59.106.67: seq=0 ttl=63 time=3.685 ms 64 bytes from 129.59.106.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 129.59.106.67: seq=2 ttl=63 time=0.841 ms --- 129.59.106.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.778/3.685 ms 2025-08-08 03:01:02,010 - INFO - Ping to IP 129.59.106.67 from VM test_vm passed 2025-08-08 03:01:02,087 - INFO - Deleting VM test2_vm 2025-08-08 03:01:02,161 - INFO - Deleting VM test_vm 2025-08-08 03:01:02,233 - INFO - Deleting VN ctest-bgpaas_vn-59672511 2025-08-08 03:01:02,278 - DEBUG - VN 82da1144-7e83-4d99-9af0-e812ada80d34 still in use: Unable to complete operation on network 82da1144-7e83-4d99-9af0-e812ada80d34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ffcd339-d021-4217-b2e4-2bf54b56e617'] 2025-08-08 03:01:02,279 - WARNING - Deleting VN ctest-bgpaas_vn-59672511 failed..Will retry 2025-08-08 03:01:04,387 - DEBUG - Response for deleting network () 2025-08-08 03:01:04,387 - INFO - Deleting VN ctest-bgpaas_vn-46738123 2025-08-08 03:01:04,487 - DEBUG - Response for deleting network () 2025-08-08 03:01:04,746 - DEBUG - No XMPP flaps were noticed during the test
2025-08-08 03:01:04,746 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-08-08 03:01:04,747 - INFO - -------------------------------------------------------------------------------- 2025-08-08 03:01:05,453 - INFO - Deleted project: ctest-TestRP-76436997, ID : 5c0598f4-d620-401e-9925-d520b5f89772