2025-08-22 16:34:10,586 - INFO - Domain Default found not creating 2025-08-22 16:34:10,734 - INFO - Project ctest-TestRP-51761674 not found, creating it 2025-08-22 16:34:11,230 - INFO - Created Project:ctest-TestRP-51761674, ID : 3eb98d9c-801b-406d-98b3-7f896a557144 2025-08-22 16:34:12,662 - DEBUG - Services list from nova: [, , ] 2025-08-22 16:34:12,662 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3911-1']} 2025-08-22 16:34:12,664 - INFO - ================================================================================ 2025-08-22 16:34:12,664 - INFO - STARTING TEST : test_rp_interface 2025-08-22 16:34:12,664 - 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-22 16:34:12,927 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 16:34:12,927 - INFO - Initial checks done. Running the testcase now 2025-08-22 16:34:12,927 - INFO - 2025-08-22 16:34:13,466 - DEBUG - Response for create_network : {'network': {'id': '5d0d326b-ad2c-4432-960f-8f71070ab458', 'name': 'ctest-bgpaas_vn-35962134', 'tenant_id': '3eb98d9c801b406d98b37f896a557144', 'project_id': '3eb98d9c801b406d98b37f896a557144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51761674', 'ctest-bgpaas_vn-35962134'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:34:13,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '764d1dca-43ae-4ff0-a588-beeb55a74ce7', 'name': '', 'tenant_id': '3eb98d9c801b406d98b37f896a557144', 'network_id': '5d0d326b-ad2c-4432-960f-8f71070ab458', 'ip_version': 4, 'cidr': '165.130.187.0/26', 'allocation_pools': [{'start': '165.130.187.2', 'end': '165.130.187.62'}], 'gateway_ip': '165.130.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.130.187.2', 'tags': [], 'project_id': '3eb98d9c801b406d98b37f896a557144'}} 2025-08-22 16:34:13,677 - INFO - Created VN ctest-bgpaas_vn-35962134 2025-08-22 16:34:13,729 - DEBUG - VN ctest-bgpaas_vn-35962134 UUID is 5d0d326b-ad2c-4432-960f-8f71070ab458 2025-08-22 16:34:14,224 - DEBUG - Response for create_network : {'network': {'id': '64166533-b943-47c2-b04e-31f3d834133e', 'name': 'ctest-bgpaas_vn-67182118', 'tenant_id': '3eb98d9c801b406d98b37f896a557144', 'project_id': '3eb98d9c801b406d98b37f896a557144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-51761674', 'ctest-bgpaas_vn-67182118'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:34:14,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '94e9719f-ce7f-4dba-bb3a-3d8d68c5223b', 'name': '', 'tenant_id': '3eb98d9c801b406d98b37f896a557144', 'network_id': '64166533-b943-47c2-b04e-31f3d834133e', 'ip_version': 4, 'cidr': '168.144.98.128/26', 'allocation_pools': [{'start': '168.144.98.130', 'end': '168.144.98.190'}], 'gateway_ip': '168.144.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.144.98.130', 'tags': [], 'project_id': '3eb98d9c801b406d98b37f896a557144'}} 2025-08-22 16:34:14,454 - INFO - Created VN ctest-bgpaas_vn-67182118 2025-08-22 16:34:14,509 - DEBUG - VN ctest-bgpaas_vn-67182118 UUID is 64166533-b943-47c2-b04e-31f3d834133e 2025-08-22 16:34:15,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:34:17,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:34:17,002 - INFO - Waiting for VM test_vm to be up.. 2025-08-22 16:34:17,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 16:34:22,157 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:34:22,157 - INFO - VM name : test_vm 2025-08-22 16:34:22,239 - DEBUG - VM test_vm ID is 82be58df-6a41-4b36-856c-985cc3c022e7 2025-08-22 16:34:22,259 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:34:22,331 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/82be58df-6a41-4b36-856c-985cc3c022e7 2025-08-22 16:34:22,629 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/82be58df-6a41-4b36-856c-985cc3c022e7 2025-08-22 16:34:22,662 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/37b87cb1-bea9-42d3-8aa3-d0e4367f9c7e 2025-08-22 16:34:25,930 - 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 1015ms') 2025-08-22 16:34:25,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-22 16:34:25,985 - DEBUG - Gateway for vn default-domain:ctest-TestRP-51761674:ctest-bgpaas_vn-35962134 is 165.130.187.1 and allocation pool is NOT set 2025-08-22 16:34:28,047 - 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=2.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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 = 0.455/1.487/2.519/1.032 ms') 2025-08-22 16:34:28,047 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-22 16:34:28,205 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:34:28,205 - DEBUG - Waiting to SSH to VM test_vm, IP 165.130.187.3, Port 22 2025-08-22 16:34:28,357 - DEBUG - VM test_vm is ready for SSH connections 2025-08-22 16:34:28,357 - INFO - Waiting for VM test2_vm to be up.. 2025-08-22 16:34:28,426 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:34:28,426 - INFO - VM name : test2_vm 2025-08-22 16:34:28,501 - DEBUG - VM test2_vm ID is da2add10-818d-455a-b2bd-d732fa747810 2025-08-22 16:34:28,501 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:34:28,574 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/da2add10-818d-455a-b2bd-d732fa747810 2025-08-22 16:34:28,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e2465cfa-383a-4314-800a-090eafcf1fb3 2025-08-22 16:34:29,840 - 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=4.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.25 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 = 2.250/3.487/4.725/1.237 ms') 2025-08-22 16:34:29,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-22 16:34:29,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:34:29,997 - DEBUG - Waiting to SSH to VM test2_vm, IP 168.144.98.131, Port 22 2025-08-22 16:34:30,052 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-22 16:34:30,127 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-22 16:34:35,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:34:35,127 - DEBUG - Waiting to SSH to VM test2_vm, IP 168.144.98.131, Port 22 2025-08-22 16:34:35,280 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-22 16:34:35,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:34:35,440 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-51761674:ctest-bgpaas_vn-35962134:ctest-bgpaas_vn-35962134.inet.0 2025-08-22 16:34:35,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:34:35,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.144.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 16:34:35,453 - DEBUG - ping -s 56 -c 3 -W 1 168.144.98.131 2025-08-22 16:34:39,070 - DEBUG - PING 168.144.98.131 (168.144.98.131): 56 data bytes 64 bytes from 168.144.98.131: seq=0 ttl=63 time=3.677 ms 64 bytes from 168.144.98.131: seq=1 ttl=63 time=1.009 ms 64 bytes from 168.144.98.131: seq=2 ttl=63 time=0.710 ms --- 168.144.98.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/1.798/3.677 ms 2025-08-22 16:34:39,070 - INFO - Ping to IP 168.144.98.131 from VM test_vm passed 2025-08-22 16:34:39,152 - INFO - Deleting VM test2_vm 2025-08-22 16:34:39,216 - INFO - Deleting VM test_vm 2025-08-22 16:34:39,287 - INFO - Deleting VN ctest-bgpaas_vn-67182118 2025-08-22 16:34:39,335 - DEBUG - VN 64166533-b943-47c2-b04e-31f3d834133e still in use: Unable to complete operation on network 64166533-b943-47c2-b04e-31f3d834133e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b206b08-47e1-4a2e-a374-8b599e4c0e58'] 2025-08-22 16:34:39,335 - WARNING - Deleting VN ctest-bgpaas_vn-67182118 failed..Will retry 2025-08-22 16:34:41,447 - DEBUG - Response for deleting network () 2025-08-22 16:34:41,447 - INFO - Deleting VN ctest-bgpaas_vn-35962134 2025-08-22 16:34:41,565 - DEBUG - Response for deleting network () 2025-08-22 16:34:41,815 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 16:34:41,815 - INFO - END TEST : test_rp_interface : PASSED[0:00:29] 2025-08-22 16:34:41,815 - INFO - -------------------------------------------------------------------------------- 2025-08-22 16:34:42,514 - INFO - Deleted project: ctest-TestRP-51761674, ID : 3eb98d9c-801b-406d-98b3-7f896a557144