2025-11-05 16:27:37,550 - INFO - Domain Default found not creating 2025-11-05 16:27:37,682 - INFO - Project ctest-TestRP-45065355 not found, creating it 2025-11-05 16:27:38,103 - INFO - Created Project:ctest-TestRP-45065355, ID : aff7dd52-325c-40f1-81dd-13113e230b00 2025-11-05 16:27:39,473 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:27:39,474 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4650-1']} 2025-11-05 16:27:39,476 - INFO - ================================================================================ 2025-11-05 16:27:39,477 - INFO - STARTING TEST : test_rp_interface 2025-11-05 16:27:39,477 - 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-05 16:27:39,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.241': '0'}} with 2025-11-05 16:27:39,732 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:27:39,732 - INFO - 2025-11-05 16:27:40,259 - DEBUG - Response for create_network : {'network': {'id': '6a327206-371e-4c53-9510-fc7317678b46', 'name': 'ctest-bgpaas_vn-64432182', 'tenant_id': 'aff7dd52325c40f181dd13113e230b00', 'project_id': 'aff7dd52325c40f181dd13113e230b00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-45065355', 'ctest-bgpaas_vn-64432182'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:27:40,428 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec46e899-4b27-4102-9a48-44bbcf3bfe3b', 'name': '', 'tenant_id': 'aff7dd52325c40f181dd13113e230b00', 'network_id': '6a327206-371e-4c53-9510-fc7317678b46', 'ip_version': 4, 'cidr': '109.94.24.128/26', 'allocation_pools': [{'start': '109.94.24.130', 'end': '109.94.24.190'}], 'gateway_ip': '109.94.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.94.24.130', 'tags': [], 'project_id': 'aff7dd52325c40f181dd13113e230b00'}} 2025-11-05 16:27:40,448 - INFO - Created VN ctest-bgpaas_vn-64432182 2025-11-05 16:27:40,502 - DEBUG - VN ctest-bgpaas_vn-64432182 UUID is 6a327206-371e-4c53-9510-fc7317678b46 2025-11-05 16:27:40,980 - DEBUG - Response for create_network : {'network': {'id': '05a9a571-d3b7-427c-96f6-2be9c4fefc1e', 'name': 'ctest-bgpaas_vn-07525816', 'tenant_id': 'aff7dd52325c40f181dd13113e230b00', 'project_id': 'aff7dd52325c40f181dd13113e230b00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-45065355', 'ctest-bgpaas_vn-07525816'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:27:41,130 - DEBUG - Response for create_subnet : {'subnet': {'id': '46840a33-71d3-4c02-b030-7cb0213cdeb3', 'name': '', 'tenant_id': 'aff7dd52325c40f181dd13113e230b00', 'network_id': '05a9a571-d3b7-427c-96f6-2be9c4fefc1e', 'ip_version': 4, 'cidr': '204.179.19.128/26', 'allocation_pools': [{'start': '204.179.19.130', 'end': '204.179.19.190'}], 'gateway_ip': '204.179.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.179.19.130', 'tags': [], 'project_id': 'aff7dd52325c40f181dd13113e230b00'}} 2025-11-05 16:27:41,147 - INFO - Created VN ctest-bgpaas_vn-07525816 2025-11-05 16:27:41,198 - DEBUG - VN ctest-bgpaas_vn-07525816 UUID is 05a9a571-d3b7-427c-96f6-2be9c4fefc1e 2025-11-05 16:27:42,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:27:43,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4650-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4650-1) 2025-11-05 16:27:43,572 - INFO - Waiting for VM test_vm to be up.. 2025-11-05 16:27:43,646 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:27:48,724 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:27:48,724 - INFO - VM name : test_vm 2025-11-05 16:27:48,804 - DEBUG - VM test_vm ID is 371dac7e-5d8f-4fa1-992c-a70052b21aaf 2025-11-05 16:27:48,824 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:27:48,896 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/371dac7e-5d8f-4fa1-992c-a70052b21aaf 2025-11-05 16:27:49,185 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/371dac7e-5d8f-4fa1-992c-a70052b21aaf 2025-11-05 16:27:49,211 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/12e0dc49-7de8-4ec8-817b-c72e04a3b7ac 2025-11-05 16:27:52,454 - 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-11-05 16:27:52,454 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-05 16:27:52,532 - DEBUG - Gateway for vn default-domain:ctest-TestRP-45065355:ctest-bgpaas_vn-64432182 is 109.94.24.129 and allocation pool is NOT set 2025-11-05 16:27:54,593 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.629 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.629/1.889/3.149/1.260 ms') 2025-11-05 16:27:54,593 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-05 16:27:54,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:27:54,742 - DEBUG - Waiting to SSH to VM test_vm, IP 109.94.24.131, Port 22 2025-11-05 16:27:54,797 - 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-05 16:27:54,864 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 16:27:59,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:27:59,865 - DEBUG - Waiting to SSH to VM test_vm, IP 109.94.24.131, Port 22 2025-11-05 16:28:00,021 - DEBUG - VM test_vm is ready for SSH connections 2025-11-05 16:28:00,021 - INFO - Waiting for VM test2_vm to be up.. 2025-11-05 16:28:00,084 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:28:00,084 - INFO - VM name : test2_vm 2025-11-05 16:28:00,148 - DEBUG - VM test2_vm ID is e4a9332f-e151-4906-9ae3-6d1d89bcb080 2025-11-05 16:28:00,148 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4650-1 2025-11-05 16:28:00,215 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e4a9332f-e151-4906-9ae3-6d1d89bcb080 2025-11-05 16:28:00,223 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3b876213-c72b-44f5-953b-9b7b50d09114 2025-11-05 16:28:01,460 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.835/3.292/1.457 ms') 2025-11-05 16:28:01,460 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-05 16:28:01,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:28:01,606 - DEBUG - Waiting to SSH to VM test2_vm, IP 204.179.19.131, Port 22 2025-11-05 16:28:01,757 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-05 16:28:01,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:28:01,907 - DEBUG - Requesting: http://10.20.0.241:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-45065355:ctest-bgpaas_vn-64432182:ctest-bgpaas_vn-64432182.inet.0 2025-11-05 16:28:01,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:28:01,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.179.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-05 16:28:01,920 - DEBUG - ping -s 56 -c 3 -W 1 204.179.19.131 2025-11-05 16:28:05,913 - DEBUG - PING 204.179.19.131 (204.179.19.131): 56 data bytes 64 bytes from 204.179.19.131: seq=0 ttl=63 time=3.426 ms 64 bytes from 204.179.19.131: seq=1 ttl=63 time=0.735 ms 64 bytes from 204.179.19.131: seq=2 ttl=63 time=0.834 ms --- 204.179.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.665/3.426 ms 2025-11-05 16:28:05,913 - INFO - Ping to IP 204.179.19.131 from VM test_vm passed 2025-11-05 16:28:05,980 - INFO - Deleting VM test2_vm 2025-11-05 16:28:06,063 - INFO - Deleting VM test_vm 2025-11-05 16:28:06,136 - INFO - Deleting VN ctest-bgpaas_vn-07525816 2025-11-05 16:28:06,174 - DEBUG - VN 05a9a571-d3b7-427c-96f6-2be9c4fefc1e still in use: Unable to complete operation on network 05a9a571-d3b7-427c-96f6-2be9c4fefc1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b50fc1bc-5435-47be-9623-a7e20bbe4437'] 2025-11-05 16:28:06,174 - WARNING - Deleting VN ctest-bgpaas_vn-07525816 failed..Will retry 2025-11-05 16:28:08,277 - DEBUG - Response for deleting network () 2025-11-05 16:28:08,277 - INFO - Deleting VN ctest-bgpaas_vn-64432182 2025-11-05 16:28:08,375 - DEBUG - Response for deleting network () 2025-11-05 16:28:08,634 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:28:08,634 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-11-05 16:28:08,634 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:28:09,305 - INFO - Deleted project: ctest-TestRP-45065355, ID : aff7dd52-325c-40f1-81dd-13113e230b00