2025-10-21 06:20:24,454 - INFO - Domain Default found not creating 2025-10-21 06:20:24,608 - INFO - Project ctest-TestRouters-13393331 not found, creating it 2025-10-21 06:20:25,067 - INFO - Created Project:ctest-TestRouters-13393331, ID : 5ed68361-bb94-429b-93b1-e99d12414af1 2025-10-21 06:20:26,659 - INFO - ================================================================================ 2025-10-21 06:20:26,659 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 06:20:26,659 - 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-10-21 06:20:26,919 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-21 06:20:26,919 - INFO - Initial checks done. Running the testcase now 2025-10-21 06:20:26,919 - INFO - 2025-10-21 06:20:27,500 - DEBUG - Response for create_network : {'network': {'id': '6e477988-335b-45f5-a40e-802a9ca4fc3d', 'name': 'ctest-vn1-26456373', 'tenant_id': '5ed68361bb94429b93b1e99d12414af1', 'project_id': '5ed68361bb94429b93b1e99d12414af1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13393331', 'ctest-vn1-26456373'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 06:20:27,667 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b0fb2bd-b0cc-41f7-a830-a95d3b26423d', 'name': '', 'tenant_id': '5ed68361bb94429b93b1e99d12414af1', 'network_id': '6e477988-335b-45f5-a40e-802a9ca4fc3d', 'ip_version': 4, 'cidr': '156.31.135.128/26', 'allocation_pools': [{'start': '156.31.135.130', 'end': '156.31.135.190'}], 'gateway_ip': '156.31.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.31.135.130', 'tags': [], 'project_id': '5ed68361bb94429b93b1e99d12414af1'}} 2025-10-21 06:20:27,683 - INFO - Created VN ctest-vn1-26456373 2025-10-21 06:20:27,738 - DEBUG - VN ctest-vn1-26456373 UUID is 6e477988-335b-45f5-a40e-802a9ca4fc3d 2025-10-21 06:20:28,058 - DEBUG - Response for create_network : {'network': {'id': '002ddb2c-ab7b-445b-ba90-3419e9f51196', 'name': 'ctest-vn2-82508977', 'tenant_id': '5ed68361bb94429b93b1e99d12414af1', 'project_id': '5ed68361bb94429b93b1e99d12414af1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13393331', 'ctest-vn2-82508977'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 06:20:28,264 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f373e04-da0a-42c4-afca-c59a8a6df414', 'name': '', 'tenant_id': '5ed68361bb94429b93b1e99d12414af1', 'network_id': '002ddb2c-ab7b-445b-ba90-3419e9f51196', 'ip_version': 4, 'cidr': '58.212.24.192/26', 'allocation_pools': [{'start': '58.212.24.194', 'end': '58.212.24.254'}], 'gateway_ip': '58.212.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.212.24.194', 'tags': [], 'project_id': '5ed68361bb94429b93b1e99d12414af1'}} 2025-10-21 06:20:28,279 - INFO - Created VN ctest-vn2-82508977 2025-10-21 06:20:28,333 - DEBUG - VN ctest-vn2-82508977 UUID is 002ddb2c-ab7b-445b-ba90-3419e9f51196 2025-10-21 06:20:28,553 - DEBUG - Services list from nova: [, , ] 2025-10-21 06:20:29,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4389-1) 2025-10-21 06:20:30,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4389-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4389-1) 2025-10-21 06:20:30,945 - INFO - Adding interface with subnet_id 4b0fb2bd-b0cc-41f7-a830-a95d3b26423d, port_id None to router ab012c5d-c223-4eb5-aec2-7fded6332d2f 2025-10-21 06:20:31,212 - INFO - Waiting for VM ctest-vn1-vm1-71714370 to be up.. 2025-10-21 06:20:31,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 06:20:36,410 - DEBUG - VM is in ACTIVE state now 2025-10-21 06:20:36,411 - INFO - VM name : ctest-vn1-vm1-71714370 2025-10-21 06:20:36,486 - DEBUG - VM ctest-vn1-vm1-71714370 ID is 820bc98c-4d32-4209-b79d-216c2cafe43d 2025-10-21 06:20:36,505 - DEBUG - VM ctest-vn1-vm1-71714370 launched on Node cn-jenkins-deploy-platform-ansible-os-4389-1 2025-10-21 06:20:36,588 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/820bc98c-4d32-4209-b79d-216c2cafe43d 2025-10-21 06:20:36,889 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/820bc98c-4d32-4209-b79d-216c2cafe43d 2025-10-21 06:20:36,921 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1491b298-34de-4cbf-bcd0-d1958727d505 2025-10-21 06:20:40,199 - 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 1027ms') 2025-10-21 06:20:40,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71714370 failed! 2025-10-21 06:20:40,253 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-13393331:ctest-vn1-26456373 is 156.31.135.129 and allocation pool is NOT set 2025-10-21 06:20:42,318 - 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=5.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/2.801/5.167/2.366 ms') 2025-10-21 06:20:42,318 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71714370 passed 2025-10-21 06:20:42,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:42,474 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71714370, IP 156.31.135.131, Port 22 2025-10-21 06:20:42,629 - DEBUG - VM ctest-vn1-vm1-71714370 is ready for SSH connections 2025-10-21 06:20:42,630 - INFO - Waiting for VM ctest-vn2-vm1-82501796 to be up.. 2025-10-21 06:20:42,715 - DEBUG - VM is in ACTIVE state now 2025-10-21 06:20:42,715 - INFO - VM name : ctest-vn2-vm1-82501796 2025-10-21 06:20:42,809 - DEBUG - VM ctest-vn2-vm1-82501796 ID is cdb3681f-31fe-4766-a10a-6201baf37a7a 2025-10-21 06:20:42,809 - DEBUG - VM ctest-vn2-vm1-82501796 launched on Node cn-jenkins-deploy-platform-ansible-os-4389-1 2025-10-21 06:20:42,890 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/cdb3681f-31fe-4766-a10a-6201baf37a7a 2025-10-21 06:20:42,899 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/51cc2247-3a84-464f-9a6b-1339c629146d 2025-10-21 06:20:44,157 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.640 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.640/1.843/3.047/1.203 ms') 2025-10-21 06:20:44,157 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82501796 passed 2025-10-21 06:20:44,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:44,318 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82501796, IP 58.212.24.195, Port 22 2025-10-21 06:20:44,473 - DEBUG - VM ctest-vn2-vm1-82501796 is ready for SSH connections 2025-10-21 06:20:44,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:44,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.212.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 06:20:44,473 - DEBUG - ping -s 56 -c 3 -W 1 58.212.24.195 2025-10-21 06:20:49,578 - DEBUG - PING 58.212.24.195 (58.212.24.195): 56 data bytes --- 58.212.24.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 06:20:49,578 - WARNING - Ping to IP 58.212.24.195 from VM ctest-vn1-vm1-71714370 failed 2025-10-21 06:20:49,578 - INFO - Adding interface with subnet_id 0f373e04-da0a-42c4-afca-c59a8a6df414, port_id None to router ab012c5d-c223-4eb5-aec2-7fded6332d2f 2025-10-21 06:20:49,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:49,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.212.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 06:20:49,844 - DEBUG - ping -s 56 -c 3 -W 1 58.212.24.195 2025-10-21 06:20:53,101 - DEBUG - PING 58.212.24.195 (58.212.24.195): 56 data bytes 64 bytes from 58.212.24.195: seq=1 ttl=63 time=3.793 ms 64 bytes from 58.212.24.195: seq=2 ttl=63 time=1.031 ms --- 58.212.24.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.031/2.412/3.793 ms 2025-10-21 06:20:53,101 - WARNING - Ping to IP 58.212.24.195 from VM ctest-vn1-vm1-71714370 failed 2025-10-21 06:20:54,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.212.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 06:20:54,102 - DEBUG - ping -s 56 -c 3 -W 1 58.212.24.195 2025-10-21 06:20:56,317 - DEBUG - PING 58.212.24.195 (58.212.24.195): 56 data bytes 64 bytes from 58.212.24.195: seq=0 ttl=63 time=1.875 ms 64 bytes from 58.212.24.195: seq=1 ttl=63 time=0.920 ms 64 bytes from 58.212.24.195: seq=2 ttl=63 time=1.105 ms --- 58.212.24.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/1.300/1.875 ms 2025-10-21 06:20:56,317 - INFO - Ping to IP 58.212.24.195 from VM ctest-vn1-vm1-71714370 passed 2025-10-21 06:20:56,317 - INFO - Deleting interface with subnet_id 4b0fb2bd-b0cc-41f7-a830-a95d3b26423d, port_id None from router ab012c5d-c223-4eb5-aec2-7fded6332d2f 2025-10-21 06:20:56,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:56,437 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.212.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 06:20:56,437 - DEBUG - ping -s 56 -c 3 -W 1 58.212.24.195 2025-10-21 06:20:59,657 - DEBUG - PING 58.212.24.195 (58.212.24.195): 56 data bytes --- 58.212.24.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 06:20:59,657 - WARNING - Ping to IP 58.212.24.195 from VM ctest-vn1-vm1-71714370 failed 2025-10-21 06:20:59,657 - INFO - Adding interface with subnet_id 4b0fb2bd-b0cc-41f7-a830-a95d3b26423d, port_id None to router ab012c5d-c223-4eb5-aec2-7fded6332d2f 2025-10-21 06:20:59,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 06:20:59,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.212.24.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-21 06:20:59,911 - DEBUG - ping -s 56 -c 3 -W 1 58.212.24.195 2025-10-21 06:21:02,123 - DEBUG - PING 58.212.24.195 (58.212.24.195): 56 data bytes 64 bytes from 58.212.24.195: seq=0 ttl=63 time=2.504 ms 64 bytes from 58.212.24.195: seq=1 ttl=63 time=1.156 ms 64 bytes from 58.212.24.195: seq=2 ttl=63 time=1.046 ms --- 58.212.24.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/1.568/2.504 ms 2025-10-21 06:21:02,124 - INFO - Ping to IP 58.212.24.195 from VM ctest-vn1-vm1-71714370 passed 2025-10-21 06:21:02,124 - INFO - Deleting interface with subnet_id 0f373e04-da0a-42c4-afca-c59a8a6df414, port_id None from router ab012c5d-c223-4eb5-aec2-7fded6332d2f 2025-10-21 06:21:02,264 - INFO - Deleting interface with subnet_id 4b0fb2bd-b0cc-41f7-a830-a95d3b26423d, port_id None from router ab012c5d-c223-4eb5-aec2-7fded6332d2f 2025-10-21 06:21:02,526 - INFO - Deleting VM ctest-vn2-vm1-82501796 2025-10-21 06:21:02,606 - INFO - Deleting VM ctest-vn1-vm1-71714370 2025-10-21 06:21:02,702 - INFO - Deleting VN ctest-vn2-82508977 2025-10-21 06:21:02,753 - DEBUG - VN 002ddb2c-ab7b-445b-ba90-3419e9f51196 still in use: Unable to complete operation on network 002ddb2c-ab7b-445b-ba90-3419e9f51196. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe588ff5-9297-4a46-9744-7fd727995680'] 2025-10-21 06:21:02,753 - WARNING - Deleting VN ctest-vn2-82508977 failed..Will retry 2025-10-21 06:21:04,874 - DEBUG - Response for deleting network () 2025-10-21 06:21:04,874 - INFO - Deleting VN ctest-vn1-26456373 2025-10-21 06:21:04,985 - DEBUG - Response for deleting network () 2025-10-21 06:21:05,239 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 06:21:05,239 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-21 06:21:05,239 - INFO - -------------------------------------------------------------------------------- 2025-10-21 06:21:05,937 - INFO - Deleted project: ctest-TestRouters-13393331, ID : 5ed68361-bb94-429b-93b1-e99d12414af1