2025-10-21 19:07:35,385 - INFO - Domain Default found not creating 2025-10-21 19:07:35,536 - INFO - Project ctest-TestRouters-75249967 not found, creating it 2025-10-21 19:07:36,038 - INFO - Created Project:ctest-TestRouters-75249967, ID : 75cd577a-1866-4f9f-bd17-310101e0c9ec 2025-10-21 19:07:37,679 - INFO - ================================================================================ 2025-10-21 19:07:37,679 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-21 19:07:37,679 - 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 19:07:37,949 - DEBUG - Nothing to compare xmpp stats {'10.0.0.245': {'10.20.0.254': '0'}} with 2025-10-21 19:07:37,949 - INFO - Initial checks done. Running the testcase now 2025-10-21 19:07:37,949 - INFO - 2025-10-21 19:07:38,806 - DEBUG - Response for create_network : {'network': {'id': '6d88c4d2-c77d-4d06-8ab9-8d7204b22eb5', 'name': 'ctest-vn1-13475975', 'tenant_id': '75cd577a18664f9fbd17310101e0c9ec', 'project_id': '75cd577a18664f9fbd17310101e0c9ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75249967', 'ctest-vn1-13475975'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 19:07:39,029 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f415d6d2-a3bf-4df4-96ec-ffe6b5f65f56', 'name': '', 'tenant_id': '75cd577a18664f9fbd17310101e0c9ec', 'network_id': '6d88c4d2-c77d-4d06-8ab9-8d7204b22eb5', 'ip_version': 4, 'cidr': '84.112.247.128/26', 'allocation_pools': [{'start': '84.112.247.130', 'end': '84.112.247.190'}], 'gateway_ip': '84.112.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.112.247.130', 'tags': [], 'project_id': '75cd577a18664f9fbd17310101e0c9ec'}} 2025-10-21 19:07:39,052 - INFO - Created VN ctest-vn1-13475975 2025-10-21 19:07:39,109 - DEBUG - VN ctest-vn1-13475975 UUID is 6d88c4d2-c77d-4d06-8ab9-8d7204b22eb5 2025-10-21 19:07:39,395 - DEBUG - Response for create_network : {'network': {'id': '5f0f5152-02bb-4d80-a902-aa2d3315001a', 'name': 'ctest-vn2-70203639', 'tenant_id': '75cd577a18664f9fbd17310101e0c9ec', 'project_id': '75cd577a18664f9fbd17310101e0c9ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75249967', 'ctest-vn2-70203639'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 19:07:39,614 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3d78d9d-d9d0-4ca9-9095-03db91bd3293', 'name': '', 'tenant_id': '75cd577a18664f9fbd17310101e0c9ec', 'network_id': '5f0f5152-02bb-4d80-a902-aa2d3315001a', 'ip_version': 4, 'cidr': '43.197.220.192/26', 'allocation_pools': [{'start': '43.197.220.194', 'end': '43.197.220.254'}], 'gateway_ip': '43.197.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.197.220.194', 'tags': [], 'project_id': '75cd577a18664f9fbd17310101e0c9ec'}} 2025-10-21 19:07:39,634 - INFO - Created VN ctest-vn2-70203639 2025-10-21 19:07:39,689 - DEBUG - VN ctest-vn2-70203639 UUID is 5f0f5152-02bb-4d80-a902-aa2d3315001a 2025-10-21 19:07:39,876 - DEBUG - Services list from nova: [, , ] 2025-10-21 19:07:41,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4404-1) 2025-10-21 19:07:42,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4404-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4404-1) 2025-10-21 19:07:42,322 - INFO - Adding interface with subnet_id f415d6d2-a3bf-4df4-96ec-ffe6b5f65f56, port_id None to router 713bf1d1-34a8-49dc-b233-d4f15879ace3 2025-10-21 19:07:42,592 - INFO - Waiting for VM ctest-vn1-vm1-09740778 to be up.. 2025-10-21 19:07:42,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 19:07:47,757 - DEBUG - VM is in ACTIVE state now 2025-10-21 19:07:47,757 - INFO - VM name : ctest-vn1-vm1-09740778 2025-10-21 19:07:47,836 - DEBUG - VM ctest-vn1-vm1-09740778 ID is 12172616-73d0-4022-8ba0-fa474e61ace9 2025-10-21 19:07:47,865 - DEBUG - VM ctest-vn1-vm1-09740778 launched on Node cn-jenkins-deploy-platform-ansible-os-4404-1 2025-10-21 19:07:47,951 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/12172616-73d0-4022-8ba0-fa474e61ace9 2025-10-21 19:07:48,253 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/12172616-73d0-4022-8ba0-fa474e61ace9 2025-10-21 19:07:48,284 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/5634a363-e4a2-427c-a9c0-d2c9b7ad800f 2025-10-21 19:07:51,539 - 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 1026ms') 2025-10-21 19:07:51,539 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09740778 failed! 2025-10-21 19:07:51,600 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-75249967:ctest-vn1-13475975 is 84.112.247.129 and allocation pool is NOT set 2025-10-21 19:07:53,663 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.537 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.537/2.304/4.071/1.767 ms') 2025-10-21 19:07:53,663 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09740778 passed 2025-10-21 19:07:53,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:53,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09740778, IP 84.112.247.131, Port 22 2025-10-21 19:07:53,972 - DEBUG - VM ctest-vn1-vm1-09740778 is ready for SSH connections 2025-10-21 19:07:53,972 - INFO - Waiting for VM ctest-vn2-vm1-18523268 to be up.. 2025-10-21 19:07:54,056 - DEBUG - VM is in ACTIVE state now 2025-10-21 19:07:54,056 - INFO - VM name : ctest-vn2-vm1-18523268 2025-10-21 19:07:54,135 - DEBUG - VM ctest-vn2-vm1-18523268 ID is dde22d9e-89d0-45ec-8b69-a9f75452a4f0 2025-10-21 19:07:54,135 - DEBUG - VM ctest-vn2-vm1-18523268 launched on Node cn-jenkins-deploy-platform-ansible-os-4404-1 2025-10-21 19:07:54,206 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine/dde22d9e-89d0-45ec-8b69-a9f75452a4f0 2025-10-21 19:07:54,215 - DEBUG - Requesting: http://10.0.0.245:8082/virtual-machine-interface/3ab747a3-c508-4674-ad85-c160f710c329 2025-10-21 19:07:55,457 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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 = 0.419/1.662/2.905/1.243 ms') 2025-10-21 19:07:55,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-18523268 passed 2025-10-21 19:07:55,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:55,613 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-18523268, IP 43.197.220.195, Port 22 2025-10-21 19:07:55,779 - DEBUG - VM ctest-vn2-vm1-18523268 is ready for SSH connections 2025-10-21 19:07:55,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:07:55,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.197.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-21 19:07:55,780 - DEBUG - ping -s 56 -c 3 -W 1 43.197.220.195 2025-10-21 19:08:00,823 - DEBUG - PING 43.197.220.195 (43.197.220.195): 56 data bytes --- 43.197.220.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 19:08:00,823 - WARNING - Ping to IP 43.197.220.195 from VM ctest-vn1-vm1-09740778 failed 2025-10-21 19:08:00,823 - INFO - Adding interface with subnet_id f3d78d9d-d9d0-4ca9-9095-03db91bd3293, port_id None to router 713bf1d1-34a8-49dc-b233-d4f15879ace3 2025-10-21 19:08:01,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:08:01,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.197.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-21 19:08:01,118 - DEBUG - ping -s 56 -c 3 -W 1 43.197.220.195 2025-10-21 19:08:04,327 - DEBUG - PING 43.197.220.195 (43.197.220.195): 56 data bytes 64 bytes from 43.197.220.195: seq=1 ttl=63 time=3.827 ms 64 bytes from 43.197.220.195: seq=2 ttl=63 time=1.288 ms --- 43.197.220.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.288/2.557/3.827 ms 2025-10-21 19:08:04,327 - WARNING - Ping to IP 43.197.220.195 from VM ctest-vn1-vm1-09740778 failed 2025-10-21 19:08:05,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.197.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-21 19:08:05,328 - DEBUG - ping -s 56 -c 3 -W 1 43.197.220.195 2025-10-21 19:08:07,536 - DEBUG - PING 43.197.220.195 (43.197.220.195): 56 data bytes 64 bytes from 43.197.220.195: seq=0 ttl=63 time=1.485 ms 64 bytes from 43.197.220.195: seq=1 ttl=63 time=0.832 ms 64 bytes from 43.197.220.195: seq=2 ttl=63 time=0.889 ms --- 43.197.220.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.068/1.485 ms 2025-10-21 19:08:07,537 - INFO - Ping to IP 43.197.220.195 from VM ctest-vn1-vm1-09740778 passed 2025-10-21 19:08:07,537 - INFO - Deleting interface with subnet_id f415d6d2-a3bf-4df4-96ec-ffe6b5f65f56, port_id None from router 713bf1d1-34a8-49dc-b233-d4f15879ace3 2025-10-21 19:08:07,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:08:07,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.197.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-21 19:08:07,662 - DEBUG - ping -s 56 -c 3 -W 1 43.197.220.195 2025-10-21 19:08:10,882 - DEBUG - PING 43.197.220.195 (43.197.220.195): 56 data bytes --- 43.197.220.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 19:08:10,882 - WARNING - Ping to IP 43.197.220.195 from VM ctest-vn1-vm1-09740778 failed 2025-10-21 19:08:10,882 - INFO - Adding interface with subnet_id f415d6d2-a3bf-4df4-96ec-ffe6b5f65f56, port_id None to router 713bf1d1-34a8-49dc-b233-d4f15879ace3 2025-10-21 19:08:11,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 19:08:11,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.197.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.245, gateway password: c0ntrail123 2025-10-21 19:08:11,107 - DEBUG - ping -s 56 -c 3 -W 1 43.197.220.195 2025-10-21 19:08:13,324 - DEBUG - PING 43.197.220.195 (43.197.220.195): 56 data bytes 64 bytes from 43.197.220.195: seq=0 ttl=63 time=1.536 ms 64 bytes from 43.197.220.195: seq=1 ttl=63 time=0.881 ms 64 bytes from 43.197.220.195: seq=2 ttl=63 time=0.971 ms --- 43.197.220.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/1.129/1.536 ms 2025-10-21 19:08:13,324 - INFO - Ping to IP 43.197.220.195 from VM ctest-vn1-vm1-09740778 passed 2025-10-21 19:08:13,325 - INFO - Deleting interface with subnet_id f3d78d9d-d9d0-4ca9-9095-03db91bd3293, port_id None from router 713bf1d1-34a8-49dc-b233-d4f15879ace3 2025-10-21 19:08:13,458 - INFO - Deleting interface with subnet_id f415d6d2-a3bf-4df4-96ec-ffe6b5f65f56, port_id None from router 713bf1d1-34a8-49dc-b233-d4f15879ace3 2025-10-21 19:08:13,657 - INFO - Deleting VM ctest-vn2-vm1-18523268 2025-10-21 19:08:13,735 - INFO - Deleting VM ctest-vn1-vm1-09740778 2025-10-21 19:08:13,816 - INFO - Deleting VN ctest-vn2-70203639 2025-10-21 19:08:13,860 - DEBUG - VN 5f0f5152-02bb-4d80-a902-aa2d3315001a still in use: Unable to complete operation on network 5f0f5152-02bb-4d80-a902-aa2d3315001a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1a26477-58a9-400c-8324-ca61d9f35071'] 2025-10-21 19:08:13,861 - WARNING - Deleting VN ctest-vn2-70203639 failed..Will retry 2025-10-21 19:08:15,960 - DEBUG - Response for deleting network () 2025-10-21 19:08:15,960 - INFO - Deleting VN ctest-vn1-13475975 2025-10-21 19:08:16,078 - DEBUG - Response for deleting network () 2025-10-21 19:08:16,333 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 19:08:16,333 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-21 19:08:16,333 - INFO - -------------------------------------------------------------------------------- 2025-10-21 19:08:17,020 - INFO - Deleted project: ctest-TestRouters-75249967, ID : 75cd577a-1866-4f9f-bd17-310101e0c9ec