2025-10-23 23:43:26,751 - INFO - Domain Default found not creating 2025-10-23 23:43:27,153 - INFO - Project ctest-TestRouters-28415192 not found, creating it 2025-10-23 23:43:27,817 - INFO - Created Project:ctest-TestRouters-28415192, ID : 111cfb49-5294-43a3-a948-45b6978bf3e0 2025-10-23 23:43:29,886 - INFO - ================================================================================ 2025-10-23 23:43:29,887 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 23:43:29,887 - 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 23:43:30,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 23:43:30,209 - INFO - Initial checks done. Running the testcase now 2025-10-23 23:43:30,209 - INFO - 2025-10-23 23:43:31,027 - DEBUG - Response for create_network : {'network': {'id': '8d3d8aca-2c90-4b04-9e03-ec6b911cd1ab', 'name': 'ctest-vn1-35757474', 'tenant_id': '111cfb49529443a3a94845b6978bf3e0', 'project_id': '111cfb49529443a3a94845b6978bf3e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28415192', 'ctest-vn1-35757474'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:43:31,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f6131a9-6e04-4d92-9873-752f36c55796', 'name': '', 'tenant_id': '111cfb49529443a3a94845b6978bf3e0', 'network_id': '8d3d8aca-2c90-4b04-9e03-ec6b911cd1ab', 'ip_version': 4, 'cidr': '204.96.197.192/26', 'allocation_pools': [{'start': '204.96.197.194', 'end': '204.96.197.254'}], 'gateway_ip': '204.96.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.96.197.194', 'tags': [], 'project_id': '111cfb49529443a3a94845b6978bf3e0'}} 2025-10-23 23:43:31,212 - INFO - Created VN ctest-vn1-35757474 2025-10-23 23:43:31,264 - DEBUG - VN ctest-vn1-35757474 UUID is 8d3d8aca-2c90-4b04-9e03-ec6b911cd1ab 2025-10-23 23:43:31,775 - DEBUG - Response for create_network : {'network': {'id': '7875972f-f599-47f7-a6b9-50ad875e8aed', 'name': 'ctest-vn2-97451704', 'tenant_id': '111cfb49529443a3a94845b6978bf3e0', 'project_id': '111cfb49529443a3a94845b6978bf3e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-28415192', 'ctest-vn2-97451704'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:43:31,948 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee5df049-df6d-4b4f-969c-6b305a0869f8', 'name': '', 'tenant_id': '111cfb49529443a3a94845b6978bf3e0', 'network_id': '7875972f-f599-47f7-a6b9-50ad875e8aed', 'ip_version': 4, 'cidr': '112.254.16.128/26', 'allocation_pools': [{'start': '112.254.16.130', 'end': '112.254.16.190'}], 'gateway_ip': '112.254.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.254.16.130', 'tags': [], 'project_id': '111cfb49529443a3a94845b6978bf3e0'}} 2025-10-23 23:43:31,967 - INFO - Created VN ctest-vn2-97451704 2025-10-23 23:43:32,019 - DEBUG - VN ctest-vn2-97451704 UUID is 7875972f-f599-47f7-a6b9-50ad875e8aed 2025-10-23 23:43:32,282 - DEBUG - Services list from nova: [, , ] 2025-10-23 23:43:33,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4470-1) 2025-10-23 23:43:35,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4470-1) 2025-10-23 23:43:35,413 - INFO - Adding interface with subnet_id 8f6131a9-6e04-4d92-9873-752f36c55796, port_id None to router af4fa1f9-6643-4d90-9b5a-e85946315e01 2025-10-23 23:43:35,746 - INFO - Waiting for VM ctest-vn1-vm1-25948069 to be up.. 2025-10-23 23:43:35,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 23:43:41,032 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:43:41,032 - INFO - VM name : ctest-vn1-vm1-25948069 2025-10-23 23:43:41,145 - DEBUG - VM ctest-vn1-vm1-25948069 ID is bac2a51b-0fe9-41c8-b29c-c65376a67541 2025-10-23 23:43:41,172 - DEBUG - VM ctest-vn1-vm1-25948069 launched on Node cn-jenkins-deploy-platform-ansible-os-4470-1 2025-10-23 23:43:41,342 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bac2a51b-0fe9-41c8-b29c-c65376a67541 2025-10-23 23:43:41,672 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bac2a51b-0fe9-41c8-b29c-c65376a67541 2025-10-23 23:43:41,724 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/906b9820-e183-4a40-92ca-492ef5d450f0 2025-10-23 23:43:45,033 - 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 1014ms') 2025-10-23 23:43:45,033 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25948069 failed! 2025-10-23 23:43:45,092 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-28415192:ctest-vn1-35757474 is 204.96.197.193 and allocation pool is NOT set 2025-10-23 23:43:47,160 - 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=5.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 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.080/3.405/5.731/2.325 ms') 2025-10-23 23:43:47,161 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25948069 passed 2025-10-23 23:43:47,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:47,312 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25948069, IP 204.96.197.195, Port 22 2025-10-23 23:43:47,500 - DEBUG - VM ctest-vn1-vm1-25948069 is ready for SSH connections 2025-10-23 23:43:47,500 - INFO - Waiting for VM ctest-vn2-vm1-96017640 to be up.. 2025-10-23 23:43:47,619 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:43:47,619 - INFO - VM name : ctest-vn2-vm1-96017640 2025-10-23 23:43:47,734 - DEBUG - VM ctest-vn2-vm1-96017640 ID is a8f4619d-aa71-4305-9641-1843373917eb 2025-10-23 23:43:47,734 - DEBUG - VM ctest-vn2-vm1-96017640 launched on Node cn-jenkins-deploy-platform-ansible-os-4470-1 2025-10-23 23:43:47,850 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a8f4619d-aa71-4305-9641-1843373917eb 2025-10-23 23:43:47,860 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/49e0589b-295f-403a-af0f-f355c9f77081 2025-10-23 23:43:49,130 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.45 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 = 1.446/2.624/3.802/1.178 ms') 2025-10-23 23:43:49,130 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-96017640 passed 2025-10-23 23:43:49,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:49,292 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-96017640, IP 112.254.16.131, Port 22 2025-10-23 23:43:49,477 - DEBUG - VM ctest-vn2-vm1-96017640 is ready for SSH connections 2025-10-23 23:43:49,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:49,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.254.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 23:43:49,478 - DEBUG - ping -s 56 -c 3 -W 1 112.254.16.131 2025-10-23 23:43:54,619 - DEBUG - PING 112.254.16.131 (112.254.16.131): 56 data bytes --- 112.254.16.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 23:43:54,619 - WARNING - Ping to IP 112.254.16.131 from VM ctest-vn1-vm1-25948069 failed 2025-10-23 23:43:54,620 - INFO - Adding interface with subnet_id ee5df049-df6d-4b4f-969c-6b305a0869f8, port_id None to router af4fa1f9-6643-4d90-9b5a-e85946315e01 2025-10-23 23:43:55,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:55,054 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.254.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 23:43:55,054 - DEBUG - ping -s 56 -c 3 -W 1 112.254.16.131 2025-10-23 23:43:57,337 - DEBUG - PING 112.254.16.131 (112.254.16.131): 56 data bytes 64 bytes from 112.254.16.131: seq=0 ttl=63 time=3.933 ms 64 bytes from 112.254.16.131: seq=1 ttl=63 time=1.620 ms 64 bytes from 112.254.16.131: seq=2 ttl=63 time=1.891 ms --- 112.254.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.620/2.481/3.933 ms 2025-10-23 23:43:57,337 - INFO - Ping to IP 112.254.16.131 from VM ctest-vn1-vm1-25948069 passed 2025-10-23 23:43:57,337 - INFO - Deleting interface with subnet_id 8f6131a9-6e04-4d92-9873-752f36c55796, port_id None from router af4fa1f9-6643-4d90-9b5a-e85946315e01 2025-10-23 23:43:57,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:43:57,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.254.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 23:43:57,506 - DEBUG - ping -s 56 -c 3 -W 1 112.254.16.131 2025-10-23 23:44:00,794 - DEBUG - PING 112.254.16.131 (112.254.16.131): 56 data bytes --- 112.254.16.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 23:44:00,794 - WARNING - Ping to IP 112.254.16.131 from VM ctest-vn1-vm1-25948069 failed 2025-10-23 23:44:00,794 - INFO - Adding interface with subnet_id 8f6131a9-6e04-4d92-9873-752f36c55796, port_id None to router af4fa1f9-6643-4d90-9b5a-e85946315e01 2025-10-23 23:44:01,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:44:01,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.254.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 23:44:01,037 - DEBUG - ping -s 56 -c 3 -W 1 112.254.16.131 2025-10-23 23:44:03,273 - DEBUG - PING 112.254.16.131 (112.254.16.131): 56 data bytes 64 bytes from 112.254.16.131: seq=0 ttl=63 time=2.202 ms 64 bytes from 112.254.16.131: seq=1 ttl=63 time=1.482 ms 64 bytes from 112.254.16.131: seq=2 ttl=63 time=2.135 ms --- 112.254.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.482/1.939/2.202 ms 2025-10-23 23:44:03,274 - INFO - Ping to IP 112.254.16.131 from VM ctest-vn1-vm1-25948069 passed 2025-10-23 23:44:03,274 - INFO - Deleting interface with subnet_id ee5df049-df6d-4b4f-969c-6b305a0869f8, port_id None from router af4fa1f9-6643-4d90-9b5a-e85946315e01 2025-10-23 23:44:03,561 - INFO - Deleting interface with subnet_id 8f6131a9-6e04-4d92-9873-752f36c55796, port_id None from router af4fa1f9-6643-4d90-9b5a-e85946315e01 2025-10-23 23:44:03,778 - INFO - Deleting VM ctest-vn2-vm1-96017640 2025-10-23 23:44:03,876 - INFO - Deleting VM ctest-vn1-vm1-25948069 2025-10-23 23:44:03,954 - INFO - Deleting VN ctest-vn2-97451704 2025-10-23 23:44:04,002 - DEBUG - VN 7875972f-f599-47f7-a6b9-50ad875e8aed still in use: Unable to complete operation on network 7875972f-f599-47f7-a6b9-50ad875e8aed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b30c08e-0aa9-4c15-865f-e3d88d3f4798'] 2025-10-23 23:44:04,002 - WARNING - Deleting VN ctest-vn2-97451704 failed..Will retry 2025-10-23 23:44:06,244 - DEBUG - Response for deleting network () 2025-10-23 23:44:06,244 - INFO - Deleting VN ctest-vn1-35757474 2025-10-23 23:44:06,414 - DEBUG - Response for deleting network () 2025-10-23 23:44:06,716 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 23:44:06,717 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-23 23:44:06,717 - INFO - -------------------------------------------------------------------------------- 2025-10-23 23:44:07,649 - INFO - Deleted project: ctest-TestRouters-28415192, ID : 111cfb49-5294-43a3-a948-45b6978bf3e0