2026-08-22 08:42:38,129 - INFO - Domain Default found not creating 2026-08-22 08:42:38,309 - INFO - Project ctest-TestRP-94907152 not found, creating it 2026-08-22 08:42:38,816 - INFO - Created Project:ctest-TestRP-94907152, ID : 878bffde-548e-4596-8583-9b9344f820b6 2026-08-22 08:42:40,788 - DEBUG - Services list from nova: [, , ] 2026-08-22 08:42:40,789 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-6206-1']} 2026-08-22 08:42:40,791 - INFO - ================================================================================ 2026-08-22 08:42:40,791 - INFO - STARTING TEST : test_rp_interface 2026-08-22 08:42:40,791 - 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. 2026-08-22 08:42:41,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-22 08:42:41,074 - INFO - Initial checks done. Running the testcase now 2026-08-22 08:42:41,074 - INFO - 2026-08-22 08:42:41,739 - DEBUG - Response for create_network : {'network': {'id': 'a9f25203-6236-4385-bfba-fb01f8dac9ed', 'name': 'ctest-bgpaas_vn-89287513', 'tenant_id': '878bffde548e459685839b9344f820b6', 'project_id': '878bffde548e459685839b9344f820b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-94907152', 'ctest-bgpaas_vn-89287513'], 'port_security_enabled': True, 'description': ''}} 2026-08-22 08:42:41,932 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a561723f-0e31-4e28-98bc-3c44e90797f4', 'name': '', 'tenant_id': '878bffde548e459685839b9344f820b6', 'network_id': 'a9f25203-6236-4385-bfba-fb01f8dac9ed', 'ip_version': 4, 'cidr': '138.198.155.128/26', 'allocation_pools': [{'start': '138.198.155.130', 'end': '138.198.155.190'}], 'gateway_ip': '138.198.155.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.198.155.130', 'tags': [], 'project_id': '878bffde548e459685839b9344f820b6'}} 2026-08-22 08:42:41,952 - INFO - Created VN ctest-bgpaas_vn-89287513 2026-08-22 08:42:42,008 - DEBUG - VN ctest-bgpaas_vn-89287513 UUID is a9f25203-6236-4385-bfba-fb01f8dac9ed 2026-08-22 08:42:42,560 - DEBUG - Response for create_network : {'network': {'id': 'b1a3f1d3-9456-4558-9e46-0d29eb71cee4', 'name': 'ctest-bgpaas_vn-66221630', 'tenant_id': '878bffde548e459685839b9344f820b6', 'project_id': '878bffde548e459685839b9344f820b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-94907152', 'ctest-bgpaas_vn-66221630'], 'port_security_enabled': True, 'description': ''}} 2026-08-22 08:42:42,802 - DEBUG - Response for create_subnet : {'subnet': {'id': '8585d0ea-2b2d-4e25-933f-46d8b3320349', 'name': '', 'tenant_id': '878bffde548e459685839b9344f820b6', 'network_id': 'b1a3f1d3-9456-4558-9e46-0d29eb71cee4', 'ip_version': 4, 'cidr': '138.196.1.64/26', 'allocation_pools': [{'start': '138.196.1.66', 'end': '138.196.1.126'}], 'gateway_ip': '138.196.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.196.1.66', 'tags': [], 'project_id': '878bffde548e459685839b9344f820b6'}} 2026-08-22 08:42:42,822 - INFO - Created VN ctest-bgpaas_vn-66221630 2026-08-22 08:42:42,872 - DEBUG - VN ctest-bgpaas_vn-66221630 UUID is b1a3f1d3-9456-4558-9e46-0d29eb71cee4 2026-08-22 08:42:43,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6206-1) 2026-08-22 08:42:44,249 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6206-1) 2026-08-22 08:42:44,249 - INFO - Waiting for VM test_vm to be up.. 2026-08-22 08:42:44,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:42:49,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:42:54,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:42:59,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:43:04,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:43:09,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:43:14,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:43:19,976 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-22 08:43:25,078 - DEBUG - VM is in ACTIVE state now 2026-08-22 08:43:25,078 - INFO - VM name : test_vm 2026-08-22 08:43:25,167 - DEBUG - VM test_vm ID is 1e376b78-3c03-4aa3-b388-92d90e4f8ee2 2026-08-22 08:43:25,189 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-6206-1 2026-08-22 08:43:25,280 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1e376b78-3c03-4aa3-b388-92d90e4f8ee2 2026-08-22 08:43:25,652 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1e376b78-3c03-4aa3-b388-92d90e4f8ee2 2026-08-22 08:43:25,694 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f9f6a3ab-49b6-4fa7-b174-ea4dab0656fe 2026-08-22 08:43:26,943 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.567 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.567/2.090/3.613/1.523 ms') 2026-08-22 08:43:26,943 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2026-08-22 08:43:27,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 08:43:27,096 - DEBUG - Waiting to SSH to VM test_vm, IP 138.198.155.131, Port 22 2026-08-22 08:43:27,262 - DEBUG - VM test_vm is ready for SSH connections 2026-08-22 08:43:27,263 - INFO - Waiting for VM test2_vm to be up.. 2026-08-22 08:43:27,346 - DEBUG - VM is in ACTIVE state now 2026-08-22 08:43:27,346 - INFO - VM name : test2_vm 2026-08-22 08:43:27,428 - DEBUG - VM test2_vm ID is 7c805595-7b9f-4c27-9488-78977470273a 2026-08-22 08:43:27,428 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-6206-1 2026-08-22 08:43:27,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7c805595-7b9f-4c27-9488-78977470273a 2026-08-22 08:43:27,516 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d5feb463-5261-4f45-8df4-8cf8655f050b 2026-08-22 08:43:30,780 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2026-08-22 08:43:30,780 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM test2_vm failed! 2026-08-22 08:43:30,836 - DEBUG - Gateway for vn default-domain:ctest-TestRP-94907152:ctest-bgpaas_vn-66221630 is 138.196.1.65 and allocation pool is NOT set 2026-08-22 08:43:32,901 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.21 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 = 2.205/3.772/5.340/1.567 ms') 2026-08-22 08:43:32,901 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2026-08-22 08:43:33,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 08:43:33,056 - DEBUG - Waiting to SSH to VM test2_vm, IP 138.196.1.67, Port 22 2026-08-22 08:43:33,122 - 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': ''} 2026-08-22 08:43:33,215 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2026-08-22 08:43:38,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 08:43:38,216 - DEBUG - Waiting to SSH to VM test2_vm, IP 138.196.1.67, Port 22 2026-08-22 08:43:38,390 - DEBUG - VM test2_vm is ready for SSH connections 2026-08-22 08:43:38,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 08:43:38,555 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94907152:ctest-bgpaas_vn-89287513:ctest-bgpaas_vn-89287513.inet.0 2026-08-22 08:43:39,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 08:43:39,576 - DEBUG - Requesting: http://10.20.0.25:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-94907152:ctest-bgpaas_vn-89287513:ctest-bgpaas_vn-89287513.inet.0 2026-08-22 08:43:39,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-22 08:43:39,589 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.196.1.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-22 08:43:39,589 - DEBUG - ping -s 56 -c 3 -W 1 138.196.1.67 2026-08-22 08:43:43,759 - DEBUG - PING 138.196.1.67 (138.196.1.67): 56 data bytes 64 bytes from 138.196.1.67: seq=0 ttl=63 time=4.896 ms 64 bytes from 138.196.1.67: seq=1 ttl=63 time=0.998 ms 64 bytes from 138.196.1.67: seq=2 ttl=63 time=0.937 ms --- 138.196.1.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.937/2.277/4.896 ms 2026-08-22 08:43:43,759 - INFO - Ping to IP 138.196.1.67 from VM test_vm passed 2026-08-22 08:43:43,852 - INFO - Deleting VM test2_vm 2026-08-22 08:43:43,943 - INFO - Deleting VM test_vm 2026-08-22 08:43:44,026 - INFO - Deleting VN ctest-bgpaas_vn-66221630 2026-08-22 08:43:44,071 - DEBUG - VN b1a3f1d3-9456-4558-9e46-0d29eb71cee4 still in use: Unable to complete operation on network b1a3f1d3-9456-4558-9e46-0d29eb71cee4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6bd53bd-61a1-4847-b2ac-3a5b3f0c7727'] 2026-08-22 08:43:44,071 - WARNING - Deleting VN ctest-bgpaas_vn-66221630 failed..Will retry 2026-08-22 08:43:46,120 - DEBUG - VN b1a3f1d3-9456-4558-9e46-0d29eb71cee4 still in use: Unable to complete operation on network b1a3f1d3-9456-4558-9e46-0d29eb71cee4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-692cce9c-90db-443c-856f-2852af0bdffc'] 2026-08-22 08:43:46,120 - WARNING - Deleting VN ctest-bgpaas_vn-66221630 failed..Will retry 2026-08-22 08:43:48,252 - DEBUG - Response for deleting network () 2026-08-22 08:43:48,252 - INFO - Deleting VN ctest-bgpaas_vn-89287513 2026-08-22 08:43:48,407 - DEBUG - Response for deleting network () 2026-08-22 08:43:48,679 - DEBUG - No XMPP flaps were noticed during the test
2026-08-22 08:43:48,679 - INFO - END TEST : test_rp_interface : PASSED[0:01:08]
2026-08-22 08:43:48,679 - INFO - -------------------------------------------------------------------------------- 2026-08-22 08:43:49,482 - INFO - Deleted project: ctest-TestRP-94907152, ID : 878bffde-548e-4596-8583-9b9344f820b6