2025-07-31 13:26:41,818 - INFO - Domain Default found not creating 2025-07-31 13:26:42,001 - INFO - Project ctest-TestRP-77661728 not found, creating it 2025-07-31 13:26:42,492 - INFO - Created Project:ctest-TestRP-77661728, ID : 70831de3-a0f2-429c-ad6a-173ac77a1c14 2025-07-31 13:26:43,980 - DEBUG - Services list from nova: [, , ] 2025-07-31 13:26:43,980 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3736-1']} 2025-07-31 13:26:43,983 - INFO - ================================================================================ 2025-07-31 13:26:43,984 - INFO - STARTING TEST : test_rp_interface 2025-07-31 13:26:43,984 - 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-31 13:26:44,244 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '0'}} with 2025-07-31 13:26:44,244 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:26:44,245 - INFO - 2025-07-31 13:26:44,816 - DEBUG - Response for create_network : {'network': {'id': 'be17e3c6-3d7e-4619-ad00-de2bddcc4d18', 'name': 'ctest-bgpaas_vn-70338569', 'tenant_id': '70831de3a0f2429cad6a173ac77a1c14', 'project_id': '70831de3a0f2429cad6a173ac77a1c14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-77661728', 'ctest-bgpaas_vn-70338569'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:26:44,995 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b20d092c-3a9a-4f31-8195-f6adaa0fa1be', 'name': '', 'tenant_id': '70831de3a0f2429cad6a173ac77a1c14', 'network_id': 'be17e3c6-3d7e-4619-ad00-de2bddcc4d18', 'ip_version': 4, 'cidr': '122.32.92.192/26', 'allocation_pools': [{'start': '122.32.92.194', 'end': '122.32.92.254'}], 'gateway_ip': '122.32.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.32.92.194', 'tags': [], 'project_id': '70831de3a0f2429cad6a173ac77a1c14'}} 2025-07-31 13:26:45,015 - INFO - Created VN ctest-bgpaas_vn-70338569 2025-07-31 13:26:45,067 - DEBUG - VN ctest-bgpaas_vn-70338569 UUID is be17e3c6-3d7e-4619-ad00-de2bddcc4d18 2025-07-31 13:26:45,578 - DEBUG - Response for create_network : {'network': {'id': '03d32bd4-0c44-44c6-9c3d-a0b3eb89b958', 'name': 'ctest-bgpaas_vn-96609226', 'tenant_id': '70831de3a0f2429cad6a173ac77a1c14', 'project_id': '70831de3a0f2429cad6a173ac77a1c14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-77661728', 'ctest-bgpaas_vn-96609226'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:26:45,811 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b87fc680-35f4-4a50-b6ec-7b3ef9754c01', 'name': '', 'tenant_id': '70831de3a0f2429cad6a173ac77a1c14', 'network_id': '03d32bd4-0c44-44c6-9c3d-a0b3eb89b958', 'ip_version': 4, 'cidr': '197.208.19.0/26', 'allocation_pools': [{'start': '197.208.19.2', 'end': '197.208.19.62'}], 'gateway_ip': '197.208.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.208.19.2', 'tags': [], 'project_id': '70831de3a0f2429cad6a173ac77a1c14'}} 2025-07-31 13:26:45,828 - INFO - Created VN ctest-bgpaas_vn-96609226 2025-07-31 13:26:45,879 - DEBUG - VN ctest-bgpaas_vn-96609226 UUID is 03d32bd4-0c44-44c6-9c3d-a0b3eb89b958 2025-07-31 13:26:47,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3736-1) 2025-07-31 13:26:48,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3736-1) 2025-07-31 13:26:48,549 - INFO - Waiting for VM test_vm to be up.. 2025-07-31 13:26:48,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 13:26:53,765 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:26:53,765 - INFO - VM name : test_vm 2025-07-31 13:26:53,851 - DEBUG - VM test_vm ID is f25b229a-dc4d-4035-b3bc-4820413f4625 2025-07-31 13:26:53,875 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3736-1. 2025-07-31 13:26:53,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f25b229a-dc4d-4035-b3bc-4820413f4625 2025-07-31 13:26:54,258 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f25b229a-dc4d-4035-b3bc-4820413f4625 2025-07-31 13:26:54,292 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f2b4399a-5d96-46b3-ab4d-d3acf95974ca 2025-07-31 13:26:57,572 - 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 1030ms') 2025-07-31 13:26:57,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-07-31 13:26:57,627 - DEBUG - Gateway for vn default-domain:ctest-TestRP-77661728:ctest-bgpaas_vn-70338569 is 122.32.92.193 and allocation pool is NOT set 2025-07-31 13:26:59,695 - 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=4.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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.982/3.122/4.263/1.140 ms') 2025-07-31 13:26:59,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-07-31 13:26:59,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:26:59,851 - DEBUG - Waiting to SSH to VM test_vm, IP 122.32.92.195, Port 22 2025-07-31 13:27:00,019 - DEBUG - VM test_vm is ready for SSH connections 2025-07-31 13:27:00,019 - INFO - Waiting for VM test2_vm to be up.. 2025-07-31 13:27:00,111 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:27:00,112 - INFO - VM name : test2_vm 2025-07-31 13:27:00,204 - DEBUG - VM test2_vm ID is 206d9b9f-a843-476a-bf2f-9441dac868c9 2025-07-31 13:27:00,204 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3736-1. 2025-07-31 13:27:00,444 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/206d9b9f-a843-476a-bf2f-9441dac868c9 2025-07-31 13:27:00,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e18ac5e4-b7d2-4c69-bfed-0c72726682a5 2025-07-31 13:27:01,699 - 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=5.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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.705/3.413/5.122/1.708 ms') 2025-07-31 13:27:01,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-07-31 13:27:01,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:27:01,863 - DEBUG - Waiting to SSH to VM test2_vm, IP 197.208.19.3, Port 22 2025-07-31 13:27:01,931 - 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-07-31 13:27:02,029 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-07-31 13:27:07,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:27:07,030 - DEBUG - Waiting to SSH to VM test2_vm, IP 197.208.19.3, Port 22 2025-07-31 13:27:07,201 - DEBUG - VM test2_vm is ready for SSH connections 2025-07-31 13:27:07,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:27:07,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:27:07,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.208.19.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-31 13:27:07,366 - DEBUG - ping -s 56 -c 3 -W 1 197.208.19.3 2025-07-31 13:27:11,112 - DEBUG - PING 197.208.19.3 (197.208.19.3): 56 data bytes 64 bytes from 197.208.19.3: seq=0 ttl=63 time=7.192 ms 64 bytes from 197.208.19.3: seq=1 ttl=63 time=1.110 ms 64 bytes from 197.208.19.3: seq=2 ttl=63 time=1.150 ms --- 197.208.19.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.110/3.150/7.192 ms 2025-07-31 13:27:11,112 - INFO - Ping to IP 197.208.19.3 from VM test_vm passed 2025-07-31 13:27:11,183 - INFO - Deleting VM test2_vm 2025-07-31 13:27:11,275 - INFO - Deleting VM test_vm 2025-07-31 13:27:11,367 - INFO - Deleting VN ctest-bgpaas_vn-96609226 2025-07-31 13:27:11,431 - DEBUG - VN 03d32bd4-0c44-44c6-9c3d-a0b3eb89b958 still in use: Unable to complete operation on network 03d32bd4-0c44-44c6-9c3d-a0b3eb89b958. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-394b107d-5984-4e10-b38c-2ed0047d5377'] 2025-07-31 13:27:11,431 - WARNING - Deleting VN ctest-bgpaas_vn-96609226 failed..Will retry 2025-07-31 13:27:13,559 - DEBUG - Response for deleting network () 2025-07-31 13:27:13,559 - INFO - Deleting VN ctest-bgpaas_vn-70338569 2025-07-31 13:27:13,677 - DEBUG - Response for deleting network () 2025-07-31 13:27:13,944 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 13:27:13,945 - INFO - END TEST : test_rp_interface : PASSED[0:00:30] 2025-07-31 13:27:13,945 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:27:14,677 - INFO - Deleted project: ctest-TestRP-77661728, ID : 70831de3-a0f2-429c-ad6a-173ac77a1c14