2025-08-28 17:23:54,941 - INFO - Domain Default found not creating 2025-08-28 17:23:55,137 - INFO - Project ctest-TestRP-56957203 not found, creating it 2025-08-28 17:23:55,663 - INFO - Created Project:ctest-TestRP-56957203, ID : 104c9424-6eb4-49fd-8150-6707a9d0d016 2025-08-28 17:23:57,598 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:23:57,598 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3963-1']} 2025-08-28 17:23:57,602 - INFO - ================================================================================ 2025-08-28 17:23:57,602 - INFO - STARTING TEST : test_rp_interface 2025-08-28 17:23:57,602 - 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-28 17:23:57,873 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-28 17:23:57,873 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:23:57,873 - INFO - 2025-08-28 17:23:58,555 - DEBUG - Response for create_network : {'network': {'id': 'e8cd2f5d-fb9a-4013-a1f8-31cfb2c5afa5', 'name': 'ctest-bgpaas_vn-44138742', 'tenant_id': '104c94246eb449fd81506707a9d0d016', 'project_id': '104c94246eb449fd81506707a9d0d016', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-56957203', 'ctest-bgpaas_vn-44138742'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:23:58,776 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1484320-4179-4db0-a87b-987ff1be122c', 'name': '', 'tenant_id': '104c94246eb449fd81506707a9d0d016', 'network_id': 'e8cd2f5d-fb9a-4013-a1f8-31cfb2c5afa5', 'ip_version': 4, 'cidr': '168.182.122.192/26', 'allocation_pools': [{'start': '168.182.122.194', 'end': '168.182.122.254'}], 'gateway_ip': '168.182.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.182.122.194', 'tags': [], 'project_id': '104c94246eb449fd81506707a9d0d016'}} 2025-08-28 17:23:58,800 - INFO - Created VN ctest-bgpaas_vn-44138742 2025-08-28 17:23:58,859 - DEBUG - VN ctest-bgpaas_vn-44138742 UUID is e8cd2f5d-fb9a-4013-a1f8-31cfb2c5afa5 2025-08-28 17:23:59,344 - DEBUG - Response for create_network : {'network': {'id': '6485a72d-f414-48c6-adee-4c23e613d112', 'name': 'ctest-bgpaas_vn-93627099', 'tenant_id': '104c94246eb449fd81506707a9d0d016', 'project_id': '104c94246eb449fd81506707a9d0d016', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-56957203', 'ctest-bgpaas_vn-93627099'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:23:59,553 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e343bab1-71ef-41bf-8890-877c2b854cd6', 'name': '', 'tenant_id': '104c94246eb449fd81506707a9d0d016', 'network_id': '6485a72d-f414-48c6-adee-4c23e613d112', 'ip_version': 4, 'cidr': '178.55.178.64/26', 'allocation_pools': [{'start': '178.55.178.66', 'end': '178.55.178.126'}], 'gateway_ip': '178.55.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.55.178.66', 'tags': [], 'project_id': '104c94246eb449fd81506707a9d0d016'}} 2025-08-28 17:23:59,575 - INFO - Created VN ctest-bgpaas_vn-93627099 2025-08-28 17:23:59,627 - DEBUG - VN ctest-bgpaas_vn-93627099 UUID is 6485a72d-f414-48c6-adee-4c23e613d112 2025-08-28 17:24:01,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3963-1) 2025-08-28 17:24:02,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3963-1) 2025-08-28 17:24:02,548 - INFO - Waiting for VM test_vm to be up.. 2025-08-28 17:24:02,659 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:24:07,745 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:24:07,745 - INFO - VM name : test_vm 2025-08-28 17:24:07,835 - DEBUG - VM test_vm ID is 7a91bb3c-9a36-43b1-9f82-48be10c1201c 2025-08-28 17:24:07,858 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3963-1 2025-08-28 17:24:07,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a91bb3c-9a36-43b1-9f82-48be10c1201c 2025-08-28 17:24:08,301 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a91bb3c-9a36-43b1-9f82-48be10c1201c 2025-08-28 17:24:08,342 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ba620dd0-6ec0-4ce7-8d95-7959b9a3797b 2025-08-28 17:24:11,607 - 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 1008ms') 2025-08-28 17:24:11,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-28 17:24:11,663 - DEBUG - Gateway for vn default-domain:ctest-TestRP-56957203:ctest-bgpaas_vn-44138742 is 168.182.122.193 and allocation pool is NOT set 2025-08-28 17:24:15,737 - 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=2 ttl=63 time=10.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 10.289/10.289/10.289/0.000 ms') 2025-08-28 17:24:15,737 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-28 17:24:15,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:24:15,891 - DEBUG - Waiting to SSH to VM test_vm, IP 168.182.122.195, Port 22 2025-08-28 17:24:16,061 - DEBUG - VM test_vm is ready for SSH connections 2025-08-28 17:24:16,061 - INFO - Waiting for VM test2_vm to be up.. 2025-08-28 17:24:16,166 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:24:16,166 - INFO - VM name : test2_vm 2025-08-28 17:24:16,269 - DEBUG - VM test2_vm ID is 4e582dd9-05f0-42ce-86b6-6bef999db3ee 2025-08-28 17:24:16,269 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3963-1 2025-08-28 17:24:16,365 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4e582dd9-05f0-42ce-86b6-6bef999db3ee 2025-08-28 17:24:16,375 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f50918b8-d7c9-4aa7-a49a-f95dd759937f 2025-08-28 17:24:17,620 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.00 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 = 2.997/3.070/3.144/0.073 ms') 2025-08-28 17:24:17,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-28 17:24:17,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:24:17,775 - DEBUG - Waiting to SSH to VM test2_vm, IP 178.55.178.67, Port 22 2025-08-28 17:24:17,842 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-28 17:24:17,929 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 17:24:22,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:24:22,930 - DEBUG - Waiting to SSH to VM test2_vm, IP 178.55.178.67, Port 22 2025-08-28 17:24:23,102 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-28 17:24:23,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:24:23,255 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-56957203:ctest-bgpaas_vn-44138742:ctest-bgpaas_vn-44138742.inet.0 2025-08-28 17:24:24,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:24:24,274 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-56957203:ctest-bgpaas_vn-44138742:ctest-bgpaas_vn-44138742.inet.0 2025-08-28 17:24:24,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:24:24,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.55.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 17:24:24,286 - DEBUG - ping -s 56 -c 3 -W 1 178.55.178.67 2025-08-28 17:24:28,041 - DEBUG - PING 178.55.178.67 (178.55.178.67): 56 data bytes 64 bytes from 178.55.178.67: seq=0 ttl=63 time=4.543 ms 64 bytes from 178.55.178.67: seq=1 ttl=63 time=1.053 ms 64 bytes from 178.55.178.67: seq=2 ttl=63 time=0.939 ms --- 178.55.178.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/2.178/4.543 ms 2025-08-28 17:24:28,041 - INFO - Ping to IP 178.55.178.67 from VM test_vm passed 2025-08-28 17:24:28,128 - INFO - Deleting VM test2_vm 2025-08-28 17:24:28,207 - INFO - Deleting VM test_vm 2025-08-28 17:24:28,450 - INFO - Deleting VN ctest-bgpaas_vn-93627099 2025-08-28 17:24:28,501 - DEBUG - VN 6485a72d-f414-48c6-adee-4c23e613d112 still in use: Unable to complete operation on network 6485a72d-f414-48c6-adee-4c23e613d112. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9aa4bf2-0d00-425a-840c-7627f34b10bb'] 2025-08-28 17:24:28,501 - WARNING - Deleting VN ctest-bgpaas_vn-93627099 failed..Will retry 2025-08-28 17:24:30,638 - DEBUG - Response for deleting network () 2025-08-28 17:24:30,638 - INFO - Deleting VN ctest-bgpaas_vn-44138742 2025-08-28 17:24:30,780 - DEBUG - Response for deleting network () 2025-08-28 17:24:31,061 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:24:31,061 - INFO - END TEST : test_rp_interface : PASSED[0:00:34]
2025-08-28 17:24:31,062 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:24:31,827 - INFO - Deleted project: ctest-TestRP-56957203, ID : 104c9424-6eb4-49fd-8150-6707a9d0d016