2025-11-12 03:24:21,004 - INFO - Domain Default found not creating 2025-11-12 03:24:21,133 - INFO - Project ctest-TestRouters-80166656 not found, creating it 2025-11-12 03:24:21,563 - INFO - Created Project:ctest-TestRouters-80166656, ID : 73deb228-b1b3-408c-89af-ee5dfff0782f 2025-11-12 03:24:22,919 - INFO - ================================================================================ 2025-11-12 03:24:22,919 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 03:24:22,919 - 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-12 03:24:23,175 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-11-12 03:24:23,175 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:24:23,175 - INFO - 2025-11-12 03:24:23,686 - DEBUG - Response for create_network : {'network': {'id': '3bc45ea7-a0e6-4216-9a40-fb4111ba4ff3', 'name': 'ctest-vn1-75431733', 'tenant_id': '73deb228b1b3408c89afee5dfff0782f', 'project_id': '73deb228b1b3408c89afee5dfff0782f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-80166656', 'ctest-vn1-75431733'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:24:23,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '357a74a8-4d74-4e86-bc35-4bc792bb353e', 'name': '', 'tenant_id': '73deb228b1b3408c89afee5dfff0782f', 'network_id': '3bc45ea7-a0e6-4216-9a40-fb4111ba4ff3', 'ip_version': 4, 'cidr': '53.45.173.192/26', 'allocation_pools': [{'start': '53.45.173.194', 'end': '53.45.173.254'}], 'gateway_ip': '53.45.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.45.173.194', 'tags': [], 'project_id': '73deb228b1b3408c89afee5dfff0782f'}} 2025-11-12 03:24:23,880 - INFO - Created VN ctest-vn1-75431733 2025-11-12 03:24:23,931 - DEBUG - VN ctest-vn1-75431733 UUID is 3bc45ea7-a0e6-4216-9a40-fb4111ba4ff3 2025-11-12 03:24:24,232 - DEBUG - Response for create_network : {'network': {'id': 'c9cdc2e8-28e7-4a00-b529-362d5081d613', 'name': 'ctest-vn2-38692981', 'tenant_id': '73deb228b1b3408c89afee5dfff0782f', 'project_id': '73deb228b1b3408c89afee5dfff0782f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-80166656', 'ctest-vn2-38692981'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:24:24,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '20100328-302c-4e3a-bd94-98c696b55aef', 'name': '', 'tenant_id': '73deb228b1b3408c89afee5dfff0782f', 'network_id': 'c9cdc2e8-28e7-4a00-b529-362d5081d613', 'ip_version': 4, 'cidr': '213.124.12.0/26', 'allocation_pools': [{'start': '213.124.12.2', 'end': '213.124.12.62'}], 'gateway_ip': '213.124.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.124.12.2', 'tags': [], 'project_id': '73deb228b1b3408c89afee5dfff0782f'}} 2025-11-12 03:24:24,402 - INFO - Created VN ctest-vn2-38692981 2025-11-12 03:24:24,455 - DEBUG - VN ctest-vn2-38692981 UUID is c9cdc2e8-28e7-4a00-b529-362d5081d613 2025-11-12 03:24:24,688 - DEBUG - Services list from nova: [, , ] 2025-11-12 03:24:25,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:24:26,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4698-1) 2025-11-12 03:24:26,836 - INFO - Adding interface with subnet_id 357a74a8-4d74-4e86-bc35-4bc792bb353e, port_id None to router 76bc58fd-1818-4fcd-b29b-2643d2b49731 2025-11-12 03:24:27,085 - INFO - Waiting for VM ctest-vn1-vm1-18074072 to be up.. 2025-11-12 03:24:27,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 03:24:32,250 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:24:32,251 - INFO - VM name : ctest-vn1-vm1-18074072 2025-11-12 03:24:32,312 - DEBUG - VM ctest-vn1-vm1-18074072 ID is f9d24076-b3c1-4cd5-b355-4e7695856d02 2025-11-12 03:24:32,328 - DEBUG - VM ctest-vn1-vm1-18074072 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:24:32,394 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f9d24076-b3c1-4cd5-b355-4e7695856d02 2025-11-12 03:24:32,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f9d24076-b3c1-4cd5-b355-4e7695856d02 2025-11-12 03:24:32,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a6d8093c-4ec8-4ce5-8b99-b0db6b8b94e9 2025-11-12 03:24:35,940 - 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 1007ms') 2025-11-12 03:24:35,940 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18074072 failed! 2025-11-12 03:24:35,995 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-80166656:ctest-vn1-75431733 is 53.45.173.193 and allocation pool is NOT set 2025-11-12 03:24:38,058 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/1.593/2.774/1.181 ms') 2025-11-12 03:24:38,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18074072 passed 2025-11-12 03:24:38,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:38,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18074072, IP 53.45.173.195, Port 22 2025-11-12 03:24:38,363 - DEBUG - VM ctest-vn1-vm1-18074072 is ready for SSH connections 2025-11-12 03:24:38,363 - INFO - Waiting for VM ctest-vn2-vm1-20568138 to be up.. 2025-11-12 03:24:38,430 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:24:38,430 - INFO - VM name : ctest-vn2-vm1-20568138 2025-11-12 03:24:38,492 - DEBUG - VM ctest-vn2-vm1-20568138 ID is 08d95943-33af-40c3-97d2-36b212170d67 2025-11-12 03:24:38,492 - DEBUG - VM ctest-vn2-vm1-20568138 launched on Node cn-jenkins-deploy-platform-ansible-os-4698-1 2025-11-12 03:24:38,555 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08d95943-33af-40c3-97d2-36b212170d67 2025-11-12 03:24:38,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c2005ccb-2d9a-4b8e-8094-4cde127021ed 2025-11-12 03:24:39,796 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.519/2.692/1.173 ms') 2025-11-12 03:24:39,796 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-20568138 passed 2025-11-12 03:24:39,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:39,947 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-20568138, IP 213.124.12.3, Port 22 2025-11-12 03:24:40,102 - DEBUG - VM ctest-vn2-vm1-20568138 is ready for SSH connections 2025-11-12 03:24:40,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:40,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.124.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:24:40,102 - DEBUG - ping -s 56 -c 3 -W 1 213.124.12.3 2025-11-12 03:24:45,036 - DEBUG - PING 213.124.12.3 (213.124.12.3): 56 data bytes --- 213.124.12.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 03:24:45,036 - WARNING - Ping to IP 213.124.12.3 from VM ctest-vn1-vm1-18074072 failed 2025-11-12 03:24:45,036 - INFO - Adding interface with subnet_id 20100328-302c-4e3a-bd94-98c696b55aef, port_id None to router 76bc58fd-1818-4fcd-b29b-2643d2b49731 2025-11-12 03:24:45,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:45,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.124.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:24:45,273 - DEBUG - ping -s 56 -c 3 -W 1 213.124.12.3 2025-11-12 03:24:47,473 - DEBUG - PING 213.124.12.3 (213.124.12.3): 56 data bytes 64 bytes from 213.124.12.3: seq=0 ttl=63 time=2.812 ms 64 bytes from 213.124.12.3: seq=1 ttl=63 time=0.844 ms 64 bytes from 213.124.12.3: seq=2 ttl=63 time=0.901 ms --- 213.124.12.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.519/2.812 ms 2025-11-12 03:24:47,473 - INFO - Ping to IP 213.124.12.3 from VM ctest-vn1-vm1-18074072 passed 2025-11-12 03:24:47,473 - INFO - Deleting interface with subnet_id 357a74a8-4d74-4e86-bc35-4bc792bb353e, port_id None from router 76bc58fd-1818-4fcd-b29b-2643d2b49731 2025-11-12 03:24:47,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:47,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.124.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:24:47,564 - DEBUG - ping -s 56 -c 3 -W 1 213.124.12.3 2025-11-12 03:24:50,765 - DEBUG - PING 213.124.12.3 (213.124.12.3): 56 data bytes --- 213.124.12.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 03:24:50,765 - WARNING - Ping to IP 213.124.12.3 from VM ctest-vn1-vm1-18074072 failed 2025-11-12 03:24:50,765 - INFO - Adding interface with subnet_id 357a74a8-4d74-4e86-bc35-4bc792bb353e, port_id None to router 76bc58fd-1818-4fcd-b29b-2643d2b49731 2025-11-12 03:24:50,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:24:50,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.124.12.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-12 03:24:50,942 - DEBUG - ping -s 56 -c 3 -W 1 213.124.12.3 2025-11-12 03:24:53,148 - DEBUG - PING 213.124.12.3 (213.124.12.3): 56 data bytes 64 bytes from 213.124.12.3: seq=0 ttl=63 time=1.309 ms 64 bytes from 213.124.12.3: seq=1 ttl=63 time=0.777 ms 64 bytes from 213.124.12.3: seq=2 ttl=63 time=0.668 ms --- 213.124.12.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.668/0.918/1.309 ms 2025-11-12 03:24:53,148 - INFO - Ping to IP 213.124.12.3 from VM ctest-vn1-vm1-18074072 passed 2025-11-12 03:24:53,148 - INFO - Deleting interface with subnet_id 20100328-302c-4e3a-bd94-98c696b55aef, port_id None from router 76bc58fd-1818-4fcd-b29b-2643d2b49731 2025-11-12 03:24:53,255 - INFO - Deleting interface with subnet_id 357a74a8-4d74-4e86-bc35-4bc792bb353e, port_id None from router 76bc58fd-1818-4fcd-b29b-2643d2b49731 2025-11-12 03:24:53,398 - INFO - Deleting VM ctest-vn2-vm1-20568138 2025-11-12 03:24:53,468 - INFO - Deleting VM ctest-vn1-vm1-18074072 2025-11-12 03:24:53,533 - INFO - Deleting VN ctest-vn2-38692981 2025-11-12 03:24:53,564 - DEBUG - VN c9cdc2e8-28e7-4a00-b529-362d5081d613 still in use: Unable to complete operation on network c9cdc2e8-28e7-4a00-b529-362d5081d613. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-abdd22b1-2bb0-49ed-987d-13537869d413'] 2025-11-12 03:24:53,564 - WARNING - Deleting VN ctest-vn2-38692981 failed..Will retry 2025-11-12 03:24:55,646 - DEBUG - Response for deleting network () 2025-11-12 03:24:55,646 - INFO - Deleting VN ctest-vn1-75431733 2025-11-12 03:24:55,744 - DEBUG - Response for deleting network () 2025-11-12 03:24:56,000 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 03:24:56,000 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:34] 2025-11-12 03:24:56,000 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:24:56,637 - INFO - Deleted project: ctest-TestRouters-80166656, ID : 73deb228-b1b3-408c-89af-ee5dfff0782f