2025-08-19 12:56:40,820 - INFO - Domain Default found not creating 2025-08-19 12:56:40,942 - INFO - Project ctest-TestRouters-25540229 not found, creating it 2025-08-19 12:56:41,384 - INFO - Created Project:ctest-TestRouters-25540229, ID : b5ea75d4-8d61-453f-a022-a5739c4c48aa 2025-08-19 12:56:42,686 - INFO - ================================================================================ 2025-08-19 12:56:42,686 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-19 12:56:42,686 - 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-19 12:56:42,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with 2025-08-19 12:56:42,937 - INFO - Initial checks done. Running the testcase now 2025-08-19 12:56:42,937 - INFO - 2025-08-19 12:56:43,467 - DEBUG - Response for create_network : {'network': {'id': '30174149-0656-43a7-87d4-698434814ebe', 'name': 'ctest-vn1-89948834', 'tenant_id': 'b5ea75d48d61453fa022a5739c4c48aa', 'project_id': 'b5ea75d48d61453fa022a5739c4c48aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25540229', 'ctest-vn1-89948834'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:56:43,665 - DEBUG - Response for create_subnet : {'subnet': {'id': '94d88ebf-2bb0-412e-91ef-ab1ca106df7f', 'name': '', 'tenant_id': 'b5ea75d48d61453fa022a5739c4c48aa', 'network_id': '30174149-0656-43a7-87d4-698434814ebe', 'ip_version': 4, 'cidr': '165.198.97.128/26', 'allocation_pools': [{'start': '165.198.97.130', 'end': '165.198.97.190'}], 'gateway_ip': '165.198.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.198.97.130', 'tags': [], 'project_id': 'b5ea75d48d61453fa022a5739c4c48aa'}} 2025-08-19 12:56:43,680 - INFO - Created VN ctest-vn1-89948834 2025-08-19 12:56:43,732 - DEBUG - VN ctest-vn1-89948834 UUID is 30174149-0656-43a7-87d4-698434814ebe 2025-08-19 12:56:44,019 - DEBUG - Response for create_network : {'network': {'id': '2bea229b-3a01-4e48-8de2-c7b05660357e', 'name': 'ctest-vn2-05279294', 'tenant_id': 'b5ea75d48d61453fa022a5739c4c48aa', 'project_id': 'b5ea75d48d61453fa022a5739c4c48aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25540229', 'ctest-vn2-05279294'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:56:44,198 - DEBUG - Response for create_subnet : {'subnet': {'id': '97bf4877-680c-489c-882f-4475267d6f7b', 'name': '', 'tenant_id': 'b5ea75d48d61453fa022a5739c4c48aa', 'network_id': '2bea229b-3a01-4e48-8de2-c7b05660357e', 'ip_version': 4, 'cidr': '20.211.40.192/26', 'allocation_pools': [{'start': '20.211.40.194', 'end': '20.211.40.254'}], 'gateway_ip': '20.211.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.211.40.194', 'tags': [], 'project_id': 'b5ea75d48d61453fa022a5739c4c48aa'}} 2025-08-19 12:56:44,216 - INFO - Created VN ctest-vn2-05279294 2025-08-19 12:56:44,268 - DEBUG - VN ctest-vn2-05279294 UUID is 2bea229b-3a01-4e48-8de2-c7b05660357e 2025-08-19 12:56:44,502 - DEBUG - Services list from nova: [, , ] 2025-08-19 12:56:45,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:56:46,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:56:46,622 - INFO - Adding interface with subnet_id 94d88ebf-2bb0-412e-91ef-ab1ca106df7f, port_id None to router 81449b05-3c01-490f-9d4e-b6a178c5f925 2025-08-19 12:56:46,855 - INFO - Waiting for VM ctest-vn1-vm1-93073757 to be up.. 2025-08-19 12:56:46,969 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 12:56:52,059 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:56:52,059 - INFO - VM name : ctest-vn1-vm1-93073757 2025-08-19 12:56:52,142 - DEBUG - VM ctest-vn1-vm1-93073757 ID is 22f1d788-06f2-4c1a-9444-8db3525776d7 2025-08-19 12:56:52,163 - DEBUG - VM ctest-vn1-vm1-93073757 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:56:52,245 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/22f1d788-06f2-4c1a-9444-8db3525776d7 2025-08-19 12:56:52,535 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/22f1d788-06f2-4c1a-9444-8db3525776d7 2025-08-19 12:56:52,565 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/95244c34-0d85-442f-b5ae-3381d0f85f8b 2025-08-19 12:56:55,823 - 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 1020ms') 2025-08-19 12:56:55,823 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93073757 failed! 2025-08-19 12:56:55,884 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25540229:ctest-vn1-89948834 is 165.198.97.129 and allocation pool is NOT set 2025-08-19 12:56:57,942 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.376 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.376/1.482/2.588/1.106 ms') 2025-08-19 12:56:57,942 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-93073757 passed 2025-08-19 12:56:58,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:58,096 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-93073757, IP 165.198.97.131, Port 22 2025-08-19 12:56:58,255 - DEBUG - VM ctest-vn1-vm1-93073757 is ready for SSH connections 2025-08-19 12:56:58,255 - INFO - Waiting for VM ctest-vn2-vm1-95110103 to be up.. 2025-08-19 12:56:58,321 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:56:58,321 - INFO - VM name : ctest-vn2-vm1-95110103 2025-08-19 12:56:58,382 - DEBUG - VM ctest-vn2-vm1-95110103 ID is 257fb9fc-031e-4495-9e55-2191891f76ff 2025-08-19 12:56:58,382 - DEBUG - VM ctest-vn2-vm1-95110103 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:56:58,444 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/257fb9fc-031e-4495-9e55-2191891f76ff 2025-08-19 12:56:58,453 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/7e1e799f-9e99-4ef3-af56-16a99a466a0e 2025-08-19 12:56:59,676 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.518/2.690/1.172 ms') 2025-08-19 12:56:59,676 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-95110103 passed 2025-08-19 12:56:59,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:59,828 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-95110103, IP 20.211.40.195, Port 22 2025-08-19 12:56:59,990 - DEBUG - VM ctest-vn2-vm1-95110103 is ready for SSH connections 2025-08-19 12:56:59,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:56:59,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.211.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:56:59,990 - DEBUG - ping -s 56 -c 3 -W 1 20.211.40.195 2025-08-19 12:57:04,627 - DEBUG - PING 20.211.40.195 (20.211.40.195): 56 data bytes --- 20.211.40.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 12:57:04,627 - WARNING - Ping to IP 20.211.40.195 from VM ctest-vn1-vm1-93073757 failed 2025-08-19 12:57:04,627 - INFO - Adding interface with subnet_id 97bf4877-680c-489c-882f-4475267d6f7b, port_id None to router 81449b05-3c01-490f-9d4e-b6a178c5f925 2025-08-19 12:57:04,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:57:04,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.211.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:57:04,874 - DEBUG - ping -s 56 -c 3 -W 1 20.211.40.195 2025-08-19 12:57:07,074 - DEBUG - PING 20.211.40.195 (20.211.40.195): 56 data bytes 64 bytes from 20.211.40.195: seq=0 ttl=63 time=2.295 ms 64 bytes from 20.211.40.195: seq=1 ttl=63 time=0.795 ms 64 bytes from 20.211.40.195: seq=2 ttl=63 time=0.667 ms --- 20.211.40.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.667/1.252/2.295 ms 2025-08-19 12:57:07,074 - INFO - Ping to IP 20.211.40.195 from VM ctest-vn1-vm1-93073757 passed 2025-08-19 12:57:07,074 - INFO - Deleting interface with subnet_id 94d88ebf-2bb0-412e-91ef-ab1ca106df7f, port_id None from router 81449b05-3c01-490f-9d4e-b6a178c5f925 2025-08-19 12:57:07,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:57:07,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.211.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:57:07,183 - DEBUG - ping -s 56 -c 3 -W 1 20.211.40.195 2025-08-19 12:57:10,383 - DEBUG - PING 20.211.40.195 (20.211.40.195): 56 data bytes --- 20.211.40.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 12:57:10,384 - WARNING - Ping to IP 20.211.40.195 from VM ctest-vn1-vm1-93073757 failed 2025-08-19 12:57:10,384 - INFO - Adding interface with subnet_id 94d88ebf-2bb0-412e-91ef-ab1ca106df7f, port_id None to router 81449b05-3c01-490f-9d4e-b6a178c5f925 2025-08-19 12:57:10,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:57:10,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.211.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:57:10,609 - DEBUG - ping -s 56 -c 3 -W 1 20.211.40.195 2025-08-19 12:57:13,799 - DEBUG - PING 20.211.40.195 (20.211.40.195): 56 data bytes 64 bytes from 20.211.40.195: seq=1 ttl=63 time=1.255 ms 64 bytes from 20.211.40.195: seq=2 ttl=63 time=0.725 ms --- 20.211.40.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.725/0.990/1.255 ms 2025-08-19 12:57:13,799 - WARNING - Ping to IP 20.211.40.195 from VM ctest-vn1-vm1-93073757 failed 2025-08-19 12:57:14,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.211.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:57:14,800 - DEBUG - ping -s 56 -c 3 -W 1 20.211.40.195 2025-08-19 12:57:16,995 - DEBUG - PING 20.211.40.195 (20.211.40.195): 56 data bytes 64 bytes from 20.211.40.195: seq=0 ttl=63 time=1.368 ms 64 bytes from 20.211.40.195: seq=1 ttl=63 time=0.746 ms 64 bytes from 20.211.40.195: seq=2 ttl=63 time=0.730 ms --- 20.211.40.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/0.948/1.368 ms 2025-08-19 12:57:16,996 - INFO - Ping to IP 20.211.40.195 from VM ctest-vn1-vm1-93073757 passed 2025-08-19 12:57:16,996 - INFO - Deleting interface with subnet_id 97bf4877-680c-489c-882f-4475267d6f7b, port_id None from router 81449b05-3c01-490f-9d4e-b6a178c5f925 2025-08-19 12:57:17,102 - INFO - Deleting interface with subnet_id 94d88ebf-2bb0-412e-91ef-ab1ca106df7f, port_id None from router 81449b05-3c01-490f-9d4e-b6a178c5f925 2025-08-19 12:57:17,257 - INFO - Deleting VM ctest-vn2-vm1-95110103 2025-08-19 12:57:17,315 - INFO - Deleting VM ctest-vn1-vm1-93073757 2025-08-19 12:57:17,373 - INFO - Deleting VN ctest-vn2-05279294 2025-08-19 12:57:17,406 - DEBUG - VN 2bea229b-3a01-4e48-8de2-c7b05660357e still in use: Unable to complete operation on network 2bea229b-3a01-4e48-8de2-c7b05660357e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33a2a5d1-e104-484f-a27c-89cb023bbfe4'] 2025-08-19 12:57:17,406 - WARNING - Deleting VN ctest-vn2-05279294 failed..Will retry 2025-08-19 12:57:19,522 - DEBUG - Response for deleting network () 2025-08-19 12:57:19,522 - INFO - Deleting VN ctest-vn1-89948834 2025-08-19 12:57:19,617 - DEBUG - Response for deleting network () 2025-08-19 12:57:19,868 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 12:57:19,868 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-08-19 12:57:19,868 - INFO - -------------------------------------------------------------------------------- 2025-08-19 12:57:20,516 - INFO - Deleted project: ctest-TestRouters-25540229, ID : b5ea75d4-8d61-453f-a022-a5739c4c48aa