2025-09-19 08:29:34,842 - INFO - Domain Default found not creating 2025-09-19 08:29:34,975 - INFO - Project ctest-TestRouters-08525764 not found, creating it 2025-09-19 08:29:35,410 - INFO - Created Project:ctest-TestRouters-08525764, ID : 1aee0476-3c77-4b02-a2db-eda59b5b4f93 2025-09-19 08:29:36,785 - INFO - ================================================================================ 2025-09-19 08:29:36,785 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-19 08:29:36,785 - 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-19 08:29:37,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 08:29:37,045 - INFO - Initial checks done. Running the testcase now 2025-09-19 08:29:37,046 - INFO - 2025-09-19 08:29:37,621 - DEBUG - Response for create_network : {'network': {'id': '51a7a871-5ea3-448d-8d6a-128fe13186d3', 'name': 'ctest-vn1-01676034', 'tenant_id': '1aee04763c774b02a2dbeda59b5b4f93', 'project_id': '1aee04763c774b02a2dbeda59b5b4f93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08525764', 'ctest-vn1-01676034'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:29:37,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1c4561c-7eeb-4125-a2ff-a95dfb310519', 'name': '', 'tenant_id': '1aee04763c774b02a2dbeda59b5b4f93', 'network_id': '51a7a871-5ea3-448d-8d6a-128fe13186d3', 'ip_version': 4, 'cidr': '202.243.192.128/26', 'allocation_pools': [{'start': '202.243.192.130', 'end': '202.243.192.190'}], 'gateway_ip': '202.243.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.243.192.130', 'tags': [], 'project_id': '1aee04763c774b02a2dbeda59b5b4f93'}} 2025-09-19 08:29:37,823 - INFO - Created VN ctest-vn1-01676034 2025-09-19 08:29:37,876 - DEBUG - VN ctest-vn1-01676034 UUID is 51a7a871-5ea3-448d-8d6a-128fe13186d3 2025-09-19 08:29:38,196 - DEBUG - Response for create_network : {'network': {'id': '54d69af8-a5b5-4ac0-81dd-a540d3ec47cc', 'name': 'ctest-vn2-62148070', 'tenant_id': '1aee04763c774b02a2dbeda59b5b4f93', 'project_id': '1aee04763c774b02a2dbeda59b5b4f93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-08525764', 'ctest-vn2-62148070'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:29:38,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce83e93c-e495-4c31-85cb-5fc414ecb73e', 'name': '', 'tenant_id': '1aee04763c774b02a2dbeda59b5b4f93', 'network_id': '54d69af8-a5b5-4ac0-81dd-a540d3ec47cc', 'ip_version': 4, 'cidr': '79.143.73.64/26', 'allocation_pools': [{'start': '79.143.73.66', 'end': '79.143.73.126'}], 'gateway_ip': '79.143.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.143.73.66', 'tags': [], 'project_id': '1aee04763c774b02a2dbeda59b5b4f93'}} 2025-09-19 08:29:38,399 - INFO - Created VN ctest-vn2-62148070 2025-09-19 08:29:38,452 - DEBUG - VN ctest-vn2-62148070 UUID is 54d69af8-a5b5-4ac0-81dd-a540d3ec47cc 2025-09-19 08:29:38,702 - DEBUG - Services list from nova: [, , ] 2025-09-19 08:29:39,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4147-1) 2025-09-19 08:29:40,858 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4147-1) 2025-09-19 08:29:40,923 - INFO - Adding interface with subnet_id d1c4561c-7eeb-4125-a2ff-a95dfb310519, port_id None to router 4448c568-84e5-442a-a443-50591b0746ee 2025-09-19 08:29:41,162 - INFO - Waiting for VM ctest-vn1-vm1-23991423 to be up.. 2025-09-19 08:29:41,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 08:29:46,322 - DEBUG - VM is in ACTIVE state now 2025-09-19 08:29:46,322 - INFO - VM name : ctest-vn1-vm1-23991423 2025-09-19 08:29:46,388 - DEBUG - VM ctest-vn1-vm1-23991423 ID is 29763a35-282d-414b-afce-74eb348defbd 2025-09-19 08:29:46,406 - DEBUG - VM ctest-vn1-vm1-23991423 launched on Node cn-jenkins-deploy-platform-ansible-os-4147-1 2025-09-19 08:29:46,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/29763a35-282d-414b-afce-74eb348defbd 2025-09-19 08:29:46,766 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/29763a35-282d-414b-afce-74eb348defbd 2025-09-19 08:29:46,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/29267954-3c12-48b9-af09-26d0104a9e77 2025-09-19 08:29:50,063 - 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 1031ms') 2025-09-19 08:29:50,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23991423 failed! 2025-09-19 08:29:50,116 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-08525764:ctest-vn1-01676034 is 202.243.192.129 and allocation pool is NOT set 2025-09-19 08:29:52,182 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.318 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.318/1.541/2.765/1.223 ms') 2025-09-19 08:29:52,182 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23991423 passed 2025-09-19 08:29:52,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:52,328 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23991423, IP 202.243.192.131, Port 22 2025-09-19 08:29:52,480 - DEBUG - VM ctest-vn1-vm1-23991423 is ready for SSH connections 2025-09-19 08:29:52,480 - INFO - Waiting for VM ctest-vn2-vm1-88619744 to be up.. 2025-09-19 08:29:52,547 - DEBUG - VM is in ACTIVE state now 2025-09-19 08:29:52,547 - INFO - VM name : ctest-vn2-vm1-88619744 2025-09-19 08:29:52,615 - DEBUG - VM ctest-vn2-vm1-88619744 ID is cb07560b-b8d1-43a1-b099-268b9c28f1cf 2025-09-19 08:29:52,616 - DEBUG - VM ctest-vn2-vm1-88619744 launched on Node cn-jenkins-deploy-platform-ansible-os-4147-1 2025-09-19 08:29:52,688 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cb07560b-b8d1-43a1-b099-268b9c28f1cf 2025-09-19 08:29:52,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e00b8708-4875-41ff-a250-56a7051d327a 2025-09-19 08:29:53,931 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.581/2.789/1.207 ms') 2025-09-19 08:29:53,931 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-88619744 passed 2025-09-19 08:29:54,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:54,080 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88619744, IP 79.143.73.67, Port 22 2025-09-19 08:29:54,232 - DEBUG - VM ctest-vn2-vm1-88619744 is ready for SSH connections 2025-09-19 08:29:54,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:54,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.143.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:29:54,233 - DEBUG - ping -s 56 -c 3 -W 1 79.143.73.67 2025-09-19 08:29:58,917 - DEBUG - PING 79.143.73.67 (79.143.73.67): 56 data bytes --- 79.143.73.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 08:29:58,917 - WARNING - Ping to IP 79.143.73.67 from VM ctest-vn1-vm1-23991423 failed 2025-09-19 08:29:58,917 - INFO - Adding interface with subnet_id ce83e93c-e495-4c31-85cb-5fc414ecb73e, port_id None to router 4448c568-84e5-442a-a443-50591b0746ee 2025-09-19 08:29:59,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:59,158 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.143.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:29:59,158 - DEBUG - ping -s 56 -c 3 -W 1 79.143.73.67 2025-09-19 08:30:01,372 - DEBUG - PING 79.143.73.67 (79.143.73.67): 56 data bytes 64 bytes from 79.143.73.67: seq=0 ttl=63 time=2.265 ms 64 bytes from 79.143.73.67: seq=1 ttl=63 time=0.929 ms 64 bytes from 79.143.73.67: seq=2 ttl=63 time=0.894 ms --- 79.143.73.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/1.362/2.265 ms 2025-09-19 08:30:01,372 - INFO - Ping to IP 79.143.73.67 from VM ctest-vn1-vm1-23991423 passed 2025-09-19 08:30:01,372 - INFO - Deleting interface with subnet_id d1c4561c-7eeb-4125-a2ff-a95dfb310519, port_id None from router 4448c568-84e5-442a-a443-50591b0746ee 2025-09-19 08:30:01,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:30:01,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.143.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:30:01,478 - DEBUG - ping -s 56 -c 3 -W 1 79.143.73.67 2025-09-19 08:30:04,673 - DEBUG - PING 79.143.73.67 (79.143.73.67): 56 data bytes --- 79.143.73.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 08:30:04,674 - WARNING - Ping to IP 79.143.73.67 from VM ctest-vn1-vm1-23991423 failed 2025-09-19 08:30:04,674 - INFO - Adding interface with subnet_id d1c4561c-7eeb-4125-a2ff-a95dfb310519, port_id None to router 4448c568-84e5-442a-a443-50591b0746ee 2025-09-19 08:30:04,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:30:04,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.143.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:30:04,881 - DEBUG - ping -s 56 -c 3 -W 1 79.143.73.67 2025-09-19 08:30:08,084 - DEBUG - PING 79.143.73.67 (79.143.73.67): 56 data bytes 64 bytes from 79.143.73.67: seq=1 ttl=63 time=1.328 ms 64 bytes from 79.143.73.67: seq=2 ttl=63 time=0.773 ms --- 79.143.73.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.773/1.050/1.328 ms 2025-09-19 08:30:08,084 - WARNING - Ping to IP 79.143.73.67 from VM ctest-vn1-vm1-23991423 failed 2025-09-19 08:30:09,085 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.143.73.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:30:09,085 - DEBUG - ping -s 56 -c 3 -W 1 79.143.73.67 2025-09-19 08:30:11,292 - DEBUG - PING 79.143.73.67 (79.143.73.67): 56 data bytes 64 bytes from 79.143.73.67: seq=0 ttl=63 time=1.513 ms 64 bytes from 79.143.73.67: seq=1 ttl=63 time=0.804 ms 64 bytes from 79.143.73.67: seq=2 ttl=63 time=0.892 ms --- 79.143.73.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/1.069/1.513 ms 2025-09-19 08:30:11,292 - INFO - Ping to IP 79.143.73.67 from VM ctest-vn1-vm1-23991423 passed 2025-09-19 08:30:11,292 - INFO - Deleting interface with subnet_id ce83e93c-e495-4c31-85cb-5fc414ecb73e, port_id None from router 4448c568-84e5-442a-a443-50591b0746ee 2025-09-19 08:30:11,402 - INFO - Deleting interface with subnet_id d1c4561c-7eeb-4125-a2ff-a95dfb310519, port_id None from router 4448c568-84e5-442a-a443-50591b0746ee 2025-09-19 08:30:11,553 - INFO - Deleting VM ctest-vn2-vm1-88619744 2025-09-19 08:30:11,619 - INFO - Deleting VM ctest-vn1-vm1-23991423 2025-09-19 08:30:11,687 - INFO - Deleting VN ctest-vn2-62148070 2025-09-19 08:30:11,720 - DEBUG - VN 54d69af8-a5b5-4ac0-81dd-a540d3ec47cc still in use: Unable to complete operation on network 54d69af8-a5b5-4ac0-81dd-a540d3ec47cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-370ab218-b596-499e-b42b-180be42e8e65'] 2025-09-19 08:30:11,720 - WARNING - Deleting VN ctest-vn2-62148070 failed..Will retry 2025-09-19 08:30:13,821 - DEBUG - Response for deleting network () 2025-09-19 08:30:13,821 - INFO - Deleting VN ctest-vn1-01676034 2025-09-19 08:30:13,906 - DEBUG - Response for deleting network () 2025-09-19 08:30:14,161 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 08:30:14,161 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-19 08:30:14,161 - INFO - -------------------------------------------------------------------------------- 2025-09-19 08:30:14,802 - INFO - Deleted project: ctest-TestRouters-08525764, ID : 1aee0476-3c77-4b02-a2db-eda59b5b4f93