2025-11-20 17:50:13,533 - INFO - Domain Default found not creating 2025-11-20 17:50:14,084 - INFO - Project ctest-TestRouters-60783183 not found, creating it 2025-11-20 17:50:14,608 - INFO - Created Project:ctest-TestRouters-60783183, ID : 57340f37-26fb-4931-8fcf-f7e57daf1628 2025-11-20 17:50:16,182 - INFO - ================================================================================ 2025-11-20 17:50:16,182 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-20 17:50:16,182 - 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-11-20 17:50:16,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.5': '0'}} with 2025-11-20 17:50:16,448 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:50:16,448 - INFO - 2025-11-20 17:50:17,063 - DEBUG - Response for create_network : {'network': {'id': 'ca5a79db-c0db-4c2d-ae76-41623597310a', 'name': 'ctest-vn1-62621081', 'tenant_id': '57340f3726fb49318fcff7e57daf1628', 'project_id': '57340f3726fb49318fcff7e57daf1628', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60783183', 'ctest-vn1-62621081'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:50:17,255 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd818573b-663e-4469-ac40-54abe36d643d', 'name': '', 'tenant_id': '57340f3726fb49318fcff7e57daf1628', 'network_id': 'ca5a79db-c0db-4c2d-ae76-41623597310a', 'ip_version': 4, 'cidr': '51.97.171.128/26', 'allocation_pools': [{'start': '51.97.171.130', 'end': '51.97.171.190'}], 'gateway_ip': '51.97.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.97.171.130', 'tags': [], 'project_id': '57340f3726fb49318fcff7e57daf1628'}} 2025-11-20 17:50:17,274 - INFO - Created VN ctest-vn1-62621081 2025-11-20 17:50:17,325 - DEBUG - VN ctest-vn1-62621081 UUID is ca5a79db-c0db-4c2d-ae76-41623597310a 2025-11-20 17:50:17,639 - DEBUG - Response for create_network : {'network': {'id': '4d06c8c5-7d7e-441f-a691-886741ab1b54', 'name': 'ctest-vn2-60808629', 'tenant_id': '57340f3726fb49318fcff7e57daf1628', 'project_id': '57340f3726fb49318fcff7e57daf1628', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60783183', 'ctest-vn2-60808629'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:50:17,832 - DEBUG - Response for create_subnet : {'subnet': {'id': '833441eb-0ac2-4ea8-a9c9-ff26833bec19', 'name': '', 'tenant_id': '57340f3726fb49318fcff7e57daf1628', 'network_id': '4d06c8c5-7d7e-441f-a691-886741ab1b54', 'ip_version': 4, 'cidr': '19.92.105.0/26', 'allocation_pools': [{'start': '19.92.105.2', 'end': '19.92.105.62'}], 'gateway_ip': '19.92.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.92.105.2', 'tags': [], 'project_id': '57340f3726fb49318fcff7e57daf1628'}} 2025-11-20 17:50:17,852 - INFO - Created VN ctest-vn2-60808629 2025-11-20 17:50:17,905 - DEBUG - VN ctest-vn2-60808629 UUID is 4d06c8c5-7d7e-441f-a691-886741ab1b54 2025-11-20 17:50:18,075 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:50:19,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:50:20,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4783-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4783-1) 2025-11-20 17:50:20,576 - INFO - Adding interface with subnet_id d818573b-663e-4469-ac40-54abe36d643d, port_id None to router 72d3955c-ec66-4770-b2ec-1dbd3721d409 2025-11-20 17:50:20,885 - INFO - Waiting for VM ctest-vn1-vm1-58162468 to be up.. 2025-11-20 17:50:21,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:50:26,095 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:50:26,095 - INFO - VM name : ctest-vn1-vm1-58162468 2025-11-20 17:50:26,174 - DEBUG - VM ctest-vn1-vm1-58162468 ID is f282a04f-3bfd-403a-b618-f4e7224f4e57 2025-11-20 17:50:26,198 - DEBUG - VM ctest-vn1-vm1-58162468 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:50:26,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f282a04f-3bfd-403a-b618-f4e7224f4e57 2025-11-20 17:50:26,579 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f282a04f-3bfd-403a-b618-f4e7224f4e57 2025-11-20 17:50:26,617 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7041ec80-1888-4295-8a5d-c0dcea825d98 2025-11-20 17:50:29,873 - 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 1005ms') 2025-11-20 17:50:29,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58162468 failed! 2025-11-20 17:50:29,929 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-60783183:ctest-vn1-62621081 is 51.97.171.129 and allocation pool is NOT set 2025-11-20 17:50:31,995 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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 = 1.157/2.300/3.443/1.143 ms') 2025-11-20 17:50:31,995 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-58162468 passed 2025-11-20 17:50:32,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:32,153 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58162468, IP 51.97.171.131, Port 22 2025-11-20 17:50:32,327 - DEBUG - VM ctest-vn1-vm1-58162468 is ready for SSH connections 2025-11-20 17:50:32,327 - INFO - Waiting for VM ctest-vn2-vm1-34258665 to be up.. 2025-11-20 17:50:32,413 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:50:32,413 - INFO - VM name : ctest-vn2-vm1-34258665 2025-11-20 17:50:32,500 - DEBUG - VM ctest-vn2-vm1-34258665 ID is 1c772a95-5438-4602-a9d5-b163cba17a68 2025-11-20 17:50:32,500 - DEBUG - VM ctest-vn2-vm1-34258665 launched on Node cn-jenkins-deploy-platform-ansible-os-4783-1 2025-11-20 17:50:32,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1c772a95-5438-4602-a9d5-b163cba17a68 2025-11-20 17:50:32,596 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7bbfa449-7e26-44a4-b1bf-8f1e7855ed43 2025-11-20 17:50:33,845 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.538 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.538/2.020/3.502/1.482 ms') 2025-11-20 17:50:33,845 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34258665 passed 2025-11-20 17:50:33,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:33,960 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34258665, IP 19.92.105.3, Port 22 2025-11-20 17:50:34,132 - DEBUG - VM ctest-vn2-vm1-34258665 is ready for SSH connections 2025-11-20 17:50:34,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:34,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.92.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:50:34,133 - DEBUG - ping -s 56 -c 3 -W 1 19.92.105.3 2025-11-20 17:50:39,216 - DEBUG - PING 19.92.105.3 (19.92.105.3): 56 data bytes --- 19.92.105.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 17:50:39,216 - WARNING - Ping to IP 19.92.105.3 from VM ctest-vn1-vm1-58162468 failed 2025-11-20 17:50:39,216 - INFO - Adding interface with subnet_id 833441eb-0ac2-4ea8-a9c9-ff26833bec19, port_id None to router 72d3955c-ec66-4770-b2ec-1dbd3721d409 2025-11-20 17:50:39,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:39,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.92.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:50:39,489 - DEBUG - ping -s 56 -c 3 -W 1 19.92.105.3 2025-11-20 17:50:42,719 - DEBUG - PING 19.92.105.3 (19.92.105.3): 56 data bytes 64 bytes from 19.92.105.3: seq=1 ttl=63 time=3.719 ms 64 bytes from 19.92.105.3: seq=2 ttl=63 time=0.954 ms --- 19.92.105.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.954/2.336/3.719 ms 2025-11-20 17:50:42,719 - WARNING - Ping to IP 19.92.105.3 from VM ctest-vn1-vm1-58162468 failed 2025-11-20 17:50:43,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.92.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:50:43,720 - DEBUG - ping -s 56 -c 3 -W 1 19.92.105.3 2025-11-20 17:50:45,949 - DEBUG - PING 19.92.105.3 (19.92.105.3): 56 data bytes 64 bytes from 19.92.105.3: seq=0 ttl=63 time=2.063 ms 64 bytes from 19.92.105.3: seq=1 ttl=63 time=0.974 ms 64 bytes from 19.92.105.3: seq=2 ttl=63 time=1.205 ms --- 19.92.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/1.414/2.063 ms 2025-11-20 17:50:45,949 - INFO - Ping to IP 19.92.105.3 from VM ctest-vn1-vm1-58162468 passed 2025-11-20 17:50:45,949 - INFO - Deleting interface with subnet_id d818573b-663e-4469-ac40-54abe36d643d, port_id None from router 72d3955c-ec66-4770-b2ec-1dbd3721d409 2025-11-20 17:50:46,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:46,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.92.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:50:46,065 - DEBUG - ping -s 56 -c 3 -W 1 19.92.105.3 2025-11-20 17:50:49,283 - DEBUG - PING 19.92.105.3 (19.92.105.3): 56 data bytes --- 19.92.105.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 17:50:49,283 - WARNING - Ping to IP 19.92.105.3 from VM ctest-vn1-vm1-58162468 failed 2025-11-20 17:50:49,283 - INFO - Adding interface with subnet_id d818573b-663e-4469-ac40-54abe36d643d, port_id None to router 72d3955c-ec66-4770-b2ec-1dbd3721d409 2025-11-20 17:50:49,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:50:49,522 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.92.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-20 17:50:49,522 - DEBUG - ping -s 56 -c 3 -W 1 19.92.105.3 2025-11-20 17:50:51,745 - DEBUG - PING 19.92.105.3 (19.92.105.3): 56 data bytes 64 bytes from 19.92.105.3: seq=0 ttl=63 time=1.816 ms 64 bytes from 19.92.105.3: seq=1 ttl=63 time=1.179 ms 64 bytes from 19.92.105.3: seq=2 ttl=63 time=1.062 ms --- 19.92.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.062/1.352/1.816 ms 2025-11-20 17:50:51,745 - INFO - Ping to IP 19.92.105.3 from VM ctest-vn1-vm1-58162468 passed 2025-11-20 17:50:51,745 - INFO - Deleting interface with subnet_id 833441eb-0ac2-4ea8-a9c9-ff26833bec19, port_id None from router 72d3955c-ec66-4770-b2ec-1dbd3721d409 2025-11-20 17:50:51,868 - INFO - Deleting interface with subnet_id d818573b-663e-4469-ac40-54abe36d643d, port_id None from router 72d3955c-ec66-4770-b2ec-1dbd3721d409 2025-11-20 17:50:52,061 - INFO - Deleting VM ctest-vn2-vm1-34258665 2025-11-20 17:50:52,160 - INFO - Deleting VM ctest-vn1-vm1-58162468 2025-11-20 17:50:52,243 - INFO - Deleting VN ctest-vn2-60808629 2025-11-20 17:50:52,299 - DEBUG - VN 4d06c8c5-7d7e-441f-a691-886741ab1b54 still in use: Unable to complete operation on network 4d06c8c5-7d7e-441f-a691-886741ab1b54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83df5dd0-9210-4891-9e0f-9de4bd435c28'] 2025-11-20 17:50:52,299 - WARNING - Deleting VN ctest-vn2-60808629 failed..Will retry 2025-11-20 17:50:54,402 - DEBUG - Response for deleting network () 2025-11-20 17:50:54,402 - INFO - Deleting VN ctest-vn1-62621081 2025-11-20 17:50:54,498 - DEBUG - Response for deleting network () 2025-11-20 17:50:54,754 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 17:50:54,754 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-11-20 17:50:54,754 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:50:55,456 - INFO - Deleted project: ctest-TestRouters-60783183, ID : 57340f37-26fb-4931-8fcf-f7e57daf1628