2025-11-21 17:08:33,608 - INFO - Domain Default found not creating 2025-11-21 17:08:33,945 - INFO - Project ctest-TestRP-22020696 not found, creating it 2025-11-21 17:08:34,521 - INFO - Created Project:ctest-TestRP-22020696, ID : eca794d8-1262-4324-adf8-a2d226da7d6c 2025-11-21 17:08:36,943 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:08:36,943 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4788-1']} 2025-11-21 17:08:36,952 - INFO - ================================================================================ 2025-11-21 17:08:36,953 - INFO - STARTING TEST : test_rp_interface 2025-11-21 17:08:36,953 - 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-11-21 17:08:37,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2025-11-21 17:08:37,275 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:08:37,275 - INFO - 2025-11-21 17:08:38,006 - DEBUG - Response for create_network : {'network': {'id': 'a95fb350-ff66-4aab-bd93-9439a4458ca2', 'name': 'ctest-bgpaas_vn-65542268', 'tenant_id': 'eca794d812624324adf8a2d226da7d6c', 'project_id': 'eca794d812624324adf8a2d226da7d6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-22020696', 'ctest-bgpaas_vn-65542268'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:08:38,220 - DEBUG - Response for create_subnet : {'subnet': {'id': '09e113a3-9444-49c3-a0da-edaa8ba53edf', 'name': '', 'tenant_id': 'eca794d812624324adf8a2d226da7d6c', 'network_id': 'a95fb350-ff66-4aab-bd93-9439a4458ca2', 'ip_version': 4, 'cidr': '38.60.140.192/26', 'allocation_pools': [{'start': '38.60.140.194', 'end': '38.60.140.254'}], 'gateway_ip': '38.60.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.60.140.194', 'tags': [], 'project_id': 'eca794d812624324adf8a2d226da7d6c'}} 2025-11-21 17:08:38,245 - INFO - Created VN ctest-bgpaas_vn-65542268 2025-11-21 17:08:38,301 - DEBUG - VN ctest-bgpaas_vn-65542268 UUID is a95fb350-ff66-4aab-bd93-9439a4458ca2 2025-11-21 17:08:39,014 - DEBUG - Response for create_network : {'network': {'id': '50641f80-06e1-48e1-8f32-97560cee44e3', 'name': 'ctest-bgpaas_vn-85595809', 'tenant_id': 'eca794d812624324adf8a2d226da7d6c', 'project_id': 'eca794d812624324adf8a2d226da7d6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-22020696', 'ctest-bgpaas_vn-85595809'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:08:39,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '46610620-5745-4d9b-826f-dff44acef655', 'name': '', 'tenant_id': 'eca794d812624324adf8a2d226da7d6c', 'network_id': '50641f80-06e1-48e1-8f32-97560cee44e3', 'ip_version': 4, 'cidr': '163.160.146.0/26', 'allocation_pools': [{'start': '163.160.146.2', 'end': '163.160.146.62'}], 'gateway_ip': '163.160.146.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.160.146.2', 'tags': [], 'project_id': 'eca794d812624324adf8a2d226da7d6c'}} 2025-11-21 17:08:39,248 - INFO - Created VN ctest-bgpaas_vn-85595809 2025-11-21 17:08:39,309 - DEBUG - VN ctest-bgpaas_vn-85595809 UUID is 50641f80-06e1-48e1-8f32-97560cee44e3 2025-11-21 17:08:41,153 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1) 2025-11-21 17:08:42,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4788-1) 2025-11-21 17:08:42,764 - INFO - Waiting for VM test_vm to be up.. 2025-11-21 17:08:42,848 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:08:48,121 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:08:48,121 - INFO - VM name : test_vm 2025-11-21 17:08:48,270 - DEBUG - VM test_vm ID is 3ad0b0f4-11b0-4cef-8ff7-07c49feae324 2025-11-21 17:08:48,315 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1 2025-11-21 17:08:48,503 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3ad0b0f4-11b0-4cef-8ff7-07c49feae324 2025-11-21 17:08:48,973 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/3ad0b0f4-11b0-4cef-8ff7-07c49feae324 2025-11-21 17:08:49,027 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c9c8a02c-2705-4e87-a533-b33968a9bb95 2025-11-21 17:08:52,309 - 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 1012ms') 2025-11-21 17:08:52,309 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-21 17:08:52,382 - DEBUG - Gateway for vn default-domain:ctest-TestRP-22020696:ctest-bgpaas_vn-65542268 is 38.60.140.193 and allocation pool is NOT set 2025-11-21 17:08:54,451 - 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=5.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.35 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 = 3.348/4.273/5.198/0.925 ms') 2025-11-21 17:08:54,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-21 17:08:54,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:08:54,645 - DEBUG - Waiting to SSH to VM test_vm, IP 38.60.140.195, Port 22 2025-11-21 17:08:54,715 - 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-11-21 17:08:54,863 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 17:08:59,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:08:59,865 - DEBUG - Waiting to SSH to VM test_vm, IP 38.60.140.195, Port 22 2025-11-21 17:09:00,056 - DEBUG - VM test_vm is ready for SSH connections 2025-11-21 17:09:00,057 - INFO - Waiting for VM test2_vm to be up.. 2025-11-21 17:09:00,228 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:09:00,229 - INFO - VM name : test2_vm 2025-11-21 17:09:00,400 - DEBUG - VM test2_vm ID is 2641b1cb-5094-4b7b-b718-9936fc965f21 2025-11-21 17:09:00,400 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4788-1 2025-11-21 17:09:00,511 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/2641b1cb-5094-4b7b-b718-9936fc965f21 2025-11-21 17:09:00,522 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b9cc4809-9e01-4b76-850d-afe531f45656 2025-11-21 17:09:01,797 - 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=8.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.620 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.620/4.390/8.160/3.770 ms') 2025-11-21 17:09:01,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-21 17:09:01,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:09:01,957 - DEBUG - Waiting to SSH to VM test2_vm, IP 163.160.146.3, Port 22 2025-11-21 17:09:02,137 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-21 17:09:02,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:09:02,327 - DEBUG - Requesting: http://10.20.0.18:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-22020696:ctest-bgpaas_vn-65542268:ctest-bgpaas_vn-65542268.inet.0 2025-11-21 17:09:02,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:09:02,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.160.146.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-21 17:09:02,338 - DEBUG - ping -s 56 -c 3 -W 1 163.160.146.3 2025-11-21 17:09:06,475 - DEBUG - PING 163.160.146.3 (163.160.146.3): 56 data bytes 64 bytes from 163.160.146.3: seq=0 ttl=63 time=5.397 ms 64 bytes from 163.160.146.3: seq=1 ttl=63 time=1.631 ms 64 bytes from 163.160.146.3: seq=2 ttl=63 time=2.100 ms --- 163.160.146.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.631/3.042/5.397 ms 2025-11-21 17:09:06,475 - INFO - Ping to IP 163.160.146.3 from VM test_vm passed 2025-11-21 17:09:06,600 - INFO - Deleting VM test2_vm 2025-11-21 17:09:06,727 - INFO - Deleting VM test_vm 2025-11-21 17:09:06,859 - INFO - Deleting VN ctest-bgpaas_vn-85595809 2025-11-21 17:09:06,946 - DEBUG - VN 50641f80-06e1-48e1-8f32-97560cee44e3 still in use: Unable to complete operation on network 50641f80-06e1-48e1-8f32-97560cee44e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2e4b0edc-dcf6-4bd4-8fe1-44c47273a51c'] 2025-11-21 17:09:06,946 - WARNING - Deleting VN ctest-bgpaas_vn-85595809 failed..Will retry 2025-11-21 17:09:09,197 - DEBUG - Response for deleting network () 2025-11-21 17:09:09,198 - INFO - Deleting VN ctest-bgpaas_vn-65542268 2025-11-21 17:09:09,364 - DEBUG - Response for deleting network () 2025-11-21 17:09:09,652 - DEBUG - No XMPP flaps were noticed during the test
2025-11-21 17:09:09,652 - INFO - END TEST : test_rp_interface : PASSED[0:00:33]
2025-11-21 17:09:09,652 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:09:10,583 - INFO - Deleted project: ctest-TestRP-22020696, ID : eca794d8-1262-4324-adf8-a2d226da7d6c