2025-09-11 12:08:23,851 - INFO - Domain Default found not creating 2025-09-11 12:08:24,346 - INFO - Project ctest-TestRP-75607907 not found, creating it 2025-09-11 12:08:25,181 - INFO - Created Project:ctest-TestRP-75607907, ID : c56df9db-f897-4fc1-a2b2-970baf5a924c 2025-09-11 12:08:26,799 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:08:26,799 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4090-1']} 2025-09-11 12:08:26,801 - INFO - ================================================================================ 2025-09-11 12:08:26,801 - INFO - STARTING TEST : test_rp_interface 2025-09-11 12:08:26,801 - 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-09-11 12:08:27,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 12:08:27,056 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:08:27,056 - INFO - 2025-09-11 12:08:27,677 - DEBUG - Response for create_network : {'network': {'id': '7da4596b-b3ee-4aad-b581-8fe218adf852', 'name': 'ctest-bgpaas_vn-42038989', 'tenant_id': 'c56df9dbf8974fc1a2b2970baf5a924c', 'project_id': 'c56df9dbf8974fc1a2b2970baf5a924c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-75607907', 'ctest-bgpaas_vn-42038989'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:08:27,848 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c4972b9-6aa5-441c-a235-2f7eb6399581', 'name': '', 'tenant_id': 'c56df9dbf8974fc1a2b2970baf5a924c', 'network_id': '7da4596b-b3ee-4aad-b581-8fe218adf852', 'ip_version': 4, 'cidr': '23.22.254.192/26', 'allocation_pools': [{'start': '23.22.254.194', 'end': '23.22.254.254'}], 'gateway_ip': '23.22.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.22.254.194', 'tags': [], 'project_id': 'c56df9dbf8974fc1a2b2970baf5a924c'}} 2025-09-11 12:08:27,873 - INFO - Created VN ctest-bgpaas_vn-42038989 2025-09-11 12:08:27,925 - DEBUG - VN ctest-bgpaas_vn-42038989 UUID is 7da4596b-b3ee-4aad-b581-8fe218adf852 2025-09-11 12:08:28,393 - DEBUG - Response for create_network : {'network': {'id': '4be0a098-f51b-440a-b81b-f1890dce25be', 'name': 'ctest-bgpaas_vn-49746794', 'tenant_id': 'c56df9dbf8974fc1a2b2970baf5a924c', 'project_id': 'c56df9dbf8974fc1a2b2970baf5a924c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-75607907', 'ctest-bgpaas_vn-49746794'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:08:28,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7a95b89-1579-45c0-8ba4-c255ad76a921', 'name': '', 'tenant_id': 'c56df9dbf8974fc1a2b2970baf5a924c', 'network_id': '4be0a098-f51b-440a-b81b-f1890dce25be', 'ip_version': 4, 'cidr': '192.119.237.128/26', 'allocation_pools': [{'start': '192.119.237.130', 'end': '192.119.237.190'}], 'gateway_ip': '192.119.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.119.237.130', 'tags': [], 'project_id': 'c56df9dbf8974fc1a2b2970baf5a924c'}} 2025-09-11 12:08:28,648 - INFO - Created VN ctest-bgpaas_vn-49746794 2025-09-11 12:08:28,701 - DEBUG - VN ctest-bgpaas_vn-49746794 UUID is 4be0a098-f51b-440a-b81b-f1890dce25be 2025-09-11 12:08:30,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:08:31,395 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:08:31,396 - INFO - Waiting for VM test_vm to be up.. 2025-09-11 12:08:31,482 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:08:36,562 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:08:36,563 - INFO - VM name : test_vm 2025-09-11 12:08:36,640 - DEBUG - VM test_vm ID is 4b4a6939-b796-4e05-91af-0f85afa494c0 2025-09-11 12:08:36,661 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:08:36,742 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4b4a6939-b796-4e05-91af-0f85afa494c0 2025-09-11 12:08:37,075 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4b4a6939-b796-4e05-91af-0f85afa494c0 2025-09-11 12:08:37,106 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ddefa1e7-ff37-4605-beaa-f5051bdadd92 2025-09-11 12:08:40,349 - 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-09-11 12:08:40,349 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-11 12:08:40,405 - DEBUG - Gateway for vn default-domain:ctest-TestRP-75607907:ctest-bgpaas_vn-42038989 is 23.22.254.193 and allocation pool is NOT set 2025-09-11 12:08:42,469 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 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 = 2.128/3.922/5.716/1.794 ms') 2025-09-11 12:08:42,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-11 12:08:42,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:42,618 - DEBUG - Waiting to SSH to VM test_vm, IP 23.22.254.195, Port 22 2025-09-11 12:08:42,684 - 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-09-11 12:08:42,771 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 12:08:47,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:47,771 - DEBUG - Waiting to SSH to VM test_vm, IP 23.22.254.195, Port 22 2025-09-11 12:08:47,933 - DEBUG - VM test_vm is ready for SSH connections 2025-09-11 12:08:47,933 - INFO - Waiting for VM test2_vm to be up.. 2025-09-11 12:08:48,009 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:08:48,009 - INFO - VM name : test2_vm 2025-09-11 12:08:48,084 - DEBUG - VM test2_vm ID is 5110f105-38aa-4995-9039-9f0cdf99e95b 2025-09-11 12:08:48,084 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:08:48,159 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5110f105-38aa-4995-9039-9f0cdf99e95b 2025-09-11 12:08:48,167 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fffa59a0-7cac-4ecc-9d33-f5c71d87244a 2025-09-11 12:08:49,410 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.825/3.148/1.323 ms') 2025-09-11 12:08:49,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-11 12:08:49,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:49,566 - DEBUG - Waiting to SSH to VM test2_vm, IP 192.119.237.131, Port 22 2025-09-11 12:08:49,721 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-11 12:08:49,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:49,871 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-75607907:ctest-bgpaas_vn-42038989:ctest-bgpaas_vn-42038989.inet.0 2025-09-11 12:08:50,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:50,889 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-75607907:ctest-bgpaas_vn-42038989:ctest-bgpaas_vn-42038989.inet.0 2025-09-11 12:08:50,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:50,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.119.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:08:50,899 - DEBUG - ping -s 56 -c 3 -W 1 192.119.237.131 2025-09-11 12:08:54,644 - DEBUG - PING 192.119.237.131 (192.119.237.131): 56 data bytes 64 bytes from 192.119.237.131: seq=0 ttl=63 time=3.878 ms 64 bytes from 192.119.237.131: seq=1 ttl=63 time=1.122 ms 64 bytes from 192.119.237.131: seq=2 ttl=63 time=0.935 ms --- 192.119.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/1.978/3.878 ms 2025-09-11 12:08:54,644 - INFO - Ping to IP 192.119.237.131 from VM test_vm passed 2025-09-11 12:08:54,731 - INFO - Deleting VM test2_vm 2025-09-11 12:08:54,821 - INFO - Deleting VM test_vm 2025-09-11 12:08:54,901 - INFO - Deleting VN ctest-bgpaas_vn-49746794 2025-09-11 12:08:54,943 - DEBUG - VN 4be0a098-f51b-440a-b81b-f1890dce25be still in use: Unable to complete operation on network 4be0a098-f51b-440a-b81b-f1890dce25be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad211b38-4993-4718-98ef-07b1695643c8'] 2025-09-11 12:08:54,943 - WARNING - Deleting VN ctest-bgpaas_vn-49746794 failed..Will retry 2025-09-11 12:08:57,062 - DEBUG - Response for deleting network () 2025-09-11 12:08:57,062 - INFO - Deleting VN ctest-bgpaas_vn-42038989 2025-09-11 12:08:57,190 - DEBUG - Response for deleting network () 2025-09-11 12:08:57,444 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 12:08:57,444 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-09-11 12:08:57,444 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:08:58,167 - INFO - Deleted project: ctest-TestRP-75607907, ID : c56df9db-f897-4fc1-a2b2-970baf5a924c