2025-11-07 20:14:49,009 - INFO - Domain Default found not creating 2025-11-07 20:14:49,416 - INFO - Project ctest-TestRP-69051068 not found, creating it 2025-11-07 20:14:50,203 - INFO - Created Project:ctest-TestRP-69051068, ID : 46f5fa8d-f6a9-4eaa-bc00-e0fff9dbc54a 2025-11-07 20:14:52,442 - DEBUG - Services list from nova: [, , ] 2025-11-07 20:14:52,443 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4672-1']} 2025-11-07 20:14:52,449 - INFO - ================================================================================ 2025-11-07 20:14:52,450 - INFO - STARTING TEST : test_rp_interface 2025-11-07 20:14:52,450 - 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-07 20:14:52,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-11-07 20:14:52,786 - INFO - Initial checks done. Running the testcase now 2025-11-07 20:14:52,786 - INFO - 2025-11-07 20:14:53,689 - DEBUG - Response for create_network : {'network': {'id': '9bbf3030-0ebd-4e0a-b5f6-47bdfcf1e04e', 'name': 'ctest-bgpaas_vn-98982130', 'tenant_id': '46f5fa8df6a94eaabc00e0fff9dbc54a', 'project_id': '46f5fa8df6a94eaabc00e0fff9dbc54a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-69051068', 'ctest-bgpaas_vn-98982130'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:14:53,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0d89211-e797-43ce-9065-59cccfa7ba28', 'name': '', 'tenant_id': '46f5fa8df6a94eaabc00e0fff9dbc54a', 'network_id': '9bbf3030-0ebd-4e0a-b5f6-47bdfcf1e04e', 'ip_version': 4, 'cidr': '30.51.143.64/26', 'allocation_pools': [{'start': '30.51.143.66', 'end': '30.51.143.126'}], 'gateway_ip': '30.51.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.51.143.66', 'tags': [], 'project_id': '46f5fa8df6a94eaabc00e0fff9dbc54a'}} 2025-11-07 20:14:53,873 - INFO - Created VN ctest-bgpaas_vn-98982130 2025-11-07 20:14:53,926 - DEBUG - VN ctest-bgpaas_vn-98982130 UUID is 9bbf3030-0ebd-4e0a-b5f6-47bdfcf1e04e 2025-11-07 20:14:54,694 - DEBUG - Response for create_network : {'network': {'id': '330c83dd-10dc-49a0-b8f5-f54420a08662', 'name': 'ctest-bgpaas_vn-22791920', 'tenant_id': '46f5fa8df6a94eaabc00e0fff9dbc54a', 'project_id': '46f5fa8df6a94eaabc00e0fff9dbc54a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-69051068', 'ctest-bgpaas_vn-22791920'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:14:54,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '532c7af4-e808-4f25-9b13-4c3f7333b355', 'name': '', 'tenant_id': '46f5fa8df6a94eaabc00e0fff9dbc54a', 'network_id': '330c83dd-10dc-49a0-b8f5-f54420a08662', 'ip_version': 4, 'cidr': '186.79.220.0/26', 'allocation_pools': [{'start': '186.79.220.2', 'end': '186.79.220.62'}], 'gateway_ip': '186.79.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.79.220.2', 'tags': [], 'project_id': '46f5fa8df6a94eaabc00e0fff9dbc54a'}} 2025-11-07 20:14:54,928 - INFO - Created VN ctest-bgpaas_vn-22791920 2025-11-07 20:14:54,978 - DEBUG - VN ctest-bgpaas_vn-22791920 UUID is 330c83dd-10dc-49a0-b8f5-f54420a08662 2025-11-07 20:14:56,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:14:58,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:14:58,292 - INFO - Waiting for VM test_vm to be up.. 2025-11-07 20:14:58,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 20:15:03,500 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:15:03,500 - INFO - VM name : test_vm 2025-11-07 20:15:03,661 - DEBUG - VM test_vm ID is bb35dbf7-5c2f-462c-aba1-fed3ab035376 2025-11-07 20:15:03,802 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:15:03,939 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/bb35dbf7-5c2f-462c-aba1-fed3ab035376 2025-11-07 20:15:04,252 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/bb35dbf7-5c2f-462c-aba1-fed3ab035376 2025-11-07 20:15:04,309 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/4c848f49-127d-47a7-9659-21d5080269fb 2025-11-07 20:15:07,621 - 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 1012ms') 2025-11-07 20:15:07,621 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-07 20:15:07,695 - DEBUG - Gateway for vn default-domain:ctest-TestRP-69051068:ctest-bgpaas_vn-98982130 is 30.51.143.65 and allocation pool is NOT set 2025-11-07 20:15:09,783 - 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=6.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.29 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 = 3.291/4.980/6.669/1.689 ms') 2025-11-07 20:15:09,784 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-07 20:15:09,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:15:09,963 - DEBUG - Waiting to SSH to VM test_vm, IP 30.51.143.67, Port 22 2025-11-07 20:15:10,031 - 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-11-07 20:15:10,119 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-07 20:15:15,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:15:15,121 - DEBUG - Waiting to SSH to VM test_vm, IP 30.51.143.67, Port 22 2025-11-07 20:15:15,316 - DEBUG - VM test_vm is ready for SSH connections 2025-11-07 20:15:15,316 - INFO - Waiting for VM test2_vm to be up.. 2025-11-07 20:15:15,462 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:15:15,462 - INFO - VM name : test2_vm 2025-11-07 20:15:15,568 - DEBUG - VM test2_vm ID is 356dcc3c-b6eb-44c6-96f3-832162b7ee91 2025-11-07 20:15:15,568 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:15:15,681 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/356dcc3c-b6eb-44c6-96f3-832162b7ee91 2025-11-07 20:15:15,689 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/32f0f83a-6694-4d13-8c58-6228b3830d66 2025-11-07 20:15:16,977 - 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=9.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.860 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.860/5.278/9.697/4.418 ms') 2025-11-07 20:15:16,977 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-07 20:15:17,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:15:17,163 - DEBUG - Waiting to SSH to VM test2_vm, IP 186.79.220.3, Port 22 2025-11-07 20:15:17,369 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-07 20:15:17,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:15:17,584 - DEBUG - Requesting: http://10.20.0.252:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-69051068:ctest-bgpaas_vn-98982130:ctest-bgpaas_vn-98982130.inet.0 2025-11-07 20:15:17,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:15:17,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.79.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:15:17,601 - DEBUG - ping -s 56 -c 3 -W 1 186.79.220.3 2025-11-07 20:15:21,711 - DEBUG - PING 186.79.220.3 (186.79.220.3): 56 data bytes 64 bytes from 186.79.220.3: seq=0 ttl=63 time=4.062 ms 64 bytes from 186.79.220.3: seq=1 ttl=63 time=2.559 ms 64 bytes from 186.79.220.3: seq=2 ttl=63 time=1.873 ms --- 186.79.220.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.873/2.831/4.062 ms 2025-11-07 20:15:21,711 - INFO - Ping to IP 186.79.220.3 from VM test_vm passed 2025-11-07 20:15:21,847 - INFO - Deleting VM test2_vm 2025-11-07 20:15:21,956 - INFO - Deleting VM test_vm 2025-11-07 20:15:22,125 - INFO - Deleting VN ctest-bgpaas_vn-22791920 2025-11-07 20:15:22,212 - DEBUG - VN 330c83dd-10dc-49a0-b8f5-f54420a08662 still in use: Unable to complete operation on network 330c83dd-10dc-49a0-b8f5-f54420a08662. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-79f4cbd9-78b5-4c62-91bb-a9e96ec50689'] 2025-11-07 20:15:22,212 - WARNING - Deleting VN ctest-bgpaas_vn-22791920 failed..Will retry 2025-11-07 20:15:24,480 - DEBUG - Response for deleting network () 2025-11-07 20:15:24,481 - INFO - Deleting VN ctest-bgpaas_vn-98982130 2025-11-07 20:15:24,627 - DEBUG - Response for deleting network () 2025-11-07 20:15:24,917 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 20:15:24,917 - INFO - END TEST : test_rp_interface : PASSED[0:00:32]
2025-11-07 20:15:24,917 - INFO - -------------------------------------------------------------------------------- 2025-11-07 20:15:25,744 - INFO - Deleted project: ctest-TestRP-69051068, ID : 46f5fa8d-f6a9-4eaa-bc00-e0fff9dbc54a