2025-07-31 02:27:25,581 - INFO - Domain Default found not creating 2025-07-31 02:27:25,757 - INFO - Project ctest-TestRP-92991502 not found, creating it 2025-07-31 02:27:26,265 - INFO - Created Project:ctest-TestRP-92991502, ID : 1618350f-fff8-4c5a-8a41-062d3636a33c 2025-07-31 02:27:27,978 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:27:27,978 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-ansible-os-3729-1']} 2025-07-31 02:27:27,981 - INFO - ================================================================================ 2025-07-31 02:27:27,981 - INFO - STARTING TEST : test_rp_interface 2025-07-31 02:27:27,981 - 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-07-31 02:27:28,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-31 02:27:28,239 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:27:28,239 - INFO - 2025-07-31 02:27:28,858 - DEBUG - Response for create_network : {'network': {'id': '6d38771f-8bf5-47f3-bc82-512b56b8cfd4', 'name': 'ctest-bgpaas_vn-23588159', 'tenant_id': '1618350ffff84c5a8a41062d3636a33c', 'project_id': '1618350ffff84c5a8a41062d3636a33c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92991502', 'ctest-bgpaas_vn-23588159'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:27:29,099 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab8a4fa2-4274-488d-b0ca-f4d5c38d844a', 'name': '', 'tenant_id': '1618350ffff84c5a8a41062d3636a33c', 'network_id': '6d38771f-8bf5-47f3-bc82-512b56b8cfd4', 'ip_version': 4, 'cidr': '156.162.140.192/26', 'allocation_pools': [{'start': '156.162.140.194', 'end': '156.162.140.254'}], 'gateway_ip': '156.162.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.162.140.194', 'tags': [], 'project_id': '1618350ffff84c5a8a41062d3636a33c'}} 2025-07-31 02:27:29,124 - INFO - Created VN ctest-bgpaas_vn-23588159 2025-07-31 02:27:29,178 - DEBUG - VN ctest-bgpaas_vn-23588159 UUID is 6d38771f-8bf5-47f3-bc82-512b56b8cfd4 2025-07-31 02:27:29,697 - DEBUG - Response for create_network : {'network': {'id': '88bc163c-1dc6-42f9-8f55-b901139ea94d', 'name': 'ctest-bgpaas_vn-17937089', 'tenant_id': '1618350ffff84c5a8a41062d3636a33c', 'project_id': '1618350ffff84c5a8a41062d3636a33c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRP-92991502', 'ctest-bgpaas_vn-17937089'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:27:29,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '67da84c9-97a7-4fdc-b4e3-b70248566797', 'name': '', 'tenant_id': '1618350ffff84c5a8a41062d3636a33c', 'network_id': '88bc163c-1dc6-42f9-8f55-b901139ea94d', 'ip_version': 4, 'cidr': '115.113.73.0/26', 'allocation_pools': [{'start': '115.113.73.2', 'end': '115.113.73.62'}], 'gateway_ip': '115.113.73.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.113.73.2', 'tags': [], 'project_id': '1618350ffff84c5a8a41062d3636a33c'}} 2025-07-31 02:27:29,972 - INFO - Created VN ctest-bgpaas_vn-17937089 2025-07-31 02:27:30,026 - DEBUG - VN ctest-bgpaas_vn-17937089 UUID is 88bc163c-1dc6-42f9-8f55-b901139ea94d 2025-07-31 02:27:31,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3729-1) 2025-07-31 02:27:32,708 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3729-1) 2025-07-31 02:27:32,709 - INFO - Waiting for VM test_vm to be up.. 2025-07-31 02:27:32,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:27:37,898 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:27:37,898 - INFO - VM name : test_vm 2025-07-31 02:27:38,000 - DEBUG - VM test_vm ID is f13b2f6a-1bae-4b5b-b4da-9d918f74da61 2025-07-31 02:27:38,026 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3729-1 2025-07-31 02:27:38,126 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f13b2f6a-1bae-4b5b-b4da-9d918f74da61 2025-07-31 02:27:38,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f13b2f6a-1bae-4b5b-b4da-9d918f74da61 2025-07-31 02:27:38,482 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/78a754e3-e839-49bf-a201-6b3f671565dd 2025-07-31 02:27:41,783 - 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 1030ms') 2025-07-31 02:27:41,784 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-07-31 02:27:41,854 - DEBUG - Gateway for vn default-domain:ctest-TestRP-92991502:ctest-bgpaas_vn-23588159 is 156.162.140.193 and allocation pool is NOT set 2025-07-31 02:27:43,928 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.17 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 = 3.171/3.236/3.302/0.065 ms') 2025-07-31 02:27:43,928 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-07-31 02:27:44,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:27:44,086 - DEBUG - Waiting to SSH to VM test_vm, IP 156.162.140.195, Port 22 2025-07-31 02:27:44,253 - DEBUG - VM test_vm is ready for SSH connections 2025-07-31 02:27:44,253 - INFO - Waiting for VM test2_vm to be up.. 2025-07-31 02:27:44,351 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:27:44,351 - INFO - VM name : test2_vm 2025-07-31 02:27:44,586 - DEBUG - VM test2_vm ID is a6037200-8d25-4178-aab8-6140b1d1c3fd 2025-07-31 02:27:44,587 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-ansible-os-3729-1 2025-07-31 02:27:44,678 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a6037200-8d25-4178-aab8-6140b1d1c3fd 2025-07-31 02:27:44,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a227d90b-632a-48ff-91a2-b87ad3efdc42 2025-07-31 02:27:45,949 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/1.844/3.136/1.291 ms') 2025-07-31 02:27:45,950 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-07-31 02:27:46,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:27:46,110 - DEBUG - Waiting to SSH to VM test2_vm, IP 115.113.73.3, Port 22 2025-07-31 02:27:46,276 - DEBUG - VM test2_vm is ready for SSH connections 2025-07-31 02:27:46,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:27:46,445 - DEBUG - Requesting: http://10.20.0.14:8083/Snh_ShowRouteReq?x=default-domain:ctest-TestRP-92991502:ctest-bgpaas_vn-23588159:ctest-bgpaas_vn-23588159.inet.0 2025-07-31 02:27:46,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:27:46,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.113.73.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-31 02:27:46,456 - DEBUG - ping -s 56 -c 3 -W 1 115.113.73.3 2025-07-31 02:27:50,171 - DEBUG - PING 115.113.73.3 (115.113.73.3): 56 data bytes 64 bytes from 115.113.73.3: seq=0 ttl=63 time=3.988 ms 64 bytes from 115.113.73.3: seq=1 ttl=63 time=1.262 ms 64 bytes from 115.113.73.3: seq=2 ttl=63 time=1.567 ms --- 115.113.73.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.262/2.272/3.988 ms 2025-07-31 02:27:50,171 - INFO - Ping to IP 115.113.73.3 from VM test_vm passed 2025-07-31 02:27:50,248 - INFO - Deleting VM test2_vm 2025-07-31 02:27:50,337 - INFO - Deleting VM test_vm 2025-07-31 02:27:50,428 - INFO - Deleting VN ctest-bgpaas_vn-17937089 2025-07-31 02:27:50,476 - DEBUG - VN 88bc163c-1dc6-42f9-8f55-b901139ea94d still in use: Unable to complete operation on network 88bc163c-1dc6-42f9-8f55-b901139ea94d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-043d7fce-d2a6-4475-969a-f0aeaaee93e9'] 2025-07-31 02:27:50,476 - WARNING - Deleting VN ctest-bgpaas_vn-17937089 failed..Will retry 2025-07-31 02:27:52,644 - DEBUG - Response for deleting network () 2025-07-31 02:27:52,644 - INFO - Deleting VN ctest-bgpaas_vn-23588159 2025-07-31 02:27:52,778 - DEBUG - Response for deleting network () 2025-07-31 02:27:53,049 - DEBUG - No XMPP flaps were noticed during the test
2025-07-31 02:27:53,049 - INFO - END TEST : test_rp_interface : PASSED[0:00:26]
2025-07-31 02:27:53,049 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:27:53,767 - INFO - Deleted project: ctest-TestRP-92991502, ID : 1618350f-fff8-4c5a-8a41-062d3636a33c