2025-07-31 13:57:04,202 - INFO - Domain Default found not creating 2025-07-31 13:57:04,372 - INFO - Project ctest-TestRP-88545313 not found, creating it 2025-07-31 13:57:04,841 - INFO - Created Project:ctest-TestRP-88545313, ID : 19d17928-0fec-4dba-a4c3-ae23f1bc67b6 2025-07-31 13:57:06,331 - DEBUG - Services list from nova: [, , ] 2025-07-31 13:57:06,332 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3737-1']} 2025-07-31 13:57:06,334 - INFO - ================================================================================ 2025-07-31 13:57:06,334 - INFO - STARTING TEST : test_rp_interface 2025-07-31 13:57:06,334 - 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-07-31 13:57:06,589 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-07-31 13:57:06,589 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:57:06,589 - INFO - 2025-07-31 13:57:07,124 - DEBUG - Response for create_network : {'network': {'id': 'b7432bc8-1aab-4917-8700-9fedfa7f936b', 'name': 'ctest-bgpaas_vn-15742672', 'tenant_id': '19d179280fec4dbaa4c3ae23f1bc67b6', 'project_id': '19d179280fec4dbaa4c3ae23f1bc67b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-88545313', 'ctest-bgpaas_vn-15742672'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:57:07,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '361a2e81-8745-422a-b26b-998a41250b18', 'name': '', 'tenant_id': '19d179280fec4dbaa4c3ae23f1bc67b6', 'network_id': 'b7432bc8-1aab-4917-8700-9fedfa7f936b', 'ip_version': 4, 'cidr': '141.237.29.64/26', 'allocation_pools': [{'start': '141.237.29.66', 'end': '141.237.29.126'}], 'gateway_ip': '141.237.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.237.29.66', 'tags': [], 'project_id': '19d179280fec4dbaa4c3ae23f1bc67b6'}} 2025-07-31 13:57:07,316 - INFO - Created VN ctest-bgpaas_vn-15742672 2025-07-31 13:57:07,367 - DEBUG - VN ctest-bgpaas_vn-15742672 UUID is b7432bc8-1aab-4917-8700-9fedfa7f936b 2025-07-31 13:57:07,867 - DEBUG - Response for create_network : {'network': {'id': 'ca2d2c74-f215-4d04-85c5-248049d23800', 'name': 'ctest-bgpaas_vn-10131814', 'tenant_id': '19d179280fec4dbaa4c3ae23f1bc67b6', 'project_id': '19d179280fec4dbaa4c3ae23f1bc67b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-88545313', 'ctest-bgpaas_vn-10131814'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:57:08,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '33a94564-f454-4a87-a93e-2576a9b6dd9f', 'name': '', 'tenant_id': '19d179280fec4dbaa4c3ae23f1bc67b6', 'network_id': 'ca2d2c74-f215-4d04-85c5-248049d23800', 'ip_version': 4, 'cidr': '41.193.237.128/26', 'allocation_pools': [{'start': '41.193.237.130', 'end': '41.193.237.190'}], 'gateway_ip': '41.193.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.193.237.130', 'tags': [], 'project_id': '19d179280fec4dbaa4c3ae23f1bc67b6'}} 2025-07-31 13:57:08,077 - INFO - Created VN ctest-bgpaas_vn-10131814 2025-07-31 13:57:08,127 - DEBUG - VN ctest-bgpaas_vn-10131814 UUID is ca2d2c74-f215-4d04-85c5-248049d23800 2025-07-31 13:57:09,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:57:10,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:57:10,921 - INFO - Waiting for VM test_vm to be up.. 2025-07-31 13:57:10,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 13:57:16,073 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:57:16,073 - INFO - VM name : test_vm 2025-07-31 13:57:16,138 - DEBUG - VM test_vm ID is f2183479-cf97-44de-99d1-a6d356a8aee5 2025-07-31 13:57:16,157 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:57:16,227 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f2183479-cf97-44de-99d1-a6d356a8aee5 2025-07-31 13:57:16,524 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f2183479-cf97-44de-99d1-a6d356a8aee5 2025-07-31 13:57:16,559 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/88193f2d-6806-42b6-977a-637ff9b4f97b 2025-07-31 13:57:19,818 - 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 1007ms') 2025-07-31 13:57:19,818 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-07-31 13:57:19,871 - DEBUG - Gateway for vn default-domain:ctest-TestRP-88545313:ctest-bgpaas_vn-15742672 is 141.237.29.65 and allocation pool is NOT set 2025-07-31 13:57:21,932 - 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=3.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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 = 0.368/1.709/3.051/1.341 ms') 2025-07-31 13:57:21,932 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-07-31 13:57:22,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:57:22,088 - DEBUG - Waiting to SSH to VM test_vm, IP 141.237.29.67, Port 22 2025-07-31 13:57:22,247 - DEBUG - VM test_vm is ready for SSH connections 2025-07-31 13:57:22,247 - INFO - Waiting for VM test2_vm to be up.. 2025-07-31 13:57:22,327 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:57:22,327 - INFO - VM name : test2_vm 2025-07-31 13:57:22,400 - DEBUG - VM test2_vm ID is c9e05f70-94c9-4cf3-ab01-d480c119aa03 2025-07-31 13:57:22,401 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:57:22,475 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/c9e05f70-94c9-4cf3-ab01-d480c119aa03 2025-07-31 13:57:22,485 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4a2b8425-8bfc-4135-9260-1e271b70304e 2025-07-31 13:57:23,737 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.028/2.856/4.684/1.828 ms') 2025-07-31 13:57:23,737 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-07-31 13:57:23,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:57:23,891 - DEBUG - Waiting to SSH to VM test2_vm, IP 41.193.237.131, Port 22 2025-07-31 13:57:24,047 - DEBUG - VM test2_vm is ready for SSH connections 2025-07-31 13:57:24,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:57:24,249 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-88545313:ctest-bgpaas_vn-15742672:ctest-bgpaas_vn-15742672.inet.0 2025-07-31 13:57:24,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:57:24,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.193.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:57:24,261 - DEBUG - ping -s 56 -c 3 -W 1 41.193.237.131 2025-07-31 13:57:27,920 - DEBUG - PING 41.193.237.131 (41.193.237.131): 56 data bytes 64 bytes from 41.193.237.131: seq=0 ttl=63 time=3.141 ms 64 bytes from 41.193.237.131: seq=1 ttl=63 time=1.159 ms 64 bytes from 41.193.237.131: seq=2 ttl=63 time=0.741 ms --- 41.193.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.680/3.141 ms 2025-07-31 13:57:27,920 - INFO - Ping to IP 41.193.237.131 from VM test_vm passed 2025-07-31 13:57:27,991 - INFO - Deleting VM test2_vm 2025-07-31 13:57:28,053 - INFO - Deleting VM test_vm 2025-07-31 13:57:28,114 - INFO - Deleting VN ctest-bgpaas_vn-10131814 2025-07-31 13:57:28,152 - DEBUG - VN ca2d2c74-f215-4d04-85c5-248049d23800 still in use: Unable to complete operation on network ca2d2c74-f215-4d04-85c5-248049d23800. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ee65c91-9db7-4c2a-8434-e8ece80967a7'] 2025-07-31 13:57:28,153 - WARNING - Deleting VN ctest-bgpaas_vn-10131814 failed..Will retry 2025-07-31 13:57:30,274 - DEBUG - Response for deleting network () 2025-07-31 13:57:30,274 - INFO - Deleting VN ctest-bgpaas_vn-15742672 2025-07-31 13:57:30,386 - DEBUG - Response for deleting network () 2025-07-31 13:57:30,647 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 13:57:30,647 - INFO - END TEST : test_rp_interface : PASSED[0:00:24] 2025-07-31 13:57:30,647 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:57:31,335 - INFO - Deleted project: ctest-TestRP-88545313, ID : 19d17928-0fec-4dba-a4c3-ae23f1bc67b6