2025-10-20 02:11:08,146 - INFO - Domain Default found not creating 2025-10-20 02:11:08,683 - INFO - Project ctest-TestRouters-71917707 not found, creating it 2025-10-20 02:11:09,167 - INFO - Created Project:ctest-TestRouters-71917707, ID : a66f4cd1-b875-4eec-8383-57aae681a11b 2025-10-20 02:11:10,911 - INFO - ================================================================================ 2025-10-20 02:11:10,911 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-20 02:11:10,911 - 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-20 02:11:11,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-10-20 02:11:11,177 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:11:11,178 - INFO - 2025-10-20 02:11:11,772 - DEBUG - Response for create_network : {'network': {'id': 'cf40f082-dd51-47b1-b6b0-1a9b4dc66a86', 'name': 'ctest-vn1-49214847', 'tenant_id': 'a66f4cd1b8754eec838357aae681a11b', 'project_id': 'a66f4cd1b8754eec838357aae681a11b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71917707', 'ctest-vn1-49214847'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:11:11,933 - DEBUG - Response for create_subnet : {'subnet': {'id': '01a27ccb-8203-40b2-ba95-17eaacf4b04c', 'name': '', 'tenant_id': 'a66f4cd1b8754eec838357aae681a11b', 'network_id': 'cf40f082-dd51-47b1-b6b0-1a9b4dc66a86', 'ip_version': 4, 'cidr': '123.156.174.128/26', 'allocation_pools': [{'start': '123.156.174.130', 'end': '123.156.174.190'}], 'gateway_ip': '123.156.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.156.174.130', 'tags': [], 'project_id': 'a66f4cd1b8754eec838357aae681a11b'}} 2025-10-20 02:11:11,952 - INFO - Created VN ctest-vn1-49214847 2025-10-20 02:11:12,006 - DEBUG - VN ctest-vn1-49214847 UUID is cf40f082-dd51-47b1-b6b0-1a9b4dc66a86 2025-10-20 02:11:12,296 - DEBUG - Response for create_network : {'network': {'id': '795d1397-f565-45c3-b74b-9863fd43b7c3', 'name': 'ctest-vn2-01780573', 'tenant_id': 'a66f4cd1b8754eec838357aae681a11b', 'project_id': 'a66f4cd1b8754eec838357aae681a11b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71917707', 'ctest-vn2-01780573'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:11:12,533 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f847f789-4742-46a3-aa93-9974ea8581a9', 'name': '', 'tenant_id': 'a66f4cd1b8754eec838357aae681a11b', 'network_id': '795d1397-f565-45c3-b74b-9863fd43b7c3', 'ip_version': 4, 'cidr': '110.246.137.0/26', 'allocation_pools': [{'start': '110.246.137.2', 'end': '110.246.137.62'}], 'gateway_ip': '110.246.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.246.137.2', 'tags': [], 'project_id': 'a66f4cd1b8754eec838357aae681a11b'}} 2025-10-20 02:11:12,552 - INFO - Created VN ctest-vn2-01780573 2025-10-20 02:11:12,602 - DEBUG - VN ctest-vn2-01780573 UUID is 795d1397-f565-45c3-b74b-9863fd43b7c3 2025-10-20 02:11:12,766 - DEBUG - Services list from nova: [, , ] 2025-10-20 02:11:13,858 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4367-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4367-1) 2025-10-20 02:11:15,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4367-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4367-1) 2025-10-20 02:11:15,256 - INFO - Adding interface with subnet_id 01a27ccb-8203-40b2-ba95-17eaacf4b04c, port_id None to router 7c083fb6-f410-4a24-aa35-f030ba531f04 2025-10-20 02:11:15,551 - INFO - Waiting for VM ctest-vn1-vm1-85892692 to be up.. 2025-10-20 02:11:15,659 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 02:11:20,743 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:11:20,743 - INFO - VM name : ctest-vn1-vm1-85892692 2025-10-20 02:11:20,831 - DEBUG - VM ctest-vn1-vm1-85892692 ID is 05f0a564-7239-4906-b38e-b8cac9250ee1 2025-10-20 02:11:20,855 - DEBUG - VM ctest-vn1-vm1-85892692 launched on Node cn-jenkins-deploy-platform-ansible-os-4367-1 2025-10-20 02:11:20,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/05f0a564-7239-4906-b38e-b8cac9250ee1 2025-10-20 02:11:21,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/05f0a564-7239-4906-b38e-b8cac9250ee1 2025-10-20 02:11:21,311 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0b921050-919f-4672-8715-494c0c06b330 2025-10-20 02:11:24,588 - 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 1031ms') 2025-10-20 02:11:24,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85892692 failed! 2025-10-20 02:11:24,642 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71917707:ctest-vn1-49214847 is 123.156.174.129 and allocation pool is NOT set 2025-10-20 02:11:26,706 - 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=4.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.473 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.473/2.475/4.478/2.002 ms') 2025-10-20 02:11:26,706 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85892692 passed 2025-10-20 02:11:26,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:26,862 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85892692, IP 123.156.174.131, Port 22 2025-10-20 02:11:27,027 - DEBUG - VM ctest-vn1-vm1-85892692 is ready for SSH connections 2025-10-20 02:11:27,027 - INFO - Waiting for VM ctest-vn2-vm1-92724157 to be up.. 2025-10-20 02:11:27,110 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:11:27,110 - INFO - VM name : ctest-vn2-vm1-92724157 2025-10-20 02:11:27,195 - DEBUG - VM ctest-vn2-vm1-92724157 ID is b7d9c02a-fa02-479d-88fa-b46f5d882a90 2025-10-20 02:11:27,195 - DEBUG - VM ctest-vn2-vm1-92724157 launched on Node cn-jenkins-deploy-platform-ansible-os-4367-1 2025-10-20 02:11:27,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b7d9c02a-fa02-479d-88fa-b46f5d882a90 2025-10-20 02:11:27,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5556178a-de6c-4a06-a354-1288e12ba938 2025-10-20 02:11:28,536 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.918 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.918/2.446/3.975/1.528 ms') 2025-10-20 02:11:28,536 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-92724157 passed 2025-10-20 02:11:28,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:28,690 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-92724157, IP 110.246.137.3, Port 22 2025-10-20 02:11:28,853 - DEBUG - VM ctest-vn2-vm1-92724157 is ready for SSH connections 2025-10-20 02:11:28,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:28,853 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.246.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:11:28,853 - DEBUG - ping -s 56 -c 3 -W 1 110.246.137.3 2025-10-20 02:11:33,952 - DEBUG - PING 110.246.137.3 (110.246.137.3): 56 data bytes --- 110.246.137.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 02:11:33,952 - WARNING - Ping to IP 110.246.137.3 from VM ctest-vn1-vm1-85892692 failed 2025-10-20 02:11:33,952 - INFO - Adding interface with subnet_id f847f789-4742-46a3-aa93-9974ea8581a9, port_id None to router 7c083fb6-f410-4a24-aa35-f030ba531f04 2025-10-20 02:11:34,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:34,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.246.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:11:34,231 - DEBUG - ping -s 56 -c 3 -W 1 110.246.137.3 2025-10-20 02:11:37,466 - DEBUG - PING 110.246.137.3 (110.246.137.3): 56 data bytes 64 bytes from 110.246.137.3: seq=1 ttl=63 time=2.856 ms 64 bytes from 110.246.137.3: seq=2 ttl=63 time=0.776 ms --- 110.246.137.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.776/1.816/2.856 ms 2025-10-20 02:11:37,467 - WARNING - Ping to IP 110.246.137.3 from VM ctest-vn1-vm1-85892692 failed 2025-10-20 02:11:38,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.246.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:11:38,468 - DEBUG - ping -s 56 -c 3 -W 1 110.246.137.3 2025-10-20 02:11:40,686 - DEBUG - PING 110.246.137.3 (110.246.137.3): 56 data bytes 64 bytes from 110.246.137.3: seq=0 ttl=63 time=1.499 ms 64 bytes from 110.246.137.3: seq=1 ttl=63 time=0.870 ms 64 bytes from 110.246.137.3: seq=2 ttl=63 time=0.882 ms --- 110.246.137.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.870/1.083/1.499 ms 2025-10-20 02:11:40,686 - INFO - Ping to IP 110.246.137.3 from VM ctest-vn1-vm1-85892692 passed 2025-10-20 02:11:40,686 - INFO - Deleting interface with subnet_id 01a27ccb-8203-40b2-ba95-17eaacf4b04c, port_id None from router 7c083fb6-f410-4a24-aa35-f030ba531f04 2025-10-20 02:11:40,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:40,800 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.246.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:11:40,800 - DEBUG - ping -s 56 -c 3 -W 1 110.246.137.3 2025-10-20 02:11:44,008 - DEBUG - PING 110.246.137.3 (110.246.137.3): 56 data bytes --- 110.246.137.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 02:11:44,008 - WARNING - Ping to IP 110.246.137.3 from VM ctest-vn1-vm1-85892692 failed 2025-10-20 02:11:44,008 - INFO - Adding interface with subnet_id 01a27ccb-8203-40b2-ba95-17eaacf4b04c, port_id None to router 7c083fb6-f410-4a24-aa35-f030ba531f04 2025-10-20 02:11:44,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:44,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.246.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:11:44,228 - DEBUG - ping -s 56 -c 3 -W 1 110.246.137.3 2025-10-20 02:11:46,445 - DEBUG - PING 110.246.137.3 (110.246.137.3): 56 data bytes 64 bytes from 110.246.137.3: seq=0 ttl=63 time=1.602 ms 64 bytes from 110.246.137.3: seq=1 ttl=63 time=1.304 ms 64 bytes from 110.246.137.3: seq=2 ttl=63 time=0.976 ms --- 110.246.137.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/1.294/1.602 ms 2025-10-20 02:11:46,445 - INFO - Ping to IP 110.246.137.3 from VM ctest-vn1-vm1-85892692 passed 2025-10-20 02:11:46,446 - INFO - Deleting interface with subnet_id f847f789-4742-46a3-aa93-9974ea8581a9, port_id None from router 7c083fb6-f410-4a24-aa35-f030ba531f04 2025-10-20 02:11:46,565 - INFO - Deleting interface with subnet_id 01a27ccb-8203-40b2-ba95-17eaacf4b04c, port_id None from router 7c083fb6-f410-4a24-aa35-f030ba531f04 2025-10-20 02:11:46,748 - INFO - Deleting VM ctest-vn2-vm1-92724157 2025-10-20 02:11:46,838 - INFO - Deleting VM ctest-vn1-vm1-85892692 2025-10-20 02:11:46,907 - INFO - Deleting VN ctest-vn2-01780573 2025-10-20 02:11:46,942 - DEBUG - VN 795d1397-f565-45c3-b74b-9863fd43b7c3 still in use: Unable to complete operation on network 795d1397-f565-45c3-b74b-9863fd43b7c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9a10ccb-a5ed-40ba-ae82-11310be58339'] 2025-10-20 02:11:46,942 - WARNING - Deleting VN ctest-vn2-01780573 failed..Will retry 2025-10-20 02:11:49,050 - DEBUG - Response for deleting network () 2025-10-20 02:11:49,050 - INFO - Deleting VN ctest-vn1-49214847 2025-10-20 02:11:49,150 - DEBUG - Response for deleting network () 2025-10-20 02:11:49,404 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 02:11:49,404 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-20 02:11:49,404 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:11:50,126 - INFO - Deleted project: ctest-TestRouters-71917707, ID : a66f4cd1-b875-4eec-8383-57aae681a11b