2025-10-22 19:50:20,151 - INFO - Reading existing Domain with UUID cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8 2025-10-22 19:50:20,165 - INFO - Using existing domain ['admin_domain'](cc7bf0c9-b3f5-4805-bbd2-f13c8e4f2bc8) 2025-10-22 19:50:20,441 - INFO - Project ctest-TestRP-50139866 not found, creating it 2025-10-22 19:50:21,053 - INFO - Created Project:ctest-TestRP-50139866, ID : b9dd6a2b-7d5c-4174-8f77-42ce30ac7826 2025-10-22 19:50:23,097 - DEBUG - Services list from nova: [, , ] 2025-10-22 19:50:23,097 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-juju-os-605-1']} 2025-10-22 19:50:23,101 - INFO - ================================================================================ 2025-10-22 19:50:23,101 - INFO - STARTING TEST : test_rp_interface 2025-10-22 19:50:23,101 - 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-22 19:50:23,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.0.0.141': '0'}} with 2025-10-22 19:50:23,513 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:50:23,513 - INFO - 2025-10-22 19:50:24,409 - DEBUG - Response for create_network : {'network': {'id': '0ed17cac-7b41-4111-a04e-a6ff77fa55a8', 'name': 'ctest-bgpaas_vn-88649100', 'tenant_id': 'b9dd6a2b7d5c41748f7742ce30ac7826', 'project_id': 'b9dd6a2b7d5c41748f7742ce30ac7826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRP-50139866', 'ctest-bgpaas_vn-88649100'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:50:24,665 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2aa9bfc-2fd0-4546-b145-f94be407fff0', 'name': '', 'tenant_id': 'b9dd6a2b7d5c41748f7742ce30ac7826', 'network_id': '0ed17cac-7b41-4111-a04e-a6ff77fa55a8', 'ip_version': 4, 'cidr': '96.229.102.128/26', 'allocation_pools': [{'start': '96.229.102.130', 'end': '96.229.102.190'}], 'gateway_ip': '96.229.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:50:24.541319', 'updated_at': '2025-10-22T19:50:24.541319', 'dns_server_address': '96.229.102.130', 'tags': [], 'project_id': 'b9dd6a2b7d5c41748f7742ce30ac7826'}} 2025-10-22 19:50:24,733 - INFO - Created VN ctest-bgpaas_vn-88649100 2025-10-22 19:50:24,795 - DEBUG - VN ctest-bgpaas_vn-88649100 UUID is 0ed17cac-7b41-4111-a04e-a6ff77fa55a8 2025-10-22 19:50:25,581 - DEBUG - Response for create_network : {'network': {'id': 'bb58ad69-c082-461b-bb5a-88c7629b8ac0', 'name': 'ctest-bgpaas_vn-36895653', 'tenant_id': 'b9dd6a2b7d5c41748f7742ce30ac7826', 'project_id': 'b9dd6a2b7d5c41748f7742ce30ac7826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRP-50139866', 'ctest-bgpaas_vn-36895653'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 19:50:25,834 - DEBUG - Response for create_subnet : {'subnet': {'id': '80a0f2fb-9624-4889-a612-0f2d71a3e2a8', 'name': '', 'tenant_id': 'b9dd6a2b7d5c41748f7742ce30ac7826', 'network_id': 'bb58ad69-c082-461b-bb5a-88c7629b8ac0', 'ip_version': 4, 'cidr': '212.56.102.64/26', 'allocation_pools': [{'start': '212.56.102.66', 'end': '212.56.102.126'}], 'gateway_ip': '212.56.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T19:50:25.722091', 'updated_at': '2025-10-22T19:50:25.722091', 'dns_server_address': '212.56.102.66', 'tags': [], 'project_id': 'b9dd6a2b7d5c41748f7742ce30ac7826'}} 2025-10-22 19:50:25,906 - INFO - Created VN ctest-bgpaas_vn-36895653 2025-10-22 19:50:25,967 - DEBUG - VN ctest-bgpaas_vn-36895653 UUID is bb58ad69-c082-461b-bb5a-88c7629b8ac0 2025-10-22 19:50:28,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:50:29,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-605-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-605-1) 2025-10-22 19:50:29,575 - INFO - Waiting for VM test_vm to be up.. 2025-10-22 19:50:29,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 19:50:34,920 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:50:34,920 - INFO - VM name : test_vm 2025-10-22 19:50:35,092 - DEBUG - VM test_vm ID is 16721dc3-1722-4f80-ba9d-c74147647f33 2025-10-22 19:50:35,128 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:50:35,296 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/16721dc3-1722-4f80-ba9d-c74147647f33 2025-10-22 19:50:35,665 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/16721dc3-1722-4f80-ba9d-c74147647f33 2025-10-22 19:50:35,761 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/c410b312-a290-49ba-903b-05ea085a9e8d 2025-10-22 19:50:39,278 - 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 1025ms') 2025-10-22 19:50:39,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-22 19:50:39,335 - DEBUG - Gateway for vn admin_domain:ctest-TestRP-50139866:ctest-bgpaas_vn-88649100 is 96.229.102.129 and allocation pool is NOT set 2025-10-22 19:50:41,426 - 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=13.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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.545/6.887/13.229/6.342 ms') 2025-10-22 19:50:41,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-22 19:50:41,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:50:41,595 - DEBUG - Waiting to SSH to VM test_vm, IP 96.229.102.131, Port 22 2025-10-22 19:50:41,686 - 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-22 19:50:41,845 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 19:50:46,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:50:46,846 - DEBUG - Waiting to SSH to VM test_vm, IP 96.229.102.131, Port 22 2025-10-22 19:50:47,073 - DEBUG - VM test_vm is ready for SSH connections 2025-10-22 19:50:47,073 - INFO - Waiting for VM test2_vm to be up.. 2025-10-22 19:50:47,228 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:50:47,228 - INFO - VM name : test2_vm 2025-10-22 19:50:47,394 - DEBUG - VM test2_vm ID is cb5074fb-4a42-4d42-b78b-b64a38618a39 2025-10-22 19:50:47,394 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-juju-os-605-1 2025-10-22 19:50:47,555 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine/cb5074fb-4a42-4d42-b78b-b64a38618a39 2025-10-22 19:50:47,616 - DEBUG - Requesting: https://10.0.0.141:8082/virtual-machine-interface/daf836e1-0689-4f25-87f6-f82b311a7396 2025-10-22 19:50:49,080 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.852/3.273/1.421 ms') 2025-10-22 19:50:49,080 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-22 19:50:49,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:50:49,231 - DEBUG - Waiting to SSH to VM test2_vm, IP 212.56.102.67, Port 22 2025-10-22 19:50:49,455 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-22 19:50:49,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:50:49,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:50:49,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.56.102.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 19:50:49,746 - DEBUG - ping -s 56 -c 3 -W 1 212.56.102.67 2025-10-22 19:50:53,511 - DEBUG - PING 212.56.102.67 (212.56.102.67): 56 data bytes 64 bytes from 212.56.102.67: seq=0 ttl=63 time=6.290 ms 64 bytes from 212.56.102.67: seq=1 ttl=63 time=0.960 ms 64 bytes from 212.56.102.67: seq=2 ttl=63 time=0.986 ms --- 212.56.102.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/2.745/6.290 ms 2025-10-22 19:50:53,511 - INFO - Ping to IP 212.56.102.67 from VM test_vm passed 2025-10-22 19:50:53,624 - INFO - Deleting VM test2_vm 2025-10-22 19:50:53,780 - INFO - Deleting VM test_vm 2025-10-22 19:50:53,905 - INFO - Deleting VN ctest-bgpaas_vn-36895653 2025-10-22 19:50:54,050 - DEBUG - VN bb58ad69-c082-461b-bb5a-88c7629b8ac0 still in use: Unable to complete operation on network bb58ad69-c082-461b-bb5a-88c7629b8ac0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d959c3b2-9440-4382-ba99-b9810b4b9c91'] 2025-10-22 19:50:54,050 - WARNING - Deleting VN ctest-bgpaas_vn-36895653 failed..Will retry 2025-10-22 19:50:56,247 - DEBUG - Response for deleting network () 2025-10-22 19:50:56,247 - INFO - Deleting VN ctest-bgpaas_vn-88649100 2025-10-22 19:50:56,490 - DEBUG - Response for deleting network () 2025-10-22 19:50:56,908 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 19:50:56,909 - INFO - END TEST : test_rp_interface : PASSED[0:00:33] 2025-10-22 19:50:56,909 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:50:57,746 - INFO - Deleted project: ctest-TestRP-50139866, ID : b9dd6a2b-7d5c-4174-8f77-42ce30ac7826