2025-09-08 02:11:14,247 - INFO - Domain Default found not creating 2025-09-08 02:11:14,464 - INFO - Project ctest-TestRouters-55795712 not found, creating it 2025-09-08 02:11:14,911 - INFO - Created Project:ctest-TestRouters-55795712, ID : bb1357f7-4aba-4e52-b311-c6cb2d9d5360 2025-09-08 02:11:16,313 - INFO - ================================================================================ 2025-09-08 02:11:16,314 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-08 02:11:16,314 - 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-09-08 02:11:16,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-09-08 02:11:16,567 - INFO - Initial checks done. Running the testcase now 2025-09-08 02:11:16,567 - INFO - 2025-09-08 02:11:17,108 - DEBUG - Response for create_network : {'network': {'id': '037805fc-3f24-4fd4-912d-d268e0fdea21', 'name': 'ctest-vn1-05159481', 'tenant_id': 'bb1357f74aba4e52b311c6cb2d9d5360', 'project_id': 'bb1357f74aba4e52b311c6cb2d9d5360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55795712', 'ctest-vn1-05159481'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:11:17,283 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a89527b2-b772-4265-a4dc-358b4592a6e1', 'name': '', 'tenant_id': 'bb1357f74aba4e52b311c6cb2d9d5360', 'network_id': '037805fc-3f24-4fd4-912d-d268e0fdea21', 'ip_version': 4, 'cidr': '118.233.219.0/26', 'allocation_pools': [{'start': '118.233.219.2', 'end': '118.233.219.62'}], 'gateway_ip': '118.233.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.233.219.2', 'tags': [], 'project_id': 'bb1357f74aba4e52b311c6cb2d9d5360'}} 2025-09-08 02:11:17,300 - INFO - Created VN ctest-vn1-05159481 2025-09-08 02:11:17,349 - DEBUG - VN ctest-vn1-05159481 UUID is 037805fc-3f24-4fd4-912d-d268e0fdea21 2025-09-08 02:11:17,657 - DEBUG - Response for create_network : {'network': {'id': 'fdd97d36-2070-4d4b-ab57-d15337ca0379', 'name': 'ctest-vn2-44051838', 'tenant_id': 'bb1357f74aba4e52b311c6cb2d9d5360', 'project_id': 'bb1357f74aba4e52b311c6cb2d9d5360', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55795712', 'ctest-vn2-44051838'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 02:11:17,818 - DEBUG - Response for create_subnet : {'subnet': {'id': '439caecb-2a19-46a4-9c93-c22bae3a9fb3', 'name': '', 'tenant_id': 'bb1357f74aba4e52b311c6cb2d9d5360', 'network_id': 'fdd97d36-2070-4d4b-ab57-d15337ca0379', 'ip_version': 4, 'cidr': '23.131.115.128/26', 'allocation_pools': [{'start': '23.131.115.130', 'end': '23.131.115.190'}], 'gateway_ip': '23.131.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.131.115.130', 'tags': [], 'project_id': 'bb1357f74aba4e52b311c6cb2d9d5360'}} 2025-09-08 02:11:17,836 - INFO - Created VN ctest-vn2-44051838 2025-09-08 02:11:17,889 - DEBUG - VN ctest-vn2-44051838 UUID is fdd97d36-2070-4d4b-ab57-d15337ca0379 2025-09-08 02:11:18,135 - DEBUG - Services list from nova: [, , ] 2025-09-08 02:11:19,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4040-1) 2025-09-08 02:11:20,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4040-1) 2025-09-08 02:11:20,436 - INFO - Adding interface with subnet_id a89527b2-b772-4265-a4dc-358b4592a6e1, port_id None to router cdd5d24a-d5b1-4ca0-8ecf-03688b465a34 2025-09-08 02:11:20,722 - INFO - Waiting for VM ctest-vn1-vm1-95828041 to be up.. 2025-09-08 02:11:20,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 02:11:25,892 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:11:25,892 - INFO - VM name : ctest-vn1-vm1-95828041 2025-09-08 02:11:25,968 - DEBUG - VM ctest-vn1-vm1-95828041 ID is 6ceceb8a-8efb-4f12-9441-b29d623e1923 2025-09-08 02:11:25,987 - DEBUG - VM ctest-vn1-vm1-95828041 launched on Node cn-jenkins-deploy-platform-ansible-os-4040-1 2025-09-08 02:11:26,062 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6ceceb8a-8efb-4f12-9441-b29d623e1923 2025-09-08 02:11:26,351 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6ceceb8a-8efb-4f12-9441-b29d623e1923 2025-09-08 02:11:26,381 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e90c754f-faf0-41f5-a23a-4a38ab937e73 2025-09-08 02:11:29,616 - 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 1011ms') 2025-09-08 02:11:29,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95828041 failed! 2025-09-08 02:11:29,673 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55795712:ctest-vn1-05159481 is 118.233.219.1 and allocation pool is NOT set 2025-09-08 02:11:31,733 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 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.373/1.658/2.943/1.285 ms') 2025-09-08 02:11:31,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95828041 passed 2025-09-08 02:11:31,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:31,881 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95828041, IP 118.233.219.3, Port 22 2025-09-08 02:11:32,064 - DEBUG - VM ctest-vn1-vm1-95828041 is ready for SSH connections 2025-09-08 02:11:32,064 - INFO - Waiting for VM ctest-vn2-vm1-97548585 to be up.. 2025-09-08 02:11:32,140 - DEBUG - VM is in ACTIVE state now 2025-09-08 02:11:32,140 - INFO - VM name : ctest-vn2-vm1-97548585 2025-09-08 02:11:32,215 - DEBUG - VM ctest-vn2-vm1-97548585 ID is 1be45848-a41c-4127-89f5-2a59639fbb93 2025-09-08 02:11:32,215 - DEBUG - VM ctest-vn2-vm1-97548585 launched on Node cn-jenkins-deploy-platform-ansible-os-4040-1 2025-09-08 02:11:32,282 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1be45848-a41c-4127-89f5-2a59639fbb93 2025-09-08 02:11:32,290 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/72628eac-20b7-42a2-b441-59c3f9b009e3 2025-09-08 02:11:33,530 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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.310/1.502/2.694/1.192 ms') 2025-09-08 02:11:33,530 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-97548585 passed 2025-09-08 02:11:33,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:33,677 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-97548585, IP 23.131.115.131, Port 22 2025-09-08 02:11:33,833 - DEBUG - VM ctest-vn2-vm1-97548585 is ready for SSH connections 2025-09-08 02:11:33,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:33,833 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.131.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:11:33,833 - DEBUG - ping -s 56 -c 3 -W 1 23.131.115.131 2025-09-08 02:11:38,826 - DEBUG - PING 23.131.115.131 (23.131.115.131): 56 data bytes --- 23.131.115.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 02:11:38,827 - WARNING - Ping to IP 23.131.115.131 from VM ctest-vn1-vm1-95828041 failed 2025-09-08 02:11:38,827 - INFO - Adding interface with subnet_id 439caecb-2a19-46a4-9c93-c22bae3a9fb3, port_id None to router cdd5d24a-d5b1-4ca0-8ecf-03688b465a34 2025-09-08 02:11:39,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:39,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.131.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:11:39,072 - DEBUG - ping -s 56 -c 3 -W 1 23.131.115.131 2025-09-08 02:11:42,269 - DEBUG - PING 23.131.115.131 (23.131.115.131): 56 data bytes 64 bytes from 23.131.115.131: seq=1 ttl=63 time=2.562 ms 64 bytes from 23.131.115.131: seq=2 ttl=63 time=0.863 ms --- 23.131.115.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.863/1.712/2.562 ms 2025-09-08 02:11:42,269 - WARNING - Ping to IP 23.131.115.131 from VM ctest-vn1-vm1-95828041 failed 2025-09-08 02:11:43,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.131.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:11:43,270 - DEBUG - ping -s 56 -c 3 -W 1 23.131.115.131 2025-09-08 02:11:45,463 - DEBUG - PING 23.131.115.131 (23.131.115.131): 56 data bytes 64 bytes from 23.131.115.131: seq=0 ttl=63 time=1.303 ms 64 bytes from 23.131.115.131: seq=1 ttl=63 time=0.994 ms 64 bytes from 23.131.115.131: seq=2 ttl=63 time=0.844 ms --- 23.131.115.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.047/1.303 ms 2025-09-08 02:11:45,463 - INFO - Ping to IP 23.131.115.131 from VM ctest-vn1-vm1-95828041 passed 2025-09-08 02:11:45,463 - INFO - Deleting interface with subnet_id a89527b2-b772-4265-a4dc-358b4592a6e1, port_id None from router cdd5d24a-d5b1-4ca0-8ecf-03688b465a34 2025-09-08 02:11:45,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:45,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.131.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:11:45,584 - DEBUG - ping -s 56 -c 3 -W 1 23.131.115.131 2025-09-08 02:11:48,780 - DEBUG - PING 23.131.115.131 (23.131.115.131): 56 data bytes --- 23.131.115.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 02:11:48,781 - WARNING - Ping to IP 23.131.115.131 from VM ctest-vn1-vm1-95828041 failed 2025-09-08 02:11:48,781 - INFO - Adding interface with subnet_id a89527b2-b772-4265-a4dc-358b4592a6e1, port_id None to router cdd5d24a-d5b1-4ca0-8ecf-03688b465a34 2025-09-08 02:11:48,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 02:11:48,995 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.131.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-08 02:11:48,995 - DEBUG - ping -s 56 -c 3 -W 1 23.131.115.131 2025-09-08 02:11:51,199 - DEBUG - PING 23.131.115.131 (23.131.115.131): 56 data bytes 64 bytes from 23.131.115.131: seq=0 ttl=63 time=1.144 ms 64 bytes from 23.131.115.131: seq=1 ttl=63 time=1.107 ms 64 bytes from 23.131.115.131: seq=2 ttl=63 time=0.767 ms --- 23.131.115.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.006/1.144 ms 2025-09-08 02:11:51,199 - INFO - Ping to IP 23.131.115.131 from VM ctest-vn1-vm1-95828041 passed 2025-09-08 02:11:51,199 - INFO - Deleting interface with subnet_id 439caecb-2a19-46a4-9c93-c22bae3a9fb3, port_id None from router cdd5d24a-d5b1-4ca0-8ecf-03688b465a34 2025-09-08 02:11:51,315 - INFO - Deleting interface with subnet_id a89527b2-b772-4265-a4dc-358b4592a6e1, port_id None from router cdd5d24a-d5b1-4ca0-8ecf-03688b465a34 2025-09-08 02:11:51,487 - INFO - Deleting VM ctest-vn2-vm1-97548585 2025-09-08 02:11:51,569 - INFO - Deleting VM ctest-vn1-vm1-95828041 2025-09-08 02:11:51,635 - INFO - Deleting VN ctest-vn2-44051838 2025-09-08 02:11:51,670 - DEBUG - VN fdd97d36-2070-4d4b-ab57-d15337ca0379 still in use: Unable to complete operation on network fdd97d36-2070-4d4b-ab57-d15337ca0379. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e24e2818-89d4-4a24-913c-6b8cf5363ddb'] 2025-09-08 02:11:51,670 - WARNING - Deleting VN ctest-vn2-44051838 failed..Will retry 2025-09-08 02:11:53,759 - DEBUG - Response for deleting network () 2025-09-08 02:11:53,759 - INFO - Deleting VN ctest-vn1-05159481 2025-09-08 02:11:53,850 - DEBUG - Response for deleting network () 2025-09-08 02:11:54,103 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 02:11:54,103 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-08 02:11:54,103 - INFO - -------------------------------------------------------------------------------- 2025-09-08 02:11:54,767 - INFO - Deleted project: ctest-TestRouters-55795712, ID : bb1357f7-4aba-4e52-b311-c6cb2d9d5360