2025-10-22 14:09:21,991 - INFO - Domain Default found not creating 2025-10-22 14:09:22,254 - INFO - Project ctest-TestRP-02315335 not found, creating it 2025-10-22 14:09:22,966 - INFO - Created Project:ctest-TestRP-02315335, ID : 4e1f8b9e-d06e-4c7e-be5a-95f413cab8d8 2025-10-22 14:09:24,924 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:09:24,924 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4429-1']} 2025-10-22 14:09:24,927 - INFO - ================================================================================ 2025-10-22 14:09:24,927 - INFO - STARTING TEST : test_rp_interface 2025-10-22 14:09:24,927 - 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-22 14:09:25,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-10-22 14:09:25,213 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:09:25,213 - INFO - 2025-10-22 14:09:25,992 - DEBUG - Response for create_network : {'network': {'id': '44ba65b9-e9cf-4202-a7a6-8ebc1b283d53', 'name': 'ctest-bgpaas_vn-03896494', 'tenant_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8', 'project_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-02315335', 'ctest-bgpaas_vn-03896494'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:09:26,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9afaca2-e4ca-4a14-92ca-8b93c54f26a4', 'name': '', 'tenant_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8', 'network_id': '44ba65b9-e9cf-4202-a7a6-8ebc1b283d53', 'ip_version': 4, 'cidr': '120.151.171.64/26', 'allocation_pools': [{'start': '120.151.171.66', 'end': '120.151.171.126'}], 'gateway_ip': '120.151.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.151.171.66', 'tags': [], 'project_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8'}} 2025-10-22 14:09:26,194 - INFO - Created VN ctest-bgpaas_vn-03896494 2025-10-22 14:09:26,253 - DEBUG - VN ctest-bgpaas_vn-03896494 UUID is 44ba65b9-e9cf-4202-a7a6-8ebc1b283d53 2025-10-22 14:09:26,863 - DEBUG - Response for create_network : {'network': {'id': '7f66af83-a5f1-4dd2-b11b-0a65c53c085f', 'name': 'ctest-bgpaas_vn-78646140', 'tenant_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8', 'project_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-02315335', 'ctest-bgpaas_vn-78646140'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:09:27,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6c6ffdc-237e-48e3-8cf0-3384935ed67e', 'name': '', 'tenant_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8', 'network_id': '7f66af83-a5f1-4dd2-b11b-0a65c53c085f', 'ip_version': 4, 'cidr': '112.166.9.192/26', 'allocation_pools': [{'start': '112.166.9.194', 'end': '112.166.9.254'}], 'gateway_ip': '112.166.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.166.9.194', 'tags': [], 'project_id': '4e1f8b9ed06e4c7ebe5a95f413cab8d8'}} 2025-10-22 14:09:27,095 - INFO - Created VN ctest-bgpaas_vn-78646140 2025-10-22 14:09:27,152 - DEBUG - VN ctest-bgpaas_vn-78646140 UUID is 7f66af83-a5f1-4dd2-b11b-0a65c53c085f 2025-10-22 14:09:28,841 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1) 2025-10-22 14:09:30,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4429-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4429-1) 2025-10-22 14:09:30,193 - INFO - Waiting for VM test_vm to be up.. 2025-10-22 14:09:30,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:09:35,426 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:09:35,426 - INFO - VM name : test_vm 2025-10-22 14:09:35,526 - DEBUG - VM test_vm ID is f72a1339-79d9-4a79-b56c-8668cd16454e 2025-10-22 14:09:35,551 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1 2025-10-22 14:09:35,654 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f72a1339-79d9-4a79-b56c-8668cd16454e 2025-10-22 14:09:35,986 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f72a1339-79d9-4a79-b56c-8668cd16454e 2025-10-22 14:09:36,036 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/371ebeeb-2926-4f27-aa88-a24bc9ab2829 2025-10-22 14:09:39,313 - 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 1005ms') 2025-10-22 14:09:39,314 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-22 14:09:39,381 - DEBUG - Gateway for vn default-domain:ctest-TestRP-02315335:ctest-bgpaas_vn-03896494 is 120.151.171.65 and allocation pool is NOT set 2025-10-22 14:09:41,455 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.15 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 = 4.154/4.634/5.115/0.480 ms') 2025-10-22 14:09:41,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-22 14:09:41,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:41,632 - DEBUG - Waiting to SSH to VM test_vm, IP 120.151.171.67, Port 22 2025-10-22 14:09:41,714 - 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-10-22 14:09:41,908 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 14:09:46,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:46,909 - DEBUG - Waiting to SSH to VM test_vm, IP 120.151.171.67, Port 22 2025-10-22 14:09:47,104 - DEBUG - VM test_vm is ready for SSH connections 2025-10-22 14:09:47,105 - INFO - Waiting for VM test2_vm to be up.. 2025-10-22 14:09:47,281 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:09:47,281 - INFO - VM name : test2_vm 2025-10-22 14:09:47,451 - DEBUG - VM test2_vm ID is cde1e381-5b3b-48d1-a4a8-43c231e29cf5 2025-10-22 14:09:47,451 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4429-1 2025-10-22 14:09:47,589 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/cde1e381-5b3b-48d1-a4a8-43c231e29cf5 2025-10-22 14:09:47,606 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6a3ff72d-70aa-4ea5-9830-40c29e2022e0 2025-10-22 14:09:48,913 - 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=11.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.678 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.678/5.903/11.129/5.225 ms') 2025-10-22 14:09:48,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-22 14:09:49,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:49,080 - DEBUG - Waiting to SSH to VM test2_vm, IP 112.166.9.195, Port 22 2025-10-22 14:09:49,259 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-22 14:09:49,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:49,461 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-02315335:ctest-bgpaas_vn-03896494:ctest-bgpaas_vn-03896494.inet.0 2025-10-22 14:09:49,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:09:49,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.166.9.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-22 14:09:49,479 - DEBUG - ping -s 56 -c 3 -W 1 112.166.9.195 2025-10-22 14:09:53,391 - DEBUG - PING 112.166.9.195 (112.166.9.195): 56 data bytes 64 bytes from 112.166.9.195: seq=0 ttl=63 time=3.892 ms 64 bytes from 112.166.9.195: seq=1 ttl=63 time=1.527 ms 64 bytes from 112.166.9.195: seq=2 ttl=63 time=1.847 ms --- 112.166.9.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.527/2.422/3.892 ms 2025-10-22 14:09:53,391 - INFO - Ping to IP 112.166.9.195 from VM test_vm passed 2025-10-22 14:09:53,521 - INFO - Deleting VM test2_vm 2025-10-22 14:09:53,732 - INFO - Deleting VM test_vm 2025-10-22 14:09:53,865 - INFO - Deleting VN ctest-bgpaas_vn-78646140 2025-10-22 14:09:53,925 - DEBUG - VN 7f66af83-a5f1-4dd2-b11b-0a65c53c085f still in use: Unable to complete operation on network 7f66af83-a5f1-4dd2-b11b-0a65c53c085f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4ed8a9d8-aeec-4364-aa21-a8c1515b4b5c'] 2025-10-22 14:09:53,925 - WARNING - Deleting VN ctest-bgpaas_vn-78646140 failed..Will retry 2025-10-22 14:09:56,152 - DEBUG - Response for deleting network () 2025-10-22 14:09:56,152 - INFO - Deleting VN ctest-bgpaas_vn-03896494 2025-10-22 14:09:56,291 - DEBUG - Response for deleting network () 2025-10-22 14:09:56,570 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 14:09:56,570 - INFO - END TEST : test_rp_interface : PASSED[0:00:32] 2025-10-22 14:09:56,570 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:09:57,401 - INFO - Deleted project: ctest-TestRP-02315335, ID : 4e1f8b9e-d06e-4c7e-be5a-95f413cab8d8