2025-10-21 15:23:56,655 - INFO - Domain Default found not creating 2025-10-21 15:23:56,783 - INFO - Project ctest-TestRouters-99540436 not found, creating it 2025-10-21 15:23:57,207 - INFO - Created Project:ctest-TestRouters-99540436, ID : 8d3b204e-b268-4e18-8a24-ebf90f99048c 2025-10-21 15:23:58,659 - INFO - ================================================================================ 2025-10-21 15:23:58,659 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 15:23:58,659 - 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-10-21 15:23:58,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-21 15:23:58,906 - INFO - Initial checks done. Running the testcase now 2025-10-21 15:23:58,906 - INFO - 2025-10-21 15:23:59,437 - DEBUG - Response for create_network : {'network': {'id': '3ebc353f-7236-47e5-a722-5b54f646ddc4', 'name': 'ctest-vn1-04106921', 'tenant_id': '8d3b204eb2684e188a24ebf90f99048c', 'project_id': '8d3b204eb2684e188a24ebf90f99048c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99540436', 'ctest-vn1-04106921'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:23:59,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '4194008c-2008-4a3f-a330-fcf002f8b01c', 'name': '', 'tenant_id': '8d3b204eb2684e188a24ebf90f99048c', 'network_id': '3ebc353f-7236-47e5-a722-5b54f646ddc4', 'ip_version': 4, 'cidr': '202.5.34.64/26', 'allocation_pools': [{'start': '202.5.34.66', 'end': '202.5.34.126'}], 'gateway_ip': '202.5.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.5.34.66', 'tags': [], 'project_id': '8d3b204eb2684e188a24ebf90f99048c'}} 2025-10-21 15:23:59,595 - INFO - Created VN ctest-vn1-04106921 2025-10-21 15:23:59,646 - DEBUG - VN ctest-vn1-04106921 UUID is 3ebc353f-7236-47e5-a722-5b54f646ddc4 2025-10-21 15:23:59,963 - DEBUG - Response for create_network : {'network': {'id': '271e4776-de76-4a74-83d4-03e261a101a5', 'name': 'ctest-vn2-56183932', 'tenant_id': '8d3b204eb2684e188a24ebf90f99048c', 'project_id': '8d3b204eb2684e188a24ebf90f99048c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99540436', 'ctest-vn2-56183932'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 15:24:00,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c6ab2ae-1ef1-42f0-a23e-689ca7f68e1a', 'name': '', 'tenant_id': '8d3b204eb2684e188a24ebf90f99048c', 'network_id': '271e4776-de76-4a74-83d4-03e261a101a5', 'ip_version': 4, 'cidr': '182.5.146.128/26', 'allocation_pools': [{'start': '182.5.146.130', 'end': '182.5.146.190'}], 'gateway_ip': '182.5.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.5.146.130', 'tags': [], 'project_id': '8d3b204eb2684e188a24ebf90f99048c'}} 2025-10-21 15:24:00,186 - INFO - Created VN ctest-vn2-56183932 2025-10-21 15:24:00,246 - DEBUG - VN ctest-vn2-56183932 UUID is 271e4776-de76-4a74-83d4-03e261a101a5 2025-10-21 15:24:00,459 - DEBUG - Services list from nova: [, , ] 2025-10-21 15:24:01,442 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:24:02,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4396-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4396-1) 2025-10-21 15:24:02,804 - INFO - Adding interface with subnet_id 4194008c-2008-4a3f-a330-fcf002f8b01c, port_id None to router 3ec6069d-456d-467b-adcd-6a733e96d13c 2025-10-21 15:24:03,051 - INFO - Waiting for VM ctest-vn1-vm1-31504075 to be up.. 2025-10-21 15:24:03,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 15:24:08,217 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:24:08,217 - INFO - VM name : ctest-vn1-vm1-31504075 2025-10-21 15:24:08,292 - DEBUG - VM ctest-vn1-vm1-31504075 ID is a459900a-f97a-4005-8843-15354aa009e1 2025-10-21 15:24:08,309 - DEBUG - VM ctest-vn1-vm1-31504075 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:24:08,372 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a459900a-f97a-4005-8843-15354aa009e1 2025-10-21 15:24:08,665 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a459900a-f97a-4005-8843-15354aa009e1 2025-10-21 15:24:08,694 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/afb7dfac-af15-4104-b157-f2112d73c2aa 2025-10-21 15:24:11,951 - 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 1019ms') 2025-10-21 15:24:11,951 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31504075 failed! 2025-10-21 15:24:12,006 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99540436:ctest-vn1-04106921 is 202.5.34.65 and allocation pool is NOT set 2025-10-21 15:24:14,067 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.410/1.560/2.710/1.150 ms') 2025-10-21 15:24:14,068 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31504075 passed 2025-10-21 15:24:14,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:14,214 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31504075, IP 202.5.34.67, Port 22 2025-10-21 15:24:14,365 - DEBUG - VM ctest-vn1-vm1-31504075 is ready for SSH connections 2025-10-21 15:24:14,365 - INFO - Waiting for VM ctest-vn2-vm1-87519981 to be up.. 2025-10-21 15:24:14,433 - DEBUG - VM is in ACTIVE state now 2025-10-21 15:24:14,433 - INFO - VM name : ctest-vn2-vm1-87519981 2025-10-21 15:24:14,496 - DEBUG - VM ctest-vn2-vm1-87519981 ID is 2665d820-184c-4503-aa6f-1377d4f32958 2025-10-21 15:24:14,496 - DEBUG - VM ctest-vn2-vm1-87519981 launched on Node cn-jenkins-deploy-platform-ansible-os-4396-1 2025-10-21 15:24:14,561 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2665d820-184c-4503-aa6f-1377d4f32958 2025-10-21 15:24:14,568 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3d69dbb8-76bf-4b53-bfea-27300f459f5a 2025-10-21 15:24:15,797 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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.367/1.535/2.703/1.168 ms') 2025-10-21 15:24:15,797 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-87519981 passed 2025-10-21 15:24:15,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:15,946 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-87519981, IP 182.5.146.131, Port 22 2025-10-21 15:24:16,097 - DEBUG - VM ctest-vn2-vm1-87519981 is ready for SSH connections 2025-10-21 15:24:16,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:16,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.5.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:24:16,097 - DEBUG - ping -s 56 -c 3 -W 1 182.5.146.131 2025-10-21 15:24:20,784 - DEBUG - PING 182.5.146.131 (182.5.146.131): 56 data bytes --- 182.5.146.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 15:24:20,784 - WARNING - Ping to IP 182.5.146.131 from VM ctest-vn1-vm1-31504075 failed 2025-10-21 15:24:20,784 - INFO - Adding interface with subnet_id 7c6ab2ae-1ef1-42f0-a23e-689ca7f68e1a, port_id None to router 3ec6069d-456d-467b-adcd-6a733e96d13c 2025-10-21 15:24:21,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:21,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.5.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:24:21,015 - DEBUG - ping -s 56 -c 3 -W 1 182.5.146.131 2025-10-21 15:24:23,217 - DEBUG - PING 182.5.146.131 (182.5.146.131): 56 data bytes 64 bytes from 182.5.146.131: seq=0 ttl=63 time=2.442 ms 64 bytes from 182.5.146.131: seq=1 ttl=63 time=0.986 ms 64 bytes from 182.5.146.131: seq=2 ttl=63 time=0.801 ms --- 182.5.146.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/1.409/2.442 ms 2025-10-21 15:24:23,217 - INFO - Ping to IP 182.5.146.131 from VM ctest-vn1-vm1-31504075 passed 2025-10-21 15:24:23,217 - INFO - Deleting interface with subnet_id 4194008c-2008-4a3f-a330-fcf002f8b01c, port_id None from router 3ec6069d-456d-467b-adcd-6a733e96d13c 2025-10-21 15:24:23,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:23,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.5.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:24:23,340 - DEBUG - ping -s 56 -c 3 -W 1 182.5.146.131 2025-10-21 15:24:26,541 - DEBUG - PING 182.5.146.131 (182.5.146.131): 56 data bytes --- 182.5.146.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 15:24:26,541 - WARNING - Ping to IP 182.5.146.131 from VM ctest-vn1-vm1-31504075 failed 2025-10-21 15:24:26,541 - INFO - Adding interface with subnet_id 4194008c-2008-4a3f-a330-fcf002f8b01c, port_id None to router 3ec6069d-456d-467b-adcd-6a733e96d13c 2025-10-21 15:24:26,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 15:24:26,753 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.5.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:24:26,753 - DEBUG - ping -s 56 -c 3 -W 1 182.5.146.131 2025-10-21 15:24:29,957 - DEBUG - PING 182.5.146.131 (182.5.146.131): 56 data bytes 64 bytes from 182.5.146.131: seq=1 ttl=63 time=1.402 ms 64 bytes from 182.5.146.131: seq=2 ttl=63 time=0.814 ms --- 182.5.146.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.814/1.108/1.402 ms 2025-10-21 15:24:29,958 - WARNING - Ping to IP 182.5.146.131 from VM ctest-vn1-vm1-31504075 failed 2025-10-21 15:24:30,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.5.146.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-21 15:24:30,958 - DEBUG - ping -s 56 -c 3 -W 1 182.5.146.131 2025-10-21 15:24:33,154 - DEBUG - PING 182.5.146.131 (182.5.146.131): 56 data bytes 64 bytes from 182.5.146.131: seq=0 ttl=63 time=1.306 ms 64 bytes from 182.5.146.131: seq=1 ttl=63 time=0.737 ms 64 bytes from 182.5.146.131: seq=2 ttl=63 time=0.845 ms --- 182.5.146.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.737/0.962/1.306 ms 2025-10-21 15:24:33,154 - INFO - Ping to IP 182.5.146.131 from VM ctest-vn1-vm1-31504075 passed 2025-10-21 15:24:33,154 - INFO - Deleting interface with subnet_id 7c6ab2ae-1ef1-42f0-a23e-689ca7f68e1a, port_id None from router 3ec6069d-456d-467b-adcd-6a733e96d13c 2025-10-21 15:24:33,249 - INFO - Deleting interface with subnet_id 4194008c-2008-4a3f-a330-fcf002f8b01c, port_id None from router 3ec6069d-456d-467b-adcd-6a733e96d13c 2025-10-21 15:24:33,397 - INFO - Deleting VM ctest-vn2-vm1-87519981 2025-10-21 15:24:33,459 - INFO - Deleting VM ctest-vn1-vm1-31504075 2025-10-21 15:24:33,525 - INFO - Deleting VN ctest-vn2-56183932 2025-10-21 15:24:33,557 - DEBUG - VN 271e4776-de76-4a74-83d4-03e261a101a5 still in use: Unable to complete operation on network 271e4776-de76-4a74-83d4-03e261a101a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1deabb8a-0212-49ea-9ee0-f2507fc8c67e'] 2025-10-21 15:24:33,557 - WARNING - Deleting VN ctest-vn2-56183932 failed..Will retry 2025-10-21 15:24:35,658 - DEBUG - Response for deleting network () 2025-10-21 15:24:35,658 - INFO - Deleting VN ctest-vn1-04106921 2025-10-21 15:24:35,765 - DEBUG - Response for deleting network () 2025-10-21 15:24:36,020 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 15:24:36,020 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-10-21 15:24:36,020 - INFO - -------------------------------------------------------------------------------- 2025-10-21 15:24:36,687 - INFO - Deleted project: ctest-TestRouters-99540436, ID : 8d3b204e-b268-4e18-8a24-ebf90f99048c