2025-09-11 09:24:32,578 - INFO - Domain Default found not creating 2025-09-11 09:24:32,708 - INFO - Project ctest-TestRouters-08348841 not found, creating it 2025-09-11 09:24:33,183 - INFO - Created Project:ctest-TestRouters-08348841, ID : 678f3d3d-0c65-40a6-b0e9-18a8e8da89d8 2025-09-11 09:24:34,772 - INFO - ================================================================================ 2025-09-11 09:24:34,772 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 09:24:34,772 - 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-09-11 09:24:35,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 09:24:35,024 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:24:35,024 - INFO - 2025-09-11 09:24:35,567 - DEBUG - Response for create_network : {'network': {'id': 'fcbbeb28-0034-43d8-87ed-c1c34f019402', 'name': 'ctest-vn1-65519948', 'tenant_id': '678f3d3d0c6540a6b0e918a8e8da89d8', 'project_id': '678f3d3d0c6540a6b0e918a8e8da89d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08348841', 'ctest-vn1-65519948'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:24:35,742 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab4ac91c-ccdc-43e5-bbc9-d64e88d1fdaf', 'name': '', 'tenant_id': '678f3d3d0c6540a6b0e918a8e8da89d8', 'network_id': 'fcbbeb28-0034-43d8-87ed-c1c34f019402', 'ip_version': 4, 'cidr': '9.164.159.0/26', 'allocation_pools': [{'start': '9.164.159.2', 'end': '9.164.159.62'}], 'gateway_ip': '9.164.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.164.159.2', 'tags': [], 'project_id': '678f3d3d0c6540a6b0e918a8e8da89d8'}} 2025-09-11 09:24:35,758 - INFO - Created VN ctest-vn1-65519948 2025-09-11 09:24:35,811 - DEBUG - VN ctest-vn1-65519948 UUID is fcbbeb28-0034-43d8-87ed-c1c34f019402 2025-09-11 09:24:36,170 - DEBUG - Response for create_network : {'network': {'id': '2607911a-0ef4-4502-8713-5926d41f5437', 'name': 'ctest-vn2-79934031', 'tenant_id': '678f3d3d0c6540a6b0e918a8e8da89d8', 'project_id': '678f3d3d0c6540a6b0e918a8e8da89d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08348841', 'ctest-vn2-79934031'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:24:36,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '34f1ad01-13b2-45bb-b9aa-1c67e45d2c9e', 'name': '', 'tenant_id': '678f3d3d0c6540a6b0e918a8e8da89d8', 'network_id': '2607911a-0ef4-4502-8713-5926d41f5437', 'ip_version': 4, 'cidr': '68.245.2.128/26', 'allocation_pools': [{'start': '68.245.2.130', 'end': '68.245.2.190'}], 'gateway_ip': '68.245.2.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.245.2.130', 'tags': [], 'project_id': '678f3d3d0c6540a6b0e918a8e8da89d8'}} 2025-09-11 09:24:36,357 - INFO - Created VN ctest-vn2-79934031 2025-09-11 09:24:36,411 - DEBUG - VN ctest-vn2-79934031 UUID is 2607911a-0ef4-4502-8713-5926d41f5437 2025-09-11 09:24:36,620 - DEBUG - Services list from nova: [, , ] 2025-09-11 09:24:37,572 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1) 2025-09-11 09:24:38,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4087-1) 2025-09-11 09:24:38,792 - INFO - Adding interface with subnet_id ab4ac91c-ccdc-43e5-bbc9-d64e88d1fdaf, port_id None to router e6a6d0c4-44ba-44bf-bfb2-88d28468077c 2025-09-11 09:24:39,067 - INFO - Waiting for VM ctest-vn1-vm1-60146371 to be up.. 2025-09-11 09:24:39,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 09:24:44,226 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:24:44,226 - INFO - VM name : ctest-vn1-vm1-60146371 2025-09-11 09:24:44,301 - DEBUG - VM ctest-vn1-vm1-60146371 ID is ad83d7d9-849f-4e9d-ba55-8d1050119081 2025-09-11 09:24:44,321 - DEBUG - VM ctest-vn1-vm1-60146371 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1 2025-09-11 09:24:44,389 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ad83d7d9-849f-4e9d-ba55-8d1050119081 2025-09-11 09:24:44,679 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ad83d7d9-849f-4e9d-ba55-8d1050119081 2025-09-11 09:24:44,708 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8525d09b-9ccb-420d-863f-18f5b013d7fd 2025-09-11 09:24:47,970 - 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-09-11 09:24:47,970 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60146371 failed! 2025-09-11 09:24:48,027 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-08348841:ctest-vn1-65519948 is 9.164.159.1 and allocation pool is NOT set 2025-09-11 09:24:50,090 - 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.396 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.396/1.547/2.699/1.151 ms') 2025-09-11 09:24:50,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60146371 passed 2025-09-11 09:24:50,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:50,239 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60146371, IP 9.164.159.3, Port 22 2025-09-11 09:24:50,395 - DEBUG - VM ctest-vn1-vm1-60146371 is ready for SSH connections 2025-09-11 09:24:50,395 - INFO - Waiting for VM ctest-vn2-vm1-30990571 to be up.. 2025-09-11 09:24:50,462 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:24:50,462 - INFO - VM name : ctest-vn2-vm1-30990571 2025-09-11 09:24:50,534 - DEBUG - VM ctest-vn2-vm1-30990571 ID is 1e98d764-774e-44b5-aec0-3cd165bc1521 2025-09-11 09:24:50,534 - DEBUG - VM ctest-vn2-vm1-30990571 launched on Node cn-jenkins-deploy-platform-ansible-os-4087-1 2025-09-11 09:24:50,598 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1e98d764-774e-44b5-aec0-3cd165bc1521 2025-09-11 09:24:50,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6c63776f-ce74-4f5b-908c-8fabac6988b1 2025-09-11 09:24:51,837 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.509/2.653/1.144 ms') 2025-09-11 09:24:51,837 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-30990571 passed 2025-09-11 09:24:51,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:51,983 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-30990571, IP 68.245.2.131, Port 22 2025-09-11 09:24:52,135 - DEBUG - VM ctest-vn2-vm1-30990571 is ready for SSH connections 2025-09-11 09:24:52,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:52,135 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.245.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:24:52,135 - DEBUG - ping -s 56 -c 3 -W 1 68.245.2.131 2025-09-11 09:24:56,804 - DEBUG - PING 68.245.2.131 (68.245.2.131): 56 data bytes --- 68.245.2.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 09:24:56,804 - WARNING - Ping to IP 68.245.2.131 from VM ctest-vn1-vm1-60146371 failed 2025-09-11 09:24:56,804 - INFO - Adding interface with subnet_id 34f1ad01-13b2-45bb-b9aa-1c67e45d2c9e, port_id None to router e6a6d0c4-44ba-44bf-bfb2-88d28468077c 2025-09-11 09:24:57,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:24:57,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.245.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:24:57,006 - DEBUG - ping -s 56 -c 3 -W 1 68.245.2.131 2025-09-11 09:25:00,194 - DEBUG - PING 68.245.2.131 (68.245.2.131): 56 data bytes 64 bytes from 68.245.2.131: seq=1 ttl=63 time=2.544 ms 64 bytes from 68.245.2.131: seq=2 ttl=63 time=0.953 ms --- 68.245.2.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.953/1.748/2.544 ms 2025-09-11 09:25:00,194 - WARNING - Ping to IP 68.245.2.131 from VM ctest-vn1-vm1-60146371 failed 2025-09-11 09:25:01,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.245.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:25:01,196 - DEBUG - ping -s 56 -c 3 -W 1 68.245.2.131 2025-09-11 09:25:03,400 - DEBUG - PING 68.245.2.131 (68.245.2.131): 56 data bytes 64 bytes from 68.245.2.131: seq=0 ttl=63 time=1.367 ms 64 bytes from 68.245.2.131: seq=1 ttl=63 time=0.950 ms 64 bytes from 68.245.2.131: seq=2 ttl=63 time=0.773 ms --- 68.245.2.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.030/1.367 ms 2025-09-11 09:25:03,400 - INFO - Ping to IP 68.245.2.131 from VM ctest-vn1-vm1-60146371 passed 2025-09-11 09:25:03,400 - INFO - Deleting interface with subnet_id ab4ac91c-ccdc-43e5-bbc9-d64e88d1fdaf, port_id None from router e6a6d0c4-44ba-44bf-bfb2-88d28468077c 2025-09-11 09:25:03,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:25:03,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.245.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:25:03,497 - DEBUG - ping -s 56 -c 3 -W 1 68.245.2.131 2025-09-11 09:25:06,697 - DEBUG - PING 68.245.2.131 (68.245.2.131): 56 data bytes --- 68.245.2.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 09:25:06,697 - WARNING - Ping to IP 68.245.2.131 from VM ctest-vn1-vm1-60146371 failed 2025-09-11 09:25:06,697 - INFO - Adding interface with subnet_id ab4ac91c-ccdc-43e5-bbc9-d64e88d1fdaf, port_id None to router e6a6d0c4-44ba-44bf-bfb2-88d28468077c 2025-09-11 09:25:06,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:25:06,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.245.2.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 09:25:06,880 - DEBUG - ping -s 56 -c 3 -W 1 68.245.2.131 2025-09-11 09:25:09,073 - DEBUG - PING 68.245.2.131 (68.245.2.131): 56 data bytes 64 bytes from 68.245.2.131: seq=0 ttl=63 time=1.394 ms 64 bytes from 68.245.2.131: seq=1 ttl=63 time=0.930 ms 64 bytes from 68.245.2.131: seq=2 ttl=63 time=0.780 ms --- 68.245.2.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/1.034/1.394 ms 2025-09-11 09:25:09,073 - INFO - Ping to IP 68.245.2.131 from VM ctest-vn1-vm1-60146371 passed 2025-09-11 09:25:09,073 - INFO - Deleting interface with subnet_id 34f1ad01-13b2-45bb-b9aa-1c67e45d2c9e, port_id None from router e6a6d0c4-44ba-44bf-bfb2-88d28468077c 2025-09-11 09:25:09,193 - INFO - Deleting interface with subnet_id ab4ac91c-ccdc-43e5-bbc9-d64e88d1fdaf, port_id None from router e6a6d0c4-44ba-44bf-bfb2-88d28468077c 2025-09-11 09:25:09,353 - INFO - Deleting VM ctest-vn2-vm1-30990571 2025-09-11 09:25:09,422 - INFO - Deleting VM ctest-vn1-vm1-60146371 2025-09-11 09:25:09,484 - INFO - Deleting VN ctest-vn2-79934031 2025-09-11 09:25:09,518 - DEBUG - VN 2607911a-0ef4-4502-8713-5926d41f5437 still in use: Unable to complete operation on network 2607911a-0ef4-4502-8713-5926d41f5437. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3d52e2e-03e6-4443-90a1-ed5cde1da77c'] 2025-09-11 09:25:09,518 - WARNING - Deleting VN ctest-vn2-79934031 failed..Will retry 2025-09-11 09:25:11,614 - DEBUG - Response for deleting network () 2025-09-11 09:25:11,615 - INFO - Deleting VN ctest-vn1-65519948 2025-09-11 09:25:11,702 - DEBUG - Response for deleting network () 2025-09-11 09:25:11,957 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 09:25:11,957 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-11 09:25:11,957 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:25:12,600 - INFO - Deleted project: ctest-TestRouters-08348841, ID : 678f3d3d-0c65-40a6-b0e9-18a8e8da89d8