2025-10-23 10:16:05,725 - INFO - Domain Default found not creating 2025-10-23 10:16:05,967 - INFO - Project ctest-TestRouters-31908818 not found, creating it 2025-10-23 10:16:06,530 - INFO - Created Project:ctest-TestRouters-31908818, ID : 19b55baa-0454-4bad-ae4b-e702599d484e 2025-10-23 10:16:08,297 - INFO - ================================================================================ 2025-10-23 10:16:08,297 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 10:16:08,297 - 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-23 10:16:08,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-23 10:16:08,567 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:16:08,567 - INFO - 2025-10-23 10:16:09,228 - DEBUG - Response for create_network : {'network': {'id': '2b184578-287f-4ba5-8b88-1963087462b0', 'name': 'ctest-vn1-35143255', 'tenant_id': '19b55baa04544badae4be702599d484e', 'project_id': '19b55baa04544badae4be702599d484e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-31908818', 'ctest-vn1-35143255'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:16:09,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f60b713-94b6-4be2-8a36-ba3495060ef8', 'name': '', 'tenant_id': '19b55baa04544badae4be702599d484e', 'network_id': '2b184578-287f-4ba5-8b88-1963087462b0', 'ip_version': 4, 'cidr': '211.94.160.0/26', 'allocation_pools': [{'start': '211.94.160.2', 'end': '211.94.160.62'}], 'gateway_ip': '211.94.160.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.94.160.2', 'tags': [], 'project_id': '19b55baa04544badae4be702599d484e'}} 2025-10-23 10:16:09,472 - INFO - Created VN ctest-vn1-35143255 2025-10-23 10:16:09,535 - DEBUG - VN ctest-vn1-35143255 UUID is 2b184578-287f-4ba5-8b88-1963087462b0 2025-10-23 10:16:09,896 - DEBUG - Response for create_network : {'network': {'id': '7d1e8eba-93af-4494-8dff-394b28cfab9d', 'name': 'ctest-vn2-47127191', 'tenant_id': '19b55baa04544badae4be702599d484e', 'project_id': '19b55baa04544badae4be702599d484e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-31908818', 'ctest-vn2-47127191'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:16:10,100 - DEBUG - Response for create_subnet : {'subnet': {'id': '10c0c535-3c12-455f-bad9-d7a4ecd6fcc4', 'name': '', 'tenant_id': '19b55baa04544badae4be702599d484e', 'network_id': '7d1e8eba-93af-4494-8dff-394b28cfab9d', 'ip_version': 4, 'cidr': '191.83.200.128/26', 'allocation_pools': [{'start': '191.83.200.130', 'end': '191.83.200.190'}], 'gateway_ip': '191.83.200.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.83.200.130', 'tags': [], 'project_id': '19b55baa04544badae4be702599d484e'}} 2025-10-23 10:16:10,125 - INFO - Created VN ctest-vn2-47127191 2025-10-23 10:16:10,179 - DEBUG - VN ctest-vn2-47127191 UUID is 7d1e8eba-93af-4494-8dff-394b28cfab9d 2025-10-23 10:16:10,363 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:16:11,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4455-1) 2025-10-23 10:16:13,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4455-1) 2025-10-23 10:16:13,306 - INFO - Adding interface with subnet_id 1f60b713-94b6-4be2-8a36-ba3495060ef8, port_id None to router f28fcfa7-b0f9-4071-81b8-44938d576341 2025-10-23 10:16:13,693 - INFO - Waiting for VM ctest-vn1-vm1-77688393 to be up.. 2025-10-23 10:16:13,837 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:16:18,923 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:16:18,923 - INFO - VM name : ctest-vn1-vm1-77688393 2025-10-23 10:16:19,007 - DEBUG - VM ctest-vn1-vm1-77688393 ID is f996faa7-6473-4a36-8bb2-00a587d8cc72 2025-10-23 10:16:19,027 - DEBUG - VM ctest-vn1-vm1-77688393 launched on Node cn-jenkins-deploy-platform-ansible-os-4455-1 2025-10-23 10:16:19,107 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f996faa7-6473-4a36-8bb2-00a587d8cc72 2025-10-23 10:16:19,455 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f996faa7-6473-4a36-8bb2-00a587d8cc72 2025-10-23 10:16:19,494 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c5fd6480-7ae7-4c91-b289-25640e62a5e3 2025-10-23 10:16:22,760 - 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-10-23 10:16:22,760 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77688393 failed! 2025-10-23 10:16:22,819 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-31908818:ctest-vn1-35143255 is 211.94.160.1 and allocation pool is NOT set 2025-10-23 10:16:24,883 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 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 = 0.516/2.008/3.501/1.492 ms') 2025-10-23 10:16:24,883 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77688393 passed 2025-10-23 10:16:25,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:25,031 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77688393, IP 211.94.160.3, Port 22 2025-10-23 10:16:25,192 - DEBUG - VM ctest-vn1-vm1-77688393 is ready for SSH connections 2025-10-23 10:16:25,192 - INFO - Waiting for VM ctest-vn2-vm1-76843460 to be up.. 2025-10-23 10:16:25,276 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:16:25,276 - INFO - VM name : ctest-vn2-vm1-76843460 2025-10-23 10:16:25,359 - DEBUG - VM ctest-vn2-vm1-76843460 ID is f168245f-1af0-4cb2-83cb-2f50dcfd08fd 2025-10-23 10:16:25,360 - DEBUG - VM ctest-vn2-vm1-76843460 launched on Node cn-jenkins-deploy-platform-ansible-os-4455-1 2025-10-23 10:16:25,440 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f168245f-1af0-4cb2-83cb-2f50dcfd08fd 2025-10-23 10:16:25,448 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ff507a3b-3f20-47cd-b0d5-b19991ee61cf 2025-10-23 10:16:26,680 - 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=4.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.980 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.980/2.597/4.215/1.617 ms') 2025-10-23 10:16:26,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-76843460 passed 2025-10-23 10:16:26,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:26,827 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-76843460, IP 191.83.200.131, Port 22 2025-10-23 10:16:26,982 - DEBUG - VM ctest-vn2-vm1-76843460 is ready for SSH connections 2025-10-23 10:16:26,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:26,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.83.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:16:26,983 - DEBUG - ping -s 56 -c 3 -W 1 191.83.200.131 2025-10-23 10:16:32,063 - DEBUG - PING 191.83.200.131 (191.83.200.131): 56 data bytes --- 191.83.200.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 10:16:32,063 - WARNING - Ping to IP 191.83.200.131 from VM ctest-vn1-vm1-77688393 failed 2025-10-23 10:16:32,063 - INFO - Adding interface with subnet_id 10c0c535-3c12-455f-bad9-d7a4ecd6fcc4, port_id None to router f28fcfa7-b0f9-4071-81b8-44938d576341 2025-10-23 10:16:32,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:32,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.83.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:16:32,331 - DEBUG - ping -s 56 -c 3 -W 1 191.83.200.131 2025-10-23 10:16:35,565 - DEBUG - PING 191.83.200.131 (191.83.200.131): 56 data bytes 64 bytes from 191.83.200.131: seq=1 ttl=63 time=3.242 ms 64 bytes from 191.83.200.131: seq=2 ttl=63 time=1.121 ms --- 191.83.200.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.121/2.181/3.242 ms 2025-10-23 10:16:35,566 - WARNING - Ping to IP 191.83.200.131 from VM ctest-vn1-vm1-77688393 failed 2025-10-23 10:16:36,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.83.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:16:36,567 - DEBUG - ping -s 56 -c 3 -W 1 191.83.200.131 2025-10-23 10:16:38,799 - DEBUG - PING 191.83.200.131 (191.83.200.131): 56 data bytes 64 bytes from 191.83.200.131: seq=0 ttl=63 time=1.541 ms 64 bytes from 191.83.200.131: seq=1 ttl=63 time=3.002 ms 64 bytes from 191.83.200.131: seq=2 ttl=63 time=1.114 ms --- 191.83.200.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.114/1.885/3.002 ms 2025-10-23 10:16:38,799 - INFO - Ping to IP 191.83.200.131 from VM ctest-vn1-vm1-77688393 passed 2025-10-23 10:16:38,799 - INFO - Deleting interface with subnet_id 1f60b713-94b6-4be2-8a36-ba3495060ef8, port_id None from router f28fcfa7-b0f9-4071-81b8-44938d576341 2025-10-23 10:16:38,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:38,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.83.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:16:38,921 - DEBUG - ping -s 56 -c 3 -W 1 191.83.200.131 2025-10-23 10:16:42,151 - DEBUG - PING 191.83.200.131 (191.83.200.131): 56 data bytes --- 191.83.200.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 10:16:42,151 - WARNING - Ping to IP 191.83.200.131 from VM ctest-vn1-vm1-77688393 failed 2025-10-23 10:16:42,151 - INFO - Adding interface with subnet_id 1f60b713-94b6-4be2-8a36-ba3495060ef8, port_id None to router f28fcfa7-b0f9-4071-81b8-44938d576341 2025-10-23 10:16:42,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:16:42,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.83.200.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:16:42,378 - DEBUG - ping -s 56 -c 3 -W 1 191.83.200.131 2025-10-23 10:16:44,599 - DEBUG - PING 191.83.200.131 (191.83.200.131): 56 data bytes 64 bytes from 191.83.200.131: seq=0 ttl=63 time=1.339 ms 64 bytes from 191.83.200.131: seq=1 ttl=63 time=1.009 ms 64 bytes from 191.83.200.131: seq=2 ttl=63 time=0.991 ms --- 191.83.200.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.991/1.113/1.339 ms 2025-10-23 10:16:44,599 - INFO - Ping to IP 191.83.200.131 from VM ctest-vn1-vm1-77688393 passed 2025-10-23 10:16:44,599 - INFO - Deleting interface with subnet_id 10c0c535-3c12-455f-bad9-d7a4ecd6fcc4, port_id None from router f28fcfa7-b0f9-4071-81b8-44938d576341 2025-10-23 10:16:44,734 - INFO - Deleting interface with subnet_id 1f60b713-94b6-4be2-8a36-ba3495060ef8, port_id None from router f28fcfa7-b0f9-4071-81b8-44938d576341 2025-10-23 10:16:44,962 - INFO - Deleting VM ctest-vn2-vm1-76843460 2025-10-23 10:16:45,043 - INFO - Deleting VM ctest-vn1-vm1-77688393 2025-10-23 10:16:45,126 - INFO - Deleting VN ctest-vn2-47127191 2025-10-23 10:16:45,164 - DEBUG - VN 7d1e8eba-93af-4494-8dff-394b28cfab9d still in use: Unable to complete operation on network 7d1e8eba-93af-4494-8dff-394b28cfab9d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a967670d-d879-42e4-b78b-a86ae8a38f96'] 2025-10-23 10:16:45,164 - WARNING - Deleting VN ctest-vn2-47127191 failed..Will retry 2025-10-23 10:16:47,268 - DEBUG - Response for deleting network () 2025-10-23 10:16:47,268 - INFO - Deleting VN ctest-vn1-35143255 2025-10-23 10:16:47,376 - DEBUG - Response for deleting network () 2025-10-23 10:16:47,632 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 10:16:47,632 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-23 10:16:47,633 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:16:48,348 - INFO - Deleted project: ctest-TestRouters-31908818, ID : 19b55baa-0454-4bad-ae4b-e702599d484e