2025-11-21 18:35:47,507 - INFO - Domain Default found not creating 2025-11-21 18:35:47,695 - INFO - Project ctest-TestRP-69353888 not found, creating it 2025-11-21 18:35:48,193 - INFO - Created Project:ctest-TestRP-69353888, ID : 5622c4a6-30c2-428e-ba31-17c3412dc61f 2025-11-21 18:35:49,800 - DEBUG - Services list from nova: [, , ] 2025-11-21 18:35:49,800 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4793-1']} 2025-11-21 18:35:49,802 - INFO - ================================================================================ 2025-11-21 18:35:49,803 - INFO - STARTING TEST : test_rp_interface 2025-11-21 18:35:49,803 - 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-21 18:35:50,069 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-21 18:35:50,069 - INFO - Initial checks done. Running the testcase now 2025-11-21 18:35:50,069 - INFO - 2025-11-21 18:35:50,639 - DEBUG - Response for create_network : {'network': {'id': '3c9fa156-e8bc-4bbd-bc68-fe496d1b4874', 'name': 'ctest-bgpaas_vn-36040312', 'tenant_id': '5622c4a630c2428eba3117c3412dc61f', 'project_id': '5622c4a630c2428eba3117c3412dc61f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-69353888', 'ctest-bgpaas_vn-36040312'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:35:50,813 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae515bd9-176b-4301-9dc6-9b1e01dd23fe', 'name': '', 'tenant_id': '5622c4a630c2428eba3117c3412dc61f', 'network_id': '3c9fa156-e8bc-4bbd-bc68-fe496d1b4874', 'ip_version': 4, 'cidr': '117.231.9.192/26', 'allocation_pools': [{'start': '117.231.9.194', 'end': '117.231.9.254'}], 'gateway_ip': '117.231.9.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.231.9.194', 'tags': [], 'project_id': '5622c4a630c2428eba3117c3412dc61f'}} 2025-11-21 18:35:50,832 - INFO - Created VN ctest-bgpaas_vn-36040312 2025-11-21 18:35:50,885 - DEBUG - VN ctest-bgpaas_vn-36040312 UUID is 3c9fa156-e8bc-4bbd-bc68-fe496d1b4874 2025-11-21 18:35:51,348 - DEBUG - Response for create_network : {'network': {'id': 'c5fbc8b3-b3a6-4d3b-9ae6-4e111e8fa0f7', 'name': 'ctest-bgpaas_vn-56846796', 'tenant_id': '5622c4a630c2428eba3117c3412dc61f', 'project_id': '5622c4a630c2428eba3117c3412dc61f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-69353888', 'ctest-bgpaas_vn-56846796'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:35:51,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cf3c0c5-e78a-46c1-9ca7-05423032205d', 'name': '', 'tenant_id': '5622c4a630c2428eba3117c3412dc61f', 'network_id': 'c5fbc8b3-b3a6-4d3b-9ae6-4e111e8fa0f7', 'ip_version': 4, 'cidr': '170.48.85.192/26', 'allocation_pools': [{'start': '170.48.85.194', 'end': '170.48.85.254'}], 'gateway_ip': '170.48.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.48.85.194', 'tags': [], 'project_id': '5622c4a630c2428eba3117c3412dc61f'}} 2025-11-21 18:35:51,531 - INFO - Created VN ctest-bgpaas_vn-56846796 2025-11-21 18:35:51,584 - DEBUG - VN ctest-bgpaas_vn-56846796 UUID is c5fbc8b3-b3a6-4d3b-9ae6-4e111e8fa0f7 2025-11-21 18:35:53,006 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:35:54,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:35:54,256 - INFO - Waiting for VM test_vm to be up.. 2025-11-21 18:35:54,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 18:35:59,413 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:35:59,413 - INFO - VM name : test_vm 2025-11-21 18:35:59,492 - DEBUG - VM test_vm ID is 9b673f50-3474-4ee6-9706-0576adee260f 2025-11-21 18:35:59,521 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:35:59,613 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9b673f50-3474-4ee6-9706-0576adee260f 2025-11-21 18:35:59,918 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9b673f50-3474-4ee6-9706-0576adee260f 2025-11-21 18:35:59,956 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/eb2f176b-116c-4636-947f-a19c8290b1d0 2025-11-21 18:36:03,222 - 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 1015ms') 2025-11-21 18:36:03,222 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-21 18:36:03,280 - DEBUG - Gateway for vn default-domain:ctest-TestRP-69353888:ctest-bgpaas_vn-36040312 is 117.231.9.193 and allocation pool is NOT set 2025-11-21 18:36:05,345 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.11 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 = 1.110/3.484/5.859/2.374 ms') 2025-11-21 18:36:05,345 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-21 18:36:05,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:36:05,496 - DEBUG - Waiting to SSH to VM test_vm, IP 117.231.9.195, Port 22 2025-11-21 18:36:05,656 - DEBUG - VM test_vm is ready for SSH connections 2025-11-21 18:36:05,656 - INFO - Waiting for VM test2_vm to be up.. 2025-11-21 18:36:05,736 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:36:05,736 - INFO - VM name : test2_vm 2025-11-21 18:36:05,816 - DEBUG - VM test2_vm ID is e5225c5a-7c22-420a-9f68-37ed7a93b3ef 2025-11-21 18:36:05,816 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:36:05,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e5225c5a-7c22-420a-9f68-37ed7a93b3ef 2025-11-21 18:36:05,907 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/508fa7f3-a2e0-4d8d-bb42-8d03159dd439 2025-11-21 18:36:07,151 - 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=4.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.23 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.227/3.221/4.216/0.994 ms') 2025-11-21 18:36:07,152 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-21 18:36:07,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:36:07,305 - DEBUG - Waiting to SSH to VM test2_vm, IP 170.48.85.195, Port 22 2025-11-21 18:36:07,370 - 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-21 18:36:07,462 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 18:36:12,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:36:12,463 - DEBUG - Waiting to SSH to VM test2_vm, IP 170.48.85.195, Port 22 2025-11-21 18:36:12,630 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-21 18:36:12,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:36:12,800 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-69353888:ctest-bgpaas_vn-36040312:ctest-bgpaas_vn-36040312.inet.0 2025-11-21 18:36:12,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:36:12,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.48.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 18:36:12,810 - DEBUG - ping -s 56 -c 3 -W 1 170.48.85.195 2025-11-21 18:36:16,527 - DEBUG - PING 170.48.85.195 (170.48.85.195): 56 data bytes 64 bytes from 170.48.85.195: seq=0 ttl=63 time=5.330 ms 64 bytes from 170.48.85.195: seq=1 ttl=63 time=0.896 ms 64 bytes from 170.48.85.195: seq=2 ttl=63 time=0.916 ms --- 170.48.85.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.896/2.380/5.330 ms 2025-11-21 18:36:16,527 - INFO - Ping to IP 170.48.85.195 from VM test_vm passed 2025-11-21 18:36:16,586 - INFO - Deleting VM test2_vm 2025-11-21 18:36:16,659 - INFO - Deleting VM test_vm 2025-11-21 18:36:16,736 - INFO - Deleting VN ctest-bgpaas_vn-56846796 2025-11-21 18:36:16,775 - DEBUG - VN c5fbc8b3-b3a6-4d3b-9ae6-4e111e8fa0f7 still in use: Unable to complete operation on network c5fbc8b3-b3a6-4d3b-9ae6-4e111e8fa0f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d269e81d-bcdb-4c49-9e3c-4c091948ec98'] 2025-11-21 18:36:16,775 - WARNING - Deleting VN ctest-bgpaas_vn-56846796 failed..Will retry 2025-11-21 18:36:18,893 - DEBUG - Response for deleting network () 2025-11-21 18:36:18,893 - INFO - Deleting VN ctest-bgpaas_vn-36040312 2025-11-21 18:36:19,001 - DEBUG - Response for deleting network () 2025-11-21 18:36:19,270 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 18:36:19,270 - INFO - END TEST : test_rp_interface : PASSED[0:00:30] 2025-11-21 18:36:19,270 - INFO - -------------------------------------------------------------------------------- 2025-11-21 18:36:19,997 - INFO - Deleted project: ctest-TestRP-69353888, ID : 5622c4a6-30c2-428e-ba31-17c3412dc61f