2025-11-07 19:53:07,253 - INFO - Domain Default found not creating 2025-11-07 19:53:07,391 - INFO - Project ctest-TestRouters-54753422 not found, creating it 2025-11-07 19:53:07,844 - INFO - Created Project:ctest-TestRouters-54753422, ID : 0598041e-ee08-47ec-8af0-10322235fc3f 2025-11-07 19:53:09,384 - INFO - ================================================================================ 2025-11-07 19:53:09,384 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-07 19:53:09,384 - 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-11-07 19:53:09,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-07 19:53:09,640 - INFO - Initial checks done. Running the testcase now 2025-11-07 19:53:09,640 - INFO - 2025-11-07 19:53:10,229 - DEBUG - Response for create_network : {'network': {'id': '3f470bbc-c2e9-4c3d-a296-b633e78dd9fc', 'name': 'ctest-vn1-26694997', 'tenant_id': '0598041eee0847ec8af010322235fc3f', 'project_id': '0598041eee0847ec8af010322235fc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54753422', 'ctest-vn1-26694997'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 19:53:10,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c6ba3e8-c2b5-4484-bfdc-bc5b11afa3f0', 'name': '', 'tenant_id': '0598041eee0847ec8af010322235fc3f', 'network_id': '3f470bbc-c2e9-4c3d-a296-b633e78dd9fc', 'ip_version': 4, 'cidr': '216.232.112.0/26', 'allocation_pools': [{'start': '216.232.112.2', 'end': '216.232.112.62'}], 'gateway_ip': '216.232.112.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.232.112.2', 'tags': [], 'project_id': '0598041eee0847ec8af010322235fc3f'}} 2025-11-07 19:53:10,459 - INFO - Created VN ctest-vn1-26694997 2025-11-07 19:53:10,513 - DEBUG - VN ctest-vn1-26694997 UUID is 3f470bbc-c2e9-4c3d-a296-b633e78dd9fc 2025-11-07 19:53:10,862 - DEBUG - Response for create_network : {'network': {'id': '7cd2c0db-78f6-40b0-8b34-3c676e2067bd', 'name': 'ctest-vn2-06910097', 'tenant_id': '0598041eee0847ec8af010322235fc3f', 'project_id': '0598041eee0847ec8af010322235fc3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54753422', 'ctest-vn2-06910097'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 19:53:11,021 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a54d1b4c-d5cb-46bf-becf-683fecd23a0e', 'name': '', 'tenant_id': '0598041eee0847ec8af010322235fc3f', 'network_id': '7cd2c0db-78f6-40b0-8b34-3c676e2067bd', 'ip_version': 4, 'cidr': '126.56.49.128/26', 'allocation_pools': [{'start': '126.56.49.130', 'end': '126.56.49.190'}], 'gateway_ip': '126.56.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.56.49.130', 'tags': [], 'project_id': '0598041eee0847ec8af010322235fc3f'}} 2025-11-07 19:53:11,042 - INFO - Created VN ctest-vn2-06910097 2025-11-07 19:53:11,097 - DEBUG - VN ctest-vn2-06910097 UUID is 7cd2c0db-78f6-40b0-8b34-3c676e2067bd 2025-11-07 19:53:11,309 - DEBUG - Services list from nova: [, , ] 2025-11-07 19:53:12,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4671-1) 2025-11-07 19:53:13,628 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4671-1) 2025-11-07 19:53:13,699 - INFO - Adding interface with subnet_id 8c6ba3e8-c2b5-4484-bfdc-bc5b11afa3f0, port_id None to router 77171dca-6477-472b-b86b-e945c07e0082 2025-11-07 19:53:13,959 - INFO - Waiting for VM ctest-vn1-vm1-06572028 to be up.. 2025-11-07 19:53:14,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 19:53:19,130 - DEBUG - VM is in ACTIVE state now 2025-11-07 19:53:19,130 - INFO - VM name : ctest-vn1-vm1-06572028 2025-11-07 19:53:19,208 - DEBUG - VM ctest-vn1-vm1-06572028 ID is 40fe2d3b-1af3-4f63-88c1-d48828e26130 2025-11-07 19:53:19,229 - DEBUG - VM ctest-vn1-vm1-06572028 launched on Node cn-jenkins-deploy-platform-ansible-os-4671-1 2025-11-07 19:53:19,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40fe2d3b-1af3-4f63-88c1-d48828e26130 2025-11-07 19:53:19,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40fe2d3b-1af3-4f63-88c1-d48828e26130 2025-11-07 19:53:19,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c79fe4c9-d523-48b9-a90e-823be292477e 2025-11-07 19:53:22,970 - 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=8.62 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 8.620/8.620/8.620/0.000 ms') 2025-11-07 19:53:22,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06572028 passed 2025-11-07 19:53:23,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:53:23,121 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06572028, IP 216.232.112.3, Port 22 2025-11-07 19:53:23,280 - DEBUG - VM ctest-vn1-vm1-06572028 is ready for SSH connections 2025-11-07 19:53:23,281 - INFO - Waiting for VM ctest-vn2-vm1-48250846 to be up.. 2025-11-07 19:53:23,363 - DEBUG - VM is in ACTIVE state now 2025-11-07 19:53:23,363 - INFO - VM name : ctest-vn2-vm1-48250846 2025-11-07 19:53:23,449 - DEBUG - VM ctest-vn2-vm1-48250846 ID is 15fd4413-598c-471c-9629-28fcbaaf87bb 2025-11-07 19:53:23,449 - DEBUG - VM ctest-vn2-vm1-48250846 launched on Node cn-jenkins-deploy-platform-ansible-os-4671-1 2025-11-07 19:53:23,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/15fd4413-598c-471c-9629-28fcbaaf87bb 2025-11-07 19:53:23,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a68ccaa9-59b6-4a57-add4-5d045061dd8b 2025-11-07 19:53:24,770 - 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.52 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 1002ms\r\nrtt min/avg/max/mdev = 0.444/1.983/3.522/1.539 ms') 2025-11-07 19:53:24,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48250846 passed 2025-11-07 19:53:24,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:53:24,921 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48250846, IP 126.56.49.131, Port 22 2025-11-07 19:53:25,087 - DEBUG - VM ctest-vn2-vm1-48250846 is ready for SSH connections 2025-11-07 19:53:25,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:53:25,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.56.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 19:53:25,087 - DEBUG - ping -s 56 -c 3 -W 1 126.56.49.131 2025-11-07 19:53:30,004 - DEBUG - PING 126.56.49.131 (126.56.49.131): 56 data bytes --- 126.56.49.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 19:53:30,004 - WARNING - Ping to IP 126.56.49.131 from VM ctest-vn1-vm1-06572028 failed 2025-11-07 19:53:30,004 - INFO - Adding interface with subnet_id a54d1b4c-d5cb-46bf-becf-683fecd23a0e, port_id None to router 77171dca-6477-472b-b86b-e945c07e0082 2025-11-07 19:53:30,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:53:30,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.56.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 19:53:30,253 - DEBUG - ping -s 56 -c 3 -W 1 126.56.49.131 2025-11-07 19:53:32,381 - DEBUG - PING 126.56.49.131 (126.56.49.131): 56 data bytes 64 bytes from 126.56.49.131: seq=0 ttl=63 time=2.834 ms 64 bytes from 126.56.49.131: seq=1 ttl=63 time=1.397 ms 64 bytes from 126.56.49.131: seq=2 ttl=63 time=1.159 ms --- 126.56.49.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.159/1.796/2.834 ms 2025-11-07 19:53:32,381 - INFO - Ping to IP 126.56.49.131 from VM ctest-vn1-vm1-06572028 passed 2025-11-07 19:53:32,381 - INFO - Deleting interface with subnet_id 8c6ba3e8-c2b5-4484-bfdc-bc5b11afa3f0, port_id None from router 77171dca-6477-472b-b86b-e945c07e0082 2025-11-07 19:53:32,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:53:32,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.56.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 19:53:32,505 - DEBUG - ping -s 56 -c 3 -W 1 126.56.49.131 2025-11-07 19:53:35,633 - DEBUG - PING 126.56.49.131 (126.56.49.131): 56 data bytes --- 126.56.49.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 19:53:35,633 - WARNING - Ping to IP 126.56.49.131 from VM ctest-vn1-vm1-06572028 failed 2025-11-07 19:53:35,633 - INFO - Adding interface with subnet_id 8c6ba3e8-c2b5-4484-bfdc-bc5b11afa3f0, port_id None to router 77171dca-6477-472b-b86b-e945c07e0082 2025-11-07 19:53:35,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:53:35,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.56.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 19:53:35,846 - DEBUG - ping -s 56 -c 3 -W 1 126.56.49.131 2025-11-07 19:53:38,965 - DEBUG - PING 126.56.49.131 (126.56.49.131): 56 data bytes 64 bytes from 126.56.49.131: seq=1 ttl=63 time=1.668 ms 64 bytes from 126.56.49.131: seq=2 ttl=63 time=0.894 ms --- 126.56.49.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.894/1.281/1.668 ms 2025-11-07 19:53:38,965 - WARNING - Ping to IP 126.56.49.131 from VM ctest-vn1-vm1-06572028 failed 2025-11-07 19:53:39,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.56.49.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 19:53:39,966 - DEBUG - ping -s 56 -c 3 -W 1 126.56.49.131 2025-11-07 19:53:42,082 - DEBUG - PING 126.56.49.131 (126.56.49.131): 56 data bytes 64 bytes from 126.56.49.131: seq=0 ttl=63 time=1.465 ms 64 bytes from 126.56.49.131: seq=1 ttl=63 time=0.958 ms 64 bytes from 126.56.49.131: seq=2 ttl=63 time=1.208 ms --- 126.56.49.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.958/1.210/1.465 ms 2025-11-07 19:53:42,082 - INFO - Ping to IP 126.56.49.131 from VM ctest-vn1-vm1-06572028 passed 2025-11-07 19:53:42,082 - INFO - Deleting interface with subnet_id a54d1b4c-d5cb-46bf-becf-683fecd23a0e, port_id None from router 77171dca-6477-472b-b86b-e945c07e0082 2025-11-07 19:53:42,230 - INFO - Deleting interface with subnet_id 8c6ba3e8-c2b5-4484-bfdc-bc5b11afa3f0, port_id None from router 77171dca-6477-472b-b86b-e945c07e0082 2025-11-07 19:53:42,428 - INFO - Deleting VM ctest-vn2-vm1-48250846 2025-11-07 19:53:42,502 - INFO - Deleting VM ctest-vn1-vm1-06572028 2025-11-07 19:53:42,579 - INFO - Deleting VN ctest-vn2-06910097 2025-11-07 19:53:42,624 - DEBUG - VN 7cd2c0db-78f6-40b0-8b34-3c676e2067bd still in use: Unable to complete operation on network 7cd2c0db-78f6-40b0-8b34-3c676e2067bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f108adc-5e31-4948-9935-78beda9388ad'] 2025-11-07 19:53:42,624 - WARNING - Deleting VN ctest-vn2-06910097 failed..Will retry 2025-11-07 19:53:44,740 - DEBUG - Response for deleting network () 2025-11-07 19:53:44,740 - INFO - Deleting VN ctest-vn1-26694997 2025-11-07 19:53:44,842 - DEBUG - Response for deleting network () 2025-11-07 19:53:45,098 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 19:53:45,098 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36] 2025-11-07 19:53:45,098 - INFO - -------------------------------------------------------------------------------- 2025-11-07 19:53:45,813 - INFO - Deleted project: ctest-TestRouters-54753422, ID : 0598041e-ee08-47ec-8af0-10322235fc3f