2025-10-29 14:42:57,538 - INFO - Domain Default found not creating 2025-10-29 14:42:57,695 - INFO - Project ctest-TestRP-48876929 not found, creating it 2025-10-29 14:42:58,148 - INFO - Created Project:ctest-TestRP-48876929, ID : 3a8608e1-5542-4f81-8243-a1328356bf9a 2025-10-29 14:42:59,689 - DEBUG - Services list from nova: [, , ] 2025-10-29 14:42:59,689 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4522-1']} 2025-10-29 14:42:59,691 - INFO - ================================================================================ 2025-10-29 14:42:59,691 - INFO - STARTING TEST : test_rp_interface 2025-10-29 14:42:59,691 - 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-29 14:42:59,948 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2025-10-29 14:42:59,948 - INFO - Initial checks done. Running the testcase now 2025-10-29 14:42:59,948 - INFO - 2025-10-29 14:43:00,532 - DEBUG - Response for create_network : {'network': {'id': '3b1f1692-a670-4eef-85c9-bf93900f79ac', 'name': 'ctest-bgpaas_vn-13800981', 'tenant_id': '3a8608e155424f818243a1328356bf9a', 'project_id': '3a8608e155424f818243a1328356bf9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-48876929', 'ctest-bgpaas_vn-13800981'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 14:43:00,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '1acad5ec-7aa9-4ae3-9ceb-df91d759fe90', 'name': '', 'tenant_id': '3a8608e155424f818243a1328356bf9a', 'network_id': '3b1f1692-a670-4eef-85c9-bf93900f79ac', 'ip_version': 4, 'cidr': '120.142.124.64/26', 'allocation_pools': [{'start': '120.142.124.66', 'end': '120.142.124.126'}], 'gateway_ip': '120.142.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.142.124.66', 'tags': [], 'project_id': '3a8608e155424f818243a1328356bf9a'}} 2025-10-29 14:43:00,751 - INFO - Created VN ctest-bgpaas_vn-13800981 2025-10-29 14:43:00,802 - DEBUG - VN ctest-bgpaas_vn-13800981 UUID is 3b1f1692-a670-4eef-85c9-bf93900f79ac 2025-10-29 14:43:01,296 - DEBUG - Response for create_network : {'network': {'id': 'aeb8f676-6acf-4af6-8cbd-668b16a4391e', 'name': 'ctest-bgpaas_vn-15471856', 'tenant_id': '3a8608e155424f818243a1328356bf9a', 'project_id': '3a8608e155424f818243a1328356bf9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-48876929', 'ctest-bgpaas_vn-15471856'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 14:43:01,453 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b74591bd-9add-4bc6-a9e1-8cbc18ace85b', 'name': '', 'tenant_id': '3a8608e155424f818243a1328356bf9a', 'network_id': 'aeb8f676-6acf-4af6-8cbd-668b16a4391e', 'ip_version': 4, 'cidr': '1.89.79.0/26', 'allocation_pools': [{'start': '1.89.79.2', 'end': '1.89.79.62'}], 'gateway_ip': '1.89.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.89.79.2', 'tags': [], 'project_id': '3a8608e155424f818243a1328356bf9a'}} 2025-10-29 14:43:01,473 - INFO - Created VN ctest-bgpaas_vn-15471856 2025-10-29 14:43:01,526 - DEBUG - VN ctest-bgpaas_vn-15471856 UUID is aeb8f676-6acf-4af6-8cbd-668b16a4391e 2025-10-29 14:43:02,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1) 2025-10-29 14:43:04,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1) 2025-10-29 14:43:04,241 - INFO - Waiting for VM test_vm to be up.. 2025-10-29 14:43:04,319 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 14:43:09,412 - DEBUG - VM is in ACTIVE state now 2025-10-29 14:43:09,412 - INFO - VM name : test_vm 2025-10-29 14:43:09,494 - DEBUG - VM test_vm ID is 762d6123-db1f-4de8-8855-a01ce043788e 2025-10-29 14:43:09,521 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1 2025-10-29 14:43:09,611 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/762d6123-db1f-4de8-8855-a01ce043788e 2025-10-29 14:43:09,950 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/762d6123-db1f-4de8-8855-a01ce043788e 2025-10-29 14:43:09,982 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c072f7a9-64c9-4957-a397-bc1f0cc925a7 2025-10-29 14:43:13,226 - 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 1003ms') 2025-10-29 14:43:13,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-29 14:43:13,278 - DEBUG - Gateway for vn default-domain:ctest-TestRP-48876929:ctest-bgpaas_vn-13800981 is 120.142.124.65 and allocation pool is NOT set 2025-10-29 14:43:15,340 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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.232/4.010/5.789/1.778 ms') 2025-10-29 14:43:15,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-29 14:43:15,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:43:15,490 - DEBUG - Waiting to SSH to VM test_vm, IP 120.142.124.67, Port 22 2025-10-29 14:43:15,560 - 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-29 14:43:15,636 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 14:43:20,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:43:20,636 - DEBUG - Waiting to SSH to VM test_vm, IP 120.142.124.67, Port 22 2025-10-29 14:43:20,794 - DEBUG - VM test_vm is ready for SSH connections 2025-10-29 14:43:20,794 - INFO - Waiting for VM test2_vm to be up.. 2025-10-29 14:43:20,875 - DEBUG - VM is in ACTIVE state now 2025-10-29 14:43:20,875 - INFO - VM name : test2_vm 2025-10-29 14:43:21,052 - DEBUG - VM test2_vm ID is 89f322dd-777a-4657-8668-c14a2b74dc62 2025-10-29 14:43:21,052 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1 2025-10-29 14:43:21,129 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/89f322dd-777a-4657-8668-c14a2b74dc62 2025-10-29 14:43:21,138 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5217046c-0cd1-426d-b2e4-cda30dd689cf 2025-10-29 14:43:22,376 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/1.810/3.185/1.375 ms') 2025-10-29 14:43:22,376 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-29 14:43:22,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:43:22,526 - DEBUG - Waiting to SSH to VM test2_vm, IP 1.89.79.3, Port 22 2025-10-29 14:43:22,686 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-29 14:43:22,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:43:22,836 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-48876929:ctest-bgpaas_vn-13800981:ctest-bgpaas_vn-13800981.inet.0 2025-10-29 14:43:23,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:43:23,852 - DEBUG - Requesting: http://10.20.0.129:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-48876929:ctest-bgpaas_vn-13800981:ctest-bgpaas_vn-13800981.inet.0 2025-10-29 14:43:23,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 14:43:23,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.89.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-29 14:43:23,862 - DEBUG - ping -s 56 -c 3 -W 1 1.89.79.3 2025-10-29 14:43:27,585 - DEBUG - PING 1.89.79.3 (1.89.79.3): 56 data bytes 64 bytes from 1.89.79.3: seq=0 ttl=63 time=4.515 ms 64 bytes from 1.89.79.3: seq=1 ttl=63 time=0.828 ms 64 bytes from 1.89.79.3: seq=2 ttl=63 time=0.780 ms --- 1.89.79.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/2.041/4.515 ms 2025-10-29 14:43:27,585 - INFO - Ping to IP 1.89.79.3 from VM test_vm passed 2025-10-29 14:43:27,648 - INFO - Deleting VM test2_vm 2025-10-29 14:43:27,725 - INFO - Deleting VM test_vm 2025-10-29 14:43:27,801 - INFO - Deleting VN ctest-bgpaas_vn-15471856 2025-10-29 14:43:27,848 - DEBUG - VN aeb8f676-6acf-4af6-8cbd-668b16a4391e still in use: Unable to complete operation on network aeb8f676-6acf-4af6-8cbd-668b16a4391e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-10150252-5ccb-465a-8915-65d7f060c95c'] 2025-10-29 14:43:27,849 - WARNING - Deleting VN ctest-bgpaas_vn-15471856 failed..Will retry 2025-10-29 14:43:29,965 - DEBUG - Response for deleting network () 2025-10-29 14:43:29,966 - INFO - Deleting VN ctest-bgpaas_vn-13800981 2025-10-29 14:43:30,070 - DEBUG - Response for deleting network () 2025-10-29 14:43:30,327 - DEBUG - No XMPP flaps were noticed during the test 2025-10-29 14:43:30,327 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-10-29 14:43:30,328 - INFO - -------------------------------------------------------------------------------- 2025-10-29 14:43:31,099 - INFO - Deleted project: ctest-TestRP-48876929, ID : 3a8608e1-5542-4f81-8243-a1328356bf9a