2025-11-07 20:12:27,668 - INFO - Domain Default found not creating 2025-11-07 20:12:27,948 - INFO - Project ctest-TestRouters-96614483 not found, creating it 2025-11-07 20:12:28,567 - INFO - Created Project:ctest-TestRouters-96614483, ID : 69a9eee5-d783-46e1-8075-a1e63bc0a70f 2025-11-07 20:12:30,677 - INFO - ================================================================================ 2025-11-07 20:12:30,678 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-07 20:12:30,678 - 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-07 20:12:30,999 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.252': '0'}} with 2025-11-07 20:12:30,999 - INFO - Initial checks done. Running the testcase now 2025-11-07 20:12:30,999 - INFO - 2025-11-07 20:12:31,741 - DEBUG - Response for create_network : {'network': {'id': '808deec3-1d6b-4d6f-88c2-028fc9b81d51', 'name': 'ctest-vn1-87704409', 'tenant_id': '69a9eee5d78346e18075a1e63bc0a70f', 'project_id': '69a9eee5d78346e18075a1e63bc0a70f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96614483', 'ctest-vn1-87704409'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:12:31,976 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd1e6888-34a4-4950-a0d1-e50707b2bac6', 'name': '', 'tenant_id': '69a9eee5d78346e18075a1e63bc0a70f', 'network_id': '808deec3-1d6b-4d6f-88c2-028fc9b81d51', 'ip_version': 4, 'cidr': '203.234.46.128/26', 'allocation_pools': [{'start': '203.234.46.130', 'end': '203.234.46.190'}], 'gateway_ip': '203.234.46.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.234.46.130', 'tags': [], 'project_id': '69a9eee5d78346e18075a1e63bc0a70f'}} 2025-11-07 20:12:32,008 - INFO - Created VN ctest-vn1-87704409 2025-11-07 20:12:32,066 - DEBUG - VN ctest-vn1-87704409 UUID is 808deec3-1d6b-4d6f-88c2-028fc9b81d51 2025-11-07 20:12:32,563 - DEBUG - Response for create_network : {'network': {'id': 'e239d873-45f6-4c7e-aed9-ec3d6fc5dd63', 'name': 'ctest-vn2-83093889', 'tenant_id': '69a9eee5d78346e18075a1e63bc0a70f', 'project_id': '69a9eee5d78346e18075a1e63bc0a70f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-96614483', 'ctest-vn2-83093889'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 20:12:32,840 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4d1b55b-91a8-4caa-a959-75e891d61681', 'name': '', 'tenant_id': '69a9eee5d78346e18075a1e63bc0a70f', 'network_id': 'e239d873-45f6-4c7e-aed9-ec3d6fc5dd63', 'ip_version': 4, 'cidr': '107.60.42.64/26', 'allocation_pools': [{'start': '107.60.42.66', 'end': '107.60.42.126'}], 'gateway_ip': '107.60.42.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.60.42.66', 'tags': [], 'project_id': '69a9eee5d78346e18075a1e63bc0a70f'}} 2025-11-07 20:12:32,870 - INFO - Created VN ctest-vn2-83093889 2025-11-07 20:12:32,938 - DEBUG - VN ctest-vn2-83093889 UUID is e239d873-45f6-4c7e-aed9-ec3d6fc5dd63 2025-11-07 20:12:33,183 - DEBUG - Services list from nova: [, , ] 2025-11-07 20:12:34,750 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:12:36,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4672-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4672-1) 2025-11-07 20:12:36,356 - INFO - Adding interface with subnet_id fd1e6888-34a4-4950-a0d1-e50707b2bac6, port_id None to router 5932a09a-6445-4298-9eb3-68d608422b32 2025-11-07 20:12:36,631 - INFO - Waiting for VM ctest-vn1-vm1-12244547 to be up.. 2025-11-07 20:12:36,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 20:12:41,881 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:12:41,881 - INFO - VM name : ctest-vn1-vm1-12244547 2025-11-07 20:12:42,004 - DEBUG - VM ctest-vn1-vm1-12244547 ID is 7a3f3b28-ab62-4422-ad9f-4dd6c5dc5a13 2025-11-07 20:12:42,026 - DEBUG - VM ctest-vn1-vm1-12244547 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:12:42,150 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/7a3f3b28-ab62-4422-ad9f-4dd6c5dc5a13 2025-11-07 20:12:42,499 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/7a3f3b28-ab62-4422-ad9f-4dd6c5dc5a13 2025-11-07 20:12:42,555 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/95ccca65-6ef3-46d6-ae08-a298e6f820c7 2025-11-07 20:12:45,901 - 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-11-07 20:12:45,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12244547 failed! 2025-11-07 20:12:45,975 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-96614483:ctest-vn1-87704409 is 203.234.46.129 and allocation pool is NOT set 2025-11-07 20:12:48,048 - 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=5.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.36 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.362/3.638/5.914/2.276 ms') 2025-11-07 20:12:48,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12244547 passed 2025-11-07 20:12:48,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:48,223 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12244547, IP 203.234.46.131, Port 22 2025-11-07 20:12:48,419 - DEBUG - VM ctest-vn1-vm1-12244547 is ready for SSH connections 2025-11-07 20:12:48,419 - INFO - Waiting for VM ctest-vn2-vm1-12940049 to be up.. 2025-11-07 20:12:48,568 - DEBUG - VM is in ACTIVE state now 2025-11-07 20:12:48,569 - INFO - VM name : ctest-vn2-vm1-12940049 2025-11-07 20:12:48,684 - DEBUG - VM ctest-vn2-vm1-12940049 ID is ef267356-5dd0-4383-80bc-ece8df987673 2025-11-07 20:12:48,685 - DEBUG - VM ctest-vn2-vm1-12940049 launched on Node cn-jenkins-deploy-platform-ansible-os-4672-1 2025-11-07 20:12:48,804 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ef267356-5dd0-4383-80bc-ece8df987673 2025-11-07 20:12:48,813 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/3944e3f0-837a-47db-9ba3-10f5b1216a9e 2025-11-07 20:12:50,080 - 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=8.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.793 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.793/4.759/8.725/3.966 ms') 2025-11-07 20:12:50,081 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-12940049 passed 2025-11-07 20:12:50,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:50,275 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12940049, IP 107.60.42.67, Port 22 2025-11-07 20:12:50,484 - DEBUG - VM ctest-vn2-vm1-12940049 is ready for SSH connections 2025-11-07 20:12:50,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:50,485 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.60.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:12:50,485 - DEBUG - ping -s 56 -c 3 -W 1 107.60.42.67 2025-11-07 20:12:55,964 - DEBUG - PING 107.60.42.67 (107.60.42.67): 56 data bytes --- 107.60.42.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 20:12:55,965 - WARNING - Ping to IP 107.60.42.67 from VM ctest-vn1-vm1-12244547 failed 2025-11-07 20:12:55,965 - INFO - Adding interface with subnet_id f4d1b55b-91a8-4caa-a959-75e891d61681, port_id None to router 5932a09a-6445-4298-9eb3-68d608422b32 2025-11-07 20:12:56,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:56,421 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.60.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:12:56,421 - DEBUG - ping -s 56 -c 3 -W 1 107.60.42.67 2025-11-07 20:12:58,652 - DEBUG - PING 107.60.42.67 (107.60.42.67): 56 data bytes 64 bytes from 107.60.42.67: seq=0 ttl=63 time=2.939 ms 64 bytes from 107.60.42.67: seq=1 ttl=63 time=2.043 ms 64 bytes from 107.60.42.67: seq=2 ttl=63 time=1.800 ms --- 107.60.42.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.800/2.260/2.939 ms 2025-11-07 20:12:58,653 - INFO - Ping to IP 107.60.42.67 from VM ctest-vn1-vm1-12244547 passed 2025-11-07 20:12:58,653 - INFO - Deleting interface with subnet_id fd1e6888-34a4-4950-a0d1-e50707b2bac6, port_id None from router 5932a09a-6445-4298-9eb3-68d608422b32 2025-11-07 20:12:58,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:12:58,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.60.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:12:58,869 - DEBUG - ping -s 56 -c 3 -W 1 107.60.42.67 2025-11-07 20:13:02,096 - DEBUG - PING 107.60.42.67 (107.60.42.67): 56 data bytes --- 107.60.42.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 20:13:02,096 - WARNING - Ping to IP 107.60.42.67 from VM ctest-vn1-vm1-12244547 failed 2025-11-07 20:13:02,096 - INFO - Adding interface with subnet_id fd1e6888-34a4-4950-a0d1-e50707b2bac6, port_id None to router 5932a09a-6445-4298-9eb3-68d608422b32 2025-11-07 20:13:02,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 20:13:02,466 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.60.42.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-07 20:13:02,466 - DEBUG - ping -s 56 -c 3 -W 1 107.60.42.67 2025-11-07 20:13:04,714 - DEBUG - PING 107.60.42.67 (107.60.42.67): 56 data bytes 64 bytes from 107.60.42.67: seq=0 ttl=63 time=2.201 ms 64 bytes from 107.60.42.67: seq=1 ttl=63 time=1.698 ms 64 bytes from 107.60.42.67: seq=2 ttl=63 time=1.901 ms --- 107.60.42.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.698/1.933/2.201 ms 2025-11-07 20:13:04,715 - INFO - Ping to IP 107.60.42.67 from VM ctest-vn1-vm1-12244547 passed 2025-11-07 20:13:04,715 - INFO - Deleting interface with subnet_id f4d1b55b-91a8-4caa-a959-75e891d61681, port_id None from router 5932a09a-6445-4298-9eb3-68d608422b32 2025-11-07 20:13:04,966 - INFO - Deleting interface with subnet_id fd1e6888-34a4-4950-a0d1-e50707b2bac6, port_id None from router 5932a09a-6445-4298-9eb3-68d608422b32 2025-11-07 20:13:05,187 - INFO - Deleting VM ctest-vn2-vm1-12940049 2025-11-07 20:13:05,264 - INFO - Deleting VM ctest-vn1-vm1-12244547 2025-11-07 20:13:05,344 - INFO - Deleting VN ctest-vn2-83093889 2025-11-07 20:13:05,427 - DEBUG - VN e239d873-45f6-4c7e-aed9-ec3d6fc5dd63 still in use: Unable to complete operation on network e239d873-45f6-4c7e-aed9-ec3d6fc5dd63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12de4240-b7f0-42da-869d-f33adfd5dcd5'] 2025-11-07 20:13:05,427 - WARNING - Deleting VN ctest-vn2-83093889 failed..Will retry 2025-11-07 20:13:07,631 - DEBUG - Response for deleting network () 2025-11-07 20:13:07,631 - INFO - Deleting VN ctest-vn1-87704409 2025-11-07 20:13:07,749 - DEBUG - Response for deleting network () 2025-11-07 20:13:08,062 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 20:13:08,062 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-07 20:13:08,062 - INFO - -------------------------------------------------------------------------------- 2025-11-07 20:13:08,996 - INFO - Deleted project: ctest-TestRouters-96614483, ID : 69a9eee5-d783-46e1-8075-a1e63bc0a70f