2025-07-23 15:55:00,480 - INFO - Domain Default found not creating 2025-07-23 15:55:00,640 - INFO - Project ctest-TestRouters-33146373 not found, creating it 2025-07-23 15:55:01,119 - INFO - Created Project:ctest-TestRouters-33146373, ID : d8a1c575-7007-4c93-869b-6dbbda0fc4be 2025-07-23 15:55:02,669 - INFO - ================================================================================ 2025-07-23 15:55:02,669 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 15:55:02,669 - 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-07-23 15:55:02,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-07-23 15:55:02,929 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:55:02,929 - INFO - 2025-07-23 15:55:03,545 - DEBUG - Response for create_network : {'network': {'id': 'd4c844c0-05bd-4316-866b-e0bdb3eb8692', 'name': 'ctest-vn1-19097172', 'tenant_id': 'd8a1c57570074c93869b6dbbda0fc4be', 'project_id': 'd8a1c57570074c93869b6dbbda0fc4be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33146373', 'ctest-vn1-19097172'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:55:03,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '2667a6b0-41be-48ff-9ec4-93ae6fa2bdde', 'name': '', 'tenant_id': 'd8a1c57570074c93869b6dbbda0fc4be', 'network_id': 'd4c844c0-05bd-4316-866b-e0bdb3eb8692', 'ip_version': 4, 'cidr': '96.34.232.128/26', 'allocation_pools': [{'start': '96.34.232.130', 'end': '96.34.232.190'}], 'gateway_ip': '96.34.232.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.34.232.130', 'tags': [], 'project_id': 'd8a1c57570074c93869b6dbbda0fc4be'}} 2025-07-23 15:55:03,799 - INFO - Created VN ctest-vn1-19097172 2025-07-23 15:55:03,859 - DEBUG - VN ctest-vn1-19097172 UUID is d4c844c0-05bd-4316-866b-e0bdb3eb8692 2025-07-23 15:55:04,199 - DEBUG - Response for create_network : {'network': {'id': '7d066258-bc17-4ba6-863a-46a6c351a65a', 'name': 'ctest-vn2-13619108', 'tenant_id': 'd8a1c57570074c93869b6dbbda0fc4be', 'project_id': 'd8a1c57570074c93869b6dbbda0fc4be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-33146373', 'ctest-vn2-13619108'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:55:04,395 - DEBUG - Response for create_subnet : {'subnet': {'id': '84faf085-083e-4910-840e-b76ff55ac296', 'name': '', 'tenant_id': 'd8a1c57570074c93869b6dbbda0fc4be', 'network_id': '7d066258-bc17-4ba6-863a-46a6c351a65a', 'ip_version': 4, 'cidr': '8.210.59.192/26', 'allocation_pools': [{'start': '8.210.59.194', 'end': '8.210.59.254'}], 'gateway_ip': '8.210.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.210.59.194', 'tags': [], 'project_id': 'd8a1c57570074c93869b6dbbda0fc4be'}} 2025-07-23 15:55:04,414 - INFO - Created VN ctest-vn2-13619108 2025-07-23 15:55:04,467 - DEBUG - VN ctest-vn2-13619108 UUID is 7d066258-bc17-4ba6-863a-46a6c351a65a 2025-07-23 15:55:04,635 - DEBUG - Services list from nova: [, , ] 2025-07-23 15:55:05,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1) 2025-07-23 15:55:06,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1) 2025-07-23 15:55:07,087 - INFO - Adding interface with subnet_id 2667a6b0-41be-48ff-9ec4-93ae6fa2bdde, port_id None to router 3a26c11d-7de8-47ea-a1b2-f984ef418520 2025-07-23 15:55:07,462 - INFO - Waiting for VM ctest-vn1-vm1-86242862 to be up.. 2025-07-23 15:55:07,589 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 15:55:12,665 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:55:12,665 - INFO - VM name : ctest-vn1-vm1-86242862 2025-07-23 15:55:12,748 - DEBUG - VM ctest-vn1-vm1-86242862 ID is 700a7119-3674-423b-87ce-6d1e10fb5e8c 2025-07-23 15:55:12,770 - DEBUG - VM ctest-vn1-vm1-86242862 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1 2025-07-23 15:55:12,863 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/700a7119-3674-423b-87ce-6d1e10fb5e8c 2025-07-23 15:55:13,169 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/700a7119-3674-423b-87ce-6d1e10fb5e8c 2025-07-23 15:55:13,207 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f3c3dad3-504b-45bd-8cdc-2735e75112f7 2025-07-23 15:55:16,460 - 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-07-23 15:55:16,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86242862 failed! 2025-07-23 15:55:16,519 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-33146373:ctest-vn1-19097172 is 96.34.232.129 and allocation pool is NOT set 2025-07-23 15:55:18,584 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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 = 1.018/2.525/4.032/1.507 ms') 2025-07-23 15:55:18,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86242862 passed 2025-07-23 15:55:18,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:55:18,739 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86242862, IP 96.34.232.131, Port 22 2025-07-23 15:55:18,898 - DEBUG - VM ctest-vn1-vm1-86242862 is ready for SSH connections 2025-07-23 15:55:18,898 - INFO - Waiting for VM ctest-vn2-vm1-97124881 to be up.. 2025-07-23 15:55:18,975 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:55:18,975 - INFO - VM name : ctest-vn2-vm1-97124881 2025-07-23 15:55:19,051 - DEBUG - VM ctest-vn2-vm1-97124881 ID is 58a57d9e-b651-49df-83b8-2cc8e0afd17c 2025-07-23 15:55:19,051 - DEBUG - VM ctest-vn2-vm1-97124881 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1 2025-07-23 15:55:19,137 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/58a57d9e-b651-49df-83b8-2cc8e0afd17c 2025-07-23 15:55:19,147 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0a84e253-d8fd-4b46-a424-fc151dad4a59 2025-07-23 15:55:20,392 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.612 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.612/2.091/3.570/1.479 ms') 2025-07-23 15:55:20,392 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-97124881 passed 2025-07-23 15:55:20,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:55:20,547 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97124881, IP 8.210.59.195, Port 22 2025-07-23 15:55:20,703 - DEBUG - VM ctest-vn2-vm1-97124881 is ready for SSH connections 2025-07-23 15:55:20,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:55:20,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.210.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:55:20,703 - DEBUG - ping -s 56 -c 3 -W 1 8.210.59.195 2025-07-23 15:55:25,717 - DEBUG - PING 8.210.59.195 (8.210.59.195): 56 data bytes --- 8.210.59.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 15:55:25,717 - WARNING - Ping to IP 8.210.59.195 from VM ctest-vn1-vm1-86242862 failed 2025-07-23 15:55:25,717 - INFO - Adding interface with subnet_id 84faf085-083e-4910-840e-b76ff55ac296, port_id None to router 3a26c11d-7de8-47ea-a1b2-f984ef418520 2025-07-23 15:55:25,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:55:25,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.210.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:55:25,983 - DEBUG - ping -s 56 -c 3 -W 1 8.210.59.195 2025-07-23 15:55:29,187 - DEBUG - PING 8.210.59.195 (8.210.59.195): 56 data bytes 64 bytes from 8.210.59.195: seq=1 ttl=63 time=2.873 ms 64 bytes from 8.210.59.195: seq=2 ttl=63 time=0.829 ms --- 8.210.59.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.829/1.851/2.873 ms 2025-07-23 15:55:29,188 - WARNING - Ping to IP 8.210.59.195 from VM ctest-vn1-vm1-86242862 failed 2025-07-23 15:55:30,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.210.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:55:30,189 - DEBUG - ping -s 56 -c 3 -W 1 8.210.59.195 2025-07-23 15:55:32,402 - DEBUG - PING 8.210.59.195 (8.210.59.195): 56 data bytes 64 bytes from 8.210.59.195: seq=0 ttl=63 time=1.397 ms 64 bytes from 8.210.59.195: seq=1 ttl=63 time=0.844 ms 64 bytes from 8.210.59.195: seq=2 ttl=63 time=0.796 ms --- 8.210.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.012/1.397 ms 2025-07-23 15:55:32,402 - INFO - Ping to IP 8.210.59.195 from VM ctest-vn1-vm1-86242862 passed 2025-07-23 15:55:32,402 - INFO - Deleting interface with subnet_id 2667a6b0-41be-48ff-9ec4-93ae6fa2bdde, port_id None from router 3a26c11d-7de8-47ea-a1b2-f984ef418520 2025-07-23 15:55:32,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:55:32,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.210.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:55:32,554 - DEBUG - ping -s 56 -c 3 -W 1 8.210.59.195 2025-07-23 15:55:35,814 - DEBUG - PING 8.210.59.195 (8.210.59.195): 56 data bytes --- 8.210.59.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 15:55:35,814 - WARNING - Ping to IP 8.210.59.195 from VM ctest-vn1-vm1-86242862 failed 2025-07-23 15:55:35,814 - INFO - Adding interface with subnet_id 2667a6b0-41be-48ff-9ec4-93ae6fa2bdde, port_id None to router 3a26c11d-7de8-47ea-a1b2-f984ef418520 2025-07-23 15:55:36,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:55:36,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.210.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:55:36,025 - DEBUG - ping -s 56 -c 3 -W 1 8.210.59.195 2025-07-23 15:55:38,229 - DEBUG - PING 8.210.59.195 (8.210.59.195): 56 data bytes 64 bytes from 8.210.59.195: seq=0 ttl=63 time=1.551 ms 64 bytes from 8.210.59.195: seq=1 ttl=63 time=0.815 ms 64 bytes from 8.210.59.195: seq=2 ttl=63 time=0.825 ms --- 8.210.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.063/1.551 ms 2025-07-23 15:55:38,229 - INFO - Ping to IP 8.210.59.195 from VM ctest-vn1-vm1-86242862 passed 2025-07-23 15:55:38,229 - INFO - Deleting interface with subnet_id 84faf085-083e-4910-840e-b76ff55ac296, port_id None from router 3a26c11d-7de8-47ea-a1b2-f984ef418520 2025-07-23 15:55:38,353 - INFO - Deleting interface with subnet_id 2667a6b0-41be-48ff-9ec4-93ae6fa2bdde, port_id None from router 3a26c11d-7de8-47ea-a1b2-f984ef418520 2025-07-23 15:55:38,592 - INFO - Deleting VM ctest-vn2-vm1-97124881 2025-07-23 15:55:38,687 - INFO - Deleting VM ctest-vn1-vm1-86242862 2025-07-23 15:55:38,779 - INFO - Deleting VN ctest-vn2-13619108 2025-07-23 15:55:38,826 - DEBUG - VN 7d066258-bc17-4ba6-863a-46a6c351a65a still in use: Unable to complete operation on network 7d066258-bc17-4ba6-863a-46a6c351a65a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-86e73bda-db71-4203-b8fc-bf0925b275b0'] 2025-07-23 15:55:38,826 - WARNING - Deleting VN ctest-vn2-13619108 failed..Will retry 2025-07-23 15:55:40,938 - DEBUG - Response for deleting network () 2025-07-23 15:55:40,938 - INFO - Deleting VN ctest-vn1-19097172 2025-07-23 15:55:41,049 - DEBUG - Response for deleting network () 2025-07-23 15:55:41,306 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:55:41,306 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-07-23 15:55:41,306 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:55:41,968 - INFO - Deleted project: ctest-TestRouters-33146373, ID : d8a1c575-7007-4c93-869b-6dbbda0fc4be