2025-10-13 16:26:44,373 - INFO - Domain Default found not creating 2025-10-13 16:26:44,545 - INFO - Project ctest-TestRP-88734813 not found, creating it 2025-10-13 16:26:45,183 - INFO - Created Project:ctest-TestRP-88734813, ID : 7fdbcf64-6837-4c30-ba89-8c951738e9c1 2025-10-13 16:26:46,854 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:26:46,854 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4307-1']} 2025-10-13 16:26:46,856 - INFO - ================================================================================ 2025-10-13 16:26:46,856 - INFO - STARTING TEST : test_rp_interface 2025-10-13 16:26:46,856 - 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-13 16:26:47,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-13 16:26:47,114 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:26:47,114 - INFO - 2025-10-13 16:26:47,720 - DEBUG - Response for create_network : {'network': {'id': '04f8e633-2189-4aa0-a251-b86c49b3480c', 'name': 'ctest-bgpaas_vn-33818445', 'tenant_id': '7fdbcf6468374c30ba898c951738e9c1', 'project_id': '7fdbcf6468374c30ba898c951738e9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-88734813', 'ctest-bgpaas_vn-33818445'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:26:47,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bec45b3-91e4-4956-bf75-b983bc062bb7', 'name': '', 'tenant_id': '7fdbcf6468374c30ba898c951738e9c1', 'network_id': '04f8e633-2189-4aa0-a251-b86c49b3480c', 'ip_version': 4, 'cidr': '85.110.6.0/26', 'allocation_pools': [{'start': '85.110.6.2', 'end': '85.110.6.62'}], 'gateway_ip': '85.110.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.110.6.2', 'tags': [], 'project_id': '7fdbcf6468374c30ba898c951738e9c1'}} 2025-10-13 16:26:47,965 - INFO - Created VN ctest-bgpaas_vn-33818445 2025-10-13 16:26:48,016 - DEBUG - VN ctest-bgpaas_vn-33818445 UUID is 04f8e633-2189-4aa0-a251-b86c49b3480c 2025-10-13 16:26:48,496 - DEBUG - Response for create_network : {'network': {'id': '6be155e4-b224-429c-9e75-6a9d94890bf5', 'name': 'ctest-bgpaas_vn-08820977', 'tenant_id': '7fdbcf6468374c30ba898c951738e9c1', 'project_id': '7fdbcf6468374c30ba898c951738e9c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-88734813', 'ctest-bgpaas_vn-08820977'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:26:48,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e79de872-57e0-413c-ab14-68dd8a7246ff', 'name': '', 'tenant_id': '7fdbcf6468374c30ba898c951738e9c1', 'network_id': '6be155e4-b224-429c-9e75-6a9d94890bf5', 'ip_version': 4, 'cidr': '176.133.167.0/26', 'allocation_pools': [{'start': '176.133.167.2', 'end': '176.133.167.62'}], 'gateway_ip': '176.133.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.133.167.2', 'tags': [], 'project_id': '7fdbcf6468374c30ba898c951738e9c1'}} 2025-10-13 16:26:48,701 - INFO - Created VN ctest-bgpaas_vn-08820977 2025-10-13 16:26:48,756 - DEBUG - VN ctest-bgpaas_vn-08820977 UUID is 6be155e4-b224-429c-9e75-6a9d94890bf5 2025-10-13 16:26:50,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:26:51,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4307-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4307-1) 2025-10-13 16:26:51,576 - INFO - Waiting for VM test_vm to be up.. 2025-10-13 16:26:51,659 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:26:56,739 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:26:56,739 - INFO - VM name : test_vm 2025-10-13 16:26:56,819 - DEBUG - VM test_vm ID is db4fdbc1-7372-4a8f-b873-2f8af2ebc19b 2025-10-13 16:26:56,844 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:26:56,921 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/db4fdbc1-7372-4a8f-b873-2f8af2ebc19b 2025-10-13 16:26:57,256 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/db4fdbc1-7372-4a8f-b873-2f8af2ebc19b 2025-10-13 16:26:57,291 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6a55a054-c00b-4c96-b575-88bf3b73b2a3 2025-10-13 16:27:00,537 - 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 1001ms') 2025-10-13 16:27:00,537 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-13 16:27:00,592 - DEBUG - Gateway for vn default-domain:ctest-TestRP-88734813:ctest-bgpaas_vn-33818445 is 85.110.6.1 and allocation pool is NOT set 2025-10-13 16:27:02,655 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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.124/2.718/4.312/1.594 ms') 2025-10-13 16:27:02,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-13 16:27:02,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:27:02,812 - DEBUG - Waiting to SSH to VM test_vm, IP 85.110.6.3, Port 22 2025-10-13 16:27:02,968 - DEBUG - VM test_vm is ready for SSH connections 2025-10-13 16:27:02,968 - INFO - Waiting for VM test2_vm to be up.. 2025-10-13 16:27:03,053 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:27:03,053 - INFO - VM name : test2_vm 2025-10-13 16:27:03,128 - DEBUG - VM test2_vm ID is 9d74ad7c-c2cc-4f65-af93-82b0567e0f20 2025-10-13 16:27:03,128 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4307-1 2025-10-13 16:27:03,204 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9d74ad7c-c2cc-4f65-af93-82b0567e0f20 2025-10-13 16:27:03,213 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a65884a1-c176-48c2-8d23-d41b3cec6c9d 2025-10-13 16:27:04,457 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.630/3.246/3.862/0.616 ms') 2025-10-13 16:27:04,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-13 16:27:04,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:27:04,608 - DEBUG - Waiting to SSH to VM test2_vm, IP 176.133.167.3, Port 22 2025-10-13 16:27:04,663 - 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-13 16:27:04,742 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-13 16:27:09,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:27:09,742 - DEBUG - Waiting to SSH to VM test2_vm, IP 176.133.167.3, Port 22 2025-10-13 16:27:09,903 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-13 16:27:10,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:27:10,066 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-88734813:ctest-bgpaas_vn-33818445:ctest-bgpaas_vn-33818445.inet.0 2025-10-13 16:27:10,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:27:10,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.133.167.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 16:27:10,077 - DEBUG - ping -s 56 -c 3 -W 1 176.133.167.3 2025-10-13 16:27:13,816 - DEBUG - PING 176.133.167.3 (176.133.167.3): 56 data bytes 64 bytes from 176.133.167.3: seq=0 ttl=63 time=4.414 ms 64 bytes from 176.133.167.3: seq=1 ttl=63 time=1.000 ms 64 bytes from 176.133.167.3: seq=2 ttl=63 time=0.989 ms --- 176.133.167.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.989/2.134/4.414 ms 2025-10-13 16:27:13,816 - INFO - Ping to IP 176.133.167.3 from VM test_vm passed 2025-10-13 16:27:13,874 - INFO - Deleting VM test2_vm 2025-10-13 16:27:13,945 - INFO - Deleting VM test_vm 2025-10-13 16:27:14,034 - INFO - Deleting VN ctest-bgpaas_vn-08820977 2025-10-13 16:27:14,082 - DEBUG - VN 6be155e4-b224-429c-9e75-6a9d94890bf5 still in use: Unable to complete operation on network 6be155e4-b224-429c-9e75-6a9d94890bf5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-135c8da6-9594-4aef-9053-7d5e430b508e'] 2025-10-13 16:27:14,082 - WARNING - Deleting VN ctest-bgpaas_vn-08820977 failed..Will retry 2025-10-13 16:27:16,191 - DEBUG - Response for deleting network () 2025-10-13 16:27:16,191 - INFO - Deleting VN ctest-bgpaas_vn-33818445 2025-10-13 16:27:16,330 - DEBUG - Response for deleting network () 2025-10-13 16:27:16,590 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 16:27:16,590 - INFO - END TEST : test_rp_interface : PASSED[0:00:30] 2025-10-13 16:27:16,590 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:27:17,313 - INFO - Deleted project: ctest-TestRP-88734813, ID : 7fdbcf64-6837-4c30-ba89-8c951738e9c1