2025-11-01 16:05:44,427 - INFO - Domain Default found not creating 2025-11-01 16:05:44,596 - INFO - Project ctest-TestRP-44673768 not found, creating it 2025-11-01 16:05:45,087 - INFO - Created Project:ctest-TestRP-44673768, ID : c6eeca48-ae5d-4a52-9ce1-70039712f710 2025-11-01 16:05:46,921 - DEBUG - Services list from nova: [, , ] 2025-11-01 16:05:46,921 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4590-1']} 2025-11-01 16:05:46,924 - INFO - ================================================================================ 2025-11-01 16:05:46,924 - INFO - STARTING TEST : test_rp_interface 2025-11-01 16:05:46,924 - 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-01 16:05:47,207 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-01 16:05:47,207 - INFO - Initial checks done. Running the testcase now 2025-11-01 16:05:47,207 - INFO - 2025-11-01 16:05:47,885 - DEBUG - Response for create_network : {'network': {'id': '6bc2c4e4-9a55-4241-be8c-8e47f517873e', 'name': 'ctest-bgpaas_vn-09160176', 'tenant_id': 'c6eeca48ae5d4a529ce170039712f710', 'project_id': 'c6eeca48ae5d4a529ce170039712f710', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-44673768', 'ctest-bgpaas_vn-09160176'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:05:48,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a057ca8-52ab-4e6b-a8d6-ec9568590f8a', 'name': '', 'tenant_id': 'c6eeca48ae5d4a529ce170039712f710', 'network_id': '6bc2c4e4-9a55-4241-be8c-8e47f517873e', 'ip_version': 4, 'cidr': '122.20.115.64/26', 'allocation_pools': [{'start': '122.20.115.66', 'end': '122.20.115.126'}], 'gateway_ip': '122.20.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.20.115.66', 'tags': [], 'project_id': 'c6eeca48ae5d4a529ce170039712f710'}} 2025-11-01 16:05:48,137 - INFO - Created VN ctest-bgpaas_vn-09160176 2025-11-01 16:05:48,196 - DEBUG - VN ctest-bgpaas_vn-09160176 UUID is 6bc2c4e4-9a55-4241-be8c-8e47f517873e 2025-11-01 16:05:48,759 - DEBUG - Response for create_network : {'network': {'id': '7fe8a948-aeb6-473e-af7a-a6406fbb1d77', 'name': 'ctest-bgpaas_vn-71196919', 'tenant_id': 'c6eeca48ae5d4a529ce170039712f710', 'project_id': 'c6eeca48ae5d4a529ce170039712f710', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-44673768', 'ctest-bgpaas_vn-71196919'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:05:49,021 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c4a48de-f804-4074-b7d2-6b0f25eab090', 'name': '', 'tenant_id': 'c6eeca48ae5d4a529ce170039712f710', 'network_id': '7fe8a948-aeb6-473e-af7a-a6406fbb1d77', 'ip_version': 4, 'cidr': '56.142.143.192/26', 'allocation_pools': [{'start': '56.142.143.194', 'end': '56.142.143.254'}], 'gateway_ip': '56.142.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.142.143.194', 'tags': [], 'project_id': 'c6eeca48ae5d4a529ce170039712f710'}} 2025-11-01 16:05:49,045 - INFO - Created VN ctest-bgpaas_vn-71196919 2025-11-01 16:05:49,100 - DEBUG - VN ctest-bgpaas_vn-71196919 UUID is 7fe8a948-aeb6-473e-af7a-a6406fbb1d77 2025-11-01 16:05:50,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4590-1) 2025-11-01 16:05:52,060 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4590-1) 2025-11-01 16:05:52,061 - INFO - Waiting for VM test_vm to be up.. 2025-11-01 16:05:52,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 16:05:57,250 - DEBUG - VM is in ACTIVE state now 2025-11-01 16:05:57,250 - INFO - VM name : test_vm 2025-11-01 16:05:57,328 - DEBUG - VM test_vm ID is ee3483c9-f7f6-471b-9602-66727a297b18 2025-11-01 16:05:57,348 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4590-1 2025-11-01 16:05:57,416 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ee3483c9-f7f6-471b-9602-66727a297b18 2025-11-01 16:05:57,751 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ee3483c9-f7f6-471b-9602-66727a297b18 2025-11-01 16:05:57,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9d43dd2c-e9d7-412a-b6bc-017197649d84 2025-11-01 16:06:01,038 - 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 1021ms') 2025-11-01 16:06:01,038 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-01 16:06:01,092 - DEBUG - Gateway for vn default-domain:ctest-TestRP-44673768:ctest-bgpaas_vn-09160176 is 122.20.115.65 and allocation pool is NOT set 2025-11-01 16:06:03,160 - 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=9.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.101/5.969/9.838/3.868 ms') 2025-11-01 16:06:03,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-01 16:06:03,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:06:03,312 - DEBUG - Waiting to SSH to VM test_vm, IP 122.20.115.67, Port 22 2025-11-01 16:06:03,367 - 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-01 16:06:03,443 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 16:06:08,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:06:08,443 - DEBUG - Waiting to SSH to VM test_vm, IP 122.20.115.67, Port 22 2025-11-01 16:06:08,599 - DEBUG - VM test_vm is ready for SSH connections 2025-11-01 16:06:08,599 - INFO - Waiting for VM test2_vm to be up.. 2025-11-01 16:06:08,783 - DEBUG - VM is in ACTIVE state now 2025-11-01 16:06:08,783 - INFO - VM name : test2_vm 2025-11-01 16:06:08,855 - DEBUG - VM test2_vm ID is 97f49ea6-d8ab-4633-9f2e-1e4ec5c3929f 2025-11-01 16:06:08,855 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4590-1 2025-11-01 16:06:08,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/97f49ea6-d8ab-4633-9f2e-1e4ec5c3929f 2025-11-01 16:06:08,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b41941d4-3196-4029-8e9f-112732bd9bda 2025-11-01 16:06:10,163 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.508 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.508/1.894/3.281/1.386 ms') 2025-11-01 16:06:10,163 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-01 16:06:10,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:06:10,316 - DEBUG - Waiting to SSH to VM test2_vm, IP 56.142.143.195, Port 22 2025-11-01 16:06:10,486 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-01 16:06:10,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:06:10,651 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-44673768:ctest-bgpaas_vn-09160176:ctest-bgpaas_vn-09160176.inet.0 2025-11-01 16:06:11,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:06:11,671 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-44673768:ctest-bgpaas_vn-09160176:ctest-bgpaas_vn-09160176.inet.0 2025-11-01 16:06:11,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:06:11,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.142.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-01 16:06:11,682 - DEBUG - ping -s 56 -c 3 -W 1 56.142.143.195 2025-11-01 16:06:15,399 - DEBUG - PING 56.142.143.195 (56.142.143.195): 56 data bytes 64 bytes from 56.142.143.195: seq=0 ttl=63 time=3.849 ms 64 bytes from 56.142.143.195: seq=1 ttl=63 time=1.021 ms 64 bytes from 56.142.143.195: seq=2 ttl=63 time=0.865 ms --- 56.142.143.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.911/3.849 ms 2025-11-01 16:06:15,399 - INFO - Ping to IP 56.142.143.195 from VM test_vm passed 2025-11-01 16:06:15,465 - INFO - Deleting VM test2_vm 2025-11-01 16:06:15,546 - INFO - Deleting VM test_vm 2025-11-01 16:06:15,629 - INFO - Deleting VN ctest-bgpaas_vn-71196919 2025-11-01 16:06:15,667 - DEBUG - VN 7fe8a948-aeb6-473e-af7a-a6406fbb1d77 still in use: Unable to complete operation on network 7fe8a948-aeb6-473e-af7a-a6406fbb1d77. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e9d9f91-91a3-4ce6-b30e-37ec1b9e61a1'] 2025-11-01 16:06:15,667 - WARNING - Deleting VN ctest-bgpaas_vn-71196919 failed..Will retry 2025-11-01 16:06:17,791 - DEBUG - Response for deleting network () 2025-11-01 16:06:17,792 - INFO - Deleting VN ctest-bgpaas_vn-09160176 2025-11-01 16:06:17,901 - DEBUG - Response for deleting network () 2025-11-01 16:06:18,167 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 16:06:18,167 - INFO - END TEST : test_rp_interface : PASSED[0:00:32]
2025-11-01 16:06:18,167 - INFO - -------------------------------------------------------------------------------- 2025-11-01 16:06:18,931 - INFO - Deleted project: ctest-TestRP-44673768, ID : c6eeca48-ae5d-4a52-9ce1-70039712f710