2025-10-16 02:12:33,649 - INFO - Domain Default found not creating 2025-10-16 02:12:33,789 - INFO - Project ctest-TestRP-15888775 not found, creating it 2025-10-16 02:12:34,231 - INFO - Created Project:ctest-TestRP-15888775, ID : 92ea5a74-b703-4695-9d7b-8fa379711ead 2025-10-16 02:12:35,615 - DEBUG - Services list from nova: [, , ] 2025-10-16 02:12:35,615 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4336-1']} 2025-10-16 02:12:35,617 - INFO - ================================================================================ 2025-10-16 02:12:35,617 - INFO - STARTING TEST : test_rp_interface 2025-10-16 02:12:35,617 - 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-16 02:12:35,881 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.249': '0'}} with 2025-10-16 02:12:35,881 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:12:35,881 - INFO - 2025-10-16 02:12:36,406 - DEBUG - Response for create_network : {'network': {'id': 'aa0be82d-6c28-4233-8753-5ff250745898', 'name': 'ctest-bgpaas_vn-09654560', 'tenant_id': '92ea5a74b70346959d7b8fa379711ead', 'project_id': '92ea5a74b70346959d7b8fa379711ead', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-15888775', 'ctest-bgpaas_vn-09654560'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:12:36,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '85054f76-5776-432e-8d7f-e33e81b01620', 'name': '', 'tenant_id': '92ea5a74b70346959d7b8fa379711ead', 'network_id': 'aa0be82d-6c28-4233-8753-5ff250745898', 'ip_version': 4, 'cidr': '222.234.17.128/26', 'allocation_pools': [{'start': '222.234.17.130', 'end': '222.234.17.190'}], 'gateway_ip': '222.234.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.234.17.130', 'tags': [], 'project_id': '92ea5a74b70346959d7b8fa379711ead'}} 2025-10-16 02:12:36,575 - INFO - Created VN ctest-bgpaas_vn-09654560 2025-10-16 02:12:36,626 - DEBUG - VN ctest-bgpaas_vn-09654560 UUID is aa0be82d-6c28-4233-8753-5ff250745898 2025-10-16 02:12:37,103 - DEBUG - Response for create_network : {'network': {'id': '53e0cbbc-bf1c-400b-9d47-402ef2c9025b', 'name': 'ctest-bgpaas_vn-31906125', 'tenant_id': '92ea5a74b70346959d7b8fa379711ead', 'project_id': '92ea5a74b70346959d7b8fa379711ead', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-15888775', 'ctest-bgpaas_vn-31906125'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:12:37,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fa7ae9e-9ae8-40b1-aa7a-ed51dd4fcac8', 'name': '', 'tenant_id': '92ea5a74b70346959d7b8fa379711ead', 'network_id': '53e0cbbc-bf1c-400b-9d47-402ef2c9025b', 'ip_version': 4, 'cidr': '187.158.143.192/26', 'allocation_pools': [{'start': '187.158.143.194', 'end': '187.158.143.254'}], 'gateway_ip': '187.158.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.158.143.194', 'tags': [], 'project_id': '92ea5a74b70346959d7b8fa379711ead'}} 2025-10-16 02:12:37,353 - INFO - Created VN ctest-bgpaas_vn-31906125 2025-10-16 02:12:37,406 - DEBUG - VN ctest-bgpaas_vn-31906125 UUID is 53e0cbbc-bf1c-400b-9d47-402ef2c9025b 2025-10-16 02:12:38,747 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:12:39,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:12:39,846 - INFO - Waiting for VM test_vm to be up.. 2025-10-16 02:12:39,925 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:12:45,005 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:12:45,005 - INFO - VM name : test_vm 2025-10-16 02:12:45,083 - DEBUG - VM test_vm ID is 6eb4cf50-710d-4bdc-b54a-38fda82cef2a 2025-10-16 02:12:45,104 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:12:45,189 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6eb4cf50-710d-4bdc-b54a-38fda82cef2a 2025-10-16 02:12:45,485 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6eb4cf50-710d-4bdc-b54a-38fda82cef2a 2025-10-16 02:12:45,518 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2cdffb31-8766-420b-a608-e4ce43552383 2025-10-16 02:12:48,776 - 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 1015ms') 2025-10-16 02:12:48,776 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-16 02:12:48,830 - DEBUG - Gateway for vn default-domain:ctest-TestRP-15888775:ctest-bgpaas_vn-09654560 is 222.234.17.129 and allocation pool is NOT set 2025-10-16 02:12:50,891 - 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=3.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.956/3.508/1.551 ms') 2025-10-16 02:12:50,891 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-16 02:12:51,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:12:51,042 - DEBUG - Waiting to SSH to VM test_vm, IP 222.234.17.131, Port 22 2025-10-16 02:12:51,109 - 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-10-16 02:12:51,185 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 02:12:56,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:12:56,186 - DEBUG - Waiting to SSH to VM test_vm, IP 222.234.17.131, Port 22 2025-10-16 02:12:56,357 - DEBUG - VM test_vm is ready for SSH connections 2025-10-16 02:12:56,357 - INFO - Waiting for VM test2_vm to be up.. 2025-10-16 02:12:56,431 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:12:56,432 - INFO - VM name : test2_vm 2025-10-16 02:12:56,500 - DEBUG - VM test2_vm ID is f4e4e856-7394-4a46-8189-246d521f0670 2025-10-16 02:12:56,500 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:12:56,572 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f4e4e856-7394-4a46-8189-246d521f0670 2025-10-16 02:12:56,580 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a5988cdb-0ade-455f-8e43-6e31ea51954b 2025-10-16 02:12:57,816 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.424/2.139/3.854/1.715 ms') 2025-10-16 02:12:57,816 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-16 02:12:57,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:12:57,970 - DEBUG - Waiting to SSH to VM test2_vm, IP 187.158.143.195, Port 22 2025-10-16 02:12:58,125 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-16 02:12:58,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:12:58,279 - DEBUG - Requesting: http://10.20.0.249:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-15888775:ctest-bgpaas_vn-09654560:ctest-bgpaas_vn-09654560.inet.0 2025-10-16 02:12:58,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:12:58,289 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.158.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:12:58,289 - DEBUG - ping -s 56 -c 3 -W 1 187.158.143.195 2025-10-16 02:13:01,946 - DEBUG - PING 187.158.143.195 (187.158.143.195): 56 data bytes 64 bytes from 187.158.143.195: seq=0 ttl=63 time=5.702 ms 64 bytes from 187.158.143.195: seq=1 ttl=63 time=0.903 ms 64 bytes from 187.158.143.195: seq=2 ttl=63 time=0.836 ms --- 187.158.143.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.480/5.702 ms 2025-10-16 02:13:01,946 - INFO - Ping to IP 187.158.143.195 from VM test_vm passed 2025-10-16 02:13:02,010 - INFO - Deleting VM test2_vm 2025-10-16 02:13:02,094 - INFO - Deleting VM test_vm 2025-10-16 02:13:02,174 - INFO - Deleting VN ctest-bgpaas_vn-31906125 2025-10-16 02:13:02,215 - DEBUG - VN 53e0cbbc-bf1c-400b-9d47-402ef2c9025b still in use: Unable to complete operation on network 53e0cbbc-bf1c-400b-9d47-402ef2c9025b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7adb2741-d4c3-4a33-91ac-5b7a5a6250ee'] 2025-10-16 02:13:02,216 - WARNING - Deleting VN ctest-bgpaas_vn-31906125 failed..Will retry 2025-10-16 02:13:04,331 - DEBUG - Response for deleting network () 2025-10-16 02:13:04,331 - INFO - Deleting VN ctest-bgpaas_vn-09654560 2025-10-16 02:13:04,425 - DEBUG - Response for deleting network () 2025-10-16 02:13:04,690 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 02:13:04,691 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-10-16 02:13:04,691 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:13:05,344 - INFO - Deleted project: ctest-TestRP-15888775, ID : 92ea5a74-b703-4695-9d7b-8fa379711ead