2025-08-15 08:16:35,388 - INFO - Domain Default found not creating 2025-08-15 08:16:35,528 - INFO - Project ctest-TestRP-13235538 not found, creating it 2025-08-15 08:16:35,983 - INFO - Created Project:ctest-TestRP-13235538, ID : 2ace91e6-489b-4cff-b996-b3f078b10394 2025-08-15 08:16:37,520 - DEBUG - Services list from nova: [, , ] 2025-08-15 08:16:37,520 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3859-1']} 2025-08-15 08:16:37,523 - INFO - ================================================================================ 2025-08-15 08:16:37,523 - INFO - STARTING TEST : test_rp_interface 2025-08-15 08:16:37,523 - 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-15 08:16:37,779 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-08-15 08:16:37,779 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:16:37,779 - INFO - 2025-08-15 08:16:38,371 - DEBUG - Response for create_network : {'network': {'id': '146e19c2-8bff-44c0-a2ba-b20515f0aa61', 'name': 'ctest-bgpaas_vn-69885967', 'tenant_id': '2ace91e6489b4cffb996b3f078b10394', 'project_id': '2ace91e6489b4cffb996b3f078b10394', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-13235538', 'ctest-bgpaas_vn-69885967'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:16:38,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d9905cf-4362-40da-9d03-4912e30f8a2d', 'name': '', 'tenant_id': '2ace91e6489b4cffb996b3f078b10394', 'network_id': '146e19c2-8bff-44c0-a2ba-b20515f0aa61', 'ip_version': 4, 'cidr': '159.64.76.192/26', 'allocation_pools': [{'start': '159.64.76.194', 'end': '159.64.76.254'}], 'gateway_ip': '159.64.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.64.76.194', 'tags': [], 'project_id': '2ace91e6489b4cffb996b3f078b10394'}} 2025-08-15 08:16:38,540 - INFO - Created VN ctest-bgpaas_vn-69885967 2025-08-15 08:16:38,592 - DEBUG - VN ctest-bgpaas_vn-69885967 UUID is 146e19c2-8bff-44c0-a2ba-b20515f0aa61 2025-08-15 08:16:39,097 - DEBUG - Response for create_network : {'network': {'id': '28ea297f-f87e-4b84-9265-8c7f1b02937d', 'name': 'ctest-bgpaas_vn-77626999', 'tenant_id': '2ace91e6489b4cffb996b3f078b10394', 'project_id': '2ace91e6489b4cffb996b3f078b10394', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-13235538', 'ctest-bgpaas_vn-77626999'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:16:39,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '346bc721-20a4-411c-a06a-37099c9d5fae', 'name': '', 'tenant_id': '2ace91e6489b4cffb996b3f078b10394', 'network_id': '28ea297f-f87e-4b84-9265-8c7f1b02937d', 'ip_version': 4, 'cidr': '192.227.251.64/26', 'allocation_pools': [{'start': '192.227.251.66', 'end': '192.227.251.126'}], 'gateway_ip': '192.227.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.227.251.66', 'tags': [], 'project_id': '2ace91e6489b4cffb996b3f078b10394'}} 2025-08-15 08:16:39,328 - INFO - Created VN ctest-bgpaas_vn-77626999 2025-08-15 08:16:39,380 - DEBUG - VN ctest-bgpaas_vn-77626999 UUID is 28ea297f-f87e-4b84-9265-8c7f1b02937d 2025-08-15 08:16:40,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:16:41,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:16:41,972 - INFO - Waiting for VM test_vm to be up.. 2025-08-15 08:16:42,045 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 08:16:47,122 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:16:47,122 - INFO - VM name : test_vm 2025-08-15 08:16:47,194 - DEBUG - VM test_vm ID is 8699ba45-0246-4229-a069-57962d6f775b 2025-08-15 08:16:47,215 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:16:47,287 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8699ba45-0246-4229-a069-57962d6f775b 2025-08-15 08:16:47,618 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/8699ba45-0246-4229-a069-57962d6f775b 2025-08-15 08:16:47,649 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/58a0f476-3914-492f-942e-915149e178fb 2025-08-15 08:16:50,897 - 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 1006ms') 2025-08-15 08:16:50,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-15 08:16:50,952 - DEBUG - Gateway for vn default-domain:ctest-TestRP-13235538:ctest-bgpaas_vn-69885967 is 159.64.76.193 and allocation pool is NOT set 2025-08-15 08:16:53,018 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.754 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.754/2.160/3.566/1.406 ms') 2025-08-15 08:16:53,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-15 08:16:53,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:16:53,176 - DEBUG - Waiting to SSH to VM test_vm, IP 159.64.76.195, Port 22 2025-08-15 08:16:53,236 - 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-15 08:16:53,309 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-15 08:16:58,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:16:58,310 - DEBUG - Waiting to SSH to VM test_vm, IP 159.64.76.195, Port 22 2025-08-15 08:16:58,467 - DEBUG - VM test_vm is ready for SSH connections 2025-08-15 08:16:58,467 - INFO - Waiting for VM test2_vm to be up.. 2025-08-15 08:16:58,630 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:16:58,630 - INFO - VM name : test2_vm 2025-08-15 08:16:58,696 - DEBUG - VM test2_vm ID is 24cf6193-5668-4224-8916-5b754f5921d1 2025-08-15 08:16:58,697 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:16:58,762 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/24cf6193-5668-4224-8916-5b754f5921d1 2025-08-15 08:16:58,769 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/aeec00b4-a4ff-4402-8ba6-0e7d3b6aaa78 2025-08-15 08:17:00,013 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/2.144/3.902/1.758 ms') 2025-08-15 08:17:00,014 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-15 08:17:00,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:17:00,172 - DEBUG - Waiting to SSH to VM test2_vm, IP 192.227.251.67, Port 22 2025-08-15 08:17:00,327 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-15 08:17:00,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:17:00,486 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-13235538:ctest-bgpaas_vn-69885967:ctest-bgpaas_vn-69885967.inet.0 2025-08-15 08:17:01,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:17:01,504 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-13235538:ctest-bgpaas_vn-69885967:ctest-bgpaas_vn-69885967.inet.0 2025-08-15 08:17:01,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:17:01,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.227.251.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-15 08:17:01,515 - DEBUG - ping -s 56 -c 3 -W 1 192.227.251.67 2025-08-15 08:17:05,514 - DEBUG - PING 192.227.251.67 (192.227.251.67): 56 data bytes 64 bytes from 192.227.251.67: seq=0 ttl=63 time=3.713 ms 64 bytes from 192.227.251.67: seq=1 ttl=63 time=0.806 ms 64 bytes from 192.227.251.67: seq=2 ttl=63 time=0.772 ms --- 192.227.251.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.763/3.713 ms 2025-08-15 08:17:05,514 - INFO - Ping to IP 192.227.251.67 from VM test_vm passed 2025-08-15 08:17:05,577 - INFO - Deleting VM test2_vm 2025-08-15 08:17:05,647 - INFO - Deleting VM test_vm 2025-08-15 08:17:05,716 - INFO - Deleting VN ctest-bgpaas_vn-77626999 2025-08-15 08:17:05,757 - DEBUG - VN 28ea297f-f87e-4b84-9265-8c7f1b02937d still in use: Unable to complete operation on network 28ea297f-f87e-4b84-9265-8c7f1b02937d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d201c645-97aa-4cf5-add9-48aa3af3b133'] 2025-08-15 08:17:05,757 - WARNING - Deleting VN ctest-bgpaas_vn-77626999 failed..Will retry 2025-08-15 08:17:07,865 - DEBUG - Response for deleting network () 2025-08-15 08:17:07,866 - INFO - Deleting VN ctest-bgpaas_vn-69885967 2025-08-15 08:17:07,956 - DEBUG - Response for deleting network () 2025-08-15 08:17:08,218 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 08:17:08,218 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-08-15 08:17:08,218 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:17:08,977 - INFO - Deleted project: ctest-TestRP-13235538, ID : 2ace91e6-489b-4cff-b996-b3f078b10394