2025-10-16 02:28:01,866 - INFO - Domain Default found not creating 2025-10-16 02:28:02,052 - INFO - Project ctest-TestRouters-84722980 not found, creating it 2025-10-16 02:28:02,627 - INFO - Created Project:ctest-TestRouters-84722980, ID : 2b54ae8d-19f9-4f33-9638-c2547407cc5b 2025-10-16 02:28:04,102 - INFO - ================================================================================ 2025-10-16 02:28:04,102 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-16 02:28:04,102 - 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-16 02:28:05,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.252': '0', '10.20.0.5': '0'}, '10.0.0.129': {'10.20.0.5': '0', '10.20.0.252': '0'}} with 2025-10-16 02:28:05,412 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:28:05,412 - INFO - 2025-10-16 02:28:06,108 - DEBUG - Response for create_network : {'network': {'id': '2b004d92-26ba-4009-87bd-092f84052b2f', 'name': 'ctest-vn1-43803780', 'tenant_id': '2b54ae8d19f94f339638c2547407cc5b', 'project_id': '2b54ae8d19f94f339638c2547407cc5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84722980', 'ctest-vn1-43803780'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:28:06,443 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf3ecd92-88ee-454d-8496-836549502e1d', 'name': '', 'tenant_id': '2b54ae8d19f94f339638c2547407cc5b', 'network_id': '2b004d92-26ba-4009-87bd-092f84052b2f', 'ip_version': 4, 'cidr': '14.38.14.64/26', 'allocation_pools': [{'start': '14.38.14.66', 'end': '14.38.14.126'}], 'gateway_ip': '14.38.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.38.14.66', 'tags': [], 'project_id': '2b54ae8d19f94f339638c2547407cc5b'}} 2025-10-16 02:28:06,468 - INFO - Created VN ctest-vn1-43803780 2025-10-16 02:28:06,481 - DEBUG - VN ctest-vn1-43803780 UUID is 2b004d92-26ba-4009-87bd-092f84052b2f 2025-10-16 02:28:06,912 - DEBUG - Response for create_network : {'network': {'id': '267779d2-5f47-4296-9da2-b6be82763002', 'name': 'ctest-vn2-90027644', 'tenant_id': '2b54ae8d19f94f339638c2547407cc5b', 'project_id': '2b54ae8d19f94f339638c2547407cc5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-84722980', 'ctest-vn2-90027644'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:28:07,161 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2fc7a36-c433-498a-8c53-40b9e6a90539', 'name': '', 'tenant_id': '2b54ae8d19f94f339638c2547407cc5b', 'network_id': '267779d2-5f47-4296-9da2-b6be82763002', 'ip_version': 4, 'cidr': '58.48.64.192/26', 'allocation_pools': [{'start': '58.48.64.194', 'end': '58.48.64.254'}], 'gateway_ip': '58.48.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.48.64.194', 'tags': [], 'project_id': '2b54ae8d19f94f339638c2547407cc5b'}} 2025-10-16 02:28:07,186 - INFO - Created VN ctest-vn2-90027644 2025-10-16 02:28:07,201 - DEBUG - VN ctest-vn2-90027644 UUID is 267779d2-5f47-4296-9da2-b6be82763002 2025-10-16 02:28:07,376 - DEBUG - Services list from nova: [, , , ] 2025-10-16 02:28:08,447 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-1) 2025-10-16 02:28:09,715 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4339-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4339-2) 2025-10-16 02:28:09,860 - INFO - Adding interface with subnet_id cf3ecd92-88ee-454d-8496-836549502e1d, port_id None to router 79cccf37-2a86-407a-8367-01ac07d36a61 2025-10-16 02:28:10,215 - INFO - Waiting for VM ctest-vn1-vm1-26369418 to be up.. 2025-10-16 02:28:10,366 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:28:15,448 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:28:15,448 - INFO - VM name : ctest-vn1-vm1-26369418 2025-10-16 02:28:15,521 - DEBUG - VM ctest-vn1-vm1-26369418 ID is dcb18c20-4be1-447e-9fe8-ca72d881b79b 2025-10-16 02:28:15,544 - DEBUG - VM ctest-vn1-vm1-26369418 launched on Node an-jenkins-deploy-platform-ansible-os-4339-1 2025-10-16 02:28:15,622 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dcb18c20-4be1-447e-9fe8-ca72d881b79b 2025-10-16 02:28:15,926 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dcb18c20-4be1-447e-9fe8-ca72d881b79b 2025-10-16 02:28:15,957 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/151417a0-25d6-4eb6-865e-1b91080433b9 2025-10-16 02:28:19,142 - 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 1014ms') 2025-10-16 02:28:19,143 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26369418 failed! 2025-10-16 02:28:19,157 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-84722980:ctest-vn1-43803780 is 14.38.14.65 and allocation pool is NOT set 2025-10-16 02:28:21,223 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 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.157/3.078/3.999/0.921 ms') 2025-10-16 02:28:21,223 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26369418 passed 2025-10-16 02:28:21,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:28:21,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26369418, IP 14.38.14.67, Port 22 2025-10-16 02:28:21,459 - DEBUG - VM ctest-vn1-vm1-26369418 is ready for SSH connections 2025-10-16 02:28:21,459 - INFO - Waiting for VM ctest-vn2-vm1-77818482 to be up.. 2025-10-16 02:28:21,537 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:28:21,537 - INFO - VM name : ctest-vn2-vm1-77818482 2025-10-16 02:28:21,636 - DEBUG - VM ctest-vn2-vm1-77818482 ID is 08c18267-4ab3-4ee7-b347-23ab60b1aedd 2025-10-16 02:28:21,636 - DEBUG - VM ctest-vn2-vm1-77818482 launched on Node an-jenkins-deploy-platform-ansible-os-4339-2 2025-10-16 02:28:21,725 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/08c18267-4ab3-4ee7-b347-23ab60b1aedd 2025-10-16 02:28:21,737 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/aa13d4e8-0b89-4be9-8c50-26cc4e915270 2025-10-16 02:28:22,913 - 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=5.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.15 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 = 3.146/4.518/5.891/1.372 ms') 2025-10-16 02:28:22,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-77818482 passed 2025-10-16 02:28:22,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:28:22,982 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-77818482, IP 58.48.64.195, Port 22 2025-10-16 02:28:23,051 - 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-10-16 02:28:23,131 - DEBUG - VM ctest-vn2-vm1-77818482 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 02:28:28,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:28:28,132 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-77818482, IP 58.48.64.195, Port 22 2025-10-16 02:28:28,299 - DEBUG - VM ctest-vn2-vm1-77818482 is ready for SSH connections 2025-10-16 02:28:28,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:28:28,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.48.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-16 02:28:28,300 - DEBUG - ping -s 56 -c 3 -W 1 58.48.64.195 2025-10-16 02:28:32,249 - DEBUG - PING 58.48.64.195 (58.48.64.195): 56 data bytes --- 58.48.64.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 02:28:32,249 - WARNING - Ping to IP 58.48.64.195 from VM ctest-vn1-vm1-26369418 failed 2025-10-16 02:28:32,249 - INFO - Adding interface with subnet_id c2fc7a36-c433-498a-8c53-40b9e6a90539, port_id None to router 79cccf37-2a86-407a-8367-01ac07d36a61 2025-10-16 02:28:32,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:28:32,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.48.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-16 02:28:32,666 - DEBUG - ping -s 56 -c 3 -W 1 58.48.64.195 2025-10-16 02:28:34,881 - DEBUG - PING 58.48.64.195 (58.48.64.195): 56 data bytes 64 bytes from 58.48.64.195: seq=0 ttl=63 time=5.177 ms 64 bytes from 58.48.64.195: seq=1 ttl=63 time=1.269 ms 64 bytes from 58.48.64.195: seq=2 ttl=63 time=1.346 ms --- 58.48.64.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.269/2.597/5.177 ms 2025-10-16 02:28:34,881 - INFO - Ping to IP 58.48.64.195 from VM ctest-vn1-vm1-26369418 passed 2025-10-16 02:28:34,881 - INFO - Deleting interface with subnet_id cf3ecd92-88ee-454d-8496-836549502e1d, port_id None from router 79cccf37-2a86-407a-8367-01ac07d36a61 2025-10-16 02:28:35,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:28:35,097 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.48.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-16 02:28:35,097 - DEBUG - ping -s 56 -c 3 -W 1 58.48.64.195 2025-10-16 02:28:38,306 - DEBUG - PING 58.48.64.195 (58.48.64.195): 56 data bytes --- 58.48.64.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-16 02:28:38,306 - WARNING - Ping to IP 58.48.64.195 from VM ctest-vn1-vm1-26369418 failed 2025-10-16 02:28:38,306 - INFO - Adding interface with subnet_id cf3ecd92-88ee-454d-8496-836549502e1d, port_id None to router 79cccf37-2a86-407a-8367-01ac07d36a61 2025-10-16 02:28:38,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:28:38,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.48.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-16 02:28:38,736 - DEBUG - ping -s 56 -c 3 -W 1 58.48.64.195 2025-10-16 02:28:40,935 - DEBUG - PING 58.48.64.195 (58.48.64.195): 56 data bytes 64 bytes from 58.48.64.195: seq=0 ttl=63 time=2.393 ms 64 bytes from 58.48.64.195: seq=1 ttl=63 time=1.299 ms 64 bytes from 58.48.64.195: seq=2 ttl=63 time=1.311 ms --- 58.48.64.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.299/1.667/2.393 ms 2025-10-16 02:28:40,936 - INFO - Ping to IP 58.48.64.195 from VM ctest-vn1-vm1-26369418 passed 2025-10-16 02:28:40,936 - INFO - Deleting interface with subnet_id c2fc7a36-c433-498a-8c53-40b9e6a90539, port_id None from router 79cccf37-2a86-407a-8367-01ac07d36a61 2025-10-16 02:28:41,172 - INFO - Deleting interface with subnet_id cf3ecd92-88ee-454d-8496-836549502e1d, port_id None from router 79cccf37-2a86-407a-8367-01ac07d36a61 2025-10-16 02:28:41,518 - INFO - Deleting VM ctest-vn2-vm1-77818482 2025-10-16 02:28:41,642 - INFO - Deleting VM ctest-vn1-vm1-26369418 2025-10-16 02:28:41,712 - INFO - Deleting VN ctest-vn2-90027644 2025-10-16 02:28:41,761 - DEBUG - VN 267779d2-5f47-4296-9da2-b6be82763002 still in use: Unable to complete operation on network 267779d2-5f47-4296-9da2-b6be82763002. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cfbbcfba-71bd-4143-bd98-b87db859e995'] 2025-10-16 02:28:41,761 - WARNING - Deleting VN ctest-vn2-90027644 failed..Will retry 2025-10-16 02:28:43,898 - DEBUG - Response for deleting network () 2025-10-16 02:28:43,898 - INFO - Deleting VN ctest-vn1-43803780 2025-10-16 02:28:44,066 - DEBUG - Response for deleting network () 2025-10-16 02:28:45,333 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 02:28:45,333 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41] 2025-10-16 02:28:45,333 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:28:46,050 - INFO - Deleted project: ctest-TestRouters-84722980, ID : 2b54ae8d-19f9-4f33-9638-c2547407cc5b