2025-11-18 17:10:58,452 - INFO - Domain Default found not creating 2025-11-18 17:10:58,613 - INFO - Project ctest-TestRP-37687060 not found, creating it 2025-11-18 17:10:59,086 - INFO - Created Project:ctest-TestRP-37687060, ID : 4fbe1f8a-bab1-4237-94e1-29ec66e5620b 2025-11-18 17:11:00,622 - DEBUG - Services list from nova: [, , ] 2025-11-18 17:11:00,622 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4758-1']} 2025-11-18 17:11:00,624 - INFO - ================================================================================ 2025-11-18 17:11:00,624 - INFO - STARTING TEST : test_rp_interface 2025-11-18 17:11:00,624 - 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-18 17:11:00,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-11-18 17:11:00,877 - INFO - Initial checks done. Running the testcase now 2025-11-18 17:11:00,877 - INFO - 2025-11-18 17:11:01,569 - DEBUG - Response for create_network : {'network': {'id': 'c1b35982-e703-4bdb-93fc-590730fa5757', 'name': 'ctest-bgpaas_vn-47543281', 'tenant_id': '4fbe1f8abab1423794e129ec66e5620b', 'project_id': '4fbe1f8abab1423794e129ec66e5620b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37687060', 'ctest-bgpaas_vn-47543281'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:11:01,723 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f18505e0-2a7a-42b2-9d62-03ee28c70cef', 'name': '', 'tenant_id': '4fbe1f8abab1423794e129ec66e5620b', 'network_id': 'c1b35982-e703-4bdb-93fc-590730fa5757', 'ip_version': 4, 'cidr': '141.33.172.0/26', 'allocation_pools': [{'start': '141.33.172.2', 'end': '141.33.172.62'}], 'gateway_ip': '141.33.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.33.172.2', 'tags': [], 'project_id': '4fbe1f8abab1423794e129ec66e5620b'}} 2025-11-18 17:11:01,744 - INFO - Created VN ctest-bgpaas_vn-47543281 2025-11-18 17:11:01,795 - DEBUG - VN ctest-bgpaas_vn-47543281 UUID is c1b35982-e703-4bdb-93fc-590730fa5757 2025-11-18 17:11:02,280 - DEBUG - Response for create_network : {'network': {'id': '17e910e8-2bce-4aca-b512-4a00ff97851c', 'name': 'ctest-bgpaas_vn-36942085', 'tenant_id': '4fbe1f8abab1423794e129ec66e5620b', 'project_id': '4fbe1f8abab1423794e129ec66e5620b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-37687060', 'ctest-bgpaas_vn-36942085'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 17:11:02,494 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f82bfd5-46a7-4fe0-b7ca-16591956e653', 'name': '', 'tenant_id': '4fbe1f8abab1423794e129ec66e5620b', 'network_id': '17e910e8-2bce-4aca-b512-4a00ff97851c', 'ip_version': 4, 'cidr': '170.255.0.128/26', 'allocation_pools': [{'start': '170.255.0.130', 'end': '170.255.0.190'}], 'gateway_ip': '170.255.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.255.0.130', 'tags': [], 'project_id': '4fbe1f8abab1423794e129ec66e5620b'}} 2025-11-18 17:11:02,512 - INFO - Created VN ctest-bgpaas_vn-36942085 2025-11-18 17:11:02,563 - DEBUG - VN ctest-bgpaas_vn-36942085 UUID is 17e910e8-2bce-4aca-b512-4a00ff97851c 2025-11-18 17:11:03,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:11:05,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4758-1) 2025-11-18 17:11:05,155 - INFO - Waiting for VM test_vm to be up.. 2025-11-18 17:11:05,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 17:11:10,319 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:11:10,319 - INFO - VM name : test_vm 2025-11-18 17:11:10,398 - DEBUG - VM test_vm ID is d00bce52-4ac6-448e-a18d-a1c8799f7c1c 2025-11-18 17:11:10,419 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:11:10,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d00bce52-4ac6-448e-a18d-a1c8799f7c1c 2025-11-18 17:11:10,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d00bce52-4ac6-448e-a18d-a1c8799f7c1c 2025-11-18 17:11:10,826 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1fee6f12-69d9-4d93-a05e-85e2e06888c0 2025-11-18 17:11:14,100 - 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 1031ms') 2025-11-18 17:11:14,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-18 17:11:14,155 - DEBUG - Gateway for vn default-domain:ctest-TestRP-37687060:ctest-bgpaas_vn-47543281 is 141.33.172.1 and allocation pool is NOT set 2025-11-18 17:11:16,225 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.91 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.908/5.951/9.995/4.043 ms') 2025-11-18 17:11:16,225 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-18 17:11:16,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:11:16,375 - DEBUG - Waiting to SSH to VM test_vm, IP 141.33.172.3, Port 22 2025-11-18 17:11:16,441 - 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-18 17:11:16,521 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-18 17:11:21,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:11:21,522 - DEBUG - Waiting to SSH to VM test_vm, IP 141.33.172.3, Port 22 2025-11-18 17:11:21,679 - DEBUG - VM test_vm is ready for SSH connections 2025-11-18 17:11:21,679 - INFO - Waiting for VM test2_vm to be up.. 2025-11-18 17:11:21,843 - DEBUG - VM is in ACTIVE state now 2025-11-18 17:11:21,844 - INFO - VM name : test2_vm 2025-11-18 17:11:21,920 - DEBUG - VM test2_vm ID is 47829ce6-bd5c-4be3-93e2-a2fbb3c61150 2025-11-18 17:11:21,920 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4758-1 2025-11-18 17:11:21,998 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/47829ce6-bd5c-4be3-93e2-a2fbb3c61150 2025-11-18 17:11:22,006 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e1d963dd-1be7-49da-a4a5-999ebf418ae8 2025-11-18 17:11:23,254 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.376 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.376/2.069/3.762/1.693 ms') 2025-11-18 17:11:23,254 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-18 17:11:23,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:11:23,403 - DEBUG - Waiting to SSH to VM test2_vm, IP 170.255.0.131, Port 22 2025-11-18 17:11:23,566 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-18 17:11:23,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:11:23,724 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-37687060:ctest-bgpaas_vn-47543281:ctest-bgpaas_vn-47543281.inet.0 2025-11-18 17:11:23,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 17:11:23,735 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.255.0.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-18 17:11:23,735 - DEBUG - ping -s 56 -c 3 -W 1 170.255.0.131 2025-11-18 17:11:27,388 - DEBUG - PING 170.255.0.131 (170.255.0.131): 56 data bytes 64 bytes from 170.255.0.131: seq=0 ttl=63 time=3.262 ms 64 bytes from 170.255.0.131: seq=1 ttl=63 time=0.964 ms 64 bytes from 170.255.0.131: seq=2 ttl=63 time=0.824 ms --- 170.255.0.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.683/3.262 ms 2025-11-18 17:11:27,388 - INFO - Ping to IP 170.255.0.131 from VM test_vm passed 2025-11-18 17:11:27,463 - INFO - Deleting VM test2_vm 2025-11-18 17:11:27,535 - INFO - Deleting VM test_vm 2025-11-18 17:11:27,598 - INFO - Deleting VN ctest-bgpaas_vn-36942085 2025-11-18 17:11:27,648 - DEBUG - VN 17e910e8-2bce-4aca-b512-4a00ff97851c still in use: Unable to complete operation on network 17e910e8-2bce-4aca-b512-4a00ff97851c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc1b3070-e6b8-479f-9539-9c9cf1ead07c'] 2025-11-18 17:11:27,648 - WARNING - Deleting VN ctest-bgpaas_vn-36942085 failed..Will retry 2025-11-18 17:11:29,751 - DEBUG - Response for deleting network () 2025-11-18 17:11:29,752 - INFO - Deleting VN ctest-bgpaas_vn-47543281 2025-11-18 17:11:29,865 - DEBUG - Response for deleting network () 2025-11-18 17:11:30,121 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 17:11:30,121 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-11-18 17:11:30,121 - INFO - -------------------------------------------------------------------------------- 2025-11-18 17:11:30,821 - INFO - Deleted project: ctest-TestRP-37687060, ID : 4fbe1f8a-bab1-4237-94e1-29ec66e5620b