2025-08-10 10:57:47,130 - INFO - Domain Default found not creating 2025-08-10 10:57:47,250 - INFO - Project ctest-TestRouters-58618770 not found, creating it 2025-08-10 10:57:47,744 - INFO - Created Project:ctest-TestRouters-58618770, ID : 404bb841-a50a-4163-ba2c-32f948263135 2025-08-10 10:57:49,055 - INFO - ================================================================================ 2025-08-10 10:57:49,055 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-10 10:57:49,055 - 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-10 10:57:49,305 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-10 10:57:49,306 - INFO - Initial checks done. Running the testcase now 2025-08-10 10:57:49,306 - INFO - 2025-08-10 10:57:49,824 - DEBUG - Response for create_network : {'network': {'id': '6c78d84c-f507-4319-bc8f-dcb26bfc67de', 'name': 'ctest-vn1-20268909', 'tenant_id': '404bb841a50a4163ba2c32f948263135', 'project_id': '404bb841a50a4163ba2c32f948263135', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58618770', 'ctest-vn1-20268909'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:57:49,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '49d38f4b-9c2c-46b0-9e4c-919ef1dc8115', 'name': '', 'tenant_id': '404bb841a50a4163ba2c32f948263135', 'network_id': '6c78d84c-f507-4319-bc8f-dcb26bfc67de', 'ip_version': 4, 'cidr': '105.107.48.128/26', 'allocation_pools': [{'start': '105.107.48.130', 'end': '105.107.48.190'}], 'gateway_ip': '105.107.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.107.48.130', 'tags': [], 'project_id': '404bb841a50a4163ba2c32f948263135'}} 2025-08-10 10:57:49,991 - INFO - Created VN ctest-vn1-20268909 2025-08-10 10:57:50,045 - DEBUG - VN ctest-vn1-20268909 UUID is 6c78d84c-f507-4319-bc8f-dcb26bfc67de 2025-08-10 10:57:50,344 - DEBUG - Response for create_network : {'network': {'id': 'f8ef36d6-a3e4-432f-943e-d5269165d792', 'name': 'ctest-vn2-23429596', 'tenant_id': '404bb841a50a4163ba2c32f948263135', 'project_id': '404bb841a50a4163ba2c32f948263135', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58618770', 'ctest-vn2-23429596'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:57:50,543 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e491cbd9-8a96-4f09-b285-69cd6e1c6ac5', 'name': '', 'tenant_id': '404bb841a50a4163ba2c32f948263135', 'network_id': 'f8ef36d6-a3e4-432f-943e-d5269165d792', 'ip_version': 4, 'cidr': '133.157.213.0/26', 'allocation_pools': [{'start': '133.157.213.2', 'end': '133.157.213.62'}], 'gateway_ip': '133.157.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.157.213.2', 'tags': [], 'project_id': '404bb841a50a4163ba2c32f948263135'}} 2025-08-10 10:57:50,557 - INFO - Created VN ctest-vn2-23429596 2025-08-10 10:57:50,608 - DEBUG - VN ctest-vn2-23429596 UUID is f8ef36d6-a3e4-432f-943e-d5269165d792 2025-08-10 10:57:50,784 - DEBUG - Services list from nova: [, , ] 2025-08-10 10:57:51,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:57:52,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:57:52,927 - INFO - Adding interface with subnet_id 49d38f4b-9c2c-46b0-9e4c-919ef1dc8115, port_id None to router c22795de-0ecb-421a-8e0d-5326dfaafbad 2025-08-10 10:57:53,161 - INFO - Waiting for VM ctest-vn1-vm1-44756613 to be up.. 2025-08-10 10:57:53,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 10:57:58,317 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:57:58,317 - INFO - VM name : ctest-vn1-vm1-44756613 2025-08-10 10:57:58,382 - DEBUG - VM ctest-vn1-vm1-44756613 ID is b812a643-8ebb-40dc-9103-e713d44e969a 2025-08-10 10:57:58,398 - DEBUG - VM ctest-vn1-vm1-44756613 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:57:58,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b812a643-8ebb-40dc-9103-e713d44e969a 2025-08-10 10:57:58,751 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b812a643-8ebb-40dc-9103-e713d44e969a 2025-08-10 10:57:58,780 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dc90529b-51b0-409a-ac7f-fca8a471a9fe 2025-08-10 10:58:02,032 - 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=12.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 12.475/12.475/12.475/0.000 ms') 2025-08-10 10:58:02,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44756613 passed 2025-08-10 10:58:02,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:02,181 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44756613, IP 105.107.48.131, Port 22 2025-08-10 10:58:02,346 - DEBUG - VM ctest-vn1-vm1-44756613 is ready for SSH connections 2025-08-10 10:58:02,347 - INFO - Waiting for VM ctest-vn2-vm1-10479782 to be up.. 2025-08-10 10:58:02,416 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:58:02,416 - INFO - VM name : ctest-vn2-vm1-10479782 2025-08-10 10:58:02,476 - DEBUG - VM ctest-vn2-vm1-10479782 ID is ddcf6cf5-83cc-440f-92eb-b739aa47c9f3 2025-08-10 10:58:02,477 - DEBUG - VM ctest-vn2-vm1-10479782 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:58:02,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ddcf6cf5-83cc-440f-92eb-b739aa47c9f3 2025-08-10 10:58:02,552 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/81295d3a-37c7-44b8-9ece-ec914c0a0741 2025-08-10 10:58:03,784 - 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=6.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.49 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 = 1.486/3.823/6.161/2.337 ms') 2025-08-10 10:58:03,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-10479782 passed 2025-08-10 10:58:03,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:03,933 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-10479782, IP 133.157.213.3, Port 22 2025-08-10 10:58:04,092 - DEBUG - VM ctest-vn2-vm1-10479782 is ready for SSH connections 2025-08-10 10:58:04,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:04,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.157.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:58:04,093 - DEBUG - ping -s 56 -c 3 -W 1 133.157.213.3 2025-08-10 10:58:08,680 - DEBUG - PING 133.157.213.3 (133.157.213.3): 56 data bytes --- 133.157.213.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 10:58:08,681 - WARNING - Ping to IP 133.157.213.3 from VM ctest-vn1-vm1-44756613 failed 2025-08-10 10:58:08,681 - INFO - Adding interface with subnet_id e491cbd9-8a96-4f09-b285-69cd6e1c6ac5, port_id None to router c22795de-0ecb-421a-8e0d-5326dfaafbad 2025-08-10 10:58:08,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:08,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.157.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:58:08,896 - DEBUG - ping -s 56 -c 3 -W 1 133.157.213.3 2025-08-10 10:58:11,080 - DEBUG - PING 133.157.213.3 (133.157.213.3): 56 data bytes 64 bytes from 133.157.213.3: seq=0 ttl=63 time=2.346 ms 64 bytes from 133.157.213.3: seq=1 ttl=63 time=0.806 ms 64 bytes from 133.157.213.3: seq=2 ttl=63 time=0.850 ms --- 133.157.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.334/2.346 ms 2025-08-10 10:58:11,080 - INFO - Ping to IP 133.157.213.3 from VM ctest-vn1-vm1-44756613 passed 2025-08-10 10:58:11,081 - INFO - Deleting interface with subnet_id 49d38f4b-9c2c-46b0-9e4c-919ef1dc8115, port_id None from router c22795de-0ecb-421a-8e0d-5326dfaafbad 2025-08-10 10:58:11,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:11,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.157.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:58:11,186 - DEBUG - ping -s 56 -c 3 -W 1 133.157.213.3 2025-08-10 10:58:14,376 - DEBUG - PING 133.157.213.3 (133.157.213.3): 56 data bytes --- 133.157.213.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-10 10:58:14,376 - WARNING - Ping to IP 133.157.213.3 from VM ctest-vn1-vm1-44756613 failed 2025-08-10 10:58:14,376 - INFO - Adding interface with subnet_id 49d38f4b-9c2c-46b0-9e4c-919ef1dc8115, port_id None to router c22795de-0ecb-421a-8e0d-5326dfaafbad 2025-08-10 10:58:14,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:58:14,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.157.213.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:58:14,569 - DEBUG - ping -s 56 -c 3 -W 1 133.157.213.3 2025-08-10 10:58:16,764 - DEBUG - PING 133.157.213.3 (133.157.213.3): 56 data bytes 64 bytes from 133.157.213.3: seq=0 ttl=63 time=1.293 ms 64 bytes from 133.157.213.3: seq=1 ttl=63 time=0.723 ms 64 bytes from 133.157.213.3: seq=2 ttl=63 time=0.668 ms --- 133.157.213.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.668/0.894/1.293 ms 2025-08-10 10:58:16,764 - INFO - Ping to IP 133.157.213.3 from VM ctest-vn1-vm1-44756613 passed 2025-08-10 10:58:16,764 - INFO - Deleting interface with subnet_id e491cbd9-8a96-4f09-b285-69cd6e1c6ac5, port_id None from router c22795de-0ecb-421a-8e0d-5326dfaafbad 2025-08-10 10:58:16,866 - INFO - Deleting interface with subnet_id 49d38f4b-9c2c-46b0-9e4c-919ef1dc8115, port_id None from router c22795de-0ecb-421a-8e0d-5326dfaafbad 2025-08-10 10:58:17,017 - INFO - Deleting VM ctest-vn2-vm1-10479782 2025-08-10 10:58:17,076 - INFO - Deleting VM ctest-vn1-vm1-44756613 2025-08-10 10:58:17,139 - INFO - Deleting VN ctest-vn2-23429596 2025-08-10 10:58:17,171 - DEBUG - VN f8ef36d6-a3e4-432f-943e-d5269165d792 still in use: Unable to complete operation on network f8ef36d6-a3e4-432f-943e-d5269165d792. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d77e67be-c8c9-45e5-b3ed-a6a0c22496dc'] 2025-08-10 10:58:17,171 - WARNING - Deleting VN ctest-vn2-23429596 failed..Will retry 2025-08-10 10:58:19,256 - DEBUG - Response for deleting network () 2025-08-10 10:58:19,256 - INFO - Deleting VN ctest-vn1-20268909 2025-08-10 10:58:19,338 - DEBUG - Response for deleting network () 2025-08-10 10:58:19,593 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 10:58:19,594 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:30]
2025-08-10 10:58:19,594 - INFO - -------------------------------------------------------------------------------- 2025-08-10 10:58:20,223 - INFO - Deleted project: ctest-TestRouters-58618770, ID : 404bb841-a50a-4163-ba2c-32f948263135