2025-07-30 17:12:06,795 - INFO - Domain Default found not creating 2025-07-30 17:12:07,200 - INFO - Project ctest-TestRP-98368357 not found, creating it 2025-07-30 17:12:07,882 - INFO - Created Project:ctest-TestRP-98368357, ID : d7ead586-9270-4199-885e-9eb7cdbf0071 2025-07-30 17:12:09,970 - DEBUG - Services list from nova: [, , ] 2025-07-30 17:12:09,970 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3724-1']} 2025-07-30 17:12:09,978 - INFO - ================================================================================ 2025-07-30 17:12:09,978 - INFO - STARTING TEST : test_rp_interface 2025-07-30 17:12:09,979 - 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-07-30 17:12:10,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-30 17:12:10,314 - INFO - Initial checks done. Running the testcase now 2025-07-30 17:12:10,315 - INFO - 2025-07-30 17:12:11,206 - DEBUG - Response for create_network : {'network': {'id': '5623727b-9f66-47cd-b9eb-60cd10381862', 'name': 'ctest-bgpaas_vn-81341958', 'tenant_id': 'd7ead58692704199885e9eb7cdbf0071', 'project_id': 'd7ead58692704199885e9eb7cdbf0071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-98368357', 'ctest-bgpaas_vn-81341958'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:12:11,428 - DEBUG - Response for create_subnet : {'subnet': {'id': '21812d53-6c27-495b-a7ee-0832fe79d20b', 'name': '', 'tenant_id': 'd7ead58692704199885e9eb7cdbf0071', 'network_id': '5623727b-9f66-47cd-b9eb-60cd10381862', 'ip_version': 4, 'cidr': '6.200.199.192/26', 'allocation_pools': [{'start': '6.200.199.194', 'end': '6.200.199.254'}], 'gateway_ip': '6.200.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.200.199.194', 'tags': [], 'project_id': 'd7ead58692704199885e9eb7cdbf0071'}} 2025-07-30 17:12:11,458 - INFO - Created VN ctest-bgpaas_vn-81341958 2025-07-30 17:12:11,521 - DEBUG - VN ctest-bgpaas_vn-81341958 UUID is 5623727b-9f66-47cd-b9eb-60cd10381862 2025-07-30 17:12:12,345 - DEBUG - Response for create_network : {'network': {'id': '5796b4a2-d397-4904-9d3a-8ad4cbd3c325', 'name': 'ctest-bgpaas_vn-18310694', 'tenant_id': 'd7ead58692704199885e9eb7cdbf0071', 'project_id': 'd7ead58692704199885e9eb7cdbf0071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-98368357', 'ctest-bgpaas_vn-18310694'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 17:12:12,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '214fc754-856a-4dd5-89c6-649752e95070', 'name': '', 'tenant_id': 'd7ead58692704199885e9eb7cdbf0071', 'network_id': '5796b4a2-d397-4904-9d3a-8ad4cbd3c325', 'ip_version': 4, 'cidr': '45.225.54.64/26', 'allocation_pools': [{'start': '45.225.54.66', 'end': '45.225.54.126'}], 'gateway_ip': '45.225.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.225.54.66', 'tags': [], 'project_id': 'd7ead58692704199885e9eb7cdbf0071'}} 2025-07-30 17:12:12,652 - INFO - Created VN ctest-bgpaas_vn-18310694 2025-07-30 17:12:12,712 - DEBUG - VN ctest-bgpaas_vn-18310694 UUID is 5796b4a2-d397-4904-9d3a-8ad4cbd3c325 2025-07-30 17:12:14,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:12:16,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3724-1) 2025-07-30 17:12:16,203 - INFO - Waiting for VM test_vm to be up.. 2025-07-30 17:12:16,279 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 17:12:21,441 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:12:21,441 - INFO - VM name : test_vm 2025-07-30 17:12:21,579 - DEBUG - VM test_vm ID is cae4672e-da7a-4fcd-b29d-2bc0d11967b4 2025-07-30 17:12:21,621 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:12:21,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cae4672e-da7a-4fcd-b29d-2bc0d11967b4 2025-07-30 17:12:22,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cae4672e-da7a-4fcd-b29d-2bc0d11967b4 2025-07-30 17:12:22,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/56c2037b-e2fe-4d89-b4f8-ddb0ec0fd480 2025-07-30 17:12:25,395 - 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 1024ms') 2025-07-30 17:12:25,396 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-07-30 17:12:25,460 - DEBUG - Gateway for vn default-domain:ctest-TestRP-98368357:ctest-bgpaas_vn-81341958 is 6.200.199.193 and allocation pool is NOT set 2025-07-30 17:12:27,559 - 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=6.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.749/5.152/6.556/1.403 ms') 2025-07-30 17:12:27,559 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-07-30 17:12:27,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:12:27,757 - DEBUG - Waiting to SSH to VM test_vm, IP 6.200.199.195, Port 22 2025-07-30 17:12:27,965 - DEBUG - VM test_vm is ready for SSH connections 2025-07-30 17:12:27,965 - INFO - Waiting for VM test2_vm to be up.. 2025-07-30 17:12:28,076 - DEBUG - VM is in ACTIVE state now 2025-07-30 17:12:28,076 - INFO - VM name : test2_vm 2025-07-30 17:12:28,312 - DEBUG - VM test2_vm ID is d0daee86-9b07-41f2-8314-3fe0608e554b 2025-07-30 17:12:28,313 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3724-1 2025-07-30 17:12:28,443 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d0daee86-9b07-41f2-8314-3fe0608e554b 2025-07-30 17:12:28,454 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/81556325-8937-4d21-8f15-0e1293bd02c9 2025-07-30 17:12:29,759 - 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=5.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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 = 1.712/3.624/5.536/1.912 ms') 2025-07-30 17:12:29,760 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-07-30 17:12:29,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:12:29,950 - DEBUG - Waiting to SSH to VM test2_vm, IP 45.225.54.67, Port 22 2025-07-30 17:12:30,031 - 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-07-30 17:12:30,233 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-07-30 17:12:35,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:12:35,235 - DEBUG - Waiting to SSH to VM test2_vm, IP 45.225.54.67, Port 22 2025-07-30 17:12:35,427 - DEBUG - VM test2_vm is ready for SSH connections 2025-07-30 17:12:35,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:12:35,665 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-98368357:ctest-bgpaas_vn-81341958:ctest-bgpaas_vn-81341958.inet.0 2025-07-30 17:12:35,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 17:12:35,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.225.54.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-30 17:12:35,686 - DEBUG - ping -s 56 -c 3 -W 1 45.225.54.67 2025-07-30 17:12:39,884 - DEBUG - PING 45.225.54.67 (45.225.54.67): 56 data bytes 64 bytes from 45.225.54.67: seq=0 ttl=63 time=5.340 ms 64 bytes from 45.225.54.67: seq=1 ttl=63 time=2.018 ms 64 bytes from 45.225.54.67: seq=2 ttl=63 time=1.969 ms --- 45.225.54.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.969/3.109/5.340 ms 2025-07-30 17:12:39,884 - INFO - Ping to IP 45.225.54.67 from VM test_vm passed 2025-07-30 17:12:40,042 - INFO - Deleting VM test2_vm 2025-07-30 17:12:40,127 - INFO - Deleting VM test_vm 2025-07-30 17:12:40,238 - INFO - Deleting VN ctest-bgpaas_vn-18310694 2025-07-30 17:12:40,328 - DEBUG - VN 5796b4a2-d397-4904-9d3a-8ad4cbd3c325 still in use: Unable to complete operation on network 5796b4a2-d397-4904-9d3a-8ad4cbd3c325. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0157e34e-8072-4a59-afa3-06d29cd338a6'] 2025-07-30 17:12:40,328 - WARNING - Deleting VN ctest-bgpaas_vn-18310694 failed..Will retry 2025-07-30 17:12:42,669 - DEBUG - Response for deleting network () 2025-07-30 17:12:42,669 - INFO - Deleting VN ctest-bgpaas_vn-81341958 2025-07-30 17:12:42,854 - DEBUG - Response for deleting network () 2025-07-30 17:12:43,171 - DEBUG - No XMPP flaps were noticed during the test 2025-07-30 17:12:43,172 - INFO - END TEST : test_rp_interface : PASSED[0:00:34] 2025-07-30 17:12:43,172 - INFO - -------------------------------------------------------------------------------- 2025-07-30 17:12:44,196 - INFO - Deleted project: ctest-TestRP-98368357, ID : d7ead586-9270-4199-885e-9eb7cdbf0071