2025-12-22 02:20:08,093 - INFO - Domain Default found not creating 2025-12-22 02:20:08,246 - INFO - Project ctest-TestRouters-72310816 not found, creating it 2025-12-22 02:20:08,905 - INFO - Created Project:ctest-TestRouters-72310816, ID : d8e674bb-a053-48e9-a7bd-d014bf9873e1 2025-12-22 02:20:10,445 - INFO - ================================================================================ 2025-12-22 02:20:10,445 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-22 02:20:10,445 - 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-12-22 02:20:11,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0', '10.20.0.192': '0'}, '10.0.0.19': {'10.20.0.129': '0', '10.20.0.192': '0'}} with 2025-12-22 02:20:11,751 - INFO - Initial checks done. Running the testcase now 2025-12-22 02:20:11,751 - INFO - 2025-12-22 02:20:12,516 - DEBUG - Response for create_network : {'network': {'id': '9c224042-2514-4418-9ff1-1a75f195ce58', 'name': 'ctest-vn1-21227047', 'tenant_id': 'd8e674bba05348e9a7bdd014bf9873e1', 'project_id': 'd8e674bba05348e9a7bdd014bf9873e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72310816', 'ctest-vn1-21227047'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:20:12,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '863633dc-4831-43ad-98b2-c9de08dd8bc2', 'name': '', 'tenant_id': 'd8e674bba05348e9a7bdd014bf9873e1', 'network_id': '9c224042-2514-4418-9ff1-1a75f195ce58', 'ip_version': 4, 'cidr': '179.144.77.64/26', 'allocation_pools': [{'start': '179.144.77.66', 'end': '179.144.77.126'}], 'gateway_ip': '179.144.77.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.144.77.66', 'tags': [], 'project_id': 'd8e674bba05348e9a7bdd014bf9873e1'}} 2025-12-22 02:20:12,875 - INFO - Created VN ctest-vn1-21227047 2025-12-22 02:20:12,887 - DEBUG - VN ctest-vn1-21227047 UUID is 9c224042-2514-4418-9ff1-1a75f195ce58 2025-12-22 02:20:13,258 - DEBUG - Response for create_network : {'network': {'id': 'c6edcae6-30dd-4039-ae29-a451b4ef1234', 'name': 'ctest-vn2-92957817', 'tenant_id': 'd8e674bba05348e9a7bdd014bf9873e1', 'project_id': 'd8e674bba05348e9a7bdd014bf9873e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72310816', 'ctest-vn2-92957817'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 02:20:13,464 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac5f9b8f-20f0-4e22-a810-c2744adf55d6', 'name': '', 'tenant_id': 'd8e674bba05348e9a7bdd014bf9873e1', 'network_id': 'c6edcae6-30dd-4039-ae29-a451b4ef1234', 'ip_version': 4, 'cidr': '79.192.33.192/26', 'allocation_pools': [{'start': '79.192.33.194', 'end': '79.192.33.254'}], 'gateway_ip': '79.192.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.192.33.194', 'tags': [], 'project_id': 'd8e674bba05348e9a7bdd014bf9873e1'}} 2025-12-22 02:20:13,487 - INFO - Created VN ctest-vn2-92957817 2025-12-22 02:20:13,501 - DEBUG - VN ctest-vn2-92957817 UUID is c6edcae6-30dd-4039-ae29-a451b4ef1234 2025-12-22 02:20:13,663 - DEBUG - Services list from nova: [, , , ] 2025-12-22 02:20:14,701 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-1) 2025-12-22 02:20:16,049 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-2) 2025-12-22 02:20:16,169 - INFO - Adding interface with subnet_id 863633dc-4831-43ad-98b2-c9de08dd8bc2, port_id None to router 94b85055-2da6-4c67-8cfa-fe52eca037b5 2025-12-22 02:20:16,612 - INFO - Waiting for VM ctest-vn1-vm1-29805376 to be up.. 2025-12-22 02:20:16,784 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 02:20:21,871 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:20:21,871 - INFO - VM name : ctest-vn1-vm1-29805376 2025-12-22 02:20:21,961 - DEBUG - VM ctest-vn1-vm1-29805376 ID is b2502086-080b-47bf-9264-2552ccade0c6 2025-12-22 02:20:21,984 - DEBUG - VM ctest-vn1-vm1-29805376 launched on Node an-jenkins-deploy-platform-ansible-os-4918-1 2025-12-22 02:20:22,072 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b2502086-080b-47bf-9264-2552ccade0c6 2025-12-22 02:20:22,382 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b2502086-080b-47bf-9264-2552ccade0c6 2025-12-22 02:20:22,416 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d4878aa4-aad6-4e53-9f52-2ef22278d516 2025-12-22 02:20:25,617 - 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 1035ms') 2025-12-22 02:20:25,617 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29805376 failed! 2025-12-22 02:20:25,635 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72310816:ctest-vn1-21227047 is 179.144.77.65 and allocation pool is NOT set 2025-12-22 02:20:27,699 - 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=4.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.596 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.596/2.637/4.678/2.041 ms') 2025-12-22 02:20:27,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29805376 passed 2025-12-22 02:20:27,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:20:27,776 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29805376, IP 179.144.77.67, Port 22 2025-12-22 02:20:27,951 - DEBUG - VM ctest-vn1-vm1-29805376 is ready for SSH connections 2025-12-22 02:20:27,951 - INFO - Waiting for VM ctest-vn2-vm1-84488495 to be up.. 2025-12-22 02:20:28,041 - DEBUG - VM is in ACTIVE state now 2025-12-22 02:20:28,041 - INFO - VM name : ctest-vn2-vm1-84488495 2025-12-22 02:20:28,130 - DEBUG - VM ctest-vn2-vm1-84488495 ID is 0c0ce06b-8127-4b97-bb2f-daaba0cf0e5b 2025-12-22 02:20:28,130 - DEBUG - VM ctest-vn2-vm1-84488495 launched on Node an-jenkins-deploy-platform-ansible-os-4918-2 2025-12-22 02:20:28,216 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0c0ce06b-8127-4b97-bb2f-daaba0cf0e5b 2025-12-22 02:20:28,232 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/14c435a7-9bcb-4bbc-8256-0ab4f86f2249 2025-12-22 02:20:31,413 - 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 1006ms') 2025-12-22 02:20:31,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-84488495 failed! 2025-12-22 02:20:31,450 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72310816:ctest-vn2-92957817 is 79.192.33.193 and allocation pool is NOT set 2025-12-22 02:20:33,512 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 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 = 2.271/4.183/6.095/1.912 ms') 2025-12-22 02:20:33,512 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-84488495 passed 2025-12-22 02:20:33,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:20:33,584 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84488495, IP 79.192.33.195, Port 22 2025-12-22 02:20:33,651 - 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-12-22 02:20:33,762 - DEBUG - VM ctest-vn2-vm1-84488495 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-22 02:20:38,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:20:38,763 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84488495, IP 79.192.33.195, Port 22 2025-12-22 02:20:38,942 - DEBUG - VM ctest-vn2-vm1-84488495 is ready for SSH connections 2025-12-22 02:20:38,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:20:38,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.192.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-22 02:20:38,943 - DEBUG - ping -s 56 -c 3 -W 1 79.192.33.195 2025-12-22 02:20:43,032 - DEBUG - PING 79.192.33.195 (79.192.33.195): 56 data bytes --- 79.192.33.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 02:20:43,032 - WARNING - Ping to IP 79.192.33.195 from VM ctest-vn1-vm1-29805376 failed 2025-12-22 02:20:43,032 - INFO - Adding interface with subnet_id ac5f9b8f-20f0-4e22-a810-c2744adf55d6, port_id None to router 94b85055-2da6-4c67-8cfa-fe52eca037b5 2025-12-22 02:20:43,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:20:43,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.192.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-22 02:20:43,456 - DEBUG - ping -s 56 -c 3 -W 1 79.192.33.195 2025-12-22 02:20:46,677 - DEBUG - PING 79.192.33.195 (79.192.33.195): 56 data bytes 64 bytes from 79.192.33.195: seq=1 ttl=63 time=6.265 ms 64 bytes from 79.192.33.195: seq=2 ttl=63 time=2.170 ms --- 79.192.33.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 2.170/4.217/6.265 ms 2025-12-22 02:20:46,677 - WARNING - Ping to IP 79.192.33.195 from VM ctest-vn1-vm1-29805376 failed 2025-12-22 02:20:47,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.192.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-22 02:20:47,678 - DEBUG - ping -s 56 -c 3 -W 1 79.192.33.195 2025-12-22 02:20:49,904 - DEBUG - PING 79.192.33.195 (79.192.33.195): 56 data bytes 64 bytes from 79.192.33.195: seq=0 ttl=63 time=8.509 ms 64 bytes from 79.192.33.195: seq=1 ttl=63 time=1.366 ms 64 bytes from 79.192.33.195: seq=2 ttl=63 time=1.568 ms --- 79.192.33.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.366/3.814/8.509 ms 2025-12-22 02:20:49,904 - INFO - Ping to IP 79.192.33.195 from VM ctest-vn1-vm1-29805376 passed 2025-12-22 02:20:49,904 - INFO - Deleting interface with subnet_id 863633dc-4831-43ad-98b2-c9de08dd8bc2, port_id None from router 94b85055-2da6-4c67-8cfa-fe52eca037b5 2025-12-22 02:20:50,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:20:50,196 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.192.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-22 02:20:50,196 - DEBUG - ping -s 56 -c 3 -W 1 79.192.33.195 2025-12-22 02:20:53,422 - DEBUG - PING 79.192.33.195 (79.192.33.195): 56 data bytes --- 79.192.33.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 02:20:53,422 - WARNING - Ping to IP 79.192.33.195 from VM ctest-vn1-vm1-29805376 failed 2025-12-22 02:20:53,423 - INFO - Adding interface with subnet_id 863633dc-4831-43ad-98b2-c9de08dd8bc2, port_id None to router 94b85055-2da6-4c67-8cfa-fe52eca037b5 2025-12-22 02:20:53,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 02:20:53,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.192.33.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-12-22 02:20:53,854 - DEBUG - ping -s 56 -c 3 -W 1 79.192.33.195 2025-12-22 02:20:56,082 - DEBUG - PING 79.192.33.195 (79.192.33.195): 56 data bytes 64 bytes from 79.192.33.195: seq=0 ttl=63 time=3.212 ms 64 bytes from 79.192.33.195: seq=1 ttl=63 time=1.965 ms 64 bytes from 79.192.33.195: seq=2 ttl=63 time=1.545 ms --- 79.192.33.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.545/2.240/3.212 ms 2025-12-22 02:20:56,082 - INFO - Ping to IP 79.192.33.195 from VM ctest-vn1-vm1-29805376 passed 2025-12-22 02:20:56,082 - INFO - Deleting interface with subnet_id ac5f9b8f-20f0-4e22-a810-c2744adf55d6, port_id None from router 94b85055-2da6-4c67-8cfa-fe52eca037b5 2025-12-22 02:20:56,346 - INFO - Deleting interface with subnet_id 863633dc-4831-43ad-98b2-c9de08dd8bc2, port_id None from router 94b85055-2da6-4c67-8cfa-fe52eca037b5 2025-12-22 02:20:56,731 - INFO - Deleting VM ctest-vn2-vm1-84488495 2025-12-22 02:20:56,823 - INFO - Deleting VM ctest-vn1-vm1-29805376 2025-12-22 02:20:56,899 - INFO - Deleting VN ctest-vn2-92957817 2025-12-22 02:20:56,946 - DEBUG - VN c6edcae6-30dd-4039-ae29-a451b4ef1234 still in use: Unable to complete operation on network c6edcae6-30dd-4039-ae29-a451b4ef1234. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b6ad9e90-5ffa-4f75-8cc9-d5c8c8ce8c88'] 2025-12-22 02:20:56,946 - WARNING - Deleting VN ctest-vn2-92957817 failed..Will retry 2025-12-22 02:20:59,110 - DEBUG - Response for deleting network () 2025-12-22 02:20:59,110 - INFO - Deleting VN ctest-vn1-21227047 2025-12-22 02:20:59,272 - DEBUG - Response for deleting network () 2025-12-22 02:21:00,585 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 02:21:00,585 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:50]
2025-12-22 02:21:00,585 - INFO - -------------------------------------------------------------------------------- 2025-12-22 02:21:01,411 - INFO - Deleted project: ctest-TestRouters-72310816, ID : d8e674bb-a053-48e9-a7bd-d014bf9873e1