2025-09-29 02:04:02,394 - INFO - Domain Default found not creating 2025-09-29 02:04:02,571 - INFO - Project ctest-TestRouters-65535514 not found, creating it 2025-09-29 02:04:03,217 - INFO - Created Project:ctest-TestRouters-65535514, ID : 66e4a44b-3c78-48f6-837a-ef6235ffba80 2025-09-29 02:04:04,798 - INFO - ================================================================================ 2025-09-29 02:04:04,798 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-29 02:04:04,798 - 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-09-29 02:04:06,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0', '10.20.0.17': '0'}, '10.0.0.131': {'10.20.0.129': '0', '10.20.0.17': '0'}} with 2025-09-29 02:04:06,119 - INFO - Initial checks done. Running the testcase now 2025-09-29 02:04:06,119 - INFO - 2025-09-29 02:04:06,914 - DEBUG - Response for create_network : {'network': {'id': '0359403d-83a8-4c6f-b76f-1f01520bb790', 'name': 'ctest-vn1-97605857', 'tenant_id': '66e4a44b3c7848f6837aef6235ffba80', 'project_id': '66e4a44b3c7848f6837aef6235ffba80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65535514', 'ctest-vn1-97605857'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 02:04:07,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '060bead9-1b5b-4743-865e-fd283e0f662c', 'name': '', 'tenant_id': '66e4a44b3c7848f6837aef6235ffba80', 'network_id': '0359403d-83a8-4c6f-b76f-1f01520bb790', 'ip_version': 4, 'cidr': '29.31.101.0/26', 'allocation_pools': [{'start': '29.31.101.2', 'end': '29.31.101.62'}], 'gateway_ip': '29.31.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.31.101.2', 'tags': [], 'project_id': '66e4a44b3c7848f6837aef6235ffba80'}} 2025-09-29 02:04:07,282 - INFO - Created VN ctest-vn1-97605857 2025-09-29 02:04:07,298 - DEBUG - VN ctest-vn1-97605857 UUID is 0359403d-83a8-4c6f-b76f-1f01520bb790 2025-09-29 02:04:07,671 - DEBUG - Response for create_network : {'network': {'id': 'c2fb34e2-163e-45ee-8ec1-8334e08f0e84', 'name': 'ctest-vn2-56891602', 'tenant_id': '66e4a44b3c7848f6837aef6235ffba80', 'project_id': '66e4a44b3c7848f6837aef6235ffba80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-65535514', 'ctest-vn2-56891602'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 02:04:07,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c2bcd3b-630e-4790-bfeb-83b3104b39a0', 'name': '', 'tenant_id': '66e4a44b3c7848f6837aef6235ffba80', 'network_id': 'c2fb34e2-163e-45ee-8ec1-8334e08f0e84', 'ip_version': 4, 'cidr': '199.55.125.128/26', 'allocation_pools': [{'start': '199.55.125.130', 'end': '199.55.125.190'}], 'gateway_ip': '199.55.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.55.125.130', 'tags': [], 'project_id': '66e4a44b3c7848f6837aef6235ffba80'}} 2025-09-29 02:04:07,995 - INFO - Created VN ctest-vn2-56891602 2025-09-29 02:04:08,009 - DEBUG - VN ctest-vn2-56891602 UUID is c2fb34e2-163e-45ee-8ec1-8334e08f0e84 2025-09-29 02:04:08,145 - DEBUG - Services list from nova: [, , , ] 2025-09-29 02:04:09,293 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-2) 2025-09-29 02:04:10,709 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4203-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4203-1) 2025-09-29 02:04:10,870 - INFO - Adding interface with subnet_id 060bead9-1b5b-4743-865e-fd283e0f662c, port_id None to router aae2af96-d835-49a3-9fa0-2c71124d042b 2025-09-29 02:04:11,228 - INFO - Waiting for VM ctest-vn1-vm1-59466377 to be up.. 2025-09-29 02:04:11,412 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 02:04:16,529 - DEBUG - VM is in ACTIVE state now 2025-09-29 02:04:16,529 - INFO - VM name : ctest-vn1-vm1-59466377 2025-09-29 02:04:16,640 - DEBUG - VM ctest-vn1-vm1-59466377 ID is 01618d20-5a2d-4a69-85ac-5e6dc4f34332 2025-09-29 02:04:16,669 - DEBUG - VM ctest-vn1-vm1-59466377 launched on Node an-jenkins-deploy-platform-ansible-os-4203-2 2025-09-29 02:04:16,764 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/01618d20-5a2d-4a69-85ac-5e6dc4f34332 2025-09-29 02:04:17,058 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/01618d20-5a2d-4a69-85ac-5e6dc4f34332 2025-09-29 02:04:17,105 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fe57d3e6-6b70-41ec-9321-c17cc87aead2 2025-09-29 02:04:20,323 - 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 1021ms') 2025-09-29 02:04:20,323 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59466377 failed! 2025-09-29 02:04:20,349 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-65535514:ctest-vn1-97605857 is 29.31.101.1 and allocation pool is NOT set 2025-09-29 02:04:22,419 - 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=13.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.77 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 = 1.774/7.498/13.222/5.724 ms') 2025-09-29 02:04:22,419 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-59466377 passed 2025-09-29 02:04:22,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:04:22,494 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59466377, IP 29.31.101.3, Port 22 2025-09-29 02:04:22,563 - 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-09-29 02:04:22,739 - DEBUG - VM ctest-vn1-vm1-59466377 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 02:04:27,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:04:27,741 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-59466377, IP 29.31.101.3, Port 22 2025-09-29 02:04:27,911 - DEBUG - VM ctest-vn1-vm1-59466377 is ready for SSH connections 2025-09-29 02:04:27,912 - INFO - Waiting for VM ctest-vn2-vm1-94424648 to be up.. 2025-09-29 02:04:28,021 - DEBUG - VM is in ACTIVE state now 2025-09-29 02:04:28,021 - INFO - VM name : ctest-vn2-vm1-94424648 2025-09-29 02:04:28,128 - DEBUG - VM ctest-vn2-vm1-94424648 ID is fc6d586e-8dee-41ce-afdd-7024eae6e11a 2025-09-29 02:04:28,128 - DEBUG - VM ctest-vn2-vm1-94424648 launched on Node an-jenkins-deploy-platform-ansible-os-4203-1 2025-09-29 02:04:28,243 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fc6d586e-8dee-41ce-afdd-7024eae6e11a 2025-09-29 02:04:28,262 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fe147aff-b1c2-478e-88fa-481699dd393e 2025-09-29 02:04:29,476 - 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=6.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.591 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.591/3.553/6.516/2.962 ms') 2025-09-29 02:04:29,477 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-94424648 passed 2025-09-29 02:04:29,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:04:29,567 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94424648, IP 199.55.125.131, Port 22 2025-09-29 02:04:29,738 - DEBUG - VM ctest-vn2-vm1-94424648 is ready for SSH connections 2025-09-29 02:04:29,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:04:29,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.55.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:04:29,738 - DEBUG - ping -s 56 -c 3 -W 1 199.55.125.131 2025-09-29 02:04:33,746 - DEBUG - PING 199.55.125.131 (199.55.125.131): 56 data bytes --- 199.55.125.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 02:04:33,746 - WARNING - Ping to IP 199.55.125.131 from VM ctest-vn1-vm1-59466377 failed 2025-09-29 02:04:33,746 - INFO - Adding interface with subnet_id 1c2bcd3b-630e-4790-bfeb-83b3104b39a0, port_id None to router aae2af96-d835-49a3-9fa0-2c71124d042b 2025-09-29 02:04:34,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:04:34,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.55.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:04:34,251 - DEBUG - ping -s 56 -c 3 -W 1 199.55.125.131 2025-09-29 02:04:37,469 - DEBUG - PING 199.55.125.131 (199.55.125.131): 56 data bytes 64 bytes from 199.55.125.131: seq=1 ttl=63 time=5.140 ms 64 bytes from 199.55.125.131: seq=2 ttl=63 time=1.674 ms --- 199.55.125.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.674/3.407/5.140 ms 2025-09-29 02:04:37,469 - WARNING - Ping to IP 199.55.125.131 from VM ctest-vn1-vm1-59466377 failed 2025-09-29 02:04:38,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.55.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:04:38,470 - DEBUG - ping -s 56 -c 3 -W 1 199.55.125.131 2025-09-29 02:04:40,682 - DEBUG - PING 199.55.125.131 (199.55.125.131): 56 data bytes 64 bytes from 199.55.125.131: seq=0 ttl=63 time=6.244 ms 64 bytes from 199.55.125.131: seq=1 ttl=63 time=1.325 ms 64 bytes from 199.55.125.131: seq=2 ttl=63 time=1.285 ms --- 199.55.125.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.285/2.951/6.244 ms 2025-09-29 02:04:40,682 - INFO - Ping to IP 199.55.125.131 from VM ctest-vn1-vm1-59466377 passed 2025-09-29 02:04:40,682 - INFO - Deleting interface with subnet_id 060bead9-1b5b-4743-865e-fd283e0f662c, port_id None from router aae2af96-d835-49a3-9fa0-2c71124d042b 2025-09-29 02:04:40,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:04:40,983 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.55.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:04:40,983 - DEBUG - ping -s 56 -c 3 -W 1 199.55.125.131 2025-09-29 02:04:44,196 - DEBUG - PING 199.55.125.131 (199.55.125.131): 56 data bytes --- 199.55.125.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-29 02:04:44,197 - WARNING - Ping to IP 199.55.125.131 from VM ctest-vn1-vm1-59466377 failed 2025-09-29 02:04:44,197 - INFO - Adding interface with subnet_id 060bead9-1b5b-4743-865e-fd283e0f662c, port_id None to router aae2af96-d835-49a3-9fa0-2c71124d042b 2025-09-29 02:04:44,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 02:04:44,532 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.55.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-09-29 02:04:44,532 - DEBUG - ping -s 56 -c 3 -W 1 199.55.125.131 2025-09-29 02:04:46,739 - DEBUG - PING 199.55.125.131 (199.55.125.131): 56 data bytes 64 bytes from 199.55.125.131: seq=0 ttl=63 time=2.570 ms 64 bytes from 199.55.125.131: seq=1 ttl=63 time=1.112 ms 64 bytes from 199.55.125.131: seq=2 ttl=63 time=1.317 ms --- 199.55.125.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.112/1.666/2.570 ms 2025-09-29 02:04:46,740 - INFO - Ping to IP 199.55.125.131 from VM ctest-vn1-vm1-59466377 passed 2025-09-29 02:04:46,740 - INFO - Deleting interface with subnet_id 1c2bcd3b-630e-4790-bfeb-83b3104b39a0, port_id None from router aae2af96-d835-49a3-9fa0-2c71124d042b 2025-09-29 02:04:47,016 - INFO - Deleting interface with subnet_id 060bead9-1b5b-4743-865e-fd283e0f662c, port_id None from router aae2af96-d835-49a3-9fa0-2c71124d042b 2025-09-29 02:04:47,358 - INFO - Deleting VM ctest-vn2-vm1-94424648 2025-09-29 02:04:47,494 - INFO - Deleting VM ctest-vn1-vm1-59466377 2025-09-29 02:04:47,561 - INFO - Deleting VN ctest-vn2-56891602 2025-09-29 02:04:47,615 - DEBUG - VN c2fb34e2-163e-45ee-8ec1-8334e08f0e84 still in use: Unable to complete operation on network c2fb34e2-163e-45ee-8ec1-8334e08f0e84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b482a44d-480f-42d9-9e8e-6f5aeb227209'] 2025-09-29 02:04:47,616 - WARNING - Deleting VN ctest-vn2-56891602 failed..Will retry 2025-09-29 02:04:49,813 - DEBUG - Response for deleting network () 2025-09-29 02:04:49,814 - INFO - Deleting VN ctest-vn1-97605857 2025-09-29 02:04:50,030 - DEBUG - Response for deleting network () 2025-09-29 02:04:51,341 - DEBUG - No XMPP flaps were noticed during the test 2025-09-29 02:04:51,342 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:47] 2025-09-29 02:04:51,342 - INFO - -------------------------------------------------------------------------------- 2025-09-29 02:04:52,157 - INFO - Deleted project: ctest-TestRouters-65535514, ID : 66e4a44b-3c78-48f6-837a-ef6235ffba80