2025-11-27 02:09:37,077 - INFO - Domain Default found not creating 2025-11-27 02:09:37,250 - INFO - Project ctest-TestRP-24572100 not found, creating it 2025-11-27 02:09:37,715 - INFO - Created Project:ctest-TestRP-24572100, ID : cf27cd7f-fe94-4886-b496-cf4c604094ac 2025-11-27 02:09:39,332 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:09:39,332 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4817-1']} 2025-11-27 02:09:39,335 - INFO - ================================================================================ 2025-11-27 02:09:39,335 - INFO - STARTING TEST : test_rp_interface 2025-11-27 02:09:39,336 - 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-27 02:09:39,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-27 02:09:39,593 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:09:39,593 - INFO - 2025-11-27 02:09:40,196 - DEBUG - Response for create_network : {'network': {'id': '62a3a529-8214-4228-bb96-6cbe653b9486', 'name': 'ctest-bgpaas_vn-84727449', 'tenant_id': 'cf27cd7ffe944886b496cf4c604094ac', 'project_id': 'cf27cd7ffe944886b496cf4c604094ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-24572100', 'ctest-bgpaas_vn-84727449'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:09:40,423 - DEBUG - Response for create_subnet : {'subnet': {'id': '689915a3-5d44-4bb0-af76-c647084272fa', 'name': '', 'tenant_id': 'cf27cd7ffe944886b496cf4c604094ac', 'network_id': '62a3a529-8214-4228-bb96-6cbe653b9486', 'ip_version': 4, 'cidr': '212.246.250.0/26', 'allocation_pools': [{'start': '212.246.250.2', 'end': '212.246.250.62'}], 'gateway_ip': '212.246.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.246.250.2', 'tags': [], 'project_id': 'cf27cd7ffe944886b496cf4c604094ac'}} 2025-11-27 02:09:40,442 - INFO - Created VN ctest-bgpaas_vn-84727449 2025-11-27 02:09:40,492 - DEBUG - VN ctest-bgpaas_vn-84727449 UUID is 62a3a529-8214-4228-bb96-6cbe653b9486 2025-11-27 02:09:41,002 - DEBUG - Response for create_network : {'network': {'id': 'a8005641-d371-4308-b592-580b25cdb7fa', 'name': 'ctest-bgpaas_vn-99196022', 'tenant_id': 'cf27cd7ffe944886b496cf4c604094ac', 'project_id': 'cf27cd7ffe944886b496cf4c604094ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-24572100', 'ctest-bgpaas_vn-99196022'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:09:41,188 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f88ca86e-24af-478d-a7ec-d910c6e0cc63', 'name': '', 'tenant_id': 'cf27cd7ffe944886b496cf4c604094ac', 'network_id': 'a8005641-d371-4308-b592-580b25cdb7fa', 'ip_version': 4, 'cidr': '31.104.245.0/26', 'allocation_pools': [{'start': '31.104.245.2', 'end': '31.104.245.62'}], 'gateway_ip': '31.104.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.104.245.2', 'tags': [], 'project_id': 'cf27cd7ffe944886b496cf4c604094ac'}} 2025-11-27 02:09:41,214 - INFO - Created VN ctest-bgpaas_vn-99196022 2025-11-27 02:09:41,268 - DEBUG - VN ctest-bgpaas_vn-99196022 UUID is a8005641-d371-4308-b592-580b25cdb7fa 2025-11-27 02:09:42,711 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4817-1) 2025-11-27 02:09:44,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4817-1) 2025-11-27 02:09:44,023 - INFO - Waiting for VM test_vm to be up.. 2025-11-27 02:09:44,114 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:09:49,188 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:09:49,189 - INFO - VM name : test_vm 2025-11-27 02:09:49,260 - DEBUG - VM test_vm ID is c3c98e70-76f0-441a-a6ad-24590ac45d78 2025-11-27 02:09:49,279 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4817-1 2025-11-27 02:09:49,358 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c3c98e70-76f0-441a-a6ad-24590ac45d78 2025-11-27 02:09:49,700 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c3c98e70-76f0-441a-a6ad-24590ac45d78 2025-11-27 02:09:49,737 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/97d14572-86b5-4a58-bb25-4eb326acdb76 2025-11-27 02:09:53,012 - 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 1030ms') 2025-11-27 02:09:53,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-27 02:09:53,072 - DEBUG - Gateway for vn default-domain:ctest-TestRP-24572100:ctest-bgpaas_vn-84727449 is 212.246.250.1 and allocation pool is NOT set 2025-11-27 02:09:55,132 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.72 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 = 3.706/3.712/3.719/0.006 ms') 2025-11-27 02:09:55,132 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-27 02:09:55,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:09:55,288 - DEBUG - Waiting to SSH to VM test_vm, IP 212.246.250.3, Port 22 2025-11-27 02:09:55,454 - DEBUG - VM test_vm is ready for SSH connections 2025-11-27 02:09:55,454 - INFO - Waiting for VM test2_vm to be up.. 2025-11-27 02:09:55,551 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:09:55,552 - INFO - VM name : test2_vm 2025-11-27 02:09:55,733 - DEBUG - VM test2_vm ID is 0f4f413d-cf53-4c15-9282-0b90fc24981a 2025-11-27 02:09:55,733 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4817-1 2025-11-27 02:09:55,802 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0f4f413d-cf53-4c15-9282-0b90fc24981a 2025-11-27 02:09:55,811 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f755e4d2-d796-452a-897f-96096819c282 2025-11-27 02:09:57,040 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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 = 1.086/3.295/5.504/2.209 ms') 2025-11-27 02:09:57,041 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-27 02:09:57,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:09:57,188 - DEBUG - Waiting to SSH to VM test2_vm, IP 31.104.245.3, Port 22 2025-11-27 02:09:57,253 - 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-11-27 02:09:57,326 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 02:10:02,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:10:02,327 - DEBUG - Waiting to SSH to VM test2_vm, IP 31.104.245.3, Port 22 2025-11-27 02:10:02,483 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-27 02:10:02,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:10:02,634 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-24572100:ctest-bgpaas_vn-84727449:ctest-bgpaas_vn-84727449.inet.0 2025-11-27 02:10:03,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:10:03,652 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-24572100:ctest-bgpaas_vn-84727449:ctest-bgpaas_vn-84727449.inet.0 2025-11-27 02:10:03,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:10:03,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.104.245.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-27 02:10:03,664 - DEBUG - ping -s 56 -c 3 -W 1 31.104.245.3 2025-11-27 02:10:07,389 - DEBUG - PING 31.104.245.3 (31.104.245.3): 56 data bytes 64 bytes from 31.104.245.3: seq=0 ttl=63 time=4.552 ms 64 bytes from 31.104.245.3: seq=1 ttl=63 time=0.919 ms 64 bytes from 31.104.245.3: seq=2 ttl=63 time=0.786 ms --- 31.104.245.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/2.085/4.552 ms 2025-11-27 02:10:07,389 - INFO - Ping to IP 31.104.245.3 from VM test_vm passed 2025-11-27 02:10:07,451 - INFO - Deleting VM test2_vm 2025-11-27 02:10:07,523 - INFO - Deleting VM test_vm 2025-11-27 02:10:07,593 - INFO - Deleting VN ctest-bgpaas_vn-99196022 2025-11-27 02:10:07,630 - DEBUG - VN a8005641-d371-4308-b592-580b25cdb7fa still in use: Unable to complete operation on network a8005641-d371-4308-b592-580b25cdb7fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e6a2d477-8bea-4ed1-b31b-1271aa8af863'] 2025-11-27 02:10:07,631 - WARNING - Deleting VN ctest-bgpaas_vn-99196022 failed..Will retry 2025-11-27 02:10:09,733 - DEBUG - Response for deleting network () 2025-11-27 02:10:09,733 - INFO - Deleting VN ctest-bgpaas_vn-84727449 2025-11-27 02:10:09,832 - DEBUG - Response for deleting network () 2025-11-27 02:10:10,098 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:10:10,098 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-11-27 02:10:10,098 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:10:10,863 - INFO - Deleted project: ctest-TestRP-24572100, ID : cf27cd7f-fe94-4886-b496-cf4c604094ac