2025-07-22 15:56:46,381 - INFO - Domain Default found not creating 2025-07-22 15:56:46,544 - INFO - Project ctest-TestRouters-43591486 not found, creating it 2025-07-22 15:56:47,108 - INFO - Created Project:ctest-TestRouters-43591486, ID : 01b6155b-41cb-4562-86ae-fd941ebfacdc 2025-07-22 15:56:48,652 - INFO - ================================================================================ 2025-07-22 15:56:48,652 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-22 15:56:48,652 - 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-07-22 15:56:49,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2025-07-22 15:56:49,952 - INFO - Initial checks done. Running the testcase now 2025-07-22 15:56:49,952 - INFO - 2025-07-22 15:56:50,688 - DEBUG - Response for create_network : {'network': {'id': '8e9336fb-4027-414d-ad1b-5f15331228d7', 'name': 'ctest-vn1-23506056', 'tenant_id': '01b6155b41cb456286aefd941ebfacdc', 'project_id': '01b6155b41cb456286aefd941ebfacdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43591486', 'ctest-vn1-23506056'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:56:50,950 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec04b729-b84b-4882-8995-a01878e31fd3', 'name': '', 'tenant_id': '01b6155b41cb456286aefd941ebfacdc', 'network_id': '8e9336fb-4027-414d-ad1b-5f15331228d7', 'ip_version': 4, 'cidr': '142.42.139.192/26', 'allocation_pools': [{'start': '142.42.139.194', 'end': '142.42.139.254'}], 'gateway_ip': '142.42.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.42.139.194', 'tags': [], 'project_id': '01b6155b41cb456286aefd941ebfacdc'}} 2025-07-22 15:56:50,975 - INFO - Created VN ctest-vn1-23506056 2025-07-22 15:56:50,991 - DEBUG - VN ctest-vn1-23506056 UUID is 8e9336fb-4027-414d-ad1b-5f15331228d7 2025-07-22 15:56:51,428 - DEBUG - Response for create_network : {'network': {'id': 'fb0ee822-67ab-46f4-a854-a1b1e335a12d', 'name': 'ctest-vn2-19478034', 'tenant_id': '01b6155b41cb456286aefd941ebfacdc', 'project_id': '01b6155b41cb456286aefd941ebfacdc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43591486', 'ctest-vn2-19478034'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 15:56:51,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afbf2bd0-c644-4459-8c2f-e46f65af51e4', 'name': '', 'tenant_id': '01b6155b41cb456286aefd941ebfacdc', 'network_id': 'fb0ee822-67ab-46f4-a854-a1b1e335a12d', 'ip_version': 4, 'cidr': '18.159.36.0/26', 'allocation_pools': [{'start': '18.159.36.2', 'end': '18.159.36.62'}], 'gateway_ip': '18.159.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.159.36.2', 'tags': [], 'project_id': '01b6155b41cb456286aefd941ebfacdc'}} 2025-07-22 15:56:51,702 - INFO - Created VN ctest-vn2-19478034 2025-07-22 15:56:51,726 - DEBUG - VN ctest-vn2-19478034 UUID is fb0ee822-67ab-46f4-a854-a1b1e335a12d 2025-07-22 15:56:51,866 - DEBUG - Services list from nova: [, , , ] 2025-07-22 15:56:53,012 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 15:56:54,444 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-1) 2025-07-22 15:56:54,584 - INFO - Adding interface with subnet_id ec04b729-b84b-4882-8995-a01878e31fd3, port_id None to router 01d17163-c29e-4065-937d-8aa94ec57ee6 2025-07-22 15:56:54,948 - INFO - Waiting for VM ctest-vn1-vm1-61494684 to be up.. 2025-07-22 15:56:55,077 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 15:57:00,185 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:57:00,185 - INFO - VM name : ctest-vn1-vm1-61494684 2025-07-22 15:57:00,285 - DEBUG - VM ctest-vn1-vm1-61494684 ID is 50d14740-53ab-4c79-84c1-d25d08c7c5c8 2025-07-22 15:57:00,312 - DEBUG - VM ctest-vn1-vm1-61494684 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 15:57:00,399 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/50d14740-53ab-4c79-84c1-d25d08c7c5c8 2025-07-22 15:57:00,692 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/50d14740-53ab-4c79-84c1-d25d08c7c5c8 2025-07-22 15:57:00,732 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9a8b7dc9-89de-44fb-bfee-149a7cd296cc 2025-07-22 15:57:03,966 - 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 1000ms') 2025-07-22 15:57:03,966 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61494684 failed! 2025-07-22 15:57:03,982 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-43591486:ctest-vn1-23506056 is 142.42.139.193 and allocation pool is NOT set 2025-07-22 15:57:06,055 - 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=8.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/4.356/8.263/3.907 ms') 2025-07-22 15:57:06,055 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61494684 passed 2025-07-22 15:57:06,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:06,170 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61494684, IP 142.42.139.195, Port 22 2025-07-22 15:57:06,239 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-22 15:57:06,351 - DEBUG - VM ctest-vn1-vm1-61494684 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-22 15:57:11,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:11,352 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61494684, IP 142.42.139.195, Port 22 2025-07-22 15:57:11,513 - DEBUG - VM ctest-vn1-vm1-61494684 is ready for SSH connections 2025-07-22 15:57:11,513 - INFO - Waiting for VM ctest-vn2-vm1-09880957 to be up.. 2025-07-22 15:57:11,629 - DEBUG - VM is in ACTIVE state now 2025-07-22 15:57:11,629 - INFO - VM name : ctest-vn2-vm1-09880957 2025-07-22 15:57:11,721 - DEBUG - VM ctest-vn2-vm1-09880957 ID is 6ba87ab7-5cfb-4923-b49b-e8b421039e36 2025-07-22 15:57:11,721 - DEBUG - VM ctest-vn2-vm1-09880957 launched on Node an-jenkins-deploy-platform-ansible-os-3693-1 2025-07-22 15:57:11,802 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6ba87ab7-5cfb-4923-b49b-e8b421039e36 2025-07-22 15:57:11,813 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9c184310-9732-4ae5-a8ad-9029c3c6ec5f 2025-07-22 15:57:13,041 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/1.666/2.851/1.184 ms') 2025-07-22 15:57:13,042 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-09880957 passed 2025-07-22 15:57:13,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:13,158 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-09880957, IP 18.159.36.3, Port 22 2025-07-22 15:57:13,333 - DEBUG - VM ctest-vn2-vm1-09880957 is ready for SSH connections 2025-07-22 15:57:13,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:13,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.159.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-22 15:57:13,333 - DEBUG - ping -s 56 -c 3 -W 1 18.159.36.3 2025-07-22 15:57:17,988 - DEBUG - PING 18.159.36.3 (18.159.36.3): 56 data bytes --- 18.159.36.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 15:57:17,988 - WARNING - Ping to IP 18.159.36.3 from VM ctest-vn1-vm1-61494684 failed 2025-07-22 15:57:17,988 - INFO - Adding interface with subnet_id afbf2bd0-c644-4459-8c2f-e46f65af51e4, port_id None to router 01d17163-c29e-4065-937d-8aa94ec57ee6 2025-07-22 15:57:18,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:18,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.159.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-22 15:57:18,516 - DEBUG - ping -s 56 -c 3 -W 1 18.159.36.3 2025-07-22 15:57:21,736 - DEBUG - PING 18.159.36.3 (18.159.36.3): 56 data bytes 64 bytes from 18.159.36.3: seq=1 ttl=63 time=5.936 ms 64 bytes from 18.159.36.3: seq=2 ttl=63 time=1.321 ms --- 18.159.36.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.321/3.628/5.936 ms 2025-07-22 15:57:21,737 - WARNING - Ping to IP 18.159.36.3 from VM ctest-vn1-vm1-61494684 failed 2025-07-22 15:57:22,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.159.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-22 15:57:22,738 - DEBUG - ping -s 56 -c 3 -W 1 18.159.36.3 2025-07-22 15:57:24,939 - DEBUG - PING 18.159.36.3 (18.159.36.3): 56 data bytes 64 bytes from 18.159.36.3: seq=0 ttl=63 time=3.550 ms 64 bytes from 18.159.36.3: seq=1 ttl=63 time=1.171 ms 64 bytes from 18.159.36.3: seq=2 ttl=63 time=1.591 ms --- 18.159.36.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.171/2.104/3.550 ms 2025-07-22 15:57:24,939 - INFO - Ping to IP 18.159.36.3 from VM ctest-vn1-vm1-61494684 passed 2025-07-22 15:57:24,939 - INFO - Deleting interface with subnet_id ec04b729-b84b-4882-8995-a01878e31fd3, port_id None from router 01d17163-c29e-4065-937d-8aa94ec57ee6 2025-07-22 15:57:25,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:25,214 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.159.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-22 15:57:25,214 - DEBUG - ping -s 56 -c 3 -W 1 18.159.36.3 2025-07-22 15:57:28,415 - DEBUG - PING 18.159.36.3 (18.159.36.3): 56 data bytes --- 18.159.36.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-22 15:57:28,415 - WARNING - Ping to IP 18.159.36.3 from VM ctest-vn1-vm1-61494684 failed 2025-07-22 15:57:28,415 - INFO - Adding interface with subnet_id ec04b729-b84b-4882-8995-a01878e31fd3, port_id None to router 01d17163-c29e-4065-937d-8aa94ec57ee6 2025-07-22 15:57:28,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 15:57:28,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.159.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-22 15:57:28,854 - DEBUG - ping -s 56 -c 3 -W 1 18.159.36.3 2025-07-22 15:57:31,137 - DEBUG - PING 18.159.36.3 (18.159.36.3): 56 data bytes 64 bytes from 18.159.36.3: seq=0 ttl=63 time=3.481 ms 64 bytes from 18.159.36.3: seq=1 ttl=63 time=1.433 ms 64 bytes from 18.159.36.3: seq=2 ttl=63 time=1.561 ms --- 18.159.36.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.433/2.158/3.481 ms 2025-07-22 15:57:31,137 - INFO - Ping to IP 18.159.36.3 from VM ctest-vn1-vm1-61494684 passed 2025-07-22 15:57:31,137 - INFO - Deleting interface with subnet_id afbf2bd0-c644-4459-8c2f-e46f65af51e4, port_id None from router 01d17163-c29e-4065-937d-8aa94ec57ee6 2025-07-22 15:57:31,378 - INFO - Deleting interface with subnet_id ec04b729-b84b-4882-8995-a01878e31fd3, port_id None from router 01d17163-c29e-4065-937d-8aa94ec57ee6 2025-07-22 15:57:31,726 - INFO - Deleting VM ctest-vn2-vm1-09880957 2025-07-22 15:57:31,833 - INFO - Deleting VM ctest-vn1-vm1-61494684 2025-07-22 15:57:31,902 - INFO - Deleting VN ctest-vn2-19478034 2025-07-22 15:57:31,950 - DEBUG - VN fb0ee822-67ab-46f4-a854-a1b1e335a12d still in use: Unable to complete operation on network fb0ee822-67ab-46f4-a854-a1b1e335a12d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c2a2cb2e-cc36-4f98-8cd1-c1c4bc6bee26'] 2025-07-22 15:57:31,950 - WARNING - Deleting VN ctest-vn2-19478034 failed..Will retry 2025-07-22 15:57:34,119 - DEBUG - Response for deleting network () 2025-07-22 15:57:34,119 - INFO - Deleting VN ctest-vn1-23506056 2025-07-22 15:57:34,319 - DEBUG - Response for deleting network () 2025-07-22 15:57:35,610 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 15:57:35,610 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:47] 2025-07-22 15:57:35,610 - INFO - -------------------------------------------------------------------------------- 2025-07-22 15:57:36,381 - INFO - Deleted project: ctest-TestRouters-43591486, ID : 01b6155b-41cb-4562-86ae-fd941ebfacdc