2025-09-22 15:28:29,644 - INFO - Domain Default found not creating 2025-09-22 15:28:29,790 - INFO - Project ctest-TestRP-04828537 not found, creating it 2025-09-22 15:28:30,300 - INFO - Created Project:ctest-TestRP-04828537, ID : 21c1a459-95c3-410b-a034-9ac9b3ff45e4 2025-09-22 15:28:31,955 - DEBUG - Services list from nova: [, , ] 2025-09-22 15:28:31,955 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4169-1']} 2025-09-22 15:28:31,957 - INFO - ================================================================================ 2025-09-22 15:28:31,957 - INFO - STARTING TEST : test_rp_interface 2025-09-22 15:28:31,957 - 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-09-22 15:28:32,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-09-22 15:28:32,211 - INFO - Initial checks done. Running the testcase now 2025-09-22 15:28:32,211 - INFO - 2025-09-22 15:28:32,820 - DEBUG - Response for create_network : {'network': {'id': '1f98572f-bf60-4356-a75c-567c7724c359', 'name': 'ctest-bgpaas_vn-94067832', 'tenant_id': '21c1a45995c3410ba0349ac9b3ff45e4', 'project_id': '21c1a45995c3410ba0349ac9b3ff45e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-04828537', 'ctest-bgpaas_vn-94067832'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:28:33,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff133c08-b97a-4618-8068-383e4d3c6be9', 'name': '', 'tenant_id': '21c1a45995c3410ba0349ac9b3ff45e4', 'network_id': '1f98572f-bf60-4356-a75c-567c7724c359', 'ip_version': 4, 'cidr': '215.203.96.192/26', 'allocation_pools': [{'start': '215.203.96.194', 'end': '215.203.96.254'}], 'gateway_ip': '215.203.96.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.203.96.194', 'tags': [], 'project_id': '21c1a45995c3410ba0349ac9b3ff45e4'}} 2025-09-22 15:28:33,034 - INFO - Created VN ctest-bgpaas_vn-94067832 2025-09-22 15:28:33,091 - DEBUG - VN ctest-bgpaas_vn-94067832 UUID is 1f98572f-bf60-4356-a75c-567c7724c359 2025-09-22 15:28:33,619 - DEBUG - Response for create_network : {'network': {'id': '5e003035-de7d-4e63-ba78-343babd291d2', 'name': 'ctest-bgpaas_vn-55178328', 'tenant_id': '21c1a45995c3410ba0349ac9b3ff45e4', 'project_id': '21c1a45995c3410ba0349ac9b3ff45e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-04828537', 'ctest-bgpaas_vn-55178328'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 15:28:33,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6c5515b-7596-48d1-bd92-7906865b0275', 'name': '', 'tenant_id': '21c1a45995c3410ba0349ac9b3ff45e4', 'network_id': '5e003035-de7d-4e63-ba78-343babd291d2', 'ip_version': 4, 'cidr': '2.81.54.128/26', 'allocation_pools': [{'start': '2.81.54.130', 'end': '2.81.54.190'}], 'gateway_ip': '2.81.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.81.54.130', 'tags': [], 'project_id': '21c1a45995c3410ba0349ac9b3ff45e4'}} 2025-09-22 15:28:33,837 - INFO - Created VN ctest-bgpaas_vn-55178328 2025-09-22 15:28:33,895 - DEBUG - VN ctest-bgpaas_vn-55178328 UUID is 5e003035-de7d-4e63-ba78-343babd291d2 2025-09-22 15:28:35,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1) 2025-09-22 15:28:36,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4169-1) 2025-09-22 15:28:36,592 - INFO - Waiting for VM test_vm to be up.. 2025-09-22 15:28:36,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 15:28:41,788 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:28:41,788 - INFO - VM name : test_vm 2025-09-22 15:28:41,877 - DEBUG - VM test_vm ID is e6e935c1-40cf-4359-92d5-a99298d7a3b7 2025-09-22 15:28:41,904 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1 2025-09-22 15:28:41,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e6e935c1-40cf-4359-92d5-a99298d7a3b7 2025-09-22 15:28:42,297 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e6e935c1-40cf-4359-92d5-a99298d7a3b7 2025-09-22 15:28:42,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/13934939-0ff6-4491-9d89-00e06e030a82 2025-09-22 15:28:45,914 - 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-09-22 15:28:45,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-22 15:28:45,971 - DEBUG - Gateway for vn default-domain:ctest-TestRP-04828537:ctest-bgpaas_vn-94067832 is 215.203.96.193 and allocation pool is NOT set 2025-09-22 15:28:48,032 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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.522/3.292/5.063/1.770 ms') 2025-09-22 15:28:48,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-22 15:28:48,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:48,183 - DEBUG - Waiting to SSH to VM test_vm, IP 215.203.96.195, Port 22 2025-09-22 15:28:48,346 - DEBUG - VM test_vm is ready for SSH connections 2025-09-22 15:28:48,346 - INFO - Waiting for VM test2_vm to be up.. 2025-09-22 15:28:48,428 - DEBUG - VM is in ACTIVE state now 2025-09-22 15:28:48,428 - INFO - VM name : test2_vm 2025-09-22 15:28:48,506 - DEBUG - VM test2_vm ID is 3fe18619-9072-48c3-ab7b-a7217f596aa7 2025-09-22 15:28:48,506 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4169-1 2025-09-22 15:28:48,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3fe18619-9072-48c3-ab7b-a7217f596aa7 2025-09-22 15:28:48,615 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/af2f5b48-0ebd-4826-aebe-93b21cc74f7a 2025-09-22 15:28:49,862 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.819/3.177/1.358 ms') 2025-09-22 15:28:49,862 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-22 15:28:50,011 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:50,011 - DEBUG - Waiting to SSH to VM test2_vm, IP 2.81.54.131, Port 22 2025-09-22 15:28:50,167 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-22 15:28:50,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:50,348 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-04828537:ctest-bgpaas_vn-94067832:ctest-bgpaas_vn-94067832.inet.0 2025-09-22 15:28:51,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:51,365 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-04828537:ctest-bgpaas_vn-94067832:ctest-bgpaas_vn-94067832.inet.0 2025-09-22 15:28:51,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 15:28:51,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.81.54.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 15:28:51,373 - DEBUG - ping -s 56 -c 3 -W 1 2.81.54.131 2025-09-22 15:28:55,444 - DEBUG - PING 2.81.54.131 (2.81.54.131): 56 data bytes 64 bytes from 2.81.54.131: seq=0 ttl=63 time=4.005 ms 64 bytes from 2.81.54.131: seq=1 ttl=63 time=1.129 ms 64 bytes from 2.81.54.131: seq=2 ttl=63 time=1.339 ms --- 2.81.54.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.129/2.157/4.005 ms 2025-09-22 15:28:55,444 - INFO - Ping to IP 2.81.54.131 from VM test_vm passed 2025-09-22 15:28:55,523 - INFO - Deleting VM test2_vm 2025-09-22 15:28:55,588 - INFO - Deleting VM test_vm 2025-09-22 15:28:55,672 - INFO - Deleting VN ctest-bgpaas_vn-55178328 2025-09-22 15:28:55,724 - DEBUG - VN 5e003035-de7d-4e63-ba78-343babd291d2 still in use: Unable to complete operation on network 5e003035-de7d-4e63-ba78-343babd291d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c99f42d-e5a8-44fc-8985-bfed25e9ece3'] 2025-09-22 15:28:55,724 - WARNING - Deleting VN ctest-bgpaas_vn-55178328 failed..Will retry 2025-09-22 15:28:57,853 - DEBUG - Response for deleting network () 2025-09-22 15:28:57,853 - INFO - Deleting VN ctest-bgpaas_vn-94067832 2025-09-22 15:28:57,975 - DEBUG - Response for deleting network () 2025-09-22 15:28:58,240 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 15:28:58,240 - INFO - END TEST : test_rp_interface : PASSED[0:00:27]
2025-09-22 15:28:58,240 - INFO - -------------------------------------------------------------------------------- 2025-09-22 15:28:58,994 - INFO - Deleted project: ctest-TestRP-04828537, ID : 21c1a459-95c3-410b-a034-9ac9b3ff45e4