2025-10-30 02:28:58,255 - INFO - Domain Default found not creating 2025-10-30 02:28:58,418 - INFO - Project ctest-TestRouters-48920701 not found, creating it 2025-10-30 02:28:58,952 - INFO - Created Project:ctest-TestRouters-48920701, ID : b3eb24a9-36cd-400d-b74d-bfbe45bf9cb8 2025-10-30 02:29:00,446 - INFO - ================================================================================ 2025-10-30 02:29:00,446 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 02:29:00,446 - 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-30 02:29:01,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.131': '0', '10.20.0.254': '0'}, '10.0.0.65': {'10.20.0.254': '0', '10.20.0.131': '0'}} with 2025-10-30 02:29:01,771 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:29:01,771 - INFO - 2025-10-30 02:29:02,468 - DEBUG - Response for create_network : {'network': {'id': 'ff0fc4ed-0d47-4094-b0ae-e3988d894c0a', 'name': 'ctest-vn1-44035936', 'tenant_id': 'b3eb24a936cd400db74dbfbe45bf9cb8', 'project_id': 'b3eb24a936cd400db74dbfbe45bf9cb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48920701', 'ctest-vn1-44035936'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:29:02,771 - DEBUG - Response for create_subnet : {'subnet': {'id': '1137bf2e-8b62-4732-a687-37951536ea3b', 'name': '', 'tenant_id': 'b3eb24a936cd400db74dbfbe45bf9cb8', 'network_id': 'ff0fc4ed-0d47-4094-b0ae-e3988d894c0a', 'ip_version': 4, 'cidr': '218.142.57.64/26', 'allocation_pools': [{'start': '218.142.57.66', 'end': '218.142.57.126'}], 'gateway_ip': '218.142.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.142.57.66', 'tags': [], 'project_id': 'b3eb24a936cd400db74dbfbe45bf9cb8'}} 2025-10-30 02:29:02,793 - INFO - Created VN ctest-vn1-44035936 2025-10-30 02:29:02,811 - DEBUG - VN ctest-vn1-44035936 UUID is ff0fc4ed-0d47-4094-b0ae-e3988d894c0a 2025-10-30 02:29:03,206 - DEBUG - Response for create_network : {'network': {'id': '04c52057-7fa5-473f-bfec-2ebee659f35a', 'name': 'ctest-vn2-34649154', 'tenant_id': 'b3eb24a936cd400db74dbfbe45bf9cb8', 'project_id': 'b3eb24a936cd400db74dbfbe45bf9cb8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48920701', 'ctest-vn2-34649154'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:29:03,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '09c6baa0-7260-45ce-a429-63d81451ac13', 'name': '', 'tenant_id': 'b3eb24a936cd400db74dbfbe45bf9cb8', 'network_id': '04c52057-7fa5-473f-bfec-2ebee659f35a', 'ip_version': 4, 'cidr': '44.130.176.192/26', 'allocation_pools': [{'start': '44.130.176.194', 'end': '44.130.176.254'}], 'gateway_ip': '44.130.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.130.176.194', 'tags': [], 'project_id': 'b3eb24a936cd400db74dbfbe45bf9cb8'}} 2025-10-30 02:29:03,498 - INFO - Created VN ctest-vn2-34649154 2025-10-30 02:29:03,513 - DEBUG - VN ctest-vn2-34649154 UUID is 04c52057-7fa5-473f-bfec-2ebee659f35a 2025-10-30 02:29:03,653 - DEBUG - Services list from nova: [, , , ] 2025-10-30 02:29:04,675 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-2) 2025-10-30 02:29:06,172 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4535-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4535-1) 2025-10-30 02:29:06,291 - INFO - Adding interface with subnet_id 1137bf2e-8b62-4732-a687-37951536ea3b, port_id None to router 66ff8aeb-8f49-45ce-8cca-08b63ddd0d1e 2025-10-30 02:29:06,650 - INFO - Waiting for VM ctest-vn1-vm1-64363489 to be up.. 2025-10-30 02:29:06,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:29:11,896 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:29:11,896 - INFO - VM name : ctest-vn1-vm1-64363489 2025-10-30 02:29:11,989 - DEBUG - VM ctest-vn1-vm1-64363489 ID is 3e147347-a6a1-4385-950b-77dbcd9ce0e7 2025-10-30 02:29:12,020 - DEBUG - VM ctest-vn1-vm1-64363489 launched on Node an-jenkins-deploy-platform-ansible-os-4535-2 2025-10-30 02:29:12,127 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3e147347-a6a1-4385-950b-77dbcd9ce0e7 2025-10-30 02:29:12,468 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3e147347-a6a1-4385-950b-77dbcd9ce0e7 2025-10-30 02:29:12,507 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/9e4db6c6-96b1-4870-a619-48219f5f0413 2025-10-30 02:29:15,723 - 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 1030ms') 2025-10-30 02:29:15,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64363489 failed! 2025-10-30 02:29:15,738 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48920701:ctest-vn1-44035936 is 218.142.57.65 and allocation pool is NOT set 2025-10-30 02:29:17,806 - 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=3.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.63 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 = 3.474/3.550/3.627/0.076 ms') 2025-10-30 02:29:17,806 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64363489 passed 2025-10-30 02:29:17,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:29:17,891 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64363489, IP 218.142.57.67, Port 22 2025-10-30 02:29:18,050 - DEBUG - VM ctest-vn1-vm1-64363489 is ready for SSH connections 2025-10-30 02:29:18,050 - INFO - Waiting for VM ctest-vn2-vm1-78414189 to be up.. 2025-10-30 02:29:18,137 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:29:18,137 - INFO - VM name : ctest-vn2-vm1-78414189 2025-10-30 02:29:18,241 - DEBUG - VM ctest-vn2-vm1-78414189 ID is b32c267b-9b66-430f-af3b-5ed94d21aba4 2025-10-30 02:29:18,242 - DEBUG - VM ctest-vn2-vm1-78414189 launched on Node an-jenkins-deploy-platform-ansible-os-4535-1 2025-10-30 02:29:18,339 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/b32c267b-9b66-430f-af3b-5ed94d21aba4 2025-10-30 02:29:18,350 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/8c38619b-048e-4e35-9d22-8db774ad5048 2025-10-30 02:29:21,548 - 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.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.296/9.296/9.296/0.000 ms') 2025-10-30 02:29:21,548 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-78414189 passed 2025-10-30 02:29:21,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:29:21,622 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-78414189, IP 44.130.176.195, Port 22 2025-10-30 02:29:21,794 - DEBUG - VM ctest-vn2-vm1-78414189 is ready for SSH connections 2025-10-30 02:29:21,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:29:21,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.130.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 02:29:21,794 - DEBUG - ping -s 56 -c 3 -W 1 44.130.176.195 2025-10-30 02:29:25,735 - DEBUG - PING 44.130.176.195 (44.130.176.195): 56 data bytes --- 44.130.176.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:29:25,735 - WARNING - Ping to IP 44.130.176.195 from VM ctest-vn1-vm1-64363489 failed 2025-10-30 02:29:25,735 - INFO - Adding interface with subnet_id 09c6baa0-7260-45ce-a429-63d81451ac13, port_id None to router 66ff8aeb-8f49-45ce-8cca-08b63ddd0d1e 2025-10-30 02:29:26,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:29:26,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.130.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 02:29:26,128 - DEBUG - ping -s 56 -c 3 -W 1 44.130.176.195 2025-10-30 02:29:28,340 - DEBUG - PING 44.130.176.195 (44.130.176.195): 56 data bytes 64 bytes from 44.130.176.195: seq=0 ttl=63 time=5.694 ms 64 bytes from 44.130.176.195: seq=1 ttl=63 time=1.342 ms 64 bytes from 44.130.176.195: seq=2 ttl=63 time=1.140 ms --- 44.130.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.140/2.725/5.694 ms 2025-10-30 02:29:28,340 - INFO - Ping to IP 44.130.176.195 from VM ctest-vn1-vm1-64363489 passed 2025-10-30 02:29:28,340 - INFO - Deleting interface with subnet_id 1137bf2e-8b62-4732-a687-37951536ea3b, port_id None from router 66ff8aeb-8f49-45ce-8cca-08b63ddd0d1e 2025-10-30 02:29:28,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:29:28,566 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.130.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 02:29:28,566 - DEBUG - ping -s 56 -c 3 -W 1 44.130.176.195 2025-10-30 02:29:31,780 - DEBUG - PING 44.130.176.195 (44.130.176.195): 56 data bytes --- 44.130.176.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:29:31,781 - WARNING - Ping to IP 44.130.176.195 from VM ctest-vn1-vm1-64363489 failed 2025-10-30 02:29:31,781 - INFO - Adding interface with subnet_id 1137bf2e-8b62-4732-a687-37951536ea3b, port_id None to router 66ff8aeb-8f49-45ce-8cca-08b63ddd0d1e 2025-10-30 02:29:32,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:29:32,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.130.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-30 02:29:32,148 - DEBUG - ping -s 56 -c 3 -W 1 44.130.176.195 2025-10-30 02:29:34,354 - DEBUG - PING 44.130.176.195 (44.130.176.195): 56 data bytes 64 bytes from 44.130.176.195: seq=0 ttl=63 time=2.296 ms 64 bytes from 44.130.176.195: seq=1 ttl=63 time=1.184 ms 64 bytes from 44.130.176.195: seq=2 ttl=63 time=1.276 ms --- 44.130.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.184/1.585/2.296 ms 2025-10-30 02:29:34,355 - INFO - Ping to IP 44.130.176.195 from VM ctest-vn1-vm1-64363489 passed 2025-10-30 02:29:34,355 - INFO - Deleting interface with subnet_id 09c6baa0-7260-45ce-a429-63d81451ac13, port_id None from router 66ff8aeb-8f49-45ce-8cca-08b63ddd0d1e 2025-10-30 02:29:34,603 - INFO - Deleting interface with subnet_id 1137bf2e-8b62-4732-a687-37951536ea3b, port_id None from router 66ff8aeb-8f49-45ce-8cca-08b63ddd0d1e 2025-10-30 02:29:34,895 - INFO - Deleting VM ctest-vn2-vm1-78414189 2025-10-30 02:29:34,977 - INFO - Deleting VM ctest-vn1-vm1-64363489 2025-10-30 02:29:35,040 - INFO - Deleting VN ctest-vn2-34649154 2025-10-30 02:29:35,086 - DEBUG - VN 04c52057-7fa5-473f-bfec-2ebee659f35a still in use: Unable to complete operation on network 04c52057-7fa5-473f-bfec-2ebee659f35a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f6bf3e36-d3d4-432b-bf24-a832a9e77f9b'] 2025-10-30 02:29:35,086 - WARNING - Deleting VN ctest-vn2-34649154 failed..Will retry 2025-10-30 02:29:37,290 - DEBUG - Response for deleting network () 2025-10-30 02:29:37,290 - INFO - Deleting VN ctest-vn1-44035936 2025-10-30 02:29:37,507 - DEBUG - Response for deleting network () 2025-10-30 02:29:38,782 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:29:38,782 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-30 02:29:38,782 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:29:39,573 - INFO - Deleted project: ctest-TestRouters-48920701, ID : b3eb24a9-36cd-400d-b74d-bfbe45bf9cb8