2025-10-23 19:04:38,928 - INFO - Domain Default found not creating 2025-10-23 19:04:39,078 - INFO - Project ctest-TestRouters-01749464 not found, creating it 2025-10-23 19:04:39,573 - INFO - Created Project:ctest-TestRouters-01749464, ID : bfd2bf77-3000-45ce-99c6-df2cca9bdd12 2025-10-23 19:04:41,167 - INFO - ================================================================================ 2025-10-23 19:04:41,167 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 19:04:41,167 - 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-23 19:04:41,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 19:04:41,424 - INFO - Initial checks done. Running the testcase now 2025-10-23 19:04:41,424 - INFO - 2025-10-23 19:04:41,972 - DEBUG - Response for create_network : {'network': {'id': 'c175e061-d47d-4408-825b-39ad59d49065', 'name': 'ctest-vn1-36952514', 'tenant_id': 'bfd2bf77300045ce99c6df2cca9bdd12', 'project_id': 'bfd2bf77300045ce99c6df2cca9bdd12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01749464', 'ctest-vn1-36952514'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:04:42,164 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbf2b8ef-6678-415d-a324-73ea101293ef', 'name': '', 'tenant_id': 'bfd2bf77300045ce99c6df2cca9bdd12', 'network_id': 'c175e061-d47d-4408-825b-39ad59d49065', 'ip_version': 4, 'cidr': '30.76.15.128/26', 'allocation_pools': [{'start': '30.76.15.130', 'end': '30.76.15.190'}], 'gateway_ip': '30.76.15.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.76.15.130', 'tags': [], 'project_id': 'bfd2bf77300045ce99c6df2cca9bdd12'}} 2025-10-23 19:04:42,182 - INFO - Created VN ctest-vn1-36952514 2025-10-23 19:04:42,234 - DEBUG - VN ctest-vn1-36952514 UUID is c175e061-d47d-4408-825b-39ad59d49065 2025-10-23 19:04:42,570 - DEBUG - Response for create_network : {'network': {'id': 'f77fa834-59c9-4f83-82b9-9a4bf3189651', 'name': 'ctest-vn2-91956389', 'tenant_id': 'bfd2bf77300045ce99c6df2cca9bdd12', 'project_id': 'bfd2bf77300045ce99c6df2cca9bdd12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01749464', 'ctest-vn2-91956389'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 19:04:42,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a09354f-8751-4026-bcbe-7e1a3fb670f7', 'name': '', 'tenant_id': 'bfd2bf77300045ce99c6df2cca9bdd12', 'network_id': 'f77fa834-59c9-4f83-82b9-9a4bf3189651', 'ip_version': 4, 'cidr': '107.94.135.64/26', 'allocation_pools': [{'start': '107.94.135.66', 'end': '107.94.135.126'}], 'gateway_ip': '107.94.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.94.135.66', 'tags': [], 'project_id': 'bfd2bf77300045ce99c6df2cca9bdd12'}} 2025-10-23 19:04:42,805 - INFO - Created VN ctest-vn2-91956389 2025-10-23 19:04:42,857 - DEBUG - VN ctest-vn2-91956389 UUID is f77fa834-59c9-4f83-82b9-9a4bf3189651 2025-10-23 19:04:43,072 - DEBUG - Services list from nova: [, , ] 2025-10-23 19:04:44,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1) 2025-10-23 19:04:45,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4465-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4465-1) 2025-10-23 19:04:45,522 - INFO - Adding interface with subnet_id cbf2b8ef-6678-415d-a324-73ea101293ef, port_id None to router 05b69617-13f9-4e51-a4be-db6d7acc56ac 2025-10-23 19:04:45,827 - INFO - Waiting for VM ctest-vn1-vm1-89765543 to be up.. 2025-10-23 19:04:45,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 19:04:51,042 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:04:51,042 - INFO - VM name : ctest-vn1-vm1-89765543 2025-10-23 19:04:51,133 - DEBUG - VM ctest-vn1-vm1-89765543 ID is f7daa4b1-ec3e-424c-adbf-5d6ab8bc13fd 2025-10-23 19:04:51,154 - DEBUG - VM ctest-vn1-vm1-89765543 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1 2025-10-23 19:04:51,251 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f7daa4b1-ec3e-424c-adbf-5d6ab8bc13fd 2025-10-23 19:04:51,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f7daa4b1-ec3e-424c-adbf-5d6ab8bc13fd 2025-10-23 19:04:51,587 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/87cb6cad-d528-4403-964d-d8949d822483 2025-10-23 19:04:54,833 - 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 1011ms') 2025-10-23 19:04:54,833 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89765543 failed! 2025-10-23 19:04:54,890 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-01749464:ctest-vn1-36952514 is 30.76.15.129 and allocation pool is NOT set 2025-10-23 19:04:56,958 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.70 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 = 3.702/3.756/3.811/0.054 ms') 2025-10-23 19:04:56,958 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89765543 passed 2025-10-23 19:04:57,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:04:57,110 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89765543, IP 30.76.15.131, Port 22 2025-10-23 19:04:57,275 - DEBUG - VM ctest-vn1-vm1-89765543 is ready for SSH connections 2025-10-23 19:04:57,275 - INFO - Waiting for VM ctest-vn2-vm1-48406047 to be up.. 2025-10-23 19:04:57,371 - DEBUG - VM is in ACTIVE state now 2025-10-23 19:04:57,371 - INFO - VM name : ctest-vn2-vm1-48406047 2025-10-23 19:04:57,449 - DEBUG - VM ctest-vn2-vm1-48406047 ID is a62126b6-03a9-41af-9496-e7073ff60923 2025-10-23 19:04:57,450 - DEBUG - VM ctest-vn2-vm1-48406047 launched on Node cn-jenkins-deploy-platform-ansible-os-4465-1 2025-10-23 19:04:57,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a62126b6-03a9-41af-9496-e7073ff60923 2025-10-23 19:04:57,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d31ca1cf-8b52-49a9-9d22-769f45a28b1d 2025-10-23 19:04:58,814 - 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=4.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.03 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 = 2.032/3.178/4.325/1.146 ms') 2025-10-23 19:04:58,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48406047 passed 2025-10-23 19:04:58,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:04:58,970 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48406047, IP 107.94.135.67, Port 22 2025-10-23 19:04:59,125 - DEBUG - VM ctest-vn2-vm1-48406047 is ready for SSH connections 2025-10-23 19:04:59,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:04:59,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.94.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 19:04:59,126 - DEBUG - ping -s 56 -c 3 -W 1 107.94.135.67 2025-10-23 19:05:03,819 - DEBUG - PING 107.94.135.67 (107.94.135.67): 56 data bytes --- 107.94.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 19:05:03,819 - WARNING - Ping to IP 107.94.135.67 from VM ctest-vn1-vm1-89765543 failed 2025-10-23 19:05:03,819 - INFO - Adding interface with subnet_id 3a09354f-8751-4026-bcbe-7e1a3fb670f7, port_id None to router 05b69617-13f9-4e51-a4be-db6d7acc56ac 2025-10-23 19:05:04,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:05:04,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.94.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 19:05:04,064 - DEBUG - ping -s 56 -c 3 -W 1 107.94.135.67 2025-10-23 19:05:07,278 - DEBUG - PING 107.94.135.67 (107.94.135.67): 56 data bytes 64 bytes from 107.94.135.67: seq=1 ttl=63 time=3.296 ms 64 bytes from 107.94.135.67: seq=2 ttl=63 time=1.350 ms --- 107.94.135.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.350/2.323/3.296 ms 2025-10-23 19:05:07,279 - WARNING - Ping to IP 107.94.135.67 from VM ctest-vn1-vm1-89765543 failed 2025-10-23 19:05:08,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.94.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 19:05:08,280 - DEBUG - ping -s 56 -c 3 -W 1 107.94.135.67 2025-10-23 19:05:10,513 - DEBUG - PING 107.94.135.67 (107.94.135.67): 56 data bytes 64 bytes from 107.94.135.67: seq=0 ttl=63 time=1.374 ms 64 bytes from 107.94.135.67: seq=1 ttl=63 time=0.826 ms 64 bytes from 107.94.135.67: seq=2 ttl=63 time=0.880 ms --- 107.94.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.026/1.374 ms 2025-10-23 19:05:10,513 - INFO - Ping to IP 107.94.135.67 from VM ctest-vn1-vm1-89765543 passed 2025-10-23 19:05:10,513 - INFO - Deleting interface with subnet_id cbf2b8ef-6678-415d-a324-73ea101293ef, port_id None from router 05b69617-13f9-4e51-a4be-db6d7acc56ac 2025-10-23 19:05:10,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:05:10,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.94.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 19:05:10,651 - DEBUG - ping -s 56 -c 3 -W 1 107.94.135.67 2025-10-23 19:05:13,873 - DEBUG - PING 107.94.135.67 (107.94.135.67): 56 data bytes --- 107.94.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 19:05:13,873 - WARNING - Ping to IP 107.94.135.67 from VM ctest-vn1-vm1-89765543 failed 2025-10-23 19:05:13,873 - INFO - Adding interface with subnet_id cbf2b8ef-6678-415d-a324-73ea101293ef, port_id None to router 05b69617-13f9-4e51-a4be-db6d7acc56ac 2025-10-23 19:05:14,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 19:05:14,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.94.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 19:05:14,122 - DEBUG - ping -s 56 -c 3 -W 1 107.94.135.67 2025-10-23 19:05:16,399 - DEBUG - PING 107.94.135.67 (107.94.135.67): 56 data bytes 64 bytes from 107.94.135.67: seq=0 ttl=63 time=1.625 ms 64 bytes from 107.94.135.67: seq=1 ttl=63 time=0.868 ms 64 bytes from 107.94.135.67: seq=2 ttl=63 time=1.097 ms --- 107.94.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/1.196/1.625 ms 2025-10-23 19:05:16,399 - INFO - Ping to IP 107.94.135.67 from VM ctest-vn1-vm1-89765543 passed 2025-10-23 19:05:16,399 - INFO - Deleting interface with subnet_id 3a09354f-8751-4026-bcbe-7e1a3fb670f7, port_id None from router 05b69617-13f9-4e51-a4be-db6d7acc56ac 2025-10-23 19:05:16,549 - INFO - Deleting interface with subnet_id cbf2b8ef-6678-415d-a324-73ea101293ef, port_id None from router 05b69617-13f9-4e51-a4be-db6d7acc56ac 2025-10-23 19:05:16,766 - INFO - Deleting VM ctest-vn2-vm1-48406047 2025-10-23 19:05:16,874 - INFO - Deleting VM ctest-vn1-vm1-89765543 2025-10-23 19:05:16,970 - INFO - Deleting VN ctest-vn2-91956389 2025-10-23 19:05:17,015 - DEBUG - VN f77fa834-59c9-4f83-82b9-9a4bf3189651 still in use: Unable to complete operation on network f77fa834-59c9-4f83-82b9-9a4bf3189651. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5502292d-5bac-4177-8d06-2fdd106d77c5'] 2025-10-23 19:05:17,015 - WARNING - Deleting VN ctest-vn2-91956389 failed..Will retry 2025-10-23 19:05:19,120 - DEBUG - Response for deleting network () 2025-10-23 19:05:19,120 - INFO - Deleting VN ctest-vn1-36952514 2025-10-23 19:05:19,262 - DEBUG - Response for deleting network () 2025-10-23 19:05:19,524 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 19:05:19,524 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-23 19:05:19,524 - INFO - -------------------------------------------------------------------------------- 2025-10-23 19:05:20,244 - INFO - Deleted project: ctest-TestRouters-01749464, ID : bfd2bf77-3000-45ce-99c6-df2cca9bdd12