2025-10-28 21:28:42,964 - INFO - Domain Default found not creating 2025-10-28 21:28:43,117 - INFO - Project ctest-TestRouters-17058951 not found, creating it 2025-10-28 21:28:43,570 - INFO - Created Project:ctest-TestRouters-17058951, ID : a8f8991f-e207-479b-a6a5-a4c05e8248d7 2025-10-28 21:28:45,128 - INFO - ================================================================================ 2025-10-28 21:28:45,128 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-28 21:28:45,128 - 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-28 21:28:45,382 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-28 21:28:45,382 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:28:45,382 - INFO - 2025-10-28 21:28:45,976 - DEBUG - Response for create_network : {'network': {'id': '270ff156-d162-4347-80ab-ae0b1217fe78', 'name': 'ctest-vn1-53940694', 'tenant_id': 'a8f8991fe207479ba6a5a4c05e8248d7', 'project_id': 'a8f8991fe207479ba6a5a4c05e8248d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17058951', 'ctest-vn1-53940694'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:28:46,180 - DEBUG - Response for create_subnet : {'subnet': {'id': '5494b7ac-9d84-4697-8932-461b94d42417', 'name': '', 'tenant_id': 'a8f8991fe207479ba6a5a4c05e8248d7', 'network_id': '270ff156-d162-4347-80ab-ae0b1217fe78', 'ip_version': 4, 'cidr': '129.191.132.64/26', 'allocation_pools': [{'start': '129.191.132.66', 'end': '129.191.132.126'}], 'gateway_ip': '129.191.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.191.132.66', 'tags': [], 'project_id': 'a8f8991fe207479ba6a5a4c05e8248d7'}} 2025-10-28 21:28:46,198 - INFO - Created VN ctest-vn1-53940694 2025-10-28 21:28:46,248 - DEBUG - VN ctest-vn1-53940694 UUID is 270ff156-d162-4347-80ab-ae0b1217fe78 2025-10-28 21:28:46,580 - DEBUG - Response for create_network : {'network': {'id': '52929290-58ff-4055-b7a7-785ab3297a2a', 'name': 'ctest-vn2-92499976', 'tenant_id': 'a8f8991fe207479ba6a5a4c05e8248d7', 'project_id': 'a8f8991fe207479ba6a5a4c05e8248d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17058951', 'ctest-vn2-92499976'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:28:46,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '59eedd79-0056-4132-8116-2a2f8899b487', 'name': '', 'tenant_id': 'a8f8991fe207479ba6a5a4c05e8248d7', 'network_id': '52929290-58ff-4055-b7a7-785ab3297a2a', 'ip_version': 4, 'cidr': '219.140.4.128/26', 'allocation_pools': [{'start': '219.140.4.130', 'end': '219.140.4.190'}], 'gateway_ip': '219.140.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.140.4.130', 'tags': [], 'project_id': 'a8f8991fe207479ba6a5a4c05e8248d7'}} 2025-10-28 21:28:46,838 - INFO - Created VN ctest-vn2-92499976 2025-10-28 21:28:46,888 - DEBUG - VN ctest-vn2-92499976 UUID is 52929290-58ff-4055-b7a7-785ab3297a2a 2025-10-28 21:28:47,086 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:28:48,222 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:28:49,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:28:49,437 - INFO - Adding interface with subnet_id 5494b7ac-9d84-4697-8932-461b94d42417, port_id None to router a7a95398-1cf9-43c1-89b6-868b8ba27686 2025-10-28 21:28:49,711 - INFO - Waiting for VM ctest-vn1-vm1-76534611 to be up.. 2025-10-28 21:28:49,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:28:54,924 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:28:54,924 - INFO - VM name : ctest-vn1-vm1-76534611 2025-10-28 21:28:54,995 - DEBUG - VM ctest-vn1-vm1-76534611 ID is 1000a355-dd0c-4dea-b7c4-65d90b66ff0e 2025-10-28 21:28:55,017 - DEBUG - VM ctest-vn1-vm1-76534611 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:28:55,089 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1000a355-dd0c-4dea-b7c4-65d90b66ff0e 2025-10-28 21:28:55,388 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1000a355-dd0c-4dea-b7c4-65d90b66ff0e 2025-10-28 21:28:55,426 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/72dd78cc-c2a5-438c-b066-5ec8d02bf798 2025-10-28 21:28:58,749 - 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 1019ms') 2025-10-28 21:28:58,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76534611 failed! 2025-10-28 21:28:58,804 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17058951:ctest-vn1-53940694 is 129.191.132.65 and allocation pool is NOT set 2025-10-28 21:29:00,868 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.905/3.380/1.474 ms') 2025-10-28 21:29:00,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76534611 passed 2025-10-28 21:29:01,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:01,021 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76534611, IP 129.191.132.67, Port 22 2025-10-28 21:29:01,183 - DEBUG - VM ctest-vn1-vm1-76534611 is ready for SSH connections 2025-10-28 21:29:01,184 - INFO - Waiting for VM ctest-vn2-vm1-89495997 to be up.. 2025-10-28 21:29:01,261 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:29:01,261 - INFO - VM name : ctest-vn2-vm1-89495997 2025-10-28 21:29:01,339 - DEBUG - VM ctest-vn2-vm1-89495997 ID is 402e466e-329e-404f-ba92-cb42e92758e9 2025-10-28 21:29:01,339 - DEBUG - VM ctest-vn2-vm1-89495997 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:29:01,422 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/402e466e-329e-404f-ba92-cb42e92758e9 2025-10-28 21:29:01,433 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/63a2a945-615a-4b3c-8a30-2e25935c32c2 2025-10-28 21:29:02,676 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/2.083/3.759/1.676 ms') 2025-10-28 21:29:02,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-89495997 passed 2025-10-28 21:29:02,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:02,825 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89495997, IP 219.140.4.131, Port 22 2025-10-28 21:29:02,984 - DEBUG - VM ctest-vn2-vm1-89495997 is ready for SSH connections 2025-10-28 21:29:02,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:02,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.140.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:29:02,984 - DEBUG - ping -s 56 -c 3 -W 1 219.140.4.131 2025-10-28 21:29:08,051 - DEBUG - PING 219.140.4.131 (219.140.4.131): 56 data bytes --- 219.140.4.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:29:08,051 - WARNING - Ping to IP 219.140.4.131 from VM ctest-vn1-vm1-76534611 failed 2025-10-28 21:29:08,051 - INFO - Adding interface with subnet_id 59eedd79-0056-4132-8116-2a2f8899b487, port_id None to router a7a95398-1cf9-43c1-89b6-868b8ba27686 2025-10-28 21:29:08,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:08,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.140.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:29:08,284 - DEBUG - ping -s 56 -c 3 -W 1 219.140.4.131 2025-10-28 21:29:11,528 - DEBUG - PING 219.140.4.131 (219.140.4.131): 56 data bytes 64 bytes from 219.140.4.131: seq=1 ttl=63 time=2.784 ms 64 bytes from 219.140.4.131: seq=2 ttl=63 time=1.129 ms --- 219.140.4.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.129/1.956/2.784 ms 2025-10-28 21:29:11,528 - WARNING - Ping to IP 219.140.4.131 from VM ctest-vn1-vm1-76534611 failed 2025-10-28 21:29:12,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.140.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:29:12,529 - DEBUG - ping -s 56 -c 3 -W 1 219.140.4.131 2025-10-28 21:29:14,765 - DEBUG - PING 219.140.4.131 (219.140.4.131): 56 data bytes 64 bytes from 219.140.4.131: seq=0 ttl=63 time=1.369 ms 64 bytes from 219.140.4.131: seq=1 ttl=63 time=1.060 ms 64 bytes from 219.140.4.131: seq=2 ttl=63 time=0.812 ms --- 219.140.4.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/1.080/1.369 ms 2025-10-28 21:29:14,765 - INFO - Ping to IP 219.140.4.131 from VM ctest-vn1-vm1-76534611 passed 2025-10-28 21:29:14,765 - INFO - Deleting interface with subnet_id 5494b7ac-9d84-4697-8932-461b94d42417, port_id None from router a7a95398-1cf9-43c1-89b6-868b8ba27686 2025-10-28 21:29:14,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:14,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.140.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:29:14,890 - DEBUG - ping -s 56 -c 3 -W 1 219.140.4.131 2025-10-28 21:29:18,136 - DEBUG - PING 219.140.4.131 (219.140.4.131): 56 data bytes --- 219.140.4.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:29:18,136 - WARNING - Ping to IP 219.140.4.131 from VM ctest-vn1-vm1-76534611 failed 2025-10-28 21:29:18,137 - INFO - Adding interface with subnet_id 5494b7ac-9d84-4697-8932-461b94d42417, port_id None to router a7a95398-1cf9-43c1-89b6-868b8ba27686 2025-10-28 21:29:18,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:29:18,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.140.4.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:29:18,350 - DEBUG - ping -s 56 -c 3 -W 1 219.140.4.131 2025-10-28 21:29:20,635 - DEBUG - PING 219.140.4.131 (219.140.4.131): 56 data bytes 64 bytes from 219.140.4.131: seq=0 ttl=63 time=1.812 ms 64 bytes from 219.140.4.131: seq=1 ttl=63 time=1.320 ms 64 bytes from 219.140.4.131: seq=2 ttl=63 time=1.081 ms --- 219.140.4.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.081/1.404/1.812 ms 2025-10-28 21:29:20,635 - INFO - Ping to IP 219.140.4.131 from VM ctest-vn1-vm1-76534611 passed 2025-10-28 21:29:20,635 - INFO - Deleting interface with subnet_id 59eedd79-0056-4132-8116-2a2f8899b487, port_id None from router a7a95398-1cf9-43c1-89b6-868b8ba27686 2025-10-28 21:29:20,772 - INFO - Deleting interface with subnet_id 5494b7ac-9d84-4697-8932-461b94d42417, port_id None from router a7a95398-1cf9-43c1-89b6-868b8ba27686 2025-10-28 21:29:20,950 - INFO - Deleting VM ctest-vn2-vm1-89495997 2025-10-28 21:29:21,021 - INFO - Deleting VM ctest-vn1-vm1-76534611 2025-10-28 21:29:21,100 - INFO - Deleting VN ctest-vn2-92499976 2025-10-28 21:29:21,144 - DEBUG - VN 52929290-58ff-4055-b7a7-785ab3297a2a still in use: Unable to complete operation on network 52929290-58ff-4055-b7a7-785ab3297a2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f910183a-80eb-4e93-b424-30908474eca9'] 2025-10-28 21:29:21,144 - WARNING - Deleting VN ctest-vn2-92499976 failed..Will retry 2025-10-28 21:29:23,240 - DEBUG - Response for deleting network () 2025-10-28 21:29:23,240 - INFO - Deleting VN ctest-vn1-53940694 2025-10-28 21:29:23,333 - DEBUG - Response for deleting network () 2025-10-28 21:29:23,594 - DEBUG - No XMPP flaps were noticed during the test 2025-10-28 21:29:23,594 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-28 21:29:23,594 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:29:24,259 - INFO - Deleted project: ctest-TestRouters-17058951, ID : a8f8991f-e207-479b-a6a5-a4c05e8248d7