2025-08-08 09:52:41,659 - INFO - Domain Default found not creating 2025-08-08 09:52:41,821 - INFO - Project ctest-TestRouters-63838056 not found, creating it 2025-08-08 09:52:42,411 - INFO - Created Project:ctest-TestRouters-63838056, ID : a8bf4de0-8806-4425-b960-760830bb19e2 2025-08-08 09:52:43,950 - INFO - ================================================================================ 2025-08-08 09:52:43,950 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-08 09:52:43,950 - 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-08 09:52:44,219 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.252': '0'}} with 2025-08-08 09:52:44,219 - INFO - Initial checks done. Running the testcase now 2025-08-08 09:52:44,219 - INFO - 2025-08-08 09:52:44,835 - DEBUG - Response for create_network : {'network': {'id': '0e960238-43a7-482f-9041-9d8e5a309f5a', 'name': 'ctest-vn1-83020684', 'tenant_id': 'a8bf4de088064425b960760830bb19e2', 'project_id': 'a8bf4de088064425b960760830bb19e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-63838056', 'ctest-vn1-83020684'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 09:52:45,096 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfbd49ad-3a16-492a-a3db-5d3d56144ab3', 'name': '', 'tenant_id': 'a8bf4de088064425b960760830bb19e2', 'network_id': '0e960238-43a7-482f-9041-9d8e5a309f5a', 'ip_version': 4, 'cidr': '114.57.211.128/26', 'allocation_pools': [{'start': '114.57.211.130', 'end': '114.57.211.190'}], 'gateway_ip': '114.57.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.57.211.130', 'tags': [], 'project_id': 'a8bf4de088064425b960760830bb19e2'}} 2025-08-08 09:52:45,120 - INFO - Created VN ctest-vn1-83020684 2025-08-08 09:52:45,180 - DEBUG - VN ctest-vn1-83020684 UUID is 0e960238-43a7-482f-9041-9d8e5a309f5a 2025-08-08 09:52:45,533 - DEBUG - Response for create_network : {'network': {'id': '7a0762b0-5eab-496d-8290-219d686fb93f', 'name': 'ctest-vn2-84434514', 'tenant_id': 'a8bf4de088064425b960760830bb19e2', 'project_id': 'a8bf4de088064425b960760830bb19e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-63838056', 'ctest-vn2-84434514'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 09:52:45,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '1736fb0c-603f-4c16-9870-d334f0793472', 'name': '', 'tenant_id': 'a8bf4de088064425b960760830bb19e2', 'network_id': '7a0762b0-5eab-496d-8290-219d686fb93f', 'ip_version': 4, 'cidr': '19.24.78.0/26', 'allocation_pools': [{'start': '19.24.78.2', 'end': '19.24.78.62'}], 'gateway_ip': '19.24.78.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.24.78.2', 'tags': [], 'project_id': 'a8bf4de088064425b960760830bb19e2'}} 2025-08-08 09:52:45,782 - INFO - Created VN ctest-vn2-84434514 2025-08-08 09:52:45,840 - DEBUG - VN ctest-vn2-84434514 UUID is 7a0762b0-5eab-496d-8290-219d686fb93f 2025-08-08 09:52:46,012 - DEBUG - Services list from nova: [, , ] 2025-08-08 09:52:47,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3783-1) 2025-08-08 09:52:48,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3783-1) 2025-08-08 09:52:48,480 - INFO - Adding interface with subnet_id dfbd49ad-3a16-492a-a3db-5d3d56144ab3, port_id None to router 0ebb561b-89fb-433b-8053-2296c9bd2a98 2025-08-08 09:52:48,850 - INFO - Waiting for VM ctest-vn1-vm1-34889491 to be up.. 2025-08-08 09:52:49,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 09:52:54,152 - DEBUG - VM is in ACTIVE state now 2025-08-08 09:52:54,152 - INFO - VM name : ctest-vn1-vm1-34889491 2025-08-08 09:52:54,234 - DEBUG - VM ctest-vn1-vm1-34889491 ID is 7ccf09a2-b33b-4df7-bb67-d4b860583935 2025-08-08 09:52:54,255 - DEBUG - VM ctest-vn1-vm1-34889491 launched on Node cn-jenkins-deploy-platform-ansible-os-3783-1 2025-08-08 09:52:54,367 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7ccf09a2-b33b-4df7-bb67-d4b860583935 2025-08-08 09:52:54,667 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7ccf09a2-b33b-4df7-bb67-d4b860583935 2025-08-08 09:52:54,708 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dccbd708-9bfd-48e0-9748-af61f7049bc4 2025-08-08 09:52:57,993 - 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 1026ms') 2025-08-08 09:52:57,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34889491 failed! 2025-08-08 09:52:58,052 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-63838056:ctest-vn1-83020684 is 114.57.211.129 and allocation pool is NOT set 2025-08-08 09:53:00,113 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.456/2.209/3.962/1.753 ms') 2025-08-08 09:53:00,113 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34889491 passed 2025-08-08 09:53:00,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:53:00,268 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34889491, IP 114.57.211.131, Port 22 2025-08-08 09:53:00,423 - DEBUG - VM ctest-vn1-vm1-34889491 is ready for SSH connections 2025-08-08 09:53:00,423 - INFO - Waiting for VM ctest-vn2-vm1-24290323 to be up.. 2025-08-08 09:53:00,513 - DEBUG - VM is in ACTIVE state now 2025-08-08 09:53:00,513 - INFO - VM name : ctest-vn2-vm1-24290323 2025-08-08 09:53:00,594 - DEBUG - VM ctest-vn2-vm1-24290323 ID is d25a6904-29da-429e-88af-b0ffdbc0a273 2025-08-08 09:53:00,594 - DEBUG - VM ctest-vn2-vm1-24290323 launched on Node cn-jenkins-deploy-platform-ansible-os-3783-1 2025-08-08 09:53:00,671 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/d25a6904-29da-429e-88af-b0ffdbc0a273 2025-08-08 09:53:00,681 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a8986195-90b6-4c9e-ac91-b99a32814310 2025-08-08 09:53:01,925 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.527 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.527/1.680/2.834/1.153 ms') 2025-08-08 09:53:01,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-24290323 passed 2025-08-08 09:53:02,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:53:02,080 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-24290323, IP 19.24.78.3, Port 22 2025-08-08 09:53:02,250 - DEBUG - VM ctest-vn2-vm1-24290323 is ready for SSH connections 2025-08-08 09:53:02,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:53:02,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.24.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-08 09:53:02,250 - DEBUG - ping -s 56 -c 3 -W 1 19.24.78.3 2025-08-08 09:53:06,910 - DEBUG - PING 19.24.78.3 (19.24.78.3): 56 data bytes --- 19.24.78.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 09:53:06,910 - WARNING - Ping to IP 19.24.78.3 from VM ctest-vn1-vm1-34889491 failed 2025-08-08 09:53:06,910 - INFO - Adding interface with subnet_id 1736fb0c-603f-4c16-9870-d334f0793472, port_id None to router 0ebb561b-89fb-433b-8053-2296c9bd2a98 2025-08-08 09:53:07,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:53:07,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.24.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-08 09:53:07,211 - DEBUG - ping -s 56 -c 3 -W 1 19.24.78.3 2025-08-08 09:53:10,416 - DEBUG - PING 19.24.78.3 (19.24.78.3): 56 data bytes 64 bytes from 19.24.78.3: seq=1 ttl=63 time=3.252 ms 64 bytes from 19.24.78.3: seq=2 ttl=63 time=0.988 ms --- 19.24.78.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.988/2.120/3.252 ms 2025-08-08 09:53:10,416 - WARNING - Ping to IP 19.24.78.3 from VM ctest-vn1-vm1-34889491 failed 2025-08-08 09:53:11,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.24.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-08 09:53:11,417 - DEBUG - ping -s 56 -c 3 -W 1 19.24.78.3 2025-08-08 09:53:13,623 - DEBUG - PING 19.24.78.3 (19.24.78.3): 56 data bytes 64 bytes from 19.24.78.3: seq=0 ttl=63 time=1.701 ms 64 bytes from 19.24.78.3: seq=1 ttl=63 time=0.970 ms 64 bytes from 19.24.78.3: seq=2 ttl=63 time=0.982 ms --- 19.24.78.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/1.217/1.701 ms 2025-08-08 09:53:13,623 - INFO - Ping to IP 19.24.78.3 from VM ctest-vn1-vm1-34889491 passed 2025-08-08 09:53:13,623 - INFO - Deleting interface with subnet_id dfbd49ad-3a16-492a-a3db-5d3d56144ab3, port_id None from router 0ebb561b-89fb-433b-8053-2296c9bd2a98 2025-08-08 09:53:13,746 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:53:13,746 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.24.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-08 09:53:13,747 - DEBUG - ping -s 56 -c 3 -W 1 19.24.78.3 2025-08-08 09:53:16,958 - DEBUG - PING 19.24.78.3 (19.24.78.3): 56 data bytes --- 19.24.78.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-08 09:53:16,958 - WARNING - Ping to IP 19.24.78.3 from VM ctest-vn1-vm1-34889491 failed 2025-08-08 09:53:16,958 - INFO - Adding interface with subnet_id dfbd49ad-3a16-492a-a3db-5d3d56144ab3, port_id None to router 0ebb561b-89fb-433b-8053-2296c9bd2a98 2025-08-08 09:53:17,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 09:53:17,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.24.78.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-08 09:53:17,195 - DEBUG - ping -s 56 -c 3 -W 1 19.24.78.3 2025-08-08 09:53:19,405 - DEBUG - PING 19.24.78.3 (19.24.78.3): 56 data bytes 64 bytes from 19.24.78.3: seq=0 ttl=63 time=1.468 ms 64 bytes from 19.24.78.3: seq=1 ttl=63 time=1.018 ms 64 bytes from 19.24.78.3: seq=2 ttl=63 time=0.898 ms --- 19.24.78.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.898/1.128/1.468 ms 2025-08-08 09:53:19,405 - INFO - Ping to IP 19.24.78.3 from VM ctest-vn1-vm1-34889491 passed 2025-08-08 09:53:19,405 - INFO - Deleting interface with subnet_id 1736fb0c-603f-4c16-9870-d334f0793472, port_id None from router 0ebb561b-89fb-433b-8053-2296c9bd2a98 2025-08-08 09:53:19,531 - INFO - Deleting interface with subnet_id dfbd49ad-3a16-492a-a3db-5d3d56144ab3, port_id None from router 0ebb561b-89fb-433b-8053-2296c9bd2a98 2025-08-08 09:53:19,715 - INFO - Deleting VM ctest-vn2-vm1-24290323 2025-08-08 09:53:19,789 - INFO - Deleting VM ctest-vn1-vm1-34889491 2025-08-08 09:53:19,865 - INFO - Deleting VN ctest-vn2-84434514 2025-08-08 09:53:19,912 - DEBUG - VN 7a0762b0-5eab-496d-8290-219d686fb93f still in use: Unable to complete operation on network 7a0762b0-5eab-496d-8290-219d686fb93f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e4a5c47-c9b7-4625-adf8-8ba164bb524b'] 2025-08-08 09:53:19,912 - WARNING - Deleting VN ctest-vn2-84434514 failed..Will retry 2025-08-08 09:53:22,025 - DEBUG - Response for deleting network () 2025-08-08 09:53:22,025 - INFO - Deleting VN ctest-vn1-83020684 2025-08-08 09:53:22,135 - DEBUG - Response for deleting network () 2025-08-08 09:53:22,393 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 09:53:22,393 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-08-08 09:53:22,393 - INFO - -------------------------------------------------------------------------------- 2025-08-08 09:53:23,172 - INFO - Deleted project: ctest-TestRouters-63838056, ID : a8bf4de0-8806-4425-b960-760830bb19e2