2025-08-20 11:28:24,429 - INFO - Domain Default found not creating 2025-08-20 11:28:24,553 - INFO - Project ctest-TestRouters-05376419 not found, creating it 2025-08-20 11:28:24,994 - INFO - Created Project:ctest-TestRouters-05376419, ID : 7fbf2588-5968-4ea6-bb71-e381793dec92 2025-08-20 11:28:26,349 - INFO - ================================================================================ 2025-08-20 11:28:26,349 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-20 11:28:26,349 - 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-20 11:28:26,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-20 11:28:26,610 - INFO - Initial checks done. Running the testcase now 2025-08-20 11:28:26,610 - INFO - 2025-08-20 11:28:27,191 - DEBUG - Response for create_network : {'network': {'id': '3b0fd180-f94d-4d31-8377-54bf4377587b', 'name': 'ctest-vn1-19031818', 'tenant_id': '7fbf258859684ea6bb71e381793dec92', 'project_id': '7fbf258859684ea6bb71e381793dec92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05376419', 'ctest-vn1-19031818'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:28:27,405 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c35ba98f-5c16-4b8b-97ff-b49e184f2f5a', 'name': '', 'tenant_id': '7fbf258859684ea6bb71e381793dec92', 'network_id': '3b0fd180-f94d-4d31-8377-54bf4377587b', 'ip_version': 4, 'cidr': '120.130.99.192/26', 'allocation_pools': [{'start': '120.130.99.194', 'end': '120.130.99.254'}], 'gateway_ip': '120.130.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.130.99.194', 'tags': [], 'project_id': '7fbf258859684ea6bb71e381793dec92'}} 2025-08-20 11:28:27,421 - INFO - Created VN ctest-vn1-19031818 2025-08-20 11:28:27,472 - DEBUG - VN ctest-vn1-19031818 UUID is 3b0fd180-f94d-4d31-8377-54bf4377587b 2025-08-20 11:28:27,796 - DEBUG - Response for create_network : {'network': {'id': 'ea964961-9502-444c-aa50-be75159edb05', 'name': 'ctest-vn2-87738851', 'tenant_id': '7fbf258859684ea6bb71e381793dec92', 'project_id': '7fbf258859684ea6bb71e381793dec92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05376419', 'ctest-vn2-87738851'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 11:28:27,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '59b0ee85-d4bb-43f7-af24-caaa2734bef2', 'name': '', 'tenant_id': '7fbf258859684ea6bb71e381793dec92', 'network_id': 'ea964961-9502-444c-aa50-be75159edb05', 'ip_version': 4, 'cidr': '218.125.235.64/26', 'allocation_pools': [{'start': '218.125.235.66', 'end': '218.125.235.126'}], 'gateway_ip': '218.125.235.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.125.235.66', 'tags': [], 'project_id': '7fbf258859684ea6bb71e381793dec92'}} 2025-08-20 11:28:28,023 - INFO - Created VN ctest-vn2-87738851 2025-08-20 11:28:28,076 - DEBUG - VN ctest-vn2-87738851 UUID is ea964961-9502-444c-aa50-be75159edb05 2025-08-20 11:28:28,303 - DEBUG - Services list from nova: [, , ] 2025-08-20 11:28:29,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1) 2025-08-20 11:28:30,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3892-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3892-1) 2025-08-20 11:28:30,455 - INFO - Adding interface with subnet_id c35ba98f-5c16-4b8b-97ff-b49e184f2f5a, port_id None to router 8d9b955f-f3e5-48f5-9ee9-856dcfe844fa 2025-08-20 11:28:30,777 - INFO - Waiting for VM ctest-vn1-vm1-82744910 to be up.. 2025-08-20 11:28:30,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 11:28:36,014 - DEBUG - VM is in ACTIVE state now 2025-08-20 11:28:36,014 - INFO - VM name : ctest-vn1-vm1-82744910 2025-08-20 11:28:36,090 - DEBUG - VM ctest-vn1-vm1-82744910 ID is 3316ba3b-8d89-499f-bb87-dc3f70aec817 2025-08-20 11:28:36,106 - DEBUG - VM ctest-vn1-vm1-82744910 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1 2025-08-20 11:28:36,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3316ba3b-8d89-499f-bb87-dc3f70aec817 2025-08-20 11:28:36,458 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3316ba3b-8d89-499f-bb87-dc3f70aec817 2025-08-20 11:28:36,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fea71bda-d2a3-4e49-bd32-f62c3bfdd67f 2025-08-20 11:28:39,737 - 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=2 ttl=63 time=10.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 10.169/10.169/10.169/0.000 ms') 2025-08-20 11:28:39,737 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82744910 passed 2025-08-20 11:28:39,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:39,884 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82744910, IP 120.130.99.195, Port 22 2025-08-20 11:28:40,039 - DEBUG - VM ctest-vn1-vm1-82744910 is ready for SSH connections 2025-08-20 11:28:40,039 - INFO - Waiting for VM ctest-vn2-vm1-45935419 to be up.. 2025-08-20 11:28:40,101 - DEBUG - VM is in ACTIVE state now 2025-08-20 11:28:40,101 - INFO - VM name : ctest-vn2-vm1-45935419 2025-08-20 11:28:40,174 - DEBUG - VM ctest-vn2-vm1-45935419 ID is 7221200e-96f7-4de9-8285-70fe9429a5cb 2025-08-20 11:28:40,174 - DEBUG - VM ctest-vn2-vm1-45935419 launched on Node cn-jenkins-deploy-platform-ansible-os-3892-1 2025-08-20 11:28:40,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7221200e-96f7-4de9-8285-70fe9429a5cb 2025-08-20 11:28:40,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e0570b73-ff52-4951-bee3-a60d6cc8f54b 2025-08-20 11:28:41,470 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.31 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.311/3.354/4.398/1.043 ms') 2025-08-20 11:28:41,470 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-45935419 passed 2025-08-20 11:28:41,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:41,620 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-45935419, IP 218.125.235.67, Port 22 2025-08-20 11:28:41,775 - DEBUG - VM ctest-vn2-vm1-45935419 is ready for SSH connections 2025-08-20 11:28:41,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:41,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.125.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 11:28:41,775 - DEBUG - ping -s 56 -c 3 -W 1 218.125.235.67 2025-08-20 11:28:46,395 - DEBUG - PING 218.125.235.67 (218.125.235.67): 56 data bytes --- 218.125.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 11:28:46,395 - WARNING - Ping to IP 218.125.235.67 from VM ctest-vn1-vm1-82744910 failed 2025-08-20 11:28:46,395 - INFO - Adding interface with subnet_id 59b0ee85-d4bb-43f7-af24-caaa2734bef2, port_id None to router 8d9b955f-f3e5-48f5-9ee9-856dcfe844fa 2025-08-20 11:28:46,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:46,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.125.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 11:28:46,657 - DEBUG - ping -s 56 -c 3 -W 1 218.125.235.67 2025-08-20 11:28:48,846 - DEBUG - PING 218.125.235.67 (218.125.235.67): 56 data bytes 64 bytes from 218.125.235.67: seq=0 ttl=63 time=2.779 ms 64 bytes from 218.125.235.67: seq=1 ttl=63 time=0.813 ms 64 bytes from 218.125.235.67: seq=2 ttl=63 time=0.783 ms --- 218.125.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.458/2.779 ms 2025-08-20 11:28:48,846 - INFO - Ping to IP 218.125.235.67 from VM ctest-vn1-vm1-82744910 passed 2025-08-20 11:28:48,846 - INFO - Deleting interface with subnet_id c35ba98f-5c16-4b8b-97ff-b49e184f2f5a, port_id None from router 8d9b955f-f3e5-48f5-9ee9-856dcfe844fa 2025-08-20 11:28:48,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:48,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.125.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 11:28:48,978 - DEBUG - ping -s 56 -c 3 -W 1 218.125.235.67 2025-08-20 11:28:52,167 - DEBUG - PING 218.125.235.67 (218.125.235.67): 56 data bytes --- 218.125.235.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 11:28:52,167 - WARNING - Ping to IP 218.125.235.67 from VM ctest-vn1-vm1-82744910 failed 2025-08-20 11:28:52,167 - INFO - Adding interface with subnet_id c35ba98f-5c16-4b8b-97ff-b49e184f2f5a, port_id None to router 8d9b955f-f3e5-48f5-9ee9-856dcfe844fa 2025-08-20 11:28:52,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 11:28:52,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.125.235.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-20 11:28:52,373 - DEBUG - ping -s 56 -c 3 -W 1 218.125.235.67 2025-08-20 11:28:54,563 - DEBUG - PING 218.125.235.67 (218.125.235.67): 56 data bytes 64 bytes from 218.125.235.67: seq=0 ttl=63 time=1.375 ms 64 bytes from 218.125.235.67: seq=1 ttl=63 time=0.695 ms 64 bytes from 218.125.235.67: seq=2 ttl=63 time=0.737 ms --- 218.125.235.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.695/0.935/1.375 ms 2025-08-20 11:28:54,563 - INFO - Ping to IP 218.125.235.67 from VM ctest-vn1-vm1-82744910 passed 2025-08-20 11:28:54,563 - INFO - Deleting interface with subnet_id 59b0ee85-d4bb-43f7-af24-caaa2734bef2, port_id None from router 8d9b955f-f3e5-48f5-9ee9-856dcfe844fa 2025-08-20 11:28:54,669 - INFO - Deleting interface with subnet_id c35ba98f-5c16-4b8b-97ff-b49e184f2f5a, port_id None from router 8d9b955f-f3e5-48f5-9ee9-856dcfe844fa 2025-08-20 11:28:54,835 - INFO - Deleting VM ctest-vn2-vm1-45935419 2025-08-20 11:28:54,898 - INFO - Deleting VM ctest-vn1-vm1-82744910 2025-08-20 11:28:54,957 - INFO - Deleting VN ctest-vn2-87738851 2025-08-20 11:28:54,990 - DEBUG - VN ea964961-9502-444c-aa50-be75159edb05 still in use: Unable to complete operation on network ea964961-9502-444c-aa50-be75159edb05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0c0a32e-8202-4073-9be1-6db1f3af1810'] 2025-08-20 11:28:54,990 - WARNING - Deleting VN ctest-vn2-87738851 failed..Will retry 2025-08-20 11:28:57,076 - DEBUG - Response for deleting network () 2025-08-20 11:28:57,076 - INFO - Deleting VN ctest-vn1-19031818 2025-08-20 11:28:57,173 - DEBUG - Response for deleting network () 2025-08-20 11:28:57,426 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 11:28:57,426 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31] 2025-08-20 11:28:57,426 - INFO - -------------------------------------------------------------------------------- 2025-08-20 11:28:58,077 - INFO - Deleted project: ctest-TestRouters-05376419, ID : 7fbf2588-5968-4ea6-bb71-e381793dec92