2025-11-24 14:35:43,763 - INFO - Domain Default found not creating 2025-11-24 14:35:43,961 - INFO - Project ctest-TestRP-97476998 not found, creating it 2025-11-24 14:35:44,443 - INFO - Created Project:ctest-TestRP-97476998, ID : acf8805c-c3e7-4efd-b494-f789abfc5d4e 2025-11-24 14:35:46,257 - DEBUG - Services list from nova: [, , ] 2025-11-24 14:35:46,257 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4807-1']} 2025-11-24 14:35:46,260 - INFO - ================================================================================ 2025-11-24 14:35:46,260 - INFO - STARTING TEST : test_rp_interface 2025-11-24 14:35:46,260 - 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-24 14:35:46,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-24 14:35:46,522 - INFO - Initial checks done. Running the testcase now 2025-11-24 14:35:46,523 - INFO - 2025-11-24 14:35:47,186 - DEBUG - Response for create_network : {'network': {'id': '67d5f383-f3d8-439d-85ce-c3f911151e6e', 'name': 'ctest-bgpaas_vn-36792675', 'tenant_id': 'acf8805cc3e74efdb494f789abfc5d4e', 'project_id': 'acf8805cc3e74efdb494f789abfc5d4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-97476998', 'ctest-bgpaas_vn-36792675'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:35:47,388 - DEBUG - Response for create_subnet : {'subnet': {'id': '268fb740-70e7-4e58-bc4d-102fbd95254f', 'name': '', 'tenant_id': 'acf8805cc3e74efdb494f789abfc5d4e', 'network_id': '67d5f383-f3d8-439d-85ce-c3f911151e6e', 'ip_version': 4, 'cidr': '20.232.130.64/26', 'allocation_pools': [{'start': '20.232.130.66', 'end': '20.232.130.126'}], 'gateway_ip': '20.232.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.232.130.66', 'tags': [], 'project_id': 'acf8805cc3e74efdb494f789abfc5d4e'}} 2025-11-24 14:35:47,410 - INFO - Created VN ctest-bgpaas_vn-36792675 2025-11-24 14:35:47,466 - DEBUG - VN ctest-bgpaas_vn-36792675 UUID is 67d5f383-f3d8-439d-85ce-c3f911151e6e 2025-11-24 14:35:47,985 - DEBUG - Response for create_network : {'network': {'id': '85fa816f-7e95-4675-9196-ebcc53cccb9c', 'name': 'ctest-bgpaas_vn-19010753', 'tenant_id': 'acf8805cc3e74efdb494f789abfc5d4e', 'project_id': 'acf8805cc3e74efdb494f789abfc5d4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-97476998', 'ctest-bgpaas_vn-19010753'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:35:48,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '25d5d926-dcac-40d6-9588-05d196c1e724', 'name': '', 'tenant_id': 'acf8805cc3e74efdb494f789abfc5d4e', 'network_id': '85fa816f-7e95-4675-9196-ebcc53cccb9c', 'ip_version': 4, 'cidr': '37.241.128.64/26', 'allocation_pools': [{'start': '37.241.128.66', 'end': '37.241.128.126'}], 'gateway_ip': '37.241.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.241.128.66', 'tags': [], 'project_id': 'acf8805cc3e74efdb494f789abfc5d4e'}} 2025-11-24 14:35:48,229 - INFO - Created VN ctest-bgpaas_vn-19010753 2025-11-24 14:35:48,282 - DEBUG - VN ctest-bgpaas_vn-19010753 UUID is 85fa816f-7e95-4675-9196-ebcc53cccb9c 2025-11-24 14:35:49,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:35:51,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:35:51,389 - INFO - Waiting for VM test_vm to be up.. 2025-11-24 14:35:51,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 14:35:56,595 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:35:56,595 - INFO - VM name : test_vm 2025-11-24 14:35:56,715 - DEBUG - VM test_vm ID is f5cff3c0-68bf-48dc-b708-4ee427ef83a0 2025-11-24 14:35:56,746 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:35:56,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f5cff3c0-68bf-48dc-b708-4ee427ef83a0 2025-11-24 14:35:57,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f5cff3c0-68bf-48dc-b708-4ee427ef83a0 2025-11-24 14:35:57,240 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c15cf960-7b88-4f87-8a11-37c572fdcdcc 2025-11-24 14:36:00,515 - 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-24 14:36:00,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-24 14:36:00,575 - DEBUG - Gateway for vn default-domain:ctest-TestRP-97476998:ctest-bgpaas_vn-36792675 is 20.232.130.65 and allocation pool is NOT set 2025-11-24 14:36:02,649 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.44 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 = 1.440/3.265/5.091/1.825 ms') 2025-11-24 14:36:02,649 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-24 14:36:02,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:36:02,810 - DEBUG - Waiting to SSH to VM test_vm, IP 20.232.130.67, Port 22 2025-11-24 14:36:02,876 - 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-24 14:36:02,991 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 14:36:07,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:36:07,991 - DEBUG - Waiting to SSH to VM test_vm, IP 20.232.130.67, Port 22 2025-11-24 14:36:08,164 - DEBUG - VM test_vm is ready for SSH connections 2025-11-24 14:36:08,165 - INFO - Waiting for VM test2_vm to be up.. 2025-11-24 14:36:08,256 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:36:08,257 - INFO - VM name : test2_vm 2025-11-24 14:36:08,352 - DEBUG - VM test2_vm ID is ab9e18b7-75b6-4407-8cfe-6fb8f9ec7911 2025-11-24 14:36:08,353 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:36:08,438 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ab9e18b7-75b6-4407-8cfe-6fb8f9ec7911 2025-11-24 14:36:08,448 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2ab56c57-360c-4e6b-84df-9052311863e8 2025-11-24 14:36:09,704 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/2.198/3.913/1.715 ms') 2025-11-24 14:36:09,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-24 14:36:09,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:36:09,855 - DEBUG - Waiting to SSH to VM test2_vm, IP 37.241.128.67, Port 22 2025-11-24 14:36:10,024 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-24 14:36:10,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:36:10,215 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-97476998:ctest-bgpaas_vn-36792675:ctest-bgpaas_vn-36792675.inet.0 2025-11-24 14:36:10,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:36:10,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.241.128.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:36:10,229 - DEBUG - ping -s 56 -c 3 -W 1 37.241.128.67 2025-11-24 14:36:13,995 - DEBUG - PING 37.241.128.67 (37.241.128.67): 56 data bytes 64 bytes from 37.241.128.67: seq=0 ttl=63 time=4.311 ms 64 bytes from 37.241.128.67: seq=1 ttl=63 time=1.093 ms 64 bytes from 37.241.128.67: seq=2 ttl=63 time=0.984 ms --- 37.241.128.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/2.129/4.311 ms 2025-11-24 14:36:13,995 - INFO - Ping to IP 37.241.128.67 from VM test_vm passed 2025-11-24 14:36:14,081 - INFO - Deleting VM test2_vm 2025-11-24 14:36:14,156 - INFO - Deleting VM test_vm 2025-11-24 14:36:14,237 - INFO - Deleting VN ctest-bgpaas_vn-19010753 2025-11-24 14:36:14,280 - DEBUG - VN 85fa816f-7e95-4675-9196-ebcc53cccb9c still in use: Unable to complete operation on network 85fa816f-7e95-4675-9196-ebcc53cccb9c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0774b611-c8be-470d-ad23-45bab2486d62'] 2025-11-24 14:36:14,280 - WARNING - Deleting VN ctest-bgpaas_vn-19010753 failed..Will retry 2025-11-24 14:36:16,400 - DEBUG - Response for deleting network () 2025-11-24 14:36:16,400 - INFO - Deleting VN ctest-bgpaas_vn-36792675 2025-11-24 14:36:16,527 - DEBUG - Response for deleting network () 2025-11-24 14:36:16,800 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 14:36:16,800 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-11-24 14:36:16,800 - INFO - -------------------------------------------------------------------------------- 2025-11-24 14:36:17,583 - INFO - Deleted project: ctest-TestRP-97476998, ID : acf8805c-c3e7-4efd-b494-f789abfc5d4e