2025-08-04 10:07:09,900 - INFO - Domain Default found not creating 2025-08-04 10:07:10,102 - INFO - Project ctest-TestRP-37221535 not found, creating it 2025-08-04 10:07:10,634 - INFO - Created Project:ctest-TestRP-37221535, ID : 6826cf50-2f6a-4f28-8513-0fb853c69a26 2025-08-04 10:07:12,432 - DEBUG - Services list from nova: [, , ] 2025-08-04 10:07:12,432 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3752-1']} 2025-08-04 10:07:12,435 - INFO - ================================================================================ 2025-08-04 10:07:12,435 - INFO - STARTING TEST : test_rp_interface 2025-08-04 10:07:12,436 - 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-08-04 10:07:12,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-04 10:07:12,701 - INFO - Initial checks done. Running the testcase now 2025-08-04 10:07:12,701 - INFO - 2025-08-04 10:07:13,336 - DEBUG - Response for create_network : {'network': {'id': 'bfd83e09-6a63-4b86-ae8e-92d158d13063', 'name': 'ctest-bgpaas_vn-06303912', 'tenant_id': '6826cf502f6a4f2885130fb853c69a26', 'project_id': '6826cf502f6a4f2885130fb853c69a26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37221535', 'ctest-bgpaas_vn-06303912'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:07:13,483 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd88902bb-581c-4950-b340-af2d0ed8fea0', 'name': '', 'tenant_id': '6826cf502f6a4f2885130fb853c69a26', 'network_id': 'bfd83e09-6a63-4b86-ae8e-92d158d13063', 'ip_version': 4, 'cidr': '96.187.197.128/26', 'allocation_pools': [{'start': '96.187.197.130', 'end': '96.187.197.190'}], 'gateway_ip': '96.187.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.187.197.130', 'tags': [], 'project_id': '6826cf502f6a4f2885130fb853c69a26'}} 2025-08-04 10:07:13,503 - INFO - Created VN ctest-bgpaas_vn-06303912 2025-08-04 10:07:13,557 - DEBUG - VN ctest-bgpaas_vn-06303912 UUID is bfd83e09-6a63-4b86-ae8e-92d158d13063 2025-08-04 10:07:14,059 - DEBUG - Response for create_network : {'network': {'id': '8f808c18-cc88-48e0-abd5-80ace6b14bc3', 'name': 'ctest-bgpaas_vn-78440563', 'tenant_id': '6826cf502f6a4f2885130fb853c69a26', 'project_id': '6826cf502f6a4f2885130fb853c69a26', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37221535', 'ctest-bgpaas_vn-78440563'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 10:07:14,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '06a68c1b-33d6-4901-9802-7176672b4f98', 'name': '', 'tenant_id': '6826cf502f6a4f2885130fb853c69a26', 'network_id': '8f808c18-cc88-48e0-abd5-80ace6b14bc3', 'ip_version': 4, 'cidr': '25.203.199.128/26', 'allocation_pools': [{'start': '25.203.199.130', 'end': '25.203.199.190'}], 'gateway_ip': '25.203.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.203.199.130', 'tags': [], 'project_id': '6826cf502f6a4f2885130fb853c69a26'}} 2025-08-04 10:07:14,277 - INFO - Created VN ctest-bgpaas_vn-78440563 2025-08-04 10:07:14,337 - DEBUG - VN ctest-bgpaas_vn-78440563 UUID is 8f808c18-cc88-48e0-abd5-80ace6b14bc3 2025-08-04 10:07:15,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1) 2025-08-04 10:07:17,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3752-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3752-1) 2025-08-04 10:07:17,169 - INFO - Waiting for VM test_vm to be up.. 2025-08-04 10:07:17,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 10:07:22,371 - DEBUG - VM is in ACTIVE state now 2025-08-04 10:07:22,371 - INFO - VM name : test_vm 2025-08-04 10:07:22,487 - DEBUG - VM test_vm ID is 36b16968-c419-4a80-a8a9-38039b150a66 2025-08-04 10:07:22,511 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1 2025-08-04 10:07:22,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/36b16968-c419-4a80-a8a9-38039b150a66 2025-08-04 10:07:22,903 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/36b16968-c419-4a80-a8a9-38039b150a66 2025-08-04 10:07:22,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9cb8f700-a331-45d3-adce-02bb51d3fdf8 2025-08-04 10:07:26,231 - 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 1029ms') 2025-08-04 10:07:26,231 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-04 10:07:26,292 - DEBUG - Gateway for vn default-domain:ctest-TestRP-37221535:ctest-bgpaas_vn-06303912 is 96.187.197.129 and allocation pool is NOT set 2025-08-04 10:07:28,357 - 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=4.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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.655/3.822/4.990/1.167 ms') 2025-08-04 10:07:28,357 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-04 10:07:28,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:07:28,513 - DEBUG - Waiting to SSH to VM test_vm, IP 96.187.197.131, Port 22 2025-08-04 10:07:28,579 - 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-08-04 10:07:28,666 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 10:07:33,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:07:33,667 - DEBUG - Waiting to SSH to VM test_vm, IP 96.187.197.131, Port 22 2025-08-04 10:07:33,838 - DEBUG - VM test_vm is ready for SSH connections 2025-08-04 10:07:33,839 - INFO - Waiting for VM test2_vm to be up.. 2025-08-04 10:07:33,932 - DEBUG - VM is in ACTIVE state now 2025-08-04 10:07:33,932 - INFO - VM name : test2_vm 2025-08-04 10:07:34,018 - DEBUG - VM test2_vm ID is b9203e8a-9627-487c-b443-cf90c707bdde 2025-08-04 10:07:34,018 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3752-1 2025-08-04 10:07:34,108 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b9203e8a-9627-487c-b443-cf90c707bdde 2025-08-04 10:07:34,132 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/871656a3-f33d-47d2-9597-afb2a9576b87 2025-08-04 10:07:35,382 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 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.487/1.923/3.359/1.436 ms') 2025-08-04 10:07:35,382 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-04 10:07:35,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:07:35,541 - DEBUG - Waiting to SSH to VM test2_vm, IP 25.203.199.131, Port 22 2025-08-04 10:07:35,707 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-04 10:07:35,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:07:35,867 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-37221535:ctest-bgpaas_vn-06303912:ctest-bgpaas_vn-06303912.inet.0 2025-08-04 10:07:36,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:07:36,886 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-37221535:ctest-bgpaas_vn-06303912:ctest-bgpaas_vn-06303912.inet.0 2025-08-04 10:07:36,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 10:07:36,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.203.199.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 10:07:36,899 - DEBUG - ping -s 56 -c 3 -W 1 25.203.199.131 2025-08-04 10:07:40,605 - DEBUG - PING 25.203.199.131 (25.203.199.131): 56 data bytes 64 bytes from 25.203.199.131: seq=0 ttl=63 time=4.316 ms 64 bytes from 25.203.199.131: seq=1 ttl=63 time=1.195 ms 64 bytes from 25.203.199.131: seq=2 ttl=63 time=2.024 ms --- 25.203.199.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.195/2.511/4.316 ms 2025-08-04 10:07:40,605 - INFO - Ping to IP 25.203.199.131 from VM test_vm passed 2025-08-04 10:07:40,674 - INFO - Deleting VM test2_vm 2025-08-04 10:07:40,749 - INFO - Deleting VM test_vm 2025-08-04 10:07:40,820 - INFO - Deleting VN ctest-bgpaas_vn-78440563 2025-08-04 10:07:40,863 - DEBUG - VN 8f808c18-cc88-48e0-abd5-80ace6b14bc3 still in use: Unable to complete operation on network 8f808c18-cc88-48e0-abd5-80ace6b14bc3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a8cdc4f-08ea-44de-88b5-a0f0d37aa644'] 2025-08-04 10:07:40,863 - WARNING - Deleting VN ctest-bgpaas_vn-78440563 failed..Will retry 2025-08-04 10:07:43,007 - DEBUG - Response for deleting network () 2025-08-04 10:07:43,007 - INFO - Deleting VN ctest-bgpaas_vn-06303912 2025-08-04 10:07:43,200 - DEBUG - Response for deleting network () 2025-08-04 10:07:43,472 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 10:07:43,473 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-08-04 10:07:43,473 - INFO - -------------------------------------------------------------------------------- 2025-08-04 10:07:44,179 - INFO - Deleted project: ctest-TestRP-37221535, ID : 6826cf50-2f6a-4f28-8513-0fb853c69a26