2025-08-25 14:17:01,134 - INFO - Domain Default found not creating 2025-08-25 14:17:01,270 - INFO - Project ctest-TestRP-31405777 not found, creating it 2025-08-25 14:17:01,717 - INFO - Created Project:ctest-TestRP-31405777, ID : 84c067e2-f5a4-4942-9759-35d2bbe182c1 2025-08-25 14:17:03,097 - DEBUG - Services list from nova: [, , ] 2025-08-25 14:17:03,097 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3921-1']} 2025-08-25 14:17:03,099 - INFO - ================================================================================ 2025-08-25 14:17:03,099 - INFO - STARTING TEST : test_rp_interface 2025-08-25 14:17:03,099 - 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-08-25 14:17:03,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-25 14:17:03,363 - INFO - Initial checks done. Running the testcase now 2025-08-25 14:17:03,363 - INFO - 2025-08-25 14:17:03,911 - DEBUG - Response for create_network : {'network': {'id': '1f27b5b9-7220-472b-b07d-44b887898379', 'name': 'ctest-bgpaas_vn-68251136', 'tenant_id': '84c067e2f5a44942975935d2bbe182c1', 'project_id': '84c067e2f5a44942975935d2bbe182c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-31405777', 'ctest-bgpaas_vn-68251136'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:17:04,122 - DEBUG - Response for create_subnet : {'subnet': {'id': '36e8d59d-fad9-4ed3-a860-63a4d33bf806', 'name': '', 'tenant_id': '84c067e2f5a44942975935d2bbe182c1', 'network_id': '1f27b5b9-7220-472b-b07d-44b887898379', 'ip_version': 4, 'cidr': '32.98.26.64/26', 'allocation_pools': [{'start': '32.98.26.66', 'end': '32.98.26.126'}], 'gateway_ip': '32.98.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.98.26.66', 'tags': [], 'project_id': '84c067e2f5a44942975935d2bbe182c1'}} 2025-08-25 14:17:04,139 - INFO - Created VN ctest-bgpaas_vn-68251136 2025-08-25 14:17:04,189 - DEBUG - VN ctest-bgpaas_vn-68251136 UUID is 1f27b5b9-7220-472b-b07d-44b887898379 2025-08-25 14:17:04,705 - DEBUG - Response for create_network : {'network': {'id': '64d1d8b6-b18e-4fba-babe-36dcc385ce3d', 'name': 'ctest-bgpaas_vn-80628478', 'tenant_id': '84c067e2f5a44942975935d2bbe182c1', 'project_id': '84c067e2f5a44942975935d2bbe182c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-31405777', 'ctest-bgpaas_vn-80628478'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:17:04,921 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea54100d-bee4-4b1c-b4ca-ca350fbbdcdc', 'name': '', 'tenant_id': '84c067e2f5a44942975935d2bbe182c1', 'network_id': '64d1d8b6-b18e-4fba-babe-36dcc385ce3d', 'ip_version': 4, 'cidr': '81.186.78.0/26', 'allocation_pools': [{'start': '81.186.78.2', 'end': '81.186.78.62'}], 'gateway_ip': '81.186.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.186.78.2', 'tags': [], 'project_id': '84c067e2f5a44942975935d2bbe182c1'}} 2025-08-25 14:17:04,937 - INFO - Created VN ctest-bgpaas_vn-80628478 2025-08-25 14:17:04,989 - DEBUG - VN ctest-bgpaas_vn-80628478 UUID is 64d1d8b6-b18e-4fba-babe-36dcc385ce3d 2025-08-25 14:17:06,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:17:07,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:17:07,511 - INFO - Waiting for VM test_vm to be up.. 2025-08-25 14:17:07,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 14:17:12,670 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:17:12,670 - INFO - VM name : test_vm 2025-08-25 14:17:12,741 - DEBUG - VM test_vm ID is bfd4ba1f-4945-4792-9f1b-57e97af99f64 2025-08-25 14:17:12,759 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:17:12,834 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bfd4ba1f-4945-4792-9f1b-57e97af99f64 2025-08-25 14:17:13,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bfd4ba1f-4945-4792-9f1b-57e97af99f64 2025-08-25 14:17:13,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ee0e6e36-25f6-490e-8cfd-1c33f69cf0d4 2025-08-25 14:17:16,431 - 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 1026ms') 2025-08-25 14:17:16,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-25 14:17:16,489 - DEBUG - Gateway for vn default-domain:ctest-TestRP-31405777:ctest-bgpaas_vn-68251136 is 32.98.26.65 and allocation pool is NOT set 2025-08-25 14:17:18,552 - 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=0.345 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 = 0.345/1.619/2.894/1.274 ms') 2025-08-25 14:17:18,552 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-25 14:17:18,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:17:18,706 - DEBUG - Waiting to SSH to VM test_vm, IP 32.98.26.67, Port 22 2025-08-25 14:17:18,873 - DEBUG - VM test_vm is ready for SSH connections 2025-08-25 14:17:18,873 - INFO - Waiting for VM test2_vm to be up.. 2025-08-25 14:17:18,945 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:17:18,945 - INFO - VM name : test2_vm 2025-08-25 14:17:19,105 - DEBUG - VM test2_vm ID is f7d63b7f-d957-4e0e-95c1-1f80eefb3a7c 2025-08-25 14:17:19,105 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:17:19,176 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f7d63b7f-d957-4e0e-95c1-1f80eefb3a7c 2025-08-25 14:17:19,187 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fe1d395e-fc47-4a8f-87a3-8b1e2737d362 2025-08-25 14:17:20,435 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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.145/2.446/3.747/1.301 ms') 2025-08-25 14:17:20,435 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-25 14:17:20,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:17:20,589 - DEBUG - Waiting to SSH to VM test2_vm, IP 81.186.78.3, Port 22 2025-08-25 14:17:20,645 - 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-08-25 14:17:20,713 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-25 14:17:25,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:17:25,714 - DEBUG - Waiting to SSH to VM test2_vm, IP 81.186.78.3, Port 22 2025-08-25 14:17:25,869 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-25 14:17:26,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:17:26,060 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-31405777:ctest-bgpaas_vn-68251136:ctest-bgpaas_vn-68251136.inet.0 2025-08-25 14:17:26,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:17:26,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.186.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:17:26,072 - DEBUG - ping -s 56 -c 3 -W 1 81.186.78.3 2025-08-25 14:17:30,043 - DEBUG - PING 81.186.78.3 (81.186.78.3): 56 data bytes 64 bytes from 81.186.78.3: seq=0 ttl=63 time=3.965 ms 64 bytes from 81.186.78.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 81.186.78.3: seq=2 ttl=63 time=0.669 ms --- 81.186.78.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.669/1.823/3.965 ms 2025-08-25 14:17:30,043 - INFO - Ping to IP 81.186.78.3 from VM test_vm passed 2025-08-25 14:17:30,125 - INFO - Deleting VM test2_vm 2025-08-25 14:17:30,190 - INFO - Deleting VM test_vm 2025-08-25 14:17:30,257 - INFO - Deleting VN ctest-bgpaas_vn-80628478 2025-08-25 14:17:30,293 - DEBUG - VN 64d1d8b6-b18e-4fba-babe-36dcc385ce3d still in use: Unable to complete operation on network 64d1d8b6-b18e-4fba-babe-36dcc385ce3d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03711a92-fcbc-45d4-bc51-51c434d33ace'] 2025-08-25 14:17:30,293 - WARNING - Deleting VN ctest-bgpaas_vn-80628478 failed..Will retry 2025-08-25 14:17:32,399 - DEBUG - Response for deleting network () 2025-08-25 14:17:32,400 - INFO - Deleting VN ctest-bgpaas_vn-68251136 2025-08-25 14:17:32,512 - DEBUG - Response for deleting network () 2025-08-25 14:17:32,770 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 14:17:32,770 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-08-25 14:17:32,770 - INFO - -------------------------------------------------------------------------------- 2025-08-25 14:17:33,421 - INFO - Deleted project: ctest-TestRP-31405777, ID : 84c067e2-f5a4-4942-9759-35d2bbe182c1