2025-10-21 16:29:19,946 - INFO - Domain Default found not creating 2025-10-21 16:29:20,216 - INFO - Project ctest-TestRP-81603554 not found, creating it 2025-10-21 16:29:20,884 - INFO - Created Project:ctest-TestRP-81603554, ID : 176a673a-3e0e-4081-8650-621273f9e24f 2025-10-21 16:29:22,962 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:29:22,963 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4397-1']} 2025-10-21 16:29:22,970 - INFO - ================================================================================ 2025-10-21 16:29:22,971 - INFO - STARTING TEST : test_rp_interface 2025-10-21 16:29:22,971 - 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-10-21 16:29:23,273 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 16:29:23,274 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:29:23,274 - INFO - 2025-10-21 16:29:24,485 - DEBUG - Response for create_network : {'network': {'id': 'd0ce151c-7bc4-462a-8e3d-2c8579f659a7', 'name': 'ctest-bgpaas_vn-97707107', 'tenant_id': '176a673a3e0e40818650621273f9e24f', 'project_id': '176a673a3e0e40818650621273f9e24f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-81603554', 'ctest-bgpaas_vn-97707107'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:29:24,725 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e315580f-842a-48f4-b8b1-463517ad795a', 'name': '', 'tenant_id': '176a673a3e0e40818650621273f9e24f', 'network_id': 'd0ce151c-7bc4-462a-8e3d-2c8579f659a7', 'ip_version': 4, 'cidr': '192.192.87.192/26', 'allocation_pools': [{'start': '192.192.87.194', 'end': '192.192.87.254'}], 'gateway_ip': '192.192.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.192.87.194', 'tags': [], 'project_id': '176a673a3e0e40818650621273f9e24f'}} 2025-10-21 16:29:24,751 - INFO - Created VN ctest-bgpaas_vn-97707107 2025-10-21 16:29:24,803 - DEBUG - VN ctest-bgpaas_vn-97707107 UUID is d0ce151c-7bc4-462a-8e3d-2c8579f659a7 2025-10-21 16:29:25,355 - DEBUG - Response for create_network : {'network': {'id': '431db0ed-64ee-471f-b4ac-faa875ae5e2d', 'name': 'ctest-bgpaas_vn-24182651', 'tenant_id': '176a673a3e0e40818650621273f9e24f', 'project_id': '176a673a3e0e40818650621273f9e24f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-81603554', 'ctest-bgpaas_vn-24182651'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:29:25,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ebfa2b2-0a38-4531-9742-0160e7118085', 'name': '', 'tenant_id': '176a673a3e0e40818650621273f9e24f', 'network_id': '431db0ed-64ee-471f-b4ac-faa875ae5e2d', 'ip_version': 4, 'cidr': '130.131.232.0/26', 'allocation_pools': [{'start': '130.131.232.2', 'end': '130.131.232.62'}], 'gateway_ip': '130.131.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.131.232.2', 'tags': [], 'project_id': '176a673a3e0e40818650621273f9e24f'}} 2025-10-21 16:29:25,557 - INFO - Created VN ctest-bgpaas_vn-24182651 2025-10-21 16:29:25,611 - DEBUG - VN ctest-bgpaas_vn-24182651 UUID is 431db0ed-64ee-471f-b4ac-faa875ae5e2d 2025-10-21 16:29:27,628 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:29:29,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:29:29,007 - INFO - Waiting for VM test_vm to be up.. 2025-10-21 16:29:29,107 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:29:34,219 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:29:34,219 - INFO - VM name : test_vm 2025-10-21 16:29:34,326 - DEBUG - VM test_vm ID is 0bdc3e71-7a0d-4441-8246-19ff000e7a16 2025-10-21 16:29:34,351 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:29:34,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0bdc3e71-7a0d-4441-8246-19ff000e7a16 2025-10-21 16:29:34,827 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0bdc3e71-7a0d-4441-8246-19ff000e7a16 2025-10-21 16:29:34,887 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fffb2c58-8947-4a80-a06d-913a167e90b8 2025-10-21 16:29:38,193 - 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 1028ms') 2025-10-21 16:29:38,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-21 16:29:38,267 - DEBUG - Gateway for vn default-domain:ctest-TestRP-81603554:ctest-bgpaas_vn-97707107 is 192.192.87.193 and allocation pool is NOT set 2025-10-21 16:29:40,335 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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.629/2.779/3.930/1.150 ms') 2025-10-21 16:29:40,335 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-21 16:29:40,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:40,508 - DEBUG - Waiting to SSH to VM test_vm, IP 192.192.87.195, Port 22 2025-10-21 16:29:40,697 - DEBUG - VM test_vm is ready for SSH connections 2025-10-21 16:29:40,698 - INFO - Waiting for VM test2_vm to be up.. 2025-10-21 16:29:40,816 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:29:40,817 - INFO - VM name : test2_vm 2025-10-21 16:29:40,898 - DEBUG - VM test2_vm ID is a322fa9c-f7b9-4d53-82d9-ca6bcc0884f0 2025-10-21 16:29:40,898 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:29:40,987 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a322fa9c-f7b9-4d53-82d9-ca6bcc0884f0 2025-10-21 16:29:40,997 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1f18f81-9fd4-4e28-9a63-4d438825cdce 2025-10-21 16:29:42,274 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.34 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 = 3.206/3.773/4.340/0.567 ms') 2025-10-21 16:29:42,274 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-21 16:29:42,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:42,453 - DEBUG - Waiting to SSH to VM test2_vm, IP 130.131.232.3, Port 22 2025-10-21 16:29:42,536 - 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-10-21 16:29:42,697 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 16:29:47,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:47,699 - DEBUG - Waiting to SSH to VM test2_vm, IP 130.131.232.3, Port 22 2025-10-21 16:29:47,906 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-21 16:29:48,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:48,140 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-81603554:ctest-bgpaas_vn-97707107:ctest-bgpaas_vn-97707107.inet.0 2025-10-21 16:29:48,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:29:48,157 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.131.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:29:48,158 - DEBUG - ping -s 56 -c 3 -W 1 130.131.232.3 2025-10-21 16:29:52,286 - DEBUG - PING 130.131.232.3 (130.131.232.3): 56 data bytes 64 bytes from 130.131.232.3: seq=0 ttl=63 time=4.372 ms 64 bytes from 130.131.232.3: seq=1 ttl=63 time=2.229 ms 64 bytes from 130.131.232.3: seq=2 ttl=63 time=1.311 ms --- 130.131.232.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.311/2.637/4.372 ms 2025-10-21 16:29:52,286 - INFO - Ping to IP 130.131.232.3 from VM test_vm passed 2025-10-21 16:29:52,373 - INFO - Deleting VM test2_vm 2025-10-21 16:29:52,468 - INFO - Deleting VM test_vm 2025-10-21 16:29:52,544 - INFO - Deleting VN ctest-bgpaas_vn-24182651 2025-10-21 16:29:52,593 - DEBUG - VN 431db0ed-64ee-471f-b4ac-faa875ae5e2d still in use: Unable to complete operation on network 431db0ed-64ee-471f-b4ac-faa875ae5e2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44aac729-059c-4769-981d-54422ed9d6b9'] 2025-10-21 16:29:52,594 - WARNING - Deleting VN ctest-bgpaas_vn-24182651 failed..Will retry 2025-10-21 16:29:54,795 - DEBUG - Response for deleting network () 2025-10-21 16:29:54,795 - INFO - Deleting VN ctest-bgpaas_vn-97707107 2025-10-21 16:29:54,926 - DEBUG - Response for deleting network () 2025-10-21 16:29:55,216 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 16:29:55,216 - INFO - END TEST : test_rp_interface : PASSED[0:00:33]
2025-10-21 16:29:55,216 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:29:55,979 - INFO - Deleted project: ctest-TestRP-81603554, ID : 176a673a-3e0e-4081-8650-621273f9e24f