2025-10-22 15:10:20,876 - INFO - Domain Default found not creating 2025-10-22 15:10:21,051 - INFO - Project ctest-TestRouters-05775079 not found, creating it 2025-10-22 15:10:21,627 - INFO - Created Project:ctest-TestRouters-05775079, ID : 4561f015-af92-422d-850d-841a53f3b28f 2025-10-22 15:10:23,411 - INFO - ================================================================================ 2025-10-22 15:10:23,411 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 15:10:23,411 - 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-10-22 15:10:23,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-22 15:10:23,704 - INFO - Initial checks done. Running the testcase now 2025-10-22 15:10:23,704 - INFO - 2025-10-22 15:10:24,398 - DEBUG - Response for create_network : {'network': {'id': '9fbc0f9f-6874-48de-93ce-9fd3340561db', 'name': 'ctest-vn1-11393743', 'tenant_id': '4561f015af92422d850d841a53f3b28f', 'project_id': '4561f015af92422d850d841a53f3b28f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05775079', 'ctest-vn1-11393743'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:10:24,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fd058cd-5d9a-46f2-b2dc-5307e23f9192', 'name': '', 'tenant_id': '4561f015af92422d850d841a53f3b28f', 'network_id': '9fbc0f9f-6874-48de-93ce-9fd3340561db', 'ip_version': 4, 'cidr': '42.233.216.192/26', 'allocation_pools': [{'start': '42.233.216.194', 'end': '42.233.216.254'}], 'gateway_ip': '42.233.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.233.216.194', 'tags': [], 'project_id': '4561f015af92422d850d841a53f3b28f'}} 2025-10-22 15:10:24,654 - INFO - Created VN ctest-vn1-11393743 2025-10-22 15:10:24,709 - DEBUG - VN ctest-vn1-11393743 UUID is 9fbc0f9f-6874-48de-93ce-9fd3340561db 2025-10-22 15:10:25,107 - DEBUG - Response for create_network : {'network': {'id': 'ec6c28f8-718c-48ec-a481-a87b1c88f227', 'name': 'ctest-vn2-01199416', 'tenant_id': '4561f015af92422d850d841a53f3b28f', 'project_id': '4561f015af92422d850d841a53f3b28f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05775079', 'ctest-vn2-01199416'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:10:25,295 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dbaa708-a104-4ca2-87ce-44783db6a79f', 'name': '', 'tenant_id': '4561f015af92422d850d841a53f3b28f', 'network_id': 'ec6c28f8-718c-48ec-a481-a87b1c88f227', 'ip_version': 4, 'cidr': '223.205.30.128/26', 'allocation_pools': [{'start': '223.205.30.130', 'end': '223.205.30.190'}], 'gateway_ip': '223.205.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.205.30.130', 'tags': [], 'project_id': '4561f015af92422d850d841a53f3b28f'}} 2025-10-22 15:10:25,315 - INFO - Created VN ctest-vn2-01199416 2025-10-22 15:10:25,369 - DEBUG - VN ctest-vn2-01199416 UUID is ec6c28f8-718c-48ec-a481-a87b1c88f227 2025-10-22 15:10:25,618 - DEBUG - Services list from nova: [, , ] 2025-10-22 15:10:26,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4433-1) 2025-10-22 15:10:28,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4433-1) 2025-10-22 15:10:28,520 - INFO - Adding interface with subnet_id 2fd058cd-5d9a-46f2-b2dc-5307e23f9192, port_id None to router 87d5c85b-36cb-4abb-a247-3055ac29b1be 2025-10-22 15:10:28,876 - INFO - Waiting for VM ctest-vn1-vm1-01960603 to be up.. 2025-10-22 15:10:29,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 15:10:34,122 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:10:34,123 - INFO - VM name : ctest-vn1-vm1-01960603 2025-10-22 15:10:34,198 - DEBUG - VM ctest-vn1-vm1-01960603 ID is 2f1cd3c1-45b3-426d-a404-6f20e1980a7d 2025-10-22 15:10:34,222 - DEBUG - VM ctest-vn1-vm1-01960603 launched on Node cn-jenkins-deploy-platform-ansible-os-4433-1 2025-10-22 15:10:34,329 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2f1cd3c1-45b3-426d-a404-6f20e1980a7d 2025-10-22 15:10:34,639 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2f1cd3c1-45b3-426d-a404-6f20e1980a7d 2025-10-22 15:10:34,676 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/12a29385-bd9d-4e67-84b9-aaa3109663f1 2025-10-22 15:10:37,962 - 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 15:10:37,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01960603 failed! 2025-10-22 15:10:38,038 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-05775079:ctest-vn1-11393743 is 42.233.216.193 and allocation pool is NOT set 2025-10-22 15:10:40,111 - 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=5.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.746/3.396/5.046/1.650 ms') 2025-10-22 15:10:40,111 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01960603 passed 2025-10-22 15:10:40,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:10:40,266 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01960603, IP 42.233.216.195, Port 22 2025-10-22 15:10:40,454 - DEBUG - VM ctest-vn1-vm1-01960603 is ready for SSH connections 2025-10-22 15:10:40,455 - INFO - Waiting for VM ctest-vn2-vm1-57798410 to be up.. 2025-10-22 15:10:40,598 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:10:40,598 - INFO - VM name : ctest-vn2-vm1-57798410 2025-10-22 15:10:40,705 - DEBUG - VM ctest-vn2-vm1-57798410 ID is 442f084e-38da-4491-9d25-bef5b187bf74 2025-10-22 15:10:40,705 - DEBUG - VM ctest-vn2-vm1-57798410 launched on Node cn-jenkins-deploy-platform-ansible-os-4433-1 2025-10-22 15:10:40,825 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/442f084e-38da-4491-9d25-bef5b187bf74 2025-10-22 15:10:40,838 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4b29ce7a-e84e-45b1-8462-aa62c7fc112d 2025-10-22 15:10:42,129 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.827 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.827/2.432/4.037/1.605 ms') 2025-10-22 15:10:42,130 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-57798410 passed 2025-10-22 15:10:42,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:10:42,306 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-57798410, IP 223.205.30.131, Port 22 2025-10-22 15:10:42,487 - DEBUG - VM ctest-vn2-vm1-57798410 is ready for SSH connections 2025-10-22 15:10:42,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:10:42,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.205.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 15:10:42,487 - DEBUG - ping -s 56 -c 3 -W 1 223.205.30.131 2025-10-22 15:10:47,814 - DEBUG - PING 223.205.30.131 (223.205.30.131): 56 data bytes --- 223.205.30.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 15:10:47,815 - WARNING - Ping to IP 223.205.30.131 from VM ctest-vn1-vm1-01960603 failed 2025-10-22 15:10:47,815 - INFO - Adding interface with subnet_id 7dbaa708-a104-4ca2-87ce-44783db6a79f, port_id None to router 87d5c85b-36cb-4abb-a247-3055ac29b1be 2025-10-22 15:10:48,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:10:48,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.205.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 15:10:48,135 - DEBUG - ping -s 56 -c 3 -W 1 223.205.30.131 2025-10-22 15:10:50,434 - DEBUG - PING 223.205.30.131 (223.205.30.131): 56 data bytes 64 bytes from 223.205.30.131: seq=0 ttl=63 time=3.884 ms 64 bytes from 223.205.30.131: seq=1 ttl=63 time=1.683 ms 64 bytes from 223.205.30.131: seq=2 ttl=63 time=1.843 ms --- 223.205.30.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.683/2.470/3.884 ms 2025-10-22 15:10:50,435 - INFO - Ping to IP 223.205.30.131 from VM ctest-vn1-vm1-01960603 passed 2025-10-22 15:10:50,435 - INFO - Deleting interface with subnet_id 2fd058cd-5d9a-46f2-b2dc-5307e23f9192, port_id None from router 87d5c85b-36cb-4abb-a247-3055ac29b1be 2025-10-22 15:10:50,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:10:50,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.205.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 15:10:50,650 - DEBUG - ping -s 56 -c 3 -W 1 223.205.30.131 2025-10-22 15:10:53,914 - DEBUG - PING 223.205.30.131 (223.205.30.131): 56 data bytes --- 223.205.30.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 15:10:53,914 - WARNING - Ping to IP 223.205.30.131 from VM ctest-vn1-vm1-01960603 failed 2025-10-22 15:10:53,915 - INFO - Adding interface with subnet_id 2fd058cd-5d9a-46f2-b2dc-5307e23f9192, port_id None to router 87d5c85b-36cb-4abb-a247-3055ac29b1be 2025-10-22 15:10:54,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:10:54,264 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.205.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 15:10:54,264 - DEBUG - ping -s 56 -c 3 -W 1 223.205.30.131 2025-10-22 15:10:56,529 - DEBUG - PING 223.205.30.131 (223.205.30.131): 56 data bytes 64 bytes from 223.205.30.131: seq=0 ttl=63 time=3.086 ms 64 bytes from 223.205.30.131: seq=1 ttl=63 time=1.637 ms 64 bytes from 223.205.30.131: seq=2 ttl=63 time=1.680 ms --- 223.205.30.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.637/2.134/3.086 ms 2025-10-22 15:10:56,529 - INFO - Ping to IP 223.205.30.131 from VM ctest-vn1-vm1-01960603 passed 2025-10-22 15:10:56,529 - INFO - Deleting interface with subnet_id 7dbaa708-a104-4ca2-87ce-44783db6a79f, port_id None from router 87d5c85b-36cb-4abb-a247-3055ac29b1be 2025-10-22 15:10:56,761 - INFO - Deleting interface with subnet_id 2fd058cd-5d9a-46f2-b2dc-5307e23f9192, port_id None from router 87d5c85b-36cb-4abb-a247-3055ac29b1be 2025-10-22 15:10:56,981 - INFO - Deleting VM ctest-vn2-vm1-57798410 2025-10-22 15:10:57,062 - INFO - Deleting VM ctest-vn1-vm1-01960603 2025-10-22 15:10:57,172 - INFO - Deleting VN ctest-vn2-01199416 2025-10-22 15:10:57,227 - DEBUG - VN ec6c28f8-718c-48ec-a481-a87b1c88f227 still in use: Unable to complete operation on network ec6c28f8-718c-48ec-a481-a87b1c88f227. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4fd4391c-4b35-447b-bbde-0b74a042251e'] 2025-10-22 15:10:57,227 - WARNING - Deleting VN ctest-vn2-01199416 failed..Will retry 2025-10-22 15:10:59,376 - DEBUG - Response for deleting network () 2025-10-22 15:10:59,376 - INFO - Deleting VN ctest-vn1-11393743 2025-10-22 15:10:59,507 - DEBUG - Response for deleting network () 2025-10-22 15:10:59,779 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 15:10:59,779 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36] 2025-10-22 15:10:59,779 - INFO - -------------------------------------------------------------------------------- 2025-10-22 15:11:00,519 - INFO - Deleted project: ctest-TestRouters-05775079, ID : 4561f015-af92-422d-850d-841a53f3b28f