2025-07-24 02:27:50,419 - INFO - Domain Default found not creating 2025-07-24 02:27:50,646 - INFO - Project ctest-TestRP-18774308 not found, creating it 2025-07-24 02:27:51,176 - INFO - Created Project:ctest-TestRP-18774308, ID : e8ccae99-0e3a-4e74-a2ac-cee5a8bd44ca 2025-07-24 02:27:52,903 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:27:52,903 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3711-1']} 2025-07-24 02:27:52,906 - INFO - ================================================================================ 2025-07-24 02:27:52,906 - INFO - STARTING TEST : test_rp_interface 2025-07-24 02:27:52,906 - 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-07-24 02:27:53,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-24 02:27:53,169 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:27:53,169 - INFO - 2025-07-24 02:27:53,796 - DEBUG - Response for create_network : {'network': {'id': '3899e7f8-0084-4d74-adf6-9c0da86fb90d', 'name': 'ctest-bgpaas_vn-89294350', 'tenant_id': 'e8ccae990e3a4e74a2accee5a8bd44ca', 'project_id': 'e8ccae990e3a4e74a2accee5a8bd44ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18774308', 'ctest-bgpaas_vn-89294350'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:27:54,025 - DEBUG - Response for create_subnet : {'subnet': {'id': '847209be-7403-4d41-b879-ce8326545be9', 'name': '', 'tenant_id': 'e8ccae990e3a4e74a2accee5a8bd44ca', 'network_id': '3899e7f8-0084-4d74-adf6-9c0da86fb90d', 'ip_version': 4, 'cidr': '121.251.64.64/26', 'allocation_pools': [{'start': '121.251.64.66', 'end': '121.251.64.126'}], 'gateway_ip': '121.251.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.251.64.66', 'tags': [], 'project_id': 'e8ccae990e3a4e74a2accee5a8bd44ca'}} 2025-07-24 02:27:54,049 - INFO - Created VN ctest-bgpaas_vn-89294350 2025-07-24 02:27:54,104 - DEBUG - VN ctest-bgpaas_vn-89294350 UUID is 3899e7f8-0084-4d74-adf6-9c0da86fb90d 2025-07-24 02:27:54,675 - DEBUG - Response for create_network : {'network': {'id': '554bee4a-35af-4aec-a866-cbea068f4e73', 'name': 'ctest-bgpaas_vn-58202971', 'tenant_id': 'e8ccae990e3a4e74a2accee5a8bd44ca', 'project_id': 'e8ccae990e3a4e74a2accee5a8bd44ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18774308', 'ctest-bgpaas_vn-58202971'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:27:54,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd2cf406-004b-4cda-9829-d6dddfb344f3', 'name': '', 'tenant_id': 'e8ccae990e3a4e74a2accee5a8bd44ca', 'network_id': '554bee4a-35af-4aec-a866-cbea068f4e73', 'ip_version': 4, 'cidr': '124.211.174.128/26', 'allocation_pools': [{'start': '124.211.174.130', 'end': '124.211.174.190'}], 'gateway_ip': '124.211.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.211.174.130', 'tags': [], 'project_id': 'e8ccae990e3a4e74a2accee5a8bd44ca'}} 2025-07-24 02:27:54,943 - INFO - Created VN ctest-bgpaas_vn-58202971 2025-07-24 02:27:55,000 - DEBUG - VN ctest-bgpaas_vn-58202971 UUID is 554bee4a-35af-4aec-a866-cbea068f4e73 2025-07-24 02:27:56,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:27:57,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:27:57,851 - INFO - Waiting for VM test_vm to be up.. 2025-07-24 02:27:57,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:28:03,042 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:28:03,042 - INFO - VM name : test_vm 2025-07-24 02:28:03,140 - DEBUG - VM test_vm ID is 25cea186-c7af-44e3-a1be-ccfbefecc830 2025-07-24 02:28:03,166 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:28:03,262 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25cea186-c7af-44e3-a1be-ccfbefecc830 2025-07-24 02:28:03,585 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/25cea186-c7af-44e3-a1be-ccfbefecc830 2025-07-24 02:28:03,628 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b4d62e48-ec00-47f3-b985-d6df4943db32 2025-07-24 02:28:06,912 - 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-07-24 02:28:06,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-07-24 02:28:06,972 - DEBUG - Gateway for vn default-domain:ctest-TestRP-18774308:ctest-bgpaas_vn-89294350 is 121.251.64.65 and allocation pool is NOT set 2025-07-24 02:28:09,033 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.269/6.058/10.847/4.789 ms') 2025-07-24 02:28:09,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-07-24 02:28:09,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:28:09,188 - DEBUG - Waiting to SSH to VM test_vm, IP 121.251.64.67, Port 22 2025-07-24 02:28:09,348 - DEBUG - VM test_vm is ready for SSH connections 2025-07-24 02:28:09,348 - INFO - Waiting for VM test2_vm to be up.. 2025-07-24 02:28:09,460 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:28:09,460 - INFO - VM name : test2_vm 2025-07-24 02:28:09,607 - DEBUG - VM test2_vm ID is d22644f7-d107-4ba3-ad0b-6250d4f9eafe 2025-07-24 02:28:09,608 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:28:09,712 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d22644f7-d107-4ba3-ad0b-6250d4f9eafe 2025-07-24 02:28:09,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cd46f6f7-3907-4fdb-b625-a0b3b6ab034d 2025-07-24 02:28:10,987 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/2.010/3.540/1.530 ms') 2025-07-24 02:28:10,987 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-07-24 02:28:11,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:28:11,144 - DEBUG - Waiting to SSH to VM test2_vm, IP 124.211.174.131, Port 22 2025-07-24 02:28:11,300 - DEBUG - VM test2_vm is ready for SSH connections 2025-07-24 02:28:11,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:28:11,476 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-18774308:ctest-bgpaas_vn-89294350:ctest-bgpaas_vn-89294350.inet.0 2025-07-24 02:28:12,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:28:12,499 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-18774308:ctest-bgpaas_vn-89294350:ctest-bgpaas_vn-89294350.inet.0 2025-07-24 02:28:12,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:28:12,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.211.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:28:12,510 - DEBUG - ping -s 56 -c 3 -W 1 124.211.174.131 2025-07-24 02:28:16,200 - DEBUG - PING 124.211.174.131 (124.211.174.131): 56 data bytes 64 bytes from 124.211.174.131: seq=0 ttl=63 time=3.764 ms 64 bytes from 124.211.174.131: seq=1 ttl=63 time=0.926 ms 64 bytes from 124.211.174.131: seq=2 ttl=63 time=0.900 ms --- 124.211.174.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/1.863/3.764 ms 2025-07-24 02:28:16,200 - INFO - Ping to IP 124.211.174.131 from VM test_vm passed 2025-07-24 02:28:16,275 - INFO - Deleting VM test2_vm 2025-07-24 02:28:16,354 - INFO - Deleting VM test_vm 2025-07-24 02:28:16,434 - INFO - Deleting VN ctest-bgpaas_vn-58202971 2025-07-24 02:28:16,482 - DEBUG - VN 554bee4a-35af-4aec-a866-cbea068f4e73 still in use: Unable to complete operation on network 554bee4a-35af-4aec-a866-cbea068f4e73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-154d4c49-4de0-4a23-bdfc-fc3a3abf22b6'] 2025-07-24 02:28:16,482 - WARNING - Deleting VN ctest-bgpaas_vn-58202971 failed..Will retry 2025-07-24 02:28:18,618 - DEBUG - Response for deleting network () 2025-07-24 02:28:18,618 - INFO - Deleting VN ctest-bgpaas_vn-89294350 2025-07-24 02:28:18,745 - DEBUG - Response for deleting network () 2025-07-24 02:28:19,007 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:28:19,007 - INFO - END TEST : test_rp_interface : PASSED[0:00:27]
2025-07-24 02:28:19,007 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:28:19,745 - INFO - Deleted project: ctest-TestRP-18774308, ID : e8ccae99-0e3a-4e74-a2ac-cee5a8bd44ca