2025-11-27 02:13:17,796 - INFO - Domain Default found not creating 2025-11-27 02:13:17,989 - INFO - Project ctest-TestRP-62038580 not found, creating it 2025-11-27 02:13:18,526 - INFO - Created Project:ctest-TestRP-62038580, ID : 273bd6dd-4b05-45fb-b1cd-df2bef7c45fb 2025-11-27 02:13:20,299 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:13:20,299 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4821-1']} 2025-11-27 02:13:20,302 - INFO - ================================================================================ 2025-11-27 02:13:20,302 - INFO - STARTING TEST : test_rp_interface 2025-11-27 02:13:20,302 - 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-27 02:13:20,562 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.201': '0'}} with 2025-11-27 02:13:20,562 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:13:20,562 - INFO - 2025-11-27 02:13:21,199 - DEBUG - Response for create_network : {'network': {'id': 'ddd327a6-c31d-4568-8bfc-1fcc64c7d00a', 'name': 'ctest-bgpaas_vn-68138547', 'tenant_id': '273bd6dd4b0545fbb1cddf2bef7c45fb', 'project_id': '273bd6dd4b0545fbb1cddf2bef7c45fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-62038580', 'ctest-bgpaas_vn-68138547'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:13:21,423 - DEBUG - Response for create_subnet : {'subnet': {'id': '25861f4c-799a-4aec-bf53-3fcb3c3a8c3e', 'name': '', 'tenant_id': '273bd6dd4b0545fbb1cddf2bef7c45fb', 'network_id': 'ddd327a6-c31d-4568-8bfc-1fcc64c7d00a', 'ip_version': 4, 'cidr': '161.210.132.0/26', 'allocation_pools': [{'start': '161.210.132.2', 'end': '161.210.132.62'}], 'gateway_ip': '161.210.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.210.132.2', 'tags': [], 'project_id': '273bd6dd4b0545fbb1cddf2bef7c45fb'}} 2025-11-27 02:13:21,447 - INFO - Created VN ctest-bgpaas_vn-68138547 2025-11-27 02:13:21,499 - DEBUG - VN ctest-bgpaas_vn-68138547 UUID is ddd327a6-c31d-4568-8bfc-1fcc64c7d00a 2025-11-27 02:13:21,986 - DEBUG - Response for create_network : {'network': {'id': 'ca1588f6-2d03-4d87-b4a0-f02d52813d4e', 'name': 'ctest-bgpaas_vn-60560191', 'tenant_id': '273bd6dd4b0545fbb1cddf2bef7c45fb', 'project_id': '273bd6dd4b0545fbb1cddf2bef7c45fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-62038580', 'ctest-bgpaas_vn-60560191'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:13:22,206 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8693d77-5304-408f-8757-a8f9e3e2c8ca', 'name': '', 'tenant_id': '273bd6dd4b0545fbb1cddf2bef7c45fb', 'network_id': 'ca1588f6-2d03-4d87-b4a0-f02d52813d4e', 'ip_version': 4, 'cidr': '164.244.4.0/26', 'allocation_pools': [{'start': '164.244.4.2', 'end': '164.244.4.62'}], 'gateway_ip': '164.244.4.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.244.4.2', 'tags': [], 'project_id': '273bd6dd4b0545fbb1cddf2bef7c45fb'}} 2025-11-27 02:13:22,229 - INFO - Created VN ctest-bgpaas_vn-60560191 2025-11-27 02:13:22,283 - DEBUG - VN ctest-bgpaas_vn-60560191 UUID is ca1588f6-2d03-4d87-b4a0-f02d52813d4e 2025-11-27 02:13:23,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1) 2025-11-27 02:13:25,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4821-1) 2025-11-27 02:13:25,117 - INFO - Waiting for VM test_vm to be up.. 2025-11-27 02:13:25,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:13:30,303 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:13:30,304 - INFO - VM name : test_vm 2025-11-27 02:13:30,391 - DEBUG - VM test_vm ID is a9842c03-2f0d-4f07-a38b-78b64536b82d 2025-11-27 02:13:30,412 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1 2025-11-27 02:13:30,500 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a9842c03-2f0d-4f07-a38b-78b64536b82d 2025-11-27 02:13:30,858 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/a9842c03-2f0d-4f07-a38b-78b64536b82d 2025-11-27 02:13:30,896 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/784fb4ca-846c-4726-bbf6-fc10893a1612 2025-11-27 02:13:34,153 - 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 1002ms') 2025-11-27 02:13:34,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-11-27 02:13:34,207 - DEBUG - Gateway for vn default-domain:ctest-TestRP-62038580:ctest-bgpaas_vn-68138547 is 161.210.132.1 and allocation pool is NOT set 2025-11-27 02:13:36,278 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=6.43 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 = 5.405/5.918/6.431/0.513 ms') 2025-11-27 02:13:36,278 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-11-27 02:13:36,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:13:36,435 - DEBUG - Waiting to SSH to VM test_vm, IP 161.210.132.3, Port 22 2025-11-27 02:13:36,505 - 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-27 02:13:36,618 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 02:13:41,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:13:41,619 - DEBUG - Waiting to SSH to VM test_vm, IP 161.210.132.3, Port 22 2025-11-27 02:13:41,782 - DEBUG - VM test_vm is ready for SSH connections 2025-11-27 02:13:41,782 - INFO - Waiting for VM test2_vm to be up.. 2025-11-27 02:13:41,870 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:13:41,871 - INFO - VM name : test2_vm 2025-11-27 02:13:41,951 - DEBUG - VM test2_vm ID is 184b2918-2dc2-4001-bc5a-8d429c5cd68a 2025-11-27 02:13:41,951 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4821-1 2025-11-27 02:13:42,032 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/184b2918-2dc2-4001-bc5a-8d429c5cd68a 2025-11-27 02:13:42,041 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/0a148478-af4a-41a2-accc-05730b35f5ed 2025-11-27 02:13:43,287 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/1.807/3.156/1.348 ms') 2025-11-27 02:13:43,287 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-11-27 02:13:43,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:13:43,435 - DEBUG - Waiting to SSH to VM test2_vm, IP 164.244.4.3, Port 22 2025-11-27 02:13:43,595 - DEBUG - VM test2_vm is ready for SSH connections 2025-11-27 02:13:43,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:13:43,745 - DEBUG - Requesting: http://10.20.0.201:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-62038580:ctest-bgpaas_vn-68138547:ctest-bgpaas_vn-68138547.inet.0 2025-11-27 02:13:44,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:13:44,763 - DEBUG - Requesting: http://10.20.0.201:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-62038580:ctest-bgpaas_vn-68138547:ctest-bgpaas_vn-68138547.inet.0 2025-11-27 02:13:44,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:13:44,773 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.244.4.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-27 02:13:44,774 - DEBUG - ping -s 56 -c 3 -W 1 164.244.4.3 2025-11-27 02:13:48,554 - DEBUG - PING 164.244.4.3 (164.244.4.3): 56 data bytes 64 bytes from 164.244.4.3: seq=0 ttl=63 time=4.740 ms 64 bytes from 164.244.4.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 164.244.4.3: seq=2 ttl=63 time=0.846 ms --- 164.244.4.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.140/4.740 ms 2025-11-27 02:13:48,554 - INFO - Ping to IP 164.244.4.3 from VM test_vm passed 2025-11-27 02:13:48,624 - INFO - Deleting VM test2_vm 2025-11-27 02:13:48,720 - INFO - Deleting VM test_vm 2025-11-27 02:13:48,798 - INFO - Deleting VN ctest-bgpaas_vn-60560191 2025-11-27 02:13:48,840 - DEBUG - VN ca1588f6-2d03-4d87-b4a0-f02d52813d4e still in use: Unable to complete operation on network ca1588f6-2d03-4d87-b4a0-f02d52813d4e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88538e52-feac-4ff0-abc0-8fc2bb9bc68e'] 2025-11-27 02:13:48,840 - WARNING - Deleting VN ctest-bgpaas_vn-60560191 failed..Will retry 2025-11-27 02:13:50,951 - DEBUG - Response for deleting network () 2025-11-27 02:13:50,951 - INFO - Deleting VN ctest-bgpaas_vn-68138547 2025-11-27 02:13:51,069 - DEBUG - Response for deleting network () 2025-11-27 02:13:51,337 - DEBUG - No XMPP flaps were noticed during the test 2025-11-27 02:13:51,337 - INFO - END TEST : test_rp_interface : PASSED[0:00:31] 2025-11-27 02:13:51,337 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:13:52,112 - INFO - Deleted project: ctest-TestRP-62038580, ID : 273bd6dd-4b05-45fb-b1cd-df2bef7c45fb