2025-10-06 22:48:20,100 - INFO - Domain Default found not creating 2025-10-06 22:48:20,247 - INFO - Project ctest-TestRouters-51593313 not found, creating it 2025-10-06 22:48:20,703 - INFO - Created Project:ctest-TestRouters-51593313, ID : 09be4f12-c1c9-44bd-93cb-3d923f9467c5 2025-10-06 22:48:22,212 - INFO - ================================================================================ 2025-10-06 22:48:22,212 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-06 22:48:22,213 - 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-06 22:48:22,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 22:48:22,474 - INFO - Initial checks done. Running the testcase now 2025-10-06 22:48:22,474 - INFO - 2025-10-06 22:48:23,013 - DEBUG - Response for create_network : {'network': {'id': 'a8cb976e-e1a6-4209-86b8-ff915182e22c', 'name': 'ctest-vn1-69638450', 'tenant_id': '09be4f12c1c944bd93cb3d923f9467c5', 'project_id': '09be4f12c1c944bd93cb3d923f9467c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51593313', 'ctest-vn1-69638450'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:48:23,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd70d310a-0c7f-4757-bfa6-73141863f536', 'name': '', 'tenant_id': '09be4f12c1c944bd93cb3d923f9467c5', 'network_id': 'a8cb976e-e1a6-4209-86b8-ff915182e22c', 'ip_version': 4, 'cidr': '141.217.192.0/26', 'allocation_pools': [{'start': '141.217.192.2', 'end': '141.217.192.62'}], 'gateway_ip': '141.217.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.217.192.2', 'tags': [], 'project_id': '09be4f12c1c944bd93cb3d923f9467c5'}} 2025-10-06 22:48:23,256 - INFO - Created VN ctest-vn1-69638450 2025-10-06 22:48:23,307 - DEBUG - VN ctest-vn1-69638450 UUID is a8cb976e-e1a6-4209-86b8-ff915182e22c 2025-10-06 22:48:23,691 - DEBUG - Response for create_network : {'network': {'id': '639c9a49-a65a-45c9-890f-bd175c983c00', 'name': 'ctest-vn2-73377645', 'tenant_id': '09be4f12c1c944bd93cb3d923f9467c5', 'project_id': '09be4f12c1c944bd93cb3d923f9467c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51593313', 'ctest-vn2-73377645'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:48:23,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '81e93437-986c-4e7f-a615-d4974a5ff73d', 'name': '', 'tenant_id': '09be4f12c1c944bd93cb3d923f9467c5', 'network_id': '639c9a49-a65a-45c9-890f-bd175c983c00', 'ip_version': 4, 'cidr': '154.194.234.192/26', 'allocation_pools': [{'start': '154.194.234.194', 'end': '154.194.234.254'}], 'gateway_ip': '154.194.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.194.234.194', 'tags': [], 'project_id': '09be4f12c1c944bd93cb3d923f9467c5'}} 2025-10-06 22:48:23,943 - INFO - Created VN ctest-vn2-73377645 2025-10-06 22:48:23,995 - DEBUG - VN ctest-vn2-73377645 UUID is 639c9a49-a65a-45c9-890f-bd175c983c00 2025-10-06 22:48:24,155 - DEBUG - Services list from nova: [, , ] 2025-10-06 22:48:25,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:48:26,388 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:48:26,449 - INFO - Adding interface with subnet_id d70d310a-0c7f-4757-bfa6-73141863f536, port_id None to router 2937f398-2b24-4da3-bc2f-d2c91607b7a1 2025-10-06 22:48:26,720 - INFO - Waiting for VM ctest-vn1-vm1-21558300 to be up.. 2025-10-06 22:48:26,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 22:48:31,931 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:48:31,931 - INFO - VM name : ctest-vn1-vm1-21558300 2025-10-06 22:48:32,002 - DEBUG - VM ctest-vn1-vm1-21558300 ID is 9980c6ec-ecec-431c-9672-5ea75bf9edf7 2025-10-06 22:48:32,022 - DEBUG - VM ctest-vn1-vm1-21558300 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:48:32,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9980c6ec-ecec-431c-9672-5ea75bf9edf7 2025-10-06 22:48:32,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9980c6ec-ecec-431c-9672-5ea75bf9edf7 2025-10-06 22:48:32,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33a788c7-fae6-46bd-9a4f-e318a673535c 2025-10-06 22:48:35,709 - 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 1013ms') 2025-10-06 22:48:35,709 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21558300 failed! 2025-10-06 22:48:35,767 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-51593313:ctest-vn1-69638450 is 141.217.192.1 and allocation pool is NOT set 2025-10-06 22:48:37,832 - 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.500 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.500/1.938/3.376/1.438 ms') 2025-10-06 22:48:37,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21558300 passed 2025-10-06 22:48:37,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:37,979 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21558300, IP 141.217.192.3, Port 22 2025-10-06 22:48:38,144 - DEBUG - VM ctest-vn1-vm1-21558300 is ready for SSH connections 2025-10-06 22:48:38,145 - INFO - Waiting for VM ctest-vn2-vm1-85086866 to be up.. 2025-10-06 22:48:38,223 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:48:38,223 - INFO - VM name : ctest-vn2-vm1-85086866 2025-10-06 22:48:38,303 - DEBUG - VM ctest-vn2-vm1-85086866 ID is d80ed5ce-ec0b-428e-bacf-30a9f66aa50f 2025-10-06 22:48:38,303 - DEBUG - VM ctest-vn2-vm1-85086866 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:48:38,387 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d80ed5ce-ec0b-428e-bacf-30a9f66aa50f 2025-10-06 22:48:38,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/af53bb99-7ad2-42f7-91c9-a2c304c49eed 2025-10-06 22:48:39,641 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.665/2.894/1.229 ms') 2025-10-06 22:48:39,641 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-85086866 passed 2025-10-06 22:48:39,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:39,795 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-85086866, IP 154.194.234.195, Port 22 2025-10-06 22:48:39,950 - DEBUG - VM ctest-vn2-vm1-85086866 is ready for SSH connections 2025-10-06 22:48:39,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:39,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.194.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:48:39,951 - DEBUG - ping -s 56 -c 3 -W 1 154.194.234.195 2025-10-06 22:48:44,639 - DEBUG - PING 154.194.234.195 (154.194.234.195): 56 data bytes --- 154.194.234.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 22:48:44,639 - WARNING - Ping to IP 154.194.234.195 from VM ctest-vn1-vm1-21558300 failed 2025-10-06 22:48:44,639 - INFO - Adding interface with subnet_id 81e93437-986c-4e7f-a615-d4974a5ff73d, port_id None to router 2937f398-2b24-4da3-bc2f-d2c91607b7a1 2025-10-06 22:48:44,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:44,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.194.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:48:44,874 - DEBUG - ping -s 56 -c 3 -W 1 154.194.234.195 2025-10-06 22:48:47,085 - DEBUG - PING 154.194.234.195 (154.194.234.195): 56 data bytes 64 bytes from 154.194.234.195: seq=0 ttl=63 time=2.791 ms 64 bytes from 154.194.234.195: seq=1 ttl=63 time=1.643 ms 64 bytes from 154.194.234.195: seq=2 ttl=63 time=0.845 ms --- 154.194.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/1.759/2.791 ms 2025-10-06 22:48:47,085 - INFO - Ping to IP 154.194.234.195 from VM ctest-vn1-vm1-21558300 passed 2025-10-06 22:48:47,085 - INFO - Deleting interface with subnet_id d70d310a-0c7f-4757-bfa6-73141863f536, port_id None from router 2937f398-2b24-4da3-bc2f-d2c91607b7a1 2025-10-06 22:48:47,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:47,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.194.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:48:47,197 - DEBUG - ping -s 56 -c 3 -W 1 154.194.234.195 2025-10-06 22:48:50,402 - DEBUG - PING 154.194.234.195 (154.194.234.195): 56 data bytes --- 154.194.234.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 22:48:50,403 - WARNING - Ping to IP 154.194.234.195 from VM ctest-vn1-vm1-21558300 failed 2025-10-06 22:48:50,403 - INFO - Adding interface with subnet_id d70d310a-0c7f-4757-bfa6-73141863f536, port_id None to router 2937f398-2b24-4da3-bc2f-d2c91607b7a1 2025-10-06 22:48:50,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:50,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.194.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:48:50,620 - DEBUG - ping -s 56 -c 3 -W 1 154.194.234.195 2025-10-06 22:48:52,854 - DEBUG - PING 154.194.234.195 (154.194.234.195): 56 data bytes 64 bytes from 154.194.234.195: seq=0 ttl=63 time=1.275 ms 64 bytes from 154.194.234.195: seq=1 ttl=63 time=1.351 ms 64 bytes from 154.194.234.195: seq=2 ttl=63 time=0.981 ms --- 154.194.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/1.202/1.351 ms 2025-10-06 22:48:52,854 - INFO - Ping to IP 154.194.234.195 from VM ctest-vn1-vm1-21558300 passed 2025-10-06 22:48:52,854 - INFO - Deleting interface with subnet_id 81e93437-986c-4e7f-a615-d4974a5ff73d, port_id None from router 2937f398-2b24-4da3-bc2f-d2c91607b7a1 2025-10-06 22:48:52,969 - INFO - Deleting interface with subnet_id d70d310a-0c7f-4757-bfa6-73141863f536, port_id None from router 2937f398-2b24-4da3-bc2f-d2c91607b7a1 2025-10-06 22:48:53,128 - INFO - Deleting VM ctest-vn2-vm1-85086866 2025-10-06 22:48:53,194 - INFO - Deleting VM ctest-vn1-vm1-21558300 2025-10-06 22:48:53,268 - INFO - Deleting VN ctest-vn2-73377645 2025-10-06 22:48:53,306 - DEBUG - VN 639c9a49-a65a-45c9-890f-bd175c983c00 still in use: Unable to complete operation on network 639c9a49-a65a-45c9-890f-bd175c983c00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fbd68fd-bb28-4d94-8987-83f7e76fb65f'] 2025-10-06 22:48:53,306 - WARNING - Deleting VN ctest-vn2-73377645 failed..Will retry 2025-10-06 22:48:55,396 - DEBUG - Response for deleting network () 2025-10-06 22:48:55,397 - INFO - Deleting VN ctest-vn1-69638450 2025-10-06 22:48:55,503 - DEBUG - Response for deleting network () 2025-10-06 22:48:55,759 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 22:48:55,760 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-10-06 22:48:55,760 - INFO - -------------------------------------------------------------------------------- 2025-10-06 22:48:56,715 - INFO - Deleted project: ctest-TestRouters-51593313, ID : 09be4f12-c1c9-44bd-93cb-3d923f9467c5