2025-11-18 14:46:09,069 - INFO - Domain Default found not creating 2025-11-18 14:46:09,288 - INFO - Project ctest-TestRouters-11084665 not found, creating it 2025-11-18 14:46:09,840 - INFO - Created Project:ctest-TestRouters-11084665, ID : 8c27d334-d09a-4d78-a2c3-e3f0dc5bda48 2025-11-18 14:46:11,481 - INFO - ================================================================================ 2025-11-18 14:46:11,481 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-18 14:46:11,481 - 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-18 14:46:11,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-11-18 14:46:11,764 - INFO - Initial checks done. Running the testcase now 2025-11-18 14:46:11,764 - INFO - 2025-11-18 14:46:12,406 - DEBUG - Response for create_network : {'network': {'id': '6e1d9a5a-fbe1-4772-981b-d4a17e7dda5d', 'name': 'ctest-vn1-94197954', 'tenant_id': '8c27d334d09a4d78a2c3e3f0dc5bda48', 'project_id': '8c27d334d09a4d78a2c3e3f0dc5bda48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11084665', 'ctest-vn1-94197954'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:46:12,610 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8d509dc-dcab-4009-87e2-d98ed461ba46', 'name': '', 'tenant_id': '8c27d334d09a4d78a2c3e3f0dc5bda48', 'network_id': '6e1d9a5a-fbe1-4772-981b-d4a17e7dda5d', 'ip_version': 4, 'cidr': '48.59.131.128/26', 'allocation_pools': [{'start': '48.59.131.130', 'end': '48.59.131.190'}], 'gateway_ip': '48.59.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.59.131.130', 'tags': [], 'project_id': '8c27d334d09a4d78a2c3e3f0dc5bda48'}} 2025-11-18 14:46:12,630 - INFO - Created VN ctest-vn1-94197954 2025-11-18 14:46:12,686 - DEBUG - VN ctest-vn1-94197954 UUID is 6e1d9a5a-fbe1-4772-981b-d4a17e7dda5d 2025-11-18 14:46:13,016 - DEBUG - Response for create_network : {'network': {'id': '498b1dc8-a7df-4fa8-b363-e70dd7fc4a1d', 'name': 'ctest-vn2-51949622', 'tenant_id': '8c27d334d09a4d78a2c3e3f0dc5bda48', 'project_id': '8c27d334d09a4d78a2c3e3f0dc5bda48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11084665', 'ctest-vn2-51949622'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 14:46:13,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '64fb7f9c-edb9-4443-98a3-982a9aae8a5a', 'name': '', 'tenant_id': '8c27d334d09a4d78a2c3e3f0dc5bda48', 'network_id': '498b1dc8-a7df-4fa8-b363-e70dd7fc4a1d', 'ip_version': 4, 'cidr': '200.150.99.128/26', 'allocation_pools': [{'start': '200.150.99.130', 'end': '200.150.99.190'}], 'gateway_ip': '200.150.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.150.99.130', 'tags': [], 'project_id': '8c27d334d09a4d78a2c3e3f0dc5bda48'}} 2025-11-18 14:46:13,223 - INFO - Created VN ctest-vn2-51949622 2025-11-18 14:46:13,278 - DEBUG - VN ctest-vn2-51949622 UUID is 498b1dc8-a7df-4fa8-b363-e70dd7fc4a1d 2025-11-18 14:46:13,468 - DEBUG - Services list from nova: [, , ] 2025-11-18 14:46:14,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:46:15,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4756-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4756-1) 2025-11-18 14:46:16,113 - INFO - Adding interface with subnet_id a8d509dc-dcab-4009-87e2-d98ed461ba46, port_id None to router c7bd8833-fb67-4bb9-9055-970bd805bb95 2025-11-18 14:46:16,412 - INFO - Waiting for VM ctest-vn1-vm1-09724515 to be up.. 2025-11-18 14:46:16,530 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 14:46:21,620 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:46:21,620 - INFO - VM name : ctest-vn1-vm1-09724515 2025-11-18 14:46:21,722 - DEBUG - VM ctest-vn1-vm1-09724515 ID is a4752b70-8512-4812-b90d-e40fe5adbc7e 2025-11-18 14:46:21,752 - DEBUG - VM ctest-vn1-vm1-09724515 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:46:21,855 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a4752b70-8512-4812-b90d-e40fe5adbc7e 2025-11-18 14:46:22,170 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a4752b70-8512-4812-b90d-e40fe5adbc7e 2025-11-18 14:46:22,212 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/719bfa5d-86dd-4269-8e11-0d865e1289f7 2025-11-18 14:46:25,495 - 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 1014ms') 2025-11-18 14:46:25,495 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09724515 failed! 2025-11-18 14:46:25,554 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-11084665:ctest-vn1-94197954 is 48.59.131.129 and allocation pool is NOT set 2025-11-18 14:46:27,623 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.784 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.784/3.600/6.416/2.816 ms') 2025-11-18 14:46:27,624 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09724515 passed 2025-11-18 14:46:27,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:27,798 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09724515, IP 48.59.131.131, Port 22 2025-11-18 14:46:27,967 - DEBUG - VM ctest-vn1-vm1-09724515 is ready for SSH connections 2025-11-18 14:46:27,968 - INFO - Waiting for VM ctest-vn2-vm1-11685662 to be up.. 2025-11-18 14:46:28,094 - DEBUG - VM is in ACTIVE state now 2025-11-18 14:46:28,094 - INFO - VM name : ctest-vn2-vm1-11685662 2025-11-18 14:46:28,215 - DEBUG - VM ctest-vn2-vm1-11685662 ID is 2ad755e3-c97a-41b6-b393-723953837a29 2025-11-18 14:46:28,215 - DEBUG - VM ctest-vn2-vm1-11685662 launched on Node cn-jenkins-deploy-platform-ansible-os-4756-1 2025-11-18 14:46:28,335 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2ad755e3-c97a-41b6-b393-723953837a29 2025-11-18 14:46:28,346 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c91d476d-a8e8-408f-8edd-5532f95faceb 2025-11-18 14:46:29,599 - 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=6.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.022/3.569/6.116/2.547 ms') 2025-11-18 14:46:29,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-11685662 passed 2025-11-18 14:46:29,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:29,766 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11685662, IP 200.150.99.131, Port 22 2025-11-18 14:46:29,944 - DEBUG - VM ctest-vn2-vm1-11685662 is ready for SSH connections 2025-11-18 14:46:29,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:29,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.150.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:46:29,945 - DEBUG - ping -s 56 -c 3 -W 1 200.150.99.131 2025-11-18 14:46:35,073 - DEBUG - PING 200.150.99.131 (200.150.99.131): 56 data bytes --- 200.150.99.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 14:46:35,073 - WARNING - Ping to IP 200.150.99.131 from VM ctest-vn1-vm1-09724515 failed 2025-11-18 14:46:35,073 - INFO - Adding interface with subnet_id 64fb7f9c-edb9-4443-98a3-982a9aae8a5a, port_id None to router c7bd8833-fb67-4bb9-9055-970bd805bb95 2025-11-18 14:46:35,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:35,357 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.150.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:46:35,357 - DEBUG - ping -s 56 -c 3 -W 1 200.150.99.131 2025-11-18 14:46:38,590 - DEBUG - PING 200.150.99.131 (200.150.99.131): 56 data bytes 64 bytes from 200.150.99.131: seq=1 ttl=63 time=3.800 ms 64 bytes from 200.150.99.131: seq=2 ttl=63 time=1.882 ms --- 200.150.99.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.882/2.841/3.800 ms 2025-11-18 14:46:38,590 - WARNING - Ping to IP 200.150.99.131 from VM ctest-vn1-vm1-09724515 failed 2025-11-18 14:46:39,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.150.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:46:39,591 - DEBUG - ping -s 56 -c 3 -W 1 200.150.99.131 2025-11-18 14:46:41,811 - DEBUG - PING 200.150.99.131 (200.150.99.131): 56 data bytes 64 bytes from 200.150.99.131: seq=0 ttl=63 time=1.913 ms 64 bytes from 200.150.99.131: seq=1 ttl=63 time=1.526 ms 64 bytes from 200.150.99.131: seq=2 ttl=63 time=1.267 ms --- 200.150.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.267/1.568/1.913 ms 2025-11-18 14:46:41,811 - INFO - Ping to IP 200.150.99.131 from VM ctest-vn1-vm1-09724515 passed 2025-11-18 14:46:41,811 - INFO - Deleting interface with subnet_id a8d509dc-dcab-4009-87e2-d98ed461ba46, port_id None from router c7bd8833-fb67-4bb9-9055-970bd805bb95 2025-11-18 14:46:42,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:42,006 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.150.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:46:42,006 - DEBUG - ping -s 56 -c 3 -W 1 200.150.99.131 2025-11-18 14:46:45,231 - DEBUG - PING 200.150.99.131 (200.150.99.131): 56 data bytes --- 200.150.99.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 14:46:45,231 - WARNING - Ping to IP 200.150.99.131 from VM ctest-vn1-vm1-09724515 failed 2025-11-18 14:46:45,232 - INFO - Adding interface with subnet_id a8d509dc-dcab-4009-87e2-d98ed461ba46, port_id None to router c7bd8833-fb67-4bb9-9055-970bd805bb95 2025-11-18 14:46:45,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 14:46:45,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.150.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-18 14:46:45,556 - DEBUG - ping -s 56 -c 3 -W 1 200.150.99.131 2025-11-18 14:46:47,866 - DEBUG - PING 200.150.99.131 (200.150.99.131): 56 data bytes 64 bytes from 200.150.99.131: seq=0 ttl=63 time=2.642 ms 64 bytes from 200.150.99.131: seq=1 ttl=63 time=1.040 ms 64 bytes from 200.150.99.131: seq=2 ttl=63 time=1.343 ms --- 200.150.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.040/1.675/2.642 ms 2025-11-18 14:46:47,866 - INFO - Ping to IP 200.150.99.131 from VM ctest-vn1-vm1-09724515 passed 2025-11-18 14:46:47,866 - INFO - Deleting interface with subnet_id 64fb7f9c-edb9-4443-98a3-982a9aae8a5a, port_id None from router c7bd8833-fb67-4bb9-9055-970bd805bb95 2025-11-18 14:46:48,044 - INFO - Deleting interface with subnet_id a8d509dc-dcab-4009-87e2-d98ed461ba46, port_id None from router c7bd8833-fb67-4bb9-9055-970bd805bb95 2025-11-18 14:46:48,296 - INFO - Deleting VM ctest-vn2-vm1-11685662 2025-11-18 14:46:48,388 - INFO - Deleting VM ctest-vn1-vm1-09724515 2025-11-18 14:46:48,488 - INFO - Deleting VN ctest-vn2-51949622 2025-11-18 14:46:48,540 - DEBUG - VN 498b1dc8-a7df-4fa8-b363-e70dd7fc4a1d still in use: Unable to complete operation on network 498b1dc8-a7df-4fa8-b363-e70dd7fc4a1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-985a6646-2bb3-43da-b10c-b93467aa8bc4'] 2025-11-18 14:46:48,540 - WARNING - Deleting VN ctest-vn2-51949622 failed..Will retry 2025-11-18 14:46:50,659 - DEBUG - Response for deleting network () 2025-11-18 14:46:50,659 - INFO - Deleting VN ctest-vn1-94197954 2025-11-18 14:46:50,801 - DEBUG - Response for deleting network () 2025-11-18 14:46:51,064 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 14:46:51,064 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-11-18 14:46:51,064 - INFO - -------------------------------------------------------------------------------- 2025-11-18 14:46:51,817 - INFO - Deleted project: ctest-TestRouters-11084665, ID : 8c27d334-d09a-4d78-a2c3-e3f0dc5bda48