2025-11-03 09:13:29,792 - INFO - Domain Default found not creating 2025-11-03 09:13:30,013 - INFO - Project ctest-TestRP-21369540 not found, creating it 2025-11-03 09:13:30,541 - INFO - Created Project:ctest-TestRP-21369540, ID : e7f12774-03b4-41d7-b541-6be5cf62a84e 2025-11-03 09:13:32,385 - DEBUG - Services list from nova: [, , ] 2025-11-03 09:13:32,385 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4603-1']} 2025-11-03 09:13:32,388 - INFO - ================================================================================ 2025-11-03 09:13:32,388 - INFO - STARTING TEST : test_rp_interface 2025-11-03 09:13:32,388 - 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-11-03 09:13:32,656 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-03 09:13:32,656 - INFO - Initial checks done. Running the testcase now 2025-11-03 09:13:32,656 - INFO - 2025-11-03 09:13:33,302 - DEBUG - Response for create_network : {'network': {'id': '1b3eb61d-d0d4-4379-87c2-bc82cfd7b25e', 'name': 'ctest-bgpaas_vn-58496419', 'tenant_id': 'e7f1277403b441d7b5416be5cf62a84e', 'project_id': 'e7f1277403b441d7b5416be5cf62a84e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-21369540', 'ctest-bgpaas_vn-58496419'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:13:33,470 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c37beda4-569f-435e-8adf-871703e64675', 'name': '', 'tenant_id': 'e7f1277403b441d7b5416be5cf62a84e', 'network_id': '1b3eb61d-d0d4-4379-87c2-bc82cfd7b25e', 'ip_version': 4, 'cidr': '99.241.101.192/26', 'allocation_pools': [{'start': '99.241.101.194', 'end': '99.241.101.254'}], 'gateway_ip': '99.241.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.241.101.194', 'tags': [], 'project_id': 'e7f1277403b441d7b5416be5cf62a84e'}} 2025-11-03 09:13:33,492 - INFO - Created VN ctest-bgpaas_vn-58496419 2025-11-03 09:13:33,550 - DEBUG - VN ctest-bgpaas_vn-58496419 UUID is 1b3eb61d-d0d4-4379-87c2-bc82cfd7b25e 2025-11-03 09:13:34,071 - DEBUG - Response for create_network : {'network': {'id': '55b99e7b-fa37-4013-a87a-7cecaa84c5b2', 'name': 'ctest-bgpaas_vn-12101730', 'tenant_id': 'e7f1277403b441d7b5416be5cf62a84e', 'project_id': 'e7f1277403b441d7b5416be5cf62a84e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-21369540', 'ctest-bgpaas_vn-12101730'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:13:34,282 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfc7306d-758b-49e9-9a10-6903ffdb7e62', 'name': '', 'tenant_id': 'e7f1277403b441d7b5416be5cf62a84e', 'network_id': '55b99e7b-fa37-4013-a87a-7cecaa84c5b2', 'ip_version': 4, 'cidr': '191.103.252.128/26', 'allocation_pools': [{'start': '191.103.252.130', 'end': '191.103.252.190'}], 'gateway_ip': '191.103.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.103.252.130', 'tags': [], 'project_id': 'e7f1277403b441d7b5416be5cf62a84e'}} 2025-11-03 09:13:34,302 - INFO - Created VN ctest-bgpaas_vn-12101730 2025-11-03 09:13:34,359 - DEBUG - VN ctest-bgpaas_vn-12101730 UUID is 55b99e7b-fa37-4013-a87a-7cecaa84c5b2 2025-11-03 09:13:35,825 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:13:37,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:13:37,102 - INFO - Waiting for VM test_vm to be up.. 2025-11-03 09:13:37,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 09:13:42,264 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:13:42,264 - INFO - VM name : test_vm 2025-11-03 09:13:42,337 - DEBUG - VM test_vm ID is 06f295a8-6ff4-4be8-8656-698b7e90ce24 2025-11-03 09:13:42,357 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:13:42,428 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/06f295a8-6ff4-4be8-8656-698b7e90ce24 2025-11-03 09:13:42,765 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/06f295a8-6ff4-4be8-8656-698b7e90ce24 2025-11-03 09:13:42,797 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/42985a4d-a32d-457e-b39f-afd4f7b5b92f 2025-11-03 09:13:46,042 - 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 1006ms') 2025-11-03 09:13:46,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-03 09:13:46,102 - DEBUG - Gateway for vn default-domain:ctest-TestRP-21369540:ctest-bgpaas_vn-58496419 is 99.241.101.193 and allocation pool is NOT set 2025-11-03 09:13:48,173 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.198/3.284/5.370/2.086 ms') 2025-11-03 09:13:48,173 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-03 09:13:48,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:48,330 - DEBUG - Waiting to SSH to VM test_vm, IP 99.241.101.195, Port 22 2025-11-03 09:13:48,496 - DEBUG - VM test_vm is ready for SSH connections 2025-11-03 09:13:48,496 - INFO - Waiting for VM test2_vm to be up.. 2025-11-03 09:13:48,572 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:13:48,572 - INFO - VM name : test2_vm 2025-11-03 09:13:48,657 - DEBUG - VM test2_vm ID is 864b8d98-9a23-4830-906f-9a139cbb0ff2 2025-11-03 09:13:48,657 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:13:48,922 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/864b8d98-9a23-4830-906f-9a139cbb0ff2 2025-11-03 09:13:48,932 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ec493d56-d725-4252-ae40-7d7530d6fc8c 2025-11-03 09:13:50,176 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.01 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 = 3.009/3.101/3.193/0.092 ms') 2025-11-03 09:13:50,176 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-03 09:13:50,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:50,326 - DEBUG - Waiting to SSH to VM test2_vm, IP 191.103.252.131, Port 22 2025-11-03 09:13:50,382 - 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-11-03 09:13:50,459 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 09:13:55,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:55,459 - DEBUG - Waiting to SSH to VM test2_vm, IP 191.103.252.131, Port 22 2025-11-03 09:13:55,614 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-03 09:13:55,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:55,764 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-21369540:ctest-bgpaas_vn-58496419:ctest-bgpaas_vn-58496419.inet.0 2025-11-03 09:13:56,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:56,783 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-21369540:ctest-bgpaas_vn-58496419:ctest-bgpaas_vn-58496419.inet.0 2025-11-03 09:13:56,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:13:56,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.103.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-03 09:13:56,793 - DEBUG - ping -s 56 -c 3 -W 1 191.103.252.131 2025-11-03 09:14:00,512 - DEBUG - PING 191.103.252.131 (191.103.252.131): 56 data bytes 64 bytes from 191.103.252.131: seq=0 ttl=63 time=3.883 ms 64 bytes from 191.103.252.131: seq=1 ttl=63 time=0.946 ms 64 bytes from 191.103.252.131: seq=2 ttl=63 time=0.999 ms --- 191.103.252.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/1.942/3.883 ms 2025-11-03 09:14:00,512 - INFO - Ping to IP 191.103.252.131 from VM test_vm passed 2025-11-03 09:14:00,573 - INFO - Deleting VM test2_vm 2025-11-03 09:14:00,646 - INFO - Deleting VM test_vm 2025-11-03 09:14:00,718 - INFO - Deleting VN ctest-bgpaas_vn-12101730 2025-11-03 09:14:00,755 - DEBUG - VN 55b99e7b-fa37-4013-a87a-7cecaa84c5b2 still in use: Unable to complete operation on network 55b99e7b-fa37-4013-a87a-7cecaa84c5b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1956d555-29e7-46f8-af2a-e17e46b8099f'] 2025-11-03 09:14:00,756 - WARNING - Deleting VN ctest-bgpaas_vn-12101730 failed..Will retry 2025-11-03 09:14:02,868 - DEBUG - Response for deleting network () 2025-11-03 09:14:02,868 - INFO - Deleting VN ctest-bgpaas_vn-58496419 2025-11-03 09:14:02,967 - DEBUG - Response for deleting network () 2025-11-03 09:14:03,229 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 09:14:03,229 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-11-03 09:14:03,229 - INFO - -------------------------------------------------------------------------------- 2025-11-03 09:14:03,940 - INFO - Deleted project: ctest-TestRP-21369540, ID : e7f12774-03b4-41d7-b541-6be5cf62a84e