2025-08-12 14:10:11,311 - INFO - Domain Default found not creating 2025-08-12 14:10:11,451 - INFO - Project ctest-TestRouters-60204567 not found, creating it 2025-08-12 14:10:11,955 - INFO - Created Project:ctest-TestRouters-60204567, ID : 804d60d8-4e49-4050-a8bf-10825e93af70 2025-08-12 14:10:13,409 - INFO - ================================================================================ 2025-08-12 14:10:13,409 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-12 14:10:13,410 - 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-08-12 14:10:13,669 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-12 14:10:13,669 - INFO - Initial checks done. Running the testcase now 2025-08-12 14:10:13,669 - INFO - 2025-08-12 14:10:14,206 - DEBUG - Response for create_network : {'network': {'id': '4abcc95a-67bc-4991-83a4-79e1fb2a1d50', 'name': 'ctest-vn1-15873725', 'tenant_id': '804d60d84e494050a8bf10825e93af70', 'project_id': '804d60d84e494050a8bf10825e93af70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60204567', 'ctest-vn1-15873725'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:10:14,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '97360126-40f6-425c-9eb4-0d11d8afb037', 'name': '', 'tenant_id': '804d60d84e494050a8bf10825e93af70', 'network_id': '4abcc95a-67bc-4991-83a4-79e1fb2a1d50', 'ip_version': 4, 'cidr': '168.253.84.128/26', 'allocation_pools': [{'start': '168.253.84.130', 'end': '168.253.84.190'}], 'gateway_ip': '168.253.84.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.253.84.130', 'tags': [], 'project_id': '804d60d84e494050a8bf10825e93af70'}} 2025-08-12 14:10:14,380 - INFO - Created VN ctest-vn1-15873725 2025-08-12 14:10:14,431 - DEBUG - VN ctest-vn1-15873725 UUID is 4abcc95a-67bc-4991-83a4-79e1fb2a1d50 2025-08-12 14:10:14,753 - DEBUG - Response for create_network : {'network': {'id': 'f37e086e-cfe9-40d1-a054-a716ecee8bd1', 'name': 'ctest-vn2-23612713', 'tenant_id': '804d60d84e494050a8bf10825e93af70', 'project_id': '804d60d84e494050a8bf10825e93af70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-60204567', 'ctest-vn2-23612713'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:10:14,949 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd88ca606-0846-4d2f-9473-e1fe6d7b89cd', 'name': '', 'tenant_id': '804d60d84e494050a8bf10825e93af70', 'network_id': 'f37e086e-cfe9-40d1-a054-a716ecee8bd1', 'ip_version': 4, 'cidr': '152.15.231.192/26', 'allocation_pools': [{'start': '152.15.231.194', 'end': '152.15.231.254'}], 'gateway_ip': '152.15.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.15.231.194', 'tags': [], 'project_id': '804d60d84e494050a8bf10825e93af70'}} 2025-08-12 14:10:14,967 - INFO - Created VN ctest-vn2-23612713 2025-08-12 14:10:15,019 - DEBUG - VN ctest-vn2-23612713 UUID is f37e086e-cfe9-40d1-a054-a716ecee8bd1 2025-08-12 14:10:15,216 - DEBUG - Services list from nova: [, , ] 2025-08-12 14:10:16,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3831-1) 2025-08-12 14:10:17,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3831-1) 2025-08-12 14:10:17,567 - INFO - Adding interface with subnet_id 97360126-40f6-425c-9eb4-0d11d8afb037, port_id None to router ae9db0cf-41a4-4d6d-8ad0-e0068834e118 2025-08-12 14:10:17,852 - INFO - Waiting for VM ctest-vn1-vm1-71340596 to be up.. 2025-08-12 14:10:17,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 14:10:23,026 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:10:23,026 - INFO - VM name : ctest-vn1-vm1-71340596 2025-08-12 14:10:23,096 - DEBUG - VM ctest-vn1-vm1-71340596 ID is 4f9c54ef-10a1-4134-841e-999f523f961e 2025-08-12 14:10:23,113 - DEBUG - VM ctest-vn1-vm1-71340596 launched on Node cn-jenkins-deploy-platform-ansible-os-3831-1 2025-08-12 14:10:23,179 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4f9c54ef-10a1-4134-841e-999f523f961e 2025-08-12 14:10:23,468 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4f9c54ef-10a1-4134-841e-999f523f961e 2025-08-12 14:10:23,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c2197b9a-e7e7-4cd4-9b8c-46c429950025 2025-08-12 14:10:26,758 - 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 1027ms') 2025-08-12 14:10:26,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71340596 failed! 2025-08-12 14:10:26,811 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-60204567:ctest-vn1-15873725 is 168.253.84.129 and allocation pool is NOT set 2025-08-12 14:10:28,867 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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.366/1.502/2.638/1.136 ms') 2025-08-12 14:10:28,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71340596 passed 2025-08-12 14:10:29,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:10:29,019 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71340596, IP 168.253.84.131, Port 22 2025-08-12 14:10:29,175 - DEBUG - VM ctest-vn1-vm1-71340596 is ready for SSH connections 2025-08-12 14:10:29,175 - INFO - Waiting for VM ctest-vn2-vm1-58363543 to be up.. 2025-08-12 14:10:29,252 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:10:29,253 - INFO - VM name : ctest-vn2-vm1-58363543 2025-08-12 14:10:29,323 - DEBUG - VM ctest-vn2-vm1-58363543 ID is 511e13dd-ef3a-4fce-82bb-b99423fae131 2025-08-12 14:10:29,323 - DEBUG - VM ctest-vn2-vm1-58363543 launched on Node cn-jenkins-deploy-platform-ansible-os-3831-1 2025-08-12 14:10:29,398 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/511e13dd-ef3a-4fce-82bb-b99423fae131 2025-08-12 14:10:29,406 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ec233050-0687-406d-93df-97d30ad1ec45 2025-08-12 14:10:30,633 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.382 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.382/1.577/2.772/1.195 ms') 2025-08-12 14:10:30,633 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-58363543 passed 2025-08-12 14:10:30,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:10:30,787 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-58363543, IP 152.15.231.195, Port 22 2025-08-12 14:10:30,946 - DEBUG - VM ctest-vn2-vm1-58363543 is ready for SSH connections 2025-08-12 14:10:30,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:10:30,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.15.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 14:10:30,946 - DEBUG - ping -s 56 -c 3 -W 1 152.15.231.195 2025-08-12 14:10:35,584 - DEBUG - PING 152.15.231.195 (152.15.231.195): 56 data bytes --- 152.15.231.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 14:10:35,584 - WARNING - Ping to IP 152.15.231.195 from VM ctest-vn1-vm1-71340596 failed 2025-08-12 14:10:35,584 - INFO - Adding interface with subnet_id d88ca606-0846-4d2f-9473-e1fe6d7b89cd, port_id None to router ae9db0cf-41a4-4d6d-8ad0-e0068834e118 2025-08-12 14:10:35,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:10:35,818 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.15.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 14:10:35,819 - DEBUG - ping -s 56 -c 3 -W 1 152.15.231.195 2025-08-12 14:10:38,038 - DEBUG - PING 152.15.231.195 (152.15.231.195): 56 data bytes 64 bytes from 152.15.231.195: seq=0 ttl=63 time=2.546 ms 64 bytes from 152.15.231.195: seq=1 ttl=63 time=0.816 ms 64 bytes from 152.15.231.195: seq=2 ttl=63 time=0.733 ms --- 152.15.231.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.365/2.546 ms 2025-08-12 14:10:38,038 - INFO - Ping to IP 152.15.231.195 from VM ctest-vn1-vm1-71340596 passed 2025-08-12 14:10:38,038 - INFO - Deleting interface with subnet_id 97360126-40f6-425c-9eb4-0d11d8afb037, port_id None from router ae9db0cf-41a4-4d6d-8ad0-e0068834e118 2025-08-12 14:10:38,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:10:38,158 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.15.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 14:10:38,158 - DEBUG - ping -s 56 -c 3 -W 1 152.15.231.195 2025-08-12 14:10:41,347 - DEBUG - PING 152.15.231.195 (152.15.231.195): 56 data bytes --- 152.15.231.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 14:10:41,347 - WARNING - Ping to IP 152.15.231.195 from VM ctest-vn1-vm1-71340596 failed 2025-08-12 14:10:41,347 - INFO - Adding interface with subnet_id 97360126-40f6-425c-9eb4-0d11d8afb037, port_id None to router ae9db0cf-41a4-4d6d-8ad0-e0068834e118 2025-08-12 14:10:41,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:10:41,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.15.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 14:10:41,562 - DEBUG - ping -s 56 -c 3 -W 1 152.15.231.195 2025-08-12 14:10:44,761 - DEBUG - PING 152.15.231.195 (152.15.231.195): 56 data bytes 64 bytes from 152.15.231.195: seq=1 ttl=63 time=1.415 ms 64 bytes from 152.15.231.195: seq=2 ttl=63 time=0.724 ms --- 152.15.231.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.724/1.069/1.415 ms 2025-08-12 14:10:44,761 - WARNING - Ping to IP 152.15.231.195 from VM ctest-vn1-vm1-71340596 failed 2025-08-12 14:10:45,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.15.231.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 14:10:45,762 - DEBUG - ping -s 56 -c 3 -W 1 152.15.231.195 2025-08-12 14:10:47,960 - DEBUG - PING 152.15.231.195 (152.15.231.195): 56 data bytes 64 bytes from 152.15.231.195: seq=0 ttl=63 time=1.318 ms 64 bytes from 152.15.231.195: seq=1 ttl=63 time=0.820 ms 64 bytes from 152.15.231.195: seq=2 ttl=63 time=0.722 ms --- 152.15.231.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.722/0.953/1.318 ms 2025-08-12 14:10:47,960 - INFO - Ping to IP 152.15.231.195 from VM ctest-vn1-vm1-71340596 passed 2025-08-12 14:10:47,960 - INFO - Deleting interface with subnet_id d88ca606-0846-4d2f-9473-e1fe6d7b89cd, port_id None from router ae9db0cf-41a4-4d6d-8ad0-e0068834e118 2025-08-12 14:10:48,082 - INFO - Deleting interface with subnet_id 97360126-40f6-425c-9eb4-0d11d8afb037, port_id None from router ae9db0cf-41a4-4d6d-8ad0-e0068834e118 2025-08-12 14:10:48,277 - INFO - Deleting VM ctest-vn2-vm1-58363543 2025-08-12 14:10:48,337 - INFO - Deleting VM ctest-vn1-vm1-71340596 2025-08-12 14:10:48,399 - INFO - Deleting VN ctest-vn2-23612713 2025-08-12 14:10:48,433 - DEBUG - VN f37e086e-cfe9-40d1-a054-a716ecee8bd1 still in use: Unable to complete operation on network f37e086e-cfe9-40d1-a054-a716ecee8bd1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c0c3bc63-3147-428f-9818-f6503e16995a'] 2025-08-12 14:10:48,434 - WARNING - Deleting VN ctest-vn2-23612713 failed..Will retry 2025-08-12 14:10:50,546 - DEBUG - Response for deleting network () 2025-08-12 14:10:50,546 - INFO - Deleting VN ctest-vn1-15873725 2025-08-12 14:10:50,648 - DEBUG - Response for deleting network () 2025-08-12 14:10:50,907 - DEBUG - No XMPP flaps were noticed during the test 2025-08-12 14:10:50,908 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-12 14:10:50,908 - INFO - -------------------------------------------------------------------------------- 2025-08-12 14:10:51,579 - INFO - Deleted project: ctest-TestRouters-60204567, ID : 804d60d8-4e49-4050-a8bf-10825e93af70