2025-10-22 19:10:29,024 - INFO - Domain Default found not creating 2025-10-22 19:10:29,178 - INFO - Project ctest-TestRouters-18752725 not found, creating it 2025-10-22 19:10:29,716 - INFO - Created Project:ctest-TestRouters-18752725, ID : f6c5405a-c89c-4a47-b9c9-fcd10299ff37 2025-10-22 19:10:31,275 - INFO - ================================================================================ 2025-10-22 19:10:31,275 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-22 19:10:31,275 - 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-22 19:10:31,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-22 19:10:31,532 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:10:31,532 - INFO - 2025-10-22 19:10:32,216 - DEBUG - Response for create_network : {'network': {'id': 'ebd86850-0da8-4053-9301-a724dadb14b3', 'name': 'ctest-vn1-78610006', 'tenant_id': 'f6c5405ac89c4a47b9c9fcd10299ff37', 'project_id': 'f6c5405ac89c4a47b9c9fcd10299ff37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-18752725', 'ctest-vn1-78610006'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:10:32,448 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc06d829-0282-4a34-bd9b-cd8a48f905f7', 'name': '', 'tenant_id': 'f6c5405ac89c4a47b9c9fcd10299ff37', 'network_id': 'ebd86850-0da8-4053-9301-a724dadb14b3', 'ip_version': 4, 'cidr': '44.174.117.128/26', 'allocation_pools': [{'start': '44.174.117.130', 'end': '44.174.117.190'}], 'gateway_ip': '44.174.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.174.117.130', 'tags': [], 'project_id': 'f6c5405ac89c4a47b9c9fcd10299ff37'}} 2025-10-22 19:10:32,472 - INFO - Created VN ctest-vn1-78610006 2025-10-22 19:10:32,527 - DEBUG - VN ctest-vn1-78610006 UUID is ebd86850-0da8-4053-9301-a724dadb14b3 2025-10-22 19:10:32,872 - DEBUG - Response for create_network : {'network': {'id': '37587b4d-0aac-4a1e-a535-3304c9c89f43', 'name': 'ctest-vn2-56916147', 'tenant_id': 'f6c5405ac89c4a47b9c9fcd10299ff37', 'project_id': 'f6c5405ac89c4a47b9c9fcd10299ff37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-18752725', 'ctest-vn2-56916147'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:10:33,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a759eab6-d8e6-4871-ba45-fbcf8977e4a1', 'name': '', 'tenant_id': 'f6c5405ac89c4a47b9c9fcd10299ff37', 'network_id': '37587b4d-0aac-4a1e-a535-3304c9c89f43', 'ip_version': 4, 'cidr': '189.6.149.192/26', 'allocation_pools': [{'start': '189.6.149.194', 'end': '189.6.149.254'}], 'gateway_ip': '189.6.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.6.149.194', 'tags': [], 'project_id': 'f6c5405ac89c4a47b9c9fcd10299ff37'}} 2025-10-22 19:10:33,083 - INFO - Created VN ctest-vn2-56916147 2025-10-22 19:10:33,136 - DEBUG - VN ctest-vn2-56916147 UUID is 37587b4d-0aac-4a1e-a535-3304c9c89f43 2025-10-22 19:10:33,312 - DEBUG - Services list from nova: [, , ] 2025-10-22 19:10:34,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1) 2025-10-22 19:10:35,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1) 2025-10-22 19:10:35,717 - INFO - Adding interface with subnet_id bc06d829-0282-4a34-bd9b-cd8a48f905f7, port_id None to router 529904bd-6b53-43af-be48-3d5fc93ee78c 2025-10-22 19:10:36,089 - INFO - Waiting for VM ctest-vn1-vm1-17900741 to be up.. 2025-10-22 19:10:36,225 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 19:10:41,323 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:10:41,323 - INFO - VM name : ctest-vn1-vm1-17900741 2025-10-22 19:10:41,422 - DEBUG - VM ctest-vn1-vm1-17900741 ID is 8addee7b-fb28-458b-80d5-1939cdd312e7 2025-10-22 19:10:41,447 - DEBUG - VM ctest-vn1-vm1-17900741 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1 2025-10-22 19:10:41,552 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8addee7b-fb28-458b-80d5-1939cdd312e7 2025-10-22 19:10:41,849 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/8addee7b-fb28-458b-80d5-1939cdd312e7 2025-10-22 19:10:41,887 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/1ab9d6db-85bc-4a9d-bfc4-b872a9c957be 2025-10-22 19:10:45,154 - 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 1006ms') 2025-10-22 19:10:45,154 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17900741 failed! 2025-10-22 19:10:45,211 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-18752725:ctest-vn1-78610006 is 44.174.117.129 and allocation pool is NOT set 2025-10-22 19:10:47,271 - 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=6.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.555 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.555/3.474/6.394/2.919 ms') 2025-10-22 19:10:47,271 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17900741 passed 2025-10-22 19:10:47,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:47,432 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17900741, IP 44.174.117.131, Port 22 2025-10-22 19:10:47,598 - DEBUG - VM ctest-vn1-vm1-17900741 is ready for SSH connections 2025-10-22 19:10:47,598 - INFO - Waiting for VM ctest-vn2-vm1-24175345 to be up.. 2025-10-22 19:10:47,678 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:10:47,679 - INFO - VM name : ctest-vn2-vm1-24175345 2025-10-22 19:10:47,759 - DEBUG - VM ctest-vn2-vm1-24175345 ID is a255dbaf-7570-44ef-a24d-8c2c5c24a5dd 2025-10-22 19:10:47,759 - DEBUG - VM ctest-vn2-vm1-24175345 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1 2025-10-22 19:10:47,837 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a255dbaf-7570-44ef-a24d-8c2c5c24a5dd 2025-10-22 19:10:47,846 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ba9aaf48-f158-4e73-85b8-52c61b89b7a4 2025-10-22 19:10:49,084 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.597 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.597/1.741/2.886/1.144 ms') 2025-10-22 19:10:49,084 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-24175345 passed 2025-10-22 19:10:49,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:49,232 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-24175345, IP 189.6.149.195, Port 22 2025-10-22 19:10:49,387 - DEBUG - VM ctest-vn2-vm1-24175345 is ready for SSH connections 2025-10-22 19:10:49,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:49,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.6.149.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:10:49,387 - DEBUG - ping -s 56 -c 3 -W 1 189.6.149.195 2025-10-22 19:10:54,436 - DEBUG - PING 189.6.149.195 (189.6.149.195): 56 data bytes --- 189.6.149.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 19:10:54,436 - WARNING - Ping to IP 189.6.149.195 from VM ctest-vn1-vm1-17900741 failed 2025-10-22 19:10:54,437 - INFO - Adding interface with subnet_id a759eab6-d8e6-4871-ba45-fbcf8977e4a1, port_id None to router 529904bd-6b53-43af-be48-3d5fc93ee78c 2025-10-22 19:10:54,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:10:54,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.6.149.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:10:54,701 - DEBUG - ping -s 56 -c 3 -W 1 189.6.149.195 2025-10-22 19:10:57,954 - DEBUG - PING 189.6.149.195 (189.6.149.195): 56 data bytes 64 bytes from 189.6.149.195: seq=1 ttl=63 time=2.839 ms 64 bytes from 189.6.149.195: seq=2 ttl=63 time=1.019 ms --- 189.6.149.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.019/1.929/2.839 ms 2025-10-22 19:10:57,955 - WARNING - Ping to IP 189.6.149.195 from VM ctest-vn1-vm1-17900741 failed 2025-10-22 19:10:58,956 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.6.149.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:10:58,956 - DEBUG - ping -s 56 -c 3 -W 1 189.6.149.195 2025-10-22 19:11:01,168 - DEBUG - PING 189.6.149.195 (189.6.149.195): 56 data bytes 64 bytes from 189.6.149.195: seq=0 ttl=63 time=1.651 ms 64 bytes from 189.6.149.195: seq=1 ttl=63 time=0.890 ms 64 bytes from 189.6.149.195: seq=2 ttl=63 time=1.084 ms --- 189.6.149.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/1.208/1.651 ms 2025-10-22 19:11:01,168 - INFO - Ping to IP 189.6.149.195 from VM ctest-vn1-vm1-17900741 passed 2025-10-22 19:11:01,168 - INFO - Deleting interface with subnet_id bc06d829-0282-4a34-bd9b-cd8a48f905f7, port_id None from router 529904bd-6b53-43af-be48-3d5fc93ee78c 2025-10-22 19:11:01,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:11:01,309 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.6.149.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:11:01,309 - DEBUG - ping -s 56 -c 3 -W 1 189.6.149.195 2025-10-22 19:11:04,518 - DEBUG - PING 189.6.149.195 (189.6.149.195): 56 data bytes --- 189.6.149.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 19:11:04,518 - WARNING - Ping to IP 189.6.149.195 from VM ctest-vn1-vm1-17900741 failed 2025-10-22 19:11:04,518 - INFO - Adding interface with subnet_id bc06d829-0282-4a34-bd9b-cd8a48f905f7, port_id None to router 529904bd-6b53-43af-be48-3d5fc93ee78c 2025-10-22 19:11:04,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:11:04,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.6.149.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:11:04,737 - DEBUG - ping -s 56 -c 3 -W 1 189.6.149.195 2025-10-22 19:11:06,956 - DEBUG - PING 189.6.149.195 (189.6.149.195): 56 data bytes 64 bytes from 189.6.149.195: seq=0 ttl=63 time=1.880 ms 64 bytes from 189.6.149.195: seq=1 ttl=63 time=1.028 ms 64 bytes from 189.6.149.195: seq=2 ttl=63 time=0.923 ms --- 189.6.149.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/1.277/1.880 ms 2025-10-22 19:11:06,956 - INFO - Ping to IP 189.6.149.195 from VM ctest-vn1-vm1-17900741 passed 2025-10-22 19:11:06,956 - INFO - Deleting interface with subnet_id a759eab6-d8e6-4871-ba45-fbcf8977e4a1, port_id None from router 529904bd-6b53-43af-be48-3d5fc93ee78c 2025-10-22 19:11:07,099 - INFO - Deleting interface with subnet_id bc06d829-0282-4a34-bd9b-cd8a48f905f7, port_id None from router 529904bd-6b53-43af-be48-3d5fc93ee78c 2025-10-22 19:11:07,262 - INFO - Deleting VM ctest-vn2-vm1-24175345 2025-10-22 19:11:07,332 - INFO - Deleting VM ctest-vn1-vm1-17900741 2025-10-22 19:11:07,412 - INFO - Deleting VN ctest-vn2-56916147 2025-10-22 19:11:07,455 - DEBUG - VN 37587b4d-0aac-4a1e-a535-3304c9c89f43 still in use: Unable to complete operation on network 37587b4d-0aac-4a1e-a535-3304c9c89f43. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1890ee25-2337-484e-b6c4-006d8c6d37fa'] 2025-10-22 19:11:07,455 - WARNING - Deleting VN ctest-vn2-56916147 failed..Will retry 2025-10-22 19:11:09,566 - DEBUG - Response for deleting network () 2025-10-22 19:11:09,566 - INFO - Deleting VN ctest-vn1-78610006 2025-10-22 19:11:09,689 - DEBUG - Response for deleting network () 2025-10-22 19:11:09,953 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 19:11:09,953 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-22 19:11:09,953 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:11:10,658 - INFO - Deleted project: ctest-TestRouters-18752725, ID : f6c5405a-c89c-4a47-b9c9-fcd10299ff37