2025-08-11 12:16:20,877 - INFO - Domain Default found not creating 2025-08-11 12:16:20,998 - INFO - Project ctest-TestRP-18049051 not found, creating it 2025-08-11 12:16:21,407 - INFO - Created Project:ctest-TestRP-18049051, ID : 7cbb7d3d-ed25-4a54-9505-5cbd3e0d529d 2025-08-11 12:16:22,726 - DEBUG - Services list from nova: [, , ] 2025-08-11 12:16:22,727 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3805-1']} 2025-08-11 12:16:22,729 - INFO - ================================================================================ 2025-08-11 12:16:22,729 - INFO - STARTING TEST : test_rp_interface 2025-08-11 12:16:22,729 - 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-08-11 12:16:22,984 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 12:16:22,984 - INFO - Initial checks done. Running the testcase now 2025-08-11 12:16:22,984 - INFO - 2025-08-11 12:16:23,494 - DEBUG - Response for create_network : {'network': {'id': '9a239bc3-25e4-4756-ac1d-097ae51e4979', 'name': 'ctest-bgpaas_vn-72637239', 'tenant_id': '7cbb7d3ded254a5495055cbd3e0d529d', 'project_id': '7cbb7d3ded254a5495055cbd3e0d529d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18049051', 'ctest-bgpaas_vn-72637239'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:16:23,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4203638-20c1-407a-a948-103e8a841eb5', 'name': '', 'tenant_id': '7cbb7d3ded254a5495055cbd3e0d529d', 'network_id': '9a239bc3-25e4-4756-ac1d-097ae51e4979', 'ip_version': 4, 'cidr': '137.188.4.192/26', 'allocation_pools': [{'start': '137.188.4.194', 'end': '137.188.4.254'}], 'gateway_ip': '137.188.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.188.4.194', 'tags': [], 'project_id': '7cbb7d3ded254a5495055cbd3e0d529d'}} 2025-08-11 12:16:23,717 - INFO - Created VN ctest-bgpaas_vn-72637239 2025-08-11 12:16:23,771 - DEBUG - VN ctest-bgpaas_vn-72637239 UUID is 9a239bc3-25e4-4756-ac1d-097ae51e4979 2025-08-11 12:16:24,263 - DEBUG - Response for create_network : {'network': {'id': '1d670e27-b6bc-4cca-8e69-14ddc1bc67bd', 'name': 'ctest-bgpaas_vn-41517168', 'tenant_id': '7cbb7d3ded254a5495055cbd3e0d529d', 'project_id': '7cbb7d3ded254a5495055cbd3e0d529d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18049051', 'ctest-bgpaas_vn-41517168'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 12:16:24,427 - DEBUG - Response for create_subnet : {'subnet': {'id': '25174823-2443-417c-b1c5-e8cbccd1bd4b', 'name': '', 'tenant_id': '7cbb7d3ded254a5495055cbd3e0d529d', 'network_id': '1d670e27-b6bc-4cca-8e69-14ddc1bc67bd', 'ip_version': 4, 'cidr': '14.249.208.128/26', 'allocation_pools': [{'start': '14.249.208.130', 'end': '14.249.208.190'}], 'gateway_ip': '14.249.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.249.208.130', 'tags': [], 'project_id': '7cbb7d3ded254a5495055cbd3e0d529d'}} 2025-08-11 12:16:24,442 - INFO - Created VN ctest-bgpaas_vn-41517168 2025-08-11 12:16:24,495 - DEBUG - VN ctest-bgpaas_vn-41517168 UUID is 1d670e27-b6bc-4cca-8e69-14ddc1bc67bd 2025-08-11 12:16:25,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1) 2025-08-11 12:16:26,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3805-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3805-1) 2025-08-11 12:16:26,756 - INFO - Waiting for VM test_vm to be up.. 2025-08-11 12:16:26,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 12:16:31,883 - DEBUG - VM is in ACTIVE state now 2025-08-11 12:16:31,883 - INFO - VM name : test_vm 2025-08-11 12:16:31,938 - DEBUG - VM test_vm ID is f1f056a5-7bed-4398-b9db-489fe940f25e 2025-08-11 12:16:31,953 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1 2025-08-11 12:16:32,009 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f1f056a5-7bed-4398-b9db-489fe940f25e 2025-08-11 12:16:32,298 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f1f056a5-7bed-4398-b9db-489fe940f25e 2025-08-11 12:16:32,325 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/bd2dd0f2-964b-4448-8a1b-1830a398bc10 2025-08-11 12:16:35,556 - 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 1004ms') 2025-08-11 12:16:35,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-11 12:16:35,611 - DEBUG - Gateway for vn default-domain:ctest-TestRP-18049051:ctest-bgpaas_vn-72637239 is 137.188.4.193 and allocation pool is NOT set 2025-08-11 12:16:37,674 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.838/2.816/3.795/0.978 ms') 2025-08-11 12:16:37,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-11 12:16:37,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:37,823 - DEBUG - Waiting to SSH to VM test_vm, IP 137.188.4.195, Port 22 2025-08-11 12:16:37,878 - 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-08-11 12:16:37,952 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 12:16:42,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:42,952 - DEBUG - Waiting to SSH to VM test_vm, IP 137.188.4.195, Port 22 2025-08-11 12:16:43,106 - DEBUG - VM test_vm is ready for SSH connections 2025-08-11 12:16:43,106 - INFO - Waiting for VM test2_vm to be up.. 2025-08-11 12:16:43,167 - DEBUG - VM is in ACTIVE state now 2025-08-11 12:16:43,167 - INFO - VM name : test2_vm 2025-08-11 12:16:43,229 - DEBUG - VM test2_vm ID is 75f5343e-84ec-4ae9-a365-1fdf34041ec6 2025-08-11 12:16:43,229 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3805-1 2025-08-11 12:16:43,285 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/75f5343e-84ec-4ae9-a365-1fdf34041ec6 2025-08-11 12:16:43,292 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f1977d45-d5b8-446c-aa1c-a47868021496 2025-08-11 12:16:44,525 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.254 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.254/1.856/3.459/1.602 ms') 2025-08-11 12:16:44,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-11 12:16:44,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:44,679 - DEBUG - Waiting to SSH to VM test2_vm, IP 14.249.208.131, Port 22 2025-08-11 12:16:44,831 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-11 12:16:44,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:44,996 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-18049051:ctest-bgpaas_vn-72637239:ctest-bgpaas_vn-72637239.inet.0 2025-08-11 12:16:45,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 12:16:45,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.249.208.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 12:16:45,005 - DEBUG - ping -s 56 -c 3 -W 1 14.249.208.131 2025-08-11 12:16:48,606 - DEBUG - PING 14.249.208.131 (14.249.208.131): 56 data bytes 64 bytes from 14.249.208.131: seq=0 ttl=63 time=3.186 ms 64 bytes from 14.249.208.131: seq=1 ttl=63 time=0.680 ms 64 bytes from 14.249.208.131: seq=2 ttl=63 time=0.647 ms --- 14.249.208.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.647/1.504/3.186 ms 2025-08-11 12:16:48,606 - INFO - Ping to IP 14.249.208.131 from VM test_vm passed 2025-08-11 12:16:48,667 - INFO - Deleting VM test2_vm 2025-08-11 12:16:48,725 - INFO - Deleting VM test_vm 2025-08-11 12:16:48,781 - INFO - Deleting VN ctest-bgpaas_vn-41517168 2025-08-11 12:16:48,815 - DEBUG - VN 1d670e27-b6bc-4cca-8e69-14ddc1bc67bd still in use: Unable to complete operation on network 1d670e27-b6bc-4cca-8e69-14ddc1bc67bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-547b342f-2f3a-475a-bfda-3f404b0aefc5'] 2025-08-11 12:16:48,815 - WARNING - Deleting VN ctest-bgpaas_vn-41517168 failed..Will retry 2025-08-11 12:16:50,913 - DEBUG - Response for deleting network () 2025-08-11 12:16:50,913 - INFO - Deleting VN ctest-bgpaas_vn-72637239 2025-08-11 12:16:51,010 - DEBUG - Response for deleting network () 2025-08-11 12:16:51,273 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 12:16:51,273 - INFO - END TEST : test_rp_interface : PASSED[0:00:29]
2025-08-11 12:16:51,273 - INFO - -------------------------------------------------------------------------------- 2025-08-11 12:16:51,942 - INFO - Deleted project: ctest-TestRP-18049051, ID : 7cbb7d3d-ed25-4a54-9505-5cbd3e0d529d