2025-09-15 10:50:58,990 - INFO - Domain Default found not creating 2025-09-15 10:50:59,158 - INFO - Project ctest-TestRP-95316770 not found, creating it 2025-09-15 10:50:59,640 - INFO - Created Project:ctest-TestRP-95316770, ID : 39655ca7-d5b8-44e9-9d19-dbac5b2a9459 2025-09-15 10:51:01,293 - DEBUG - Services list from nova: [, , ] 2025-09-15 10:51:01,293 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4113-1']} 2025-09-15 10:51:01,296 - INFO - ================================================================================ 2025-09-15 10:51:01,296 - INFO - STARTING TEST : test_rp_interface 2025-09-15 10:51:01,296 - 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-09-15 10:51:01,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-15 10:51:01,567 - INFO - Initial checks done. Running the testcase now 2025-09-15 10:51:01,567 - INFO - 2025-09-15 10:51:02,180 - DEBUG - Response for create_network : {'network': {'id': '81d0e4e2-5a95-43fd-935d-de201de30d15', 'name': 'ctest-bgpaas_vn-13316411', 'tenant_id': '39655ca7d5b844e99d19dbac5b2a9459', 'project_id': '39655ca7d5b844e99d19dbac5b2a9459', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-95316770', 'ctest-bgpaas_vn-13316411'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 10:51:02,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '80a4a1e0-3de4-4f97-9c34-0421911476c5', 'name': '', 'tenant_id': '39655ca7d5b844e99d19dbac5b2a9459', 'network_id': '81d0e4e2-5a95-43fd-935d-de201de30d15', 'ip_version': 4, 'cidr': '203.67.81.0/26', 'allocation_pools': [{'start': '203.67.81.2', 'end': '203.67.81.62'}], 'gateway_ip': '203.67.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.67.81.2', 'tags': [], 'project_id': '39655ca7d5b844e99d19dbac5b2a9459'}} 2025-09-15 10:51:02,434 - INFO - Created VN ctest-bgpaas_vn-13316411 2025-09-15 10:51:02,490 - DEBUG - VN ctest-bgpaas_vn-13316411 UUID is 81d0e4e2-5a95-43fd-935d-de201de30d15 2025-09-15 10:51:02,980 - DEBUG - Response for create_network : {'network': {'id': 'f9a8b246-bfd4-4be9-b801-2c396a4d1568', 'name': 'ctest-bgpaas_vn-70847661', 'tenant_id': '39655ca7d5b844e99d19dbac5b2a9459', 'project_id': '39655ca7d5b844e99d19dbac5b2a9459', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-95316770', 'ctest-bgpaas_vn-70847661'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 10:51:03,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '94480a98-4331-4126-885f-f45a02d7cc88', 'name': '', 'tenant_id': '39655ca7d5b844e99d19dbac5b2a9459', 'network_id': 'f9a8b246-bfd4-4be9-b801-2c396a4d1568', 'ip_version': 4, 'cidr': '14.79.30.192/26', 'allocation_pools': [{'start': '14.79.30.194', 'end': '14.79.30.254'}], 'gateway_ip': '14.79.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.79.30.194', 'tags': [], 'project_id': '39655ca7d5b844e99d19dbac5b2a9459'}} 2025-09-15 10:51:03,184 - INFO - Created VN ctest-bgpaas_vn-70847661 2025-09-15 10:51:03,238 - DEBUG - VN ctest-bgpaas_vn-70847661 UUID is f9a8b246-bfd4-4be9-b801-2c396a4d1568 2025-09-15 10:51:04,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1) 2025-09-15 10:51:05,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1) 2025-09-15 10:51:05,993 - INFO - Waiting for VM test_vm to be up.. 2025-09-15 10:51:06,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 10:51:11,197 - DEBUG - VM is in ACTIVE state now 2025-09-15 10:51:11,197 - INFO - VM name : test_vm 2025-09-15 10:51:11,279 - DEBUG - VM test_vm ID is 293a5ce2-34b2-4684-a8fb-d52f1b6ae535 2025-09-15 10:51:11,305 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1 2025-09-15 10:51:11,387 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/293a5ce2-34b2-4684-a8fb-d52f1b6ae535 2025-09-15 10:51:11,726 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/293a5ce2-34b2-4684-a8fb-d52f1b6ae535 2025-09-15 10:51:11,760 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/755b4793-7844-4cac-a17d-e30f1adf301e 2025-09-15 10:51:15,015 - 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 1018ms') 2025-09-15 10:51:15,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-09-15 10:51:15,074 - DEBUG - Gateway for vn default-domain:ctest-TestRP-95316770:ctest-bgpaas_vn-13316411 is 203.67.81.1 and allocation pool is NOT set 2025-09-15 10:51:17,142 - 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=3.91 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 1002ms\r\nrtt min/avg/max/mdev = 3.347/3.627/3.907/0.280 ms') 2025-09-15 10:51:17,142 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-09-15 10:51:17,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:51:17,294 - DEBUG - Waiting to SSH to VM test_vm, IP 203.67.81.3, Port 22 2025-09-15 10:51:17,350 - 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-09-15 10:51:17,432 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-09-15 10:51:22,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:51:22,433 - DEBUG - Waiting to SSH to VM test_vm, IP 203.67.81.3, Port 22 2025-09-15 10:51:22,589 - DEBUG - VM test_vm is ready for SSH connections 2025-09-15 10:51:22,590 - INFO - Waiting for VM test2_vm to be up.. 2025-09-15 10:51:22,796 - DEBUG - VM is in ACTIVE state now 2025-09-15 10:51:22,796 - INFO - VM name : test2_vm 2025-09-15 10:51:22,878 - DEBUG - VM test2_vm ID is d803a3a8-b7d3-41da-a2d5-60722ea1d1cb 2025-09-15 10:51:22,878 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1 2025-09-15 10:51:22,970 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d803a3a8-b7d3-41da-a2d5-60722ea1d1cb 2025-09-15 10:51:22,981 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6f40409d-fe20-43c1-9d53-0d9c03b91c1c 2025-09-15 10:51:24,223 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/1.812/3.199/1.387 ms') 2025-09-15 10:51:24,223 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-09-15 10:51:24,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:51:24,378 - DEBUG - Waiting to SSH to VM test2_vm, IP 14.79.30.195, Port 22 2025-09-15 10:51:24,533 - DEBUG - VM test2_vm is ready for SSH connections 2025-09-15 10:51:24,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:51:24,692 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-95316770:ctest-bgpaas_vn-13316411:ctest-bgpaas_vn-13316411.inet.0 2025-09-15 10:51:25,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:51:25,709 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-95316770:ctest-bgpaas_vn-13316411:ctest-bgpaas_vn-13316411.inet.0 2025-09-15 10:51:25,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:51:25,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.79.30.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-15 10:51:25,721 - DEBUG - ping -s 56 -c 3 -W 1 14.79.30.195 2025-09-15 10:51:29,447 - DEBUG - PING 14.79.30.195 (14.79.30.195): 56 data bytes 64 bytes from 14.79.30.195: seq=0 ttl=63 time=4.820 ms 64 bytes from 14.79.30.195: seq=1 ttl=63 time=1.085 ms 64 bytes from 14.79.30.195: seq=2 ttl=63 time=1.105 ms --- 14.79.30.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.085/2.336/4.820 ms 2025-09-15 10:51:29,448 - INFO - Ping to IP 14.79.30.195 from VM test_vm passed 2025-09-15 10:51:29,526 - INFO - Deleting VM test2_vm 2025-09-15 10:51:29,614 - INFO - Deleting VM test_vm 2025-09-15 10:51:29,691 - INFO - Deleting VN ctest-bgpaas_vn-70847661 2025-09-15 10:51:29,736 - DEBUG - VN f9a8b246-bfd4-4be9-b801-2c396a4d1568 still in use: Unable to complete operation on network f9a8b246-bfd4-4be9-b801-2c396a4d1568. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2a6e5b47-63b1-4080-bcfe-fafd98ff6247'] 2025-09-15 10:51:29,737 - WARNING - Deleting VN ctest-bgpaas_vn-70847661 failed..Will retry 2025-09-15 10:51:31,868 - DEBUG - Response for deleting network () 2025-09-15 10:51:31,869 - INFO - Deleting VN ctest-bgpaas_vn-13316411 2025-09-15 10:51:31,993 - DEBUG - Response for deleting network () 2025-09-15 10:51:32,251 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 10:51:32,251 - INFO - END TEST : test_rp_interface : PASSED[0:00:31]
2025-09-15 10:51:32,252 - INFO - -------------------------------------------------------------------------------- 2025-09-15 10:51:33,005 - INFO - Deleted project: ctest-TestRP-95316770, ID : 39655ca7-d5b8-44e9-9d19-dbac5b2a9459