2025-12-04 02:20:51,437 - INFO - Domain Default found not creating 2025-12-04 02:20:51,616 - INFO - Project ctest-TestRouters-53670951 not found, creating it 2025-12-04 02:20:52,085 - INFO - Created Project:ctest-TestRouters-53670951, ID : a5f8f384-03e3-419d-ae95-2e5d7cc659f6 2025-12-04 02:20:53,753 - INFO - ================================================================================ 2025-12-04 02:20:53,753 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-04 02:20:53,753 - 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-12-04 02:20:54,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.129': '0'}} with 2025-12-04 02:20:54,020 - INFO - Initial checks done. Running the testcase now 2025-12-04 02:20:54,020 - INFO - 2025-12-04 02:20:54,650 - DEBUG - Response for create_network : {'network': {'id': '607fdb4d-4544-40b1-9651-ba5a16fbc690', 'name': 'ctest-vn1-11903502', 'tenant_id': 'a5f8f38403e3419dae952e5d7cc659f6', 'project_id': 'a5f8f38403e3419dae952e5d7cc659f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53670951', 'ctest-vn1-11903502'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:20:54,889 - DEBUG - Response for create_subnet : {'subnet': {'id': '2111a386-93d2-4dbb-8c6d-ee80c8be41af', 'name': '', 'tenant_id': 'a5f8f38403e3419dae952e5d7cc659f6', 'network_id': '607fdb4d-4544-40b1-9651-ba5a16fbc690', 'ip_version': 4, 'cidr': '3.95.232.64/26', 'allocation_pools': [{'start': '3.95.232.66', 'end': '3.95.232.126'}], 'gateway_ip': '3.95.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.95.232.66', 'tags': [], 'project_id': 'a5f8f38403e3419dae952e5d7cc659f6'}} 2025-12-04 02:20:54,913 - INFO - Created VN ctest-vn1-11903502 2025-12-04 02:20:54,967 - DEBUG - VN ctest-vn1-11903502 UUID is 607fdb4d-4544-40b1-9651-ba5a16fbc690 2025-12-04 02:20:55,285 - DEBUG - Response for create_network : {'network': {'id': '79193623-03cf-41a9-bc44-a7bfe36f2502', 'name': 'ctest-vn2-71700359', 'tenant_id': 'a5f8f38403e3419dae952e5d7cc659f6', 'project_id': 'a5f8f38403e3419dae952e5d7cc659f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-53670951', 'ctest-vn2-71700359'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 02:20:55,819 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a210ae60-758e-47f0-8cce-e7a6d6465ef7', 'name': '', 'tenant_id': 'a5f8f38403e3419dae952e5d7cc659f6', 'network_id': '79193623-03cf-41a9-bc44-a7bfe36f2502', 'ip_version': 4, 'cidr': '106.249.229.128/26', 'allocation_pools': [{'start': '106.249.229.130', 'end': '106.249.229.190'}], 'gateway_ip': '106.249.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.249.229.130', 'tags': [], 'project_id': 'a5f8f38403e3419dae952e5d7cc659f6'}} 2025-12-04 02:20:55,848 - INFO - Created VN ctest-vn2-71700359 2025-12-04 02:20:55,915 - DEBUG - VN ctest-vn2-71700359 UUID is 79193623-03cf-41a9-bc44-a7bfe36f2502 2025-12-04 02:20:56,120 - DEBUG - Services list from nova: [, , ] 2025-12-04 02:20:57,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:20:58,463 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4837-1) 2025-12-04 02:20:58,546 - INFO - Adding interface with subnet_id 2111a386-93d2-4dbb-8c6d-ee80c8be41af, port_id None to router b15ffc96-cb82-449b-a774-827fe3775947 2025-12-04 02:20:58,845 - INFO - Waiting for VM ctest-vn1-vm1-91410669 to be up.. 2025-12-04 02:20:58,950 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 02:21:04,030 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:21:04,030 - INFO - VM name : ctest-vn1-vm1-91410669 2025-12-04 02:21:04,113 - DEBUG - VM ctest-vn1-vm1-91410669 ID is 22a1dbad-2b27-4b27-b369-1a65108af3e7 2025-12-04 02:21:04,134 - DEBUG - VM ctest-vn1-vm1-91410669 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:21:04,235 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/22a1dbad-2b27-4b27-b369-1a65108af3e7 2025-12-04 02:21:04,532 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/22a1dbad-2b27-4b27-b369-1a65108af3e7 2025-12-04 02:21:04,567 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e590af9a-1539-4508-a8f5-54bb9c0fa9d0 2025-12-04 02:21:07,842 - 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 1026ms') 2025-12-04 02:21:07,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91410669 failed! 2025-12-04 02:21:07,899 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-53670951:ctest-vn1-11903502 is 3.95.232.65 and allocation pool is NOT set 2025-12-04 02:21:09,965 - 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=3.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/1.993/3.467/1.474 ms') 2025-12-04 02:21:09,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91410669 passed 2025-12-04 02:21:10,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:10,124 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91410669, IP 3.95.232.67, Port 22 2025-12-04 02:21:10,294 - DEBUG - VM ctest-vn1-vm1-91410669 is ready for SSH connections 2025-12-04 02:21:10,294 - INFO - Waiting for VM ctest-vn2-vm1-01447616 to be up.. 2025-12-04 02:21:10,380 - DEBUG - VM is in ACTIVE state now 2025-12-04 02:21:10,380 - INFO - VM name : ctest-vn2-vm1-01447616 2025-12-04 02:21:10,462 - DEBUG - VM ctest-vn2-vm1-01447616 ID is c60d0fca-a8e6-47d6-9743-afcbf0a40655 2025-12-04 02:21:10,462 - DEBUG - VM ctest-vn2-vm1-01447616 launched on Node cn-jenkins-deploy-platform-ansible-os-4837-1 2025-12-04 02:21:10,543 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c60d0fca-a8e6-47d6-9743-afcbf0a40655 2025-12-04 02:21:10,554 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/0fa88d66-bd7a-44fd-a03d-562a3554f09c 2025-12-04 02:21:11,794 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/1.795/3.147/1.351 ms') 2025-12-04 02:21:11,794 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-01447616 passed 2025-12-04 02:21:11,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:11,952 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01447616, IP 106.249.229.131, Port 22 2025-12-04 02:21:12,108 - DEBUG - VM ctest-vn2-vm1-01447616 is ready for SSH connections 2025-12-04 02:21:12,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:12,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.249.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:21:12,108 - DEBUG - ping -s 56 -c 3 -W 1 106.249.229.131 2025-12-04 02:21:17,127 - DEBUG - PING 106.249.229.131 (106.249.229.131): 56 data bytes --- 106.249.229.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 02:21:17,127 - WARNING - Ping to IP 106.249.229.131 from VM ctest-vn1-vm1-91410669 failed 2025-12-04 02:21:17,127 - INFO - Adding interface with subnet_id a210ae60-758e-47f0-8cce-e7a6d6465ef7, port_id None to router b15ffc96-cb82-449b-a774-827fe3775947 2025-12-04 02:21:17,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:17,421 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.249.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:21:17,421 - DEBUG - ping -s 56 -c 3 -W 1 106.249.229.131 2025-12-04 02:21:20,628 - DEBUG - PING 106.249.229.131 (106.249.229.131): 56 data bytes 64 bytes from 106.249.229.131: seq=1 ttl=63 time=3.375 ms 64 bytes from 106.249.229.131: seq=2 ttl=63 time=1.081 ms --- 106.249.229.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.081/2.228/3.375 ms 2025-12-04 02:21:20,628 - WARNING - Ping to IP 106.249.229.131 from VM ctest-vn1-vm1-91410669 failed 2025-12-04 02:21:21,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.249.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:21:21,629 - DEBUG - ping -s 56 -c 3 -W 1 106.249.229.131 2025-12-04 02:21:23,847 - DEBUG - PING 106.249.229.131 (106.249.229.131): 56 data bytes 64 bytes from 106.249.229.131: seq=0 ttl=63 time=2.589 ms 64 bytes from 106.249.229.131: seq=1 ttl=63 time=1.025 ms 64 bytes from 106.249.229.131: seq=2 ttl=63 time=0.998 ms --- 106.249.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.998/1.537/2.589 ms 2025-12-04 02:21:23,847 - INFO - Ping to IP 106.249.229.131 from VM ctest-vn1-vm1-91410669 passed 2025-12-04 02:21:23,847 - INFO - Deleting interface with subnet_id 2111a386-93d2-4dbb-8c6d-ee80c8be41af, port_id None from router b15ffc96-cb82-449b-a774-827fe3775947 2025-12-04 02:21:23,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:23,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.249.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:21:23,967 - DEBUG - ping -s 56 -c 3 -W 1 106.249.229.131 2025-12-04 02:21:27,168 - DEBUG - PING 106.249.229.131 (106.249.229.131): 56 data bytes --- 106.249.229.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 02:21:27,168 - WARNING - Ping to IP 106.249.229.131 from VM ctest-vn1-vm1-91410669 failed 2025-12-04 02:21:27,168 - INFO - Adding interface with subnet_id 2111a386-93d2-4dbb-8c6d-ee80c8be41af, port_id None to router b15ffc96-cb82-449b-a774-827fe3775947 2025-12-04 02:21:27,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 02:21:27,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.249.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-04 02:21:27,408 - DEBUG - ping -s 56 -c 3 -W 1 106.249.229.131 2025-12-04 02:21:29,621 - DEBUG - PING 106.249.229.131 (106.249.229.131): 56 data bytes 64 bytes from 106.249.229.131: seq=0 ttl=63 time=1.509 ms 64 bytes from 106.249.229.131: seq=1 ttl=63 time=1.055 ms 64 bytes from 106.249.229.131: seq=2 ttl=63 time=0.947 ms --- 106.249.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.947/1.170/1.509 ms 2025-12-04 02:21:29,621 - INFO - Ping to IP 106.249.229.131 from VM ctest-vn1-vm1-91410669 passed 2025-12-04 02:21:29,621 - INFO - Deleting interface with subnet_id a210ae60-758e-47f0-8cce-e7a6d6465ef7, port_id None from router b15ffc96-cb82-449b-a774-827fe3775947 2025-12-04 02:21:29,747 - INFO - Deleting interface with subnet_id 2111a386-93d2-4dbb-8c6d-ee80c8be41af, port_id None from router b15ffc96-cb82-449b-a774-827fe3775947 2025-12-04 02:21:29,943 - INFO - Deleting VM ctest-vn2-vm1-01447616 2025-12-04 02:21:30,038 - INFO - Deleting VM ctest-vn1-vm1-91410669 2025-12-04 02:21:30,125 - INFO - Deleting VN ctest-vn2-71700359 2025-12-04 02:21:30,165 - DEBUG - VN 79193623-03cf-41a9-bc44-a7bfe36f2502 still in use: Unable to complete operation on network 79193623-03cf-41a9-bc44-a7bfe36f2502. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ffc72d45-6439-4895-adec-f7915c601f3b'] 2025-12-04 02:21:30,165 - WARNING - Deleting VN ctest-vn2-71700359 failed..Will retry 2025-12-04 02:21:32,277 - DEBUG - Response for deleting network () 2025-12-04 02:21:32,278 - INFO - Deleting VN ctest-vn1-11903502 2025-12-04 02:21:32,388 - DEBUG - Response for deleting network () 2025-12-04 02:21:32,660 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 02:21:32,661 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-12-04 02:21:32,661 - INFO - -------------------------------------------------------------------------------- 2025-12-04 02:21:33,395 - INFO - Deleted project: ctest-TestRouters-53670951, ID : a5f8f384-03e3-419d-ae95-2e5d7cc659f6