2025-08-03 09:38:54,062 - INFO - Domain Default found not creating 2025-08-03 09:38:54,227 - INFO - Project ctest-TestRouters-21156820 not found, creating it 2025-08-03 09:38:54,722 - INFO - Created Project:ctest-TestRouters-21156820, ID : 5cb2ab28-a2eb-4c51-ba25-a883142a0520 2025-08-03 09:38:56,408 - INFO - ================================================================================ 2025-08-03 09:38:56,409 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-03 09:38:56,409 - 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-08-03 09:38:56,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-03 09:38:56,667 - INFO - Initial checks done. Running the testcase now 2025-08-03 09:38:56,667 - INFO - 2025-08-03 09:38:57,313 - DEBUG - Response for create_network : {'network': {'id': '5ff43284-6127-4c2c-a201-7df275edfc7e', 'name': 'ctest-vn1-85258265', 'tenant_id': '5cb2ab28a2eb4c51ba25a883142a0520', 'project_id': '5cb2ab28a2eb4c51ba25a883142a0520', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21156820', 'ctest-vn1-85258265'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:38:57,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d73a042-b2e6-45b5-925a-75518fe9643a', 'name': '', 'tenant_id': '5cb2ab28a2eb4c51ba25a883142a0520', 'network_id': '5ff43284-6127-4c2c-a201-7df275edfc7e', 'ip_version': 4, 'cidr': '185.76.94.192/26', 'allocation_pools': [{'start': '185.76.94.194', 'end': '185.76.94.254'}], 'gateway_ip': '185.76.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.76.94.194', 'tags': [], 'project_id': '5cb2ab28a2eb4c51ba25a883142a0520'}} 2025-08-03 09:38:57,535 - INFO - Created VN ctest-vn1-85258265 2025-08-03 09:38:57,591 - DEBUG - VN ctest-vn1-85258265 UUID is 5ff43284-6127-4c2c-a201-7df275edfc7e 2025-08-03 09:38:57,915 - DEBUG - Response for create_network : {'network': {'id': '0e19c75b-a7dd-4c33-85fd-5de859e682c6', 'name': 'ctest-vn2-69167129', 'tenant_id': '5cb2ab28a2eb4c51ba25a883142a0520', 'project_id': '5cb2ab28a2eb4c51ba25a883142a0520', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21156820', 'ctest-vn2-69167129'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 09:38:58,094 - DEBUG - Response for create_subnet : {'subnet': {'id': '84cdebcd-d20a-4a28-9432-8f8248195579', 'name': '', 'tenant_id': '5cb2ab28a2eb4c51ba25a883142a0520', 'network_id': '0e19c75b-a7dd-4c33-85fd-5de859e682c6', 'ip_version': 4, 'cidr': '35.57.70.128/26', 'allocation_pools': [{'start': '35.57.70.130', 'end': '35.57.70.190'}], 'gateway_ip': '35.57.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.57.70.130', 'tags': [], 'project_id': '5cb2ab28a2eb4c51ba25a883142a0520'}} 2025-08-03 09:38:58,115 - INFO - Created VN ctest-vn2-69167129 2025-08-03 09:38:58,171 - DEBUG - VN ctest-vn2-69167129 UUID is 0e19c75b-a7dd-4c33-85fd-5de859e682c6 2025-08-03 09:38:58,349 - DEBUG - Services list from nova: [, , ] 2025-08-03 09:38:59,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:39:00,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3745-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3745-1) 2025-08-03 09:39:00,968 - INFO - Adding interface with subnet_id 3d73a042-b2e6-45b5-925a-75518fe9643a, port_id None to router 996dfb3d-47e4-4738-a866-ecc2d5112218 2025-08-03 09:39:01,384 - INFO - Waiting for VM ctest-vn1-vm1-00892330 to be up.. 2025-08-03 09:39:01,579 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 09:39:06,660 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:39:06,660 - INFO - VM name : ctest-vn1-vm1-00892330 2025-08-03 09:39:06,738 - DEBUG - VM ctest-vn1-vm1-00892330 ID is 487632ec-4d44-4721-be82-f4b19465f602 2025-08-03 09:39:06,764 - DEBUG - VM ctest-vn1-vm1-00892330 launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:39:06,861 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/487632ec-4d44-4721-be82-f4b19465f602 2025-08-03 09:39:07,199 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/487632ec-4d44-4721-be82-f4b19465f602 2025-08-03 09:39:07,235 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/92f60470-83d1-4af0-a841-8aebbe857763 2025-08-03 09:39:10,514 - 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 1030ms') 2025-08-03 09:39:10,514 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00892330 failed! 2025-08-03 09:39:10,579 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21156820:ctest-vn1-85258265 is 185.76.94.193 and allocation pool is NOT set 2025-08-03 09:39:12,639 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.569 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.569/2.067/3.565/1.498 ms') 2025-08-03 09:39:12,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00892330 passed 2025-08-03 09:39:12,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:39:12,795 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00892330, IP 185.76.94.195, Port 22 2025-08-03 09:39:12,954 - DEBUG - VM ctest-vn1-vm1-00892330 is ready for SSH connections 2025-08-03 09:39:12,954 - INFO - Waiting for VM ctest-vn2-vm1-27393462 to be up.. 2025-08-03 09:39:13,037 - DEBUG - VM is in ACTIVE state now 2025-08-03 09:39:13,037 - INFO - VM name : ctest-vn2-vm1-27393462 2025-08-03 09:39:13,118 - DEBUG - VM ctest-vn2-vm1-27393462 ID is 515b6266-e595-452f-9089-94a13dcc54ed 2025-08-03 09:39:13,118 - DEBUG - VM ctest-vn2-vm1-27393462 launched on Node cn-jenkins-deploy-platform-ansible-os-3745-1 2025-08-03 09:39:13,200 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/515b6266-e595-452f-9089-94a13dcc54ed 2025-08-03 09:39:13,210 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0f783674-d93a-4c42-82a6-8ed7c906a07d 2025-08-03 09:39:14,457 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.714 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.714/1.940/3.166/1.226 ms') 2025-08-03 09:39:14,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-27393462 passed 2025-08-03 09:39:14,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:39:14,607 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-27393462, IP 35.57.70.131, Port 22 2025-08-03 09:39:14,767 - DEBUG - VM ctest-vn2-vm1-27393462 is ready for SSH connections 2025-08-03 09:39:14,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:39:14,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.57.70.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:39:14,767 - DEBUG - ping -s 56 -c 3 -W 1 35.57.70.131 2025-08-03 09:39:19,836 - DEBUG - PING 35.57.70.131 (35.57.70.131): 56 data bytes --- 35.57.70.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-03 09:39:19,836 - WARNING - Ping to IP 35.57.70.131 from VM ctest-vn1-vm1-00892330 failed 2025-08-03 09:39:19,836 - INFO - Adding interface with subnet_id 84cdebcd-d20a-4a28-9432-8f8248195579, port_id None to router 996dfb3d-47e4-4738-a866-ecc2d5112218 2025-08-03 09:39:20,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:39:20,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.57.70.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:39:20,144 - DEBUG - ping -s 56 -c 3 -W 1 35.57.70.131 2025-08-03 09:39:23,380 - DEBUG - PING 35.57.70.131 (35.57.70.131): 56 data bytes 64 bytes from 35.57.70.131: seq=1 ttl=63 time=2.954 ms 64 bytes from 35.57.70.131: seq=2 ttl=63 time=0.859 ms --- 35.57.70.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.859/1.906/2.954 ms 2025-08-03 09:39:23,380 - WARNING - Ping to IP 35.57.70.131 from VM ctest-vn1-vm1-00892330 failed 2025-08-03 09:39:24,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.57.70.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:39:24,382 - DEBUG - ping -s 56 -c 3 -W 1 35.57.70.131 2025-08-03 09:39:26,602 - DEBUG - PING 35.57.70.131 (35.57.70.131): 56 data bytes 64 bytes from 35.57.70.131: seq=0 ttl=63 time=1.567 ms 64 bytes from 35.57.70.131: seq=1 ttl=63 time=0.902 ms 64 bytes from 35.57.70.131: seq=2 ttl=63 time=0.786 ms --- 35.57.70.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/1.085/1.567 ms 2025-08-03 09:39:26,602 - INFO - Ping to IP 35.57.70.131 from VM ctest-vn1-vm1-00892330 passed 2025-08-03 09:39:26,603 - INFO - Deleting interface with subnet_id 3d73a042-b2e6-45b5-925a-75518fe9643a, port_id None from router 996dfb3d-47e4-4738-a866-ecc2d5112218 2025-08-03 09:39:26,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:39:26,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.57.70.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:39:26,738 - DEBUG - ping -s 56 -c 3 -W 1 35.57.70.131 2025-08-03 09:39:29,977 - DEBUG - PING 35.57.70.131 (35.57.70.131): 56 data bytes --- 35.57.70.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-03 09:39:29,977 - WARNING - Ping to IP 35.57.70.131 from VM ctest-vn1-vm1-00892330 failed 2025-08-03 09:39:29,977 - INFO - Adding interface with subnet_id 3d73a042-b2e6-45b5-925a-75518fe9643a, port_id None to router 996dfb3d-47e4-4738-a866-ecc2d5112218 2025-08-03 09:39:30,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 09:39:30,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.57.70.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-03 09:39:30,253 - DEBUG - ping -s 56 -c 3 -W 1 35.57.70.131 2025-08-03 09:39:32,494 - DEBUG - PING 35.57.70.131 (35.57.70.131): 56 data bytes 64 bytes from 35.57.70.131: seq=0 ttl=63 time=1.595 ms 64 bytes from 35.57.70.131: seq=1 ttl=63 time=0.840 ms 64 bytes from 35.57.70.131: seq=2 ttl=63 time=0.983 ms --- 35.57.70.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/1.139/1.595 ms 2025-08-03 09:39:32,494 - INFO - Ping to IP 35.57.70.131 from VM ctest-vn1-vm1-00892330 passed 2025-08-03 09:39:32,494 - INFO - Deleting interface with subnet_id 84cdebcd-d20a-4a28-9432-8f8248195579, port_id None from router 996dfb3d-47e4-4738-a866-ecc2d5112218 2025-08-03 09:39:32,658 - INFO - Deleting interface with subnet_id 3d73a042-b2e6-45b5-925a-75518fe9643a, port_id None from router 996dfb3d-47e4-4738-a866-ecc2d5112218 2025-08-03 09:39:32,887 - INFO - Deleting VM ctest-vn2-vm1-27393462 2025-08-03 09:39:32,991 - INFO - Deleting VM ctest-vn1-vm1-00892330 2025-08-03 09:39:33,078 - INFO - Deleting VN ctest-vn2-69167129 2025-08-03 09:39:33,125 - DEBUG - VN 0e19c75b-a7dd-4c33-85fd-5de859e682c6 still in use: Unable to complete operation on network 0e19c75b-a7dd-4c33-85fd-5de859e682c6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8c01c8db-8195-43a5-90a6-664ac5821b57'] 2025-08-03 09:39:33,125 - WARNING - Deleting VN ctest-vn2-69167129 failed..Will retry 2025-08-03 09:39:35,251 - DEBUG - Response for deleting network () 2025-08-03 09:39:35,251 - INFO - Deleting VN ctest-vn1-85258265 2025-08-03 09:39:35,364 - DEBUG - Response for deleting network () 2025-08-03 09:39:35,625 - DEBUG - No XMPP flaps were noticed during the test
2025-08-03 09:39:35,625 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-03 09:39:35,626 - INFO - -------------------------------------------------------------------------------- 2025-08-03 09:39:36,366 - INFO - Deleted project: ctest-TestRouters-21156820, ID : 5cb2ab28-a2eb-4c51-ba25-a883142a0520