2025-08-07 02:14:05,580 - INFO - Domain Default found not creating 2025-08-07 02:14:05,732 - INFO - Project ctest-TestRouters-86011251 not found, creating it 2025-08-07 02:14:06,224 - INFO - Created Project:ctest-TestRouters-86011251, ID : e0959e19-9e86-4558-9ac0-d7b3c8d9aa04 2025-08-07 02:14:07,882 - INFO - ================================================================================ 2025-08-07 02:14:07,882 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-07 02:14:07,883 - 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-07 02:14:08,156 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-07 02:14:08,156 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:14:08,156 - INFO - 2025-08-07 02:14:08,784 - DEBUG - Response for create_network : {'network': {'id': 'e2b22b13-cadf-4d95-8db6-bf9c12b0fb0e', 'name': 'ctest-vn1-45891543', 'tenant_id': 'e0959e199e8645589ac0d7b3c8d9aa04', 'project_id': 'e0959e199e8645589ac0d7b3c8d9aa04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86011251', 'ctest-vn1-45891543'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:14:08,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fc2d417-dbc6-471f-b0fc-6fa16ee46a4b', 'name': '', 'tenant_id': 'e0959e199e8645589ac0d7b3c8d9aa04', 'network_id': 'e2b22b13-cadf-4d95-8db6-bf9c12b0fb0e', 'ip_version': 4, 'cidr': '142.236.254.192/26', 'allocation_pools': [{'start': '142.236.254.194', 'end': '142.236.254.254'}], 'gateway_ip': '142.236.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.236.254.194', 'tags': [], 'project_id': 'e0959e199e8645589ac0d7b3c8d9aa04'}} 2025-08-07 02:14:09,010 - INFO - Created VN ctest-vn1-45891543 2025-08-07 02:14:09,066 - DEBUG - VN ctest-vn1-45891543 UUID is e2b22b13-cadf-4d95-8db6-bf9c12b0fb0e 2025-08-07 02:14:09,383 - DEBUG - Response for create_network : {'network': {'id': '67479c56-f487-4191-8c33-65542819c372', 'name': 'ctest-vn2-06348374', 'tenant_id': 'e0959e199e8645589ac0d7b3c8d9aa04', 'project_id': 'e0959e199e8645589ac0d7b3c8d9aa04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-86011251', 'ctest-vn2-06348374'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:14:09,621 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a62da9a3-c1f9-404f-a293-83171ee8a05d', 'name': '', 'tenant_id': 'e0959e199e8645589ac0d7b3c8d9aa04', 'network_id': '67479c56-f487-4191-8c33-65542819c372', 'ip_version': 4, 'cidr': '76.187.216.192/26', 'allocation_pools': [{'start': '76.187.216.194', 'end': '76.187.216.254'}], 'gateway_ip': '76.187.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.187.216.194', 'tags': [], 'project_id': 'e0959e199e8645589ac0d7b3c8d9aa04'}} 2025-08-07 02:14:09,641 - INFO - Created VN ctest-vn2-06348374 2025-08-07 02:14:09,694 - DEBUG - VN ctest-vn2-06348374 UUID is 67479c56-f487-4191-8c33-65542819c372 2025-08-07 02:14:09,873 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:14:10,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:14:12,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3764-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3764-1) 2025-08-07 02:14:12,414 - INFO - Adding interface with subnet_id 0fc2d417-dbc6-471f-b0fc-6fa16ee46a4b, port_id None to router ad604ba7-142a-4085-8b23-da60849aa15e 2025-08-07 02:14:12,746 - INFO - Waiting for VM ctest-vn1-vm1-85184717 to be up.. 2025-08-07 02:14:12,893 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:14:18,026 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:14:18,026 - INFO - VM name : ctest-vn1-vm1-85184717 2025-08-07 02:14:18,105 - DEBUG - VM ctest-vn1-vm1-85184717 ID is 8c47acd3-71f9-4c33-88ff-18713e37618b 2025-08-07 02:14:18,124 - DEBUG - VM ctest-vn1-vm1-85184717 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:14:18,206 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8c47acd3-71f9-4c33-88ff-18713e37618b 2025-08-07 02:14:18,548 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8c47acd3-71f9-4c33-88ff-18713e37618b 2025-08-07 02:14:18,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9e75e5b0-0bac-4804-aca7-7a6f1aa08a94 2025-08-07 02:14:21,847 - 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-08-07 02:14:21,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85184717 failed! 2025-08-07 02:14:21,906 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-86011251:ctest-vn1-45891543 is 142.236.254.193 and allocation pool is NOT set 2025-08-07 02:14:23,965 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.873/3.293/1.419 ms') 2025-08-07 02:14:23,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85184717 passed 2025-08-07 02:14:24,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:24,126 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85184717, IP 142.236.254.195, Port 22 2025-08-07 02:14:24,286 - DEBUG - VM ctest-vn1-vm1-85184717 is ready for SSH connections 2025-08-07 02:14:24,287 - INFO - Waiting for VM ctest-vn2-vm1-55020479 to be up.. 2025-08-07 02:14:24,361 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:14:24,361 - INFO - VM name : ctest-vn2-vm1-55020479 2025-08-07 02:14:24,445 - DEBUG - VM ctest-vn2-vm1-55020479 ID is 6ce088f6-9751-45d8-af8c-cae11d055aa1 2025-08-07 02:14:24,446 - DEBUG - VM ctest-vn2-vm1-55020479 launched on Node cn-jenkins-deploy-platform-ansible-os-3764-1 2025-08-07 02:14:24,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6ce088f6-9751-45d8-af8c-cae11d055aa1 2025-08-07 02:14:24,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0f911f70-4099-4d4d-b21c-e15a0f84615e 2025-08-07 02:14:25,782 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.776/3.098/1.321 ms') 2025-08-07 02:14:25,782 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-55020479 passed 2025-08-07 02:14:25,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:25,938 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55020479, IP 76.187.216.195, Port 22 2025-08-07 02:14:26,097 - DEBUG - VM ctest-vn2-vm1-55020479 is ready for SSH connections 2025-08-07 02:14:26,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:26,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.187.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:14:26,098 - DEBUG - ping -s 56 -c 3 -W 1 76.187.216.195 2025-08-07 02:14:31,211 - DEBUG - PING 76.187.216.195 (76.187.216.195): 56 data bytes --- 76.187.216.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:14:31,211 - WARNING - Ping to IP 76.187.216.195 from VM ctest-vn1-vm1-85184717 failed 2025-08-07 02:14:31,212 - INFO - Adding interface with subnet_id a62da9a3-c1f9-404f-a293-83171ee8a05d, port_id None to router ad604ba7-142a-4085-8b23-da60849aa15e 2025-08-07 02:14:31,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:31,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.187.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:14:31,493 - DEBUG - ping -s 56 -c 3 -W 1 76.187.216.195 2025-08-07 02:14:34,715 - DEBUG - PING 76.187.216.195 (76.187.216.195): 56 data bytes 64 bytes from 76.187.216.195: seq=1 ttl=63 time=2.761 ms 64 bytes from 76.187.216.195: seq=2 ttl=63 time=0.814 ms --- 76.187.216.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.814/1.787/2.761 ms 2025-08-07 02:14:34,715 - WARNING - Ping to IP 76.187.216.195 from VM ctest-vn1-vm1-85184717 failed 2025-08-07 02:14:35,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.187.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:14:35,716 - DEBUG - ping -s 56 -c 3 -W 1 76.187.216.195 2025-08-07 02:14:37,943 - DEBUG - PING 76.187.216.195 (76.187.216.195): 56 data bytes 64 bytes from 76.187.216.195: seq=0 ttl=63 time=1.495 ms 64 bytes from 76.187.216.195: seq=1 ttl=63 time=1.015 ms 64 bytes from 76.187.216.195: seq=2 ttl=63 time=1.081 ms --- 76.187.216.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/1.197/1.495 ms 2025-08-07 02:14:37,943 - INFO - Ping to IP 76.187.216.195 from VM ctest-vn1-vm1-85184717 passed 2025-08-07 02:14:37,943 - INFO - Deleting interface with subnet_id 0fc2d417-dbc6-471f-b0fc-6fa16ee46a4b, port_id None from router ad604ba7-142a-4085-8b23-da60849aa15e 2025-08-07 02:14:38,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:38,073 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.187.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:14:38,073 - DEBUG - ping -s 56 -c 3 -W 1 76.187.216.195 2025-08-07 02:14:41,290 - DEBUG - PING 76.187.216.195 (76.187.216.195): 56 data bytes --- 76.187.216.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 02:14:41,290 - WARNING - Ping to IP 76.187.216.195 from VM ctest-vn1-vm1-85184717 failed 2025-08-07 02:14:41,291 - INFO - Adding interface with subnet_id 0fc2d417-dbc6-471f-b0fc-6fa16ee46a4b, port_id None to router ad604ba7-142a-4085-8b23-da60849aa15e 2025-08-07 02:14:41,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:14:41,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.187.216.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-07 02:14:41,528 - DEBUG - ping -s 56 -c 3 -W 1 76.187.216.195 2025-08-07 02:14:43,749 - DEBUG - PING 76.187.216.195 (76.187.216.195): 56 data bytes 64 bytes from 76.187.216.195: seq=0 ttl=63 time=1.637 ms 64 bytes from 76.187.216.195: seq=1 ttl=63 time=0.861 ms 64 bytes from 76.187.216.195: seq=2 ttl=63 time=1.004 ms --- 76.187.216.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.167/1.637 ms 2025-08-07 02:14:43,749 - INFO - Ping to IP 76.187.216.195 from VM ctest-vn1-vm1-85184717 passed 2025-08-07 02:14:43,749 - INFO - Deleting interface with subnet_id a62da9a3-c1f9-404f-a293-83171ee8a05d, port_id None from router ad604ba7-142a-4085-8b23-da60849aa15e 2025-08-07 02:14:43,893 - INFO - Deleting interface with subnet_id 0fc2d417-dbc6-471f-b0fc-6fa16ee46a4b, port_id None from router ad604ba7-142a-4085-8b23-da60849aa15e 2025-08-07 02:14:44,112 - INFO - Deleting VM ctest-vn2-vm1-55020479 2025-08-07 02:14:44,185 - INFO - Deleting VM ctest-vn1-vm1-85184717 2025-08-07 02:14:44,261 - INFO - Deleting VN ctest-vn2-06348374 2025-08-07 02:14:44,299 - DEBUG - VN 67479c56-f487-4191-8c33-65542819c372 still in use: Unable to complete operation on network 67479c56-f487-4191-8c33-65542819c372. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c4b84559-1a1c-4afe-a2a3-25076134edaf'] 2025-08-07 02:14:44,299 - WARNING - Deleting VN ctest-vn2-06348374 failed..Will retry 2025-08-07 02:14:46,420 - DEBUG - Response for deleting network () 2025-08-07 02:14:46,420 - INFO - Deleting VN ctest-vn1-45891543 2025-08-07 02:14:46,539 - DEBUG - Response for deleting network () 2025-08-07 02:14:46,796 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:14:46,796 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-08-07 02:14:46,796 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:14:47,568 - INFO - Deleted project: ctest-TestRouters-86011251, ID : e0959e19-9e86-4558-9ac0-d7b3c8d9aa04