2025-10-11 21:40:20,695 - INFO - Domain Default found not creating 2025-10-11 21:40:20,812 - INFO - Project ctest-TestRouters-84709263 not found, creating it 2025-10-11 21:40:21,307 - INFO - Created Project:ctest-TestRouters-84709263, ID : 85f3e3d3-875a-4a4b-af66-058ac58ffa65 2025-10-11 21:40:22,671 - INFO - ================================================================================ 2025-10-11 21:40:22,672 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-11 21:40:22,672 - 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-10-11 21:40:22,923 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-11 21:40:22,923 - INFO - Initial checks done. Running the testcase now 2025-10-11 21:40:22,923 - INFO - 2025-10-11 21:40:23,443 - DEBUG - Response for create_network : {'network': {'id': '8a18d047-6f41-4b4d-9be5-95b8ae670d75', 'name': 'ctest-vn1-85656063', 'tenant_id': '85f3e3d3875a4a4baf66058ac58ffa65', 'project_id': '85f3e3d3875a4a4baf66058ac58ffa65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84709263', 'ctest-vn1-85656063'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:40:23,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '995f60b0-b6ad-42c9-b75c-08fbdf589a5e', 'name': '', 'tenant_id': '85f3e3d3875a4a4baf66058ac58ffa65', 'network_id': '8a18d047-6f41-4b4d-9be5-95b8ae670d75', 'ip_version': 4, 'cidr': '220.181.77.0/26', 'allocation_pools': [{'start': '220.181.77.2', 'end': '220.181.77.62'}], 'gateway_ip': '220.181.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.181.77.2', 'tags': [], 'project_id': '85f3e3d3875a4a4baf66058ac58ffa65'}} 2025-10-11 21:40:23,653 - INFO - Created VN ctest-vn1-85656063 2025-10-11 21:40:23,703 - DEBUG - VN ctest-vn1-85656063 UUID is 8a18d047-6f41-4b4d-9be5-95b8ae670d75 2025-10-11 21:40:24,010 - DEBUG - Response for create_network : {'network': {'id': 'e5b351aa-fa8b-4d5e-a4b6-bf9c7e1ffee0', 'name': 'ctest-vn2-43785016', 'tenant_id': '85f3e3d3875a4a4baf66058ac58ffa65', 'project_id': '85f3e3d3875a4a4baf66058ac58ffa65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84709263', 'ctest-vn2-43785016'], 'port_security_enabled': True, 'description': ''}} 2025-10-11 21:40:24,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee5064c1-63f0-4d71-86e9-fab7f835e9c4', 'name': '', 'tenant_id': '85f3e3d3875a4a4baf66058ac58ffa65', 'network_id': 'e5b351aa-fa8b-4d5e-a4b6-bf9c7e1ffee0', 'ip_version': 4, 'cidr': '3.9.57.192/26', 'allocation_pools': [{'start': '3.9.57.194', 'end': '3.9.57.254'}], 'gateway_ip': '3.9.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.9.57.194', 'tags': [], 'project_id': '85f3e3d3875a4a4baf66058ac58ffa65'}} 2025-10-11 21:40:24,185 - INFO - Created VN ctest-vn2-43785016 2025-10-11 21:40:24,235 - DEBUG - VN ctest-vn2-43785016 UUID is e5b351aa-fa8b-4d5e-a4b6-bf9c7e1ffee0 2025-10-11 21:40:24,480 - DEBUG - Services list from nova: [, , ] 2025-10-11 21:40:25,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:40:26,539 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4289-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4289-1) 2025-10-11 21:40:26,595 - INFO - Adding interface with subnet_id 995f60b0-b6ad-42c9-b75c-08fbdf589a5e, port_id None to router 221036f1-2e12-4843-82e7-791345624ab4 2025-10-11 21:40:26,819 - INFO - Waiting for VM ctest-vn1-vm1-73939009 to be up.. 2025-10-11 21:40:26,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-11 21:40:31,983 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:40:31,983 - INFO - VM name : ctest-vn1-vm1-73939009 2025-10-11 21:40:32,046 - DEBUG - VM ctest-vn1-vm1-73939009 ID is 4607b43e-5737-42a6-82ca-4297ef9ef845 2025-10-11 21:40:32,062 - DEBUG - VM ctest-vn1-vm1-73939009 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:40:32,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4607b43e-5737-42a6-82ca-4297ef9ef845 2025-10-11 21:40:32,416 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4607b43e-5737-42a6-82ca-4297ef9ef845 2025-10-11 21:40:32,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f3f44cd9-c49d-4066-b183-1b32a7aed0dd 2025-10-11 21:40:35,721 - 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 1028ms') 2025-10-11 21:40:35,721 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73939009 failed! 2025-10-11 21:40:35,779 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84709263:ctest-vn1-85656063 is 220.181.77.1 and allocation pool is NOT set 2025-10-11 21:40:37,844 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.333 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.333/1.546/2.759/1.213 ms') 2025-10-11 21:40:37,844 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73939009 passed 2025-10-11 21:40:37,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:37,991 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73939009, IP 220.181.77.3, Port 22 2025-10-11 21:40:38,147 - DEBUG - VM ctest-vn1-vm1-73939009 is ready for SSH connections 2025-10-11 21:40:38,147 - INFO - Waiting for VM ctest-vn2-vm1-08617212 to be up.. 2025-10-11 21:40:38,209 - DEBUG - VM is in ACTIVE state now 2025-10-11 21:40:38,209 - INFO - VM name : ctest-vn2-vm1-08617212 2025-10-11 21:40:38,272 - DEBUG - VM ctest-vn2-vm1-08617212 ID is 10234c1f-2395-453b-bfb4-33a6bffd2861 2025-10-11 21:40:38,272 - DEBUG - VM ctest-vn2-vm1-08617212 launched on Node cn-jenkins-deploy-platform-ansible-os-4289-1 2025-10-11 21:40:38,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/10234c1f-2395-453b-bfb4-33a6bffd2861 2025-10-11 21:40:38,339 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c2a4d65c-43f2-45cf-9a13-b8e20f60cd77 2025-10-11 21:40:39,567 - 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.337 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.337/1.541/2.745/1.204 ms') 2025-10-11 21:40:39,567 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08617212 passed 2025-10-11 21:40:39,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:39,715 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08617212, IP 3.9.57.195, Port 22 2025-10-11 21:40:39,882 - DEBUG - VM ctest-vn2-vm1-08617212 is ready for SSH connections 2025-10-11 21:40:39,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:39,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.9.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:40:39,883 - DEBUG - ping -s 56 -c 3 -W 1 3.9.57.195 2025-10-11 21:40:44,534 - DEBUG - PING 3.9.57.195 (3.9.57.195): 56 data bytes --- 3.9.57.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-11 21:40:44,534 - WARNING - Ping to IP 3.9.57.195 from VM ctest-vn1-vm1-73939009 failed 2025-10-11 21:40:44,534 - INFO - Adding interface with subnet_id ee5064c1-63f0-4d71-86e9-fab7f835e9c4, port_id None to router 221036f1-2e12-4843-82e7-791345624ab4 2025-10-11 21:40:44,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:44,751 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.9.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:40:44,751 - DEBUG - ping -s 56 -c 3 -W 1 3.9.57.195 2025-10-11 21:40:46,942 - DEBUG - PING 3.9.57.195 (3.9.57.195): 56 data bytes 64 bytes from 3.9.57.195: seq=0 ttl=63 time=2.290 ms 64 bytes from 3.9.57.195: seq=1 ttl=63 time=0.766 ms 64 bytes from 3.9.57.195: seq=2 ttl=63 time=0.765 ms --- 3.9.57.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/1.273/2.290 ms 2025-10-11 21:40:46,942 - INFO - Ping to IP 3.9.57.195 from VM ctest-vn1-vm1-73939009 passed 2025-10-11 21:40:46,942 - INFO - Deleting interface with subnet_id 995f60b0-b6ad-42c9-b75c-08fbdf589a5e, port_id None from router 221036f1-2e12-4843-82e7-791345624ab4 2025-10-11 21:40:47,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:47,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.9.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:40:47,040 - DEBUG - ping -s 56 -c 3 -W 1 3.9.57.195 2025-10-11 21:40:50,234 - DEBUG - PING 3.9.57.195 (3.9.57.195): 56 data bytes --- 3.9.57.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-11 21:40:50,234 - WARNING - Ping to IP 3.9.57.195 from VM ctest-vn1-vm1-73939009 failed 2025-10-11 21:40:50,235 - INFO - Adding interface with subnet_id 995f60b0-b6ad-42c9-b75c-08fbdf589a5e, port_id None to router 221036f1-2e12-4843-82e7-791345624ab4 2025-10-11 21:40:50,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-11 21:40:50,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.9.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-11 21:40:50,436 - DEBUG - ping -s 56 -c 3 -W 1 3.9.57.195 2025-10-11 21:40:52,632 - DEBUG - PING 3.9.57.195 (3.9.57.195): 56 data bytes 64 bytes from 3.9.57.195: seq=0 ttl=63 time=1.244 ms 64 bytes from 3.9.57.195: seq=1 ttl=63 time=0.764 ms 64 bytes from 3.9.57.195: seq=2 ttl=63 time=0.729 ms --- 3.9.57.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.729/0.912/1.244 ms 2025-10-11 21:40:52,632 - INFO - Ping to IP 3.9.57.195 from VM ctest-vn1-vm1-73939009 passed 2025-10-11 21:40:52,632 - INFO - Deleting interface with subnet_id ee5064c1-63f0-4d71-86e9-fab7f835e9c4, port_id None from router 221036f1-2e12-4843-82e7-791345624ab4 2025-10-11 21:40:52,734 - INFO - Deleting interface with subnet_id 995f60b0-b6ad-42c9-b75c-08fbdf589a5e, port_id None from router 221036f1-2e12-4843-82e7-791345624ab4 2025-10-11 21:40:52,873 - INFO - Deleting VM ctest-vn2-vm1-08617212 2025-10-11 21:40:52,938 - INFO - Deleting VM ctest-vn1-vm1-73939009 2025-10-11 21:40:52,997 - INFO - Deleting VN ctest-vn2-43785016 2025-10-11 21:40:53,030 - DEBUG - VN e5b351aa-fa8b-4d5e-a4b6-bf9c7e1ffee0 still in use: Unable to complete operation on network e5b351aa-fa8b-4d5e-a4b6-bf9c7e1ffee0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e49dcfcb-d16f-44b8-9d8c-2c76f3bb07a6'] 2025-10-11 21:40:53,030 - WARNING - Deleting VN ctest-vn2-43785016 failed..Will retry 2025-10-11 21:40:55,141 - DEBUG - Response for deleting network () 2025-10-11 21:40:55,142 - INFO - Deleting VN ctest-vn1-85656063 2025-10-11 21:40:55,247 - DEBUG - Response for deleting network () 2025-10-11 21:40:55,497 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 21:40:55,497 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-10-11 21:40:55,497 - INFO - -------------------------------------------------------------------------------- 2025-10-11 21:40:56,139 - INFO - Deleted project: ctest-TestRouters-84709263, ID : 85f3e3d3-875a-4a4b-af66-058ac58ffa65