2025-10-31 14:39:27,116 - INFO - Domain Default found not creating 2025-10-31 14:39:27,242 - INFO - Project ctest-TestRouters-94580508 not found, creating it 2025-10-31 14:39:27,686 - INFO - Created Project:ctest-TestRouters-94580508, ID : e0e96f76-e820-4bed-bac6-fd1dd188133a 2025-10-31 14:39:29,139 - INFO - ================================================================================ 2025-10-31 14:39:29,139 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 14:39:29,139 - 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-31 14:39:29,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-10-31 14:39:29,403 - INFO - Initial checks done. Running the testcase now 2025-10-31 14:39:29,403 - INFO - 2025-10-31 14:39:29,912 - DEBUG - Response for create_network : {'network': {'id': '83137162-7c85-4d51-8ffb-ed85d0070841', 'name': 'ctest-vn1-61193465', 'tenant_id': 'e0e96f76e8204bedbac6fd1dd188133a', 'project_id': 'e0e96f76e8204bedbac6fd1dd188133a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-94580508', 'ctest-vn1-61193465'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:39:30,126 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaaa18cf-588d-4993-b134-c486c397ad68', 'name': '', 'tenant_id': 'e0e96f76e8204bedbac6fd1dd188133a', 'network_id': '83137162-7c85-4d51-8ffb-ed85d0070841', 'ip_version': 4, 'cidr': '101.212.247.64/26', 'allocation_pools': [{'start': '101.212.247.66', 'end': '101.212.247.126'}], 'gateway_ip': '101.212.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.212.247.66', 'tags': [], 'project_id': 'e0e96f76e8204bedbac6fd1dd188133a'}} 2025-10-31 14:39:30,142 - INFO - Created VN ctest-vn1-61193465 2025-10-31 14:39:30,194 - DEBUG - VN ctest-vn1-61193465 UUID is 83137162-7c85-4d51-8ffb-ed85d0070841 2025-10-31 14:39:30,496 - DEBUG - Response for create_network : {'network': {'id': '0f40a71c-143e-4351-aac7-0b8614562ffd', 'name': 'ctest-vn2-35186090', 'tenant_id': 'e0e96f76e8204bedbac6fd1dd188133a', 'project_id': 'e0e96f76e8204bedbac6fd1dd188133a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-94580508', 'ctest-vn2-35186090'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 14:39:30,737 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e77d5b5d-d1ba-4cf0-95df-30aabd15ff8f', 'name': '', 'tenant_id': 'e0e96f76e8204bedbac6fd1dd188133a', 'network_id': '0f40a71c-143e-4351-aac7-0b8614562ffd', 'ip_version': 4, 'cidr': '128.86.151.64/26', 'allocation_pools': [{'start': '128.86.151.66', 'end': '128.86.151.126'}], 'gateway_ip': '128.86.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.86.151.66', 'tags': [], 'project_id': 'e0e96f76e8204bedbac6fd1dd188133a'}} 2025-10-31 14:39:30,755 - INFO - Created VN ctest-vn2-35186090 2025-10-31 14:39:30,806 - DEBUG - VN ctest-vn2-35186090 UUID is 0f40a71c-143e-4351-aac7-0b8614562ffd 2025-10-31 14:39:31,050 - DEBUG - Services list from nova: [, , ] 2025-10-31 14:39:32,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1) 2025-10-31 14:39:33,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4576-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4576-1) 2025-10-31 14:39:33,245 - INFO - Adding interface with subnet_id aaaa18cf-588d-4993-b134-c486c397ad68, port_id None to router aa74d735-f3b0-417d-bc40-1240376aba2a 2025-10-31 14:39:33,480 - INFO - Waiting for VM ctest-vn1-vm1-68348797 to be up.. 2025-10-31 14:39:33,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 14:39:38,641 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:39:38,641 - INFO - VM name : ctest-vn1-vm1-68348797 2025-10-31 14:39:38,715 - DEBUG - VM ctest-vn1-vm1-68348797 ID is 608b828e-9349-4fb2-8a75-f5d1d7e38841 2025-10-31 14:39:38,733 - DEBUG - VM ctest-vn1-vm1-68348797 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1 2025-10-31 14:39:38,798 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/608b828e-9349-4fb2-8a75-f5d1d7e38841 2025-10-31 14:39:39,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/608b828e-9349-4fb2-8a75-f5d1d7e38841 2025-10-31 14:39:39,137 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e63292d0-0388-4f68-b9d6-bc2ca72ebbd3 2025-10-31 14:39:42,381 - 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 1011ms') 2025-10-31 14:39:42,381 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68348797 failed! 2025-10-31 14:39:42,434 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-94580508:ctest-vn1-61193465 is 101.212.247.65 and allocation pool is NOT set 2025-10-31 14:39:44,497 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 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.436/1.924/3.413/1.488 ms') 2025-10-31 14:39:44,497 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68348797 passed 2025-10-31 14:39:44,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:39:44,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68348797, IP 101.212.247.67, Port 22 2025-10-31 14:39:44,802 - DEBUG - VM ctest-vn1-vm1-68348797 is ready for SSH connections 2025-10-31 14:39:44,802 - INFO - Waiting for VM ctest-vn2-vm1-55556771 to be up.. 2025-10-31 14:39:44,866 - DEBUG - VM is in ACTIVE state now 2025-10-31 14:39:44,866 - INFO - VM name : ctest-vn2-vm1-55556771 2025-10-31 14:39:44,932 - DEBUG - VM ctest-vn2-vm1-55556771 ID is 641116ab-2247-43db-9215-dcec41aff896 2025-10-31 14:39:44,932 - DEBUG - VM ctest-vn2-vm1-55556771 launched on Node cn-jenkins-deploy-platform-ansible-os-4576-1 2025-10-31 14:39:44,993 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/641116ab-2247-43db-9215-dcec41aff896 2025-10-31 14:39:45,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bc1e832a-f3b7-47e4-bb70-f6388d74f8f9 2025-10-31 14:39:46,232 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.332 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.332/1.467/2.602/1.135 ms') 2025-10-31 14:39:46,232 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-55556771 passed 2025-10-31 14:39:46,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:39:46,378 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55556771, IP 128.86.151.67, Port 22 2025-10-31 14:39:46,538 - DEBUG - VM ctest-vn2-vm1-55556771 is ready for SSH connections 2025-10-31 14:39:46,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:39:46,538 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.86.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:39:46,538 - DEBUG - ping -s 56 -c 3 -W 1 128.86.151.67 2025-10-31 14:39:51,189 - DEBUG - PING 128.86.151.67 (128.86.151.67): 56 data bytes --- 128.86.151.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 14:39:51,189 - WARNING - Ping to IP 128.86.151.67 from VM ctest-vn1-vm1-68348797 failed 2025-10-31 14:39:51,189 - INFO - Adding interface with subnet_id e77d5b5d-d1ba-4cf0-95df-30aabd15ff8f, port_id None to router aa74d735-f3b0-417d-bc40-1240376aba2a 2025-10-31 14:39:51,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:39:51,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.86.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:39:51,451 - DEBUG - ping -s 56 -c 3 -W 1 128.86.151.67 2025-10-31 14:39:54,657 - DEBUG - PING 128.86.151.67 (128.86.151.67): 56 data bytes 64 bytes from 128.86.151.67: seq=1 ttl=63 time=2.496 ms 64 bytes from 128.86.151.67: seq=2 ttl=63 time=0.714 ms --- 128.86.151.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.714/1.605/2.496 ms 2025-10-31 14:39:54,657 - WARNING - Ping to IP 128.86.151.67 from VM ctest-vn1-vm1-68348797 failed 2025-10-31 14:39:55,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.86.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:39:55,658 - DEBUG - ping -s 56 -c 3 -W 1 128.86.151.67 2025-10-31 14:39:57,853 - DEBUG - PING 128.86.151.67 (128.86.151.67): 56 data bytes 64 bytes from 128.86.151.67: seq=0 ttl=63 time=1.474 ms 64 bytes from 128.86.151.67: seq=1 ttl=63 time=0.789 ms 64 bytes from 128.86.151.67: seq=2 ttl=63 time=0.788 ms --- 128.86.151.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/1.017/1.474 ms 2025-10-31 14:39:57,853 - INFO - Ping to IP 128.86.151.67 from VM ctest-vn1-vm1-68348797 passed 2025-10-31 14:39:57,853 - INFO - Deleting interface with subnet_id aaaa18cf-588d-4993-b134-c486c397ad68, port_id None from router aa74d735-f3b0-417d-bc40-1240376aba2a 2025-10-31 14:39:57,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:39:57,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.86.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:39:57,951 - DEBUG - ping -s 56 -c 3 -W 1 128.86.151.67 2025-10-31 14:40:01,157 - DEBUG - PING 128.86.151.67 (128.86.151.67): 56 data bytes --- 128.86.151.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 14:40:01,157 - WARNING - Ping to IP 128.86.151.67 from VM ctest-vn1-vm1-68348797 failed 2025-10-31 14:40:01,157 - INFO - Adding interface with subnet_id aaaa18cf-588d-4993-b134-c486c397ad68, port_id None to router aa74d735-f3b0-417d-bc40-1240376aba2a 2025-10-31 14:40:01,364 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 14:40:01,364 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.86.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 14:40:01,364 - DEBUG - ping -s 56 -c 3 -W 1 128.86.151.67 2025-10-31 14:40:03,567 - DEBUG - PING 128.86.151.67 (128.86.151.67): 56 data bytes 64 bytes from 128.86.151.67: seq=0 ttl=63 time=1.688 ms 64 bytes from 128.86.151.67: seq=1 ttl=63 time=0.756 ms 64 bytes from 128.86.151.67: seq=2 ttl=63 time=0.856 ms --- 128.86.151.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.100/1.688 ms 2025-10-31 14:40:03,568 - INFO - Ping to IP 128.86.151.67 from VM ctest-vn1-vm1-68348797 passed 2025-10-31 14:40:03,568 - INFO - Deleting interface with subnet_id e77d5b5d-d1ba-4cf0-95df-30aabd15ff8f, port_id None from router aa74d735-f3b0-417d-bc40-1240376aba2a 2025-10-31 14:40:03,668 - INFO - Deleting interface with subnet_id aaaa18cf-588d-4993-b134-c486c397ad68, port_id None from router aa74d735-f3b0-417d-bc40-1240376aba2a 2025-10-31 14:40:03,827 - INFO - Deleting VM ctest-vn2-vm1-55556771 2025-10-31 14:40:03,911 - INFO - Deleting VM ctest-vn1-vm1-68348797 2025-10-31 14:40:03,990 - INFO - Deleting VN ctest-vn2-35186090 2025-10-31 14:40:04,022 - DEBUG - VN 0f40a71c-143e-4351-aac7-0b8614562ffd still in use: Unable to complete operation on network 0f40a71c-143e-4351-aac7-0b8614562ffd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1687f1a0-1ae8-434e-9d41-a839e6ca4600'] 2025-10-31 14:40:04,022 - WARNING - Deleting VN ctest-vn2-35186090 failed..Will retry 2025-10-31 14:40:06,119 - DEBUG - Response for deleting network () 2025-10-31 14:40:06,119 - INFO - Deleting VN ctest-vn1-61193465 2025-10-31 14:40:06,210 - DEBUG - Response for deleting network () 2025-10-31 14:40:06,462 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 14:40:06,463 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-10-31 14:40:06,463 - INFO - -------------------------------------------------------------------------------- 2025-10-31 14:40:07,107 - INFO - Deleted project: ctest-TestRouters-94580508, ID : e0e96f76-e820-4bed-bac6-fd1dd188133a