2025-11-07 13:29:23,169 - INFO - Domain Default found not creating 2025-11-07 13:29:23,338 - INFO - Project ctest-TestRouters-60813803 not found, creating it 2025-11-07 13:29:23,935 - INFO - Created Project:ctest-TestRouters-60813803, ID : 8392daca-2249-4594-a31d-83d06519a154 2025-11-07 13:29:25,466 - INFO - ================================================================================ 2025-11-07 13:29:25,467 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-07 13:29:25,467 - 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 13:29:25,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-07 13:29:25,729 - INFO - Initial checks done. Running the testcase now 2025-11-07 13:29:25,729 - INFO - 2025-11-07 13:29:26,322 - DEBUG - Response for create_network : {'network': {'id': '9c28b4e4-fc86-4379-a224-9842d6d4d7ae', 'name': 'ctest-vn1-27352880', 'tenant_id': '8392daca22494594a31d83d06519a154', 'project_id': '8392daca22494594a31d83d06519a154', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60813803', 'ctest-vn1-27352880'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:29:26,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d60dc97-d0f9-44b0-b880-63414b741075', 'name': '', 'tenant_id': '8392daca22494594a31d83d06519a154', 'network_id': '9c28b4e4-fc86-4379-a224-9842d6d4d7ae', 'ip_version': 4, 'cidr': '43.194.38.128/26', 'allocation_pools': [{'start': '43.194.38.130', 'end': '43.194.38.190'}], 'gateway_ip': '43.194.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.194.38.130', 'tags': [], 'project_id': '8392daca22494594a31d83d06519a154'}} 2025-11-07 13:29:26,574 - INFO - Created VN ctest-vn1-27352880 2025-11-07 13:29:26,626 - DEBUG - VN ctest-vn1-27352880 UUID is 9c28b4e4-fc86-4379-a224-9842d6d4d7ae 2025-11-07 13:29:27,021 - DEBUG - Response for create_network : {'network': {'id': 'df8b7deb-1266-4dc6-aea7-cb23a77854e8', 'name': 'ctest-vn2-79235195', 'tenant_id': '8392daca22494594a31d83d06519a154', 'project_id': '8392daca22494594a31d83d06519a154', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60813803', 'ctest-vn2-79235195'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:29:27,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '09e5ce04-427b-4e96-b476-875438e8a455', 'name': '', 'tenant_id': '8392daca22494594a31d83d06519a154', 'network_id': 'df8b7deb-1266-4dc6-aea7-cb23a77854e8', 'ip_version': 4, 'cidr': '43.183.73.128/26', 'allocation_pools': [{'start': '43.183.73.130', 'end': '43.183.73.190'}], 'gateway_ip': '43.183.73.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.183.73.130', 'tags': [], 'project_id': '8392daca22494594a31d83d06519a154'}} 2025-11-07 13:29:27,257 - INFO - Created VN ctest-vn2-79235195 2025-11-07 13:29:27,314 - DEBUG - VN ctest-vn2-79235195 UUID is df8b7deb-1266-4dc6-aea7-cb23a77854e8 2025-11-07 13:29:27,497 - DEBUG - Services list from nova: [, , ] 2025-11-07 13:29:28,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1) 2025-11-07 13:29:29,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4669-1) 2025-11-07 13:29:29,995 - INFO - Adding interface with subnet_id 0d60dc97-d0f9-44b0-b880-63414b741075, port_id None to router 6e789646-8862-428e-85f3-0d725f110578 2025-11-07 13:29:30,330 - INFO - Waiting for VM ctest-vn1-vm1-80248294 to be up.. 2025-11-07 13:29:30,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 13:29:35,538 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:29:35,539 - INFO - VM name : ctest-vn1-vm1-80248294 2025-11-07 13:29:35,628 - DEBUG - VM ctest-vn1-vm1-80248294 ID is 81ef9938-e071-49bf-b8a6-8ca6cf6b88c9 2025-11-07 13:29:35,652 - DEBUG - VM ctest-vn1-vm1-80248294 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1 2025-11-07 13:29:35,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81ef9938-e071-49bf-b8a6-8ca6cf6b88c9 2025-11-07 13:29:36,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81ef9938-e071-49bf-b8a6-8ca6cf6b88c9 2025-11-07 13:29:36,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7e198a97-825c-438c-b1b3-86347dab509a 2025-11-07 13:29:39,332 - 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-07 13:29:39,332 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80248294 failed! 2025-11-07 13:29:39,394 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-60813803:ctest-vn1-27352880 is 43.194.38.129 and allocation pool is NOT set 2025-11-07 13:29:41,461 - 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=4.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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 = 1.841/3.202/4.563/1.361 ms') 2025-11-07 13:29:41,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80248294 passed 2025-11-07 13:29:41,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:29:41,614 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80248294, IP 43.194.38.131, Port 22 2025-11-07 13:29:41,784 - DEBUG - VM ctest-vn1-vm1-80248294 is ready for SSH connections 2025-11-07 13:29:41,784 - INFO - Waiting for VM ctest-vn2-vm1-15940385 to be up.. 2025-11-07 13:29:41,875 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:29:41,875 - INFO - VM name : ctest-vn2-vm1-15940385 2025-11-07 13:29:41,969 - DEBUG - VM ctest-vn2-vm1-15940385 ID is 7670fa40-ebe2-4efb-9038-fe6a41cfc835 2025-11-07 13:29:41,970 - DEBUG - VM ctest-vn2-vm1-15940385 launched on Node cn-jenkins-deploy-platform-ansible-os-4669-1 2025-11-07 13:29:42,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7670fa40-ebe2-4efb-9038-fe6a41cfc835 2025-11-07 13:29:42,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/27d0da11-be9b-4076-be68-060eca816d73 2025-11-07 13:29:43,363 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/2.108/3.772/1.663 ms') 2025-11-07 13:29:43,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-15940385 passed 2025-11-07 13:29:43,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:29:43,519 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-15940385, IP 43.183.73.131, Port 22 2025-11-07 13:29:43,674 - DEBUG - VM ctest-vn2-vm1-15940385 is ready for SSH connections 2025-11-07 13:29:43,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:29:43,674 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.183.73.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 13:29:43,674 - DEBUG - ping -s 56 -c 3 -W 1 43.183.73.131 2025-11-07 13:29:48,760 - DEBUG - PING 43.183.73.131 (43.183.73.131): 56 data bytes --- 43.183.73.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 13:29:48,760 - WARNING - Ping to IP 43.183.73.131 from VM ctest-vn1-vm1-80248294 failed 2025-11-07 13:29:48,761 - INFO - Adding interface with subnet_id 09e5ce04-427b-4e96-b476-875438e8a455, port_id None to router 6e789646-8862-428e-85f3-0d725f110578 2025-11-07 13:29:49,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:29:49,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.183.73.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 13:29:49,007 - DEBUG - ping -s 56 -c 3 -W 1 43.183.73.131 2025-11-07 13:29:52,242 - DEBUG - PING 43.183.73.131 (43.183.73.131): 56 data bytes 64 bytes from 43.183.73.131: seq=1 ttl=63 time=2.906 ms 64 bytes from 43.183.73.131: seq=2 ttl=63 time=1.124 ms --- 43.183.73.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.124/2.015/2.906 ms 2025-11-07 13:29:52,242 - WARNING - Ping to IP 43.183.73.131 from VM ctest-vn1-vm1-80248294 failed 2025-11-07 13:29:53,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.183.73.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 13:29:53,243 - DEBUG - ping -s 56 -c 3 -W 1 43.183.73.131 2025-11-07 13:29:55,448 - DEBUG - PING 43.183.73.131 (43.183.73.131): 56 data bytes 64 bytes from 43.183.73.131: seq=0 ttl=63 time=1.792 ms 64 bytes from 43.183.73.131: seq=1 ttl=63 time=0.941 ms 64 bytes from 43.183.73.131: seq=2 ttl=63 time=0.994 ms --- 43.183.73.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/1.242/1.792 ms 2025-11-07 13:29:55,448 - INFO - Ping to IP 43.183.73.131 from VM ctest-vn1-vm1-80248294 passed 2025-11-07 13:29:55,448 - INFO - Deleting interface with subnet_id 0d60dc97-d0f9-44b0-b880-63414b741075, port_id None from router 6e789646-8862-428e-85f3-0d725f110578 2025-11-07 13:29:55,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:29:55,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.183.73.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 13:29:55,567 - DEBUG - ping -s 56 -c 3 -W 1 43.183.73.131 2025-11-07 13:29:58,778 - DEBUG - PING 43.183.73.131 (43.183.73.131): 56 data bytes --- 43.183.73.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 13:29:58,779 - WARNING - Ping to IP 43.183.73.131 from VM ctest-vn1-vm1-80248294 failed 2025-11-07 13:29:58,779 - INFO - Adding interface with subnet_id 0d60dc97-d0f9-44b0-b880-63414b741075, port_id None to router 6e789646-8862-428e-85f3-0d725f110578 2025-11-07 13:29:59,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:29:59,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.183.73.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 13:29:59,027 - DEBUG - ping -s 56 -c 3 -W 1 43.183.73.131 2025-11-07 13:30:01,252 - DEBUG - PING 43.183.73.131 (43.183.73.131): 56 data bytes 64 bytes from 43.183.73.131: seq=0 ttl=63 time=1.450 ms 64 bytes from 43.183.73.131: seq=1 ttl=63 time=0.851 ms 64 bytes from 43.183.73.131: seq=2 ttl=63 time=1.203 ms --- 43.183.73.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.168/1.450 ms 2025-11-07 13:30:01,252 - INFO - Ping to IP 43.183.73.131 from VM ctest-vn1-vm1-80248294 passed 2025-11-07 13:30:01,252 - INFO - Deleting interface with subnet_id 09e5ce04-427b-4e96-b476-875438e8a455, port_id None from router 6e789646-8862-428e-85f3-0d725f110578 2025-11-07 13:30:01,417 - INFO - Deleting interface with subnet_id 0d60dc97-d0f9-44b0-b880-63414b741075, port_id None from router 6e789646-8862-428e-85f3-0d725f110578 2025-11-07 13:30:01,628 - INFO - Deleting VM ctest-vn2-vm1-15940385 2025-11-07 13:30:01,717 - INFO - Deleting VM ctest-vn1-vm1-80248294 2025-11-07 13:30:01,801 - INFO - Deleting VN ctest-vn2-79235195 2025-11-07 13:30:01,843 - DEBUG - VN df8b7deb-1266-4dc6-aea7-cb23a77854e8 still in use: Unable to complete operation on network df8b7deb-1266-4dc6-aea7-cb23a77854e8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1aabfbd1-62ae-40fc-a6ed-c03284f62f31'] 2025-11-07 13:30:01,843 - WARNING - Deleting VN ctest-vn2-79235195 failed..Will retry 2025-11-07 13:30:03,962 - DEBUG - Response for deleting network () 2025-11-07 13:30:03,963 - INFO - Deleting VN ctest-vn1-27352880 2025-11-07 13:30:04,082 - DEBUG - Response for deleting network () 2025-11-07 13:30:04,344 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 13:30:04,344 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-11-07 13:30:04,344 - INFO - -------------------------------------------------------------------------------- 2025-11-07 13:30:05,054 - INFO - Deleted project: ctest-TestRouters-60813803, ID : 8392daca-2249-4594-a31d-83d06519a154