2025-07-28 02:22:05,085 - INFO - Domain Default found not creating 2025-07-28 02:22:05,272 - INFO - Project ctest-TestRP-75448025 not found, creating it 2025-07-28 02:22:05,768 - INFO - Created Project:ctest-TestRP-75448025, ID : 33bf24ef-21f0-41ea-950c-262eefc82bbf 2025-07-28 02:22:07,239 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:22:07,239 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3716-1']} 2025-07-28 02:22:07,243 - INFO - ================================================================================ 2025-07-28 02:22:07,243 - INFO - STARTING TEST : test_rp_interface 2025-07-28 02:22:07,243 - 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-28 02:22:07,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-28 02:22:07,499 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:22:07,500 - INFO - 2025-07-28 02:22:08,086 - DEBUG - Response for create_network : {'network': {'id': '329f6f85-b3de-41f5-a5a9-86bcde780025', 'name': 'ctest-bgpaas_vn-85011152', 'tenant_id': '33bf24ef21f041ea950c262eefc82bbf', 'project_id': '33bf24ef21f041ea950c262eefc82bbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-75448025', 'ctest-bgpaas_vn-85011152'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:22:08,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '86170848-e349-42b9-81b1-f4e99860a47d', 'name': '', 'tenant_id': '33bf24ef21f041ea950c262eefc82bbf', 'network_id': '329f6f85-b3de-41f5-a5a9-86bcde780025', 'ip_version': 4, 'cidr': '150.143.100.0/26', 'allocation_pools': [{'start': '150.143.100.2', 'end': '150.143.100.62'}], 'gateway_ip': '150.143.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.143.100.2', 'tags': [], 'project_id': '33bf24ef21f041ea950c262eefc82bbf'}} 2025-07-28 02:22:08,298 - INFO - Created VN ctest-bgpaas_vn-85011152 2025-07-28 02:22:08,351 - DEBUG - VN ctest-bgpaas_vn-85011152 UUID is 329f6f85-b3de-41f5-a5a9-86bcde780025 2025-07-28 02:22:08,884 - DEBUG - Response for create_network : {'network': {'id': '1f322fe3-b83f-4fa9-89df-e1db12145a63', 'name': 'ctest-bgpaas_vn-53168879', 'tenant_id': '33bf24ef21f041ea950c262eefc82bbf', 'project_id': '33bf24ef21f041ea950c262eefc82bbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-75448025', 'ctest-bgpaas_vn-53168879'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:22:09,095 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1ad8daf-82dd-44c5-b8d3-af44848153cc', 'name': '', 'tenant_id': '33bf24ef21f041ea950c262eefc82bbf', 'network_id': '1f322fe3-b83f-4fa9-89df-e1db12145a63', 'ip_version': 4, 'cidr': '107.142.148.128/26', 'allocation_pools': [{'start': '107.142.148.130', 'end': '107.142.148.190'}], 'gateway_ip': '107.142.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.142.148.130', 'tags': [], 'project_id': '33bf24ef21f041ea950c262eefc82bbf'}} 2025-07-28 02:22:09,114 - INFO - Created VN ctest-bgpaas_vn-53168879 2025-07-28 02:22:09,171 - DEBUG - VN ctest-bgpaas_vn-53168879 UUID is 1f322fe3-b83f-4fa9-89df-e1db12145a63 2025-07-28 02:22:10,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3716-1) 2025-07-28 02:22:12,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3716-1) 2025-07-28 02:22:12,153 - INFO - Waiting for VM test_vm to be up.. 2025-07-28 02:22:12,268 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:22:17,352 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:22:22,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:22:27,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:22:32,587 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:32,587 - INFO - VM name : test_vm 2025-07-28 02:22:32,661 - DEBUG - VM test_vm ID is c955e146-ad92-4520-bb31-7f57d731f43f 2025-07-28 02:22:32,681 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3716-1 2025-07-28 02:22:32,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c955e146-ad92-4520-bb31-7f57d731f43f 2025-07-28 02:22:33,053 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c955e146-ad92-4520-bb31-7f57d731f43f 2025-07-28 02:22:33,087 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/23e8778b-be60-4a90-b718-e18f93b72686 2025-07-28 02:22:36,366 - 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 1019ms') 2025-07-28 02:22:36,366 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-07-28 02:22:36,423 - DEBUG - Gateway for vn default-domain:ctest-TestRP-75448025:ctest-bgpaas_vn-85011152 is 150.143.100.1 and allocation pool is NOT set 2025-07-28 02:22:38,482 - 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=9.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.54 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 = 1.535/5.332/9.129/3.797 ms') 2025-07-28 02:22:38,482 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-07-28 02:22:38,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:38,635 - DEBUG - Waiting to SSH to VM test_vm, IP 150.143.100.3, Port 22 2025-07-28 02:22:38,800 - DEBUG - VM test_vm is ready for SSH connections 2025-07-28 02:22:38,801 - INFO - Waiting for VM test2_vm to be up.. 2025-07-28 02:22:38,876 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:38,876 - INFO - VM name : test2_vm 2025-07-28 02:22:38,947 - DEBUG - VM test2_vm ID is 563a1fbf-0427-4e3f-abb2-b08d065c3bab 2025-07-28 02:22:38,947 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3716-1 2025-07-28 02:22:39,016 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/563a1fbf-0427-4e3f-abb2-b08d065c3bab 2025-07-28 02:22:39,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/62517b77-cf37-4ae3-8bc4-8bae3bafad27 2025-07-28 02:22:40,277 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.81 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 = 1.813/3.000/4.188/1.187 ms') 2025-07-28 02:22:40,277 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-07-28 02:22:40,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:40,431 - DEBUG - Waiting to SSH to VM test2_vm, IP 107.142.148.131, Port 22 2025-07-28 02:22:40,587 - DEBUG - VM test2_vm is ready for SSH connections 2025-07-28 02:22:40,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:40,753 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-75448025:ctest-bgpaas_vn-85011152:ctest-bgpaas_vn-85011152.inet.0 2025-07-28 02:22:41,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:41,770 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-75448025:ctest-bgpaas_vn-85011152:ctest-bgpaas_vn-85011152.inet.0 2025-07-28 02:22:41,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:41,781 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.142.148.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-28 02:22:41,781 - DEBUG - ping -s 56 -c 3 -W 1 107.142.148.131 2025-07-28 02:22:45,423 - DEBUG - PING 107.142.148.131 (107.142.148.131): 56 data bytes 64 bytes from 107.142.148.131: seq=0 ttl=63 time=3.659 ms 64 bytes from 107.142.148.131: seq=1 ttl=63 time=0.820 ms 64 bytes from 107.142.148.131: seq=2 ttl=63 time=1.093 ms --- 107.142.148.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.857/3.659 ms 2025-07-28 02:22:45,423 - INFO - Ping to IP 107.142.148.131 from VM test_vm passed 2025-07-28 02:22:45,508 - INFO - Deleting VM test2_vm 2025-07-28 02:22:45,592 - INFO - Deleting VM test_vm 2025-07-28 02:22:45,668 - INFO - Deleting VN ctest-bgpaas_vn-53168879 2025-07-28 02:22:45,716 - DEBUG - VN 1f322fe3-b83f-4fa9-89df-e1db12145a63 still in use: Unable to complete operation on network 1f322fe3-b83f-4fa9-89df-e1db12145a63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1078f7a1-cc02-4287-ad3f-afe8c0b97df4'] 2025-07-28 02:22:45,716 - WARNING - Deleting VN ctest-bgpaas_vn-53168879 failed..Will retry 2025-07-28 02:22:47,862 - DEBUG - Response for deleting network () 2025-07-28 02:22:47,863 - INFO - Deleting VN ctest-bgpaas_vn-85011152 2025-07-28 02:22:47,981 - DEBUG - Response for deleting network () 2025-07-28 02:22:48,237 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:22:48,237 - INFO - END TEST : test_rp_interface : PASSED[0:00:41] 2025-07-28 02:22:48,237 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:22:48,919 - INFO - Deleted project: ctest-TestRP-75448025, ID : 33bf24ef-21f0-41ea-950c-262eefc82bbf