2025-08-06 14:18:24,235 - INFO - Domain Default found not creating 2025-08-06 14:18:24,422 - INFO - Project ctest-TestRP-08066054 not found, creating it 2025-08-06 14:18:24,924 - INFO - Created Project:ctest-TestRP-08066054, ID : 1f2dfc21-fd86-4884-9aff-07d027001b97 2025-08-06 14:18:26,643 - DEBUG - Services list from nova: [, , ] 2025-08-06 14:18:26,643 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3762-1']} 2025-08-06 14:18:26,646 - INFO - ================================================================================ 2025-08-06 14:18:26,646 - INFO - STARTING TEST : test_rp_interface 2025-08-06 14:18:26,646 - 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-08-06 14:18:26,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-06 14:18:26,908 - INFO - Initial checks done. Running the testcase now 2025-08-06 14:18:26,909 - INFO - 2025-08-06 14:18:27,546 - DEBUG - Response for create_network : {'network': {'id': '23fccd37-b2db-4a27-83eb-631a9eda9127', 'name': 'ctest-bgpaas_vn-00168889', 'tenant_id': '1f2dfc21fd8648849aff07d027001b97', 'project_id': '1f2dfc21fd8648849aff07d027001b97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-08066054', 'ctest-bgpaas_vn-00168889'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:18:27,763 - DEBUG - Response for create_subnet : {'subnet': {'id': '63823168-de2b-45ac-8022-26b86870e4df', 'name': '', 'tenant_id': '1f2dfc21fd8648849aff07d027001b97', 'network_id': '23fccd37-b2db-4a27-83eb-631a9eda9127', 'ip_version': 4, 'cidr': '89.0.120.64/26', 'allocation_pools': [{'start': '89.0.120.66', 'end': '89.0.120.126'}], 'gateway_ip': '89.0.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.0.120.66', 'tags': [], 'project_id': '1f2dfc21fd8648849aff07d027001b97'}} 2025-08-06 14:18:27,790 - INFO - Created VN ctest-bgpaas_vn-00168889 2025-08-06 14:18:27,848 - DEBUG - VN ctest-bgpaas_vn-00168889 UUID is 23fccd37-b2db-4a27-83eb-631a9eda9127 2025-08-06 14:18:28,380 - DEBUG - Response for create_network : {'network': {'id': '783c921a-49d9-41f1-b549-0fdd9d19928c', 'name': 'ctest-bgpaas_vn-19674798', 'tenant_id': '1f2dfc21fd8648849aff07d027001b97', 'project_id': '1f2dfc21fd8648849aff07d027001b97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-08066054', 'ctest-bgpaas_vn-19674798'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 14:18:28,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d16bfb9-81cd-49f4-9b8e-ad7a423f6b88', 'name': '', 'tenant_id': '1f2dfc21fd8648849aff07d027001b97', 'network_id': '783c921a-49d9-41f1-b549-0fdd9d19928c', 'ip_version': 4, 'cidr': '173.37.203.192/26', 'allocation_pools': [{'start': '173.37.203.194', 'end': '173.37.203.254'}], 'gateway_ip': '173.37.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.37.203.194', 'tags': [], 'project_id': '1f2dfc21fd8648849aff07d027001b97'}} 2025-08-06 14:18:28,661 - INFO - Created VN ctest-bgpaas_vn-19674798 2025-08-06 14:18:28,716 - DEBUG - VN ctest-bgpaas_vn-19674798 UUID is 783c921a-49d9-41f1-b549-0fdd9d19928c 2025-08-06 14:18:30,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3762-1) 2025-08-06 14:18:31,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3762-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3762-1) 2025-08-06 14:18:31,688 - INFO - Waiting for VM test_vm to be up.. 2025-08-06 14:18:31,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-06 14:18:36,892 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:18:36,893 - INFO - VM name : test_vm 2025-08-06 14:18:37,000 - DEBUG - VM test_vm ID is 4091670a-e695-4bc4-984e-bd2e09d98bc2 2025-08-06 14:18:37,143 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3762-1 2025-08-06 14:18:37,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4091670a-e695-4bc4-984e-bd2e09d98bc2 2025-08-06 14:18:37,589 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4091670a-e695-4bc4-984e-bd2e09d98bc2 2025-08-06 14:18:37,633 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a36678ab-dc2c-4a6e-9026-663eff4dbf0b 2025-08-06 14:18:40,911 - 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 1013ms') 2025-08-06 14:18:40,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-08-06 14:18:40,969 - DEBUG - Gateway for vn default-domain:ctest-TestRP-08066054:ctest-bgpaas_vn-00168889 is 89.0.120.65 and allocation pool is NOT set 2025-08-06 14:18:43,027 - 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=6.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.542 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 = 0.542/3.608/6.674/3.066 ms') 2025-08-06 14:18:43,027 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-08-06 14:18:43,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:18:43,181 - DEBUG - Waiting to SSH to VM test_vm, IP 89.0.120.67, Port 22 2025-08-06 14:18:43,246 - 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-08-06 14:18:43,341 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 14:18:48,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:18:48,342 - DEBUG - Waiting to SSH to VM test_vm, IP 89.0.120.67, Port 22 2025-08-06 14:18:48,515 - DEBUG - VM test_vm is ready for SSH connections 2025-08-06 14:18:48,515 - INFO - Waiting for VM test2_vm to be up.. 2025-08-06 14:18:48,607 - DEBUG - VM is in ACTIVE state now 2025-08-06 14:18:48,607 - INFO - VM name : test2_vm 2025-08-06 14:18:48,689 - DEBUG - VM test2_vm ID is 5308fecb-e4bd-4ad4-bd5d-6f34071f6ee1 2025-08-06 14:18:48,689 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3762-1 2025-08-06 14:18:48,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5308fecb-e4bd-4ad4-bd5d-6f34071f6ee1 2025-08-06 14:18:48,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6654591c-06e9-4b45-ab49-9099b8f80717 2025-08-06 14:18:50,039 - 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=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.436/2.237/4.038/1.801 ms') 2025-08-06 14:18:50,039 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-08-06 14:18:50,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:18:50,193 - DEBUG - Waiting to SSH to VM test2_vm, IP 173.37.203.195, Port 22 2025-08-06 14:18:50,360 - DEBUG - VM test2_vm is ready for SSH connections 2025-08-06 14:18:50,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:18:50,527 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-08066054:ctest-bgpaas_vn-00168889:ctest-bgpaas_vn-00168889.inet.0 2025-08-06 14:18:51,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:18:51,547 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-08066054:ctest-bgpaas_vn-00168889:ctest-bgpaas_vn-00168889.inet.0 2025-08-06 14:18:51,561 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 14:18:51,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.37.203.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-06 14:18:51,562 - DEBUG - ping -s 56 -c 3 -W 1 173.37.203.195 2025-08-06 14:18:55,288 - DEBUG - PING 173.37.203.195 (173.37.203.195): 56 data bytes 64 bytes from 173.37.203.195: seq=0 ttl=63 time=4.041 ms 64 bytes from 173.37.203.195: seq=1 ttl=63 time=1.233 ms 64 bytes from 173.37.203.195: seq=2 ttl=63 time=1.117 ms --- 173.37.203.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.117/2.130/4.041 ms 2025-08-06 14:18:55,289 - INFO - Ping to IP 173.37.203.195 from VM test_vm passed 2025-08-06 14:18:55,365 - INFO - Deleting VM test2_vm 2025-08-06 14:18:55,470 - INFO - Deleting VM test_vm 2025-08-06 14:18:55,550 - INFO - Deleting VN ctest-bgpaas_vn-19674798 2025-08-06 14:18:55,598 - DEBUG - VN 783c921a-49d9-41f1-b549-0fdd9d19928c still in use: Unable to complete operation on network 783c921a-49d9-41f1-b549-0fdd9d19928c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6626e19a-331b-4e3c-9420-9351e02fb71c'] 2025-08-06 14:18:55,598 - WARNING - Deleting VN ctest-bgpaas_vn-19674798 failed..Will retry 2025-08-06 14:18:57,723 - DEBUG - Response for deleting network () 2025-08-06 14:18:57,723 - INFO - Deleting VN ctest-bgpaas_vn-00168889 2025-08-06 14:18:57,853 - DEBUG - Response for deleting network () 2025-08-06 14:18:58,112 - DEBUG - No XMPP flaps were noticed during the test
2025-08-06 14:18:58,112 - INFO - END TEST : test_rp_interface : PASSED[0:00:32]
2025-08-06 14:18:58,112 - INFO - -------------------------------------------------------------------------------- 2025-08-06 14:18:58,872 - INFO - Deleted project: ctest-TestRP-08066054, ID : 1f2dfc21-fd86-4884-9aff-07d027001b97