2025-11-19 18:16:12,002 - INFO - Domain Default found not creating 2025-11-19 18:16:12,198 - INFO - Project ctest-TestRouters-52749574 not found, creating it 2025-11-19 18:16:12,649 - INFO - Created Project:ctest-TestRouters-52749574, ID : cff4345c-9bb7-40f3-b3d8-0c62dce092b5 2025-11-19 18:16:14,178 - INFO - ================================================================================ 2025-11-19 18:16:14,179 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-19 18:16:14,179 - 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-19 18:16:14,440 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-19 18:16:14,440 - INFO - Initial checks done. Running the testcase now 2025-11-19 18:16:14,440 - INFO - 2025-11-19 18:16:15,000 - DEBUG - Response for create_network : {'network': {'id': 'b4d5aacb-c493-451a-a65d-f58ab396e776', 'name': 'ctest-vn1-92232352', 'tenant_id': 'cff4345c9bb740f3b3d80c62dce092b5', 'project_id': 'cff4345c9bb740f3b3d80c62dce092b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52749574', 'ctest-vn1-92232352'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:16:15,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b4afa62-334a-4ad2-9ac0-3fa766fd4abe', 'name': '', 'tenant_id': 'cff4345c9bb740f3b3d80c62dce092b5', 'network_id': 'b4d5aacb-c493-451a-a65d-f58ab396e776', 'ip_version': 4, 'cidr': '20.250.78.64/26', 'allocation_pools': [{'start': '20.250.78.66', 'end': '20.250.78.126'}], 'gateway_ip': '20.250.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.250.78.66', 'tags': [], 'project_id': 'cff4345c9bb740f3b3d80c62dce092b5'}} 2025-11-19 18:16:15,230 - INFO - Created VN ctest-vn1-92232352 2025-11-19 18:16:15,281 - DEBUG - VN ctest-vn1-92232352 UUID is b4d5aacb-c493-451a-a65d-f58ab396e776 2025-11-19 18:16:15,619 - DEBUG - Response for create_network : {'network': {'id': 'f5ce2641-73a3-4ee1-bd56-799d73b70625', 'name': 'ctest-vn2-34967407', 'tenant_id': 'cff4345c9bb740f3b3d80c62dce092b5', 'project_id': 'cff4345c9bb740f3b3d80c62dce092b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52749574', 'ctest-vn2-34967407'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:16:15,799 - DEBUG - Response for create_subnet : {'subnet': {'id': '7630a53d-53a5-4334-88d3-51c658f9483a', 'name': '', 'tenant_id': 'cff4345c9bb740f3b3d80c62dce092b5', 'network_id': 'f5ce2641-73a3-4ee1-bd56-799d73b70625', 'ip_version': 4, 'cidr': '100.135.72.64/26', 'allocation_pools': [{'start': '100.135.72.66', 'end': '100.135.72.126'}], 'gateway_ip': '100.135.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.135.72.66', 'tags': [], 'project_id': 'cff4345c9bb740f3b3d80c62dce092b5'}} 2025-11-19 18:16:15,820 - INFO - Created VN ctest-vn2-34967407 2025-11-19 18:16:15,873 - DEBUG - VN ctest-vn2-34967407 UUID is f5ce2641-73a3-4ee1-bd56-799d73b70625 2025-11-19 18:16:16,110 - DEBUG - Services list from nova: [, , ] 2025-11-19 18:16:17,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:16:18,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:16:18,915 - INFO - Adding interface with subnet_id 9b4afa62-334a-4ad2-9ac0-3fa766fd4abe, port_id None to router 56ff19f0-273a-4fe1-a306-61d0be8d46a4 2025-11-19 18:16:19,189 - INFO - Waiting for VM ctest-vn1-vm1-16356866 to be up.. 2025-11-19 18:16:19,312 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 18:16:24,404 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:16:24,404 - INFO - VM name : ctest-vn1-vm1-16356866 2025-11-19 18:16:24,490 - DEBUG - VM ctest-vn1-vm1-16356866 ID is 1f5c3219-a87a-49df-a4e4-e2c89f68317d 2025-11-19 18:16:24,513 - DEBUG - VM ctest-vn1-vm1-16356866 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:16:24,623 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1f5c3219-a87a-49df-a4e4-e2c89f68317d 2025-11-19 18:16:24,916 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1f5c3219-a87a-49df-a4e4-e2c89f68317d 2025-11-19 18:16:24,949 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c8a99c32-3fd9-43d7-a09e-975f60476ab5 2025-11-19 18:16:28,206 - 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 1026ms') 2025-11-19 18:16:28,206 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16356866 failed! 2025-11-19 18:16:28,257 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-52749574:ctest-vn1-92232352 is 20.250.78.65 and allocation pool is NOT set 2025-11-19 18:16:30,315 - 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=9.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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.856/5.524/9.193/3.668 ms') 2025-11-19 18:16:30,315 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-16356866 passed 2025-11-19 18:16:30,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:30,465 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-16356866, IP 20.250.78.67, Port 22 2025-11-19 18:16:30,631 - DEBUG - VM ctest-vn1-vm1-16356866 is ready for SSH connections 2025-11-19 18:16:30,631 - INFO - Waiting for VM ctest-vn2-vm1-63718552 to be up.. 2025-11-19 18:16:30,714 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:16:30,714 - INFO - VM name : ctest-vn2-vm1-63718552 2025-11-19 18:16:30,805 - DEBUG - VM ctest-vn2-vm1-63718552 ID is 8ed7a869-30fc-4a26-bf13-6f8087d20b1c 2025-11-19 18:16:30,805 - DEBUG - VM ctest-vn2-vm1-63718552 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:16:30,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8ed7a869-30fc-4a26-bf13-6f8087d20b1c 2025-11-19 18:16:30,888 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/357a98c7-9fbf-4148-a1da-1edf4748da0a 2025-11-19 18:16:32,132 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.628/2.882/1.253 ms') 2025-11-19 18:16:32,132 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63718552 passed 2025-11-19 18:16:32,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:32,281 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63718552, IP 100.135.72.67, Port 22 2025-11-19 18:16:32,449 - DEBUG - VM ctest-vn2-vm1-63718552 is ready for SSH connections 2025-11-19 18:16:32,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:32,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.135.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:16:32,449 - DEBUG - ping -s 56 -c 3 -W 1 100.135.72.67 2025-11-19 18:16:37,602 - DEBUG - PING 100.135.72.67 (100.135.72.67): 56 data bytes --- 100.135.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 18:16:37,602 - WARNING - Ping to IP 100.135.72.67 from VM ctest-vn1-vm1-16356866 failed 2025-11-19 18:16:37,603 - INFO - Adding interface with subnet_id 7630a53d-53a5-4334-88d3-51c658f9483a, port_id None to router 56ff19f0-273a-4fe1-a306-61d0be8d46a4 2025-11-19 18:16:37,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:37,849 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.135.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:16:37,849 - DEBUG - ping -s 56 -c 3 -W 1 100.135.72.67 2025-11-19 18:16:41,058 - DEBUG - PING 100.135.72.67 (100.135.72.67): 56 data bytes 64 bytes from 100.135.72.67: seq=1 ttl=63 time=3.181 ms 64 bytes from 100.135.72.67: seq=2 ttl=63 time=0.947 ms --- 100.135.72.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.947/2.064/3.181 ms 2025-11-19 18:16:41,058 - WARNING - Ping to IP 100.135.72.67 from VM ctest-vn1-vm1-16356866 failed 2025-11-19 18:16:42,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.135.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:16:42,060 - DEBUG - ping -s 56 -c 3 -W 1 100.135.72.67 2025-11-19 18:16:44,274 - DEBUG - PING 100.135.72.67 (100.135.72.67): 56 data bytes 64 bytes from 100.135.72.67: seq=0 ttl=63 time=1.616 ms 64 bytes from 100.135.72.67: seq=1 ttl=63 time=1.388 ms 64 bytes from 100.135.72.67: seq=2 ttl=63 time=0.908 ms --- 100.135.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/1.304/1.616 ms 2025-11-19 18:16:44,274 - INFO - Ping to IP 100.135.72.67 from VM ctest-vn1-vm1-16356866 passed 2025-11-19 18:16:44,274 - INFO - Deleting interface with subnet_id 9b4afa62-334a-4ad2-9ac0-3fa766fd4abe, port_id None from router 56ff19f0-273a-4fe1-a306-61d0be8d46a4 2025-11-19 18:16:44,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:44,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.135.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:16:44,392 - DEBUG - ping -s 56 -c 3 -W 1 100.135.72.67 2025-11-19 18:16:47,607 - DEBUG - PING 100.135.72.67 (100.135.72.67): 56 data bytes --- 100.135.72.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 18:16:47,607 - WARNING - Ping to IP 100.135.72.67 from VM ctest-vn1-vm1-16356866 failed 2025-11-19 18:16:47,607 - INFO - Adding interface with subnet_id 9b4afa62-334a-4ad2-9ac0-3fa766fd4abe, port_id None to router 56ff19f0-273a-4fe1-a306-61d0be8d46a4 2025-11-19 18:16:47,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:16:47,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.135.72.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:16:47,825 - DEBUG - ping -s 56 -c 3 -W 1 100.135.72.67 2025-11-19 18:16:50,039 - DEBUG - PING 100.135.72.67 (100.135.72.67): 56 data bytes 64 bytes from 100.135.72.67: seq=0 ttl=63 time=1.764 ms 64 bytes from 100.135.72.67: seq=1 ttl=63 time=0.886 ms 64 bytes from 100.135.72.67: seq=2 ttl=63 time=0.980 ms --- 100.135.72.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.210/1.764 ms 2025-11-19 18:16:50,040 - INFO - Ping to IP 100.135.72.67 from VM ctest-vn1-vm1-16356866 passed 2025-11-19 18:16:50,040 - INFO - Deleting interface with subnet_id 7630a53d-53a5-4334-88d3-51c658f9483a, port_id None from router 56ff19f0-273a-4fe1-a306-61d0be8d46a4 2025-11-19 18:16:50,206 - INFO - Deleting interface with subnet_id 9b4afa62-334a-4ad2-9ac0-3fa766fd4abe, port_id None from router 56ff19f0-273a-4fe1-a306-61d0be8d46a4 2025-11-19 18:16:50,388 - INFO - Deleting VM ctest-vn2-vm1-63718552 2025-11-19 18:16:50,461 - INFO - Deleting VM ctest-vn1-vm1-16356866 2025-11-19 18:16:50,534 - INFO - Deleting VN ctest-vn2-34967407 2025-11-19 18:16:50,575 - DEBUG - VN f5ce2641-73a3-4ee1-bd56-799d73b70625 still in use: Unable to complete operation on network f5ce2641-73a3-4ee1-bd56-799d73b70625. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd1d27e1-fc1f-44b8-a974-da758d16ccb7'] 2025-11-19 18:16:50,575 - WARNING - Deleting VN ctest-vn2-34967407 failed..Will retry 2025-11-19 18:16:52,666 - DEBUG - Response for deleting network () 2025-11-19 18:16:52,666 - INFO - Deleting VN ctest-vn1-92232352 2025-11-19 18:16:52,773 - DEBUG - Response for deleting network () 2025-11-19 18:16:53,037 - DEBUG - No XMPP flaps were noticed during the test
2025-11-19 18:16:53,038 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-11-19 18:16:53,038 - INFO - -------------------------------------------------------------------------------- 2025-11-19 18:16:53,712 - INFO - Deleted project: ctest-TestRouters-52749574, ID : cff4345c-9bb7-40f3-b3d8-0c62dce092b5