2025-10-08 22:35:12,219 - INFO - Domain Default found not creating 2025-10-08 22:35:12,356 - INFO - Project ctest-TestRouters-37547179 not found, creating it 2025-10-08 22:35:12,805 - INFO - Created Project:ctest-TestRouters-37547179, ID : 09a65807-ffd3-4b33-ae8c-a91448523c35 2025-10-08 22:35:14,214 - INFO - ================================================================================ 2025-10-08 22:35:14,214 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 22:35:14,214 - 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-08 22:35:14,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-10-08 22:35:14,480 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:35:14,480 - INFO - 2025-10-08 22:35:15,038 - DEBUG - Response for create_network : {'network': {'id': 'f4cf5d22-1cfa-48c9-9898-864dc150505b', 'name': 'ctest-vn1-02010794', 'tenant_id': '09a65807ffd34b33ae8ca91448523c35', 'project_id': '09a65807ffd34b33ae8ca91448523c35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37547179', 'ctest-vn1-02010794'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:35:15,267 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a94d2461-1504-43dc-b4f8-5966873b4f50', 'name': '', 'tenant_id': '09a65807ffd34b33ae8ca91448523c35', 'network_id': 'f4cf5d22-1cfa-48c9-9898-864dc150505b', 'ip_version': 4, 'cidr': '55.158.71.64/26', 'allocation_pools': [{'start': '55.158.71.66', 'end': '55.158.71.126'}], 'gateway_ip': '55.158.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.158.71.66', 'tags': [], 'project_id': '09a65807ffd34b33ae8ca91448523c35'}} 2025-10-08 22:35:15,283 - INFO - Created VN ctest-vn1-02010794 2025-10-08 22:35:15,333 - DEBUG - VN ctest-vn1-02010794 UUID is f4cf5d22-1cfa-48c9-9898-864dc150505b 2025-10-08 22:35:15,668 - DEBUG - Response for create_network : {'network': {'id': '5fb412e0-0741-4560-bd90-268b94c679dc', 'name': 'ctest-vn2-30132294', 'tenant_id': '09a65807ffd34b33ae8ca91448523c35', 'project_id': '09a65807ffd34b33ae8ca91448523c35', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-37547179', 'ctest-vn2-30132294'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:35:15,902 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a6bc912-c9d5-4900-94a4-5a724d053816', 'name': '', 'tenant_id': '09a65807ffd34b33ae8ca91448523c35', 'network_id': '5fb412e0-0741-4560-bd90-268b94c679dc', 'ip_version': 4, 'cidr': '36.51.12.128/26', 'allocation_pools': [{'start': '36.51.12.130', 'end': '36.51.12.190'}], 'gateway_ip': '36.51.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.51.12.130', 'tags': [], 'project_id': '09a65807ffd34b33ae8ca91448523c35'}} 2025-10-08 22:35:15,917 - INFO - Created VN ctest-vn2-30132294 2025-10-08 22:35:15,969 - DEBUG - VN ctest-vn2-30132294 UUID is 5fb412e0-0741-4560-bd90-268b94c679dc 2025-10-08 22:35:16,189 - DEBUG - Services list from nova: [, , ] 2025-10-08 22:35:17,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4248-1) 2025-10-08 22:35:18,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4248-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4248-1) 2025-10-08 22:35:18,453 - INFO - Adding interface with subnet_id a94d2461-1504-43dc-b4f8-5966873b4f50, port_id None to router 57546c4b-6916-4082-827b-903d43641d6f 2025-10-08 22:35:18,748 - INFO - Waiting for VM ctest-vn1-vm1-23697879 to be up.. 2025-10-08 22:35:18,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 22:35:23,914 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:35:23,914 - INFO - VM name : ctest-vn1-vm1-23697879 2025-10-08 22:35:23,982 - DEBUG - VM ctest-vn1-vm1-23697879 ID is 5734fa6b-fa1b-4012-99a1-b4556dff86fa 2025-10-08 22:35:24,000 - DEBUG - VM ctest-vn1-vm1-23697879 launched on Node cn-jenkins-deploy-platform-ansible-os-4248-1 2025-10-08 22:35:24,072 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5734fa6b-fa1b-4012-99a1-b4556dff86fa 2025-10-08 22:35:24,367 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5734fa6b-fa1b-4012-99a1-b4556dff86fa 2025-10-08 22:35:24,399 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d89c87f3-72f5-4953-bcea-7efb2c4b0ab0 2025-10-08 22:35:27,666 - 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 1023ms') 2025-10-08 22:35:27,666 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23697879 failed! 2025-10-08 22:35:27,721 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-37547179:ctest-vn1-02010794 is 55.158.71.65 and allocation pool is NOT set 2025-10-08 22:35:29,786 - 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=2.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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 = 0.386/1.516/2.646/1.130 ms') 2025-10-08 22:35:29,786 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23697879 passed 2025-10-08 22:35:29,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:35:29,933 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23697879, IP 55.158.71.67, Port 22 2025-10-08 22:35:30,096 - DEBUG - VM ctest-vn1-vm1-23697879 is ready for SSH connections 2025-10-08 22:35:30,096 - INFO - Waiting for VM ctest-vn2-vm1-34201346 to be up.. 2025-10-08 22:35:30,178 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:35:30,179 - INFO - VM name : ctest-vn2-vm1-34201346 2025-10-08 22:35:30,246 - DEBUG - VM ctest-vn2-vm1-34201346 ID is 4d784a66-45d1-4523-ab6b-bf9225911469 2025-10-08 22:35:30,246 - DEBUG - VM ctest-vn2-vm1-34201346 launched on Node cn-jenkins-deploy-platform-ansible-os-4248-1 2025-10-08 22:35:30,308 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4d784a66-45d1-4523-ab6b-bf9225911469 2025-10-08 22:35:30,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/937872e5-92ba-4ded-bca3-b9b4d0dec427 2025-10-08 22:35:31,552 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.615/2.863/1.248 ms') 2025-10-08 22:35:31,552 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34201346 passed 2025-10-08 22:35:31,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:35:31,660 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34201346, IP 36.51.12.131, Port 22 2025-10-08 22:35:31,817 - DEBUG - VM ctest-vn2-vm1-34201346 is ready for SSH connections 2025-10-08 22:35:31,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:35:31,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.51.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-08 22:35:31,817 - DEBUG - ping -s 56 -c 3 -W 1 36.51.12.131 2025-10-08 22:35:36,789 - DEBUG - PING 36.51.12.131 (36.51.12.131): 56 data bytes --- 36.51.12.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 22:35:36,789 - WARNING - Ping to IP 36.51.12.131 from VM ctest-vn1-vm1-23697879 failed 2025-10-08 22:35:36,789 - INFO - Adding interface with subnet_id 5a6bc912-c9d5-4900-94a4-5a724d053816, port_id None to router 57546c4b-6916-4082-827b-903d43641d6f 2025-10-08 22:35:37,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:35:37,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.51.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-08 22:35:37,038 - DEBUG - ping -s 56 -c 3 -W 1 36.51.12.131 2025-10-08 22:35:39,242 - DEBUG - PING 36.51.12.131 (36.51.12.131): 56 data bytes 64 bytes from 36.51.12.131: seq=0 ttl=63 time=2.997 ms 64 bytes from 36.51.12.131: seq=1 ttl=63 time=1.029 ms 64 bytes from 36.51.12.131: seq=2 ttl=63 time=1.029 ms --- 36.51.12.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.029/1.685/2.997 ms 2025-10-08 22:35:39,242 - INFO - Ping to IP 36.51.12.131 from VM ctest-vn1-vm1-23697879 passed 2025-10-08 22:35:39,242 - INFO - Deleting interface with subnet_id a94d2461-1504-43dc-b4f8-5966873b4f50, port_id None from router 57546c4b-6916-4082-827b-903d43641d6f 2025-10-08 22:35:39,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:35:39,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.51.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-08 22:35:39,352 - DEBUG - ping -s 56 -c 3 -W 1 36.51.12.131 2025-10-08 22:35:42,552 - DEBUG - PING 36.51.12.131 (36.51.12.131): 56 data bytes --- 36.51.12.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 22:35:42,552 - WARNING - Ping to IP 36.51.12.131 from VM ctest-vn1-vm1-23697879 failed 2025-10-08 22:35:42,552 - INFO - Adding interface with subnet_id a94d2461-1504-43dc-b4f8-5966873b4f50, port_id None to router 57546c4b-6916-4082-827b-903d43641d6f 2025-10-08 22:35:42,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:35:42,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.51.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-08 22:35:42,756 - DEBUG - ping -s 56 -c 3 -W 1 36.51.12.131 2025-10-08 22:35:44,961 - DEBUG - PING 36.51.12.131 (36.51.12.131): 56 data bytes 64 bytes from 36.51.12.131: seq=0 ttl=63 time=1.468 ms 64 bytes from 36.51.12.131: seq=1 ttl=63 time=1.006 ms 64 bytes from 36.51.12.131: seq=2 ttl=63 time=0.883 ms --- 36.51.12.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.119/1.468 ms 2025-10-08 22:35:44,961 - INFO - Ping to IP 36.51.12.131 from VM ctest-vn1-vm1-23697879 passed 2025-10-08 22:35:44,962 - INFO - Deleting interface with subnet_id 5a6bc912-c9d5-4900-94a4-5a724d053816, port_id None from router 57546c4b-6916-4082-827b-903d43641d6f 2025-10-08 22:35:45,070 - INFO - Deleting interface with subnet_id a94d2461-1504-43dc-b4f8-5966873b4f50, port_id None from router 57546c4b-6916-4082-827b-903d43641d6f 2025-10-08 22:35:45,218 - INFO - Deleting VM ctest-vn2-vm1-34201346 2025-10-08 22:35:45,281 - INFO - Deleting VM ctest-vn1-vm1-23697879 2025-10-08 22:35:45,351 - INFO - Deleting VN ctest-vn2-30132294 2025-10-08 22:35:45,389 - DEBUG - VN 5fb412e0-0741-4560-bd90-268b94c679dc still in use: Unable to complete operation on network 5fb412e0-0741-4560-bd90-268b94c679dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f435e811-e89b-45ac-b111-1d41a240126f'] 2025-10-08 22:35:45,389 - WARNING - Deleting VN ctest-vn2-30132294 failed..Will retry 2025-10-08 22:35:47,474 - DEBUG - Response for deleting network () 2025-10-08 22:35:47,475 - INFO - Deleting VN ctest-vn1-02010794 2025-10-08 22:35:47,563 - DEBUG - Response for deleting network () 2025-10-08 22:35:47,817 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:35:47,817 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-10-08 22:35:47,817 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:35:48,469 - INFO - Deleted project: ctest-TestRouters-37547179, ID : 09a65807-ffd3-4b33-ae8c-a91448523c35