2025-08-14 14:12:43,893 - INFO - Domain Default found not creating 2025-08-14 14:12:44,109 - INFO - Project ctest-TestRouters-63867399 not found, creating it 2025-08-14 14:12:44,582 - INFO - Created Project:ctest-TestRouters-63867399, ID : e5a7e129-6d63-4d48-bbaa-391cb4a3380e 2025-08-14 14:12:45,973 - INFO - ================================================================================ 2025-08-14 14:12:45,974 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 14:12:45,974 - 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-14 14:12:46,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 14:12:46,232 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:12:46,232 - INFO - 2025-08-14 14:12:46,765 - DEBUG - Response for create_network : {'network': {'id': '5744db7e-8c7b-425b-a8e9-867660ed6cb2', 'name': 'ctest-vn1-62571988', 'tenant_id': 'e5a7e1296d634d48bbaa391cb4a3380e', 'project_id': 'e5a7e1296d634d48bbaa391cb4a3380e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-63867399', 'ctest-vn1-62571988'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:12:46,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '26979755-2639-4280-ad6f-58790d638e8d', 'name': '', 'tenant_id': 'e5a7e1296d634d48bbaa391cb4a3380e', 'network_id': '5744db7e-8c7b-425b-a8e9-867660ed6cb2', 'ip_version': 4, 'cidr': '206.156.12.64/26', 'allocation_pools': [{'start': '206.156.12.66', 'end': '206.156.12.126'}], 'gateway_ip': '206.156.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.156.12.66', 'tags': [], 'project_id': 'e5a7e1296d634d48bbaa391cb4a3380e'}} 2025-08-14 14:12:46,986 - INFO - Created VN ctest-vn1-62571988 2025-08-14 14:12:47,038 - DEBUG - VN ctest-vn1-62571988 UUID is 5744db7e-8c7b-425b-a8e9-867660ed6cb2 2025-08-14 14:12:47,410 - DEBUG - Response for create_network : {'network': {'id': '4b463c0a-1cd3-4588-b979-9c9db5eba295', 'name': 'ctest-vn2-36378774', 'tenant_id': 'e5a7e1296d634d48bbaa391cb4a3380e', 'project_id': 'e5a7e1296d634d48bbaa391cb4a3380e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-63867399', 'ctest-vn2-36378774'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:12:47,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '44172a55-4b82-45e0-a9c5-c64a8f3efcdf', 'name': '', 'tenant_id': 'e5a7e1296d634d48bbaa391cb4a3380e', 'network_id': '4b463c0a-1cd3-4588-b979-9c9db5eba295', 'ip_version': 4, 'cidr': '31.115.193.192/26', 'allocation_pools': [{'start': '31.115.193.194', 'end': '31.115.193.254'}], 'gateway_ip': '31.115.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.115.193.194', 'tags': [], 'project_id': 'e5a7e1296d634d48bbaa391cb4a3380e'}} 2025-08-14 14:12:47,655 - INFO - Created VN ctest-vn2-36378774 2025-08-14 14:12:47,706 - DEBUG - VN ctest-vn2-36378774 UUID is 4b463c0a-1cd3-4588-b979-9c9db5eba295 2025-08-14 14:12:47,911 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:12:48,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:12:50,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:12:50,185 - INFO - Adding interface with subnet_id 26979755-2639-4280-ad6f-58790d638e8d, port_id None to router ac6c8183-904c-4352-a3c3-912cbddd6934 2025-08-14 14:12:50,501 - INFO - Waiting for VM ctest-vn1-vm1-27215441 to be up.. 2025-08-14 14:12:50,626 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:12:55,711 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:12:55,712 - INFO - VM name : ctest-vn1-vm1-27215441 2025-08-14 14:12:55,797 - DEBUG - VM ctest-vn1-vm1-27215441 ID is 5eabf29a-0982-49a7-8b11-7b402ca5d76d 2025-08-14 14:12:55,816 - DEBUG - VM ctest-vn1-vm1-27215441 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:12:55,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5eabf29a-0982-49a7-8b11-7b402ca5d76d 2025-08-14 14:12:56,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5eabf29a-0982-49a7-8b11-7b402ca5d76d 2025-08-14 14:12:56,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/91981289-3f2d-4c83-b457-a631982ffbdb 2025-08-14 14:12:59,489 - 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 1027ms') 2025-08-14 14:12:59,489 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27215441 failed! 2025-08-14 14:12:59,546 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-63867399:ctest-vn1-62571988 is 206.156.12.65 and allocation pool is NOT set 2025-08-14 14:13:01,610 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.434/1.566/2.699/1.132 ms') 2025-08-14 14:13:01,611 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27215441 passed 2025-08-14 14:13:01,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:01,762 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27215441, IP 206.156.12.67, Port 22 2025-08-14 14:13:01,928 - DEBUG - VM ctest-vn1-vm1-27215441 is ready for SSH connections 2025-08-14 14:13:01,928 - INFO - Waiting for VM ctest-vn2-vm1-73670713 to be up.. 2025-08-14 14:13:02,008 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:13:02,008 - INFO - VM name : ctest-vn2-vm1-73670713 2025-08-14 14:13:02,087 - DEBUG - VM ctest-vn2-vm1-73670713 ID is b8ce8085-28cc-4a0d-95ba-584f83ffcd71 2025-08-14 14:13:02,087 - DEBUG - VM ctest-vn2-vm1-73670713 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:13:02,165 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b8ce8085-28cc-4a0d-95ba-584f83ffcd71 2025-08-14 14:13:02,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5d44c2ed-ab2f-4f83-89c7-d45964f6e982 2025-08-14 14:13:03,412 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.561/2.756/1.194 ms') 2025-08-14 14:13:03,412 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-73670713 passed 2025-08-14 14:13:03,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:03,566 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-73670713, IP 31.115.193.195, Port 22 2025-08-14 14:13:03,728 - DEBUG - VM ctest-vn2-vm1-73670713 is ready for SSH connections 2025-08-14 14:13:03,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:03,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.115.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:13:03,728 - DEBUG - ping -s 56 -c 3 -W 1 31.115.193.195 2025-08-14 14:13:08,366 - DEBUG - PING 31.115.193.195 (31.115.193.195): 56 data bytes --- 31.115.193.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:13:08,366 - WARNING - Ping to IP 31.115.193.195 from VM ctest-vn1-vm1-27215441 failed 2025-08-14 14:13:08,366 - INFO - Adding interface with subnet_id 44172a55-4b82-45e0-a9c5-c64a8f3efcdf, port_id None to router ac6c8183-904c-4352-a3c3-912cbddd6934 2025-08-14 14:13:08,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:08,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.115.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:13:08,622 - DEBUG - ping -s 56 -c 3 -W 1 31.115.193.195 2025-08-14 14:13:11,825 - DEBUG - PING 31.115.193.195 (31.115.193.195): 56 data bytes 64 bytes from 31.115.193.195: seq=1 ttl=63 time=2.977 ms 64 bytes from 31.115.193.195: seq=2 ttl=63 time=0.949 ms --- 31.115.193.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.949/1.963/2.977 ms 2025-08-14 14:13:11,826 - WARNING - Ping to IP 31.115.193.195 from VM ctest-vn1-vm1-27215441 failed 2025-08-14 14:13:12,826 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.115.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:13:12,826 - DEBUG - ping -s 56 -c 3 -W 1 31.115.193.195 2025-08-14 14:13:15,029 - DEBUG - PING 31.115.193.195 (31.115.193.195): 56 data bytes 64 bytes from 31.115.193.195: seq=0 ttl=63 time=1.395 ms 64 bytes from 31.115.193.195: seq=1 ttl=63 time=0.851 ms 64 bytes from 31.115.193.195: seq=2 ttl=63 time=0.945 ms --- 31.115.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.063/1.395 ms 2025-08-14 14:13:15,029 - INFO - Ping to IP 31.115.193.195 from VM ctest-vn1-vm1-27215441 passed 2025-08-14 14:13:15,030 - INFO - Deleting interface with subnet_id 26979755-2639-4280-ad6f-58790d638e8d, port_id None from router ac6c8183-904c-4352-a3c3-912cbddd6934 2025-08-14 14:13:15,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:15,158 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.115.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:13:15,158 - DEBUG - ping -s 56 -c 3 -W 1 31.115.193.195 2025-08-14 14:13:18,374 - DEBUG - PING 31.115.193.195 (31.115.193.195): 56 data bytes --- 31.115.193.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 14:13:18,374 - WARNING - Ping to IP 31.115.193.195 from VM ctest-vn1-vm1-27215441 failed 2025-08-14 14:13:18,374 - INFO - Adding interface with subnet_id 26979755-2639-4280-ad6f-58790d638e8d, port_id None to router ac6c8183-904c-4352-a3c3-912cbddd6934 2025-08-14 14:13:18,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:18,597 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.115.193.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:13:18,597 - DEBUG - ping -s 56 -c 3 -W 1 31.115.193.195 2025-08-14 14:13:20,804 - DEBUG - PING 31.115.193.195 (31.115.193.195): 56 data bytes 64 bytes from 31.115.193.195: seq=0 ttl=63 time=1.536 ms 64 bytes from 31.115.193.195: seq=1 ttl=63 time=0.805 ms 64 bytes from 31.115.193.195: seq=2 ttl=63 time=0.973 ms --- 31.115.193.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.104/1.536 ms 2025-08-14 14:13:20,804 - INFO - Ping to IP 31.115.193.195 from VM ctest-vn1-vm1-27215441 passed 2025-08-14 14:13:20,805 - INFO - Deleting interface with subnet_id 44172a55-4b82-45e0-a9c5-c64a8f3efcdf, port_id None from router ac6c8183-904c-4352-a3c3-912cbddd6934 2025-08-14 14:13:20,974 - INFO - Deleting interface with subnet_id 26979755-2639-4280-ad6f-58790d638e8d, port_id None from router ac6c8183-904c-4352-a3c3-912cbddd6934 2025-08-14 14:13:21,192 - INFO - Deleting VM ctest-vn2-vm1-73670713 2025-08-14 14:13:21,262 - INFO - Deleting VM ctest-vn1-vm1-27215441 2025-08-14 14:13:21,338 - INFO - Deleting VN ctest-vn2-36378774 2025-08-14 14:13:21,379 - DEBUG - VN 4b463c0a-1cd3-4588-b979-9c9db5eba295 still in use: Unable to complete operation on network 4b463c0a-1cd3-4588-b979-9c9db5eba295. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fdeca65c-262a-4968-ba80-08e928355e8f'] 2025-08-14 14:13:21,379 - WARNING - Deleting VN ctest-vn2-36378774 failed..Will retry 2025-08-14 14:13:23,482 - DEBUG - Response for deleting network () 2025-08-14 14:13:23,482 - INFO - Deleting VN ctest-vn1-62571988 2025-08-14 14:13:23,582 - DEBUG - Response for deleting network () 2025-08-14 14:13:23,839 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:13:23,839 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-14 14:13:23,839 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:13:24,515 - INFO - Deleted project: ctest-TestRouters-63867399, ID : e5a7e129-6d63-4d48-bbaa-391cb4a3380e