2025-09-15 11:31:15,122 - INFO - Domain Default found not creating 2025-09-15 11:31:15,261 - INFO - Project ctest-TestRouters-05712762 not found, creating it 2025-09-15 11:31:15,724 - INFO - Created Project:ctest-TestRouters-05712762, ID : f4ad5b75-fe3d-4255-8467-d237a092ac90 2025-09-15 11:31:17,333 - INFO - ================================================================================ 2025-09-15 11:31:17,333 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-15 11:31:17,333 - 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-09-15 11:31:17,593 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-15 11:31:17,593 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:31:17,593 - INFO - 2025-09-15 11:31:18,154 - DEBUG - Response for create_network : {'network': {'id': '5209df14-74b2-4cfd-b632-4142ca1a8761', 'name': 'ctest-vn1-51113339', 'tenant_id': 'f4ad5b75fe3d42558467d237a092ac90', 'project_id': 'f4ad5b75fe3d42558467d237a092ac90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05712762', 'ctest-vn1-51113339'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:31:18,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '59a15704-b4ac-4b7a-8db9-37db217bcbbe', 'name': '', 'tenant_id': 'f4ad5b75fe3d42558467d237a092ac90', 'network_id': '5209df14-74b2-4cfd-b632-4142ca1a8761', 'ip_version': 4, 'cidr': '160.201.188.192/26', 'allocation_pools': [{'start': '160.201.188.194', 'end': '160.201.188.254'}], 'gateway_ip': '160.201.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.201.188.194', 'tags': [], 'project_id': 'f4ad5b75fe3d42558467d237a092ac90'}} 2025-09-15 11:31:18,341 - INFO - Created VN ctest-vn1-51113339 2025-09-15 11:31:18,404 - DEBUG - VN ctest-vn1-51113339 UUID is 5209df14-74b2-4cfd-b632-4142ca1a8761 2025-09-15 11:31:18,726 - DEBUG - Response for create_network : {'network': {'id': '3e61e726-52c8-4110-9ee0-38be468e837d', 'name': 'ctest-vn2-86366486', 'tenant_id': 'f4ad5b75fe3d42558467d237a092ac90', 'project_id': 'f4ad5b75fe3d42558467d237a092ac90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05712762', 'ctest-vn2-86366486'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:31:18,930 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efae214d-0a31-4d73-83be-c27f79f3aa8b', 'name': '', 'tenant_id': 'f4ad5b75fe3d42558467d237a092ac90', 'network_id': '3e61e726-52c8-4110-9ee0-38be468e837d', 'ip_version': 4, 'cidr': '20.43.15.0/26', 'allocation_pools': [{'start': '20.43.15.2', 'end': '20.43.15.62'}], 'gateway_ip': '20.43.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.43.15.2', 'tags': [], 'project_id': 'f4ad5b75fe3d42558467d237a092ac90'}} 2025-09-15 11:31:18,951 - INFO - Created VN ctest-vn2-86366486 2025-09-15 11:31:19,003 - DEBUG - VN ctest-vn2-86366486 UUID is 3e61e726-52c8-4110-9ee0-38be468e837d 2025-09-15 11:31:19,215 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:31:20,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4115-1) 2025-09-15 11:31:21,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4115-1) 2025-09-15 11:31:21,575 - INFO - Adding interface with subnet_id 59a15704-b4ac-4b7a-8db9-37db217bcbbe, port_id None to router cd71441d-2e67-45af-81c6-d2929001ebe8 2025-09-15 11:31:21,868 - INFO - Waiting for VM ctest-vn1-vm1-67120647 to be up.. 2025-09-15 11:31:21,980 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:31:27,049 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:31:27,049 - INFO - VM name : ctest-vn1-vm1-67120647 2025-09-15 11:31:27,144 - DEBUG - VM ctest-vn1-vm1-67120647 ID is dfc5a67f-58ed-420c-a6ed-220cb3528544 2025-09-15 11:31:27,164 - DEBUG - VM ctest-vn1-vm1-67120647 launched on Node cn-jenkins-deploy-platform-ansible-os-4115-1 2025-09-15 11:31:27,234 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dfc5a67f-58ed-420c-a6ed-220cb3528544 2025-09-15 11:31:27,531 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dfc5a67f-58ed-420c-a6ed-220cb3528544 2025-09-15 11:31:27,561 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a27d909b-05db-4cc3-bf73-764d91429239 2025-09-15 11:31:30,806 - 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 1015ms') 2025-09-15 11:31:30,806 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67120647 failed! 2025-09-15 11:31:30,867 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-05712762:ctest-vn1-51113339 is 160.201.188.193 and allocation pool is NOT set 2025-09-15 11:31:32,926 - 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=3.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.570 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.570/2.239/3.909/1.669 ms') 2025-09-15 11:31:32,926 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67120647 passed 2025-09-15 11:31:33,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:31:33,075 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67120647, IP 160.201.188.195, Port 22 2025-09-15 11:31:33,235 - DEBUG - VM ctest-vn1-vm1-67120647 is ready for SSH connections 2025-09-15 11:31:33,235 - INFO - Waiting for VM ctest-vn2-vm1-44822158 to be up.. 2025-09-15 11:31:33,327 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:31:33,327 - INFO - VM name : ctest-vn2-vm1-44822158 2025-09-15 11:31:33,398 - DEBUG - VM ctest-vn2-vm1-44822158 ID is 260aa95b-2ccb-4f04-bc0e-96ef9a3ccf15 2025-09-15 11:31:33,398 - DEBUG - VM ctest-vn2-vm1-44822158 launched on Node cn-jenkins-deploy-platform-ansible-os-4115-1 2025-09-15 11:31:33,474 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/260aa95b-2ccb-4f04-bc0e-96ef9a3ccf15 2025-09-15 11:31:33,483 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9837b3b1-4da3-4fbe-adb5-8a3a89aeb92d 2025-09-15 11:31:34,741 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.682 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.682/1.892/3.102/1.210 ms') 2025-09-15 11:31:34,741 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-44822158 passed 2025-09-15 11:31:34,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:31:34,899 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-44822158, IP 20.43.15.3, Port 22 2025-09-15 11:31:35,073 - DEBUG - VM ctest-vn2-vm1-44822158 is ready for SSH connections 2025-09-15 11:31:35,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:31:35,073 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.43.15.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 11:31:35,073 - DEBUG - ping -s 56 -c 3 -W 1 20.43.15.3 2025-09-15 11:31:40,063 - DEBUG - PING 20.43.15.3 (20.43.15.3): 56 data bytes --- 20.43.15.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:31:40,063 - WARNING - Ping to IP 20.43.15.3 from VM ctest-vn1-vm1-67120647 failed 2025-09-15 11:31:40,063 - INFO - Adding interface with subnet_id efae214d-0a31-4d73-83be-c27f79f3aa8b, port_id None to router cd71441d-2e67-45af-81c6-d2929001ebe8 2025-09-15 11:31:40,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:31:40,321 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.43.15.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 11:31:40,321 - DEBUG - ping -s 56 -c 3 -W 1 20.43.15.3 2025-09-15 11:31:43,528 - DEBUG - PING 20.43.15.3 (20.43.15.3): 56 data bytes 64 bytes from 20.43.15.3: seq=1 ttl=63 time=2.679 ms 64 bytes from 20.43.15.3: seq=2 ttl=63 time=0.887 ms --- 20.43.15.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.887/1.783/2.679 ms 2025-09-15 11:31:43,528 - WARNING - Ping to IP 20.43.15.3 from VM ctest-vn1-vm1-67120647 failed 2025-09-15 11:31:44,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.43.15.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 11:31:44,529 - DEBUG - ping -s 56 -c 3 -W 1 20.43.15.3 2025-09-15 11:31:46,740 - DEBUG - PING 20.43.15.3 (20.43.15.3): 56 data bytes 64 bytes from 20.43.15.3: seq=0 ttl=63 time=1.926 ms 64 bytes from 20.43.15.3: seq=1 ttl=63 time=0.844 ms 64 bytes from 20.43.15.3: seq=2 ttl=63 time=0.918 ms --- 20.43.15.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.229/1.926 ms 2025-09-15 11:31:46,740 - INFO - Ping to IP 20.43.15.3 from VM ctest-vn1-vm1-67120647 passed 2025-09-15 11:31:46,740 - INFO - Deleting interface with subnet_id 59a15704-b4ac-4b7a-8db9-37db217bcbbe, port_id None from router cd71441d-2e67-45af-81c6-d2929001ebe8 2025-09-15 11:31:46,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:31:46,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.43.15.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 11:31:46,861 - DEBUG - ping -s 56 -c 3 -W 1 20.43.15.3 2025-09-15 11:31:50,067 - DEBUG - PING 20.43.15.3 (20.43.15.3): 56 data bytes --- 20.43.15.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:31:50,067 - WARNING - Ping to IP 20.43.15.3 from VM ctest-vn1-vm1-67120647 failed 2025-09-15 11:31:50,067 - INFO - Adding interface with subnet_id 59a15704-b4ac-4b7a-8db9-37db217bcbbe, port_id None to router cd71441d-2e67-45af-81c6-d2929001ebe8 2025-09-15 11:31:50,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:31:50,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.43.15.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-15 11:31:50,285 - DEBUG - ping -s 56 -c 3 -W 1 20.43.15.3 2025-09-15 11:31:52,488 - DEBUG - PING 20.43.15.3 (20.43.15.3): 56 data bytes 64 bytes from 20.43.15.3: seq=0 ttl=63 time=1.552 ms 64 bytes from 20.43.15.3: seq=1 ttl=63 time=0.974 ms 64 bytes from 20.43.15.3: seq=2 ttl=63 time=0.852 ms --- 20.43.15.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/1.126/1.552 ms 2025-09-15 11:31:52,488 - INFO - Ping to IP 20.43.15.3 from VM ctest-vn1-vm1-67120647 passed 2025-09-15 11:31:52,489 - INFO - Deleting interface with subnet_id efae214d-0a31-4d73-83be-c27f79f3aa8b, port_id None from router cd71441d-2e67-45af-81c6-d2929001ebe8 2025-09-15 11:31:52,598 - INFO - Deleting interface with subnet_id 59a15704-b4ac-4b7a-8db9-37db217bcbbe, port_id None from router cd71441d-2e67-45af-81c6-d2929001ebe8 2025-09-15 11:31:52,774 - INFO - Deleting VM ctest-vn2-vm1-44822158 2025-09-15 11:31:52,851 - INFO - Deleting VM ctest-vn1-vm1-67120647 2025-09-15 11:31:52,922 - INFO - Deleting VN ctest-vn2-86366486 2025-09-15 11:31:52,964 - DEBUG - VN 3e61e726-52c8-4110-9ee0-38be468e837d still in use: Unable to complete operation on network 3e61e726-52c8-4110-9ee0-38be468e837d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3d302da-1e4d-466e-b858-eec1dc6c0eba'] 2025-09-15 11:31:52,964 - WARNING - Deleting VN ctest-vn2-86366486 failed..Will retry 2025-09-15 11:31:55,051 - DEBUG - Response for deleting network () 2025-09-15 11:31:55,051 - INFO - Deleting VN ctest-vn1-51113339 2025-09-15 11:31:55,145 - DEBUG - Response for deleting network () 2025-09-15 11:31:55,405 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 11:31:55,405 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-15 11:31:55,405 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:31:56,061 - INFO - Deleted project: ctest-TestRouters-05712762, ID : f4ad5b75-fe3d-4255-8467-d237a092ac90