2025-08-12 16:33:22,191 - INFO - Domain Default found not creating 2025-08-12 16:33:22,306 - INFO - Project ctest-TestRouters-19327040 not found, creating it 2025-08-12 16:33:22,782 - INFO - Created Project:ctest-TestRouters-19327040, ID : d33c18eb-1fd5-4732-a8e0-7761781f43b7 2025-08-12 16:33:24,150 - INFO - ================================================================================ 2025-08-12 16:33:24,150 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-12 16:33:24,150 - 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-12 16:33:24,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-12 16:33:24,411 - INFO - Initial checks done. Running the testcase now 2025-08-12 16:33:24,411 - INFO - 2025-08-12 16:33:24,954 - DEBUG - Response for create_network : {'network': {'id': 'eb3fceec-eb49-4467-bf80-9032fefec5e9', 'name': 'ctest-vn1-16773439', 'tenant_id': 'd33c18eb1fd54732a8e07761781f43b7', 'project_id': 'd33c18eb1fd54732a8e07761781f43b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19327040', 'ctest-vn1-16773439'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:33:25,143 - DEBUG - Response for create_subnet : {'subnet': {'id': '18ac6006-663e-4fc5-8c33-e010808c5f84', 'name': '', 'tenant_id': 'd33c18eb1fd54732a8e07761781f43b7', 'network_id': 'eb3fceec-eb49-4467-bf80-9032fefec5e9', 'ip_version': 4, 'cidr': '158.203.64.0/26', 'allocation_pools': [{'start': '158.203.64.2', 'end': '158.203.64.62'}], 'gateway_ip': '158.203.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.203.64.2', 'tags': [], 'project_id': 'd33c18eb1fd54732a8e07761781f43b7'}} 2025-08-12 16:33:25,158 - INFO - Created VN ctest-vn1-16773439 2025-08-12 16:33:25,210 - DEBUG - VN ctest-vn1-16773439 UUID is eb3fceec-eb49-4467-bf80-9032fefec5e9 2025-08-12 16:33:25,516 - DEBUG - Response for create_network : {'network': {'id': 'a52a128d-3d2d-47cb-a40c-93dbf476504d', 'name': 'ctest-vn2-09072819', 'tenant_id': 'd33c18eb1fd54732a8e07761781f43b7', 'project_id': 'd33c18eb1fd54732a8e07761781f43b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19327040', 'ctest-vn2-09072819'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 16:33:25,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '18aad72f-fecb-438d-aee1-0f005f0fb611', 'name': '', 'tenant_id': 'd33c18eb1fd54732a8e07761781f43b7', 'network_id': 'a52a128d-3d2d-47cb-a40c-93dbf476504d', 'ip_version': 4, 'cidr': '119.52.246.128/26', 'allocation_pools': [{'start': '119.52.246.130', 'end': '119.52.246.190'}], 'gateway_ip': '119.52.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.52.246.130', 'tags': [], 'project_id': 'd33c18eb1fd54732a8e07761781f43b7'}} 2025-08-12 16:33:25,722 - INFO - Created VN ctest-vn2-09072819 2025-08-12 16:33:25,773 - DEBUG - VN ctest-vn2-09072819 UUID is a52a128d-3d2d-47cb-a40c-93dbf476504d 2025-08-12 16:33:25,966 - DEBUG - Services list from nova: [, , ] 2025-08-12 16:33:26,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:33:27,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3834-1) 2025-08-12 16:33:28,051 - INFO - Adding interface with subnet_id 18ac6006-663e-4fc5-8c33-e010808c5f84, port_id None to router cec0e4b2-c11a-4ae9-9389-288d759f0bfb 2025-08-12 16:33:28,389 - INFO - Waiting for VM ctest-vn1-vm1-88705464 to be up.. 2025-08-12 16:33:28,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 16:33:33,592 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:33:33,592 - INFO - VM name : ctest-vn1-vm1-88705464 2025-08-12 16:33:33,674 - DEBUG - VM ctest-vn1-vm1-88705464 ID is 14da0678-7606-4cec-8bce-98802c6f1878 2025-08-12 16:33:33,690 - DEBUG - VM ctest-vn1-vm1-88705464 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:33:33,755 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14da0678-7606-4cec-8bce-98802c6f1878 2025-08-12 16:33:34,044 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14da0678-7606-4cec-8bce-98802c6f1878 2025-08-12 16:33:34,070 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5f2ab804-26f4-4cbf-8678-8e0e23563101 2025-08-12 16:33:37,328 - 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=2 ttl=63 time=2.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 2.828/2.828/2.828/0.000 ms') 2025-08-12 16:33:37,329 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88705464 passed 2025-08-12 16:33:37,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:37,478 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88705464, IP 158.203.64.3, Port 22 2025-08-12 16:33:37,629 - DEBUG - VM ctest-vn1-vm1-88705464 is ready for SSH connections 2025-08-12 16:33:37,629 - INFO - Waiting for VM ctest-vn2-vm1-90328927 to be up.. 2025-08-12 16:33:37,692 - DEBUG - VM is in ACTIVE state now 2025-08-12 16:33:37,692 - INFO - VM name : ctest-vn2-vm1-90328927 2025-08-12 16:33:37,749 - DEBUG - VM ctest-vn2-vm1-90328927 ID is 2d4b44ab-8b50-473d-8c10-778bf3f371af 2025-08-12 16:33:37,749 - DEBUG - VM ctest-vn2-vm1-90328927 launched on Node cn-jenkins-deploy-platform-ansible-os-3834-1 2025-08-12 16:33:37,812 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2d4b44ab-8b50-473d-8c10-778bf3f371af 2025-08-12 16:33:37,820 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/af285b76-d326-4356-9417-c38e13003b7d 2025-08-12 16:33:39,053 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.627 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.627/1.690/2.753/1.063 ms') 2025-08-12 16:33:39,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90328927 passed 2025-08-12 16:33:39,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:39,210 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90328927, IP 119.52.246.131, Port 22 2025-08-12 16:33:39,361 - DEBUG - VM ctest-vn2-vm1-90328927 is ready for SSH connections 2025-08-12 16:33:39,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:39,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.52.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 16:33:39,362 - DEBUG - ping -s 56 -c 3 -W 1 119.52.246.131 2025-08-12 16:33:44,009 - DEBUG - PING 119.52.246.131 (119.52.246.131): 56 data bytes --- 119.52.246.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 16:33:44,009 - WARNING - Ping to IP 119.52.246.131 from VM ctest-vn1-vm1-88705464 failed 2025-08-12 16:33:44,009 - INFO - Adding interface with subnet_id 18aad72f-fecb-438d-aee1-0f005f0fb611, port_id None to router cec0e4b2-c11a-4ae9-9389-288d759f0bfb 2025-08-12 16:33:44,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:44,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.52.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 16:33:44,248 - DEBUG - ping -s 56 -c 3 -W 1 119.52.246.131 2025-08-12 16:33:46,439 - DEBUG - PING 119.52.246.131 (119.52.246.131): 56 data bytes 64 bytes from 119.52.246.131: seq=0 ttl=63 time=2.145 ms 64 bytes from 119.52.246.131: seq=1 ttl=63 time=0.694 ms 64 bytes from 119.52.246.131: seq=2 ttl=63 time=0.725 ms --- 119.52.246.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.694/1.188/2.145 ms 2025-08-12 16:33:46,439 - INFO - Ping to IP 119.52.246.131 from VM ctest-vn1-vm1-88705464 passed 2025-08-12 16:33:46,439 - INFO - Deleting interface with subnet_id 18ac6006-663e-4fc5-8c33-e010808c5f84, port_id None from router cec0e4b2-c11a-4ae9-9389-288d759f0bfb 2025-08-12 16:33:46,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:46,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.52.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 16:33:46,539 - DEBUG - ping -s 56 -c 3 -W 1 119.52.246.131 2025-08-12 16:33:49,727 - DEBUG - PING 119.52.246.131 (119.52.246.131): 56 data bytes --- 119.52.246.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 16:33:49,727 - WARNING - Ping to IP 119.52.246.131 from VM ctest-vn1-vm1-88705464 failed 2025-08-12 16:33:49,727 - INFO - Adding interface with subnet_id 18ac6006-663e-4fc5-8c33-e010808c5f84, port_id None to router cec0e4b2-c11a-4ae9-9389-288d759f0bfb 2025-08-12 16:33:49,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 16:33:49,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.52.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 16:33:49,940 - DEBUG - ping -s 56 -c 3 -W 1 119.52.246.131 2025-08-12 16:33:52,136 - DEBUG - PING 119.52.246.131 (119.52.246.131): 56 data bytes 64 bytes from 119.52.246.131: seq=0 ttl=63 time=1.274 ms 64 bytes from 119.52.246.131: seq=1 ttl=63 time=0.895 ms 64 bytes from 119.52.246.131: seq=2 ttl=63 time=0.686 ms --- 119.52.246.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.686/0.951/1.274 ms 2025-08-12 16:33:52,136 - INFO - Ping to IP 119.52.246.131 from VM ctest-vn1-vm1-88705464 passed 2025-08-12 16:33:52,136 - INFO - Deleting interface with subnet_id 18aad72f-fecb-438d-aee1-0f005f0fb611, port_id None from router cec0e4b2-c11a-4ae9-9389-288d759f0bfb 2025-08-12 16:33:52,245 - INFO - Deleting interface with subnet_id 18ac6006-663e-4fc5-8c33-e010808c5f84, port_id None from router cec0e4b2-c11a-4ae9-9389-288d759f0bfb 2025-08-12 16:33:52,387 - INFO - Deleting VM ctest-vn2-vm1-90328927 2025-08-12 16:33:52,444 - INFO - Deleting VM ctest-vn1-vm1-88705464 2025-08-12 16:33:52,501 - INFO - Deleting VN ctest-vn2-09072819 2025-08-12 16:33:52,533 - DEBUG - VN a52a128d-3d2d-47cb-a40c-93dbf476504d still in use: Unable to complete operation on network a52a128d-3d2d-47cb-a40c-93dbf476504d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-815dc9fb-f2f9-4bfd-a0ac-76154db366a3'] 2025-08-12 16:33:52,533 - WARNING - Deleting VN ctest-vn2-09072819 failed..Will retry 2025-08-12 16:33:54,622 - DEBUG - Response for deleting network () 2025-08-12 16:33:54,623 - INFO - Deleting VN ctest-vn1-16773439 2025-08-12 16:33:54,715 - DEBUG - Response for deleting network () 2025-08-12 16:33:54,975 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 16:33:54,975 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:30]
2025-08-12 16:33:54,975 - INFO - -------------------------------------------------------------------------------- 2025-08-12 16:33:55,609 - INFO - Deleted project: ctest-TestRouters-19327040, ID : d33c18eb-1fd5-4732-a8e0-7761781f43b7