2025-11-17 18:16:44,216 - INFO - Domain Default found not creating 2025-11-17 18:16:44,435 - INFO - Project ctest-TestRP-80961387 not found, creating it 2025-11-17 18:16:44,945 - INFO - Created Project:ctest-TestRP-80961387, ID : ac13dc51-b16c-4f4a-9628-21e40dca34ff 2025-11-17 18:16:46,668 - DEBUG - Services list from nova: [, , ] 2025-11-17 18:16:46,668 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4744-1']} 2025-11-17 18:16:46,671 - INFO - ================================================================================ 2025-11-17 18:16:46,671 - INFO - STARTING TEST : test_rp_interface 2025-11-17 18:16:46,671 - 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-17 18:16:46,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 18:16:46,937 - INFO - Initial checks done. Running the testcase now 2025-11-17 18:16:46,937 - INFO - 2025-11-17 18:16:47,533 - DEBUG - Response for create_network : {'network': {'id': 'ddec1fac-98a5-4c78-a9e0-bc7fafa3c1eb', 'name': 'ctest-bgpaas_vn-72539537', 'tenant_id': 'ac13dc51b16c4f4a962821e40dca34ff', 'project_id': 'ac13dc51b16c4f4a962821e40dca34ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-80961387', 'ctest-bgpaas_vn-72539537'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:16:47,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '113e0dad-4c16-4f78-aca0-86b42e1ca4b5', 'name': '', 'tenant_id': 'ac13dc51b16c4f4a962821e40dca34ff', 'network_id': 'ddec1fac-98a5-4c78-a9e0-bc7fafa3c1eb', 'ip_version': 4, 'cidr': '38.178.103.192/26', 'allocation_pools': [{'start': '38.178.103.194', 'end': '38.178.103.254'}], 'gateway_ip': '38.178.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.178.103.194', 'tags': [], 'project_id': 'ac13dc51b16c4f4a962821e40dca34ff'}} 2025-11-17 18:16:47,770 - INFO - Created VN ctest-bgpaas_vn-72539537 2025-11-17 18:16:47,827 - DEBUG - VN ctest-bgpaas_vn-72539537 UUID is ddec1fac-98a5-4c78-a9e0-bc7fafa3c1eb 2025-11-17 18:16:48,338 - DEBUG - Response for create_network : {'network': {'id': '66b7c950-5ab6-4415-ab3a-295bcaba34ee', 'name': 'ctest-bgpaas_vn-61635070', 'tenant_id': 'ac13dc51b16c4f4a962821e40dca34ff', 'project_id': 'ac13dc51b16c4f4a962821e40dca34ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-80961387', 'ctest-bgpaas_vn-61635070'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:16:48,563 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd49be64f-b043-4c4e-bb4b-d38d9e80ca8c', 'name': '', 'tenant_id': 'ac13dc51b16c4f4a962821e40dca34ff', 'network_id': '66b7c950-5ab6-4415-ab3a-295bcaba34ee', 'ip_version': 4, 'cidr': '60.60.52.192/26', 'allocation_pools': [{'start': '60.60.52.194', 'end': '60.60.52.254'}], 'gateway_ip': '60.60.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.60.52.194', 'tags': [], 'project_id': 'ac13dc51b16c4f4a962821e40dca34ff'}} 2025-11-17 18:16:48,586 - INFO - Created VN ctest-bgpaas_vn-61635070 2025-11-17 18:16:48,643 - DEBUG - VN ctest-bgpaas_vn-61635070 UUID is 66b7c950-5ab6-4415-ab3a-295bcaba34ee 2025-11-17 18:16:50,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:16:51,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:16:51,436 - INFO - Waiting for VM test_vm to be up.. 2025-11-17 18:16:51,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 18:16:56,664 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:16:56,665 - INFO - VM name : test_vm 2025-11-17 18:16:56,758 - DEBUG - VM test_vm ID is 879a388e-3d54-4deb-9f8f-866fda592cfc 2025-11-17 18:16:56,785 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:16:56,899 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/879a388e-3d54-4deb-9f8f-866fda592cfc 2025-11-17 18:16:57,223 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/879a388e-3d54-4deb-9f8f-866fda592cfc 2025-11-17 18:16:57,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4175e913-02ed-4714-ad71-8ea38298c852 2025-11-17 18:17:00,574 - 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 1025ms') 2025-11-17 18:17:00,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-17 18:17:00,631 - DEBUG - Gateway for vn default-domain:ctest-TestRP-80961387:ctest-bgpaas_vn-72539537 is 38.178.103.193 and allocation pool is NOT set 2025-11-17 18:17:02,696 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.625 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.625/2.155/3.686/1.530 ms') 2025-11-17 18:17:02,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-17 18:17:02,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:17:02,851 - DEBUG - Waiting to SSH to VM test_vm, IP 38.178.103.195, Port 22 2025-11-17 18:17:02,918 - 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-17 18:17:03,040 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 18:17:08,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:17:08,042 - DEBUG - Waiting to SSH to VM test_vm, IP 38.178.103.195, Port 22 2025-11-17 18:17:08,222 - DEBUG - VM test_vm is ready for SSH connections 2025-11-17 18:17:08,222 - INFO - Waiting for VM test2_vm to be up.. 2025-11-17 18:17:08,310 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:17:08,310 - INFO - VM name : test2_vm 2025-11-17 18:17:08,399 - DEBUG - VM test2_vm ID is 618eee0c-0432-4115-ba23-182a6293e3ea 2025-11-17 18:17:08,400 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:17:08,493 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/618eee0c-0432-4115-ba23-182a6293e3ea 2025-11-17 18:17:08,504 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/35475652-5a15-4fee-80fb-27524ea005a3 2025-11-17 18:17:09,755 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.543/2.102/3.662/1.559 ms') 2025-11-17 18:17:09,756 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-17 18:17:09,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:17:09,911 - DEBUG - Waiting to SSH to VM test2_vm, IP 60.60.52.195, Port 22 2025-11-17 18:17:10,082 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-17 18:17:10,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:17:10,261 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80961387:ctest-bgpaas_vn-72539537:ctest-bgpaas_vn-72539537.inet.0 2025-11-17 18:17:11,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:17:11,286 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-80961387:ctest-bgpaas_vn-72539537:ctest-bgpaas_vn-72539537.inet.0 2025-11-17 18:17:11,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:17:11,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.60.52.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:17:11,300 - DEBUG - ping -s 56 -c 3 -W 1 60.60.52.195 2025-11-17 18:17:15,027 - DEBUG - PING 60.60.52.195 (60.60.52.195): 56 data bytes 64 bytes from 60.60.52.195: seq=0 ttl=63 time=5.283 ms 64 bytes from 60.60.52.195: seq=1 ttl=63 time=1.037 ms 64 bytes from 60.60.52.195: seq=2 ttl=63 time=1.264 ms --- 60.60.52.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.037/2.528/5.283 ms 2025-11-17 18:17:15,028 - INFO - Ping to IP 60.60.52.195 from VM test_vm passed 2025-11-17 18:17:15,094 - INFO - Deleting VM test2_vm 2025-11-17 18:17:15,187 - INFO - Deleting VM test_vm 2025-11-17 18:17:15,270 - INFO - Deleting VN ctest-bgpaas_vn-61635070 2025-11-17 18:17:15,317 - DEBUG - VN 66b7c950-5ab6-4415-ab3a-295bcaba34ee still in use: Unable to complete operation on network 66b7c950-5ab6-4415-ab3a-295bcaba34ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33ad682d-d38b-460c-a0f7-6c7512d38562'] 2025-11-17 18:17:15,317 - WARNING - Deleting VN ctest-bgpaas_vn-61635070 failed..Will retry 2025-11-17 18:17:17,460 - DEBUG - Response for deleting network () 2025-11-17 18:17:17,460 - INFO - Deleting VN ctest-bgpaas_vn-72539537 2025-11-17 18:17:17,594 - DEBUG - Response for deleting network () 2025-11-17 18:17:17,875 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 18:17:17,875 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-11-17 18:17:17,875 - INFO - -------------------------------------------------------------------------------- 2025-11-17 18:17:18,636 - INFO - Deleted project: ctest-TestRP-80961387, ID : ac13dc51-b16c-4f4a-9628-21e40dca34ff