2025-11-17 20:44:32,228 - INFO - Domain Default found not creating 2025-11-17 20:44:32,391 - INFO - Project ctest-TestRouters-95750315 not found, creating it 2025-11-17 20:44:32,887 - INFO - Created Project:ctest-TestRouters-95750315, ID : 288735fe-d948-4ca9-aa30-3a42887096d4 2025-11-17 20:44:34,383 - INFO - ================================================================================ 2025-11-17 20:44:34,383 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-17 20:44:34,383 - 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-11-17 20:44:34,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-11-17 20:44:34,640 - INFO - Initial checks done. Running the testcase now 2025-11-17 20:44:34,640 - INFO - 2025-11-17 20:44:35,215 - DEBUG - Response for create_network : {'network': {'id': 'e31153aa-ece2-4b29-952a-1f5b04155fb3', 'name': 'ctest-vn1-98348759', 'tenant_id': '288735fed9484ca9aa303a42887096d4', 'project_id': '288735fed9484ca9aa303a42887096d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95750315', 'ctest-vn1-98348759'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:44:35,443 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3ac9683-d41a-4ae2-bfe0-0cb8288eb724', 'name': '', 'tenant_id': '288735fed9484ca9aa303a42887096d4', 'network_id': 'e31153aa-ece2-4b29-952a-1f5b04155fb3', 'ip_version': 4, 'cidr': '6.57.163.64/26', 'allocation_pools': [{'start': '6.57.163.66', 'end': '6.57.163.126'}], 'gateway_ip': '6.57.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.57.163.66', 'tags': [], 'project_id': '288735fed9484ca9aa303a42887096d4'}} 2025-11-17 20:44:35,460 - INFO - Created VN ctest-vn1-98348759 2025-11-17 20:44:35,512 - DEBUG - VN ctest-vn1-98348759 UUID is e31153aa-ece2-4b29-952a-1f5b04155fb3 2025-11-17 20:44:35,838 - DEBUG - Response for create_network : {'network': {'id': '2231c144-85fe-42c9-9b3a-c67af2815242', 'name': 'ctest-vn2-56056577', 'tenant_id': '288735fed9484ca9aa303a42887096d4', 'project_id': '288735fed9484ca9aa303a42887096d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95750315', 'ctest-vn2-56056577'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 20:44:36,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f975b43-28c5-4e4a-8bee-362616ac59d6', 'name': '', 'tenant_id': '288735fed9484ca9aa303a42887096d4', 'network_id': '2231c144-85fe-42c9-9b3a-c67af2815242', 'ip_version': 4, 'cidr': '187.70.120.0/26', 'allocation_pools': [{'start': '187.70.120.2', 'end': '187.70.120.62'}], 'gateway_ip': '187.70.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.70.120.2', 'tags': [], 'project_id': '288735fed9484ca9aa303a42887096d4'}} 2025-11-17 20:44:36,093 - INFO - Created VN ctest-vn2-56056577 2025-11-17 20:44:36,156 - DEBUG - VN ctest-vn2-56056577 UUID is 2231c144-85fe-42c9-9b3a-c67af2815242 2025-11-17 20:44:36,363 - DEBUG - Services list from nova: [, , ] 2025-11-17 20:44:37,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1) 2025-11-17 20:44:38,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4747-1) 2025-11-17 20:44:38,794 - INFO - Adding interface with subnet_id f3ac9683-d41a-4ae2-bfe0-0cb8288eb724, port_id None to router a6a651fb-85e3-4e99-91fa-3214d13a4895 2025-11-17 20:44:39,061 - INFO - Waiting for VM ctest-vn1-vm1-54277883 to be up.. 2025-11-17 20:44:39,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 20:44:44,249 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:44:44,249 - INFO - VM name : ctest-vn1-vm1-54277883 2025-11-17 20:44:44,338 - DEBUG - VM ctest-vn1-vm1-54277883 ID is 147c3feb-a61b-4fae-8716-571f91a38ed0 2025-11-17 20:44:44,358 - DEBUG - VM ctest-vn1-vm1-54277883 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1 2025-11-17 20:44:44,438 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/147c3feb-a61b-4fae-8716-571f91a38ed0 2025-11-17 20:44:44,731 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/147c3feb-a61b-4fae-8716-571f91a38ed0 2025-11-17 20:44:44,771 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ed6aa637-6aec-402c-8616-13406f91037a 2025-11-17 20:44:48,031 - 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 1022ms') 2025-11-17 20:44:48,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54277883 failed! 2025-11-17 20:44:48,088 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-95750315:ctest-vn1-98348759 is 6.57.163.65 and allocation pool is NOT set 2025-11-17 20:44:50,148 - 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=3.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/2.108/3.725/1.617 ms') 2025-11-17 20:44:50,148 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54277883 passed 2025-11-17 20:44:50,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:44:50,300 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54277883, IP 6.57.163.67, Port 22 2025-11-17 20:44:50,455 - DEBUG - VM ctest-vn1-vm1-54277883 is ready for SSH connections 2025-11-17 20:44:50,455 - INFO - Waiting for VM ctest-vn2-vm1-11047314 to be up.. 2025-11-17 20:44:50,524 - DEBUG - VM is in ACTIVE state now 2025-11-17 20:44:50,524 - INFO - VM name : ctest-vn2-vm1-11047314 2025-11-17 20:44:50,595 - DEBUG - VM ctest-vn2-vm1-11047314 ID is 15013a50-58fb-4c81-bc8a-aec1a82cd5cc 2025-11-17 20:44:50,595 - DEBUG - VM ctest-vn2-vm1-11047314 launched on Node cn-jenkins-deploy-platform-ansible-os-4747-1 2025-11-17 20:44:50,667 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/15013a50-58fb-4c81-bc8a-aec1a82cd5cc 2025-11-17 20:44:50,675 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b3bdf3a8-c4d2-4cbc-8bb7-8d465ab7e1ce 2025-11-17 20:44:51,921 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.93 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.927/3.359/4.792/1.432 ms') 2025-11-17 20:44:51,921 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-11047314 passed 2025-11-17 20:44:52,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:44:52,076 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11047314, IP 187.70.120.3, Port 22 2025-11-17 20:44:52,231 - DEBUG - VM ctest-vn2-vm1-11047314 is ready for SSH connections 2025-11-17 20:44:52,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:44:52,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.70.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:44:52,232 - DEBUG - ping -s 56 -c 3 -W 1 187.70.120.3 2025-11-17 20:44:57,227 - DEBUG - PING 187.70.120.3 (187.70.120.3): 56 data bytes --- 187.70.120.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 20:44:57,227 - WARNING - Ping to IP 187.70.120.3 from VM ctest-vn1-vm1-54277883 failed 2025-11-17 20:44:57,227 - INFO - Adding interface with subnet_id 0f975b43-28c5-4e4a-8bee-362616ac59d6, port_id None to router a6a651fb-85e3-4e99-91fa-3214d13a4895 2025-11-17 20:44:57,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:44:57,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.70.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:44:57,493 - DEBUG - ping -s 56 -c 3 -W 1 187.70.120.3 2025-11-17 20:44:59,698 - DEBUG - PING 187.70.120.3 (187.70.120.3): 56 data bytes 64 bytes from 187.70.120.3: seq=0 ttl=63 time=2.734 ms 64 bytes from 187.70.120.3: seq=1 ttl=63 time=0.877 ms 64 bytes from 187.70.120.3: seq=2 ttl=63 time=1.052 ms --- 187.70.120.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.554/2.734 ms 2025-11-17 20:44:59,699 - INFO - Ping to IP 187.70.120.3 from VM ctest-vn1-vm1-54277883 passed 2025-11-17 20:44:59,699 - INFO - Deleting interface with subnet_id f3ac9683-d41a-4ae2-bfe0-0cb8288eb724, port_id None from router a6a651fb-85e3-4e99-91fa-3214d13a4895 2025-11-17 20:44:59,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:44:59,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.70.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:44:59,861 - DEBUG - ping -s 56 -c 3 -W 1 187.70.120.3 2025-11-17 20:45:03,093 - DEBUG - PING 187.70.120.3 (187.70.120.3): 56 data bytes --- 187.70.120.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 20:45:03,093 - WARNING - Ping to IP 187.70.120.3 from VM ctest-vn1-vm1-54277883 failed 2025-11-17 20:45:03,093 - INFO - Adding interface with subnet_id f3ac9683-d41a-4ae2-bfe0-0cb8288eb724, port_id None to router a6a651fb-85e3-4e99-91fa-3214d13a4895 2025-11-17 20:45:03,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 20:45:03,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.70.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:45:03,315 - DEBUG - ping -s 56 -c 3 -W 1 187.70.120.3 2025-11-17 20:45:06,532 - DEBUG - PING 187.70.120.3 (187.70.120.3): 56 data bytes 64 bytes from 187.70.120.3: seq=1 ttl=63 time=1.524 ms 64 bytes from 187.70.120.3: seq=2 ttl=63 time=0.953 ms --- 187.70.120.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.953/1.238/1.524 ms 2025-11-17 20:45:06,532 - WARNING - Ping to IP 187.70.120.3 from VM ctest-vn1-vm1-54277883 failed 2025-11-17 20:45:07,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.70.120.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 20:45:07,533 - DEBUG - ping -s 56 -c 3 -W 1 187.70.120.3 2025-11-17 20:45:09,740 - DEBUG - PING 187.70.120.3 (187.70.120.3): 56 data bytes 64 bytes from 187.70.120.3: seq=0 ttl=63 time=1.588 ms 64 bytes from 187.70.120.3: seq=1 ttl=63 time=1.133 ms 64 bytes from 187.70.120.3: seq=2 ttl=63 time=0.859 ms --- 187.70.120.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/1.193/1.588 ms 2025-11-17 20:45:09,740 - INFO - Ping to IP 187.70.120.3 from VM ctest-vn1-vm1-54277883 passed 2025-11-17 20:45:09,740 - INFO - Deleting interface with subnet_id 0f975b43-28c5-4e4a-8bee-362616ac59d6, port_id None from router a6a651fb-85e3-4e99-91fa-3214d13a4895 2025-11-17 20:45:09,846 - INFO - Deleting interface with subnet_id f3ac9683-d41a-4ae2-bfe0-0cb8288eb724, port_id None from router a6a651fb-85e3-4e99-91fa-3214d13a4895 2025-11-17 20:45:10,034 - INFO - Deleting VM ctest-vn2-vm1-11047314 2025-11-17 20:45:10,109 - INFO - Deleting VM ctest-vn1-vm1-54277883 2025-11-17 20:45:10,188 - INFO - Deleting VN ctest-vn2-56056577 2025-11-17 20:45:10,228 - DEBUG - VN 2231c144-85fe-42c9-9b3a-c67af2815242 still in use: Unable to complete operation on network 2231c144-85fe-42c9-9b3a-c67af2815242. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d49e555f-5808-4d93-8335-f90f8410eeb9'] 2025-11-17 20:45:10,228 - WARNING - Deleting VN ctest-vn2-56056577 failed..Will retry 2025-11-17 20:45:12,338 - DEBUG - Response for deleting network () 2025-11-17 20:45:12,338 - INFO - Deleting VN ctest-vn1-98348759 2025-11-17 20:45:12,438 - DEBUG - Response for deleting network () 2025-11-17 20:45:12,697 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:45:12,697 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-17 20:45:12,697 - INFO - -------------------------------------------------------------------------------- 2025-11-17 20:45:13,394 - INFO - Deleted project: ctest-TestRouters-95750315, ID : 288735fe-d948-4ca9-aa30-3a42887096d4