2025-08-15 12:12:05,257 - INFO - Domain Default found not creating 2025-08-15 12:12:05,393 - INFO - Project ctest-TestRouters-99114816 not found, creating it 2025-08-15 12:12:05,902 - INFO - Created Project:ctest-TestRouters-99114816, ID : f11a0cb9-cd85-49a1-aed4-8351e42c28c3 2025-08-15 12:12:07,328 - INFO - ================================================================================ 2025-08-15 12:12:07,328 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 12:12:07,328 - 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-15 12:12:07,582 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2025-08-15 12:12:07,582 - INFO - Initial checks done. Running the testcase now 2025-08-15 12:12:07,582 - INFO - 2025-08-15 12:12:08,152 - DEBUG - Response for create_network : {'network': {'id': '9433aae7-95ae-48a6-9d4f-6283c9a29542', 'name': 'ctest-vn1-77881423', 'tenant_id': 'f11a0cb9cd8549a1aed48351e42c28c3', 'project_id': 'f11a0cb9cd8549a1aed48351e42c28c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99114816', 'ctest-vn1-77881423'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:12:08,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '96fad8db-cd6f-4888-a527-5527ac9da7dc', 'name': '', 'tenant_id': 'f11a0cb9cd8549a1aed48351e42c28c3', 'network_id': '9433aae7-95ae-48a6-9d4f-6283c9a29542', 'ip_version': 4, 'cidr': '107.143.130.64/26', 'allocation_pools': [{'start': '107.143.130.66', 'end': '107.143.130.126'}], 'gateway_ip': '107.143.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.143.130.66', 'tags': [], 'project_id': 'f11a0cb9cd8549a1aed48351e42c28c3'}} 2025-08-15 12:12:08,330 - INFO - Created VN ctest-vn1-77881423 2025-08-15 12:12:08,385 - DEBUG - VN ctest-vn1-77881423 UUID is 9433aae7-95ae-48a6-9d4f-6283c9a29542 2025-08-15 12:12:08,728 - DEBUG - Response for create_network : {'network': {'id': '3e85d9e1-2e24-4ddb-9ef4-05225a41cbaf', 'name': 'ctest-vn2-90081005', 'tenant_id': 'f11a0cb9cd8549a1aed48351e42c28c3', 'project_id': 'f11a0cb9cd8549a1aed48351e42c28c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99114816', 'ctest-vn2-90081005'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 12:12:08,893 - DEBUG - Response for create_subnet : {'subnet': {'id': '010ce828-83e1-4602-b683-ee469f4b7d80', 'name': '', 'tenant_id': 'f11a0cb9cd8549a1aed48351e42c28c3', 'network_id': '3e85d9e1-2e24-4ddb-9ef4-05225a41cbaf', 'ip_version': 4, 'cidr': '142.6.197.0/26', 'allocation_pools': [{'start': '142.6.197.2', 'end': '142.6.197.62'}], 'gateway_ip': '142.6.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.6.197.2', 'tags': [], 'project_id': 'f11a0cb9cd8549a1aed48351e42c28c3'}} 2025-08-15 12:12:08,912 - INFO - Created VN ctest-vn2-90081005 2025-08-15 12:12:08,965 - DEBUG - VN ctest-vn2-90081005 UUID is 3e85d9e1-2e24-4ddb-9ef4-05225a41cbaf 2025-08-15 12:12:09,208 - DEBUG - Services list from nova: [, , ] 2025-08-15 12:12:10,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1) 2025-08-15 12:12:11,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1) 2025-08-15 12:12:11,483 - INFO - Adding interface with subnet_id 96fad8db-cd6f-4888-a527-5527ac9da7dc, port_id None to router e4060bb8-2beb-4cab-af2c-f6a1d875a8a9 2025-08-15 12:12:11,761 - INFO - Waiting for VM ctest-vn1-vm1-06010772 to be up.. 2025-08-15 12:12:11,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 12:12:16,910 - DEBUG - VM is in ACTIVE state now 2025-08-15 12:12:16,910 - INFO - VM name : ctest-vn1-vm1-06010772 2025-08-15 12:12:16,988 - DEBUG - VM ctest-vn1-vm1-06010772 ID is 9d45a223-c5ec-4bd9-b2fd-d6abcfd9419f 2025-08-15 12:12:17,007 - DEBUG - VM ctest-vn1-vm1-06010772 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1 2025-08-15 12:12:17,082 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9d45a223-c5ec-4bd9-b2fd-d6abcfd9419f 2025-08-15 12:12:17,381 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9d45a223-c5ec-4bd9-b2fd-d6abcfd9419f 2025-08-15 12:12:17,410 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/19dde816-803f-422b-809d-e94cc914bb46 2025-08-15 12:12:20,678 - 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 1015ms') 2025-08-15 12:12:20,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06010772 failed! 2025-08-15 12:12:20,733 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99114816:ctest-vn1-77881423 is 107.143.130.65 and allocation pool is NOT set 2025-08-15 12:12:22,788 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/1.611/2.834/1.222 ms') 2025-08-15 12:12:22,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06010772 passed 2025-08-15 12:12:22,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:12:22,937 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06010772, IP 107.143.130.67, Port 22 2025-08-15 12:12:23,088 - DEBUG - VM ctest-vn1-vm1-06010772 is ready for SSH connections 2025-08-15 12:12:23,088 - INFO - Waiting for VM ctest-vn2-vm1-14641594 to be up.. 2025-08-15 12:12:23,169 - DEBUG - VM is in ACTIVE state now 2025-08-15 12:12:23,169 - INFO - VM name : ctest-vn2-vm1-14641594 2025-08-15 12:12:23,238 - DEBUG - VM ctest-vn2-vm1-14641594 ID is 59f485f1-c5dc-42fe-bdf4-f4d225c98cca 2025-08-15 12:12:23,238 - DEBUG - VM ctest-vn2-vm1-14641594 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1 2025-08-15 12:12:23,308 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/59f485f1-c5dc-42fe-bdf4-f4d225c98cca 2025-08-15 12:12:23,317 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/074391ee-166c-4f78-a526-bce30bb2706d 2025-08-15 12:12:24,564 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.567/2.775/1.207 ms') 2025-08-15 12:12:24,565 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14641594 passed 2025-08-15 12:12:24,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:12:24,717 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14641594, IP 142.6.197.3, Port 22 2025-08-15 12:12:24,872 - DEBUG - VM ctest-vn2-vm1-14641594 is ready for SSH connections 2025-08-15 12:12:24,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:12:24,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.6.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:12:24,873 - DEBUG - ping -s 56 -c 3 -W 1 142.6.197.3 2025-08-15 12:12:29,807 - DEBUG - PING 142.6.197.3 (142.6.197.3): 56 data bytes --- 142.6.197.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 12:12:29,807 - WARNING - Ping to IP 142.6.197.3 from VM ctest-vn1-vm1-06010772 failed 2025-08-15 12:12:29,807 - INFO - Adding interface with subnet_id 010ce828-83e1-4602-b683-ee469f4b7d80, port_id None to router e4060bb8-2beb-4cab-af2c-f6a1d875a8a9 2025-08-15 12:12:30,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:12:30,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.6.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:12:30,118 - DEBUG - ping -s 56 -c 3 -W 1 142.6.197.3 2025-08-15 12:12:32,349 - DEBUG - PING 142.6.197.3 (142.6.197.3): 56 data bytes 64 bytes from 142.6.197.3: seq=0 ttl=63 time=2.656 ms 64 bytes from 142.6.197.3: seq=1 ttl=63 time=0.796 ms 64 bytes from 142.6.197.3: seq=2 ttl=63 time=0.663 ms --- 142.6.197.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.663/1.371/2.656 ms 2025-08-15 12:12:32,349 - INFO - Ping to IP 142.6.197.3 from VM ctest-vn1-vm1-06010772 passed 2025-08-15 12:12:32,350 - INFO - Deleting interface with subnet_id 96fad8db-cd6f-4888-a527-5527ac9da7dc, port_id None from router e4060bb8-2beb-4cab-af2c-f6a1d875a8a9 2025-08-15 12:12:32,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:12:32,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.6.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:12:32,467 - DEBUG - ping -s 56 -c 3 -W 1 142.6.197.3 2025-08-15 12:12:35,692 - DEBUG - PING 142.6.197.3 (142.6.197.3): 56 data bytes --- 142.6.197.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 12:12:35,692 - WARNING - Ping to IP 142.6.197.3 from VM ctest-vn1-vm1-06010772 failed 2025-08-15 12:12:35,692 - INFO - Adding interface with subnet_id 96fad8db-cd6f-4888-a527-5527ac9da7dc, port_id None to router e4060bb8-2beb-4cab-af2c-f6a1d875a8a9 2025-08-15 12:12:35,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 12:12:35,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.6.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:12:35,927 - DEBUG - ping -s 56 -c 3 -W 1 142.6.197.3 2025-08-15 12:12:39,128 - DEBUG - PING 142.6.197.3 (142.6.197.3): 56 data bytes 64 bytes from 142.6.197.3: seq=1 ttl=63 time=1.348 ms 64 bytes from 142.6.197.3: seq=2 ttl=63 time=0.739 ms --- 142.6.197.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.739/1.043/1.348 ms 2025-08-15 12:12:39,129 - WARNING - Ping to IP 142.6.197.3 from VM ctest-vn1-vm1-06010772 failed 2025-08-15 12:12:40,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.6.197.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-15 12:12:40,129 - DEBUG - ping -s 56 -c 3 -W 1 142.6.197.3 2025-08-15 12:12:42,330 - DEBUG - PING 142.6.197.3 (142.6.197.3): 56 data bytes 64 bytes from 142.6.197.3: seq=0 ttl=63 time=1.394 ms 64 bytes from 142.6.197.3: seq=1 ttl=63 time=0.745 ms 64 bytes from 142.6.197.3: seq=2 ttl=63 time=0.748 ms --- 142.6.197.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/0.962/1.394 ms 2025-08-15 12:12:42,330 - INFO - Ping to IP 142.6.197.3 from VM ctest-vn1-vm1-06010772 passed 2025-08-15 12:12:42,330 - INFO - Deleting interface with subnet_id 010ce828-83e1-4602-b683-ee469f4b7d80, port_id None from router e4060bb8-2beb-4cab-af2c-f6a1d875a8a9 2025-08-15 12:12:42,448 - INFO - Deleting interface with subnet_id 96fad8db-cd6f-4888-a527-5527ac9da7dc, port_id None from router e4060bb8-2beb-4cab-af2c-f6a1d875a8a9 2025-08-15 12:12:42,600 - INFO - Deleting VM ctest-vn2-vm1-14641594 2025-08-15 12:12:42,662 - INFO - Deleting VM ctest-vn1-vm1-06010772 2025-08-15 12:12:42,724 - INFO - Deleting VN ctest-vn2-90081005 2025-08-15 12:12:42,756 - DEBUG - VN 3e85d9e1-2e24-4ddb-9ef4-05225a41cbaf still in use: Unable to complete operation on network 3e85d9e1-2e24-4ddb-9ef4-05225a41cbaf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b23c7387-5e09-429a-8159-9d8dede67ad2'] 2025-08-15 12:12:42,756 - WARNING - Deleting VN ctest-vn2-90081005 failed..Will retry 2025-08-15 12:12:44,851 - DEBUG - Response for deleting network () 2025-08-15 12:12:44,851 - INFO - Deleting VN ctest-vn1-77881423 2025-08-15 12:12:44,941 - DEBUG - Response for deleting network () 2025-08-15 12:12:45,194 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 12:12:45,194 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-15 12:12:45,194 - INFO - -------------------------------------------------------------------------------- 2025-08-15 12:12:45,845 - INFO - Deleted project: ctest-TestRouters-99114816, ID : f11a0cb9-cd85-49a1-aed4-8351e42c28c3