2025-12-15 02:25:38,816 - INFO - Domain Default found not creating 2025-12-15 02:25:39,033 - INFO - Project ctest-TestRP-43624063 not found, creating it 2025-12-15 02:25:39,504 - INFO - Created Project:ctest-TestRP-43624063, ID : fac97822-b1d9-40a6-a513-7e2e6f37319c 2025-12-15 02:25:41,302 - DEBUG - Services list from nova: [, , ] 2025-12-15 02:25:41,302 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4891-1']} 2025-12-15 02:25:41,304 - INFO - ================================================================================ 2025-12-15 02:25:41,304 - INFO - STARTING TEST : test_rp_interface 2025-12-15 02:25:41,305 - 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-12-15 02:25:41,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with 2025-12-15 02:25:41,565 - INFO - Initial checks done. Running the testcase now 2025-12-15 02:25:41,565 - INFO - 2025-12-15 02:25:42,217 - DEBUG - Response for create_network : {'network': {'id': '62b0b58e-18dc-47d3-88e8-374833e43fa7', 'name': 'ctest-bgpaas_vn-36895866', 'tenant_id': 'fac97822b1d940a6a5137e2e6f37319c', 'project_id': 'fac97822b1d940a6a5137e2e6f37319c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-43624063', 'ctest-bgpaas_vn-36895866'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:25:42,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '02d6d3a6-dfe5-4d3d-bd48-bf1a5411b10f', 'name': '', 'tenant_id': 'fac97822b1d940a6a5137e2e6f37319c', 'network_id': '62b0b58e-18dc-47d3-88e8-374833e43fa7', 'ip_version': 4, 'cidr': '201.247.41.192/26', 'allocation_pools': [{'start': '201.247.41.194', 'end': '201.247.41.254'}], 'gateway_ip': '201.247.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.247.41.194', 'tags': [], 'project_id': 'fac97822b1d940a6a5137e2e6f37319c'}} 2025-12-15 02:25:42,474 - INFO - Created VN ctest-bgpaas_vn-36895866 2025-12-15 02:25:42,530 - DEBUG - VN ctest-bgpaas_vn-36895866 UUID is 62b0b58e-18dc-47d3-88e8-374833e43fa7 2025-12-15 02:25:43,047 - DEBUG - Response for create_network : {'network': {'id': 'cde9a97b-583d-4604-bbab-af701f793e62', 'name': 'ctest-bgpaas_vn-49701756', 'tenant_id': 'fac97822b1d940a6a5137e2e6f37319c', 'project_id': 'fac97822b1d940a6a5137e2e6f37319c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-43624063', 'ctest-bgpaas_vn-49701756'], 'port_security_enabled': True, 'description': ''}} 2025-12-15 02:25:43,295 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ece90da-c081-49f6-8df3-a25f6e28e968', 'name': '', 'tenant_id': 'fac97822b1d940a6a5137e2e6f37319c', 'network_id': 'cde9a97b-583d-4604-bbab-af701f793e62', 'ip_version': 4, 'cidr': '115.148.49.64/26', 'allocation_pools': [{'start': '115.148.49.66', 'end': '115.148.49.126'}], 'gateway_ip': '115.148.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.148.49.66', 'tags': [], 'project_id': 'fac97822b1d940a6a5137e2e6f37319c'}} 2025-12-15 02:25:43,317 - INFO - Created VN ctest-bgpaas_vn-49701756 2025-12-15 02:25:43,370 - DEBUG - VN ctest-bgpaas_vn-49701756 UUID is cde9a97b-583d-4604-bbab-af701f793e62 2025-12-15 02:25:44,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4891-1) 2025-12-15 02:25:46,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4891-1) 2025-12-15 02:25:46,278 - INFO - Waiting for VM test_vm to be up.. 2025-12-15 02:25:46,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-15 02:25:51,473 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:25:51,473 - INFO - VM name : test_vm 2025-12-15 02:25:51,578 - DEBUG - VM test_vm ID is 74bd9245-61cd-4f6a-b01a-04f25e54b5d2 2025-12-15 02:25:51,604 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4891-1 2025-12-15 02:25:51,695 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/74bd9245-61cd-4f6a-b01a-04f25e54b5d2 2025-12-15 02:25:52,048 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/74bd9245-61cd-4f6a-b01a-04f25e54b5d2 2025-12-15 02:25:52,087 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/7ddfdc3e-119f-476d-9aa1-b68599441748 2025-12-15 02:25:55,346 - 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-12-15 02:25:55,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-12-15 02:25:55,402 - DEBUG - Gateway for vn default-domain:ctest-TestRP-43624063:ctest-bgpaas_vn-36895866 is 201.247.41.193 and allocation pool is NOT set 2025-12-15 02:25:57,467 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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 = 0.494/2.423/4.353/1.929 ms') 2025-12-15 02:25:57,467 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-12-15 02:25:57,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:25:57,634 - DEBUG - Waiting to SSH to VM test_vm, IP 201.247.41.195, Port 22 2025-12-15 02:25:57,700 - 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-12-15 02:25:57,797 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-12-15 02:26:02,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:26:02,798 - DEBUG - Waiting to SSH to VM test_vm, IP 201.247.41.195, Port 22 2025-12-15 02:26:02,954 - DEBUG - VM test_vm is ready for SSH connections 2025-12-15 02:26:02,954 - INFO - Waiting for VM test2_vm to be up.. 2025-12-15 02:26:03,054 - DEBUG - VM is in ACTIVE state now 2025-12-15 02:26:03,055 - INFO - VM name : test2_vm 2025-12-15 02:26:03,147 - DEBUG - VM test2_vm ID is 7892a86e-37a7-423d-a1c5-801e756d0963 2025-12-15 02:26:03,148 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4891-1 2025-12-15 02:26:03,233 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/7892a86e-37a7-423d-a1c5-801e756d0963 2025-12-15 02:26:03,242 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/99603bee-8f3e-46c6-809b-d9d63375954b 2025-12-15 02:26:04,496 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.521/2.006/3.491/1.485 ms') 2025-12-15 02:26:04,496 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-12-15 02:26:04,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:26:04,654 - DEBUG - Waiting to SSH to VM test2_vm, IP 115.148.49.67, Port 22 2025-12-15 02:26:04,824 - DEBUG - VM test2_vm is ready for SSH connections 2025-12-15 02:26:05,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:26:05,009 - DEBUG - Requesting: http://10.20.0.241:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-43624063:ctest-bgpaas_vn-36895866:ctest-bgpaas_vn-36895866.inet.0 2025-12-15 02:26:05,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-15 02:26:05,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.148.49.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-15 02:26:05,021 - DEBUG - ping -s 56 -c 3 -W 1 115.148.49.67 2025-12-15 02:26:08,778 - DEBUG - PING 115.148.49.67 (115.148.49.67): 56 data bytes 64 bytes from 115.148.49.67: seq=0 ttl=63 time=5.144 ms 64 bytes from 115.148.49.67: seq=1 ttl=63 time=1.410 ms 64 bytes from 115.148.49.67: seq=2 ttl=63 time=1.111 ms --- 115.148.49.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.111/2.555/5.144 ms 2025-12-15 02:26:08,778 - INFO - Ping to IP 115.148.49.67 from VM test_vm passed 2025-12-15 02:26:08,856 - INFO - Deleting VM test2_vm 2025-12-15 02:26:08,942 - INFO - Deleting VM test_vm 2025-12-15 02:26:09,032 - INFO - Deleting VN ctest-bgpaas_vn-49701756 2025-12-15 02:26:09,084 - DEBUG - VN cde9a97b-583d-4604-bbab-af701f793e62 still in use: Unable to complete operation on network cde9a97b-583d-4604-bbab-af701f793e62. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d02a27e-4302-4cdf-91fb-734fc7b86a2d'] 2025-12-15 02:26:09,084 - WARNING - Deleting VN ctest-bgpaas_vn-49701756 failed..Will retry 2025-12-15 02:26:11,195 - DEBUG - Response for deleting network () 2025-12-15 02:26:11,195 - INFO - Deleting VN ctest-bgpaas_vn-36895866 2025-12-15 02:26:11,322 - DEBUG - Response for deleting network () 2025-12-15 02:26:11,604 - DEBUG - No XMPP flaps were noticed during the test
2025-12-15 02:26:11,604 - INFO - END TEST : test_rp_interface : PASSED[0:00:30]
2025-12-15 02:26:11,604 - INFO - -------------------------------------------------------------------------------- 2025-12-15 02:26:12,372 - INFO - Deleted project: ctest-TestRP-43624063, ID : fac97822-b1d9-40a6-a513-7e2e6f37319c