2025-11-19 18:18:11,210 - INFO - Domain Default found not creating 2025-11-19 18:18:11,373 - INFO - Project ctest-TestRP-58162017 not found, creating it 2025-11-19 18:18:11,822 - INFO - Created Project:ctest-TestRP-58162017, ID : 4c229e87-ba64-46ef-bea6-e3d1e38f7a47 2025-11-19 18:18:13,334 - DEBUG - Services list from nova: [, , ] 2025-11-19 18:18:13,335 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4766-1']} 2025-11-19 18:18:13,338 - INFO - ================================================================================ 2025-11-19 18:18:13,338 - INFO - STARTING TEST : test_rp_interface 2025-11-19 18:18:13,338 - 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-19 18:18:13,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-19 18:18:13,599 - INFO - Initial checks done. Running the testcase now 2025-11-19 18:18:13,599 - INFO - 2025-11-19 18:18:14,133 - DEBUG - Response for create_network : {'network': {'id': '666806fd-e1ba-43a8-9a22-ffaeba8c8d85', 'name': 'ctest-bgpaas_vn-86686765', 'tenant_id': '4c229e87ba6446efbea6e3d1e38f7a47', 'project_id': '4c229e87ba6446efbea6e3d1e38f7a47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-58162017', 'ctest-bgpaas_vn-86686765'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:18:14,307 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2be045f-2650-4bbb-80b4-7f57d84fa173', 'name': '', 'tenant_id': '4c229e87ba6446efbea6e3d1e38f7a47', 'network_id': '666806fd-e1ba-43a8-9a22-ffaeba8c8d85', 'ip_version': 4, 'cidr': '57.211.144.128/26', 'allocation_pools': [{'start': '57.211.144.130', 'end': '57.211.144.190'}], 'gateway_ip': '57.211.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.211.144.130', 'tags': [], 'project_id': '4c229e87ba6446efbea6e3d1e38f7a47'}} 2025-11-19 18:18:14,325 - INFO - Created VN ctest-bgpaas_vn-86686765 2025-11-19 18:18:14,377 - DEBUG - VN ctest-bgpaas_vn-86686765 UUID is 666806fd-e1ba-43a8-9a22-ffaeba8c8d85 2025-11-19 18:18:14,839 - DEBUG - Response for create_network : {'network': {'id': '11cccac6-2313-4534-a480-0425aaaa466d', 'name': 'ctest-bgpaas_vn-41809767', 'tenant_id': '4c229e87ba6446efbea6e3d1e38f7a47', 'project_id': '4c229e87ba6446efbea6e3d1e38f7a47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-58162017', 'ctest-bgpaas_vn-41809767'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:18:15,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '40b89be3-3971-4065-bfc8-091845f335f9', 'name': '', 'tenant_id': '4c229e87ba6446efbea6e3d1e38f7a47', 'network_id': '11cccac6-2313-4534-a480-0425aaaa466d', 'ip_version': 4, 'cidr': '61.200.86.64/26', 'allocation_pools': [{'start': '61.200.86.66', 'end': '61.200.86.126'}], 'gateway_ip': '61.200.86.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.200.86.66', 'tags': [], 'project_id': '4c229e87ba6446efbea6e3d1e38f7a47'}} 2025-11-19 18:18:15,060 - INFO - Created VN ctest-bgpaas_vn-41809767 2025-11-19 18:18:15,113 - DEBUG - VN ctest-bgpaas_vn-41809767 UUID is 11cccac6-2313-4534-a480-0425aaaa466d 2025-11-19 18:18:16,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:18:17,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:18:17,565 - INFO - Waiting for VM test_vm to be up.. 2025-11-19 18:18:17,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 18:18:22,729 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:18:22,729 - INFO - VM name : test_vm 2025-11-19 18:18:22,803 - DEBUG - VM test_vm ID is 2a8b9231-6ea7-4057-aa4e-0d4cf45a5a96 2025-11-19 18:18:22,824 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:18:22,896 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2a8b9231-6ea7-4057-aa4e-0d4cf45a5a96 2025-11-19 18:18:23,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2a8b9231-6ea7-4057-aa4e-0d4cf45a5a96 2025-11-19 18:18:23,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/69a9d26e-b8ad-4c83-b64a-51f3ceaf496b 2025-11-19 18:18:26,474 - 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 1011ms') 2025-11-19 18:18:26,474 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-19 18:18:26,529 - DEBUG - Gateway for vn default-domain:ctest-TestRP-58162017:ctest-bgpaas_vn-86686765 is 57.211.144.129 and allocation pool is NOT set 2025-11-19 18:18:28,588 - 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=7.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/4.169/7.807/3.637 ms') 2025-11-19 18:18:28,588 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-19 18:18:28,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:18:28,737 - DEBUG - Waiting to SSH to VM test_vm, IP 57.211.144.131, Port 22 2025-11-19 18:18:28,893 - DEBUG - VM test_vm is ready for SSH connections 2025-11-19 18:18:28,893 - INFO - Waiting for VM test2_vm to be up.. 2025-11-19 18:18:28,988 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:18:28,988 - INFO - VM name : test2_vm 2025-11-19 18:18:29,069 - DEBUG - VM test2_vm ID is 311cdfe4-3f2b-4035-9957-a70633b810e7 2025-11-19 18:18:29,069 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:18:29,147 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/311cdfe4-3f2b-4035-9957-a70633b810e7 2025-11-19 18:18:29,155 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c41f3773-dfab-4d57-9f50-470ac0d6a815 2025-11-19 18:18:30,396 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.66 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.660/2.816/2.972/0.156 ms') 2025-11-19 18:18:30,396 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-19 18:18:30,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:18:30,545 - DEBUG - Waiting to SSH to VM test2_vm, IP 61.200.86.67, Port 22 2025-11-19 18:18:30,611 - 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-11-19 18:18:30,691 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-19 18:18:35,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:18:35,692 - DEBUG - Waiting to SSH to VM test2_vm, IP 61.200.86.67, Port 22 2025-11-19 18:18:35,848 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-19 18:18:36,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:18:36,007 - DEBUG - Requesting: http://10.20.0.192:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-58162017:ctest-bgpaas_vn-86686765:ctest-bgpaas_vn-86686765.inet.0 2025-11-19 18:18:36,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:18:36,017 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.200.86.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:18:36,017 - DEBUG - ping -s 56 -c 3 -W 1 61.200.86.67 2025-11-19 18:18:39,744 - DEBUG - PING 61.200.86.67 (61.200.86.67): 56 data bytes 64 bytes from 61.200.86.67: seq=0 ttl=63 time=4.320 ms 64 bytes from 61.200.86.67: seq=1 ttl=63 time=0.923 ms 64 bytes from 61.200.86.67: seq=2 ttl=63 time=0.824 ms --- 61.200.86.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/2.022/4.320 ms 2025-11-19 18:18:39,744 - INFO - Ping to IP 61.200.86.67 from VM test_vm passed 2025-11-19 18:18:39,795 - INFO - Deleting VM test2_vm 2025-11-19 18:18:39,964 - INFO - Deleting VM test_vm 2025-11-19 18:18:40,036 - INFO - Deleting VN ctest-bgpaas_vn-41809767 2025-11-19 18:18:40,074 - DEBUG - VN 11cccac6-2313-4534-a480-0425aaaa466d still in use: Unable to complete operation on network 11cccac6-2313-4534-a480-0425aaaa466d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a826873c-37e7-4cdc-a7ca-f13e7c03b5a3'] 2025-11-19 18:18:40,074 - WARNING - Deleting VN ctest-bgpaas_vn-41809767 failed..Will retry 2025-11-19 18:18:42,169 - DEBUG - Response for deleting network () 2025-11-19 18:18:42,169 - INFO - Deleting VN ctest-bgpaas_vn-86686765 2025-11-19 18:18:42,271 - DEBUG - Response for deleting network () 2025-11-19 18:18:42,530 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 18:18:42,530 - INFO - END TEST : test_rp_interface : PASSED[0:00:29]
2025-11-19 18:18:42,531 - INFO - -------------------------------------------------------------------------------- 2025-11-19 18:18:43,234 - INFO - Deleted project: ctest-TestRP-58162017, ID : 4c229e87-ba64-46ef-bea6-e3d1e38f7a47