2025-10-17 21:55:05,889 - INFO - Domain Default found not creating 2025-10-17 21:55:06,291 - INFO - Project ctest-TestRP-06061612 not found, creating it 2025-10-17 21:55:06,973 - INFO - Created Project:ctest-TestRP-06061612, ID : 9669a47c-8b54-4d21-986e-9101af2c8a64 2025-10-17 21:55:09,258 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:55:09,259 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4359-1']} 2025-10-17 21:55:09,266 - INFO - ================================================================================ 2025-10-17 21:55:09,266 - INFO - STARTING TEST : test_rp_interface 2025-10-17 21:55:09,266 - 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-17 21:55:09,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-17 21:55:09,600 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:55:09,600 - INFO - 2025-10-17 21:55:10,402 - DEBUG - Response for create_network : {'network': {'id': 'f81c2730-abbb-4c5b-b09e-5765f6ab221a', 'name': 'ctest-bgpaas_vn-57205126', 'tenant_id': '9669a47c8b544d21986e9101af2c8a64', 'project_id': '9669a47c8b544d21986e9101af2c8a64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-06061612', 'ctest-bgpaas_vn-57205126'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:55:10,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcc0fdf8-1d6e-4321-853d-2025fdff34fa', 'name': '', 'tenant_id': '9669a47c8b544d21986e9101af2c8a64', 'network_id': 'f81c2730-abbb-4c5b-b09e-5765f6ab221a', 'ip_version': 4, 'cidr': '26.103.235.64/26', 'allocation_pools': [{'start': '26.103.235.66', 'end': '26.103.235.126'}], 'gateway_ip': '26.103.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.103.235.66', 'tags': [], 'project_id': '9669a47c8b544d21986e9101af2c8a64'}} 2025-10-17 21:55:10,664 - INFO - Created VN ctest-bgpaas_vn-57205126 2025-10-17 21:55:10,721 - DEBUG - VN ctest-bgpaas_vn-57205126 UUID is f81c2730-abbb-4c5b-b09e-5765f6ab221a 2025-10-17 21:55:11,334 - DEBUG - Response for create_network : {'network': {'id': '22662c6c-6105-4921-bdd5-8a3ef4869346', 'name': 'ctest-bgpaas_vn-13891667', 'tenant_id': '9669a47c8b544d21986e9101af2c8a64', 'project_id': '9669a47c8b544d21986e9101af2c8a64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-06061612', 'ctest-bgpaas_vn-13891667'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:55:11,539 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c652c93d-2f2a-4f21-b360-3ce3155f3e09', 'name': '', 'tenant_id': '9669a47c8b544d21986e9101af2c8a64', 'network_id': '22662c6c-6105-4921-bdd5-8a3ef4869346', 'ip_version': 4, 'cidr': '53.252.157.128/26', 'allocation_pools': [{'start': '53.252.157.130', 'end': '53.252.157.190'}], 'gateway_ip': '53.252.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.252.157.130', 'tags': [], 'project_id': '9669a47c8b544d21986e9101af2c8a64'}} 2025-10-17 21:55:11,558 - INFO - Created VN ctest-bgpaas_vn-13891667 2025-10-17 21:55:11,613 - DEBUG - VN ctest-bgpaas_vn-13891667 UUID is 22662c6c-6105-4921-bdd5-8a3ef4869346 2025-10-17 21:55:13,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:55:14,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:55:14,684 - INFO - Waiting for VM test_vm to be up.. 2025-10-17 21:55:14,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:55:19,881 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:55:19,881 - INFO - VM name : test_vm 2025-10-17 21:55:19,972 - DEBUG - VM test_vm ID is 4104b0e7-0ab4-428c-a2a5-4f6ca3186ace 2025-10-17 21:55:20,003 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:55:20,090 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4104b0e7-0ab4-428c-a2a5-4f6ca3186ace 2025-10-17 21:55:20,400 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4104b0e7-0ab4-428c-a2a5-4f6ca3186ace 2025-10-17 21:55:20,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a93681f8-e3cc-4c55-9d8c-eec93dfc5bbb 2025-10-17 21:55:23,703 - 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 1019ms') 2025-10-17 21:55:23,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-17 21:55:23,765 - DEBUG - Gateway for vn default-domain:ctest-TestRP-06061612:ctest-bgpaas_vn-57205126 is 26.103.235.65 and allocation pool is NOT set 2025-10-17 21:55:25,832 - 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=12.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.76 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 = 2.760/7.634/12.508/4.874 ms') 2025-10-17 21:55:25,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-17 21:55:26,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:55:26,001 - DEBUG - Waiting to SSH to VM test_vm, IP 26.103.235.67, Port 22 2025-10-17 21:55:26,072 - 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-17 21:55:26,159 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-17 21:55:31,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:55:31,162 - DEBUG - Waiting to SSH to VM test_vm, IP 26.103.235.67, Port 22 2025-10-17 21:55:31,376 - DEBUG - VM test_vm is ready for SSH connections 2025-10-17 21:55:31,376 - INFO - Waiting for VM test2_vm to be up.. 2025-10-17 21:55:31,551 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:55:31,551 - INFO - VM name : test2_vm 2025-10-17 21:55:31,652 - DEBUG - VM test2_vm ID is 5ea3be87-2d7a-40c7-95e9-64be32360df3 2025-10-17 21:55:31,653 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:55:31,800 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5ea3be87-2d7a-40c7-95e9-64be32360df3 2025-10-17 21:55:31,813 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6b27f69a-256e-4e44-97fa-9fa1d89a9500 2025-10-17 21:55:33,127 - 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=9.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.777 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.777/4.954/9.132/4.177 ms') 2025-10-17 21:55:33,127 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-17 21:55:33,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:55:33,310 - DEBUG - Waiting to SSH to VM test2_vm, IP 53.252.157.131, Port 22 2025-10-17 21:55:33,505 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-17 21:55:33,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:55:33,777 - DEBUG - Requesting: http://10.20.0.254:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-06061612:ctest-bgpaas_vn-57205126:ctest-bgpaas_vn-57205126.inet.0 2025-10-17 21:55:33,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:55:33,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.252.157.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-17 21:55:33,797 - DEBUG - ping -s 56 -c 3 -W 1 53.252.157.131 2025-10-17 21:55:37,980 - DEBUG - PING 53.252.157.131 (53.252.157.131): 56 data bytes 64 bytes from 53.252.157.131: seq=0 ttl=63 time=8.352 ms 64 bytes from 53.252.157.131: seq=1 ttl=63 time=2.235 ms 64 bytes from 53.252.157.131: seq=2 ttl=63 time=1.568 ms --- 53.252.157.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.568/4.051/8.352 ms 2025-10-17 21:55:37,980 - INFO - Ping to IP 53.252.157.131 from VM test_vm passed 2025-10-17 21:55:38,106 - INFO - Deleting VM test2_vm 2025-10-17 21:55:38,239 - INFO - Deleting VM test_vm 2025-10-17 21:55:38,366 - INFO - Deleting VN ctest-bgpaas_vn-13891667 2025-10-17 21:55:38,435 - DEBUG - VN 22662c6c-6105-4921-bdd5-8a3ef4869346 still in use: Unable to complete operation on network 22662c6c-6105-4921-bdd5-8a3ef4869346. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0f72f2d-f136-47a1-aed3-e24fa8584556'] 2025-10-17 21:55:38,435 - WARNING - Deleting VN ctest-bgpaas_vn-13891667 failed..Will retry 2025-10-17 21:55:40,648 - DEBUG - Response for deleting network () 2025-10-17 21:55:40,648 - INFO - Deleting VN ctest-bgpaas_vn-57205126 2025-10-17 21:55:40,788 - DEBUG - Response for deleting network () 2025-10-17 21:55:41,083 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 21:55:41,084 - INFO - END TEST : test_rp_interface : PASSED[0:00:32] 2025-10-17 21:55:41,084 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:55:42,754 - INFO - Deleted project: ctest-TestRP-06061612, ID : 9669a47c-8b54-4d21-986e-9101af2c8a64