2025-11-05 08:16:49,156 - INFO - Domain Default found not creating 2025-11-05 08:16:49,407 - INFO - Project ctest-TestRouters-51616334 not found, creating it 2025-11-05 08:16:49,876 - INFO - Created Project:ctest-TestRouters-51616334, ID : 01b3ef9f-7477-4b51-9b7c-d1775a55bba1 2025-11-05 08:16:51,329 - INFO - ================================================================================ 2025-11-05 08:16:51,330 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 08:16:51,330 - 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-05 08:16:51,589 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-11-05 08:16:51,589 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:16:51,590 - INFO - 2025-11-05 08:16:52,176 - DEBUG - Response for create_network : {'network': {'id': 'd140d6d8-98d5-4e27-961b-5217bce1eb0c', 'name': 'ctest-vn1-06015776', 'tenant_id': '01b3ef9f74774b519b7cd1775a55bba1', 'project_id': '01b3ef9f74774b519b7cd1775a55bba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51616334', 'ctest-vn1-06015776'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:16:52,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '78a8c9dc-2770-4fa9-b9c9-696c9ffeb507', 'name': '', 'tenant_id': '01b3ef9f74774b519b7cd1775a55bba1', 'network_id': 'd140d6d8-98d5-4e27-961b-5217bce1eb0c', 'ip_version': 4, 'cidr': '210.212.106.192/26', 'allocation_pools': [{'start': '210.212.106.194', 'end': '210.212.106.254'}], 'gateway_ip': '210.212.106.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.212.106.194', 'tags': [], 'project_id': '01b3ef9f74774b519b7cd1775a55bba1'}} 2025-11-05 08:16:52,358 - INFO - Created VN ctest-vn1-06015776 2025-11-05 08:16:52,410 - DEBUG - VN ctest-vn1-06015776 UUID is d140d6d8-98d5-4e27-961b-5217bce1eb0c 2025-11-05 08:16:52,726 - DEBUG - Response for create_network : {'network': {'id': '1a3f56bf-5272-42e5-b950-147747df0c70', 'name': 'ctest-vn2-44437420', 'tenant_id': '01b3ef9f74774b519b7cd1775a55bba1', 'project_id': '01b3ef9f74774b519b7cd1775a55bba1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51616334', 'ctest-vn2-44437420'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:16:52,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '54988ce0-1d12-4eab-9ccd-3d2f85c46559', 'name': '', 'tenant_id': '01b3ef9f74774b519b7cd1775a55bba1', 'network_id': '1a3f56bf-5272-42e5-b950-147747df0c70', 'ip_version': 4, 'cidr': '98.168.41.0/26', 'allocation_pools': [{'start': '98.168.41.2', 'end': '98.168.41.62'}], 'gateway_ip': '98.168.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.168.41.2', 'tags': [], 'project_id': '01b3ef9f74774b519b7cd1775a55bba1'}} 2025-11-05 08:16:52,925 - INFO - Created VN ctest-vn2-44437420 2025-11-05 08:16:52,974 - DEBUG - VN ctest-vn2-44437420 UUID is 1a3f56bf-5272-42e5-b950-147747df0c70 2025-11-05 08:16:53,189 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:16:54,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:16:55,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:16:55,529 - INFO - Adding interface with subnet_id 78a8c9dc-2770-4fa9-b9c9-696c9ffeb507, port_id None to router 9d30019a-158c-4c0d-a77a-a26eca4ad078 2025-11-05 08:16:55,791 - INFO - Waiting for VM ctest-vn1-vm1-67805225 to be up.. 2025-11-05 08:16:55,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:17:00,986 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:17:00,987 - INFO - VM name : ctest-vn1-vm1-67805225 2025-11-05 08:17:01,061 - DEBUG - VM ctest-vn1-vm1-67805225 ID is 94e1e26d-e923-4500-88ec-bde6faaf8131 2025-11-05 08:17:01,082 - DEBUG - VM ctest-vn1-vm1-67805225 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:17:01,158 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/94e1e26d-e923-4500-88ec-bde6faaf8131 2025-11-05 08:17:01,467 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/94e1e26d-e923-4500-88ec-bde6faaf8131 2025-11-05 08:17:01,495 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a7eef0eb-e65c-4805-887a-f73ee44cf2aa 2025-11-05 08:17:04,746 - 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 1018ms') 2025-11-05 08:17:04,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67805225 failed! 2025-11-05 08:17:04,798 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-51616334:ctest-vn1-06015776 is 210.212.106.193 and allocation pool is NOT set 2025-11-05 08:17:06,855 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.439 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.439/2.128/3.817/1.689 ms') 2025-11-05 08:17:06,855 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67805225 passed 2025-11-05 08:17:07,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:07,002 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67805225, IP 210.212.106.195, Port 22 2025-11-05 08:17:07,170 - DEBUG - VM ctest-vn1-vm1-67805225 is ready for SSH connections 2025-11-05 08:17:07,170 - INFO - Waiting for VM ctest-vn2-vm1-31347739 to be up.. 2025-11-05 08:17:07,257 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:17:07,257 - INFO - VM name : ctest-vn2-vm1-31347739 2025-11-05 08:17:07,339 - DEBUG - VM ctest-vn2-vm1-31347739 ID is ddd270bb-b7d6-4ec0-8c1c-fff72a05dac0 2025-11-05 08:17:07,339 - DEBUG - VM ctest-vn2-vm1-31347739 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:17:07,421 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ddd270bb-b7d6-4ec0-8c1c-fff72a05dac0 2025-11-05 08:17:07,430 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c567b604-4dee-46b8-b8cd-a52d9e6b7ba5 2025-11-05 08:17:08,665 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.754/2.980/1.226 ms') 2025-11-05 08:17:08,665 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-31347739 passed 2025-11-05 08:17:08,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:08,822 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-31347739, IP 98.168.41.3, Port 22 2025-11-05 08:17:08,978 - DEBUG - VM ctest-vn2-vm1-31347739 is ready for SSH connections 2025-11-05 08:17:08,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:08,979 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.168.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:17:08,979 - DEBUG - ping -s 56 -c 3 -W 1 98.168.41.3 2025-11-05 08:17:14,005 - DEBUG - PING 98.168.41.3 (98.168.41.3): 56 data bytes --- 98.168.41.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:17:14,005 - WARNING - Ping to IP 98.168.41.3 from VM ctest-vn1-vm1-67805225 failed 2025-11-05 08:17:14,005 - INFO - Adding interface with subnet_id 54988ce0-1d12-4eab-9ccd-3d2f85c46559, port_id None to router 9d30019a-158c-4c0d-a77a-a26eca4ad078 2025-11-05 08:17:14,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:14,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.168.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:17:14,234 - DEBUG - ping -s 56 -c 3 -W 1 98.168.41.3 2025-11-05 08:17:17,441 - DEBUG - PING 98.168.41.3 (98.168.41.3): 56 data bytes 64 bytes from 98.168.41.3: seq=1 ttl=63 time=3.202 ms 64 bytes from 98.168.41.3: seq=2 ttl=63 time=0.920 ms --- 98.168.41.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.920/2.061/3.202 ms 2025-11-05 08:17:17,442 - WARNING - Ping to IP 98.168.41.3 from VM ctest-vn1-vm1-67805225 failed 2025-11-05 08:17:18,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.168.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:17:18,443 - DEBUG - ping -s 56 -c 3 -W 1 98.168.41.3 2025-11-05 08:17:20,646 - DEBUG - PING 98.168.41.3 (98.168.41.3): 56 data bytes 64 bytes from 98.168.41.3: seq=0 ttl=63 time=1.319 ms 64 bytes from 98.168.41.3: seq=1 ttl=63 time=1.023 ms 64 bytes from 98.168.41.3: seq=2 ttl=63 time=1.161 ms --- 98.168.41.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.023/1.167/1.319 ms 2025-11-05 08:17:20,646 - INFO - Ping to IP 98.168.41.3 from VM ctest-vn1-vm1-67805225 passed 2025-11-05 08:17:20,646 - INFO - Deleting interface with subnet_id 78a8c9dc-2770-4fa9-b9c9-696c9ffeb507, port_id None from router 9d30019a-158c-4c0d-a77a-a26eca4ad078 2025-11-05 08:17:20,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:20,753 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.168.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:17:20,753 - DEBUG - ping -s 56 -c 3 -W 1 98.168.41.3 2025-11-05 08:17:23,953 - DEBUG - PING 98.168.41.3 (98.168.41.3): 56 data bytes --- 98.168.41.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:17:23,953 - WARNING - Ping to IP 98.168.41.3 from VM ctest-vn1-vm1-67805225 failed 2025-11-05 08:17:23,953 - INFO - Adding interface with subnet_id 78a8c9dc-2770-4fa9-b9c9-696c9ffeb507, port_id None to router 9d30019a-158c-4c0d-a77a-a26eca4ad078 2025-11-05 08:17:24,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:24,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.168.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:17:24,151 - DEBUG - ping -s 56 -c 3 -W 1 98.168.41.3 2025-11-05 08:17:26,365 - DEBUG - PING 98.168.41.3 (98.168.41.3): 56 data bytes 64 bytes from 98.168.41.3: seq=0 ttl=63 time=1.489 ms 64 bytes from 98.168.41.3: seq=1 ttl=63 time=0.911 ms 64 bytes from 98.168.41.3: seq=2 ttl=63 time=0.888 ms --- 98.168.41.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.096/1.489 ms 2025-11-05 08:17:26,365 - INFO - Ping to IP 98.168.41.3 from VM ctest-vn1-vm1-67805225 passed 2025-11-05 08:17:26,365 - INFO - Deleting interface with subnet_id 54988ce0-1d12-4eab-9ccd-3d2f85c46559, port_id None from router 9d30019a-158c-4c0d-a77a-a26eca4ad078 2025-11-05 08:17:26,487 - INFO - Deleting interface with subnet_id 78a8c9dc-2770-4fa9-b9c9-696c9ffeb507, port_id None from router 9d30019a-158c-4c0d-a77a-a26eca4ad078 2025-11-05 08:17:26,653 - INFO - Deleting VM ctest-vn2-vm1-31347739 2025-11-05 08:17:26,740 - INFO - Deleting VM ctest-vn1-vm1-67805225 2025-11-05 08:17:26,808 - INFO - Deleting VN ctest-vn2-44437420 2025-11-05 08:17:26,853 - DEBUG - VN 1a3f56bf-5272-42e5-b950-147747df0c70 still in use: Unable to complete operation on network 1a3f56bf-5272-42e5-b950-147747df0c70. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cdcf6ea4-4e86-4cf8-b7a5-2cc042b977a7'] 2025-11-05 08:17:26,853 - WARNING - Deleting VN ctest-vn2-44437420 failed..Will retry 2025-11-05 08:17:28,959 - DEBUG - Response for deleting network () 2025-11-05 08:17:28,959 - INFO - Deleting VN ctest-vn1-06015776 2025-11-05 08:17:29,054 - DEBUG - Response for deleting network () 2025-11-05 08:17:29,323 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:17:29,323 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-05 08:17:29,323 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:17:29,987 - INFO - Deleted project: ctest-TestRouters-51616334, ID : 01b3ef9f-7477-4b51-9b7c-d1775a55bba1