2025-08-25 14:15:04,048 - INFO - Domain Default found not creating 2025-08-25 14:15:04,190 - INFO - Project ctest-TestRouters-38573861 not found, creating it 2025-08-25 14:15:04,692 - INFO - Created Project:ctest-TestRouters-38573861, ID : 254f46f2-eb09-4d14-afe4-ecd523f13d3d 2025-08-25 14:15:06,170 - INFO - ================================================================================ 2025-08-25 14:15:06,171 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-25 14:15:06,171 - 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-08-25 14:15:06,435 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-25 14:15:06,435 - INFO - Initial checks done. Running the testcase now 2025-08-25 14:15:06,435 - INFO - 2025-08-25 14:15:07,032 - DEBUG - Response for create_network : {'network': {'id': '7dc83367-0f8a-4ecd-9aac-0db466dd6593', 'name': 'ctest-vn1-90938717', 'tenant_id': '254f46f2eb094d14afe4ecd523f13d3d', 'project_id': '254f46f2eb094d14afe4ecd523f13d3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38573861', 'ctest-vn1-90938717'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:15:07,285 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f558b106-07a8-405e-8425-314164a12f5f', 'name': '', 'tenant_id': '254f46f2eb094d14afe4ecd523f13d3d', 'network_id': '7dc83367-0f8a-4ecd-9aac-0db466dd6593', 'ip_version': 4, 'cidr': '63.58.57.128/26', 'allocation_pools': [{'start': '63.58.57.130', 'end': '63.58.57.190'}], 'gateway_ip': '63.58.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.58.57.130', 'tags': [], 'project_id': '254f46f2eb094d14afe4ecd523f13d3d'}} 2025-08-25 14:15:07,303 - INFO - Created VN ctest-vn1-90938717 2025-08-25 14:15:07,369 - DEBUG - VN ctest-vn1-90938717 UUID is 7dc83367-0f8a-4ecd-9aac-0db466dd6593 2025-08-25 14:15:07,669 - DEBUG - Response for create_network : {'network': {'id': 'd317fcc5-8076-43d5-82a5-3efbf7eed7cc', 'name': 'ctest-vn2-74414800', 'tenant_id': '254f46f2eb094d14afe4ecd523f13d3d', 'project_id': '254f46f2eb094d14afe4ecd523f13d3d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38573861', 'ctest-vn2-74414800'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:15:07,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f2beaf2-92f5-4fd1-83b5-c7e2ee803f9b', 'name': '', 'tenant_id': '254f46f2eb094d14afe4ecd523f13d3d', 'network_id': 'd317fcc5-8076-43d5-82a5-3efbf7eed7cc', 'ip_version': 4, 'cidr': '148.204.241.0/26', 'allocation_pools': [{'start': '148.204.241.2', 'end': '148.204.241.62'}], 'gateway_ip': '148.204.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.204.241.2', 'tags': [], 'project_id': '254f46f2eb094d14afe4ecd523f13d3d'}} 2025-08-25 14:15:07,893 - INFO - Created VN ctest-vn2-74414800 2025-08-25 14:15:07,945 - DEBUG - VN ctest-vn2-74414800 UUID is d317fcc5-8076-43d5-82a5-3efbf7eed7cc 2025-08-25 14:15:08,167 - DEBUG - Services list from nova: [, , ] 2025-08-25 14:15:09,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:15:10,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1) 2025-08-25 14:15:10,529 - INFO - Adding interface with subnet_id f558b106-07a8-405e-8425-314164a12f5f, port_id None to router fa1d5eda-4eee-4d0c-a635-f6f9836d5dcd 2025-08-25 14:15:10,807 - INFO - Waiting for VM ctest-vn1-vm1-88509116 to be up.. 2025-08-25 14:15:10,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 14:15:15,993 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:15:15,993 - INFO - VM name : ctest-vn1-vm1-88509116 2025-08-25 14:15:16,095 - DEBUG - VM ctest-vn1-vm1-88509116 ID is 2fef2fdb-ff04-4ebc-aff1-948efdcf9867 2025-08-25 14:15:16,117 - DEBUG - VM ctest-vn1-vm1-88509116 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:15:16,189 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2fef2fdb-ff04-4ebc-aff1-948efdcf9867 2025-08-25 14:15:16,503 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2fef2fdb-ff04-4ebc-aff1-948efdcf9867 2025-08-25 14:15:16,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2f2b4e82-f875-4667-b690-5f240b3ad85a 2025-08-25 14:15:19,786 - 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 1007ms') 2025-08-25 14:15:19,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88509116 failed! 2025-08-25 14:15:19,845 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-38573861:ctest-vn1-90938717 is 63.58.57.129 and allocation pool is NOT set 2025-08-25 14:15:21,912 - 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=3.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/1.732/3.047/1.314 ms') 2025-08-25 14:15:21,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-88509116 passed 2025-08-25 14:15:22,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:15:22,069 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-88509116, IP 63.58.57.131, Port 22 2025-08-25 14:15:22,229 - DEBUG - VM ctest-vn1-vm1-88509116 is ready for SSH connections 2025-08-25 14:15:22,229 - INFO - Waiting for VM ctest-vn2-vm1-35878564 to be up.. 2025-08-25 14:15:22,305 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:15:22,305 - INFO - VM name : ctest-vn2-vm1-35878564 2025-08-25 14:15:22,383 - DEBUG - VM ctest-vn2-vm1-35878564 ID is 9adb2715-dd03-42fb-9917-587240fca5f5 2025-08-25 14:15:22,383 - DEBUG - VM ctest-vn2-vm1-35878564 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1 2025-08-25 14:15:22,459 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9adb2715-dd03-42fb-9917-587240fca5f5 2025-08-25 14:15:22,468 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dbc5aa13-a665-494d-bc39-0715be3e7c28 2025-08-25 14:15:23,715 - 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.306 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.306/1.599/2.892/1.293 ms') 2025-08-25 14:15:23,715 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-35878564 passed 2025-08-25 14:15:23,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:15:23,869 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35878564, IP 148.204.241.3, Port 22 2025-08-25 14:15:24,039 - DEBUG - VM ctest-vn2-vm1-35878564 is ready for SSH connections 2025-08-25 14:15:24,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:15:24,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.204.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:15:24,040 - DEBUG - ping -s 56 -c 3 -W 1 148.204.241.3 2025-08-25 14:15:28,682 - DEBUG - PING 148.204.241.3 (148.204.241.3): 56 data bytes --- 148.204.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 14:15:28,683 - WARNING - Ping to IP 148.204.241.3 from VM ctest-vn1-vm1-88509116 failed 2025-08-25 14:15:28,683 - INFO - Adding interface with subnet_id 3f2beaf2-92f5-4fd1-83b5-c7e2ee803f9b, port_id None to router fa1d5eda-4eee-4d0c-a635-f6f9836d5dcd 2025-08-25 14:15:28,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:15:28,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.204.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:15:28,985 - DEBUG - ping -s 56 -c 3 -W 1 148.204.241.3 2025-08-25 14:15:32,179 - DEBUG - PING 148.204.241.3 (148.204.241.3): 56 data bytes 64 bytes from 148.204.241.3: seq=1 ttl=63 time=2.482 ms 64 bytes from 148.204.241.3: seq=2 ttl=63 time=0.711 ms --- 148.204.241.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.711/1.596/2.482 ms 2025-08-25 14:15:32,180 - WARNING - Ping to IP 148.204.241.3 from VM ctest-vn1-vm1-88509116 failed 2025-08-25 14:15:33,180 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.204.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:15:33,180 - DEBUG - ping -s 56 -c 3 -W 1 148.204.241.3 2025-08-25 14:15:35,392 - DEBUG - PING 148.204.241.3 (148.204.241.3): 56 data bytes 64 bytes from 148.204.241.3: seq=0 ttl=63 time=1.477 ms 64 bytes from 148.204.241.3: seq=1 ttl=63 time=0.702 ms 64 bytes from 148.204.241.3: seq=2 ttl=63 time=0.816 ms --- 148.204.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.702/0.998/1.477 ms 2025-08-25 14:15:35,393 - INFO - Ping to IP 148.204.241.3 from VM ctest-vn1-vm1-88509116 passed 2025-08-25 14:15:35,393 - INFO - Deleting interface with subnet_id f558b106-07a8-405e-8425-314164a12f5f, port_id None from router fa1d5eda-4eee-4d0c-a635-f6f9836d5dcd 2025-08-25 14:15:35,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:15:35,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.204.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:15:35,529 - DEBUG - ping -s 56 -c 3 -W 1 148.204.241.3 2025-08-25 14:15:38,729 - DEBUG - PING 148.204.241.3 (148.204.241.3): 56 data bytes --- 148.204.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 14:15:38,729 - WARNING - Ping to IP 148.204.241.3 from VM ctest-vn1-vm1-88509116 failed 2025-08-25 14:15:38,729 - INFO - Adding interface with subnet_id f558b106-07a8-405e-8425-314164a12f5f, port_id None to router fa1d5eda-4eee-4d0c-a635-f6f9836d5dcd 2025-08-25 14:15:38,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:15:38,972 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.204.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 14:15:38,972 - DEBUG - ping -s 56 -c 3 -W 1 148.204.241.3 2025-08-25 14:15:41,165 - DEBUG - PING 148.204.241.3 (148.204.241.3): 56 data bytes 64 bytes from 148.204.241.3: seq=0 ttl=63 time=1.310 ms 64 bytes from 148.204.241.3: seq=1 ttl=63 time=0.832 ms 64 bytes from 148.204.241.3: seq=2 ttl=63 time=0.697 ms --- 148.204.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.697/0.946/1.310 ms 2025-08-25 14:15:41,165 - INFO - Ping to IP 148.204.241.3 from VM ctest-vn1-vm1-88509116 passed 2025-08-25 14:15:41,165 - INFO - Deleting interface with subnet_id 3f2beaf2-92f5-4fd1-83b5-c7e2ee803f9b, port_id None from router fa1d5eda-4eee-4d0c-a635-f6f9836d5dcd 2025-08-25 14:15:41,289 - INFO - Deleting interface with subnet_id f558b106-07a8-405e-8425-314164a12f5f, port_id None from router fa1d5eda-4eee-4d0c-a635-f6f9836d5dcd 2025-08-25 14:15:41,510 - INFO - Deleting VM ctest-vn2-vm1-35878564 2025-08-25 14:15:41,582 - INFO - Deleting VM ctest-vn1-vm1-88509116 2025-08-25 14:15:41,657 - INFO - Deleting VN ctest-vn2-74414800 2025-08-25 14:15:41,704 - DEBUG - VN d317fcc5-8076-43d5-82a5-3efbf7eed7cc still in use: Unable to complete operation on network d317fcc5-8076-43d5-82a5-3efbf7eed7cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aef65202-1b52-42dd-88ea-c0a60ebfb394'] 2025-08-25 14:15:41,704 - WARNING - Deleting VN ctest-vn2-74414800 failed..Will retry 2025-08-25 14:15:43,808 - DEBUG - Response for deleting network () 2025-08-25 14:15:43,808 - INFO - Deleting VN ctest-vn1-90938717 2025-08-25 14:15:43,922 - DEBUG - Response for deleting network () 2025-08-25 14:15:44,178 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 14:15:44,178 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-25 14:15:44,178 - INFO - -------------------------------------------------------------------------------- 2025-08-25 14:15:44,878 - INFO - Deleted project: ctest-TestRouters-38573861, ID : 254f46f2-eb09-4d14-afe4-ecd523f13d3d