2025-08-03 09:40:57,005 - INFO - Domain Default found not creating 2025-08-03 09:40:57,194 - INFO - Project ctest-TestRP-82939571 not found, creating it 2025-08-03 09:40:57,693 - INFO - Created Project:ctest-TestRP-82939571, ID : cc127bbf-138c-4055-b0bc-82aebffef9f9 2025-08-03 09:40:59,359 - DEBUG - Services list from nova: [, , ] 2025-08-03 09:40:59,359 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3745-1']} 2025-08-03 09:40:59,363 - INFO - ================================================================================ 2025-08-03 09:40:59,363 - INFO - STARTING TEST : test_rp_interface 2025-08-03 09:40:59,363 - 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-03 09:40:59,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-03 09:40:59,622 - INFO - Initial checks done. Running the testcase now 2025-08-03 09:40:59,622 - INFO - 2025-08-03 09:41:00,261 - DEBUG - Response for create_network : {'network': {'id': '0650a1de-11cf-4461-991e-66c6a52504ab', 'name': 'ctest-bgpaas_vn-42039690', 'tenant_id': 'cc127bbf138c4055b0bc82aebffef9f9', 'project_id': 'cc127bbf138c4055b0bc82aebffef9f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-82939571', 'ctest-bgpaas_vn-42039690'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:41:00,513 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f000e50-6b8f-4dc3-95ca-d2078508f541', 'name': '', 'tenant_id': 'cc127bbf138c4055b0bc82aebffef9f9', 'network_id': '0650a1de-11cf-4461-991e-66c6a52504ab', 'ip_version': 4, 'cidr': '218.239.3.64/26', 'allocation_pools': [{'start': '218.239.3.66', 'end': '218.239.3.126'}], 'gateway_ip': '218.239.3.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.239.3.66', 'tags': [], 'project_id': 'cc127bbf138c4055b0bc82aebffef9f9'}} 2025-08-03 09:41:00,538 - INFO - Created VN ctest-bgpaas_vn-42039690 2025-08-03 09:41:00,595 - DEBUG - VN ctest-bgpaas_vn-42039690 UUID is 0650a1de-11cf-4461-991e-66c6a52504ab 2025-08-03 09:41:01,103 - DEBUG - Response for create_network : {'network': {'id': '53f9c8f0-aba3-42ae-98d8-02c516863792', 'name': 'ctest-bgpaas_vn-19384276', 'tenant_id': 'cc127bbf138c4055b0bc82aebffef9f9', 'project_id': 'cc127bbf138c4055b0bc82aebffef9f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-82939571', 'ctest-bgpaas_vn-19384276'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:41:01,308 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af60acb3-aeb5-405a-915a-d32344d44c0a', 'name': '', 'tenant_id': 'cc127bbf138c4055b0bc82aebffef9f9', 'network_id': '53f9c8f0-aba3-42ae-98d8-02c516863792', 'ip_version': 4, 'cidr': '177.134.109.192/26', 'allocation_pools': [{'start': '177.134.109.194', 'end': '177.134.109.254'}], 'gateway_ip': '177.134.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.134.109.194', 'tags': [], 'project_id': 'cc127bbf138c4055b0bc82aebffef9f9'}} 2025-08-03 09:41:01,329 - INFO - Created VN ctest-bgpaas_vn-19384276 2025-08-03 09:41:01,387 - DEBUG - VN ctest-bgpaas_vn-19384276 UUID is 53f9c8f0-aba3-42ae-98d8-02c516863792 2025-08-03 09:41:02,886 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:41:04,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:41:04,170 - INFO - Waiting for VM test_vm to be up.. 2025-08-03 09:41:04,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 09:41:09,418 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:41:09,418 - INFO - VM name : test_vm 2025-08-03 09:41:09,538 - DEBUG - VM test_vm ID is bf9aa87b-f795-4021-8e13-b5a8c97e3bb1 2025-08-03 09:41:09,574 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:41:09,748 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/bf9aa87b-f795-4021-8e13-b5a8c97e3bb1 2025-08-03 09:41:10,217 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/bf9aa87b-f795-4021-8e13-b5a8c97e3bb1 2025-08-03 09:41:10,253 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/e9c35c12-c2d9-4c59-8833-28576d5111f9 2025-08-03 09:41:13,520 - 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-08-03 09:41:13,520 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-03 09:41:13,575 - DEBUG - Gateway for vn default-domain:ctest-TestRP-82939571:ctest-bgpaas_vn-42039690 is 218.239.3.65 and allocation pool is NOT set 2025-08-03 09:41:15,635 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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.045/3.659/5.274/1.614 ms') 2025-08-03 09:41:15,635 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-03 09:41:15,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:41:15,795 - DEBUG - Waiting to SSH to VM test_vm, IP 218.239.3.67, Port 22 2025-08-03 09:41:15,850 - 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-03 09:41:15,935 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-03 09:41:20,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:41:20,936 - DEBUG - Waiting to SSH to VM test_vm, IP 218.239.3.67, Port 22 2025-08-03 09:41:21,094 - DEBUG - VM test_vm is ready for SSH connections 2025-08-03 09:41:21,095 - INFO - Waiting for VM test2_vm to be up.. 2025-08-03 09:41:21,174 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:41:21,174 - INFO - VM name : test2_vm 2025-08-03 09:41:21,247 - DEBUG - VM test2_vm ID is 122bdcc8-8707-4d42-b330-58b7c3ca810f 2025-08-03 09:41:21,247 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:41:21,325 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/122bdcc8-8707-4d42-b330-58b7c3ca810f 2025-08-03 09:41:21,335 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/a79eee24-e569-4e7c-9484-0150100fb15f 2025-08-03 09:41:22,593 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/1.742/3.009/1.267 ms') 2025-08-03 09:41:22,594 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-03 09:41:22,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:41:22,747 - DEBUG - Waiting to SSH to VM test2_vm, IP 177.134.109.195, Port 22 2025-08-03 09:41:22,907 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-03 09:41:23,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:41:23,080 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-82939571:ctest-bgpaas_vn-42039690:ctest-bgpaas_vn-42039690.inet.0 2025-08-03 09:41:24,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:41:24,102 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-82939571:ctest-bgpaas_vn-42039690:ctest-bgpaas_vn-42039690.inet.0 2025-08-03 09:41:24,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:41:24,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.134.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:41:24,113 - DEBUG - ping -s 56 -c 3 -W 1 177.134.109.195 2025-08-03 09:41:27,780 - DEBUG - PING 177.134.109.195 (177.134.109.195): 56 data bytes 64 bytes from 177.134.109.195: seq=0 ttl=63 time=3.902 ms 64 bytes from 177.134.109.195: seq=1 ttl=63 time=0.802 ms 64 bytes from 177.134.109.195: seq=2 ttl=63 time=0.888 ms --- 177.134.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.864/3.902 ms 2025-08-03 09:41:27,780 - INFO - Ping to IP 177.134.109.195 from VM test_vm passed 2025-08-03 09:41:27,847 - INFO - Deleting VM test2_vm 2025-08-03 09:41:27,944 - INFO - Deleting VM test_vm 2025-08-03 09:41:28,016 - INFO - Deleting VN ctest-bgpaas_vn-19384276 2025-08-03 09:41:28,057 - DEBUG - VN 53f9c8f0-aba3-42ae-98d8-02c516863792 still in use: Unable to complete operation on network 53f9c8f0-aba3-42ae-98d8-02c516863792. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d3c001b-78f2-4447-ac53-39e725e46f98'] 2025-08-03 09:41:28,058 - WARNING - Deleting VN ctest-bgpaas_vn-19384276 failed..Will retry 2025-08-03 09:41:30,181 - DEBUG - Response for deleting network () 2025-08-03 09:41:30,182 - INFO - Deleting VN ctest-bgpaas_vn-42039690 2025-08-03 09:41:30,303 - DEBUG - Response for deleting network () 2025-08-03 09:41:30,562 - DEBUG - No XMPP flaps were noticed during the test
2025-08-03 09:41:30,562 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-08-03 09:41:30,562 - INFO - -------------------------------------------------------------------------------- 2025-08-03 09:41:31,309 - INFO - Deleted project: ctest-TestRP-82939571, ID : cc127bbf-138c-4055-b0bc-82aebffef9f9