2025-10-21 16:27:10,743 - INFO - Domain Default found not creating 2025-10-21 16:27:11,040 - INFO - Project ctest-TestRouters-00360884 not found, creating it 2025-10-21 16:27:11,699 - INFO - Created Project:ctest-TestRouters-00360884, ID : 4161fc4c-402c-4b64-9fe9-2957364f9bb2 2025-10-21 16:27:13,444 - INFO - ================================================================================ 2025-10-21 16:27:13,444 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 16:27:13,444 - 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-21 16:27:13,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 16:27:13,739 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:27:13,739 - INFO - 2025-10-21 16:27:14,438 - DEBUG - Response for create_network : {'network': {'id': 'dbab2c31-d9c1-4063-8eca-8e6b189474ed', 'name': 'ctest-vn1-28210695', 'tenant_id': '4161fc4c402c4b649fe92957364f9bb2', 'project_id': '4161fc4c402c4b649fe92957364f9bb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00360884', 'ctest-vn1-28210695'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:27:14,697 - DEBUG - Response for create_subnet : {'subnet': {'id': '5425325c-9472-4a45-a9dc-417f0f1b8afd', 'name': '', 'tenant_id': '4161fc4c402c4b649fe92957364f9bb2', 'network_id': 'dbab2c31-d9c1-4063-8eca-8e6b189474ed', 'ip_version': 4, 'cidr': '129.101.168.0/26', 'allocation_pools': [{'start': '129.101.168.2', 'end': '129.101.168.62'}], 'gateway_ip': '129.101.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.101.168.2', 'tags': [], 'project_id': '4161fc4c402c4b649fe92957364f9bb2'}} 2025-10-21 16:27:14,734 - INFO - Created VN ctest-vn1-28210695 2025-10-21 16:27:14,799 - DEBUG - VN ctest-vn1-28210695 UUID is dbab2c31-d9c1-4063-8eca-8e6b189474ed 2025-10-21 16:27:15,223 - DEBUG - Response for create_network : {'network': {'id': '1452fa1e-4e02-491f-ad2e-f4292840f6bb', 'name': 'ctest-vn2-58538286', 'tenant_id': '4161fc4c402c4b649fe92957364f9bb2', 'project_id': '4161fc4c402c4b649fe92957364f9bb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00360884', 'ctest-vn2-58538286'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:27:15,593 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4b59293-543b-45b5-a3c9-8f6de089ff6c', 'name': '', 'tenant_id': '4161fc4c402c4b649fe92957364f9bb2', 'network_id': '1452fa1e-4e02-491f-ad2e-f4292840f6bb', 'ip_version': 4, 'cidr': '122.243.78.128/26', 'allocation_pools': [{'start': '122.243.78.130', 'end': '122.243.78.190'}], 'gateway_ip': '122.243.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.243.78.130', 'tags': [], 'project_id': '4161fc4c402c4b649fe92957364f9bb2'}} 2025-10-21 16:27:15,619 - INFO - Created VN ctest-vn2-58538286 2025-10-21 16:27:15,683 - DEBUG - VN ctest-vn2-58538286 UUID is 1452fa1e-4e02-491f-ad2e-f4292840f6bb 2025-10-21 16:27:15,905 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:27:17,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:27:18,599 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4397-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4397-1) 2025-10-21 16:27:18,688 - INFO - Adding interface with subnet_id 5425325c-9472-4a45-a9dc-417f0f1b8afd, port_id None to router 905daa1a-5a2c-4f5a-b2a4-b68b76c88ce1 2025-10-21 16:27:19,056 - INFO - Waiting for VM ctest-vn1-vm1-06413068 to be up.. 2025-10-21 16:27:19,235 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:27:24,376 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:27:24,377 - INFO - VM name : ctest-vn1-vm1-06413068 2025-10-21 16:27:24,487 - DEBUG - VM ctest-vn1-vm1-06413068 ID is aacedc24-9c73-4ee7-9096-24f112c1e058 2025-10-21 16:27:24,514 - DEBUG - VM ctest-vn1-vm1-06413068 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:27:24,613 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aacedc24-9c73-4ee7-9096-24f112c1e058 2025-10-21 16:27:24,921 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/aacedc24-9c73-4ee7-9096-24f112c1e058 2025-10-21 16:27:24,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7523bee4-4d4e-4c93-baff-88baa40eabfd 2025-10-21 16:27:28,275 - 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 1005ms') 2025-10-21 16:27:28,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06413068 failed! 2025-10-21 16:27:28,351 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-00360884:ctest-vn1-28210695 is 129.101.168.1 and allocation pool is NOT set 2025-10-21 16:27:30,425 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.901 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.901/6.037/11.174/5.136 ms') 2025-10-21 16:27:30,425 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06413068 passed 2025-10-21 16:27:30,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:27:30,588 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06413068, IP 129.101.168.3, Port 22 2025-10-21 16:27:30,766 - DEBUG - VM ctest-vn1-vm1-06413068 is ready for SSH connections 2025-10-21 16:27:30,766 - INFO - Waiting for VM ctest-vn2-vm1-69869659 to be up.. 2025-10-21 16:27:30,879 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:27:30,879 - INFO - VM name : ctest-vn2-vm1-69869659 2025-10-21 16:27:30,979 - DEBUG - VM ctest-vn2-vm1-69869659 ID is b515cbb6-e38c-42f6-9506-253eed8917d4 2025-10-21 16:27:30,979 - DEBUG - VM ctest-vn2-vm1-69869659 launched on Node cn-jenkins-deploy-platform-ansible-os-4397-1 2025-10-21 16:27:31,102 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b515cbb6-e38c-42f6-9506-253eed8917d4 2025-10-21 16:27:31,113 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/938159a7-22da-4b82-9fdd-58f7b08a018d 2025-10-21 16:27:32,362 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.90 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.904/4.429/4.955/0.525 ms') 2025-10-21 16:27:32,362 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-69869659 passed 2025-10-21 16:27:32,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:27:32,523 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-69869659, IP 122.243.78.131, Port 22 2025-10-21 16:27:32,693 - DEBUG - VM ctest-vn2-vm1-69869659 is ready for SSH connections 2025-10-21 16:27:32,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:27:32,694 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.243.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:27:32,694 - DEBUG - ping -s 56 -c 3 -W 1 122.243.78.131 2025-10-21 16:27:38,088 - DEBUG - PING 122.243.78.131 (122.243.78.131): 56 data bytes --- 122.243.78.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 16:27:38,088 - WARNING - Ping to IP 122.243.78.131 from VM ctest-vn1-vm1-06413068 failed 2025-10-21 16:27:38,088 - INFO - Adding interface with subnet_id a4b59293-543b-45b5-a3c9-8f6de089ff6c, port_id None to router 905daa1a-5a2c-4f5a-b2a4-b68b76c88ce1 2025-10-21 16:27:38,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:27:38,458 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.243.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:27:38,458 - DEBUG - ping -s 56 -c 3 -W 1 122.243.78.131 2025-10-21 16:27:40,711 - DEBUG - PING 122.243.78.131 (122.243.78.131): 56 data bytes 64 bytes from 122.243.78.131: seq=0 ttl=63 time=6.095 ms 64 bytes from 122.243.78.131: seq=1 ttl=63 time=1.855 ms 64 bytes from 122.243.78.131: seq=2 ttl=63 time=1.820 ms --- 122.243.78.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.820/3.256/6.095 ms 2025-10-21 16:27:40,711 - INFO - Ping to IP 122.243.78.131 from VM ctest-vn1-vm1-06413068 passed 2025-10-21 16:27:40,711 - INFO - Deleting interface with subnet_id 5425325c-9472-4a45-a9dc-417f0f1b8afd, port_id None from router 905daa1a-5a2c-4f5a-b2a4-b68b76c88ce1 2025-10-21 16:27:40,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:27:40,931 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.243.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:27:40,931 - DEBUG - ping -s 56 -c 3 -W 1 122.243.78.131 2025-10-21 16:27:44,218 - DEBUG - PING 122.243.78.131 (122.243.78.131): 56 data bytes --- 122.243.78.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 16:27:44,218 - WARNING - Ping to IP 122.243.78.131 from VM ctest-vn1-vm1-06413068 failed 2025-10-21 16:27:44,219 - INFO - Adding interface with subnet_id 5425325c-9472-4a45-a9dc-417f0f1b8afd, port_id None to router 905daa1a-5a2c-4f5a-b2a4-b68b76c88ce1 2025-10-21 16:27:44,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:27:44,508 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.243.78.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 16:27:44,508 - DEBUG - ping -s 56 -c 3 -W 1 122.243.78.131 2025-10-21 16:27:46,761 - DEBUG - PING 122.243.78.131 (122.243.78.131): 56 data bytes 64 bytes from 122.243.78.131: seq=0 ttl=63 time=2.332 ms 64 bytes from 122.243.78.131: seq=1 ttl=63 time=2.172 ms 64 bytes from 122.243.78.131: seq=2 ttl=63 time=2.000 ms --- 122.243.78.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.000/2.168/2.332 ms 2025-10-21 16:27:46,761 - INFO - Ping to IP 122.243.78.131 from VM ctest-vn1-vm1-06413068 passed 2025-10-21 16:27:46,762 - INFO - Deleting interface with subnet_id a4b59293-543b-45b5-a3c9-8f6de089ff6c, port_id None from router 905daa1a-5a2c-4f5a-b2a4-b68b76c88ce1 2025-10-21 16:27:47,023 - INFO - Deleting interface with subnet_id 5425325c-9472-4a45-a9dc-417f0f1b8afd, port_id None from router 905daa1a-5a2c-4f5a-b2a4-b68b76c88ce1 2025-10-21 16:27:47,231 - INFO - Deleting VM ctest-vn2-vm1-69869659 2025-10-21 16:27:47,301 - INFO - Deleting VM ctest-vn1-vm1-06413068 2025-10-21 16:27:47,375 - INFO - Deleting VN ctest-vn2-58538286 2025-10-21 16:27:47,439 - DEBUG - VN 1452fa1e-4e02-491f-ad2e-f4292840f6bb still in use: Unable to complete operation on network 1452fa1e-4e02-491f-ad2e-f4292840f6bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7b9bad6-e144-4452-b887-6cc5112ef9b6'] 2025-10-21 16:27:47,439 - WARNING - Deleting VN ctest-vn2-58538286 failed..Will retry 2025-10-21 16:27:49,666 - DEBUG - Response for deleting network () 2025-10-21 16:27:49,666 - INFO - Deleting VN ctest-vn1-28210695 2025-10-21 16:27:49,811 - DEBUG - Response for deleting network () 2025-10-21 16:27:50,094 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 16:27:50,094 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-10-21 16:27:50,094 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:27:50,841 - INFO - Deleted project: ctest-TestRouters-00360884, ID : 4161fc4c-402c-4b64-9fe9-2957364f9bb2