2025-08-04 02:24:14,406 - INFO - Domain Default found not creating 2025-08-04 02:24:14,578 - INFO - Project ctest-TestRP-51667571 not found, creating it 2025-08-04 02:24:15,083 - INFO - Created Project:ctest-TestRP-51667571, ID : f71e35c2-c132-42f4-a4e1-3534a513d906 2025-08-04 02:24:16,610 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:24:16,610 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3747-1']} 2025-08-04 02:24:16,613 - INFO - ================================================================================ 2025-08-04 02:24:16,613 - INFO - STARTING TEST : test_rp_interface 2025-08-04 02:24:16,614 - 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-04 02:24:16,874 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-04 02:24:16,874 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:24:16,874 - INFO - 2025-08-04 02:24:17,445 - DEBUG - Response for create_network : {'network': {'id': 'e22cfdad-2123-49e2-88bd-a522d92f5d39', 'name': 'ctest-bgpaas_vn-76931783', 'tenant_id': 'f71e35c2c13242f4a4e13534a513d906', 'project_id': 'f71e35c2c13242f4a4e13534a513d906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51667571', 'ctest-bgpaas_vn-76931783'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:24:17,612 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abeb59a3-944c-4c56-8045-a8f338230a21', 'name': '', 'tenant_id': 'f71e35c2c13242f4a4e13534a513d906', 'network_id': 'e22cfdad-2123-49e2-88bd-a522d92f5d39', 'ip_version': 4, 'cidr': '68.123.208.128/26', 'allocation_pools': [{'start': '68.123.208.130', 'end': '68.123.208.190'}], 'gateway_ip': '68.123.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.123.208.130', 'tags': [], 'project_id': 'f71e35c2c13242f4a4e13534a513d906'}} 2025-08-04 02:24:17,632 - INFO - Created VN ctest-bgpaas_vn-76931783 2025-08-04 02:24:17,687 - DEBUG - VN ctest-bgpaas_vn-76931783 UUID is e22cfdad-2123-49e2-88bd-a522d92f5d39 2025-08-04 02:24:18,181 - DEBUG - Response for create_network : {'network': {'id': '46c17afa-e3b4-42cc-9a01-461842a7d82f', 'name': 'ctest-bgpaas_vn-63181953', 'tenant_id': 'f71e35c2c13242f4a4e13534a513d906', 'project_id': 'f71e35c2c13242f4a4e13534a513d906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51667571', 'ctest-bgpaas_vn-63181953'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:24:18,380 - DEBUG - Response for create_subnet : {'subnet': {'id': '8038ec63-7e4c-43e6-9a28-04595a2cd1a0', 'name': '', 'tenant_id': 'f71e35c2c13242f4a4e13534a513d906', 'network_id': '46c17afa-e3b4-42cc-9a01-461842a7d82f', 'ip_version': 4, 'cidr': '38.1.37.128/26', 'allocation_pools': [{'start': '38.1.37.130', 'end': '38.1.37.190'}], 'gateway_ip': '38.1.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.1.37.130', 'tags': [], 'project_id': 'f71e35c2c13242f4a4e13534a513d906'}} 2025-08-04 02:24:18,405 - INFO - Created VN ctest-bgpaas_vn-63181953 2025-08-04 02:24:18,459 - DEBUG - VN ctest-bgpaas_vn-63181953 UUID is 46c17afa-e3b4-42cc-9a01-461842a7d82f 2025-08-04 02:24:19,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:24:21,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3747-1) 2025-08-04 02:24:21,050 - INFO - Waiting for VM test_vm to be up.. 2025-08-04 02:24:21,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:24:26,213 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:24:26,213 - INFO - VM name : test_vm 2025-08-04 02:24:26,296 - DEBUG - VM test_vm ID is 26557a39-0aeb-4655-818f-f657e1292534 2025-08-04 02:24:26,316 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:24:26,399 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/26557a39-0aeb-4655-818f-f657e1292534 2025-08-04 02:24:26,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/26557a39-0aeb-4655-818f-f657e1292534 2025-08-04 02:24:26,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9e05cf14-824f-440d-8f1a-df3d58e6ffb6 2025-08-04 02:24:30,049 - 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 1022ms') 2025-08-04 02:24:30,050 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-04 02:24:30,111 - DEBUG - Gateway for vn default-domain:ctest-TestRP-51667571:ctest-bgpaas_vn-76931783 is 68.123.208.129 and allocation pool is NOT set 2025-08-04 02:24:32,171 - 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=4.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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 = 1.652/2.921/4.190/1.269 ms') 2025-08-04 02:24:32,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-04 02:24:32,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:32,324 - DEBUG - Waiting to SSH to VM test_vm, IP 68.123.208.131, Port 22 2025-08-04 02:24:32,389 - 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-04 02:24:32,471 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 02:24:37,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:37,471 - DEBUG - Waiting to SSH to VM test_vm, IP 68.123.208.131, Port 22 2025-08-04 02:24:37,657 - DEBUG - VM test_vm is ready for SSH connections 2025-08-04 02:24:37,657 - INFO - Waiting for VM test2_vm to be up.. 2025-08-04 02:24:37,739 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:24:37,739 - INFO - VM name : test2_vm 2025-08-04 02:24:37,823 - DEBUG - VM test2_vm ID is 868c2d12-3c16-4e25-b674-8a3b699df5f5 2025-08-04 02:24:37,823 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3747-1 2025-08-04 02:24:37,902 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/868c2d12-3c16-4e25-b674-8a3b699df5f5 2025-08-04 02:24:37,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/377dfba4-b390-416a-bbce-d4d7efc501f7 2025-08-04 02:24:39,160 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/2.841/5.221/2.379 ms') 2025-08-04 02:24:39,160 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-04 02:24:39,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:39,319 - DEBUG - Waiting to SSH to VM test2_vm, IP 38.1.37.131, Port 22 2025-08-04 02:24:39,475 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-04 02:24:39,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:39,634 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-51667571:ctest-bgpaas_vn-76931783:ctest-bgpaas_vn-76931783.inet.0 2025-08-04 02:24:40,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:40,653 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-51667571:ctest-bgpaas_vn-76931783:ctest-bgpaas_vn-76931783.inet.0 2025-08-04 02:24:40,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:24:40,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.1.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-04 02:24:40,665 - DEBUG - ping -s 56 -c 3 -W 1 38.1.37.131 2025-08-04 02:24:44,670 - DEBUG - PING 38.1.37.131 (38.1.37.131): 56 data bytes 64 bytes from 38.1.37.131: seq=0 ttl=63 time=4.745 ms 64 bytes from 38.1.37.131: seq=1 ttl=63 time=1.265 ms 64 bytes from 38.1.37.131: seq=2 ttl=63 time=1.060 ms --- 38.1.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.356/4.745 ms 2025-08-04 02:24:44,670 - INFO - Ping to IP 38.1.37.131 from VM test_vm passed 2025-08-04 02:24:44,744 - INFO - Deleting VM test2_vm 2025-08-04 02:24:44,825 - INFO - Deleting VM test_vm 2025-08-04 02:24:44,903 - INFO - Deleting VN ctest-bgpaas_vn-63181953 2025-08-04 02:24:44,946 - DEBUG - VN 46c17afa-e3b4-42cc-9a01-461842a7d82f still in use: Unable to complete operation on network 46c17afa-e3b4-42cc-9a01-461842a7d82f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04c8e70b-11fc-4dfe-ac1b-f6e1bffe7996'] 2025-08-04 02:24:44,946 - WARNING - Deleting VN ctest-bgpaas_vn-63181953 failed..Will retry 2025-08-04 02:24:47,060 - DEBUG - Response for deleting network () 2025-08-04 02:24:47,060 - INFO - Deleting VN ctest-bgpaas_vn-76931783 2025-08-04 02:24:47,173 - DEBUG - Response for deleting network () 2025-08-04 02:24:47,438 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 02:24:47,438 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-08-04 02:24:47,438 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:24:48,145 - INFO - Deleted project: ctest-TestRP-51667571, ID : f71e35c2-c132-42f4-a4e1-3534a513d906