2025-11-05 18:44:08,376 - INFO - Domain Default found not creating 2025-11-05 18:44:08,506 - INFO - Project ctest-TestRouters-84036742 not found, creating it 2025-11-05 18:44:08,932 - INFO - Created Project:ctest-TestRouters-84036742, ID : 32558ef6-4b9b-4e22-a0ed-f02ec05d0bcd 2025-11-05 18:44:10,383 - INFO - ================================================================================ 2025-11-05 18:44:10,383 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 18:44:10,383 - 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-11-05 18:44:10,636 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 18:44:10,636 - INFO - Initial checks done. Running the testcase now 2025-11-05 18:44:10,636 - INFO - 2025-11-05 18:44:11,171 - DEBUG - Response for create_network : {'network': {'id': '34095359-8f53-4ee8-ba2c-f5c7a447ebea', 'name': 'ctest-vn1-26568645', 'tenant_id': '32558ef64b9b4e22a0edf02ec05d0bcd', 'project_id': '32558ef64b9b4e22a0edf02ec05d0bcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84036742', 'ctest-vn1-26568645'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 18:44:11,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f92f981-9ee9-4682-9b4b-c9394f528be1', 'name': '', 'tenant_id': '32558ef64b9b4e22a0edf02ec05d0bcd', 'network_id': '34095359-8f53-4ee8-ba2c-f5c7a447ebea', 'ip_version': 4, 'cidr': '54.26.13.192/26', 'allocation_pools': [{'start': '54.26.13.194', 'end': '54.26.13.254'}], 'gateway_ip': '54.26.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.26.13.194', 'tags': [], 'project_id': '32558ef64b9b4e22a0edf02ec05d0bcd'}} 2025-11-05 18:44:11,353 - INFO - Created VN ctest-vn1-26568645 2025-11-05 18:44:11,406 - DEBUG - VN ctest-vn1-26568645 UUID is 34095359-8f53-4ee8-ba2c-f5c7a447ebea 2025-11-05 18:44:11,707 - DEBUG - Response for create_network : {'network': {'id': 'f9b189d5-8218-4dd5-b134-5894b1b86e81', 'name': 'ctest-vn2-14055935', 'tenant_id': '32558ef64b9b4e22a0edf02ec05d0bcd', 'project_id': '32558ef64b9b4e22a0edf02ec05d0bcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84036742', 'ctest-vn2-14055935'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 18:44:11,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '828f60e0-4dd5-4aeb-b8e6-0f559a1f84fa', 'name': '', 'tenant_id': '32558ef64b9b4e22a0edf02ec05d0bcd', 'network_id': 'f9b189d5-8218-4dd5-b134-5894b1b86e81', 'ip_version': 4, 'cidr': '70.164.53.128/26', 'allocation_pools': [{'start': '70.164.53.130', 'end': '70.164.53.190'}], 'gateway_ip': '70.164.53.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.164.53.130', 'tags': [], 'project_id': '32558ef64b9b4e22a0edf02ec05d0bcd'}} 2025-11-05 18:44:11,950 - INFO - Created VN ctest-vn2-14055935 2025-11-05 18:44:12,002 - DEBUG - VN ctest-vn2-14055935 UUID is f9b189d5-8218-4dd5-b134-5894b1b86e81 2025-11-05 18:44:12,240 - DEBUG - Services list from nova: [, , ] 2025-11-05 18:44:13,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4653-1) 2025-11-05 18:44:14,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4653-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4653-1) 2025-11-05 18:44:14,457 - INFO - Adding interface with subnet_id 5f92f981-9ee9-4682-9b4b-c9394f528be1, port_id None to router fc64f299-2fb1-46c3-a7c7-d1545ca7e49c 2025-11-05 18:44:14,720 - INFO - Waiting for VM ctest-vn1-vm1-17743741 to be up.. 2025-11-05 18:44:14,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 18:44:19,886 - DEBUG - VM is in ACTIVE state now 2025-11-05 18:44:19,886 - INFO - VM name : ctest-vn1-vm1-17743741 2025-11-05 18:44:19,953 - DEBUG - VM ctest-vn1-vm1-17743741 ID is d17a2c1b-1e5e-4d3d-bc45-013b105fb8cd 2025-11-05 18:44:19,969 - DEBUG - VM ctest-vn1-vm1-17743741 launched on Node cn-jenkins-deploy-platform-ansible-os-4653-1 2025-11-05 18:44:20,037 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d17a2c1b-1e5e-4d3d-bc45-013b105fb8cd 2025-11-05 18:44:20,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d17a2c1b-1e5e-4d3d-bc45-013b105fb8cd 2025-11-05 18:44:20,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1612d35f-41e2-4818-8188-43dc23357195 2025-11-05 18:44:23,621 - 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-11-05 18:44:23,622 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17743741 failed! 2025-11-05 18:44:23,678 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84036742:ctest-vn1-26568645 is 54.26.13.193 and allocation pool is NOT set 2025-11-05 18:44:25,735 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 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.384/1.498/2.613/1.114 ms') 2025-11-05 18:44:25,735 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17743741 passed 2025-11-05 18:44:25,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:25,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17743741, IP 54.26.13.195, Port 22 2025-11-05 18:44:26,037 - DEBUG - VM ctest-vn1-vm1-17743741 is ready for SSH connections 2025-11-05 18:44:26,038 - INFO - Waiting for VM ctest-vn2-vm1-14726168 to be up.. 2025-11-05 18:44:26,100 - DEBUG - VM is in ACTIVE state now 2025-11-05 18:44:26,100 - INFO - VM name : ctest-vn2-vm1-14726168 2025-11-05 18:44:26,166 - DEBUG - VM ctest-vn2-vm1-14726168 ID is a80ffe6f-7d98-4f01-baa1-d45310c7d072 2025-11-05 18:44:26,166 - DEBUG - VM ctest-vn2-vm1-14726168 launched on Node cn-jenkins-deploy-platform-ansible-os-4653-1 2025-11-05 18:44:26,226 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a80ffe6f-7d98-4f01-baa1-d45310c7d072 2025-11-05 18:44:26,232 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3d7e057c-51bb-468b-b689-fbb31ade94bb 2025-11-05 18:44:27,462 - 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.330 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.330/1.510/2.691/1.180 ms') 2025-11-05 18:44:27,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14726168 passed 2025-11-05 18:44:27,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:27,610 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14726168, IP 70.164.53.131, Port 22 2025-11-05 18:44:27,762 - DEBUG - VM ctest-vn2-vm1-14726168 is ready for SSH connections 2025-11-05 18:44:27,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:27,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.164.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 18:44:27,762 - DEBUG - ping -s 56 -c 3 -W 1 70.164.53.131 2025-11-05 18:44:32,402 - DEBUG - PING 70.164.53.131 (70.164.53.131): 56 data bytes --- 70.164.53.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 18:44:32,402 - WARNING - Ping to IP 70.164.53.131 from VM ctest-vn1-vm1-17743741 failed 2025-11-05 18:44:32,402 - INFO - Adding interface with subnet_id 828f60e0-4dd5-4aeb-b8e6-0f559a1f84fa, port_id None to router fc64f299-2fb1-46c3-a7c7-d1545ca7e49c 2025-11-05 18:44:32,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:32,648 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.164.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 18:44:32,649 - DEBUG - ping -s 56 -c 3 -W 1 70.164.53.131 2025-11-05 18:44:35,841 - DEBUG - PING 70.164.53.131 (70.164.53.131): 56 data bytes 64 bytes from 70.164.53.131: seq=1 ttl=63 time=2.480 ms 64 bytes from 70.164.53.131: seq=2 ttl=63 time=0.879 ms --- 70.164.53.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.879/1.679/2.480 ms 2025-11-05 18:44:35,841 - WARNING - Ping to IP 70.164.53.131 from VM ctest-vn1-vm1-17743741 failed 2025-11-05 18:44:36,842 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.164.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 18:44:36,842 - DEBUG - ping -s 56 -c 3 -W 1 70.164.53.131 2025-11-05 18:44:39,041 - DEBUG - PING 70.164.53.131 (70.164.53.131): 56 data bytes 64 bytes from 70.164.53.131: seq=0 ttl=63 time=1.351 ms 64 bytes from 70.164.53.131: seq=1 ttl=63 time=0.901 ms 64 bytes from 70.164.53.131: seq=2 ttl=63 time=0.712 ms --- 70.164.53.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.712/0.988/1.351 ms 2025-11-05 18:44:39,042 - INFO - Ping to IP 70.164.53.131 from VM ctest-vn1-vm1-17743741 passed 2025-11-05 18:44:39,042 - INFO - Deleting interface with subnet_id 5f92f981-9ee9-4682-9b4b-c9394f528be1, port_id None from router fc64f299-2fb1-46c3-a7c7-d1545ca7e49c 2025-11-05 18:44:39,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:39,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.164.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 18:44:39,145 - DEBUG - ping -s 56 -c 3 -W 1 70.164.53.131 2025-11-05 18:44:42,357 - DEBUG - PING 70.164.53.131 (70.164.53.131): 56 data bytes --- 70.164.53.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 18:44:42,357 - WARNING - Ping to IP 70.164.53.131 from VM ctest-vn1-vm1-17743741 failed 2025-11-05 18:44:42,357 - INFO - Adding interface with subnet_id 5f92f981-9ee9-4682-9b4b-c9394f528be1, port_id None to router fc64f299-2fb1-46c3-a7c7-d1545ca7e49c 2025-11-05 18:44:42,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 18:44:42,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.164.53.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 18:44:42,552 - DEBUG - ping -s 56 -c 3 -W 1 70.164.53.131 2025-11-05 18:44:44,742 - DEBUG - PING 70.164.53.131 (70.164.53.131): 56 data bytes 64 bytes from 70.164.53.131: seq=0 ttl=63 time=1.354 ms 64 bytes from 70.164.53.131: seq=1 ttl=63 time=0.746 ms 64 bytes from 70.164.53.131: seq=2 ttl=63 time=0.843 ms --- 70.164.53.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.746/0.981/1.354 ms 2025-11-05 18:44:44,742 - INFO - Ping to IP 70.164.53.131 from VM ctest-vn1-vm1-17743741 passed 2025-11-05 18:44:44,742 - INFO - Deleting interface with subnet_id 828f60e0-4dd5-4aeb-b8e6-0f559a1f84fa, port_id None from router fc64f299-2fb1-46c3-a7c7-d1545ca7e49c 2025-11-05 18:44:44,843 - INFO - Deleting interface with subnet_id 5f92f981-9ee9-4682-9b4b-c9394f528be1, port_id None from router fc64f299-2fb1-46c3-a7c7-d1545ca7e49c 2025-11-05 18:44:44,997 - INFO - Deleting VM ctest-vn2-vm1-14726168 2025-11-05 18:44:45,063 - INFO - Deleting VM ctest-vn1-vm1-17743741 2025-11-05 18:44:45,133 - INFO - Deleting VN ctest-vn2-14055935 2025-11-05 18:44:45,170 - DEBUG - VN f9b189d5-8218-4dd5-b134-5894b1b86e81 still in use: Unable to complete operation on network f9b189d5-8218-4dd5-b134-5894b1b86e81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bee2efe1-cbc9-4602-bf12-3fbb8cb94219'] 2025-11-05 18:44:45,170 - WARNING - Deleting VN ctest-vn2-14055935 failed..Will retry 2025-11-05 18:44:47,256 - DEBUG - Response for deleting network () 2025-11-05 18:44:47,256 - INFO - Deleting VN ctest-vn1-26568645 2025-11-05 18:44:47,350 - DEBUG - Response for deleting network () 2025-11-05 18:44:47,603 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 18:44:47,603 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-05 18:44:47,603 - INFO - -------------------------------------------------------------------------------- 2025-11-05 18:44:48,251 - INFO - Deleted project: ctest-TestRouters-84036742, ID : 32558ef6-4b9b-4e22-a0ed-f02ec05d0bcd