2025-08-20 13:38:50,107 - INFO - Domain Default found not creating 2025-08-20 13:38:50,342 - INFO - Project ctest-TestRouters-90819647 not found, creating it 2025-08-20 13:38:50,829 - INFO - Created Project:ctest-TestRouters-90819647, ID : 3a1a4de8-e49c-401a-8854-6028d1061b93 2025-08-20 13:38:52,245 - INFO - ================================================================================ 2025-08-20 13:38:52,245 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-20 13:38:52,246 - 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-20 13:38:52,500 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-08-20 13:38:52,500 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:38:52,500 - INFO - 2025-08-20 13:38:53,042 - DEBUG - Response for create_network : {'network': {'id': 'd3f42901-39eb-4dce-a7a3-234287ffe6df', 'name': 'ctest-vn1-77648975', 'tenant_id': '3a1a4de8e49c401a88546028d1061b93', 'project_id': '3a1a4de8e49c401a88546028d1061b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90819647', 'ctest-vn1-77648975'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:38:53,243 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9594c87-7c34-4952-99e3-39035a77bb6e', 'name': '', 'tenant_id': '3a1a4de8e49c401a88546028d1061b93', 'network_id': 'd3f42901-39eb-4dce-a7a3-234287ffe6df', 'ip_version': 4, 'cidr': '109.198.224.0/26', 'allocation_pools': [{'start': '109.198.224.2', 'end': '109.198.224.62'}], 'gateway_ip': '109.198.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.198.224.2', 'tags': [], 'project_id': '3a1a4de8e49c401a88546028d1061b93'}} 2025-08-20 13:38:53,267 - INFO - Created VN ctest-vn1-77648975 2025-08-20 13:38:53,318 - DEBUG - VN ctest-vn1-77648975 UUID is d3f42901-39eb-4dce-a7a3-234287ffe6df 2025-08-20 13:38:53,688 - DEBUG - Response for create_network : {'network': {'id': '03c7333c-cf8e-43f9-acfb-6e6cc5b248f1', 'name': 'ctest-vn2-88615785', 'tenant_id': '3a1a4de8e49c401a88546028d1061b93', 'project_id': '3a1a4de8e49c401a88546028d1061b93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-90819647', 'ctest-vn2-88615785'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:38:53,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6a00f2e-1179-4aad-b2c6-759b8ce1c382', 'name': '', 'tenant_id': '3a1a4de8e49c401a88546028d1061b93', 'network_id': '03c7333c-cf8e-43f9-acfb-6e6cc5b248f1', 'ip_version': 4, 'cidr': '68.246.72.128/26', 'allocation_pools': [{'start': '68.246.72.130', 'end': '68.246.72.190'}], 'gateway_ip': '68.246.72.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.246.72.130', 'tags': [], 'project_id': '3a1a4de8e49c401a88546028d1061b93'}} 2025-08-20 13:38:53,895 - INFO - Created VN ctest-vn2-88615785 2025-08-20 13:38:53,946 - DEBUG - VN ctest-vn2-88615785 UUID is 03c7333c-cf8e-43f9-acfb-6e6cc5b248f1 2025-08-20 13:38:54,155 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:38:55,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3897-1) 2025-08-20 13:38:56,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3897-1) 2025-08-20 13:38:56,353 - INFO - Adding interface with subnet_id e9594c87-7c34-4952-99e3-39035a77bb6e, port_id None to router 7d0bfb41-dbd9-4567-a923-7c8e61e001c2 2025-08-20 13:38:56,657 - INFO - Waiting for VM ctest-vn1-vm1-04639399 to be up.. 2025-08-20 13:38:56,758 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:39:01,836 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:39:01,836 - INFO - VM name : ctest-vn1-vm1-04639399 2025-08-20 13:39:01,905 - DEBUG - VM ctest-vn1-vm1-04639399 ID is f7e5d7bc-4537-4404-8257-c36f737fe6d2 2025-08-20 13:39:01,922 - DEBUG - VM ctest-vn1-vm1-04639399 launched on Node cn-jenkins-deploy-platform-ansible-os-3897-1 2025-08-20 13:39:01,995 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f7e5d7bc-4537-4404-8257-c36f737fe6d2 2025-08-20 13:39:02,287 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f7e5d7bc-4537-4404-8257-c36f737fe6d2 2025-08-20 13:39:02,332 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/aaad8d19-1807-4492-befc-fe36160fa512 2025-08-20 13:39:05,582 - 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 1007ms') 2025-08-20 13:39:05,582 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04639399 failed! 2025-08-20 13:39:05,638 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-90819647:ctest-vn1-77648975 is 109.198.224.1 and allocation pool is NOT set 2025-08-20 13:39:07,701 - 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.465 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.465/1.528/2.591/1.063 ms') 2025-08-20 13:39:07,701 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04639399 passed 2025-08-20 13:39:07,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:07,850 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04639399, IP 109.198.224.3, Port 22 2025-08-20 13:39:08,009 - DEBUG - VM ctest-vn1-vm1-04639399 is ready for SSH connections 2025-08-20 13:39:08,010 - INFO - Waiting for VM ctest-vn2-vm1-82325728 to be up.. 2025-08-20 13:39:08,078 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:39:08,078 - INFO - VM name : ctest-vn2-vm1-82325728 2025-08-20 13:39:08,144 - DEBUG - VM ctest-vn2-vm1-82325728 ID is 8f853d2a-f3d6-45a7-ac1b-66204261dce0 2025-08-20 13:39:08,144 - DEBUG - VM ctest-vn2-vm1-82325728 launched on Node cn-jenkins-deploy-platform-ansible-os-3897-1 2025-08-20 13:39:08,211 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8f853d2a-f3d6-45a7-ac1b-66204261dce0 2025-08-20 13:39:08,219 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/604f7d6c-0ad5-4452-b4d7-3ef4bd282447 2025-08-20 13:39:09,462 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.780/3.199/1.418 ms') 2025-08-20 13:39:09,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82325728 passed 2025-08-20 13:39:09,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:09,610 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82325728, IP 68.246.72.131, Port 22 2025-08-20 13:39:09,770 - DEBUG - VM ctest-vn2-vm1-82325728 is ready for SSH connections 2025-08-20 13:39:09,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:09,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.246.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:39:09,770 - DEBUG - ping -s 56 -c 3 -W 1 68.246.72.131 2025-08-20 13:39:14,453 - DEBUG - PING 68.246.72.131 (68.246.72.131): 56 data bytes --- 68.246.72.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 13:39:14,454 - WARNING - Ping to IP 68.246.72.131 from VM ctest-vn1-vm1-04639399 failed 2025-08-20 13:39:14,454 - INFO - Adding interface with subnet_id e6a00f2e-1179-4aad-b2c6-759b8ce1c382, port_id None to router 7d0bfb41-dbd9-4567-a923-7c8e61e001c2 2025-08-20 13:39:14,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:14,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.246.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:39:14,727 - DEBUG - ping -s 56 -c 3 -W 1 68.246.72.131 2025-08-20 13:39:17,994 - DEBUG - PING 68.246.72.131 (68.246.72.131): 56 data bytes 64 bytes from 68.246.72.131: seq=1 ttl=63 time=2.438 ms 64 bytes from 68.246.72.131: seq=2 ttl=63 time=0.844 ms --- 68.246.72.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.844/1.641/2.438 ms 2025-08-20 13:39:17,994 - WARNING - Ping to IP 68.246.72.131 from VM ctest-vn1-vm1-04639399 failed 2025-08-20 13:39:18,996 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.246.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:39:18,996 - DEBUG - ping -s 56 -c 3 -W 1 68.246.72.131 2025-08-20 13:39:21,231 - DEBUG - PING 68.246.72.131 (68.246.72.131): 56 data bytes 64 bytes from 68.246.72.131: seq=0 ttl=63 time=1.529 ms 64 bytes from 68.246.72.131: seq=1 ttl=63 time=0.895 ms 64 bytes from 68.246.72.131: seq=2 ttl=63 time=0.795 ms --- 68.246.72.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/1.073/1.529 ms 2025-08-20 13:39:21,231 - INFO - Ping to IP 68.246.72.131 from VM ctest-vn1-vm1-04639399 passed 2025-08-20 13:39:21,231 - INFO - Deleting interface with subnet_id e9594c87-7c34-4952-99e3-39035a77bb6e, port_id None from router 7d0bfb41-dbd9-4567-a923-7c8e61e001c2 2025-08-20 13:39:21,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:21,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.246.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:39:21,370 - DEBUG - ping -s 56 -c 3 -W 1 68.246.72.131 2025-08-20 13:39:24,586 - DEBUG - PING 68.246.72.131 (68.246.72.131): 56 data bytes --- 68.246.72.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 13:39:24,586 - WARNING - Ping to IP 68.246.72.131 from VM ctest-vn1-vm1-04639399 failed 2025-08-20 13:39:24,587 - INFO - Adding interface with subnet_id e9594c87-7c34-4952-99e3-39035a77bb6e, port_id None to router 7d0bfb41-dbd9-4567-a923-7c8e61e001c2 2025-08-20 13:39:24,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:39:24,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.246.72.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:39:24,846 - DEBUG - ping -s 56 -c 3 -W 1 68.246.72.131 2025-08-20 13:39:27,053 - DEBUG - PING 68.246.72.131 (68.246.72.131): 56 data bytes 64 bytes from 68.246.72.131: seq=0 ttl=63 time=2.015 ms 64 bytes from 68.246.72.131: seq=1 ttl=63 time=0.925 ms 64 bytes from 68.246.72.131: seq=2 ttl=63 time=0.955 ms --- 68.246.72.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.298/2.015 ms 2025-08-20 13:39:27,054 - INFO - Ping to IP 68.246.72.131 from VM ctest-vn1-vm1-04639399 passed 2025-08-20 13:39:27,054 - INFO - Deleting interface with subnet_id e6a00f2e-1179-4aad-b2c6-759b8ce1c382, port_id None from router 7d0bfb41-dbd9-4567-a923-7c8e61e001c2 2025-08-20 13:39:27,223 - INFO - Deleting interface with subnet_id e9594c87-7c34-4952-99e3-39035a77bb6e, port_id None from router 7d0bfb41-dbd9-4567-a923-7c8e61e001c2 2025-08-20 13:39:27,434 - INFO - Deleting VM ctest-vn2-vm1-82325728 2025-08-20 13:39:27,537 - INFO - Deleting VM ctest-vn1-vm1-04639399 2025-08-20 13:39:27,637 - INFO - Deleting VN ctest-vn2-88615785 2025-08-20 13:39:27,682 - DEBUG - VN 03c7333c-cf8e-43f9-acfb-6e6cc5b248f1 still in use: Unable to complete operation on network 03c7333c-cf8e-43f9-acfb-6e6cc5b248f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1db9ddba-39e8-4a80-ae39-8021a1ce2dc2'] 2025-08-20 13:39:27,682 - WARNING - Deleting VN ctest-vn2-88615785 failed..Will retry 2025-08-20 13:39:29,813 - DEBUG - Response for deleting network () 2025-08-20 13:39:29,813 - INFO - Deleting VN ctest-vn1-77648975 2025-08-20 13:39:29,952 - DEBUG - Response for deleting network () 2025-08-20 13:39:30,207 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 13:39:30,207 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-20 13:39:30,207 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:39:30,893 - INFO - Deleted project: ctest-TestRouters-90819647, ID : 3a1a4de8-e49c-401a-8854-6028d1061b93