2025-11-25 12:42:20,421 - INFO - Domain Default found not creating 2025-11-25 12:42:20,679 - INFO - Project ctest-TestRP-36000607 not found, creating it 2025-11-25 12:42:21,244 - INFO - Created Project:ctest-TestRP-36000607, ID : 7ab4b563-0ddf-4e4f-8977-b63b7daf3841 2025-11-25 12:42:23,040 - DEBUG - Services list from nova: [, , ] 2025-11-25 12:42:23,040 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4816-1']} 2025-11-25 12:42:23,043 - INFO - ================================================================================ 2025-11-25 12:42:23,043 - INFO - STARTING TEST : test_rp_interface 2025-11-25 12:42:23,043 - 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-25 12:42:23,311 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-25 12:42:23,311 - INFO - Initial checks done. Running the testcase now 2025-11-25 12:42:23,311 - INFO - 2025-11-25 12:42:23,933 - DEBUG - Response for create_network : {'network': {'id': '4c466782-c824-4c2b-8016-153d2a6c5026', 'name': 'ctest-bgpaas_vn-95240484', 'tenant_id': '7ab4b5630ddf4e4f8977b63b7daf3841', 'project_id': '7ab4b5630ddf4e4f8977b63b7daf3841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-36000607', 'ctest-bgpaas_vn-95240484'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:42:24,088 - DEBUG - Response for create_subnet : {'subnet': {'id': '23ba6800-2e9c-49f6-8d77-6f1f3f09062b', 'name': '', 'tenant_id': '7ab4b5630ddf4e4f8977b63b7daf3841', 'network_id': '4c466782-c824-4c2b-8016-153d2a6c5026', 'ip_version': 4, 'cidr': '142.99.245.0/26', 'allocation_pools': [{'start': '142.99.245.2', 'end': '142.99.245.62'}], 'gateway_ip': '142.99.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.99.245.2', 'tags': [], 'project_id': '7ab4b5630ddf4e4f8977b63b7daf3841'}} 2025-11-25 12:42:24,107 - INFO - Created VN ctest-bgpaas_vn-95240484 2025-11-25 12:42:24,159 - DEBUG - VN ctest-bgpaas_vn-95240484 UUID is 4c466782-c824-4c2b-8016-153d2a6c5026 2025-11-25 12:42:24,699 - DEBUG - Response for create_network : {'network': {'id': '76a890a3-39f5-4b10-aedf-2f038e3433b8', 'name': 'ctest-bgpaas_vn-13877093', 'tenant_id': '7ab4b5630ddf4e4f8977b63b7daf3841', 'project_id': '7ab4b5630ddf4e4f8977b63b7daf3841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-36000607', 'ctest-bgpaas_vn-13877093'], 'port_security_enabled': True, 'description': ''}} 2025-11-25 12:42:24,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '720b6764-e7ce-4271-890c-5749e096a8ea', 'name': '', 'tenant_id': '7ab4b5630ddf4e4f8977b63b7daf3841', 'network_id': '76a890a3-39f5-4b10-aedf-2f038e3433b8', 'ip_version': 4, 'cidr': '111.67.97.128/26', 'allocation_pools': [{'start': '111.67.97.130', 'end': '111.67.97.190'}], 'gateway_ip': '111.67.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.67.97.130', 'tags': [], 'project_id': '7ab4b5630ddf4e4f8977b63b7daf3841'}} 2025-11-25 12:42:24,882 - INFO - Created VN ctest-bgpaas_vn-13877093 2025-11-25 12:42:24,935 - DEBUG - VN ctest-bgpaas_vn-13877093 UUID is 76a890a3-39f5-4b10-aedf-2f038e3433b8 2025-11-25 12:42:26,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:42:27,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4816-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4816-1) 2025-11-25 12:42:27,799 - INFO - Waiting for VM test_vm to be up.. 2025-11-25 12:42:27,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-25 12:42:33,020 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:42:33,020 - INFO - VM name : test_vm 2025-11-25 12:42:33,114 - DEBUG - VM test_vm ID is 6785027e-f9f6-4ae1-abf2-5b99ce1aa4ca 2025-11-25 12:42:33,139 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:42:33,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6785027e-f9f6-4ae1-abf2-5b99ce1aa4ca 2025-11-25 12:42:33,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6785027e-f9f6-4ae1-abf2-5b99ce1aa4ca 2025-11-25 12:42:33,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1a78002a-837d-4f41-b97d-abfdf953fb53 2025-11-25 12:42:36,874 - 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 1002ms') 2025-11-25 12:42:36,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-25 12:42:36,931 - DEBUG - Gateway for vn default-domain:ctest-TestRP-36000607:ctest-bgpaas_vn-95240484 is 142.99.245.1 and allocation pool is NOT set 2025-11-25 12:42:39,001 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/2.243/3.996/1.752 ms') 2025-11-25 12:42:39,001 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-25 12:42:39,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:39,155 - DEBUG - Waiting to SSH to VM test_vm, IP 142.99.245.3, Port 22 2025-11-25 12:42:39,226 - 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-25 12:42:39,346 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-25 12:42:44,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:44,347 - DEBUG - Waiting to SSH to VM test_vm, IP 142.99.245.3, Port 22 2025-11-25 12:42:44,525 - DEBUG - VM test_vm is ready for SSH connections 2025-11-25 12:42:44,525 - INFO - Waiting for VM test2_vm to be up.. 2025-11-25 12:42:44,655 - DEBUG - VM is in ACTIVE state now 2025-11-25 12:42:44,655 - INFO - VM name : test2_vm 2025-11-25 12:42:44,783 - DEBUG - VM test2_vm ID is 0dbfc0ca-4815-4b27-8cc6-9ec573c66415 2025-11-25 12:42:44,783 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4816-1 2025-11-25 12:42:44,904 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0dbfc0ca-4815-4b27-8cc6-9ec573c66415 2025-11-25 12:42:44,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9586b099-e280-403e-bacb-21f55942f8f8 2025-11-25 12:42:46,192 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.784 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.784/3.035/5.287/2.251 ms') 2025-11-25 12:42:46,192 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-25 12:42:46,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:46,364 - DEBUG - Waiting to SSH to VM test2_vm, IP 111.67.97.131, Port 22 2025-11-25 12:42:46,554 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-25 12:42:46,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:46,741 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-36000607:ctest-bgpaas_vn-95240484:ctest-bgpaas_vn-95240484.inet.0 2025-11-25 12:42:47,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:47,767 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-36000607:ctest-bgpaas_vn-95240484:ctest-bgpaas_vn-95240484.inet.0 2025-11-25 12:42:47,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-25 12:42:47,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.67.97.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-25 12:42:47,780 - DEBUG - ping -s 56 -c 3 -W 1 111.67.97.131 2025-11-25 12:42:51,624 - DEBUG - PING 111.67.97.131 (111.67.97.131): 56 data bytes 64 bytes from 111.67.97.131: seq=0 ttl=63 time=4.969 ms 64 bytes from 111.67.97.131: seq=1 ttl=63 time=1.952 ms 64 bytes from 111.67.97.131: seq=2 ttl=63 time=1.109 ms --- 111.67.97.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.109/2.676/4.969 ms 2025-11-25 12:42:51,624 - INFO - Ping to IP 111.67.97.131 from VM test_vm passed 2025-11-25 12:42:51,719 - INFO - Deleting VM test2_vm 2025-11-25 12:42:51,808 - INFO - Deleting VM test_vm 2025-11-25 12:42:51,911 - INFO - Deleting VN ctest-bgpaas_vn-13877093 2025-11-25 12:42:51,968 - DEBUG - VN 76a890a3-39f5-4b10-aedf-2f038e3433b8 still in use: Unable to complete operation on network 76a890a3-39f5-4b10-aedf-2f038e3433b8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a8fe328-06e3-4fd7-ac36-50a2d1d1605d'] 2025-11-25 12:42:51,969 - WARNING - Deleting VN ctest-bgpaas_vn-13877093 failed..Will retry 2025-11-25 12:42:54,114 - DEBUG - Response for deleting network () 2025-11-25 12:42:54,114 - INFO - Deleting VN ctest-bgpaas_vn-95240484 2025-11-25 12:42:54,232 - DEBUG - Response for deleting network () 2025-11-25 12:42:54,514 - DEBUG - No XMPP flaps were noticed during the test 2025-11-25 12:42:54,515 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-11-25 12:42:54,515 - INFO - -------------------------------------------------------------------------------- 2025-11-25 12:42:55,289 - INFO - Deleted project: ctest-TestRP-36000607, ID : 7ab4b563-0ddf-4e4f-8977-b63b7daf3841