2025-08-11 21:32:57,613 - INFO - Domain Default found not creating 2025-08-11 21:32:57,735 - INFO - Project ctest-TestRouters-37238314 not found, creating it 2025-08-11 21:32:58,241 - INFO - Created Project:ctest-TestRouters-37238314, ID : f6cb4aef-5b8f-446c-9303-691d41c50a1c 2025-08-11 21:32:59,599 - INFO - ================================================================================ 2025-08-11 21:32:59,599 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 21:32:59,601 - 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-08-11 21:32:59,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-11 21:32:59,865 - INFO - Initial checks done. Running the testcase now 2025-08-11 21:32:59,865 - INFO - 2025-08-11 21:33:00,505 - DEBUG - Response for create_network : {'network': {'id': 'bed5e343-8a74-482e-b213-cc6b88d7b8bc', 'name': 'ctest-vn1-29900776', 'tenant_id': 'f6cb4aef5b8f446c9303691d41c50a1c', 'project_id': 'f6cb4aef5b8f446c9303691d41c50a1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37238314', 'ctest-vn1-29900776'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:33:00,666 - DEBUG - Response for create_subnet : {'subnet': {'id': '27859c02-9c2b-4e0d-b411-8fe197dd2650', 'name': '', 'tenant_id': 'f6cb4aef5b8f446c9303691d41c50a1c', 'network_id': 'bed5e343-8a74-482e-b213-cc6b88d7b8bc', 'ip_version': 4, 'cidr': '132.123.169.128/26', 'allocation_pools': [{'start': '132.123.169.130', 'end': '132.123.169.190'}], 'gateway_ip': '132.123.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.123.169.130', 'tags': [], 'project_id': 'f6cb4aef5b8f446c9303691d41c50a1c'}} 2025-08-11 21:33:00,683 - INFO - Created VN ctest-vn1-29900776 2025-08-11 21:33:00,738 - DEBUG - VN ctest-vn1-29900776 UUID is bed5e343-8a74-482e-b213-cc6b88d7b8bc 2025-08-11 21:33:01,054 - DEBUG - Response for create_network : {'network': {'id': 'efe8206e-c919-44b4-b8de-ba41239aabc6', 'name': 'ctest-vn2-95152282', 'tenant_id': 'f6cb4aef5b8f446c9303691d41c50a1c', 'project_id': 'f6cb4aef5b8f446c9303691d41c50a1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37238314', 'ctest-vn2-95152282'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 21:33:01,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e46a617e-3e17-42b5-8f99-a0e7242f5a33', 'name': '', 'tenant_id': 'f6cb4aef5b8f446c9303691d41c50a1c', 'network_id': 'efe8206e-c919-44b4-b8de-ba41239aabc6', 'ip_version': 4, 'cidr': '125.42.203.64/26', 'allocation_pools': [{'start': '125.42.203.66', 'end': '125.42.203.126'}], 'gateway_ip': '125.42.203.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.42.203.66', 'tags': [], 'project_id': 'f6cb4aef5b8f446c9303691d41c50a1c'}} 2025-08-11 21:33:01,317 - INFO - Created VN ctest-vn2-95152282 2025-08-11 21:33:01,370 - DEBUG - VN ctest-vn2-95152282 UUID is efe8206e-c919-44b4-b8de-ba41239aabc6 2025-08-11 21:33:01,573 - DEBUG - Services list from nova: [, , ] 2025-08-11 21:33:02,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3824-1) 2025-08-11 21:33:03,803 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3824-1) 2025-08-11 21:33:03,870 - INFO - Adding interface with subnet_id 27859c02-9c2b-4e0d-b411-8fe197dd2650, port_id None to router f6e9dd10-6ea0-48e8-b1ab-d9e6fc40f486 2025-08-11 21:33:04,157 - INFO - Waiting for VM ctest-vn1-vm1-79941161 to be up.. 2025-08-11 21:33:04,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 21:33:09,322 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:33:09,322 - INFO - VM name : ctest-vn1-vm1-79941161 2025-08-11 21:33:09,390 - DEBUG - VM ctest-vn1-vm1-79941161 ID is 35c45797-840d-411e-9741-5ff74877a7a8 2025-08-11 21:33:09,408 - DEBUG - VM ctest-vn1-vm1-79941161 launched on Node cn-jenkins-deploy-platform-ansible-os-3824-1 2025-08-11 21:33:09,478 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/35c45797-840d-411e-9741-5ff74877a7a8 2025-08-11 21:33:09,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/35c45797-840d-411e-9741-5ff74877a7a8 2025-08-11 21:33:09,795 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2b07b6a9-f127-403a-b05b-a2c42dcd7f97 2025-08-11 21:33:13,035 - 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 1000ms') 2025-08-11 21:33:13,035 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79941161 failed! 2025-08-11 21:33:13,090 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-37238314:ctest-vn1-29900776 is 132.123.169.129 and allocation pool is NOT set 2025-08-11 21:33:15,150 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.377 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.377/1.749/3.121/1.372 ms') 2025-08-11 21:33:15,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79941161 passed 2025-08-11 21:33:15,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:33:15,306 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79941161, IP 132.123.169.131, Port 22 2025-08-11 21:33:15,461 - DEBUG - VM ctest-vn1-vm1-79941161 is ready for SSH connections 2025-08-11 21:33:15,462 - INFO - Waiting for VM ctest-vn2-vm1-37428079 to be up.. 2025-08-11 21:33:15,535 - DEBUG - VM is in ACTIVE state now 2025-08-11 21:33:15,535 - INFO - VM name : ctest-vn2-vm1-37428079 2025-08-11 21:33:15,599 - DEBUG - VM ctest-vn2-vm1-37428079 ID is d1921ad5-1dfb-4a27-b891-8d860fa70b08 2025-08-11 21:33:15,599 - DEBUG - VM ctest-vn2-vm1-37428079 launched on Node cn-jenkins-deploy-platform-ansible-os-3824-1 2025-08-11 21:33:15,661 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d1921ad5-1dfb-4a27-b891-8d860fa70b08 2025-08-11 21:33:15,670 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b495f0df-c8ae-4e5e-8f37-b256937f2795 2025-08-11 21:33:16,903 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.504/2.616/1.111 ms') 2025-08-11 21:33:16,903 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-37428079 passed 2025-08-11 21:33:17,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:33:17,010 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37428079, IP 125.42.203.67, Port 22 2025-08-11 21:33:17,162 - DEBUG - VM ctest-vn2-vm1-37428079 is ready for SSH connections 2025-08-11 21:33:17,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:33:17,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.42.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 21:33:17,162 - DEBUG - ping -s 56 -c 3 -W 1 125.42.203.67 2025-08-11 21:33:21,769 - DEBUG - PING 125.42.203.67 (125.42.203.67): 56 data bytes --- 125.42.203.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 21:33:21,769 - WARNING - Ping to IP 125.42.203.67 from VM ctest-vn1-vm1-79941161 failed 2025-08-11 21:33:21,770 - INFO - Adding interface with subnet_id e46a617e-3e17-42b5-8f99-a0e7242f5a33, port_id None to router f6e9dd10-6ea0-48e8-b1ab-d9e6fc40f486 2025-08-11 21:33:22,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:33:22,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.42.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 21:33:22,025 - DEBUG - ping -s 56 -c 3 -W 1 125.42.203.67 2025-08-11 21:33:24,222 - DEBUG - PING 125.42.203.67 (125.42.203.67): 56 data bytes 64 bytes from 125.42.203.67: seq=0 ttl=63 time=2.219 ms 64 bytes from 125.42.203.67: seq=1 ttl=63 time=0.719 ms 64 bytes from 125.42.203.67: seq=2 ttl=63 time=0.750 ms --- 125.42.203.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.229/2.219 ms 2025-08-11 21:33:24,222 - INFO - Ping to IP 125.42.203.67 from VM ctest-vn1-vm1-79941161 passed 2025-08-11 21:33:24,222 - INFO - Deleting interface with subnet_id 27859c02-9c2b-4e0d-b411-8fe197dd2650, port_id None from router f6e9dd10-6ea0-48e8-b1ab-d9e6fc40f486 2025-08-11 21:33:24,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:33:24,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.42.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 21:33:24,337 - DEBUG - ping -s 56 -c 3 -W 1 125.42.203.67 2025-08-11 21:33:27,545 - DEBUG - PING 125.42.203.67 (125.42.203.67): 56 data bytes --- 125.42.203.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 21:33:27,545 - WARNING - Ping to IP 125.42.203.67 from VM ctest-vn1-vm1-79941161 failed 2025-08-11 21:33:27,545 - INFO - Adding interface with subnet_id 27859c02-9c2b-4e0d-b411-8fe197dd2650, port_id None to router f6e9dd10-6ea0-48e8-b1ab-d9e6fc40f486 2025-08-11 21:33:27,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 21:33:27,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.42.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 21:33:27,755 - DEBUG - ping -s 56 -c 3 -W 1 125.42.203.67 2025-08-11 21:33:30,944 - DEBUG - PING 125.42.203.67 (125.42.203.67): 56 data bytes 64 bytes from 125.42.203.67: seq=1 ttl=63 time=1.406 ms 64 bytes from 125.42.203.67: seq=2 ttl=63 time=0.665 ms --- 125.42.203.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.665/1.035/1.406 ms 2025-08-11 21:33:30,944 - WARNING - Ping to IP 125.42.203.67 from VM ctest-vn1-vm1-79941161 failed 2025-08-11 21:33:31,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.42.203.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 21:33:31,944 - DEBUG - ping -s 56 -c 3 -W 1 125.42.203.67 2025-08-11 21:33:34,133 - DEBUG - PING 125.42.203.67 (125.42.203.67): 56 data bytes 64 bytes from 125.42.203.67: seq=0 ttl=63 time=1.389 ms 64 bytes from 125.42.203.67: seq=1 ttl=63 time=0.691 ms 64 bytes from 125.42.203.67: seq=2 ttl=63 time=0.677 ms --- 125.42.203.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.677/0.919/1.389 ms 2025-08-11 21:33:34,133 - INFO - Ping to IP 125.42.203.67 from VM ctest-vn1-vm1-79941161 passed 2025-08-11 21:33:34,134 - INFO - Deleting interface with subnet_id e46a617e-3e17-42b5-8f99-a0e7242f5a33, port_id None from router f6e9dd10-6ea0-48e8-b1ab-d9e6fc40f486 2025-08-11 21:33:34,249 - INFO - Deleting interface with subnet_id 27859c02-9c2b-4e0d-b411-8fe197dd2650, port_id None from router f6e9dd10-6ea0-48e8-b1ab-d9e6fc40f486 2025-08-11 21:33:34,415 - INFO - Deleting VM ctest-vn2-vm1-37428079 2025-08-11 21:33:34,486 - INFO - Deleting VM ctest-vn1-vm1-79941161 2025-08-11 21:33:34,553 - INFO - Deleting VN ctest-vn2-95152282 2025-08-11 21:33:34,586 - DEBUG - VN efe8206e-c919-44b4-b8de-ba41239aabc6 still in use: Unable to complete operation on network efe8206e-c919-44b4-b8de-ba41239aabc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bde3c4d9-5c33-459d-b222-43e27e10f8d3'] 2025-08-11 21:33:34,586 - WARNING - Deleting VN ctest-vn2-95152282 failed..Will retry 2025-08-11 21:33:36,677 - DEBUG - Response for deleting network () 2025-08-11 21:33:36,677 - INFO - Deleting VN ctest-vn1-29900776 2025-08-11 21:33:36,770 - DEBUG - Response for deleting network () 2025-08-11 21:33:37,023 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 21:33:37,023 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-11 21:33:37,023 - INFO - -------------------------------------------------------------------------------- 2025-08-11 21:33:37,673 - INFO - Deleted project: ctest-TestRouters-37238314, ID : f6cb4aef-5b8f-446c-9303-691d41c50a1c