2025-10-21 21:28:31,357 - INFO - Domain Default found not creating 2025-10-21 21:28:31,502 - INFO - Project ctest-TestRP-31745845 not found, creating it 2025-10-21 21:28:31,953 - INFO - Created Project:ctest-TestRP-31745845, ID : 093601c6-84a8-4436-ac9a-68b2f21931ff 2025-10-21 21:28:33,386 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:28:33,386 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4408-1']} 2025-10-21 21:28:33,388 - INFO - ================================================================================ 2025-10-21 21:28:33,389 - INFO - STARTING TEST : test_rp_interface 2025-10-21 21:28:33,389 - 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-10-21 21:28:33,644 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 21:28:33,644 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:28:33,644 - INFO - 2025-10-21 21:28:34,176 - DEBUG - Response for create_network : {'network': {'id': 'c7feac52-0136-4e14-82e2-8effb9ebfbff', 'name': 'ctest-bgpaas_vn-19882833', 'tenant_id': '093601c684a84436ac9a68b2f21931ff', 'project_id': '093601c684a84436ac9a68b2f21931ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-31745845', 'ctest-bgpaas_vn-19882833'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:28:34,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a6da23-fed4-48eb-9115-eb3cd11bd264', 'name': '', 'tenant_id': '093601c684a84436ac9a68b2f21931ff', 'network_id': 'c7feac52-0136-4e14-82e2-8effb9ebfbff', 'ip_version': 4, 'cidr': '183.194.188.192/26', 'allocation_pools': [{'start': '183.194.188.194', 'end': '183.194.188.254'}], 'gateway_ip': '183.194.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.194.188.194', 'tags': [], 'project_id': '093601c684a84436ac9a68b2f21931ff'}} 2025-10-21 21:28:34,375 - INFO - Created VN ctest-bgpaas_vn-19882833 2025-10-21 21:28:34,427 - DEBUG - VN ctest-bgpaas_vn-19882833 UUID is c7feac52-0136-4e14-82e2-8effb9ebfbff 2025-10-21 21:28:34,936 - DEBUG - Response for create_network : {'network': {'id': '3bf6dc12-8e73-46fa-a1e5-b5981b54812b', 'name': 'ctest-bgpaas_vn-64178475', 'tenant_id': '093601c684a84436ac9a68b2f21931ff', 'project_id': '093601c684a84436ac9a68b2f21931ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-31745845', 'ctest-bgpaas_vn-64178475'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:28:35,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '2cbe3566-6a92-4a0e-b8eb-730c5b2c4a81', 'name': '', 'tenant_id': '093601c684a84436ac9a68b2f21931ff', 'network_id': '3bf6dc12-8e73-46fa-a1e5-b5981b54812b', 'ip_version': 4, 'cidr': '215.187.11.192/26', 'allocation_pools': [{'start': '215.187.11.194', 'end': '215.187.11.254'}], 'gateway_ip': '215.187.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.187.11.194', 'tags': [], 'project_id': '093601c684a84436ac9a68b2f21931ff'}} 2025-10-21 21:28:35,152 - INFO - Created VN ctest-bgpaas_vn-64178475 2025-10-21 21:28:35,203 - DEBUG - VN ctest-bgpaas_vn-64178475 UUID is 3bf6dc12-8e73-46fa-a1e5-b5981b54812b 2025-10-21 21:28:36,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:28:37,750 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:28:37,750 - INFO - Waiting for VM test_vm to be up.. 2025-10-21 21:28:37,827 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:28:42,914 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:28:42,914 - INFO - VM name : test_vm 2025-10-21 21:28:43,019 - DEBUG - VM test_vm ID is 5a77a56a-e592-4c3c-aed5-f641d33571be 2025-10-21 21:28:43,043 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:28:43,144 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5a77a56a-e592-4c3c-aed5-f641d33571be 2025-10-21 21:28:43,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5a77a56a-e592-4c3c-aed5-f641d33571be 2025-10-21 21:28:43,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b75b6071-f1a8-4472-ad80-56a5ecbf55e8 2025-10-21 21:28:46,733 - 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-10-21 21:28:46,733 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-21 21:28:46,787 - DEBUG - Gateway for vn default-domain:ctest-TestRP-31745845:ctest-bgpaas_vn-19882833 is 183.194.188.193 and allocation pool is NOT set 2025-10-21 21:28:48,846 - 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=2.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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 = 2.263/2.578/2.893/0.315 ms') 2025-10-21 21:28:48,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-21 21:28:48,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:48,999 - DEBUG - Waiting to SSH to VM test_vm, IP 183.194.188.195, Port 22 2025-10-21 21:28:49,166 - DEBUG - VM test_vm is ready for SSH connections 2025-10-21 21:28:49,166 - INFO - Waiting for VM test2_vm to be up.. 2025-10-21 21:28:49,247 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:28:49,247 - INFO - VM name : test2_vm 2025-10-21 21:28:49,320 - DEBUG - VM test2_vm ID is 9b29b410-5964-43b0-a3ef-8343341fd5b3 2025-10-21 21:28:49,320 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:28:49,518 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b29b410-5964-43b0-a3ef-8343341fd5b3 2025-10-21 21:28:49,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aab523b6-3297-44e9-b64c-d2849e70c3f7 2025-10-21 21:28:50,765 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.961 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.961/2.125/3.289/1.164 ms') 2025-10-21 21:28:50,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-21 21:28:50,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:50,919 - DEBUG - Waiting to SSH to VM test2_vm, IP 215.187.11.195, Port 22 2025-10-21 21:28:50,989 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-21 21:28:51,065 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-21 21:28:56,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:56,066 - DEBUG - Waiting to SSH to VM test2_vm, IP 215.187.11.195, Port 22 2025-10-21 21:28:56,230 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-21 21:28:56,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:56,392 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-31745845:ctest-bgpaas_vn-19882833:ctest-bgpaas_vn-19882833.inet.0 2025-10-21 21:28:56,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:56,402 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.187.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:28:56,402 - DEBUG - ping -s 56 -c 3 -W 1 215.187.11.195 2025-10-21 21:29:00,375 - DEBUG - PING 215.187.11.195 (215.187.11.195): 56 data bytes 64 bytes from 215.187.11.195: seq=0 ttl=63 time=3.724 ms 64 bytes from 215.187.11.195: seq=1 ttl=63 time=1.032 ms 64 bytes from 215.187.11.195: seq=2 ttl=63 time=1.479 ms --- 215.187.11.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.078/3.724 ms 2025-10-21 21:29:00,375 - INFO - Ping to IP 215.187.11.195 from VM test_vm passed 2025-10-21 21:29:00,439 - INFO - Deleting VM test2_vm 2025-10-21 21:29:00,520 - INFO - Deleting VM test_vm 2025-10-21 21:29:00,597 - INFO - Deleting VN ctest-bgpaas_vn-64178475 2025-10-21 21:29:00,642 - DEBUG - VN 3bf6dc12-8e73-46fa-a1e5-b5981b54812b still in use: Unable to complete operation on network 3bf6dc12-8e73-46fa-a1e5-b5981b54812b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc281eab-b104-401d-b484-d9be3e29dc0c'] 2025-10-21 21:29:00,643 - WARNING - Deleting VN ctest-bgpaas_vn-64178475 failed..Will retry 2025-10-21 21:29:02,755 - DEBUG - Response for deleting network () 2025-10-21 21:29:02,755 - INFO - Deleting VN ctest-bgpaas_vn-19882833 2025-10-21 21:29:02,853 - DEBUG - Response for deleting network () 2025-10-21 21:29:03,113 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 21:29:03,113 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-10-21 21:29:03,113 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:29:03,807 - INFO - Deleted project: ctest-TestRP-31745845, ID : 093601c6-84a8-4436-ac9a-68b2f21931ff