2025-08-28 18:40:57,437 - INFO - Domain Default found not creating 2025-08-28 18:40:57,609 - INFO - Project ctest-TestRP-67480301 not found, creating it 2025-08-28 18:40:58,111 - INFO - Created Project:ctest-TestRP-67480301, ID : c3bfe9d9-c5eb-4b64-b029-d74092589926 2025-08-28 18:40:59,668 - DEBUG - Services list from nova: [, , ] 2025-08-28 18:40:59,668 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3965-1']} 2025-08-28 18:40:59,672 - INFO - ================================================================================ 2025-08-28 18:40:59,672 - INFO - STARTING TEST : test_rp_interface 2025-08-28 18:40:59,672 - 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-28 18:40:59,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-28 18:40:59,952 - INFO - Initial checks done. Running the testcase now 2025-08-28 18:40:59,952 - INFO - 2025-08-28 18:41:00,550 - DEBUG - Response for create_network : {'network': {'id': '97ab27bb-a11c-485c-ae4e-72f856140dad', 'name': 'ctest-bgpaas_vn-05572431', 'tenant_id': 'c3bfe9d9c5eb4b64b029d74092589926', 'project_id': 'c3bfe9d9c5eb4b64b029d74092589926', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-67480301', 'ctest-bgpaas_vn-05572431'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:41:00,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f679cf15-2139-4092-9100-3b1cb7a26825', 'name': '', 'tenant_id': 'c3bfe9d9c5eb4b64b029d74092589926', 'network_id': '97ab27bb-a11c-485c-ae4e-72f856140dad', 'ip_version': 4, 'cidr': '137.195.76.192/26', 'allocation_pools': [{'start': '137.195.76.194', 'end': '137.195.76.254'}], 'gateway_ip': '137.195.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.195.76.194', 'tags': [], 'project_id': 'c3bfe9d9c5eb4b64b029d74092589926'}} 2025-08-28 18:41:00,733 - INFO - Created VN ctest-bgpaas_vn-05572431 2025-08-28 18:41:00,785 - DEBUG - VN ctest-bgpaas_vn-05572431 UUID is 97ab27bb-a11c-485c-ae4e-72f856140dad 2025-08-28 18:41:01,312 - DEBUG - Response for create_network : {'network': {'id': 'fac9de34-1f07-4135-8a93-e1cf3be90a7f', 'name': 'ctest-bgpaas_vn-48174600', 'tenant_id': 'c3bfe9d9c5eb4b64b029d74092589926', 'project_id': 'c3bfe9d9c5eb4b64b029d74092589926', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-67480301', 'ctest-bgpaas_vn-48174600'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:41:01,481 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2a3e11e-fbea-42bc-90e3-af18a10fcbcf', 'name': '', 'tenant_id': 'c3bfe9d9c5eb4b64b029d74092589926', 'network_id': 'fac9de34-1f07-4135-8a93-e1cf3be90a7f', 'ip_version': 4, 'cidr': '87.130.68.128/26', 'allocation_pools': [{'start': '87.130.68.130', 'end': '87.130.68.190'}], 'gateway_ip': '87.130.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.130.68.130', 'tags': [], 'project_id': 'c3bfe9d9c5eb4b64b029d74092589926'}} 2025-08-28 18:41:01,501 - INFO - Created VN ctest-bgpaas_vn-48174600 2025-08-28 18:41:01,553 - DEBUG - VN ctest-bgpaas_vn-48174600 UUID is fac9de34-1f07-4135-8a93-e1cf3be90a7f 2025-08-28 18:41:03,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:41:04,353 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:41:04,353 - INFO - Waiting for VM test_vm to be up.. 2025-08-28 18:41:04,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 18:41:09,528 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:41:09,528 - INFO - VM name : test_vm 2025-08-28 18:41:09,623 - DEBUG - VM test_vm ID is f3cf96de-51ad-44b0-bf87-40f4cf0deeaa 2025-08-28 18:41:09,656 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:41:09,750 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f3cf96de-51ad-44b0-bf87-40f4cf0deeaa 2025-08-28 18:41:10,054 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f3cf96de-51ad-44b0-bf87-40f4cf0deeaa 2025-08-28 18:41:10,086 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d8470370-7158-4ac8-9b7d-cc0c53702c36 2025-08-28 18:41:13,326 - 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 1002ms') 2025-08-28 18:41:13,326 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-28 18:41:13,381 - DEBUG - Gateway for vn default-domain:ctest-TestRP-67480301:ctest-bgpaas_vn-05572431 is 137.195.76.193 and allocation pool is NOT set 2025-08-28 18:41:15,447 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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.563/2.948/4.333/1.385 ms') 2025-08-28 18:41:15,448 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-28 18:41:15,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:41:15,597 - DEBUG - Waiting to SSH to VM test_vm, IP 137.195.76.195, Port 22 2025-08-28 18:41:15,664 - 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-28 18:41:15,744 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 18:41:20,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:41:20,745 - DEBUG - Waiting to SSH to VM test_vm, IP 137.195.76.195, Port 22 2025-08-28 18:41:20,900 - DEBUG - VM test_vm is ready for SSH connections 2025-08-28 18:41:20,901 - INFO - Waiting for VM test2_vm to be up.. 2025-08-28 18:41:20,992 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:41:20,992 - INFO - VM name : test2_vm 2025-08-28 18:41:21,077 - DEBUG - VM test2_vm ID is 03d08143-a2d9-4ecc-8d48-2d94bd0478f3 2025-08-28 18:41:21,077 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:41:21,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/03d08143-a2d9-4ecc-8d48-2d94bd0478f3 2025-08-28 18:41:21,170 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4f009817-db90-49f3-bd6d-531610768477 2025-08-28 18:41:22,406 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.915/3.349/1.433 ms') 2025-08-28 18:41:22,406 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-28 18:41:22,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:41:22,561 - DEBUG - Waiting to SSH to VM test2_vm, IP 87.130.68.131, Port 22 2025-08-28 18:41:22,743 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-28 18:41:22,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:41:22,904 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-67480301:ctest-bgpaas_vn-05572431:ctest-bgpaas_vn-05572431.inet.0 2025-08-28 18:41:22,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:41:22,912 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.130.68.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:41:22,913 - DEBUG - ping -s 56 -c 3 -W 1 87.130.68.131 2025-08-28 18:41:26,666 - DEBUG - PING 87.130.68.131 (87.130.68.131): 56 data bytes 64 bytes from 87.130.68.131: seq=0 ttl=63 time=3.681 ms 64 bytes from 87.130.68.131: seq=1 ttl=63 time=1.261 ms 64 bytes from 87.130.68.131: seq=2 ttl=63 time=1.437 ms --- 87.130.68.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.261/2.126/3.681 ms 2025-08-28 18:41:26,666 - INFO - Ping to IP 87.130.68.131 from VM test_vm passed 2025-08-28 18:41:26,752 - INFO - Deleting VM test2_vm 2025-08-28 18:41:26,829 - INFO - Deleting VM test_vm 2025-08-28 18:41:26,907 - INFO - Deleting VN ctest-bgpaas_vn-48174600 2025-08-28 18:41:26,952 - DEBUG - VN fac9de34-1f07-4135-8a93-e1cf3be90a7f still in use: Unable to complete operation on network fac9de34-1f07-4135-8a93-e1cf3be90a7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12c1b5ab-fa02-413e-839a-df933fc1299f'] 2025-08-28 18:41:26,952 - WARNING - Deleting VN ctest-bgpaas_vn-48174600 failed..Will retry 2025-08-28 18:41:29,060 - DEBUG - Response for deleting network () 2025-08-28 18:41:29,060 - INFO - Deleting VN ctest-bgpaas_vn-05572431 2025-08-28 18:41:29,178 - DEBUG - Response for deleting network () 2025-08-28 18:41:29,439 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 18:41:29,439 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-08-28 18:41:29,439 - INFO - -------------------------------------------------------------------------------- 2025-08-28 18:41:30,145 - INFO - Deleted project: ctest-TestRP-67480301, ID : c3bfe9d9-c5eb-4b64-b029-d74092589926