2025-08-14 13:02:15,576 - INFO - Domain Default found not creating 2025-08-14 13:02:15,699 - INFO - Project ctest-TestRouters-62552007 not found, creating it 2025-08-14 13:02:16,204 - INFO - Created Project:ctest-TestRouters-62552007, ID : 1d2fbefe-6d06-4b5c-a056-3373e0e55eb0 2025-08-14 13:02:17,585 - INFO - ================================================================================ 2025-08-14 13:02:17,585 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 13:02:17,585 - 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-14 13:02:17,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-08-14 13:02:17,839 - INFO - Initial checks done. Running the testcase now 2025-08-14 13:02:17,839 - INFO - 2025-08-14 13:02:18,410 - DEBUG - Response for create_network : {'network': {'id': '52222b95-37b9-4dc2-a5af-9e61b6b23f62', 'name': 'ctest-vn1-83295688', 'tenant_id': '1d2fbefe6d064b5ca0563373e0e55eb0', 'project_id': '1d2fbefe6d064b5ca0563373e0e55eb0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62552007', 'ctest-vn1-83295688'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 13:02:18,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f0de3d3-b8f0-411c-a567-e90746824064', 'name': '', 'tenant_id': '1d2fbefe6d064b5ca0563373e0e55eb0', 'network_id': '52222b95-37b9-4dc2-a5af-9e61b6b23f62', 'ip_version': 4, 'cidr': '156.104.74.128/26', 'allocation_pools': [{'start': '156.104.74.130', 'end': '156.104.74.190'}], 'gateway_ip': '156.104.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.104.74.130', 'tags': [], 'project_id': '1d2fbefe6d064b5ca0563373e0e55eb0'}} 2025-08-14 13:02:18,634 - INFO - Created VN ctest-vn1-83295688 2025-08-14 13:02:18,685 - DEBUG - VN ctest-vn1-83295688 UUID is 52222b95-37b9-4dc2-a5af-9e61b6b23f62 2025-08-14 13:02:19,024 - DEBUG - Response for create_network : {'network': {'id': '4018da33-d00e-48d1-af80-a4cb2e300a83', 'name': 'ctest-vn2-88162329', 'tenant_id': '1d2fbefe6d064b5ca0563373e0e55eb0', 'project_id': '1d2fbefe6d064b5ca0563373e0e55eb0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62552007', 'ctest-vn2-88162329'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 13:02:19,242 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7451172-44c7-4c42-b4d0-369d1847e89b', 'name': '', 'tenant_id': '1d2fbefe6d064b5ca0563373e0e55eb0', 'network_id': '4018da33-d00e-48d1-af80-a4cb2e300a83', 'ip_version': 4, 'cidr': '179.245.189.0/26', 'allocation_pools': [{'start': '179.245.189.2', 'end': '179.245.189.62'}], 'gateway_ip': '179.245.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.245.189.2', 'tags': [], 'project_id': '1d2fbefe6d064b5ca0563373e0e55eb0'}} 2025-08-14 13:02:19,278 - INFO - Created VN ctest-vn2-88162329 2025-08-14 13:02:19,333 - DEBUG - VN ctest-vn2-88162329 UUID is 4018da33-d00e-48d1-af80-a4cb2e300a83 2025-08-14 13:02:19,576 - DEBUG - Services list from nova: [, , ] 2025-08-14 13:02:20,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3854-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3854-1) 2025-08-14 13:02:21,707 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3854-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3854-1) 2025-08-14 13:02:21,771 - INFO - Adding interface with subnet_id 2f0de3d3-b8f0-411c-a567-e90746824064, port_id None to router 14fcddf6-9491-496c-a58e-9d5a5ee70615 2025-08-14 13:02:22,089 - INFO - Waiting for VM ctest-vn1-vm1-03912813 to be up.. 2025-08-14 13:02:22,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 13:02:27,317 - DEBUG - VM is in ACTIVE state now 2025-08-14 13:02:27,318 - INFO - VM name : ctest-vn1-vm1-03912813 2025-08-14 13:02:27,394 - DEBUG - VM ctest-vn1-vm1-03912813 ID is 07a28ee8-f373-400c-a48c-fc33b0f379fb 2025-08-14 13:02:27,412 - DEBUG - VM ctest-vn1-vm1-03912813 launched on Node cn-jenkins-deploy-platform-ansible-os-3854-1 2025-08-14 13:02:27,484 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/07a28ee8-f373-400c-a48c-fc33b0f379fb 2025-08-14 13:02:27,770 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/07a28ee8-f373-400c-a48c-fc33b0f379fb 2025-08-14 13:02:27,798 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b94a6ed5-b10f-4fe0-b162-db41a3a43e1c 2025-08-14 13:02:31,063 - 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=9.57 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 9.572/9.572/9.572/0.000 ms') 2025-08-14 13:02:31,063 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03912813 passed 2025-08-14 13:02:31,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:31,217 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03912813, IP 156.104.74.131, Port 22 2025-08-14 13:02:31,373 - DEBUG - VM ctest-vn1-vm1-03912813 is ready for SSH connections 2025-08-14 13:02:31,373 - INFO - Waiting for VM ctest-vn2-vm1-09223616 to be up.. 2025-08-14 13:02:31,439 - DEBUG - VM is in ACTIVE state now 2025-08-14 13:02:31,439 - INFO - VM name : ctest-vn2-vm1-09223616 2025-08-14 13:02:31,508 - DEBUG - VM ctest-vn2-vm1-09223616 ID is 9822a8cc-6bf2-4f0b-bdbe-ecdd75c13cf2 2025-08-14 13:02:31,508 - DEBUG - VM ctest-vn2-vm1-09223616 launched on Node cn-jenkins-deploy-platform-ansible-os-3854-1 2025-08-14 13:02:31,582 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9822a8cc-6bf2-4f0b-bdbe-ecdd75c13cf2 2025-08-14 13:02:31,591 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/6b575d14-1a78-4768-988d-d2a680029182 2025-08-14 13:02:32,839 - 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=4.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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.114/2.627/4.140/1.513 ms') 2025-08-14 13:02:32,839 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-09223616 passed 2025-08-14 13:02:32,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:32,990 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-09223616, IP 179.245.189.3, Port 22 2025-08-14 13:02:33,156 - DEBUG - VM ctest-vn2-vm1-09223616 is ready for SSH connections 2025-08-14 13:02:33,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:33,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.245.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 13:02:33,156 - DEBUG - ping -s 56 -c 3 -W 1 179.245.189.3 2025-08-14 13:02:37,793 - DEBUG - PING 179.245.189.3 (179.245.189.3): 56 data bytes --- 179.245.189.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 13:02:37,793 - WARNING - Ping to IP 179.245.189.3 from VM ctest-vn1-vm1-03912813 failed 2025-08-14 13:02:37,793 - INFO - Adding interface with subnet_id e7451172-44c7-4c42-b4d0-369d1847e89b, port_id None to router 14fcddf6-9491-496c-a58e-9d5a5ee70615 2025-08-14 13:02:38,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:38,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.245.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 13:02:38,044 - DEBUG - ping -s 56 -c 3 -W 1 179.245.189.3 2025-08-14 13:02:40,243 - DEBUG - PING 179.245.189.3 (179.245.189.3): 56 data bytes 64 bytes from 179.245.189.3: seq=0 ttl=63 time=2.415 ms 64 bytes from 179.245.189.3: seq=1 ttl=63 time=0.881 ms 64 bytes from 179.245.189.3: seq=2 ttl=63 time=0.888 ms --- 179.245.189.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/1.394/2.415 ms 2025-08-14 13:02:40,243 - INFO - Ping to IP 179.245.189.3 from VM ctest-vn1-vm1-03912813 passed 2025-08-14 13:02:40,243 - INFO - Deleting interface with subnet_id 2f0de3d3-b8f0-411c-a567-e90746824064, port_id None from router 14fcddf6-9491-496c-a58e-9d5a5ee70615 2025-08-14 13:02:40,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:40,349 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.245.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 13:02:40,349 - DEBUG - ping -s 56 -c 3 -W 1 179.245.189.3 2025-08-14 13:02:43,543 - DEBUG - PING 179.245.189.3 (179.245.189.3): 56 data bytes --- 179.245.189.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 13:02:43,543 - WARNING - Ping to IP 179.245.189.3 from VM ctest-vn1-vm1-03912813 failed 2025-08-14 13:02:43,543 - INFO - Adding interface with subnet_id 2f0de3d3-b8f0-411c-a567-e90746824064, port_id None to router 14fcddf6-9491-496c-a58e-9d5a5ee70615 2025-08-14 13:02:43,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 13:02:43,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.245.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 13:02:43,737 - DEBUG - ping -s 56 -c 3 -W 1 179.245.189.3 2025-08-14 13:02:46,934 - DEBUG - PING 179.245.189.3 (179.245.189.3): 56 data bytes 64 bytes from 179.245.189.3: seq=1 ttl=63 time=1.507 ms 64 bytes from 179.245.189.3: seq=2 ttl=63 time=0.681 ms --- 179.245.189.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.681/1.094/1.507 ms 2025-08-14 13:02:46,934 - WARNING - Ping to IP 179.245.189.3 from VM ctest-vn1-vm1-03912813 failed 2025-08-14 13:02:47,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.245.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 13:02:47,935 - DEBUG - ping -s 56 -c 3 -W 1 179.245.189.3 2025-08-14 13:02:50,122 - DEBUG - PING 179.245.189.3 (179.245.189.3): 56 data bytes 64 bytes from 179.245.189.3: seq=0 ttl=63 time=1.197 ms 64 bytes from 179.245.189.3: seq=1 ttl=63 time=0.677 ms 64 bytes from 179.245.189.3: seq=2 ttl=63 time=0.649 ms --- 179.245.189.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.649/0.841/1.197 ms 2025-08-14 13:02:50,122 - INFO - Ping to IP 179.245.189.3 from VM ctest-vn1-vm1-03912813 passed 2025-08-14 13:02:50,122 - INFO - Deleting interface with subnet_id e7451172-44c7-4c42-b4d0-369d1847e89b, port_id None from router 14fcddf6-9491-496c-a58e-9d5a5ee70615 2025-08-14 13:02:50,240 - INFO - Deleting interface with subnet_id 2f0de3d3-b8f0-411c-a567-e90746824064, port_id None from router 14fcddf6-9491-496c-a58e-9d5a5ee70615 2025-08-14 13:02:50,389 - INFO - Deleting VM ctest-vn2-vm1-09223616 2025-08-14 13:02:50,459 - INFO - Deleting VM ctest-vn1-vm1-03912813 2025-08-14 13:02:50,532 - INFO - Deleting VN ctest-vn2-88162329 2025-08-14 13:02:50,572 - DEBUG - VN 4018da33-d00e-48d1-af80-a4cb2e300a83 still in use: Unable to complete operation on network 4018da33-d00e-48d1-af80-a4cb2e300a83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5966f732-d017-41d1-aa57-f058c4455560'] 2025-08-14 13:02:50,572 - WARNING - Deleting VN ctest-vn2-88162329 failed..Will retry 2025-08-14 13:02:52,668 - DEBUG - Response for deleting network () 2025-08-14 13:02:52,668 - INFO - Deleting VN ctest-vn1-83295688 2025-08-14 13:02:52,762 - DEBUG - Response for deleting network () 2025-08-14 13:02:53,018 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 13:02:53,018 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36]
2025-08-14 13:02:53,018 - INFO - -------------------------------------------------------------------------------- 2025-08-14 13:02:53,658 - INFO - Deleted project: ctest-TestRouters-62552007, ID : 1d2fbefe-6d06-4b5c-a056-3373e0e55eb0