2025-09-19 21:31:04,795 - INFO - Domain Default found not creating 2025-09-19 21:31:04,927 - INFO - Project ctest-TestRouters-74693491 not found, creating it 2025-09-19 21:31:05,352 - INFO - Created Project:ctest-TestRouters-74693491, ID : eddc97e7-8fe2-4dc1-a6c6-1e5fabd9cae9 2025-09-19 21:31:06,764 - INFO - ================================================================================ 2025-09-19 21:31:06,764 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-19 21:31:06,764 - 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-19 21:31:07,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 21:31:07,022 - INFO - Initial checks done. Running the testcase now 2025-09-19 21:31:07,023 - INFO - 2025-09-19 21:31:07,535 - DEBUG - Response for create_network : {'network': {'id': '90aa82be-1819-4f35-a09e-24d3e366ab9d', 'name': 'ctest-vn1-67814306', 'tenant_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9', 'project_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74693491', 'ctest-vn1-67814306'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:31:07,735 - DEBUG - Response for create_subnet : {'subnet': {'id': '882277ab-7172-4fb1-8935-f9d90205e9b8', 'name': '', 'tenant_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9', 'network_id': '90aa82be-1819-4f35-a09e-24d3e366ab9d', 'ip_version': 4, 'cidr': '118.50.42.0/26', 'allocation_pools': [{'start': '118.50.42.2', 'end': '118.50.42.62'}], 'gateway_ip': '118.50.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.50.42.2', 'tags': [], 'project_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9'}} 2025-09-19 21:31:07,751 - INFO - Created VN ctest-vn1-67814306 2025-09-19 21:31:07,802 - DEBUG - VN ctest-vn1-67814306 UUID is 90aa82be-1819-4f35-a09e-24d3e366ab9d 2025-09-19 21:31:08,102 - DEBUG - Response for create_network : {'network': {'id': 'f97c2d92-76c8-464e-a814-ea74334924b4', 'name': 'ctest-vn2-58228004', 'tenant_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9', 'project_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-74693491', 'ctest-vn2-58228004'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 21:31:08,268 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c69fe6b9-7868-41d9-b624-3ebb0f379859', 'name': '', 'tenant_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9', 'network_id': 'f97c2d92-76c8-464e-a814-ea74334924b4', 'ip_version': 4, 'cidr': '161.149.9.0/26', 'allocation_pools': [{'start': '161.149.9.2', 'end': '161.149.9.62'}], 'gateway_ip': '161.149.9.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.149.9.2', 'tags': [], 'project_id': 'eddc97e78fe24dc1a6c61e5fabd9cae9'}} 2025-09-19 21:31:08,286 - INFO - Created VN ctest-vn2-58228004 2025-09-19 21:31:08,338 - DEBUG - VN ctest-vn2-58228004 UUID is f97c2d92-76c8-464e-a814-ea74334924b4 2025-09-19 21:31:08,596 - DEBUG - Services list from nova: [, , ] 2025-09-19 21:31:09,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:31:10,693 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4153-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4153-1) 2025-09-19 21:31:10,750 - INFO - Adding interface with subnet_id 882277ab-7172-4fb1-8935-f9d90205e9b8, port_id None to router 076388b6-34c2-4048-9ac3-8bb3f23c21da 2025-09-19 21:31:10,994 - INFO - Waiting for VM ctest-vn1-vm1-04458414 to be up.. 2025-09-19 21:31:11,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 21:31:16,162 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:31:16,162 - INFO - VM name : ctest-vn1-vm1-04458414 2025-09-19 21:31:16,227 - DEBUG - VM ctest-vn1-vm1-04458414 ID is 86a8b787-4ac1-4b2a-bd69-5c9b0aa68036 2025-09-19 21:31:16,245 - DEBUG - VM ctest-vn1-vm1-04458414 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:31:16,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/86a8b787-4ac1-4b2a-bd69-5c9b0aa68036 2025-09-19 21:31:16,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/86a8b787-4ac1-4b2a-bd69-5c9b0aa68036 2025-09-19 21:31:16,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a21d4d7a-9a80-415b-9de4-b186980bfd95 2025-09-19 21:31:19,882 - 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 1009ms') 2025-09-19 21:31:19,882 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04458414 failed! 2025-09-19 21:31:19,935 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-74693491:ctest-vn1-67814306 is 118.50.42.1 and allocation pool is NOT set 2025-09-19 21:31:22,000 - 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.399 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.399/1.763/3.127/1.364 ms') 2025-09-19 21:31:22,000 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04458414 passed 2025-09-19 21:31:22,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:31:22,150 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04458414, IP 118.50.42.3, Port 22 2025-09-19 21:31:22,315 - DEBUG - VM ctest-vn1-vm1-04458414 is ready for SSH connections 2025-09-19 21:31:22,315 - INFO - Waiting for VM ctest-vn2-vm1-94213566 to be up.. 2025-09-19 21:31:22,383 - DEBUG - VM is in ACTIVE state now 2025-09-19 21:31:22,383 - INFO - VM name : ctest-vn2-vm1-94213566 2025-09-19 21:31:22,445 - DEBUG - VM ctest-vn2-vm1-94213566 ID is 8b06b8d3-086e-47cd-8ce5-e8d3f39ae196 2025-09-19 21:31:22,445 - DEBUG - VM ctest-vn2-vm1-94213566 launched on Node cn-jenkins-deploy-platform-ansible-os-4153-1 2025-09-19 21:31:22,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b06b8d3-086e-47cd-8ce5-e8d3f39ae196 2025-09-19 21:31:22,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33819936-4280-41b7-8755-773e2d85d9fe 2025-09-19 21:31:23,753 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.284 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.284/1.543/2.803/1.259 ms') 2025-09-19 21:31:23,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94213566 passed 2025-09-19 21:31:23,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:31:23,902 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94213566, IP 161.149.9.3, Port 22 2025-09-19 21:31:24,057 - DEBUG - VM ctest-vn2-vm1-94213566 is ready for SSH connections 2025-09-19 21:31:24,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:31:24,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.149.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:31:24,058 - DEBUG - ping -s 56 -c 3 -W 1 161.149.9.3 2025-09-19 21:31:28,692 - DEBUG - PING 161.149.9.3 (161.149.9.3): 56 data bytes --- 161.149.9.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 21:31:28,692 - WARNING - Ping to IP 161.149.9.3 from VM ctest-vn1-vm1-04458414 failed 2025-09-19 21:31:28,692 - INFO - Adding interface with subnet_id c69fe6b9-7868-41d9-b624-3ebb0f379859, port_id None to router 076388b6-34c2-4048-9ac3-8bb3f23c21da 2025-09-19 21:31:28,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:31:28,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.149.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:31:28,914 - DEBUG - ping -s 56 -c 3 -W 1 161.149.9.3 2025-09-19 21:31:31,120 - DEBUG - PING 161.149.9.3 (161.149.9.3): 56 data bytes 64 bytes from 161.149.9.3: seq=0 ttl=63 time=2.356 ms 64 bytes from 161.149.9.3: seq=1 ttl=63 time=0.789 ms 64 bytes from 161.149.9.3: seq=2 ttl=63 time=0.671 ms --- 161.149.9.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.671/1.272/2.356 ms 2025-09-19 21:31:31,121 - INFO - Ping to IP 161.149.9.3 from VM ctest-vn1-vm1-04458414 passed 2025-09-19 21:31:31,121 - INFO - Deleting interface with subnet_id 882277ab-7172-4fb1-8935-f9d90205e9b8, port_id None from router 076388b6-34c2-4048-9ac3-8bb3f23c21da 2025-09-19 21:31:31,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:31:31,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.149.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:31:31,234 - DEBUG - ping -s 56 -c 3 -W 1 161.149.9.3 2025-09-19 21:31:34,425 - DEBUG - PING 161.149.9.3 (161.149.9.3): 56 data bytes --- 161.149.9.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 21:31:34,425 - WARNING - Ping to IP 161.149.9.3 from VM ctest-vn1-vm1-04458414 failed 2025-09-19 21:31:34,425 - INFO - Adding interface with subnet_id 882277ab-7172-4fb1-8935-f9d90205e9b8, port_id None to router 076388b6-34c2-4048-9ac3-8bb3f23c21da 2025-09-19 21:31:34,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 21:31:34,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.149.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:31:34,613 - DEBUG - ping -s 56 -c 3 -W 1 161.149.9.3 2025-09-19 21:31:37,804 - DEBUG - PING 161.149.9.3 (161.149.9.3): 56 data bytes 64 bytes from 161.149.9.3: seq=1 ttl=63 time=1.423 ms 64 bytes from 161.149.9.3: seq=2 ttl=63 time=0.868 ms --- 161.149.9.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.868/1.145/1.423 ms 2025-09-19 21:31:37,804 - WARNING - Ping to IP 161.149.9.3 from VM ctest-vn1-vm1-04458414 failed 2025-09-19 21:31:38,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.149.9.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 21:31:38,805 - DEBUG - ping -s 56 -c 3 -W 1 161.149.9.3 2025-09-19 21:31:41,000 - DEBUG - PING 161.149.9.3 (161.149.9.3): 56 data bytes 64 bytes from 161.149.9.3: seq=0 ttl=63 time=1.173 ms 64 bytes from 161.149.9.3: seq=1 ttl=63 time=0.786 ms 64 bytes from 161.149.9.3: seq=2 ttl=63 time=0.682 ms --- 161.149.9.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.682/0.880/1.173 ms 2025-09-19 21:31:41,000 - INFO - Ping to IP 161.149.9.3 from VM ctest-vn1-vm1-04458414 passed 2025-09-19 21:31:41,000 - INFO - Deleting interface with subnet_id c69fe6b9-7868-41d9-b624-3ebb0f379859, port_id None from router 076388b6-34c2-4048-9ac3-8bb3f23c21da 2025-09-19 21:31:41,097 - INFO - Deleting interface with subnet_id 882277ab-7172-4fb1-8935-f9d90205e9b8, port_id None from router 076388b6-34c2-4048-9ac3-8bb3f23c21da 2025-09-19 21:31:41,249 - INFO - Deleting VM ctest-vn2-vm1-94213566 2025-09-19 21:31:41,316 - INFO - Deleting VM ctest-vn1-vm1-04458414 2025-09-19 21:31:41,382 - INFO - Deleting VN ctest-vn2-58228004 2025-09-19 21:31:41,414 - DEBUG - VN f97c2d92-76c8-464e-a814-ea74334924b4 still in use: Unable to complete operation on network f97c2d92-76c8-464e-a814-ea74334924b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f948ffb8-33d7-4028-b545-8de41ed226a5'] 2025-09-19 21:31:41,414 - WARNING - Deleting VN ctest-vn2-58228004 failed..Will retry 2025-09-19 21:31:43,503 - DEBUG - Response for deleting network () 2025-09-19 21:31:43,503 - INFO - Deleting VN ctest-vn1-67814306 2025-09-19 21:31:43,597 - DEBUG - Response for deleting network () 2025-09-19 21:31:43,850 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 21:31:43,850 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-19 21:31:43,850 - INFO - -------------------------------------------------------------------------------- 2025-09-19 21:31:44,485 - INFO - Deleted project: ctest-TestRouters-74693491, ID : eddc97e7-8fe2-4dc1-a6c6-1e5fabd9cae9