2025-11-17 20:38:53,425 - INFO - Domain Default found not creating 2025-11-17 20:38:53,589 - INFO - Project ctest-TestRP-68673697 not found, creating it 2025-11-17 20:38:54,075 - INFO - Created Project:ctest-TestRP-68673697, ID : 849d1479-4d91-4177-a20e-8e538f5ccf96 2025-11-17 20:38:56,438 - DEBUG - Services list from nova: [, , ] 2025-11-17 20:38:56,438 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4746-1']} 2025-11-17 20:38:56,440 - INFO - ================================================================================ 2025-11-17 20:38:56,440 - INFO - STARTING TEST : test_rp_interface 2025-11-17 20:38:56,440 - 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-17 20:38:56,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 20:38:56,699 - INFO - Initial checks done. Running the testcase now 2025-11-17 20:38:56,699 - INFO - 2025-11-17 20:38:57,304 - DEBUG - Response for create_network : {'network': {'id': '0a0b49d8-6a15-422c-bce3-b72959f60bb1', 'name': 'ctest-bgpaas_vn-95606391', 'tenant_id': '849d14794d914177a20e8e538f5ccf96', 'project_id': '849d14794d914177a20e8e538f5ccf96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-68673697', 'ctest-bgpaas_vn-95606391'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:38:57,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fdf734d-bb6b-4b5a-a5dd-9406baf8f805', 'name': '', 'tenant_id': '849d14794d914177a20e8e538f5ccf96', 'network_id': '0a0b49d8-6a15-422c-bce3-b72959f60bb1', 'ip_version': 4, 'cidr': '120.247.57.192/26', 'allocation_pools': [{'start': '120.247.57.194', 'end': '120.247.57.254'}], 'gateway_ip': '120.247.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.247.57.194', 'tags': [], 'project_id': '849d14794d914177a20e8e538f5ccf96'}} 2025-11-17 20:38:57,515 - INFO - Created VN ctest-bgpaas_vn-95606391 2025-11-17 20:38:57,567 - DEBUG - VN ctest-bgpaas_vn-95606391 UUID is 0a0b49d8-6a15-422c-bce3-b72959f60bb1 2025-11-17 20:38:58,085 - DEBUG - Response for create_network : {'network': {'id': '6ca0b927-63ad-4cd6-9da8-68650965432c', 'name': 'ctest-bgpaas_vn-78986199', 'tenant_id': '849d14794d914177a20e8e538f5ccf96', 'project_id': '849d14794d914177a20e8e538f5ccf96', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-68673697', 'ctest-bgpaas_vn-78986199'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:38:58,254 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0085f7c-7cc7-4243-b973-62478a8d169b', 'name': '', 'tenant_id': '849d14794d914177a20e8e538f5ccf96', 'network_id': '6ca0b927-63ad-4cd6-9da8-68650965432c', 'ip_version': 4, 'cidr': '90.243.66.64/26', 'allocation_pools': [{'start': '90.243.66.66', 'end': '90.243.66.126'}], 'gateway_ip': '90.243.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.243.66.66', 'tags': [], 'project_id': '849d14794d914177a20e8e538f5ccf96'}} 2025-11-17 20:38:58,271 - INFO - Created VN ctest-bgpaas_vn-78986199 2025-11-17 20:38:58,323 - DEBUG - VN ctest-bgpaas_vn-78986199 UUID is 6ca0b927-63ad-4cd6-9da8-68650965432c 2025-11-17 20:38:59,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1) 2025-11-17 20:39:01,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1) 2025-11-17 20:39:01,106 - INFO - Waiting for VM test_vm to be up.. 2025-11-17 20:39:01,185 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 20:39:06,275 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:39:06,276 - INFO - VM name : test_vm 2025-11-17 20:39:06,352 - DEBUG - VM test_vm ID is 53890a9b-4c76-47e3-8f90-de732f616f24 2025-11-17 20:39:06,379 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1 2025-11-17 20:39:06,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53890a9b-4c76-47e3-8f90-de732f616f24 2025-11-17 20:39:06,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53890a9b-4c76-47e3-8f90-de732f616f24 2025-11-17 20:39:06,836 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bf60a817-cc05-4aad-89c4-3455a6e7987c 2025-11-17 20:39:10,102 - 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-11-17 20:39:10,102 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-17 20:39:10,155 - DEBUG - Gateway for vn default-domain:ctest-TestRP-68673697:ctest-bgpaas_vn-95606391 is 120.247.57.193 and allocation pool is NOT set 2025-11-17 20:39:12,222 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.62 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.622/3.154/4.686/1.532 ms') 2025-11-17 20:39:12,222 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-17 20:39:12,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:39:12,376 - DEBUG - Waiting to SSH to VM test_vm, IP 120.247.57.195, Port 22 2025-11-17 20:39:12,441 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-17 20:39:12,530 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 20:39:17,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:39:17,531 - DEBUG - Waiting to SSH to VM test_vm, IP 120.247.57.195, Port 22 2025-11-17 20:39:17,687 - DEBUG - VM test_vm is ready for SSH connections 2025-11-17 20:39:17,687 - INFO - Waiting for VM test2_vm to be up.. 2025-11-17 20:39:17,777 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:39:17,777 - INFO - VM name : test2_vm 2025-11-17 20:39:17,882 - DEBUG - VM test2_vm ID is 62002c43-b449-4b99-8559-1cc039863876 2025-11-17 20:39:17,882 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1 2025-11-17 20:39:17,951 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/62002c43-b449-4b99-8559-1cc039863876 2025-11-17 20:39:17,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7e962736-0594-461f-bced-8c854cb2291a 2025-11-17 20:39:19,191 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/1.751/3.030/1.279 ms') 2025-11-17 20:39:19,191 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-17 20:39:19,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:39:19,344 - DEBUG - Waiting to SSH to VM test2_vm, IP 90.243.66.67, Port 22 2025-11-17 20:39:19,510 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-17 20:39:19,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:39:19,665 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-68673697:ctest-bgpaas_vn-95606391:ctest-bgpaas_vn-95606391.inet.0 2025-11-17 20:39:19,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:39:19,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.243.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 20:39:19,678 - DEBUG - ping -s 56 -c 3 -W 1 90.243.66.67 2025-11-17 20:39:23,394 - DEBUG - PING 90.243.66.67 (90.243.66.67): 56 data bytes 64 bytes from 90.243.66.67: seq=0 ttl=63 time=3.770 ms 64 bytes from 90.243.66.67: seq=1 ttl=63 time=0.932 ms 64 bytes from 90.243.66.67: seq=2 ttl=63 time=0.905 ms --- 90.243.66.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.905/1.869/3.770 ms 2025-11-17 20:39:23,394 - INFO - Ping to IP 90.243.66.67 from VM test_vm passed 2025-11-17 20:39:23,461 - INFO - Deleting VM test2_vm 2025-11-17 20:39:23,531 - INFO - Deleting VM test_vm 2025-11-17 20:39:23,605 - INFO - Deleting VN ctest-bgpaas_vn-78986199 2025-11-17 20:39:23,646 - DEBUG - VN 6ca0b927-63ad-4cd6-9da8-68650965432c still in use: Unable to complete operation on network 6ca0b927-63ad-4cd6-9da8-68650965432c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5256c412-71e0-4b8f-8827-219c6f73fe0c'] 2025-11-17 20:39:23,646 - WARNING - Deleting VN ctest-bgpaas_vn-78986199 failed..Will retry 2025-11-17 20:39:25,762 - DEBUG - Response for deleting network () 2025-11-17 20:39:25,762 - INFO - Deleting VN ctest-bgpaas_vn-95606391 2025-11-17 20:39:25,869 - DEBUG - Response for deleting network () 2025-11-17 20:39:26,129 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:39:26,129 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-11-17 20:39:26,129 - INFO - -------------------------------------------------------------------------------- 2025-11-17 20:39:26,854 - INFO - Deleted project: ctest-TestRP-68673697, ID : 849d1479-4d91-4177-a20e-8e538f5ccf96