2025-11-20 02:11:41,820 - INFO - Domain Default found not creating 2025-11-20 02:11:42,004 - INFO - Project ctest-TestRouters-09387463 not found, creating it 2025-11-20 02:11:42,528 - INFO - Created Project:ctest-TestRouters-09387463, ID : e3853903-b3b4-4413-b9e9-2e2df8c6469a 2025-11-20 02:11:44,043 - INFO - ================================================================================ 2025-11-20 02:11:44,043 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-20 02:11:44,043 - 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-11-20 02:11:45,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.201': '0', '10.20.0.129': '0'}, '10.0.0.48': {'10.20.0.201': '0', '10.20.0.129': '0'}} with 2025-11-20 02:11:45,317 - INFO - Initial checks done. Running the testcase now 2025-11-20 02:11:45,317 - INFO - 2025-11-20 02:11:46,013 - DEBUG - Response for create_network : {'network': {'id': 'f27c6fad-dcad-4335-afe1-c00d8baa06af', 'name': 'ctest-vn1-18830024', 'tenant_id': 'e3853903b3b44413b9e92e2df8c6469a', 'project_id': 'e3853903b3b44413b9e92e2df8c6469a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-09387463', 'ctest-vn1-18830024'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 02:11:46,346 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e7bb228-c512-4095-b7d7-e3f1552ffba3', 'name': '', 'tenant_id': 'e3853903b3b44413b9e92e2df8c6469a', 'network_id': 'f27c6fad-dcad-4335-afe1-c00d8baa06af', 'ip_version': 4, 'cidr': '70.22.32.64/26', 'allocation_pools': [{'start': '70.22.32.66', 'end': '70.22.32.126'}], 'gateway_ip': '70.22.32.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.22.32.66', 'tags': [], 'project_id': 'e3853903b3b44413b9e92e2df8c6469a'}} 2025-11-20 02:11:46,367 - INFO - Created VN ctest-vn1-18830024 2025-11-20 02:11:46,378 - DEBUG - VN ctest-vn1-18830024 UUID is f27c6fad-dcad-4335-afe1-c00d8baa06af 2025-11-20 02:11:46,712 - DEBUG - Response for create_network : {'network': {'id': '6dae7d21-2660-477d-801b-ffeff79b48cf', 'name': 'ctest-vn2-11333356', 'tenant_id': 'e3853903b3b44413b9e92e2df8c6469a', 'project_id': 'e3853903b3b44413b9e92e2df8c6469a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-09387463', 'ctest-vn2-11333356'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 02:11:46,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '41986ec9-0945-4ccf-9df8-5ae2edb2cc96', 'name': '', 'tenant_id': 'e3853903b3b44413b9e92e2df8c6469a', 'network_id': '6dae7d21-2660-477d-801b-ffeff79b48cf', 'ip_version': 4, 'cidr': '95.167.55.192/26', 'allocation_pools': [{'start': '95.167.55.194', 'end': '95.167.55.254'}], 'gateway_ip': '95.167.55.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.167.55.194', 'tags': [], 'project_id': 'e3853903b3b44413b9e92e2df8c6469a'}} 2025-11-20 02:11:46,967 - INFO - Created VN ctest-vn2-11333356 2025-11-20 02:11:46,981 - DEBUG - VN ctest-vn2-11333356 UUID is 6dae7d21-2660-477d-801b-ffeff79b48cf 2025-11-20 02:11:47,145 - DEBUG - Services list from nova: [, , , ] 2025-11-20 02:11:48,163 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-2) 2025-11-20 02:11:49,443 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4768-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4768-1) 2025-11-20 02:11:49,570 - INFO - Adding interface with subnet_id 0e7bb228-c512-4095-b7d7-e3f1552ffba3, port_id None to router 5c8af237-6857-4c75-9976-94702854d947 2025-11-20 02:11:49,923 - INFO - Waiting for VM ctest-vn1-vm1-89640280 to be up.. 2025-11-20 02:11:50,054 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 02:11:55,132 - DEBUG - VM is in ACTIVE state now 2025-11-20 02:11:55,132 - INFO - VM name : ctest-vn1-vm1-89640280 2025-11-20 02:11:55,212 - DEBUG - VM ctest-vn1-vm1-89640280 ID is 7b579583-a99f-4a35-a8f0-62ba97fc61dd 2025-11-20 02:11:55,234 - DEBUG - VM ctest-vn1-vm1-89640280 launched on Node an-jenkins-deploy-platform-ansible-os-4768-2 2025-11-20 02:11:55,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b579583-a99f-4a35-a8f0-62ba97fc61dd 2025-11-20 02:11:55,612 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b579583-a99f-4a35-a8f0-62ba97fc61dd 2025-11-20 02:11:55,650 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/13f44888-6096-44a7-a6b7-2a19c49d7399 2025-11-20 02:11:58,813 - 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-11-20 02:11:58,813 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89640280 failed! 2025-11-20 02:11:58,827 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-09387463:ctest-vn1-18830024 is 70.22.32.65 and allocation pool is NOT set 2025-11-20 02:12:00,903 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 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.576/2.811/4.047/1.235 ms') 2025-11-20 02:12:00,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89640280 passed 2025-11-20 02:12:00,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:00,975 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89640280, IP 70.22.32.67, Port 22 2025-11-20 02:12:01,047 - 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-11-20 02:12:01,143 - DEBUG - VM ctest-vn1-vm1-89640280 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 02:12:06,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:06,145 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89640280, IP 70.22.32.67, Port 22 2025-11-20 02:12:06,314 - DEBUG - VM ctest-vn1-vm1-89640280 is ready for SSH connections 2025-11-20 02:12:06,314 - INFO - Waiting for VM ctest-vn2-vm1-21913381 to be up.. 2025-11-20 02:12:06,461 - DEBUG - VM is in ACTIVE state now 2025-11-20 02:12:06,462 - INFO - VM name : ctest-vn2-vm1-21913381 2025-11-20 02:12:06,545 - DEBUG - VM ctest-vn2-vm1-21913381 ID is b722b333-51e2-4387-8aa7-41d773506137 2025-11-20 02:12:06,545 - DEBUG - VM ctest-vn2-vm1-21913381 launched on Node an-jenkins-deploy-platform-ansible-os-4768-1 2025-11-20 02:12:06,642 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b722b333-51e2-4387-8aa7-41d773506137 2025-11-20 02:12:06,673 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0bb08c50-924e-4f1a-b64a-9ead6eede517 2025-11-20 02:12:07,837 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/2.082/3.685/1.602 ms') 2025-11-20 02:12:07,837 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-21913381 passed 2025-11-20 02:12:07,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:07,905 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-21913381, IP 95.167.55.195, Port 22 2025-11-20 02:12:08,082 - DEBUG - VM ctest-vn2-vm1-21913381 is ready for SSH connections 2025-11-20 02:12:08,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:08,082 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.167.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 02:12:08,082 - DEBUG - ping -s 56 -c 3 -W 1 95.167.55.195 2025-11-20 02:12:12,050 - DEBUG - PING 95.167.55.195 (95.167.55.195): 56 data bytes --- 95.167.55.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 02:12:12,050 - WARNING - Ping to IP 95.167.55.195 from VM ctest-vn1-vm1-89640280 failed 2025-11-20 02:12:12,050 - INFO - Adding interface with subnet_id 41986ec9-0945-4ccf-9df8-5ae2edb2cc96, port_id None to router 5c8af237-6857-4c75-9976-94702854d947 2025-11-20 02:12:12,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:12,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.167.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 02:12:12,496 - DEBUG - ping -s 56 -c 3 -W 1 95.167.55.195 2025-11-20 02:12:15,728 - DEBUG - PING 95.167.55.195 (95.167.55.195): 56 data bytes 64 bytes from 95.167.55.195: seq=1 ttl=63 time=5.317 ms 64 bytes from 95.167.55.195: seq=2 ttl=63 time=1.315 ms --- 95.167.55.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.315/3.316/5.317 ms 2025-11-20 02:12:15,728 - WARNING - Ping to IP 95.167.55.195 from VM ctest-vn1-vm1-89640280 failed 2025-11-20 02:12:16,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.167.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 02:12:16,729 - DEBUG - ping -s 56 -c 3 -W 1 95.167.55.195 2025-11-20 02:12:18,920 - DEBUG - PING 95.167.55.195 (95.167.55.195): 56 data bytes 64 bytes from 95.167.55.195: seq=0 ttl=63 time=2.968 ms 64 bytes from 95.167.55.195: seq=1 ttl=63 time=1.339 ms 64 bytes from 95.167.55.195: seq=2 ttl=63 time=1.272 ms --- 95.167.55.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.272/1.859/2.968 ms 2025-11-20 02:12:18,921 - INFO - Ping to IP 95.167.55.195 from VM ctest-vn1-vm1-89640280 passed 2025-11-20 02:12:18,921 - INFO - Deleting interface with subnet_id 0e7bb228-c512-4095-b7d7-e3f1552ffba3, port_id None from router 5c8af237-6857-4c75-9976-94702854d947 2025-11-20 02:12:19,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:19,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.167.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 02:12:19,147 - DEBUG - ping -s 56 -c 3 -W 1 95.167.55.195 2025-11-20 02:12:22,355 - DEBUG - PING 95.167.55.195 (95.167.55.195): 56 data bytes --- 95.167.55.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 02:12:22,355 - WARNING - Ping to IP 95.167.55.195 from VM ctest-vn1-vm1-89640280 failed 2025-11-20 02:12:22,356 - INFO - Adding interface with subnet_id 0e7bb228-c512-4095-b7d7-e3f1552ffba3, port_id None to router 5c8af237-6857-4c75-9976-94702854d947 2025-11-20 02:12:22,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 02:12:22,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.167.55.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-20 02:12:22,695 - DEBUG - ping -s 56 -c 3 -W 1 95.167.55.195 2025-11-20 02:12:24,928 - DEBUG - PING 95.167.55.195 (95.167.55.195): 56 data bytes 64 bytes from 95.167.55.195: seq=0 ttl=63 time=3.214 ms 64 bytes from 95.167.55.195: seq=1 ttl=63 time=1.195 ms 64 bytes from 95.167.55.195: seq=2 ttl=63 time=1.473 ms --- 95.167.55.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.195/1.960/3.214 ms 2025-11-20 02:12:24,928 - INFO - Ping to IP 95.167.55.195 from VM ctest-vn1-vm1-89640280 passed 2025-11-20 02:12:24,928 - INFO - Deleting interface with subnet_id 41986ec9-0945-4ccf-9df8-5ae2edb2cc96, port_id None from router 5c8af237-6857-4c75-9976-94702854d947 2025-11-20 02:12:25,139 - INFO - Deleting interface with subnet_id 0e7bb228-c512-4095-b7d7-e3f1552ffba3, port_id None from router 5c8af237-6857-4c75-9976-94702854d947 2025-11-20 02:12:25,428 - INFO - Deleting VM ctest-vn2-vm1-21913381 2025-11-20 02:12:25,518 - INFO - Deleting VM ctest-vn1-vm1-89640280 2025-11-20 02:12:25,592 - INFO - Deleting VN ctest-vn2-11333356 2025-11-20 02:12:25,632 - DEBUG - VN 6dae7d21-2660-477d-801b-ffeff79b48cf still in use: Unable to complete operation on network 6dae7d21-2660-477d-801b-ffeff79b48cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe233868-5530-4e36-b129-84a2e697f0f1'] 2025-11-20 02:12:25,633 - WARNING - Deleting VN ctest-vn2-11333356 failed..Will retry 2025-11-20 02:12:27,844 - DEBUG - Response for deleting network () 2025-11-20 02:12:27,844 - INFO - Deleting VN ctest-vn1-18830024 2025-11-20 02:12:28,020 - DEBUG - Response for deleting network () 2025-11-20 02:12:29,297 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 02:12:29,297 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-11-20 02:12:29,297 - INFO - -------------------------------------------------------------------------------- 2025-11-20 02:12:30,052 - INFO - Deleted project: ctest-TestRouters-09387463, ID : e3853903-b3b4-4413-b9e9-2e2df8c6469a