2025-10-22 18:17:23,824 - INFO - Reading existing Domain with UUID 76186d71-3699-4707-98f1-3afabb9db250 2025-10-22 18:17:23,836 - INFO - Using existing domain ['admin_domain'](76186d71-3699-4707-98f1-3afabb9db250) 2025-10-22 18:17:24,258 - INFO - Project ctest-TestRP-68916393 not found, creating it 2025-10-22 18:17:24,976 - INFO - Created Project:ctest-TestRP-68916393, ID : 8e020483-68b7-42f2-aa3f-fd6b81aed8be 2025-10-22 18:17:27,010 - DEBUG - Services list from nova: [, , ] 2025-10-22 18:17:27,010 - DEBUG - Hosts: {'nova': ['cn-jenkins-deploy-platform-juju-os-604-1']} 2025-10-22 18:17:27,015 - INFO - ================================================================================ 2025-10-22 18:17:27,015 - INFO - STARTING TEST : test_rp_interface 2025-10-22 18:17:27,015 - 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 18:17:27,554 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.0.0.240': '0'}} with 2025-10-22 18:17:27,554 - INFO - Initial checks done. Running the testcase now 2025-10-22 18:17:27,554 - INFO - 2025-10-22 18:17:28,576 - DEBUG - Response for create_network : {'network': {'id': '98ad9d93-1843-413b-bca5-51dc7c875212', 'name': 'ctest-bgpaas_vn-39464786', 'tenant_id': '8e02048368b742f2aa3ffd6b81aed8be', 'project_id': '8e02048368b742f2aa3ffd6b81aed8be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRP-68916393', 'ctest-bgpaas_vn-39464786'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 18:17:28,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '634b56f3-eaba-4d14-abe9-aa8b30ad45d6', 'name': '', 'tenant_id': '8e02048368b742f2aa3ffd6b81aed8be', 'network_id': '98ad9d93-1843-413b-bca5-51dc7c875212', 'ip_version': 4, 'cidr': '209.243.63.64/26', 'allocation_pools': [{'start': '209.243.63.66', 'end': '209.243.63.126'}], 'gateway_ip': '209.243.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:17:28.748182', 'updated_at': '2025-10-22T18:17:28.748182', 'dns_server_address': '209.243.63.66', 'tags': [], 'project_id': '8e02048368b742f2aa3ffd6b81aed8be'}} 2025-10-22 18:17:28,965 - INFO - Created VN ctest-bgpaas_vn-39464786 2025-10-22 18:17:29,026 - DEBUG - VN ctest-bgpaas_vn-39464786 UUID is 98ad9d93-1843-413b-bca5-51dc7c875212 2025-10-22 18:17:29,855 - DEBUG - Response for create_network : {'network': {'id': '02837064-7fa8-4072-a901-1ebf51c460ea', 'name': 'ctest-bgpaas_vn-02307902', 'tenant_id': '8e02048368b742f2aa3ffd6b81aed8be', 'project_id': '8e02048368b742f2aa3ffd6b81aed8be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRP-68916393', 'ctest-bgpaas_vn-02307902'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-22 18:17:30,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '9793f803-fba1-4abd-bdcf-fbcad6b6cdea', 'name': '', 'tenant_id': '8e02048368b742f2aa3ffd6b81aed8be', 'network_id': '02837064-7fa8-4072-a901-1ebf51c460ea', 'ip_version': 4, 'cidr': '104.13.111.0/26', 'allocation_pools': [{'start': '104.13.111.2', 'end': '104.13.111.62'}], 'gateway_ip': '104.13.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-22T18:17:29.988134', 'updated_at': '2025-10-22T18:17:29.988134', 'dns_server_address': '104.13.111.2', 'tags': [], 'project_id': '8e02048368b742f2aa3ffd6b81aed8be'}} 2025-10-22 18:17:30,189 - INFO - Created VN ctest-bgpaas_vn-02307902 2025-10-22 18:17:30,246 - DEBUG - VN ctest-bgpaas_vn-02307902 UUID is 02837064-7fa8-4072-a901-1ebf51c460ea 2025-10-22 18:17:32,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1) 2025-10-22 18:17:33,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-604-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-604-1) 2025-10-22 18:17:33,721 - INFO - Waiting for VM test_vm to be up.. 2025-10-22 18:17:33,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 18:17:39,027 - DEBUG - VM is in ACTIVE state now 2025-10-22 18:17:39,028 - INFO - VM name : test_vm 2025-10-22 18:17:39,214 - DEBUG - VM test_vm ID is 32ac20d0-f71a-4fcd-b346-b880b8bbc866 2025-10-22 18:17:39,248 - DEBUG - VM test_vm launched on Node cn-jenkins-deploy-platform-juju-os-604-1 2025-10-22 18:17:39,434 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/32ac20d0-f71a-4fcd-b346-b880b8bbc866 2025-10-22 18:17:39,788 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/32ac20d0-f71a-4fcd-b346-b880b8bbc866 2025-10-22 18:17:39,879 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/ed26e11a-fe0a-4987-aa8e-520e9721ff8f 2025-10-22 18:17:43,419 - 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 1015ms') 2025-10-22 18:17:43,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM test_vm failed! 2025-10-22 18:17:43,478 - DEBUG - Gateway for vn admin_domain:ctest-TestRP-68916393:ctest-bgpaas_vn-39464786 is 209.243.63.65 and allocation pool is NOT set 2025-10-22 18:17:45,578 - 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.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.348 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.348/7.337/14.326/6.989 ms') 2025-10-22 18:17:45,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM test_vm passed 2025-10-22 18:17:45,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:17:45,734 - DEBUG - Waiting to SSH to VM test_vm, IP 209.243.63.67, Port 22 2025-10-22 18:17:45,832 - 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 18:17:45,989 - DEBUG - VM test_vm is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 18:17:50,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:17:50,990 - DEBUG - Waiting to SSH to VM test_vm, IP 209.243.63.67, Port 22 2025-10-22 18:17:51,213 - DEBUG - VM test_vm is ready for SSH connections 2025-10-22 18:17:51,214 - INFO - Waiting for VM test2_vm to be up.. 2025-10-22 18:17:51,374 - DEBUG - VM is in ACTIVE state now 2025-10-22 18:17:51,374 - INFO - VM name : test2_vm 2025-10-22 18:17:51,664 - DEBUG - VM test2_vm ID is b2eebea8-f9cf-4def-8477-03628bd2fea4 2025-10-22 18:17:51,664 - DEBUG - VM test2_vm launched on Node cn-jenkins-deploy-platform-juju-os-604-1 2025-10-22 18:17:51,863 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine/b2eebea8-f9cf-4def-8477-03628bd2fea4 2025-10-22 18:17:51,923 - DEBUG - Requesting: https://10.0.0.240:8082/virtual-machine-interface/462ffc8b-3d63-48f6-87fe-4604a817612d 2025-10-22 18:17:53,451 - 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=4.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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.108/2.812/4.516/1.704 ms') 2025-10-22 18:17:53,452 - INFO - Ping to Metadata IP 169.254.0.4 of VM test2_vm passed 2025-10-22 18:17:53,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:17:53,638 - DEBUG - Waiting to SSH to VM test2_vm, IP 104.13.111.3, Port 22 2025-10-22 18:17:53,925 - DEBUG - VM test2_vm is ready for SSH connections 2025-10-22 18:17:54,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:17:54,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 18:17:54,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.13.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-10-22 18:17:54,227 - DEBUG - ping -s 56 -c 3 -W 1 104.13.111.3 2025-10-22 18:17:58,290 - DEBUG - PING 104.13.111.3 (104.13.111.3): 56 data bytes 64 bytes from 104.13.111.3: seq=0 ttl=63 time=5.415 ms 64 bytes from 104.13.111.3: seq=1 ttl=63 time=1.319 ms 64 bytes from 104.13.111.3: seq=2 ttl=63 time=1.879 ms --- 104.13.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.319/2.871/5.415 ms 2025-10-22 18:17:58,290 - INFO - Ping to IP 104.13.111.3 from VM test_vm passed 2025-10-22 18:17:58,408 - INFO - Deleting VM test2_vm 2025-10-22 18:17:58,529 - INFO - Deleting VM test_vm 2025-10-22 18:17:58,684 - INFO - Deleting VN ctest-bgpaas_vn-02307902 2025-10-22 18:17:58,842 - DEBUG - VN 02837064-7fa8-4072-a901-1ebf51c460ea still in use: Unable to complete operation on network 02837064-7fa8-4072-a901-1ebf51c460ea. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff5e2844-338e-4583-83a0-daa3c5ae992e'] 2025-10-22 18:17:58,843 - WARNING - Deleting VN ctest-bgpaas_vn-02307902 failed..Will retry 2025-10-22 18:18:01,105 - DEBUG - Response for deleting network () 2025-10-22 18:18:01,106 - INFO - Deleting VN ctest-bgpaas_vn-39464786 2025-10-22 18:18:01,300 - DEBUG - Response for deleting network () 2025-10-22 18:18:01,743 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 18:18:01,743 - INFO - END TEST : test_rp_interface : PASSED[0:00:34]
2025-10-22 18:18:01,743 - INFO - -------------------------------------------------------------------------------- 2025-10-22 18:18:02,574 - INFO - Deleted project: ctest-TestRP-68916393, ID : 8e020483-68b7-42f2-aa3f-fd6b81aed8be