2025-10-11 19:29:42,321 - INFO - Domain Default found not creating 2025-10-11 19:29:42,641 - INFO - Project ctest-TestRP-10736545 not found, creating it 2025-10-11 19:29:43,368 - INFO - Created Project:ctest-TestRP-10736545, ID : 46a32572-16b7-420f-a12c-2b8f2de54133 2025-10-11 19:29:45,533 - DEBUG - Services list from nova: [, , ] 2025-10-11 19:29:45,533 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4288-1']} 2025-10-11 19:29:45,535 - INFO - ================================================================================ 2025-10-11 19:29:45,535 - INFO - STARTING TEST : test_rp_interface 2025-10-11 19:29:45,535 - 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-11 19:29:45,862 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-11 19:29:45,862 - INFO - Initial checks done. Running the testcase now 2025-10-11 19:29:45,862 - INFO - 2025-10-11 19:29:46,777 - DEBUG - Response for create_network : {'network': {'id': '332dad3d-9d02-44bb-92e4-a6b7d52994b6', 'name': 'ctest-bgpaas_vn-00513824', 'tenant_id': '46a3257216b7420fa12c2b8f2de54133', 'project_id': '46a3257216b7420fa12c2b8f2de54133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-10736545', 'ctest-bgpaas_vn-00513824'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 19:29:47,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '32ae46b7-f0e0-489d-ba8f-c676a04cb6b3', 'name': '', 'tenant_id': '46a3257216b7420fa12c2b8f2de54133', 'network_id': '332dad3d-9d02-44bb-92e4-a6b7d52994b6', 'ip_version': 4, 'cidr': '125.38.29.192/26', 'allocation_pools': [{'start': '125.38.29.194', 'end': '125.38.29.254'}], 'gateway_ip': '125.38.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.38.29.194', 'tags': [], 'project_id': '46a3257216b7420fa12c2b8f2de54133'}} 2025-10-11 19:29:47,088 - INFO - Created VN ctest-bgpaas_vn-00513824 2025-10-11 19:29:47,149 - DEBUG - VN ctest-bgpaas_vn-00513824 UUID is 332dad3d-9d02-44bb-92e4-a6b7d52994b6 2025-10-11 19:29:47,780 - DEBUG - Response for create_network : {'network': {'id': 'fc4299b1-adbd-41e5-bec3-648a289d8594', 'name': 'ctest-bgpaas_vn-32900375', 'tenant_id': '46a3257216b7420fa12c2b8f2de54133', 'project_id': '46a3257216b7420fa12c2b8f2de54133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-10736545', 'ctest-bgpaas_vn-32900375'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 19:29:48,082 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b50da852-81cf-4e97-9ebb-3334492000ea', 'name': '', 'tenant_id': '46a3257216b7420fa12c2b8f2de54133', 'network_id': 'fc4299b1-adbd-41e5-bec3-648a289d8594', 'ip_version': 4, 'cidr': '35.149.193.192/26', 'allocation_pools': [{'start': '35.149.193.194', 'end': '35.149.193.254'}], 'gateway_ip': '35.149.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.149.193.194', 'tags': [], 'project_id': '46a3257216b7420fa12c2b8f2de54133'}} 2025-10-11 19:29:48,115 - INFO - Created VN ctest-bgpaas_vn-32900375 2025-10-11 19:29:48,181 - DEBUG - VN ctest-bgpaas_vn-32900375 UUID is fc4299b1-adbd-41e5-bec3-648a289d8594 2025-10-11 19:29:50,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4288-1) 2025-10-11 19:29:51,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4288-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4288-1) 2025-10-11 19:29:51,853 - INFO - Waiting for VM test_vm to be up.. 2025-10-11 19:29:51,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 19:29:57,044 - DEBUG - VM is in ACTIVE state now 2025-10-11 19:29:57,044 - INFO - VM name : test_vm 2025-10-11 19:29:57,117 - DEBUG - VM test_vm ID is 7808ea5a-5822-4f3a-bdcd-254b99fa1c43 2025-10-11 19:29:57,137 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4288-1 2025-10-11 19:29:57,216 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7808ea5a-5822-4f3a-bdcd-254b99fa1c43 2025-10-11 19:29:57,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7808ea5a-5822-4f3a-bdcd-254b99fa1c43 2025-10-11 19:29:57,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bde4138c-453c-469c-acaf-af5eda2ab2e7 2025-10-11 19:30:00,877 - 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-10-11 19:30:00,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-11 19:30:00,949 - DEBUG - Gateway for vn default-domain:ctest-TestRP-10736545:ctest-bgpaas_vn-00513824 is 125.38.29.193 and allocation pool is NOT set 2025-10-11 19:30:03,038 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.913 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 = 0.913/2.654/4.396/1.741 ms') 2025-10-11 19:30:03,038 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-11 19:30:03,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:30:03,190 - DEBUG - Waiting to SSH to VM test_vm, IP 125.38.29.195, Port 22 2025-10-11 19:30:03,380 - DEBUG - VM test_vm is ready for SSH connections 2025-10-11 19:30:03,380 - INFO - Waiting for VM test2_vm to be up.. 2025-10-11 19:30:03,559 - DEBUG - VM is in ACTIVE state now 2025-10-11 19:30:03,560 - INFO - VM name : test2_vm 2025-10-11 19:30:03,707 - DEBUG - VM test2_vm ID is e161164b-8635-431f-8411-4b49595a220a 2025-10-11 19:30:03,707 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4288-1 2025-10-11 19:30:03,840 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e161164b-8635-431f-8411-4b49595a220a 2025-10-11 19:30:03,856 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b13d393d-8725-4b69-bcd2-e01170115daf 2025-10-11 19:30:05,166 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.934 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.934/2.154/3.375/1.220 ms') 2025-10-11 19:30:05,166 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-11 19:30:05,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:30:05,353 - DEBUG - Waiting to SSH to VM test2_vm, IP 35.149.193.195, Port 22 2025-10-11 19:30:05,424 - 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-11 19:30:05,619 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-11 19:30:10,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:30:10,620 - DEBUG - Waiting to SSH to VM test2_vm, IP 35.149.193.195, Port 22 2025-10-11 19:30:10,807 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-11 19:30:11,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:30:11,030 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-10736545:ctest-bgpaas_vn-00513824:ctest-bgpaas_vn-00513824.inet.0 2025-10-11 19:30:11,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 19:30:11,043 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.149.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-11 19:30:11,043 - DEBUG - ping -s 56 -c 3 -W 1 35.149.193.195 2025-10-11 19:30:15,190 - DEBUG - PING 35.149.193.195 (35.149.193.195): 56 data bytes 64 bytes from 35.149.193.195: seq=0 ttl=63 time=9.345 ms 64 bytes from 35.149.193.195: seq=1 ttl=63 time=2.222 ms 64 bytes from 35.149.193.195: seq=2 ttl=63 time=1.970 ms --- 35.149.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.970/4.512/9.345 ms 2025-10-11 19:30:15,190 - INFO - Ping to IP 35.149.193.195 from VM test_vm passed 2025-10-11 19:30:15,314 - INFO - Deleting VM test2_vm 2025-10-11 19:30:15,495 - INFO - Deleting VM test_vm 2025-10-11 19:30:15,619 - INFO - Deleting VN ctest-bgpaas_vn-32900375 2025-10-11 19:30:15,687 - DEBUG - VN fc4299b1-adbd-41e5-bec3-648a289d8594 still in use: Unable to complete operation on network fc4299b1-adbd-41e5-bec3-648a289d8594. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c929bd09-ac7e-4269-8e0f-d546dfeae356'] 2025-10-11 19:30:15,688 - WARNING - Deleting VN ctest-bgpaas_vn-32900375 failed..Will retry 2025-10-11 19:30:17,942 - DEBUG - Response for deleting network () 2025-10-11 19:30:17,942 - INFO - Deleting VN ctest-bgpaas_vn-00513824 2025-10-11 19:30:18,091 - DEBUG - Response for deleting network () 2025-10-11 19:30:18,409 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 19:30:18,409 - INFO - END TEST : test_rp_interface : PASSED[0:00:33]
2025-10-11 19:30:18,409 - INFO - -------------------------------------------------------------------------------- 2025-10-11 19:30:19,505 - INFO - Deleted project: ctest-TestRP-10736545, ID : 46a32572-16b7-420f-a12c-2b8f2de54133