2025-07-31 12:08:00,382 - INFO - Domain Default found not creating 2025-07-31 12:08:00,555 - INFO - Project ctest-TestRouters-52264165 not found, creating it 2025-07-31 12:08:01,029 - INFO - Created Project:ctest-TestRouters-52264165, ID : 3521b452-ea3b-4cad-b66d-e2e64ea5f852 2025-07-31 12:08:02,598 - INFO - ================================================================================ 2025-07-31 12:08:02,598 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-31 12:08:02,598 - 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-07-31 12:08:02,854 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-07-31 12:08:02,855 - INFO - Initial checks done. Running the testcase now 2025-07-31 12:08:02,855 - INFO - 2025-07-31 12:08:03,440 - DEBUG - Response for create_network : {'network': {'id': 'bc75717a-69a3-45fc-a889-87fc61be7ff2', 'name': 'ctest-vn1-96006148', 'tenant_id': '3521b452ea3b4cadb66de2e64ea5f852', 'project_id': '3521b452ea3b4cadb66de2e64ea5f852', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52264165', 'ctest-vn1-96006148'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:08:03,660 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5eb4fce-e3b2-4cc7-a442-7000ad4909d9', 'name': '', 'tenant_id': '3521b452ea3b4cadb66de2e64ea5f852', 'network_id': 'bc75717a-69a3-45fc-a889-87fc61be7ff2', 'ip_version': 4, 'cidr': '66.234.131.0/26', 'allocation_pools': [{'start': '66.234.131.2', 'end': '66.234.131.62'}], 'gateway_ip': '66.234.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.234.131.2', 'tags': [], 'project_id': '3521b452ea3b4cadb66de2e64ea5f852'}} 2025-07-31 12:08:03,687 - INFO - Created VN ctest-vn1-96006148 2025-07-31 12:08:03,747 - DEBUG - VN ctest-vn1-96006148 UUID is bc75717a-69a3-45fc-a889-87fc61be7ff2 2025-07-31 12:08:04,170 - DEBUG - Response for create_network : {'network': {'id': 'd1766db8-784a-4a72-bbdc-2c0579f15de8', 'name': 'ctest-vn2-16151809', 'tenant_id': '3521b452ea3b4cadb66de2e64ea5f852', 'project_id': '3521b452ea3b4cadb66de2e64ea5f852', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52264165', 'ctest-vn2-16151809'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 12:08:04,417 - DEBUG - Response for create_subnet : {'subnet': {'id': '9738401c-8d31-4ff1-9a8d-a25cd2f1a21b', 'name': '', 'tenant_id': '3521b452ea3b4cadb66de2e64ea5f852', 'network_id': 'd1766db8-784a-4a72-bbdc-2c0579f15de8', 'ip_version': 4, 'cidr': '38.81.39.192/26', 'allocation_pools': [{'start': '38.81.39.194', 'end': '38.81.39.254'}], 'gateway_ip': '38.81.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.81.39.194', 'tags': [], 'project_id': '3521b452ea3b4cadb66de2e64ea5f852'}} 2025-07-31 12:08:04,438 - INFO - Created VN ctest-vn2-16151809 2025-07-31 12:08:04,495 - DEBUG - VN ctest-vn2-16151809 UUID is d1766db8-784a-4a72-bbdc-2c0579f15de8 2025-07-31 12:08:04,678 - DEBUG - Services list from nova: [, , ] 2025-07-31 12:08:05,721 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3734-1) 2025-07-31 12:08:07,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3734-1) 2025-07-31 12:08:07,138 - INFO - Adding interface with subnet_id c5eb4fce-e3b2-4cc7-a442-7000ad4909d9, port_id None to router f2a27f82-275a-40ee-a23e-13735f2b172b 2025-07-31 12:08:07,550 - INFO - Waiting for VM ctest-vn1-vm1-04264097 to be up.. 2025-07-31 12:08:07,717 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 12:08:12,889 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:08:12,889 - INFO - VM name : ctest-vn1-vm1-04264097 2025-07-31 12:08:13,037 - DEBUG - VM ctest-vn1-vm1-04264097 ID is 3a1bd316-86a8-4c8c-ae42-ce83f9ba6e52 2025-07-31 12:08:13,065 - DEBUG - VM ctest-vn1-vm1-04264097 launched on Node cn-jenkins-deploy-platform-ansible-os-3734-1 2025-07-31 12:08:13,229 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3a1bd316-86a8-4c8c-ae42-ce83f9ba6e52 2025-07-31 12:08:13,545 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/3a1bd316-86a8-4c8c-ae42-ce83f9ba6e52 2025-07-31 12:08:13,579 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2770daf3-b237-41e6-b1ea-9bfdff21f274 2025-07-31 12:08:16,850 - 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 1022ms') 2025-07-31 12:08:16,850 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04264097 failed! 2025-07-31 12:08:16,907 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-52264165:ctest-vn1-96006148 is 66.234.131.1 and allocation pool is NOT set 2025-07-31 12:08:18,968 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.608/2.754/1.146 ms') 2025-07-31 12:08:18,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04264097 passed 2025-07-31 12:08:19,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:08:19,123 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04264097, IP 66.234.131.3, Port 22 2025-07-31 12:08:19,279 - DEBUG - VM ctest-vn1-vm1-04264097 is ready for SSH connections 2025-07-31 12:08:19,279 - INFO - Waiting for VM ctest-vn2-vm1-45904682 to be up.. 2025-07-31 12:08:19,362 - DEBUG - VM is in ACTIVE state now 2025-07-31 12:08:19,362 - INFO - VM name : ctest-vn2-vm1-45904682 2025-07-31 12:08:19,437 - DEBUG - VM ctest-vn2-vm1-45904682 ID is 58090e02-4d49-4c14-9771-a09555484648 2025-07-31 12:08:19,437 - DEBUG - VM ctest-vn2-vm1-45904682 launched on Node cn-jenkins-deploy-platform-ansible-os-3734-1 2025-07-31 12:08:19,517 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/58090e02-4d49-4c14-9771-a09555484648 2025-07-31 12:08:19,527 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/957383c2-68d7-4043-b2f0-f20b669da53c 2025-07-31 12:08:20,783 - 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=3.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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 = 0.396/1.754/3.112/1.358 ms') 2025-07-31 12:08:20,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-45904682 passed 2025-07-31 12:08:20,943 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:08:20,943 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-45904682, IP 38.81.39.195, Port 22 2025-07-31 12:08:21,109 - DEBUG - VM ctest-vn2-vm1-45904682 is ready for SSH connections 2025-07-31 12:08:21,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:08:21,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.81.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 12:08:21,110 - DEBUG - ping -s 56 -c 3 -W 1 38.81.39.195 2025-07-31 12:08:26,132 - DEBUG - PING 38.81.39.195 (38.81.39.195): 56 data bytes --- 38.81.39.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 12:08:26,132 - WARNING - Ping to IP 38.81.39.195 from VM ctest-vn1-vm1-04264097 failed 2025-07-31 12:08:26,132 - INFO - Adding interface with subnet_id 9738401c-8d31-4ff1-9a8d-a25cd2f1a21b, port_id None to router f2a27f82-275a-40ee-a23e-13735f2b172b 2025-07-31 12:08:26,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:08:26,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.81.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 12:08:26,400 - DEBUG - ping -s 56 -c 3 -W 1 38.81.39.195 2025-07-31 12:08:29,619 - DEBUG - PING 38.81.39.195 (38.81.39.195): 56 data bytes 64 bytes from 38.81.39.195: seq=1 ttl=63 time=3.282 ms 64 bytes from 38.81.39.195: seq=2 ttl=63 time=0.978 ms --- 38.81.39.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.978/2.130/3.282 ms 2025-07-31 12:08:29,619 - WARNING - Ping to IP 38.81.39.195 from VM ctest-vn1-vm1-04264097 failed 2025-07-31 12:08:30,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.81.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 12:08:30,620 - DEBUG - ping -s 56 -c 3 -W 1 38.81.39.195 2025-07-31 12:08:32,832 - DEBUG - PING 38.81.39.195 (38.81.39.195): 56 data bytes 64 bytes from 38.81.39.195: seq=0 ttl=63 time=1.794 ms 64 bytes from 38.81.39.195: seq=1 ttl=63 time=0.880 ms 64 bytes from 38.81.39.195: seq=2 ttl=63 time=1.049 ms --- 38.81.39.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.241/1.794 ms 2025-07-31 12:08:32,832 - INFO - Ping to IP 38.81.39.195 from VM ctest-vn1-vm1-04264097 passed 2025-07-31 12:08:32,832 - INFO - Deleting interface with subnet_id c5eb4fce-e3b2-4cc7-a442-7000ad4909d9, port_id None from router f2a27f82-275a-40ee-a23e-13735f2b172b 2025-07-31 12:08:32,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:08:32,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.81.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 12:08:32,993 - DEBUG - ping -s 56 -c 3 -W 1 38.81.39.195 2025-07-31 12:08:36,205 - DEBUG - PING 38.81.39.195 (38.81.39.195): 56 data bytes --- 38.81.39.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 12:08:36,205 - WARNING - Ping to IP 38.81.39.195 from VM ctest-vn1-vm1-04264097 failed 2025-07-31 12:08:36,205 - INFO - Adding interface with subnet_id c5eb4fce-e3b2-4cc7-a442-7000ad4909d9, port_id None to router f2a27f82-275a-40ee-a23e-13735f2b172b 2025-07-31 12:08:36,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 12:08:36,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.81.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 12:08:36,434 - DEBUG - ping -s 56 -c 3 -W 1 38.81.39.195 2025-07-31 12:08:38,643 - DEBUG - PING 38.81.39.195 (38.81.39.195): 56 data bytes 64 bytes from 38.81.39.195: seq=0 ttl=63 time=1.665 ms 64 bytes from 38.81.39.195: seq=1 ttl=63 time=0.819 ms 64 bytes from 38.81.39.195: seq=2 ttl=63 time=1.087 ms --- 38.81.39.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.190/1.665 ms 2025-07-31 12:08:38,644 - INFO - Ping to IP 38.81.39.195 from VM ctest-vn1-vm1-04264097 passed 2025-07-31 12:08:38,644 - INFO - Deleting interface with subnet_id 9738401c-8d31-4ff1-9a8d-a25cd2f1a21b, port_id None from router f2a27f82-275a-40ee-a23e-13735f2b172b 2025-07-31 12:08:38,782 - INFO - Deleting interface with subnet_id c5eb4fce-e3b2-4cc7-a442-7000ad4909d9, port_id None from router f2a27f82-275a-40ee-a23e-13735f2b172b 2025-07-31 12:08:38,981 - INFO - Deleting VM ctest-vn2-vm1-45904682 2025-07-31 12:08:39,072 - INFO - Deleting VM ctest-vn1-vm1-04264097 2025-07-31 12:08:39,167 - INFO - Deleting VN ctest-vn2-16151809 2025-07-31 12:08:39,210 - DEBUG - VN d1766db8-784a-4a72-bbdc-2c0579f15de8 still in use: Unable to complete operation on network d1766db8-784a-4a72-bbdc-2c0579f15de8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14acf1da-28b3-40a9-90df-bd47d1c1261f'] 2025-07-31 12:08:39,210 - WARNING - Deleting VN ctest-vn2-16151809 failed..Will retry 2025-07-31 12:08:41,328 - DEBUG - Response for deleting network () 2025-07-31 12:08:41,328 - INFO - Deleting VN ctest-vn1-96006148 2025-07-31 12:08:41,437 - DEBUG - Response for deleting network () 2025-07-31 12:08:41,693 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 12:08:41,693 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-07-31 12:08:41,693 - INFO - -------------------------------------------------------------------------------- 2025-07-31 12:08:42,382 - INFO - Deleted project: ctest-TestRouters-52264165, ID : 3521b452-ea3b-4cad-b66d-e2e64ea5f852