2025-10-27 04:09:29,447 - INFO - Domain Default found not creating 2025-10-27 04:09:29,602 - INFO - Project ctest-TestRP-10317091 not found, creating it 2025-10-27 04:09:30,078 - INFO - Created Project:ctest-TestRP-10317091, ID : 7e47724e-f63f-4cd7-b066-db2234c36352 2025-10-27 04:09:31,561 - DEBUG - Services list from nova: [, , ] 2025-10-27 04:09:31,561 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4491-1']} 2025-10-27 04:09:31,564 - INFO - ================================================================================ 2025-10-27 04:09:31,565 - INFO - STARTING TEST : test_rp_interface 2025-10-27 04:09:31,565 - 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-10-27 04:09:31,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-27 04:09:31,821 - INFO - Initial checks done. Running the testcase now 2025-10-27 04:09:31,821 - INFO - 2025-10-27 04:09:32,383 - DEBUG - Response for create_network : {'network': {'id': '70353059-881d-485e-a786-74061cb35245', 'name': 'ctest-bgpaas_vn-06826370', 'tenant_id': '7e47724ef63f4cd7b066db2234c36352', 'project_id': '7e47724ef63f4cd7b066db2234c36352', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-10317091', 'ctest-bgpaas_vn-06826370'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:09:32,554 - DEBUG - Response for create_subnet : {'subnet': {'id': '05762b89-48a6-4088-922a-606b6d5c0428', 'name': '', 'tenant_id': '7e47724ef63f4cd7b066db2234c36352', 'network_id': '70353059-881d-485e-a786-74061cb35245', 'ip_version': 4, 'cidr': '163.117.189.192/26', 'allocation_pools': [{'start': '163.117.189.194', 'end': '163.117.189.254'}], 'gateway_ip': '163.117.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.117.189.194', 'tags': [], 'project_id': '7e47724ef63f4cd7b066db2234c36352'}} 2025-10-27 04:09:32,572 - INFO - Created VN ctest-bgpaas_vn-06826370 2025-10-27 04:09:32,628 - DEBUG - VN ctest-bgpaas_vn-06826370 UUID is 70353059-881d-485e-a786-74061cb35245 2025-10-27 04:09:33,078 - DEBUG - Response for create_network : {'network': {'id': '047336ee-efb5-4e38-804f-0e62276a266b', 'name': 'ctest-bgpaas_vn-85465852', 'tenant_id': '7e47724ef63f4cd7b066db2234c36352', 'project_id': '7e47724ef63f4cd7b066db2234c36352', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-10317091', 'ctest-bgpaas_vn-85465852'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:09:33,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '46d2899a-e548-417f-876f-a096847dc416', 'name': '', 'tenant_id': '7e47724ef63f4cd7b066db2234c36352', 'network_id': '047336ee-efb5-4e38-804f-0e62276a266b', 'ip_version': 4, 'cidr': '135.142.9.64/26', 'allocation_pools': [{'start': '135.142.9.66', 'end': '135.142.9.126'}], 'gateway_ip': '135.142.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.142.9.66', 'tags': [], 'project_id': '7e47724ef63f4cd7b066db2234c36352'}} 2025-10-27 04:09:33,326 - INFO - Created VN ctest-bgpaas_vn-85465852 2025-10-27 04:09:33,380 - DEBUG - VN ctest-bgpaas_vn-85465852 UUID is 047336ee-efb5-4e38-804f-0e62276a266b 2025-10-27 04:09:34,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:09:35,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:09:35,951 - INFO - Waiting for VM test_vm to be up.. 2025-10-27 04:09:36,028 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 04:09:41,103 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:09:41,104 - INFO - VM name : test_vm 2025-10-27 04:09:41,179 - DEBUG - VM test_vm ID is 77f44d98-fcd9-4ff9-a605-956dc31e3501 2025-10-27 04:09:41,198 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:09:41,269 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/77f44d98-fcd9-4ff9-a605-956dc31e3501 2025-10-27 04:09:41,565 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/77f44d98-fcd9-4ff9-a605-956dc31e3501 2025-10-27 04:09:41,600 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b6fb7586-2777-4eac-9c82-042b9ec1bae7 2025-10-27 04:09:44,866 - 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 1021ms') 2025-10-27 04:09:44,866 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-27 04:09:44,924 - DEBUG - Gateway for vn default-domain:ctest-TestRP-10317091:ctest-bgpaas_vn-06826370 is 163.117.189.193 and allocation pool is NOT set 2025-10-27 04:09:46,985 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 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.030/2.391/3.752/1.361 ms') 2025-10-27 04:09:46,985 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-27 04:09:47,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:47,132 - DEBUG - Waiting to SSH to VM test_vm, IP 163.117.189.195, Port 22 2025-10-27 04:09:47,198 - 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-10-27 04:09:47,273 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 04:09:52,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:52,274 - DEBUG - Waiting to SSH to VM test_vm, IP 163.117.189.195, Port 22 2025-10-27 04:09:52,440 - DEBUG - VM test_vm is ready for SSH connections 2025-10-27 04:09:52,440 - INFO - Waiting for VM test2_vm to be up.. 2025-10-27 04:09:52,511 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:09:52,511 - INFO - VM name : test2_vm 2025-10-27 04:09:52,580 - DEBUG - VM test2_vm ID is 8abd9c8a-696d-4bf8-ae6a-e34fa7095764 2025-10-27 04:09:52,581 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:09:52,649 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8abd9c8a-696d-4bf8-ae6a-e34fa7095764 2025-10-27 04:09:52,657 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c7a796be-a64c-4be0-875c-6279f193d78c 2025-10-27 04:09:53,890 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.756/3.084/1.328 ms') 2025-10-27 04:09:53,890 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-27 04:09:54,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:54,040 - DEBUG - Waiting to SSH to VM test2_vm, IP 135.142.9.67, Port 22 2025-10-27 04:09:54,204 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-27 04:09:54,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:54,357 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-10317091:ctest-bgpaas_vn-06826370:ctest-bgpaas_vn-06826370.inet.0 2025-10-27 04:09:54,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:54,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.142.9.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 04:09:54,367 - DEBUG - ping -s 56 -c 3 -W 1 135.142.9.67 2025-10-27 04:09:58,230 - DEBUG - PING 135.142.9.67 (135.142.9.67): 56 data bytes 64 bytes from 135.142.9.67: seq=0 ttl=63 time=3.813 ms 64 bytes from 135.142.9.67: seq=1 ttl=63 time=0.914 ms 64 bytes from 135.142.9.67: seq=2 ttl=63 time=0.977 ms --- 135.142.9.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.901/3.813 ms 2025-10-27 04:09:58,230 - INFO - Ping to IP 135.142.9.67 from VM test_vm passed 2025-10-27 04:09:58,281 - INFO - Deleting VM test2_vm 2025-10-27 04:09:58,351 - INFO - Deleting VM test_vm 2025-10-27 04:09:58,429 - INFO - Deleting VN ctest-bgpaas_vn-85465852 2025-10-27 04:09:58,475 - DEBUG - VN 047336ee-efb5-4e38-804f-0e62276a266b still in use: Unable to complete operation on network 047336ee-efb5-4e38-804f-0e62276a266b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8bd02a95-8282-446b-91a6-facecc146130'] 2025-10-27 04:09:58,475 - WARNING - Deleting VN ctest-bgpaas_vn-85465852 failed..Will retry 2025-10-27 04:10:00,575 - DEBUG - Response for deleting network () 2025-10-27 04:10:00,575 - INFO - Deleting VN ctest-bgpaas_vn-06826370 2025-10-27 04:10:00,676 - DEBUG - Response for deleting network () 2025-10-27 04:10:00,929 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 04:10:00,929 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-10-27 04:10:00,929 - INFO - -------------------------------------------------------------------------------- 2025-10-27 04:10:01,640 - INFO - Deleted project: ctest-TestRP-10317091, ID : 7e47724e-f63f-4cd7-b066-db2234c36352