2025-10-09 10:34:14,756 - INFO - Reading existing Domain with UUID dfa458d1-aaf5-4c71-9ede-e49be62ab991 2025-10-09 10:34:14,766 - INFO - Using existing domain ['admin_domain'](dfa458d1-aaf5-4c71-9ede-e49be62ab991) 2025-10-09 10:34:15,028 - INFO - Project ctest-TestRP-92060887 not found, creating it 2025-10-09 10:34:15,513 - INFO - Created Project:ctest-TestRP-92060887, ID : c0cfeda3-dcc3-455d-846c-3703789c2792 2025-10-09 10:34:17,507 - DEBUG - Services list from nova: [, , ] 2025-10-09 10:34:17,507 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-juju-os-587-1']} 2025-10-09 10:34:17,510 - INFO - ================================================================================ 2025-10-09 10:34:17,510 - INFO - STARTING TEST : test_rp_interface 2025-10-09 10:34:17,510 - 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:34:17,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.0.0.33': '0'}} with 2025-10-09 10:34:17,900 - INFO - Initial checks done. Running the testcase now 2025-10-09 10:34:17,900 - INFO - 2025-10-09 10:34:18,703 - DEBUG - Response for create_network : {'network': {'id': 'e99bf181-6d95-4967-b882-287b7051c8e2', 'name': 'ctest-bgpaas_vn-76198126', 'tenant_id': 'c0cfeda3dcc3455d846c3703789c2792', 'project_id': 'c0cfeda3dcc3455d846c3703789c2792', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRP-92060887', 'ctest-bgpaas_vn-76198126'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 10:34:18,957 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cca8a01-74e0-42a5-90ca-b75c6d6c3bdd', 'name': '', 'tenant_id': 'c0cfeda3dcc3455d846c3703789c2792', 'network_id': 'e99bf181-6d95-4967-b882-287b7051c8e2', 'ip_version': 4, 'cidr': '3.178.104.192/26', 'allocation_pools': [{'start': '3.178.104.194', 'end': '3.178.104.254'}], 'gateway_ip': '3.178.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T10:34:18.857129', 'updated_at': '2025-10-09T10:34:18.857129', 'dns_server_address': '3.178.104.194', 'tags': [], 'project_id': 'c0cfeda3dcc3455d846c3703789c2792'}} 2025-10-09 10:34:19,029 - INFO - Created VN ctest-bgpaas_vn-76198126 2025-10-09 10:34:19,083 - DEBUG - VN ctest-bgpaas_vn-76198126 UUID is e99bf181-6d95-4967-b882-287b7051c8e2 2025-10-09 10:34:19,812 - DEBUG - Response for create_network : {'network': {'id': 'c97df1e5-781a-4c24-9ceb-d15640d5e8e5', 'name': 'ctest-bgpaas_vn-27801384', 'tenant_id': 'c0cfeda3dcc3455d846c3703789c2792', 'project_id': 'c0cfeda3dcc3455d846c3703789c2792', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRP-92060887', 'ctest-bgpaas_vn-27801384'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-09 10:34:20,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dfe5d6f-efdb-4e89-8612-c5ec60e6feb0', 'name': '', 'tenant_id': 'c0cfeda3dcc3455d846c3703789c2792', 'network_id': 'c97df1e5-781a-4c24-9ceb-d15640d5e8e5', 'ip_version': 4, 'cidr': '170.63.42.128/26', 'allocation_pools': [{'start': '170.63.42.130', 'end': '170.63.42.190'}], 'gateway_ip': '170.63.42.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-09T10:34:19.975704', 'updated_at': '2025-10-09T10:34:19.975704', 'dns_server_address': '170.63.42.130', 'tags': [], 'project_id': 'c0cfeda3dcc3455d846c3703789c2792'}} 2025-10-09 10:34:20,217 - INFO - Created VN ctest-bgpaas_vn-27801384 2025-10-09 10:34:20,275 - DEBUG - VN ctest-bgpaas_vn-27801384 UUID is c97df1e5-781a-4c24-9ceb-d15640d5e8e5 2025-10-09 10:34:21,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-587-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-587-1) 2025-10-09 10:34:23,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-587-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-587-1) 2025-10-09 10:34:23,224 - INFO - Waiting for VM test_vm to be up.. 2025-10-09 10:34:23,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 10:34:28,518 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:34:28,518 - INFO - VM name : test_vm 2025-10-09 10:34:28,653 - DEBUG - VM test_vm ID is 0bbe60a3-0c49-4b96-a677-13183408cab5 2025-10-09 10:34:28,684 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-juju-os-587-1 2025-10-09 10:34:28,830 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/0bbe60a3-0c49-4b96-a677-13183408cab5 2025-10-09 10:34:29,194 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/0bbe60a3-0c49-4b96-a677-13183408cab5 2025-10-09 10:34:29,288 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/bfbeb234-3635-40d1-a564-9b4f6aaefadb 2025-10-09 10:34:32,773 - 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 1022ms') 2025-10-09 10:34:32,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-09 10:34:32,873 - DEBUG - Gateway for vn admin_domain:ctest-TestRP-92060887:ctest-bgpaas_vn-76198126 is 3.178.104.193 and allocation pool is NOT set 2025-10-09 10:34:35,025 - 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=14.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.323 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.323/7.569/14.815/7.246 ms') 2025-10-09 10:34:35,025 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-09 10:34:35,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:34:35,271 - DEBUG - Waiting to SSH to VM test_vm, IP 3.178.104.195, Port 22 2025-10-09 10:34:35,415 - 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-10-09 10:34:35,683 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-09 10:34:40,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:34:40,684 - DEBUG - Waiting to SSH to VM test_vm, IP 3.178.104.195, Port 22 2025-10-09 10:34:40,926 - DEBUG - VM test_vm is ready for SSH connections 2025-10-09 10:34:40,926 - INFO - Waiting for VM test2_vm to be up.. 2025-10-09 10:34:41,126 - DEBUG - VM is in ACTIVE state now 2025-10-09 10:34:41,126 - INFO - VM name : test2_vm 2025-10-09 10:34:41,297 - DEBUG - VM test2_vm ID is aea1762e-f0f7-4a7b-9bb5-d2a0117ad2ab 2025-10-09 10:34:41,297 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-juju-os-587-1 2025-10-09 10:34:41,485 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine/aea1762e-f0f7-4a7b-9bb5-d2a0117ad2ab 2025-10-09 10:34:41,554 - DEBUG - Requesting: https://10.0.0.33:8082/virtual-machine-interface/bd431fb4-5d40-4e3c-93e9-cca5948e2ea8 2025-10-09 10:34:43,060 - 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=0.508 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.508/2.089/3.671/1.581 ms') 2025-10-09 10:34:43,060 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-09 10:34:43,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:34:43,227 - DEBUG - Waiting to SSH to VM test2_vm, IP 170.63.42.131, Port 22 2025-10-09 10:34:43,443 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-09 10:34:43,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:34:43,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 10:34:43,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.63.42.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 10:34:43,786 - DEBUG - ping -s 56 -c 3 -W 1 170.63.42.131 2025-10-09 10:34:47,496 - DEBUG - PING 170.63.42.131 (170.63.42.131): 56 data bytes 64 bytes from 170.63.42.131: seq=0 ttl=63 time=4.244 ms 64 bytes from 170.63.42.131: seq=1 ttl=63 time=0.938 ms 64 bytes from 170.63.42.131: seq=2 ttl=63 time=1.204 ms --- 170.63.42.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.128/4.244 ms 2025-10-09 10:34:47,496 - INFO - Ping to IP 170.63.42.131 from VM test_vm passed 2025-10-09 10:34:47,585 - INFO - Deleting VM test2_vm 2025-10-09 10:34:47,713 - INFO - Deleting VM test_vm 2025-10-09 10:34:47,848 - INFO - Deleting VN ctest-bgpaas_vn-27801384 2025-10-09 10:34:47,990 - DEBUG - VN c97df1e5-781a-4c24-9ceb-d15640d5e8e5 still in use: Unable to complete operation on network c97df1e5-781a-4c24-9ceb-d15640d5e8e5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-06637c40-db46-489a-aef6-4379083a1e26'] 2025-10-09 10:34:47,990 - WARNING - Deleting VN ctest-bgpaas_vn-27801384 failed..Will retry 2025-10-09 10:34:50,246 - DEBUG - Response for deleting network () 2025-10-09 10:34:50,246 - INFO - Deleting VN ctest-bgpaas_vn-76198126 2025-10-09 10:34:50,425 - DEBUG - Response for deleting network () 2025-10-09 10:34:50,829 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 10:34:50,829 - INFO - END TEST : test_rp_interface : PASSED[0:00:33] 2025-10-09 10:34:50,829 - INFO - -------------------------------------------------------------------------------- 2025-10-09 10:34:51,593 - INFO - Deleted project: ctest-TestRP-92060887, ID : c0cfeda3-dcc3-455d-846c-3703789c2792