2025-09-23 12:48:13,755 - INFO - Domain Default found not creating 2025-09-23 12:48:13,892 - INFO - Project ctest-TestRouters-14794164 not found, creating it 2025-09-23 12:48:14,341 - INFO - Created Project:ctest-TestRouters-14794164, ID : c8bd846a-2d2a-4c30-aa5c-c66f961650d6 2025-09-23 12:48:15,837 - INFO - ================================================================================ 2025-09-23 12:48:15,837 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-23 12:48:15,837 - 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-23 12:48:16,092 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-23 12:48:16,092 - INFO - Initial checks done. Running the testcase now 2025-09-23 12:48:16,092 - INFO - 2025-09-23 12:48:16,648 - DEBUG - Response for create_network : {'network': {'id': '345456f6-c98a-4b22-949a-c96286580c43', 'name': 'ctest-vn1-62330079', 'tenant_id': 'c8bd846a2d2a4c30aa5cc66f961650d6', 'project_id': 'c8bd846a2d2a4c30aa5cc66f961650d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14794164', 'ctest-vn1-62330079'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:48:16,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d099a13-9780-40d1-850f-db13bed59a27', 'name': '', 'tenant_id': 'c8bd846a2d2a4c30aa5cc66f961650d6', 'network_id': '345456f6-c98a-4b22-949a-c96286580c43', 'ip_version': 4, 'cidr': '115.168.38.64/26', 'allocation_pools': [{'start': '115.168.38.66', 'end': '115.168.38.126'}], 'gateway_ip': '115.168.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.168.38.66', 'tags': [], 'project_id': 'c8bd846a2d2a4c30aa5cc66f961650d6'}} 2025-09-23 12:48:16,896 - INFO - Created VN ctest-vn1-62330079 2025-09-23 12:48:16,954 - DEBUG - VN ctest-vn1-62330079 UUID is 345456f6-c98a-4b22-949a-c96286580c43 2025-09-23 12:48:17,309 - DEBUG - Response for create_network : {'network': {'id': '44ad9397-d42b-4135-b52b-37d43ebbbb83', 'name': 'ctest-vn2-43137560', 'tenant_id': 'c8bd846a2d2a4c30aa5cc66f961650d6', 'project_id': 'c8bd846a2d2a4c30aa5cc66f961650d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14794164', 'ctest-vn2-43137560'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 12:48:17,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '6127cad7-b45b-4a99-8d0a-8a7cfa46dfa5', 'name': '', 'tenant_id': 'c8bd846a2d2a4c30aa5cc66f961650d6', 'network_id': '44ad9397-d42b-4135-b52b-37d43ebbbb83', 'ip_version': 4, 'cidr': '55.68.41.64/26', 'allocation_pools': [{'start': '55.68.41.66', 'end': '55.68.41.126'}], 'gateway_ip': '55.68.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.68.41.66', 'tags': [], 'project_id': 'c8bd846a2d2a4c30aa5cc66f961650d6'}} 2025-09-23 12:48:17,480 - INFO - Created VN ctest-vn2-43137560 2025-09-23 12:48:17,533 - DEBUG - VN ctest-vn2-43137560 UUID is 44ad9397-d42b-4135-b52b-37d43ebbbb83 2025-09-23 12:48:17,725 - DEBUG - Services list from nova: [, , ] 2025-09-23 12:48:18,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4176-1) 2025-09-23 12:48:19,912 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4176-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4176-1) 2025-09-23 12:48:19,982 - INFO - Adding interface with subnet_id 4d099a13-9780-40d1-850f-db13bed59a27, port_id None to router 53ad8b35-c80e-4347-a064-8538b972f367 2025-09-23 12:48:20,223 - INFO - Waiting for VM ctest-vn1-vm1-26411555 to be up.. 2025-09-23 12:48:20,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 12:48:25,387 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:48:25,387 - INFO - VM name : ctest-vn1-vm1-26411555 2025-09-23 12:48:25,452 - DEBUG - VM ctest-vn1-vm1-26411555 ID is 42785250-065e-4b50-bc56-03d86e556c34 2025-09-23 12:48:25,468 - DEBUG - VM ctest-vn1-vm1-26411555 launched on Node cn-jenkins-deploy-platform-ansible-os-4176-1 2025-09-23 12:48:25,534 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/42785250-065e-4b50-bc56-03d86e556c34 2025-09-23 12:48:25,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/42785250-065e-4b50-bc56-03d86e556c34 2025-09-23 12:48:25,855 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eda77571-43dd-41ed-a7aa-4df34df24c5b 2025-09-23 12:48:29,118 - 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 1032ms') 2025-09-23 12:48:29,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26411555 failed! 2025-09-23 12:48:29,178 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-14794164:ctest-vn1-62330079 is 115.168.38.65 and allocation pool is NOT set 2025-09-23 12:48:31,246 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.825/3.196/1.371 ms') 2025-09-23 12:48:31,246 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26411555 passed 2025-09-23 12:48:31,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:48:31,398 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26411555, IP 115.168.38.67, Port 22 2025-09-23 12:48:31,549 - DEBUG - VM ctest-vn1-vm1-26411555 is ready for SSH connections 2025-09-23 12:48:31,549 - INFO - Waiting for VM ctest-vn2-vm1-79417857 to be up.. 2025-09-23 12:48:31,620 - DEBUG - VM is in ACTIVE state now 2025-09-23 12:48:31,620 - INFO - VM name : ctest-vn2-vm1-79417857 2025-09-23 12:48:31,684 - DEBUG - VM ctest-vn2-vm1-79417857 ID is 6fd6e84d-6933-4feb-8675-993884248558 2025-09-23 12:48:31,685 - DEBUG - VM ctest-vn2-vm1-79417857 launched on Node cn-jenkins-deploy-platform-ansible-os-4176-1 2025-09-23 12:48:31,752 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6fd6e84d-6933-4feb-8675-993884248558 2025-09-23 12:48:31,759 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6dc28956-0b0c-48a0-a50b-2482805b4d71 2025-09-23 12:48:32,987 - 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=3.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/2.005/3.643/1.637 ms') 2025-09-23 12:48:32,987 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-79417857 passed 2025-09-23 12:48:33,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:48:33,134 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-79417857, IP 55.68.41.67, Port 22 2025-09-23 12:48:33,293 - DEBUG - VM ctest-vn2-vm1-79417857 is ready for SSH connections 2025-09-23 12:48:33,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:48:33,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.68.41.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-23 12:48:33,293 - DEBUG - ping -s 56 -c 3 -W 1 55.68.41.67 2025-09-23 12:48:38,218 - DEBUG - PING 55.68.41.67 (55.68.41.67): 56 data bytes --- 55.68.41.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:48:38,218 - WARNING - Ping to IP 55.68.41.67 from VM ctest-vn1-vm1-26411555 failed 2025-09-23 12:48:38,218 - INFO - Adding interface with subnet_id 6127cad7-b45b-4a99-8d0a-8a7cfa46dfa5, port_id None to router 53ad8b35-c80e-4347-a064-8538b972f367 2025-09-23 12:48:38,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:48:38,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.68.41.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-23 12:48:38,434 - DEBUG - ping -s 56 -c 3 -W 1 55.68.41.67 2025-09-23 12:48:40,633 - DEBUG - PING 55.68.41.67 (55.68.41.67): 56 data bytes 64 bytes from 55.68.41.67: seq=0 ttl=63 time=2.342 ms 64 bytes from 55.68.41.67: seq=1 ttl=63 time=0.817 ms 64 bytes from 55.68.41.67: seq=2 ttl=63 time=0.719 ms --- 55.68.41.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.292/2.342 ms 2025-09-23 12:48:40,634 - INFO - Ping to IP 55.68.41.67 from VM ctest-vn1-vm1-26411555 passed 2025-09-23 12:48:40,634 - INFO - Deleting interface with subnet_id 4d099a13-9780-40d1-850f-db13bed59a27, port_id None from router 53ad8b35-c80e-4347-a064-8538b972f367 2025-09-23 12:48:40,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:48:40,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.68.41.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-23 12:48:40,740 - DEBUG - ping -s 56 -c 3 -W 1 55.68.41.67 2025-09-23 12:48:43,941 - DEBUG - PING 55.68.41.67 (55.68.41.67): 56 data bytes --- 55.68.41.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 12:48:43,941 - WARNING - Ping to IP 55.68.41.67 from VM ctest-vn1-vm1-26411555 failed 2025-09-23 12:48:43,941 - INFO - Adding interface with subnet_id 4d099a13-9780-40d1-850f-db13bed59a27, port_id None to router 53ad8b35-c80e-4347-a064-8538b972f367 2025-09-23 12:48:44,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 12:48:44,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.68.41.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-23 12:48:44,134 - DEBUG - ping -s 56 -c 3 -W 1 55.68.41.67 2025-09-23 12:48:46,331 - DEBUG - PING 55.68.41.67 (55.68.41.67): 56 data bytes 64 bytes from 55.68.41.67: seq=0 ttl=63 time=1.423 ms 64 bytes from 55.68.41.67: seq=1 ttl=63 time=0.910 ms 64 bytes from 55.68.41.67: seq=2 ttl=63 time=0.696 ms --- 55.68.41.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.696/1.009/1.423 ms 2025-09-23 12:48:46,331 - INFO - Ping to IP 55.68.41.67 from VM ctest-vn1-vm1-26411555 passed 2025-09-23 12:48:46,331 - INFO - Deleting interface with subnet_id 6127cad7-b45b-4a99-8d0a-8a7cfa46dfa5, port_id None from router 53ad8b35-c80e-4347-a064-8538b972f367 2025-09-23 12:48:46,432 - INFO - Deleting interface with subnet_id 4d099a13-9780-40d1-850f-db13bed59a27, port_id None from router 53ad8b35-c80e-4347-a064-8538b972f367 2025-09-23 12:48:46,582 - INFO - Deleting VM ctest-vn2-vm1-79417857 2025-09-23 12:48:46,642 - INFO - Deleting VM ctest-vn1-vm1-26411555 2025-09-23 12:48:46,706 - INFO - Deleting VN ctest-vn2-43137560 2025-09-23 12:48:46,735 - DEBUG - VN 44ad9397-d42b-4135-b52b-37d43ebbbb83 still in use: Unable to complete operation on network 44ad9397-d42b-4135-b52b-37d43ebbbb83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-414bef76-617d-4858-b94c-46dcf3e797ed'] 2025-09-23 12:48:46,735 - WARNING - Deleting VN ctest-vn2-43137560 failed..Will retry 2025-09-23 12:48:48,824 - DEBUG - Response for deleting network () 2025-09-23 12:48:48,825 - INFO - Deleting VN ctest-vn1-62330079 2025-09-23 12:48:48,917 - DEBUG - Response for deleting network () 2025-09-23 12:48:49,170 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 12:48:49,170 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34] 2025-09-23 12:48:49,170 - INFO - -------------------------------------------------------------------------------- 2025-09-23 12:48:49,814 - INFO - Deleted project: ctest-TestRouters-14794164, ID : c8bd846a-2d2a-4c30-aa5c-c66f961650d6