2025-10-23 16:34:00,088 - INFO - Domain Default found not creating 2025-10-23 16:34:00,264 - INFO - Project ctest-TestRouters-20686104 not found, creating it 2025-10-23 16:34:00,777 - INFO - Created Project:ctest-TestRouters-20686104, ID : 9083830c-b261-4ed0-9032-9d0c4c9c78ca 2025-10-23 16:34:02,851 - INFO - ================================================================================ 2025-10-23 16:34:02,852 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 16:34:02,852 - 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-23 16:34:03,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-23 16:34:03,119 - INFO - Initial checks done. Running the testcase now 2025-10-23 16:34:03,119 - INFO - 2025-10-23 16:34:03,816 - DEBUG - Response for create_network : {'network': {'id': '420611b3-4000-4516-bd0d-bebd7df47804', 'name': 'ctest-vn1-48161718', 'tenant_id': '9083830cb2614ed090329d0c4c9c78ca', 'project_id': '9083830cb2614ed090329d0c4c9c78ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20686104', 'ctest-vn1-48161718'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:34:04,021 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d93a3b0-3243-4772-a65d-48f59bba3c0c', 'name': '', 'tenant_id': '9083830cb2614ed090329d0c4c9c78ca', 'network_id': '420611b3-4000-4516-bd0d-bebd7df47804', 'ip_version': 4, 'cidr': '48.40.28.0/26', 'allocation_pools': [{'start': '48.40.28.2', 'end': '48.40.28.62'}], 'gateway_ip': '48.40.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.40.28.2', 'tags': [], 'project_id': '9083830cb2614ed090329d0c4c9c78ca'}} 2025-10-23 16:34:04,043 - INFO - Created VN ctest-vn1-48161718 2025-10-23 16:34:04,102 - DEBUG - VN ctest-vn1-48161718 UUID is 420611b3-4000-4516-bd0d-bebd7df47804 2025-10-23 16:34:04,428 - DEBUG - Response for create_network : {'network': {'id': '766b2282-afeb-40db-97fe-65405dce1dac', 'name': 'ctest-vn2-19787310', 'tenant_id': '9083830cb2614ed090329d0c4c9c78ca', 'project_id': '9083830cb2614ed090329d0c4c9c78ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20686104', 'ctest-vn2-19787310'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 16:34:04,647 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc4603b9-ddd5-4345-b425-45cc28103b5d', 'name': '', 'tenant_id': '9083830cb2614ed090329d0c4c9c78ca', 'network_id': '766b2282-afeb-40db-97fe-65405dce1dac', 'ip_version': 4, 'cidr': '173.17.36.0/26', 'allocation_pools': [{'start': '173.17.36.2', 'end': '173.17.36.62'}], 'gateway_ip': '173.17.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.17.36.2', 'tags': [], 'project_id': '9083830cb2614ed090329d0c4c9c78ca'}} 2025-10-23 16:34:04,669 - INFO - Created VN ctest-vn2-19787310 2025-10-23 16:34:04,722 - DEBUG - VN ctest-vn2-19787310 UUID is 766b2282-afeb-40db-97fe-65405dce1dac 2025-10-23 16:34:04,901 - DEBUG - Services list from nova: [, , ] 2025-10-23 16:34:06,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4463-1) 2025-10-23 16:34:07,515 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4463-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4463-1) 2025-10-23 16:34:07,583 - INFO - Adding interface with subnet_id 0d93a3b0-3243-4772-a65d-48f59bba3c0c, port_id None to router a0494bc4-2af0-43e5-89dc-c9016060216e 2025-10-23 16:34:07,864 - INFO - Waiting for VM ctest-vn1-vm1-23763964 to be up.. 2025-10-23 16:34:07,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 16:34:13,066 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:34:13,066 - INFO - VM name : ctest-vn1-vm1-23763964 2025-10-23 16:34:13,152 - DEBUG - VM ctest-vn1-vm1-23763964 ID is 0374e869-7435-437d-8c52-393b6e76c84f 2025-10-23 16:34:13,173 - DEBUG - VM ctest-vn1-vm1-23763964 launched on Node cn-jenkins-deploy-platform-ansible-os-4463-1 2025-10-23 16:34:13,252 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0374e869-7435-437d-8c52-393b6e76c84f 2025-10-23 16:34:13,598 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/0374e869-7435-437d-8c52-393b6e76c84f 2025-10-23 16:34:13,640 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3bc17523-e86f-4a9a-8ff1-e924eae249d0 2025-10-23 16:34:16,915 - 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-10-23 16:34:16,915 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23763964 failed! 2025-10-23 16:34:16,970 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-20686104:ctest-vn1-48161718 is 48.40.28.1 and allocation pool is NOT set 2025-10-23 16:34:19,037 - 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.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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 = 1.417/2.993/4.569/1.576 ms') 2025-10-23 16:34:19,037 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23763964 passed 2025-10-23 16:34:19,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:34:19,194 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23763964, IP 48.40.28.3, Port 22 2025-10-23 16:34:19,253 - 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-23 16:34:19,349 - DEBUG - VM ctest-vn1-vm1-23763964 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 16:34:24,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:34:24,349 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23763964, IP 48.40.28.3, Port 22 2025-10-23 16:34:24,506 - DEBUG - VM ctest-vn1-vm1-23763964 is ready for SSH connections 2025-10-23 16:34:24,506 - INFO - Waiting for VM ctest-vn2-vm1-98170533 to be up.. 2025-10-23 16:34:24,587 - DEBUG - VM is in ACTIVE state now 2025-10-23 16:34:24,587 - INFO - VM name : ctest-vn2-vm1-98170533 2025-10-23 16:34:24,666 - DEBUG - VM ctest-vn2-vm1-98170533 ID is 35901895-0bc0-4d8f-95f9-0f6f08bd9d6a 2025-10-23 16:34:24,666 - DEBUG - VM ctest-vn2-vm1-98170533 launched on Node cn-jenkins-deploy-platform-ansible-os-4463-1 2025-10-23 16:34:24,748 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/35901895-0bc0-4d8f-95f9-0f6f08bd9d6a 2025-10-23 16:34:24,756 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f21f1bbd-fd2e-410d-844d-39238bc62263 2025-10-23 16:34:25,997 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.910/3.413/1.502 ms') 2025-10-23 16:34:25,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-98170533 passed 2025-10-23 16:34:26,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:34:26,154 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-98170533, IP 173.17.36.3, Port 22 2025-10-23 16:34:26,314 - DEBUG - VM ctest-vn2-vm1-98170533 is ready for SSH connections 2025-10-23 16:34:26,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:34:26,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.17.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 16:34:26,314 - DEBUG - ping -s 56 -c 3 -W 1 173.17.36.3 2025-10-23 16:34:31,432 - DEBUG - PING 173.17.36.3 (173.17.36.3): 56 data bytes --- 173.17.36.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 16:34:31,433 - WARNING - Ping to IP 173.17.36.3 from VM ctest-vn1-vm1-23763964 failed 2025-10-23 16:34:31,433 - INFO - Adding interface with subnet_id cc4603b9-ddd5-4345-b425-45cc28103b5d, port_id None to router a0494bc4-2af0-43e5-89dc-c9016060216e 2025-10-23 16:34:31,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:34:31,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.17.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 16:34:31,679 - DEBUG - ping -s 56 -c 3 -W 1 173.17.36.3 2025-10-23 16:34:34,924 - DEBUG - PING 173.17.36.3 (173.17.36.3): 56 data bytes 64 bytes from 173.17.36.3: seq=1 ttl=63 time=3.081 ms 64 bytes from 173.17.36.3: seq=2 ttl=63 time=1.080 ms --- 173.17.36.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.080/2.080/3.081 ms 2025-10-23 16:34:34,924 - WARNING - Ping to IP 173.17.36.3 from VM ctest-vn1-vm1-23763964 failed 2025-10-23 16:34:35,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.17.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 16:34:35,925 - DEBUG - ping -s 56 -c 3 -W 1 173.17.36.3 2025-10-23 16:34:38,163 - DEBUG - PING 173.17.36.3 (173.17.36.3): 56 data bytes 64 bytes from 173.17.36.3: seq=0 ttl=63 time=1.462 ms 64 bytes from 173.17.36.3: seq=1 ttl=63 time=1.085 ms 64 bytes from 173.17.36.3: seq=2 ttl=63 time=0.878 ms --- 173.17.36.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.878/1.141/1.462 ms 2025-10-23 16:34:38,163 - INFO - Ping to IP 173.17.36.3 from VM ctest-vn1-vm1-23763964 passed 2025-10-23 16:34:38,163 - INFO - Deleting interface with subnet_id 0d93a3b0-3243-4772-a65d-48f59bba3c0c, port_id None from router a0494bc4-2af0-43e5-89dc-c9016060216e 2025-10-23 16:34:38,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:34:38,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.17.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 16:34:38,282 - DEBUG - ping -s 56 -c 3 -W 1 173.17.36.3 2025-10-23 16:34:41,510 - DEBUG - PING 173.17.36.3 (173.17.36.3): 56 data bytes --- 173.17.36.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 16:34:41,510 - WARNING - Ping to IP 173.17.36.3 from VM ctest-vn1-vm1-23763964 failed 2025-10-23 16:34:41,510 - INFO - Adding interface with subnet_id 0d93a3b0-3243-4772-a65d-48f59bba3c0c, port_id None to router a0494bc4-2af0-43e5-89dc-c9016060216e 2025-10-23 16:34:41,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 16:34:41,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.17.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-23 16:34:41,748 - DEBUG - ping -s 56 -c 3 -W 1 173.17.36.3 2025-10-23 16:34:43,975 - DEBUG - PING 173.17.36.3 (173.17.36.3): 56 data bytes 64 bytes from 173.17.36.3: seq=0 ttl=63 time=1.825 ms 64 bytes from 173.17.36.3: seq=1 ttl=63 time=0.859 ms 64 bytes from 173.17.36.3: seq=2 ttl=63 time=0.854 ms --- 173.17.36.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.179/1.825 ms 2025-10-23 16:34:43,975 - INFO - Ping to IP 173.17.36.3 from VM ctest-vn1-vm1-23763964 passed 2025-10-23 16:34:43,975 - INFO - Deleting interface with subnet_id cc4603b9-ddd5-4345-b425-45cc28103b5d, port_id None from router a0494bc4-2af0-43e5-89dc-c9016060216e 2025-10-23 16:34:44,098 - INFO - Deleting interface with subnet_id 0d93a3b0-3243-4772-a65d-48f59bba3c0c, port_id None from router a0494bc4-2af0-43e5-89dc-c9016060216e 2025-10-23 16:34:44,284 - INFO - Deleting VM ctest-vn2-vm1-98170533 2025-10-23 16:34:44,357 - INFO - Deleting VM ctest-vn1-vm1-23763964 2025-10-23 16:34:44,430 - INFO - Deleting VN ctest-vn2-19787310 2025-10-23 16:34:44,472 - DEBUG - VN 766b2282-afeb-40db-97fe-65405dce1dac still in use: Unable to complete operation on network 766b2282-afeb-40db-97fe-65405dce1dac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6d74a133-f416-463b-9064-dbb347fae707'] 2025-10-23 16:34:44,472 - WARNING - Deleting VN ctest-vn2-19787310 failed..Will retry 2025-10-23 16:34:46,583 - DEBUG - Response for deleting network () 2025-10-23 16:34:46,583 - INFO - Deleting VN ctest-vn1-48161718 2025-10-23 16:34:46,687 - DEBUG - Response for deleting network () 2025-10-23 16:34:46,947 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 16:34:46,947 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-10-23 16:34:46,947 - INFO - -------------------------------------------------------------------------------- 2025-10-23 16:34:47,654 - INFO - Deleted project: ctest-TestRouters-20686104, ID : 9083830c-b261-4ed0-9032-9d0c4c9c78ca