2025-10-09 10:17:36,467 - INFO - Domain Default found not creating 2025-10-09 10:17:36,607 - INFO - Project ctest-TestRP-61135054 not found, creating it 2025-10-09 10:17:37,028 - INFO - Created Project:ctest-TestRP-61135054, ID : c9841697-b79a-41d0-bd32-26821b0887e3 2025-10-09 10:17:38,419 - DEBUG - Services list from nova: [, , ] 2025-10-09 10:17:38,419 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-4257-1']} 2025-10-09 10:17:38,421 - INFO - ================================================================================ 2025-10-09 10:17:38,422 - INFO - STARTING TEST : test_rp_interface 2025-10-09 10:17:38,422 - 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-10-09 10:17:38,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 10:17:38,676 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:17:38,677 - INFO - 2025-10-09 10:17:39,190 - DEBUG - Response for create_network : {'network': {'id': '83aa18e4-b46a-4b69-8d2d-cbb27ff41a34', 'name': 'ctest-bgpaas_vn-38015378', 'tenant_id': 'c9841697b79a41d0bd3226821b0887e3', 'project_id': 'c9841697b79a41d0bd3226821b0887e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-61135054', 'ctest-bgpaas_vn-38015378'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:17:39,377 - DEBUG - Response for create_subnet : {'subnet': {'id': '28c266b0-bc2e-4b15-bf37-0d44855e38d5', 'name': '', 'tenant_id': 'c9841697b79a41d0bd3226821b0887e3', 'network_id': '83aa18e4-b46a-4b69-8d2d-cbb27ff41a34', 'ip_version': 4, 'cidr': '138.103.99.192/26', 'allocation_pools': [{'start': '138.103.99.194', 'end': '138.103.99.254'}], 'gateway_ip': '138.103.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.103.99.194', 'tags': [], 'project_id': 'c9841697b79a41d0bd3226821b0887e3'}} 2025-10-09 10:17:39,394 - INFO - Created VN ctest-bgpaas_vn-38015378 2025-10-09 10:17:39,443 - DEBUG - VN ctest-bgpaas_vn-38015378 UUID is 83aa18e4-b46a-4b69-8d2d-cbb27ff41a34 2025-10-09 10:17:39,913 - DEBUG - Response for create_network : {'network': {'id': '7d945445-7936-4750-b2bf-a1520dd98cb6', 'name': 'ctest-bgpaas_vn-54104686', 'tenant_id': 'c9841697b79a41d0bd3226821b0887e3', 'project_id': 'c9841697b79a41d0bd3226821b0887e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-61135054', 'ctest-bgpaas_vn-54104686'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 10:17:40,098 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c9f4c1d-c47b-48bd-b578-6cf360e30ead', 'name': '', 'tenant_id': 'c9841697b79a41d0bd3226821b0887e3', 'network_id': '7d945445-7936-4750-b2bf-a1520dd98cb6', 'ip_version': 4, 'cidr': '134.83.238.128/26', 'allocation_pools': [{'start': '134.83.238.130', 'end': '134.83.238.190'}], 'gateway_ip': '134.83.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.83.238.130', 'tags': [], 'project_id': 'c9841697b79a41d0bd3226821b0887e3'}} 2025-10-09 10:17:40,117 - INFO - Created VN ctest-bgpaas_vn-54104686 2025-10-09 10:17:40,171 - DEBUG - VN ctest-bgpaas_vn-54104686 UUID is 7d945445-7936-4750-b2bf-a1520dd98cb6 2025-10-09 10:17:41,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:17:42,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4257-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4257-1) 2025-10-09 10:17:42,528 - INFO - Waiting for VM test_vm to be up.. 2025-10-09 10:17:42,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 10:17:47,669 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:17:47,669 - INFO - VM name : test_vm 2025-10-09 10:17:47,736 - DEBUG - VM test_vm ID is f71a1cda-8dfb-4777-9dcb-8eee60608944 2025-10-09 10:17:47,755 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:17:47,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f71a1cda-8dfb-4777-9dcb-8eee60608944 2025-10-09 10:17:48,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f71a1cda-8dfb-4777-9dcb-8eee60608944 2025-10-09 10:17:48,140 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f6addc52-065d-42e0-85bc-d365dce9dc9d 2025-10-09 10:17:51,382 - 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-10-09 10:17:51,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-09 10:17:51,435 - DEBUG - Gateway for vn default-domain:ctest-TestRP-61135054:ctest-bgpaas_vn-38015378 is 138.103.99.193 and allocation pool is NOT set 2025-10-09 10:17:53,492 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.565/2.708/1.143 ms') 2025-10-09 10:17:53,492 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-09 10:17:53,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:17:53,644 - DEBUG - Waiting to SSH to VM test_vm, IP 138.103.99.195, Port 22 2025-10-09 10:17:53,795 - DEBUG - VM test_vm is ready for SSH connections 2025-10-09 10:17:53,795 - INFO - Waiting for VM test2_vm to be up.. 2025-10-09 10:17:53,867 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:17:53,867 - INFO - VM name : test2_vm 2025-10-09 10:17:53,933 - DEBUG - VM test2_vm ID is 9c9b02ce-b2b7-4ffb-9b75-1dbc3e742af4 2025-10-09 10:17:53,933 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-4257-1 2025-10-09 10:17:54,097 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9c9b02ce-b2b7-4ffb-9b75-1dbc3e742af4 2025-10-09 10:17:54,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4bfda838-6e7f-4d16-84b0-f4b3ba98b455 2025-10-09 10:17:55,332 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.024/2.344/3.665/1.320 ms') 2025-10-09 10:17:55,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-09 10:17:55,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:17:55,480 - DEBUG - Waiting to SSH to VM test2_vm, IP 134.83.238.131, Port 22 2025-10-09 10:17:55,546 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-09 10:17:55,620 - DEBUG - VM test2_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 10:18:00,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:18:00,621 - DEBUG - Waiting to SSH to VM test2_vm, IP 134.83.238.131, Port 22 2025-10-09 10:18:00,775 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-09 10:18:00,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:18:00,920 - DEBUG - Requesting: http://10.20.0.17:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-61135054:ctest-bgpaas_vn-38015378:ctest-bgpaas_vn-38015378.inet.0 2025-10-09 10:18:00,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:18:00,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.83.238.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 10:18:00,929 - DEBUG - ping -s 56 -c 3 -W 1 134.83.238.131 2025-10-09 10:18:04,888 - DEBUG - PING 134.83.238.131 (134.83.238.131): 56 data bytes 64 bytes from 134.83.238.131: seq=0 ttl=63 time=5.430 ms 64 bytes from 134.83.238.131: seq=1 ttl=63 time=0.682 ms 64 bytes from 134.83.238.131: seq=2 ttl=63 time=0.730 ms --- 134.83.238.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/2.280/5.430 ms 2025-10-09 10:18:04,888 - INFO - Ping to IP 134.83.238.131 from VM test_vm passed 2025-10-09 10:18:04,968 - INFO - Deleting VM test2_vm 2025-10-09 10:18:05,038 - INFO - Deleting VM test_vm 2025-10-09 10:18:05,108 - INFO - Deleting VN ctest-bgpaas_vn-54104686 2025-10-09 10:18:05,146 - DEBUG - VN 7d945445-7936-4750-b2bf-a1520dd98cb6 still in use: Unable to complete operation on network 7d945445-7936-4750-b2bf-a1520dd98cb6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39033a53-c108-4002-a46b-3284cc145c16'] 2025-10-09 10:18:05,146 - WARNING - Deleting VN ctest-bgpaas_vn-54104686 failed..Will retry 2025-10-09 10:18:07,240 - DEBUG - Response for deleting network () 2025-10-09 10:18:07,240 - INFO - Deleting VN ctest-bgpaas_vn-38015378 2025-10-09 10:18:07,341 - DEBUG - Response for deleting network () 2025-10-09 10:18:07,597 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 10:18:07,597 - INFO - END TEST : test_rp_interface : PASSED[0:00:29]
2025-10-09 10:18:07,597 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:18:08,230 - INFO - Deleted project: ctest-TestRP-61135054, ID : c9841697-b79a-41d0-bd32-26821b0887e3