2025-07-28 02:22:17,880 - INFO - Domain Default found not creating 2025-07-28 02:22:18,136 - INFO - Project ctest-TestRouters-21656360 not found, creating it 2025-07-28 02:22:18,625 - INFO - Created Project:ctest-TestRouters-21656360, ID : 3bd58759-cf7e-4b82-870f-293f845c3e57 2025-07-28 02:22:20,138 - INFO - ================================================================================ 2025-07-28 02:22:20,138 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-28 02:22:20,139 - 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-28 02:22:20,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-07-28 02:22:20,395 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:22:20,395 - INFO - 2025-07-28 02:22:20,975 - DEBUG - Response for create_network : {'network': {'id': '65464507-e9dd-465f-a4af-ee8fe324f706', 'name': 'ctest-vn1-97744549', 'tenant_id': '3bd58759cf7e4b82870f293f845c3e57', 'project_id': '3bd58759cf7e4b82870f293f845c3e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21656360', 'ctest-vn1-97744549'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:22:21,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '3dfd2396-c132-437d-85eb-207529a8391d', 'name': '', 'tenant_id': '3bd58759cf7e4b82870f293f845c3e57', 'network_id': '65464507-e9dd-465f-a4af-ee8fe324f706', 'ip_version': 4, 'cidr': '221.103.209.128/26', 'allocation_pools': [{'start': '221.103.209.130', 'end': '221.103.209.190'}], 'gateway_ip': '221.103.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.103.209.130', 'tags': [], 'project_id': '3bd58759cf7e4b82870f293f845c3e57'}} 2025-07-28 02:22:21,258 - INFO - Created VN ctest-vn1-97744549 2025-07-28 02:22:21,312 - DEBUG - VN ctest-vn1-97744549 UUID is 65464507-e9dd-465f-a4af-ee8fe324f706 2025-07-28 02:22:21,690 - DEBUG - Response for create_network : {'network': {'id': 'fea149e3-72d2-48ef-a304-43bdc326ec18', 'name': 'ctest-vn2-56981776', 'tenant_id': '3bd58759cf7e4b82870f293f845c3e57', 'project_id': '3bd58759cf7e4b82870f293f845c3e57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21656360', 'ctest-vn2-56981776'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:22:21,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '8654c3d0-9601-40cc-9b74-e943516a41ea', 'name': '', 'tenant_id': '3bd58759cf7e4b82870f293f845c3e57', 'network_id': 'fea149e3-72d2-48ef-a304-43bdc326ec18', 'ip_version': 4, 'cidr': '209.144.176.192/26', 'allocation_pools': [{'start': '209.144.176.194', 'end': '209.144.176.254'}], 'gateway_ip': '209.144.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.144.176.194', 'tags': [], 'project_id': '3bd58759cf7e4b82870f293f845c3e57'}} 2025-07-28 02:22:21,941 - INFO - Created VN ctest-vn2-56981776 2025-07-28 02:22:21,996 - DEBUG - VN ctest-vn2-56981776 UUID is fea149e3-72d2-48ef-a304-43bdc326ec18 2025-07-28 02:22:22,179 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:22:23,322 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1) 2025-07-28 02:22:24,832 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1) 2025-07-28 02:22:25,072 - INFO - Adding interface with subnet_id 3dfd2396-c132-437d-85eb-207529a8391d, port_id None to router 44d6403c-cc86-483f-8670-8d325caec400 2025-07-28 02:22:25,512 - INFO - Waiting for VM ctest-vn1-vm1-27437497 to be up.. 2025-07-28 02:22:25,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:22:30,766 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:30,766 - INFO - VM name : ctest-vn1-vm1-27437497 2025-07-28 02:22:30,840 - DEBUG - VM ctest-vn1-vm1-27437497 ID is 239cd29c-a98d-4390-b074-f46251f5aab4 2025-07-28 02:22:30,861 - DEBUG - VM ctest-vn1-vm1-27437497 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1 2025-07-28 02:22:30,944 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/239cd29c-a98d-4390-b074-f46251f5aab4 2025-07-28 02:22:31,244 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/239cd29c-a98d-4390-b074-f46251f5aab4 2025-07-28 02:22:31,279 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/74dea7e7-15e7-4815-89f0-645814348d90 2025-07-28 02:22:34,562 - 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 1030ms') 2025-07-28 02:22:34,562 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27437497 failed! 2025-07-28 02:22:34,620 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21656360:ctest-vn1-97744549 is 221.103.209.129 and allocation pool is NOT set 2025-07-28 02:22:36,688 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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 = 2.615/3.180/3.745/0.565 ms') 2025-07-28 02:22:36,688 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27437497 passed 2025-07-28 02:22:36,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:36,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27437497, IP 221.103.209.131, Port 22 2025-07-28 02:22:36,905 - 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-28 02:22:37,007 - DEBUG - VM ctest-vn1-vm1-27437497 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-28 02:22:42,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:42,008 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27437497, IP 221.103.209.131, Port 22 2025-07-28 02:22:42,178 - DEBUG - VM ctest-vn1-vm1-27437497 is ready for SSH connections 2025-07-28 02:22:42,178 - INFO - Waiting for VM ctest-vn2-vm1-66435817 to be up.. 2025-07-28 02:22:42,264 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:22:42,264 - INFO - VM name : ctest-vn2-vm1-66435817 2025-07-28 02:22:42,342 - DEBUG - VM ctest-vn2-vm1-66435817 ID is 0bc8ce58-8394-4504-9f4a-9cb73419f275 2025-07-28 02:22:42,342 - DEBUG - VM ctest-vn2-vm1-66435817 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1 2025-07-28 02:22:42,429 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0bc8ce58-8394-4504-9f4a-9cb73419f275 2025-07-28 02:22:42,440 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1a23d13d-7561-48db-9fcd-9ef70cfb56ab 2025-07-28 02:22:43,689 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.390/1.875/3.361/1.485 ms') 2025-07-28 02:22:43,689 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-66435817 passed 2025-07-28 02:22:43,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:43,844 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66435817, IP 209.144.176.195, Port 22 2025-07-28 02:22:44,010 - DEBUG - VM ctest-vn2-vm1-66435817 is ready for SSH connections 2025-07-28 02:22:44,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:44,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.144.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:22:44,010 - DEBUG - ping -s 56 -c 3 -W 1 209.144.176.195 2025-07-28 02:22:49,005 - DEBUG - PING 209.144.176.195 (209.144.176.195): 56 data bytes --- 209.144.176.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-28 02:22:49,005 - WARNING - Ping to IP 209.144.176.195 from VM ctest-vn1-vm1-27437497 failed 2025-07-28 02:22:49,005 - INFO - Adding interface with subnet_id 8654c3d0-9601-40cc-9b74-e943516a41ea, port_id None to router 44d6403c-cc86-483f-8670-8d325caec400 2025-07-28 02:22:49,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:49,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.144.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:22:49,284 - DEBUG - ping -s 56 -c 3 -W 1 209.144.176.195 2025-07-28 02:22:52,491 - DEBUG - PING 209.144.176.195 (209.144.176.195): 56 data bytes 64 bytes from 209.144.176.195: seq=1 ttl=63 time=2.906 ms 64 bytes from 209.144.176.195: seq=2 ttl=63 time=0.836 ms --- 209.144.176.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.836/1.871/2.906 ms 2025-07-28 02:22:52,491 - WARNING - Ping to IP 209.144.176.195 from VM ctest-vn1-vm1-27437497 failed 2025-07-28 02:22:53,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.144.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:22:53,493 - DEBUG - ping -s 56 -c 3 -W 1 209.144.176.195 2025-07-28 02:22:55,732 - DEBUG - PING 209.144.176.195 (209.144.176.195): 56 data bytes 64 bytes from 209.144.176.195: seq=0 ttl=63 time=1.588 ms 64 bytes from 209.144.176.195: seq=1 ttl=63 time=0.745 ms 64 bytes from 209.144.176.195: seq=2 ttl=63 time=0.874 ms --- 209.144.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.069/1.588 ms 2025-07-28 02:22:55,732 - INFO - Ping to IP 209.144.176.195 from VM ctest-vn1-vm1-27437497 passed 2025-07-28 02:22:55,732 - INFO - Deleting interface with subnet_id 3dfd2396-c132-437d-85eb-207529a8391d, port_id None from router 44d6403c-cc86-483f-8670-8d325caec400 2025-07-28 02:22:55,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:55,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.144.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:22:55,868 - DEBUG - ping -s 56 -c 3 -W 1 209.144.176.195 2025-07-28 02:22:59,076 - DEBUG - PING 209.144.176.195 (209.144.176.195): 56 data bytes --- 209.144.176.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-28 02:22:59,076 - WARNING - Ping to IP 209.144.176.195 from VM ctest-vn1-vm1-27437497 failed 2025-07-28 02:22:59,076 - INFO - Adding interface with subnet_id 3dfd2396-c132-437d-85eb-207529a8391d, port_id None to router 44d6403c-cc86-483f-8670-8d325caec400 2025-07-28 02:22:59,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:22:59,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.144.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:22:59,320 - DEBUG - ping -s 56 -c 3 -W 1 209.144.176.195 2025-07-28 02:23:01,525 - DEBUG - PING 209.144.176.195 (209.144.176.195): 56 data bytes 64 bytes from 209.144.176.195: seq=0 ttl=63 time=1.437 ms 64 bytes from 209.144.176.195: seq=1 ttl=63 time=0.886 ms 64 bytes from 209.144.176.195: seq=2 ttl=63 time=0.964 ms --- 209.144.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.095/1.437 ms 2025-07-28 02:23:01,526 - INFO - Ping to IP 209.144.176.195 from VM ctest-vn1-vm1-27437497 passed 2025-07-28 02:23:01,526 - INFO - Deleting interface with subnet_id 8654c3d0-9601-40cc-9b74-e943516a41ea, port_id None from router 44d6403c-cc86-483f-8670-8d325caec400 2025-07-28 02:23:01,663 - INFO - Deleting interface with subnet_id 3dfd2396-c132-437d-85eb-207529a8391d, port_id None from router 44d6403c-cc86-483f-8670-8d325caec400 2025-07-28 02:23:01,859 - INFO - Deleting VM ctest-vn2-vm1-66435817 2025-07-28 02:23:01,939 - INFO - Deleting VM ctest-vn1-vm1-27437497 2025-07-28 02:23:02,021 - INFO - Deleting VN ctest-vn2-56981776 2025-07-28 02:23:02,065 - DEBUG - VN fea149e3-72d2-48ef-a304-43bdc326ec18 still in use: Unable to complete operation on network fea149e3-72d2-48ef-a304-43bdc326ec18. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02a9167f-2a8d-4e06-866f-6b950db9ecfe'] 2025-07-28 02:23:02,065 - WARNING - Deleting VN ctest-vn2-56981776 failed..Will retry 2025-07-28 02:23:04,186 - DEBUG - Response for deleting network () 2025-07-28 02:23:04,186 - INFO - Deleting VN ctest-vn1-97744549 2025-07-28 02:23:04,307 - DEBUG - Response for deleting network () 2025-07-28 02:23:04,563 - DEBUG - No XMPP flaps were noticed during the test
2025-07-28 02:23:04,563 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-07-28 02:23:04,563 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:23:05,295 - INFO - Deleted project: ctest-TestRouters-21656360, ID : 3bd58759-cf7e-4b82-870f-293f845c3e57