2025-12-18 10:20:23,967 - INFO - Domain Default found not creating 2025-12-18 10:20:24,137 - INFO - Project ctest-TestRouters-87098241 not found, creating it 2025-12-18 10:20:24,602 - INFO - Created Project:ctest-TestRouters-87098241, ID : 5cacaf3c-b5d2-403b-bb88-abb7a9bd203d 2025-12-18 10:20:26,081 - INFO - ================================================================================ 2025-12-18 10:20:26,081 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-18 10:20:26,081 - 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-12-18 10:20:26,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-12-18 10:20:26,343 - INFO - Initial checks done. Running the testcase now 2025-12-18 10:20:26,343 - INFO - 2025-12-18 10:20:26,919 - DEBUG - Response for create_network : {'network': {'id': '5533e74f-4205-4e97-8012-7e5baae16381', 'name': 'ctest-vn1-05464414', 'tenant_id': '5cacaf3cb5d2403bbb88abb7a9bd203d', 'project_id': '5cacaf3cb5d2403bbb88abb7a9bd203d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87098241', 'ctest-vn1-05464414'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:20:27,133 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7f64e65-dfb2-4668-a9be-2cac85514a2d', 'name': '', 'tenant_id': '5cacaf3cb5d2403bbb88abb7a9bd203d', 'network_id': '5533e74f-4205-4e97-8012-7e5baae16381', 'ip_version': 4, 'cidr': '6.248.253.0/26', 'allocation_pools': [{'start': '6.248.253.2', 'end': '6.248.253.62'}], 'gateway_ip': '6.248.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.248.253.2', 'tags': [], 'project_id': '5cacaf3cb5d2403bbb88abb7a9bd203d'}} 2025-12-18 10:20:27,149 - INFO - Created VN ctest-vn1-05464414 2025-12-18 10:20:27,199 - DEBUG - VN ctest-vn1-05464414 UUID is 5533e74f-4205-4e97-8012-7e5baae16381 2025-12-18 10:20:27,547 - DEBUG - Response for create_network : {'network': {'id': '347f002c-1d54-425f-a072-70442183cfda', 'name': 'ctest-vn2-14846883', 'tenant_id': '5cacaf3cb5d2403bbb88abb7a9bd203d', 'project_id': '5cacaf3cb5d2403bbb88abb7a9bd203d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87098241', 'ctest-vn2-14846883'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 10:20:27,754 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c05af952-9a9e-4acd-83c0-0b56af136887', 'name': '', 'tenant_id': '5cacaf3cb5d2403bbb88abb7a9bd203d', 'network_id': '347f002c-1d54-425f-a072-70442183cfda', 'ip_version': 4, 'cidr': '87.220.54.0/26', 'allocation_pools': [{'start': '87.220.54.2', 'end': '87.220.54.62'}], 'gateway_ip': '87.220.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.220.54.2', 'tags': [], 'project_id': '5cacaf3cb5d2403bbb88abb7a9bd203d'}} 2025-12-18 10:20:27,771 - INFO - Created VN ctest-vn2-14846883 2025-12-18 10:20:27,823 - DEBUG - VN ctest-vn2-14846883 UUID is 347f002c-1d54-425f-a072-70442183cfda 2025-12-18 10:20:28,072 - DEBUG - Services list from nova: [, , ] 2025-12-18 10:20:29,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4905-1) 2025-12-18 10:20:30,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4905-1) 2025-12-18 10:20:30,340 - INFO - Adding interface with subnet_id a7f64e65-dfb2-4668-a9be-2cac85514a2d, port_id None to router 31b64bf7-ef30-413b-a3e2-e349cbfb967f 2025-12-18 10:20:30,559 - INFO - Waiting for VM ctest-vn1-vm1-30538064 to be up.. 2025-12-18 10:20:30,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 10:20:35,714 - DEBUG - VM is in ACTIVE state now 2025-12-18 10:20:35,715 - INFO - VM name : ctest-vn1-vm1-30538064 2025-12-18 10:20:35,785 - DEBUG - VM ctest-vn1-vm1-30538064 ID is 1b795616-dd4f-477f-8f0e-1bbf510f5f11 2025-12-18 10:20:35,803 - DEBUG - VM ctest-vn1-vm1-30538064 launched on Node cn-jenkins-deploy-platform-ansible-os-4905-1 2025-12-18 10:20:35,877 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1b795616-dd4f-477f-8f0e-1bbf510f5f11 2025-12-18 10:20:36,172 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1b795616-dd4f-477f-8f0e-1bbf510f5f11 2025-12-18 10:20:36,207 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2e6563ad-0614-49b2-8f3a-5d6255efe66d 2025-12-18 10:20:39,467 - 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 1015ms') 2025-12-18 10:20:39,467 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30538064 failed! 2025-12-18 10:20:39,523 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-87098241:ctest-vn1-05464414 is 6.248.253.1 and allocation pool is NOT set 2025-12-18 10:20:41,580 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.759 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 = 0.759/1.945/3.131/1.186 ms') 2025-12-18 10:20:41,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30538064 passed 2025-12-18 10:20:41,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:20:41,728 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30538064, IP 6.248.253.3, Port 22 2025-12-18 10:20:41,891 - DEBUG - VM ctest-vn1-vm1-30538064 is ready for SSH connections 2025-12-18 10:20:41,891 - INFO - Waiting for VM ctest-vn2-vm1-72412166 to be up.. 2025-12-18 10:20:41,969 - DEBUG - VM is in ACTIVE state now 2025-12-18 10:20:41,969 - INFO - VM name : ctest-vn2-vm1-72412166 2025-12-18 10:20:42,041 - DEBUG - VM ctest-vn2-vm1-72412166 ID is bcbf04bb-fe76-47f5-9a79-ca668d859d2e 2025-12-18 10:20:42,041 - DEBUG - VM ctest-vn2-vm1-72412166 launched on Node cn-jenkins-deploy-platform-ansible-os-4905-1 2025-12-18 10:20:42,109 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bcbf04bb-fe76-47f5-9a79-ca668d859d2e 2025-12-18 10:20:42,117 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2b4fe8ae-8d4c-4a0b-b5ad-141b4de347ac 2025-12-18 10:20:43,356 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.678/2.917/1.239 ms') 2025-12-18 10:20:43,356 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-72412166 passed 2025-12-18 10:20:43,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:20:43,507 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-72412166, IP 87.220.54.3, Port 22 2025-12-18 10:20:43,667 - DEBUG - VM ctest-vn2-vm1-72412166 is ready for SSH connections 2025-12-18 10:20:43,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:20:43,667 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.220.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:20:43,667 - DEBUG - ping -s 56 -c 3 -W 1 87.220.54.3 2025-12-18 10:20:48,630 - DEBUG - PING 87.220.54.3 (87.220.54.3): 56 data bytes --- 87.220.54.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 10:20:48,630 - WARNING - Ping to IP 87.220.54.3 from VM ctest-vn1-vm1-30538064 failed 2025-12-18 10:20:48,630 - INFO - Adding interface with subnet_id c05af952-9a9e-4acd-83c0-0b56af136887, port_id None to router 31b64bf7-ef30-413b-a3e2-e349cbfb967f 2025-12-18 10:20:48,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:20:48,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.220.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:20:48,871 - DEBUG - ping -s 56 -c 3 -W 1 87.220.54.3 2025-12-18 10:20:52,081 - DEBUG - PING 87.220.54.3 (87.220.54.3): 56 data bytes 64 bytes from 87.220.54.3: seq=1 ttl=63 time=2.969 ms 64 bytes from 87.220.54.3: seq=2 ttl=63 time=1.018 ms --- 87.220.54.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.018/1.993/2.969 ms 2025-12-18 10:20:52,081 - WARNING - Ping to IP 87.220.54.3 from VM ctest-vn1-vm1-30538064 failed 2025-12-18 10:20:53,082 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.220.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:20:53,082 - DEBUG - ping -s 56 -c 3 -W 1 87.220.54.3 2025-12-18 10:20:55,307 - DEBUG - PING 87.220.54.3 (87.220.54.3): 56 data bytes 64 bytes from 87.220.54.3: seq=0 ttl=63 time=1.564 ms 64 bytes from 87.220.54.3: seq=1 ttl=63 time=0.741 ms 64 bytes from 87.220.54.3: seq=2 ttl=63 time=0.893 ms --- 87.220.54.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.741/1.066/1.564 ms 2025-12-18 10:20:55,308 - INFO - Ping to IP 87.220.54.3 from VM ctest-vn1-vm1-30538064 passed 2025-12-18 10:20:55,308 - INFO - Deleting interface with subnet_id a7f64e65-dfb2-4668-a9be-2cac85514a2d, port_id None from router 31b64bf7-ef30-413b-a3e2-e349cbfb967f 2025-12-18 10:20:55,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:20:55,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.220.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:20:55,431 - DEBUG - ping -s 56 -c 3 -W 1 87.220.54.3 2025-12-18 10:20:58,641 - DEBUG - PING 87.220.54.3 (87.220.54.3): 56 data bytes --- 87.220.54.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 10:20:58,641 - WARNING - Ping to IP 87.220.54.3 from VM ctest-vn1-vm1-30538064 failed 2025-12-18 10:20:58,641 - INFO - Adding interface with subnet_id a7f64e65-dfb2-4668-a9be-2cac85514a2d, port_id None to router 31b64bf7-ef30-413b-a3e2-e349cbfb967f 2025-12-18 10:20:58,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 10:20:58,858 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.220.54.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-18 10:20:58,858 - DEBUG - ping -s 56 -c 3 -W 1 87.220.54.3 2025-12-18 10:21:01,115 - DEBUG - PING 87.220.54.3 (87.220.54.3): 56 data bytes 64 bytes from 87.220.54.3: seq=0 ttl=63 time=1.372 ms 64 bytes from 87.220.54.3: seq=1 ttl=63 time=0.813 ms 64 bytes from 87.220.54.3: seq=2 ttl=63 time=0.834 ms --- 87.220.54.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.006/1.372 ms 2025-12-18 10:21:01,115 - INFO - Ping to IP 87.220.54.3 from VM ctest-vn1-vm1-30538064 passed 2025-12-18 10:21:01,115 - INFO - Deleting interface with subnet_id c05af952-9a9e-4acd-83c0-0b56af136887, port_id None from router 31b64bf7-ef30-413b-a3e2-e349cbfb967f 2025-12-18 10:21:01,220 - INFO - Deleting interface with subnet_id a7f64e65-dfb2-4668-a9be-2cac85514a2d, port_id None from router 31b64bf7-ef30-413b-a3e2-e349cbfb967f 2025-12-18 10:21:01,385 - INFO - Deleting VM ctest-vn2-vm1-72412166 2025-12-18 10:21:01,446 - INFO - Deleting VM ctest-vn1-vm1-30538064 2025-12-18 10:21:01,522 - INFO - Deleting VN ctest-vn2-14846883 2025-12-18 10:21:01,558 - DEBUG - VN 347f002c-1d54-425f-a072-70442183cfda still in use: Unable to complete operation on network 347f002c-1d54-425f-a072-70442183cfda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4342c59-f2ef-47b4-b82c-daa16ea3766b'] 2025-12-18 10:21:01,558 - WARNING - Deleting VN ctest-vn2-14846883 failed..Will retry 2025-12-18 10:21:03,651 - DEBUG - Response for deleting network () 2025-12-18 10:21:03,651 - INFO - Deleting VN ctest-vn1-05464414 2025-12-18 10:21:03,736 - DEBUG - Response for deleting network () 2025-12-18 10:21:03,992 - DEBUG - No XMPP flaps were noticed during the test
2025-12-18 10:21:03,992 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-12-18 10:21:03,992 - INFO - -------------------------------------------------------------------------------- 2025-12-18 10:21:04,676 - INFO - Deleted project: ctest-TestRouters-87098241, ID : 5cacaf3c-b5d2-403b-bb88-abb7a9bd203d