2025-11-14 10:07:51,840 - INFO - Domain Default found not creating 2025-11-14 10:07:52,102 - INFO - Project ctest-TestRouters-04543644 not found, creating it 2025-11-14 10:07:52,729 - INFO - Created Project:ctest-TestRouters-04543644, ID : bc3a3e31-b8ee-465a-8be5-ae37c1642bd4 2025-11-14 10:07:54,863 - INFO - ================================================================================ 2025-11-14 10:07:54,863 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-14 10:07:54,863 - 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-11-14 10:07:55,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-14 10:07:55,143 - INFO - Initial checks done. Running the testcase now 2025-11-14 10:07:55,143 - INFO - 2025-11-14 10:07:55,801 - DEBUG - Response for create_network : {'network': {'id': 'cb7b77b0-8e51-459d-91e5-1cb4cfbc8e09', 'name': 'ctest-vn1-26557005', 'tenant_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4', 'project_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04543644', 'ctest-vn1-26557005'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:07:56,062 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf1f71ea-2a6c-426b-9aee-b3a6728498c0', 'name': '', 'tenant_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4', 'network_id': 'cb7b77b0-8e51-459d-91e5-1cb4cfbc8e09', 'ip_version': 4, 'cidr': '173.55.239.64/26', 'allocation_pools': [{'start': '173.55.239.66', 'end': '173.55.239.126'}], 'gateway_ip': '173.55.239.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.55.239.66', 'tags': [], 'project_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4'}} 2025-11-14 10:07:56,080 - INFO - Created VN ctest-vn1-26557005 2025-11-14 10:07:56,139 - DEBUG - VN ctest-vn1-26557005 UUID is cb7b77b0-8e51-459d-91e5-1cb4cfbc8e09 2025-11-14 10:07:56,473 - DEBUG - Response for create_network : {'network': {'id': '768dc7ed-baa3-4719-99b8-9d543f22bd02', 'name': 'ctest-vn2-92900129', 'tenant_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4', 'project_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-04543644', 'ctest-vn2-92900129'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 10:07:56,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee384ed1-eb7f-42ab-ad95-ab8194ce7d8d', 'name': '', 'tenant_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4', 'network_id': '768dc7ed-baa3-4719-99b8-9d543f22bd02', 'ip_version': 4, 'cidr': '30.170.78.64/26', 'allocation_pools': [{'start': '30.170.78.66', 'end': '30.170.78.126'}], 'gateway_ip': '30.170.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.170.78.66', 'tags': [], 'project_id': 'bc3a3e31b8ee465a8be5ae37c1642bd4'}} 2025-11-14 10:07:56,720 - INFO - Created VN ctest-vn2-92900129 2025-11-14 10:07:56,774 - DEBUG - VN ctest-vn2-92900129 UUID is 768dc7ed-baa3-4719-99b8-9d543f22bd02 2025-11-14 10:07:56,966 - DEBUG - Services list from nova: [, , ] 2025-11-14 10:07:58,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1) 2025-11-14 10:07:59,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4729-1) 2025-11-14 10:07:59,698 - INFO - Adding interface with subnet_id cf1f71ea-2a6c-426b-9aee-b3a6728498c0, port_id None to router 19d801c1-6384-4849-9c31-28b8c8fa5aa2 2025-11-14 10:08:00,029 - INFO - Waiting for VM ctest-vn1-vm1-81162646 to be up.. 2025-11-14 10:08:00,131 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 10:08:05,207 - DEBUG - VM is in ACTIVE state now 2025-11-14 10:08:05,208 - INFO - VM name : ctest-vn1-vm1-81162646 2025-11-14 10:08:05,293 - DEBUG - VM ctest-vn1-vm1-81162646 ID is afd3fa14-bd39-4ba9-9c6a-2157f2838797 2025-11-14 10:08:05,315 - DEBUG - VM ctest-vn1-vm1-81162646 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1 2025-11-14 10:08:05,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/afd3fa14-bd39-4ba9-9c6a-2157f2838797 2025-11-14 10:08:05,717 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/afd3fa14-bd39-4ba9-9c6a-2157f2838797 2025-11-14 10:08:05,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fa0eaf3f-19e6-4769-b48f-85fb59936cce 2025-11-14 10:08:09,029 - 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 1032ms') 2025-11-14 10:08:09,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81162646 failed! 2025-11-14 10:08:09,103 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-04543644:ctest-vn1-26557005 is 173.55.239.65 and allocation pool is NOT set 2025-11-14 10:08:11,190 - 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=8.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.518 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.518/4.289/8.060/3.771 ms') 2025-11-14 10:08:11,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81162646 passed 2025-11-14 10:08:11,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:08:11,346 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81162646, IP 173.55.239.67, Port 22 2025-11-14 10:08:11,530 - DEBUG - VM ctest-vn1-vm1-81162646 is ready for SSH connections 2025-11-14 10:08:11,530 - INFO - Waiting for VM ctest-vn2-vm1-19007558 to be up.. 2025-11-14 10:08:11,690 - DEBUG - VM is in ACTIVE state now 2025-11-14 10:08:11,690 - INFO - VM name : ctest-vn2-vm1-19007558 2025-11-14 10:08:11,824 - DEBUG - VM ctest-vn2-vm1-19007558 ID is 3a97580d-ed1e-4967-9631-2e14c235bf8c 2025-11-14 10:08:11,825 - DEBUG - VM ctest-vn2-vm1-19007558 launched on Node cn-jenkins-deploy-platform-ansible-os-4729-1 2025-11-14 10:08:11,929 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3a97580d-ed1e-4967-9631-2e14c235bf8c 2025-11-14 10:08:11,942 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fd99e47c-32a9-45b6-8d27-808f6a7140c5 2025-11-14 10:08:13,239 - 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=7.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.815 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.815/4.253/7.692/3.438 ms') 2025-11-14 10:08:13,239 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-19007558 passed 2025-11-14 10:08:13,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:08:13,424 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-19007558, IP 30.170.78.67, Port 22 2025-11-14 10:08:13,617 - DEBUG - VM ctest-vn2-vm1-19007558 is ready for SSH connections 2025-11-14 10:08:13,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:08:13,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.170.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 10:08:13,618 - DEBUG - ping -s 56 -c 3 -W 1 30.170.78.67 2025-11-14 10:08:18,953 - DEBUG - PING 30.170.78.67 (30.170.78.67): 56 data bytes --- 30.170.78.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-14 10:08:18,953 - WARNING - Ping to IP 30.170.78.67 from VM ctest-vn1-vm1-81162646 failed 2025-11-14 10:08:18,953 - INFO - Adding interface with subnet_id ee384ed1-eb7f-42ab-ad95-ab8194ce7d8d, port_id None to router 19d801c1-6384-4849-9c31-28b8c8fa5aa2 2025-11-14 10:08:19,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:08:19,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.170.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 10:08:19,325 - DEBUG - ping -s 56 -c 3 -W 1 30.170.78.67 2025-11-14 10:08:21,511 - DEBUG - PING 30.170.78.67 (30.170.78.67): 56 data bytes 64 bytes from 30.170.78.67: seq=0 ttl=63 time=3.634 ms 64 bytes from 30.170.78.67: seq=1 ttl=63 time=1.940 ms 64 bytes from 30.170.78.67: seq=2 ttl=63 time=1.526 ms --- 30.170.78.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.526/2.366/3.634 ms 2025-11-14 10:08:21,511 - INFO - Ping to IP 30.170.78.67 from VM ctest-vn1-vm1-81162646 passed 2025-11-14 10:08:21,512 - INFO - Deleting interface with subnet_id cf1f71ea-2a6c-426b-9aee-b3a6728498c0, port_id None from router 19d801c1-6384-4849-9c31-28b8c8fa5aa2 2025-11-14 10:08:21,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:08:21,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.170.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 10:08:21,717 - DEBUG - ping -s 56 -c 3 -W 1 30.170.78.67 2025-11-14 10:08:24,916 - DEBUG - PING 30.170.78.67 (30.170.78.67): 56 data bytes --- 30.170.78.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-14 10:08:24,916 - WARNING - Ping to IP 30.170.78.67 from VM ctest-vn1-vm1-81162646 failed 2025-11-14 10:08:24,917 - INFO - Adding interface with subnet_id cf1f71ea-2a6c-426b-9aee-b3a6728498c0, port_id None to router 19d801c1-6384-4849-9c31-28b8c8fa5aa2 2025-11-14 10:08:25,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 10:08:25,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.170.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 10:08:25,282 - DEBUG - ping -s 56 -c 3 -W 1 30.170.78.67 2025-11-14 10:08:27,458 - DEBUG - PING 30.170.78.67 (30.170.78.67): 56 data bytes 64 bytes from 30.170.78.67: seq=0 ttl=63 time=1.804 ms 64 bytes from 30.170.78.67: seq=1 ttl=63 time=1.068 ms 64 bytes from 30.170.78.67: seq=2 ttl=63 time=1.826 ms --- 30.170.78.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.068/1.566/1.826 ms 2025-11-14 10:08:27,458 - INFO - Ping to IP 30.170.78.67 from VM ctest-vn1-vm1-81162646 passed 2025-11-14 10:08:27,459 - INFO - Deleting interface with subnet_id ee384ed1-eb7f-42ab-ad95-ab8194ce7d8d, port_id None from router 19d801c1-6384-4849-9c31-28b8c8fa5aa2 2025-11-14 10:08:27,631 - INFO - Deleting interface with subnet_id cf1f71ea-2a6c-426b-9aee-b3a6728498c0, port_id None from router 19d801c1-6384-4849-9c31-28b8c8fa5aa2 2025-11-14 10:08:27,842 - INFO - Deleting VM ctest-vn2-vm1-19007558 2025-11-14 10:08:27,932 - INFO - Deleting VM ctest-vn1-vm1-81162646 2025-11-14 10:08:28,021 - INFO - Deleting VN ctest-vn2-92900129 2025-11-14 10:08:28,060 - DEBUG - VN 768dc7ed-baa3-4719-99b8-9d543f22bd02 still in use: Unable to complete operation on network 768dc7ed-baa3-4719-99b8-9d543f22bd02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c81f2f22-f041-4969-9c5e-7cc5c48db66c'] 2025-11-14 10:08:28,061 - WARNING - Deleting VN ctest-vn2-92900129 failed..Will retry 2025-11-14 10:08:30,261 - DEBUG - Response for deleting network () 2025-11-14 10:08:30,261 - INFO - Deleting VN ctest-vn1-26557005 2025-11-14 10:08:30,391 - DEBUG - Response for deleting network () 2025-11-14 10:08:30,679 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 10:08:30,679 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36]
2025-11-14 10:08:30,679 - INFO - -------------------------------------------------------------------------------- 2025-11-14 10:08:31,591 - INFO - Deleted project: ctest-TestRouters-04543644, ID : bc3a3e31-b8ee-465a-8be5-ae37c1642bd4