2025-08-11 02:02:55,321 - INFO - Domain Default found not creating 2025-08-11 02:02:55,451 - INFO - Project ctest-TestRouters-17110316 not found, creating it 2025-08-11 02:02:55,976 - INFO - Created Project:ctest-TestRouters-17110316, ID : 39574d97-1330-49e8-bea4-9c6f06d08c4f 2025-08-11 02:02:57,351 - INFO - ================================================================================ 2025-08-11 02:02:57,351 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 02:02:57,351 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-08-11 02:02:57,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with 2025-08-11 02:02:57,607 - INFO - Initial checks done. Running the testcase now 2025-08-11 02:02:57,607 - INFO - 2025-08-11 02:02:58,201 - DEBUG - Response for create_network : {'network': {'id': '8e3654bc-b39f-43b1-9123-e0f9db477ce9', 'name': 'ctest-vn1-49481965', 'tenant_id': '39574d97133049e8bea49c6f06d08c4f', 'project_id': '39574d97133049e8bea49c6f06d08c4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17110316', 'ctest-vn1-49481965'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:02:58,435 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcc10cf0-479f-4fcf-b544-2746911c1dd1', 'name': '', 'tenant_id': '39574d97133049e8bea49c6f06d08c4f', 'network_id': '8e3654bc-b39f-43b1-9123-e0f9db477ce9', 'ip_version': 4, 'cidr': '142.196.135.128/26', 'allocation_pools': [{'start': '142.196.135.130', 'end': '142.196.135.190'}], 'gateway_ip': '142.196.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.196.135.130', 'tags': [], 'project_id': '39574d97133049e8bea49c6f06d08c4f'}} 2025-08-11 02:02:58,459 - INFO - Created VN ctest-vn1-49481965 2025-08-11 02:02:58,517 - DEBUG - VN ctest-vn1-49481965 UUID is 8e3654bc-b39f-43b1-9123-e0f9db477ce9 2025-08-11 02:02:58,917 - DEBUG - Response for create_network : {'network': {'id': 'bafa23ff-1584-48a1-a42f-2d9d89aca034', 'name': 'ctest-vn2-52894051', 'tenant_id': '39574d97133049e8bea49c6f06d08c4f', 'project_id': '39574d97133049e8bea49c6f06d08c4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17110316', 'ctest-vn2-52894051'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 02:02:59,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c51c579-b7b0-4369-a09d-48ac98775687', 'name': '', 'tenant_id': '39574d97133049e8bea49c6f06d08c4f', 'network_id': 'bafa23ff-1584-48a1-a42f-2d9d89aca034', 'ip_version': 4, 'cidr': '101.207.221.128/26', 'allocation_pools': [{'start': '101.207.221.130', 'end': '101.207.221.190'}], 'gateway_ip': '101.207.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.207.221.130', 'tags': [], 'project_id': '39574d97133049e8bea49c6f06d08c4f'}} 2025-08-11 02:02:59,125 - INFO - Created VN ctest-vn2-52894051 2025-08-11 02:02:59,177 - DEBUG - VN ctest-vn2-52894051 UUID is bafa23ff-1584-48a1-a42f-2d9d89aca034 2025-08-11 02:02:59,420 - DEBUG - Services list from nova: [, , ] 2025-08-11 02:03:00,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3795-1) 2025-08-11 02:03:01,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3795-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3795-1) 2025-08-11 02:03:01,582 - INFO - Adding interface with subnet_id bcc10cf0-479f-4fcf-b544-2746911c1dd1, port_id None to router d96037ce-fa8d-4ac4-976c-a662441f06b9 2025-08-11 02:03:01,817 - INFO - Waiting for VM ctest-vn1-vm1-34521596 to be up.. 2025-08-11 02:03:01,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 02:03:06,990 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:03:06,990 - INFO - VM name : ctest-vn1-vm1-34521596 2025-08-11 02:03:07,058 - DEBUG - VM ctest-vn1-vm1-34521596 ID is 03b446c0-1f2d-44db-98ce-46fa02776025 2025-08-11 02:03:07,075 - DEBUG - VM ctest-vn1-vm1-34521596 launched on Node cn-jenkins-deploy-platform-ansible-os-3795-1 2025-08-11 02:03:07,147 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/03b446c0-1f2d-44db-98ce-46fa02776025 2025-08-11 02:03:07,436 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/03b446c0-1f2d-44db-98ce-46fa02776025 2025-08-11 02:03:07,464 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/8653728c-e202-4dba-b687-6663fa6d5034 2025-08-11 02:03:10,711 - 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=2 ttl=63 time=12.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 12.755/12.755/12.755/0.000 ms') 2025-08-11 02:03:10,711 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34521596 passed 2025-08-11 02:03:10,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:10,861 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34521596, IP 142.196.135.131, Port 22 2025-08-11 02:03:11,013 - DEBUG - VM ctest-vn1-vm1-34521596 is ready for SSH connections 2025-08-11 02:03:11,013 - INFO - Waiting for VM ctest-vn2-vm1-91328587 to be up.. 2025-08-11 02:03:11,078 - DEBUG - VM is in ACTIVE state now 2025-08-11 02:03:11,078 - INFO - VM name : ctest-vn2-vm1-91328587 2025-08-11 02:03:11,139 - DEBUG - VM ctest-vn2-vm1-91328587 ID is 5ad33faf-dbb2-4181-99a5-8c03d2e3b5ba 2025-08-11 02:03:11,139 - DEBUG - VM ctest-vn2-vm1-91328587 launched on Node cn-jenkins-deploy-platform-ansible-os-3795-1 2025-08-11 02:03:11,200 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/5ad33faf-dbb2-4181-99a5-8c03d2e3b5ba 2025-08-11 02:03:11,207 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/45de140e-ade2-494e-8946-f85a6a3e2960 2025-08-11 02:03:12,442 - 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=2.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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 = 0.310/1.453/2.597/1.143 ms') 2025-08-11 02:03:12,442 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-91328587 passed 2025-08-11 02:03:12,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:12,589 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-91328587, IP 101.207.221.131, Port 22 2025-08-11 02:03:12,744 - DEBUG - VM ctest-vn2-vm1-91328587 is ready for SSH connections 2025-08-11 02:03:12,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:12,744 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.207.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-11 02:03:12,744 - DEBUG - ping -s 56 -c 3 -W 1 101.207.221.131 2025-08-11 02:03:17,354 - DEBUG - PING 101.207.221.131 (101.207.221.131): 56 data bytes --- 101.207.221.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:03:17,354 - WARNING - Ping to IP 101.207.221.131 from VM ctest-vn1-vm1-34521596 failed 2025-08-11 02:03:17,354 - INFO - Adding interface with subnet_id 7c51c579-b7b0-4369-a09d-48ac98775687, port_id None to router d96037ce-fa8d-4ac4-976c-a662441f06b9 2025-08-11 02:03:17,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:17,601 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.207.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-11 02:03:17,601 - DEBUG - ping -s 56 -c 3 -W 1 101.207.221.131 2025-08-11 02:03:19,802 - DEBUG - PING 101.207.221.131 (101.207.221.131): 56 data bytes 64 bytes from 101.207.221.131: seq=0 ttl=63 time=2.248 ms 64 bytes from 101.207.221.131: seq=1 ttl=63 time=0.649 ms 64 bytes from 101.207.221.131: seq=2 ttl=63 time=0.725 ms --- 101.207.221.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.649/1.207/2.248 ms 2025-08-11 02:03:19,802 - INFO - Ping to IP 101.207.221.131 from VM ctest-vn1-vm1-34521596 passed 2025-08-11 02:03:19,802 - INFO - Deleting interface with subnet_id bcc10cf0-479f-4fcf-b544-2746911c1dd1, port_id None from router d96037ce-fa8d-4ac4-976c-a662441f06b9 2025-08-11 02:03:19,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:19,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.207.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-11 02:03:19,909 - DEBUG - ping -s 56 -c 3 -W 1 101.207.221.131 2025-08-11 02:03:23,096 - DEBUG - PING 101.207.221.131 (101.207.221.131): 56 data bytes --- 101.207.221.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 02:03:23,096 - WARNING - Ping to IP 101.207.221.131 from VM ctest-vn1-vm1-34521596 failed 2025-08-11 02:03:23,097 - INFO - Adding interface with subnet_id bcc10cf0-479f-4fcf-b544-2746911c1dd1, port_id None to router d96037ce-fa8d-4ac4-976c-a662441f06b9 2025-08-11 02:03:23,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 02:03:23,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.207.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-08-11 02:03:23,299 - DEBUG - ping -s 56 -c 3 -W 1 101.207.221.131 2025-08-11 02:03:25,486 - DEBUG - PING 101.207.221.131 (101.207.221.131): 56 data bytes 64 bytes from 101.207.221.131: seq=0 ttl=63 time=1.158 ms 64 bytes from 101.207.221.131: seq=1 ttl=63 time=0.775 ms 64 bytes from 101.207.221.131: seq=2 ttl=63 time=0.635 ms --- 101.207.221.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.635/0.856/1.158 ms 2025-08-11 02:03:25,486 - INFO - Ping to IP 101.207.221.131 from VM ctest-vn1-vm1-34521596 passed 2025-08-11 02:03:25,486 - INFO - Deleting interface with subnet_id 7c51c579-b7b0-4369-a09d-48ac98775687, port_id None from router d96037ce-fa8d-4ac4-976c-a662441f06b9 2025-08-11 02:03:25,592 - INFO - Deleting interface with subnet_id bcc10cf0-479f-4fcf-b544-2746911c1dd1, port_id None from router d96037ce-fa8d-4ac4-976c-a662441f06b9 2025-08-11 02:03:25,732 - INFO - Deleting VM ctest-vn2-vm1-91328587 2025-08-11 02:03:25,787 - INFO - Deleting VM ctest-vn1-vm1-34521596 2025-08-11 02:03:25,844 - INFO - Deleting VN ctest-vn2-52894051 2025-08-11 02:03:25,875 - DEBUG - VN bafa23ff-1584-48a1-a42f-2d9d89aca034 still in use: Unable to complete operation on network bafa23ff-1584-48a1-a42f-2d9d89aca034. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ea6d7c2-e4ac-42d3-b63d-b063e4f8d466'] 2025-08-11 02:03:25,875 - WARNING - Deleting VN ctest-vn2-52894051 failed..Will retry 2025-08-11 02:03:27,972 - DEBUG - Response for deleting network () 2025-08-11 02:03:27,972 - INFO - Deleting VN ctest-vn1-49481965 2025-08-11 02:03:28,058 - DEBUG - Response for deleting network () 2025-08-11 02:03:28,311 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 02:03:28,311 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31] 2025-08-11 02:03:28,311 - INFO - -------------------------------------------------------------------------------- 2025-08-11 02:03:28,956 - INFO - Deleted project: ctest-TestRouters-17110316, ID : 39574d97-1330-49e8-bea4-9c6f06d08c4f