2025-10-09 14:09:02,024 - INFO - Domain Default found not creating 2025-10-09 14:09:02,193 - INFO - Project ctest-TestRP-18816711 not found, creating it 2025-10-09 14:09:02,677 - INFO - Created Project:ctest-TestRP-18816711, ID : 8c7d944b-05be-47a8-b0ff-95ccf6af71da 2025-10-09 14:09:04,256 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:09:04,257 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4262-1']} 2025-10-09 14:09:04,260 - INFO - ================================================================================ 2025-10-09 14:09:04,260 - INFO - STARTING TEST : test_rp_interface 2025-10-09 14:09:04,260 - 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-09 14:09:04,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-09 14:09:04,519 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:09:04,519 - INFO - 2025-10-09 14:09:05,097 - DEBUG - Response for create_network : {'network': {'id': '17c764a3-a026-4314-a7b1-54349281705d', 'name': 'ctest-bgpaas_vn-89934614', 'tenant_id': '8c7d944b05be47a8b0ff95ccf6af71da', 'project_id': '8c7d944b05be47a8b0ff95ccf6af71da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18816711', 'ctest-bgpaas_vn-89934614'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:09:05,290 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e9010ee-9bf7-49ae-a3ce-28e2238b0e51', 'name': '', 'tenant_id': '8c7d944b05be47a8b0ff95ccf6af71da', 'network_id': '17c764a3-a026-4314-a7b1-54349281705d', 'ip_version': 4, 'cidr': '82.194.171.64/26', 'allocation_pools': [{'start': '82.194.171.66', 'end': '82.194.171.126'}], 'gateway_ip': '82.194.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.194.171.66', 'tags': [], 'project_id': '8c7d944b05be47a8b0ff95ccf6af71da'}} 2025-10-09 14:09:05,312 - INFO - Created VN ctest-bgpaas_vn-89934614 2025-10-09 14:09:05,368 - DEBUG - VN ctest-bgpaas_vn-89934614 UUID is 17c764a3-a026-4314-a7b1-54349281705d 2025-10-09 14:09:05,861 - DEBUG - Response for create_network : {'network': {'id': '750442e5-f4f6-4bf4-b82d-68875c7fa531', 'name': 'ctest-bgpaas_vn-63722453', 'tenant_id': '8c7d944b05be47a8b0ff95ccf6af71da', 'project_id': '8c7d944b05be47a8b0ff95ccf6af71da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-18816711', 'ctest-bgpaas_vn-63722453'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:09:06,025 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8873601-d595-4d9b-aa05-9e22b6999651', 'name': '', 'tenant_id': '8c7d944b05be47a8b0ff95ccf6af71da', 'network_id': '750442e5-f4f6-4bf4-b82d-68875c7fa531', 'ip_version': 4, 'cidr': '59.29.86.0/26', 'allocation_pools': [{'start': '59.29.86.2', 'end': '59.29.86.62'}], 'gateway_ip': '59.29.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.29.86.2', 'tags': [], 'project_id': '8c7d944b05be47a8b0ff95ccf6af71da'}} 2025-10-09 14:09:06,047 - INFO - Created VN ctest-bgpaas_vn-63722453 2025-10-09 14:09:06,100 - DEBUG - VN ctest-bgpaas_vn-63722453 UUID is 750442e5-f4f6-4bf4-b82d-68875c7fa531 2025-10-09 14:09:07,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4262-1) 2025-10-09 14:09:08,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4262-1) 2025-10-09 14:09:08,776 - INFO - Waiting for VM test_vm to be up.. 2025-10-09 14:09:08,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:09:13,963 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:09:13,964 - INFO - VM name : test_vm 2025-10-09 14:09:14,054 - DEBUG - VM test_vm ID is 0f41402d-c565-408b-a343-80d064767224 2025-10-09 14:09:14,078 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4262-1 2025-10-09 14:09:14,170 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0f41402d-c565-408b-a343-80d064767224 2025-10-09 14:09:14,473 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0f41402d-c565-408b-a343-80d064767224 2025-10-09 14:09:14,513 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a169a251-0f77-4ee5-8628-adab1c603416 2025-10-09 14:09:17,812 - 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 1032ms') 2025-10-09 14:09:17,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-09 14:09:17,868 - DEBUG - Gateway for vn default-domain:ctest-TestRP-18816711:ctest-bgpaas_vn-89934614 is 82.194.171.65 and allocation pool is NOT set 2025-10-09 14:09:19,934 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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.176/2.658/4.141/1.482 ms') 2025-10-09 14:09:19,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-09 14:09:20,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:09:20,088 - DEBUG - Waiting to SSH to VM test_vm, IP 82.194.171.67, Port 22 2025-10-09 14:09:20,254 - DEBUG - VM test_vm is ready for SSH connections 2025-10-09 14:09:20,254 - INFO - Waiting for VM test2_vm to be up.. 2025-10-09 14:09:20,334 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:09:20,334 - INFO - VM name : test2_vm 2025-10-09 14:09:20,411 - DEBUG - VM test2_vm ID is aac9b32a-44c1-457b-896c-ca0807c99fb3 2025-10-09 14:09:20,411 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4262-1 2025-10-09 14:09:20,482 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/aac9b32a-44c1-457b-896c-ca0807c99fb3 2025-10-09 14:09:20,493 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/dba02fbc-d5a0-469c-8a45-89926041eef9 2025-10-09 14:09:21,743 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 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 = 1.241/2.626/4.011/1.385 ms') 2025-10-09 14:09:21,744 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-09 14:09:21,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:09:21,900 - DEBUG - Waiting to SSH to VM test2_vm, IP 59.29.86.3, Port 22 2025-10-09 14:09:21,965 - 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-10-09 14:09:22,050 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 14:09:27,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:09:27,051 - DEBUG - Waiting to SSH to VM test2_vm, IP 59.29.86.3, Port 22 2025-10-09 14:09:27,218 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-09 14:09:27,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:09:27,378 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-18816711:ctest-bgpaas_vn-89934614:ctest-bgpaas_vn-89934614.inet.0 2025-10-09 14:09:28,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:09:28,399 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-18816711:ctest-bgpaas_vn-89934614:ctest-bgpaas_vn-89934614.inet.0 2025-10-09 14:09:28,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:09:28,413 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.29.86.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-09 14:09:28,413 - DEBUG - ping -s 56 -c 3 -W 1 59.29.86.3 2025-10-09 14:09:32,460 - DEBUG - PING 59.29.86.3 (59.29.86.3): 56 data bytes 64 bytes from 59.29.86.3: seq=0 ttl=63 time=4.026 ms 64 bytes from 59.29.86.3: seq=1 ttl=63 time=1.183 ms 64 bytes from 59.29.86.3: seq=2 ttl=63 time=0.921 ms --- 59.29.86.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/2.043/4.026 ms 2025-10-09 14:09:32,460 - INFO - Ping to IP 59.29.86.3 from VM test_vm passed 2025-10-09 14:09:32,530 - INFO - Deleting VM test2_vm 2025-10-09 14:09:32,619 - INFO - Deleting VM test_vm 2025-10-09 14:09:32,714 - INFO - Deleting VN ctest-bgpaas_vn-63722453 2025-10-09 14:09:32,750 - DEBUG - VN 750442e5-f4f6-4bf4-b82d-68875c7fa531 still in use: Unable to complete operation on network 750442e5-f4f6-4bf4-b82d-68875c7fa531. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ca4f065-f415-495c-8c72-fe2d0a5ee2c4'] 2025-10-09 14:09:32,751 - WARNING - Deleting VN ctest-bgpaas_vn-63722453 failed..Will retry 2025-10-09 14:09:34,897 - DEBUG - Response for deleting network () 2025-10-09 14:09:34,897 - INFO - Deleting VN ctest-bgpaas_vn-89934614 2025-10-09 14:09:35,007 - DEBUG - Response for deleting network () 2025-10-09 14:09:35,261 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:09:35,261 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-10-09 14:09:35,261 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:09:36,034 - INFO - Deleted project: ctest-TestRP-18816711, ID : 8c7d944b-05be-47a8-b0ff-95ccf6af71da