2025-10-31 19:39:29,045 - INFO - Domain Default found not creating 2025-10-31 19:39:29,425 - INFO - Project ctest-TestRouters-66985688 not found, creating it 2025-10-31 19:39:30,042 - INFO - Created Project:ctest-TestRouters-66985688, ID : c91c6108-25f2-48f9-9e10-9091b4680b4f 2025-10-31 19:39:32,233 - INFO - ================================================================================ 2025-10-31 19:39:32,234 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 19:39:32,234 - 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-31 19:39:32,557 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-10-31 19:39:32,557 - INFO - Initial checks done. Running the testcase now 2025-10-31 19:39:32,557 - INFO - 2025-10-31 19:39:33,382 - DEBUG - Response for create_network : {'network': {'id': '80258a11-95e6-4e9f-b1bd-bd247cccdbe9', 'name': 'ctest-vn1-35024901', 'tenant_id': 'c91c610825f248f99e109091b4680b4f', 'project_id': 'c91c610825f248f99e109091b4680b4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66985688', 'ctest-vn1-35024901'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:39:33,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '19fff9f9-08cf-48fe-acac-a24dd62567cd', 'name': '', 'tenant_id': 'c91c610825f248f99e109091b4680b4f', 'network_id': '80258a11-95e6-4e9f-b1bd-bd247cccdbe9', 'ip_version': 4, 'cidr': '3.54.121.192/26', 'allocation_pools': [{'start': '3.54.121.194', 'end': '3.54.121.254'}], 'gateway_ip': '3.54.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.54.121.194', 'tags': [], 'project_id': 'c91c610825f248f99e109091b4680b4f'}} 2025-10-31 19:39:33,591 - INFO - Created VN ctest-vn1-35024901 2025-10-31 19:39:33,642 - DEBUG - VN ctest-vn1-35024901 UUID is 80258a11-95e6-4e9f-b1bd-bd247cccdbe9 2025-10-31 19:39:34,001 - DEBUG - Response for create_network : {'network': {'id': '2afa8504-8ff2-4f40-858e-c84fa8c7cee7', 'name': 'ctest-vn2-99632990', 'tenant_id': 'c91c610825f248f99e109091b4680b4f', 'project_id': 'c91c610825f248f99e109091b4680b4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-66985688', 'ctest-vn2-99632990'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 19:39:34,228 - DEBUG - Response for create_subnet : {'subnet': {'id': '83577ab5-e13d-4579-8418-d60d9340b564', 'name': '', 'tenant_id': 'c91c610825f248f99e109091b4680b4f', 'network_id': '2afa8504-8ff2-4f40-858e-c84fa8c7cee7', 'ip_version': 4, 'cidr': '67.97.238.0/26', 'allocation_pools': [{'start': '67.97.238.2', 'end': '67.97.238.62'}], 'gateway_ip': '67.97.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.97.238.2', 'tags': [], 'project_id': 'c91c610825f248f99e109091b4680b4f'}} 2025-10-31 19:39:34,254 - INFO - Created VN ctest-vn2-99632990 2025-10-31 19:39:34,315 - DEBUG - VN ctest-vn2-99632990 UUID is 2afa8504-8ff2-4f40-858e-c84fa8c7cee7 2025-10-31 19:39:34,597 - DEBUG - Services list from nova: [, , ] 2025-10-31 19:39:35,982 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:39:37,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4580-1) 2025-10-31 19:39:37,561 - INFO - Adding interface with subnet_id 19fff9f9-08cf-48fe-acac-a24dd62567cd, port_id None to router dfc3a1d6-e798-46fb-9358-d71333750535 2025-10-31 19:39:37,866 - INFO - Waiting for VM ctest-vn1-vm1-36931019 to be up.. 2025-10-31 19:39:38,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 19:39:43,153 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:39:43,153 - INFO - VM name : ctest-vn1-vm1-36931019 2025-10-31 19:39:43,262 - DEBUG - VM ctest-vn1-vm1-36931019 ID is d033b768-1e23-48ad-89eb-e30cc5a3359a 2025-10-31 19:39:43,290 - DEBUG - VM ctest-vn1-vm1-36931019 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:39:43,449 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d033b768-1e23-48ad-89eb-e30cc5a3359a 2025-10-31 19:39:43,772 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d033b768-1e23-48ad-89eb-e30cc5a3359a 2025-10-31 19:39:43,857 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/60abbc61-5223-4299-b8a1-dec7774d34dd 2025-10-31 19:39:47,178 - 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-31 19:39:47,178 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36931019 failed! 2025-10-31 19:39:47,239 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-66985688:ctest-vn1-35024901 is 3.54.121.193 and allocation pool is NOT set 2025-10-31 19:39:49,327 - 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=8.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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.047/4.799/8.552/3.752 ms') 2025-10-31 19:39:49,328 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36931019 passed 2025-10-31 19:39:49,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:39:49,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36931019, IP 3.54.121.195, Port 22 2025-10-31 19:39:49,711 - DEBUG - VM ctest-vn1-vm1-36931019 is ready for SSH connections 2025-10-31 19:39:49,711 - INFO - Waiting for VM ctest-vn2-vm1-22267740 to be up.. 2025-10-31 19:39:49,865 - DEBUG - VM is in ACTIVE state now 2025-10-31 19:39:49,866 - INFO - VM name : ctest-vn2-vm1-22267740 2025-10-31 19:39:50,010 - DEBUG - VM ctest-vn2-vm1-22267740 ID is c459ade7-0af9-40cb-9abc-a8dd22bb146d 2025-10-31 19:39:50,010 - DEBUG - VM ctest-vn2-vm1-22267740 launched on Node cn-jenkins-deploy-platform-ansible-os-4580-1 2025-10-31 19:39:50,196 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c459ade7-0af9-40cb-9abc-a8dd22bb146d 2025-10-31 19:39:50,220 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fe7cc1f7-af69-421a-9c96-3c51959b535d 2025-10-31 19:39:51,545 - 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=4.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.93 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 = 1.928/3.099/4.271/1.171 ms') 2025-10-31 19:39:51,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-22267740 passed 2025-10-31 19:39:51,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:39:51,731 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-22267740, IP 67.97.238.3, Port 22 2025-10-31 19:39:51,913 - DEBUG - VM ctest-vn2-vm1-22267740 is ready for SSH connections 2025-10-31 19:39:51,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:39:51,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.97.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:39:51,914 - DEBUG - ping -s 56 -c 3 -W 1 67.97.238.3 2025-10-31 19:39:57,003 - DEBUG - PING 67.97.238.3 (67.97.238.3): 56 data bytes --- 67.97.238.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 19:39:57,003 - WARNING - Ping to IP 67.97.238.3 from VM ctest-vn1-vm1-36931019 failed 2025-10-31 19:39:57,004 - INFO - Adding interface with subnet_id 83577ab5-e13d-4579-8418-d60d9340b564, port_id None to router dfc3a1d6-e798-46fb-9358-d71333750535 2025-10-31 19:39:57,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:39:57,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.97.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:39:57,336 - DEBUG - ping -s 56 -c 3 -W 1 67.97.238.3 2025-10-31 19:39:59,632 - DEBUG - PING 67.97.238.3 (67.97.238.3): 56 data bytes 64 bytes from 67.97.238.3: seq=0 ttl=63 time=7.166 ms 64 bytes from 67.97.238.3: seq=1 ttl=63 time=2.366 ms 64 bytes from 67.97.238.3: seq=2 ttl=63 time=2.081 ms --- 67.97.238.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.081/3.871/7.166 ms 2025-10-31 19:39:59,633 - INFO - Ping to IP 67.97.238.3 from VM ctest-vn1-vm1-36931019 passed 2025-10-31 19:39:59,634 - INFO - Deleting interface with subnet_id 19fff9f9-08cf-48fe-acac-a24dd62567cd, port_id None from router dfc3a1d6-e798-46fb-9358-d71333750535 2025-10-31 19:39:59,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:39:59,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.97.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:39:59,867 - DEBUG - ping -s 56 -c 3 -W 1 67.97.238.3 2025-10-31 19:40:03,143 - DEBUG - PING 67.97.238.3 (67.97.238.3): 56 data bytes --- 67.97.238.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 19:40:03,143 - WARNING - Ping to IP 67.97.238.3 from VM ctest-vn1-vm1-36931019 failed 2025-10-31 19:40:03,143 - INFO - Adding interface with subnet_id 19fff9f9-08cf-48fe-acac-a24dd62567cd, port_id None to router dfc3a1d6-e798-46fb-9358-d71333750535 2025-10-31 19:40:03,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 19:40:03,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.97.238.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-31 19:40:03,499 - DEBUG - ping -s 56 -c 3 -W 1 67.97.238.3 2025-10-31 19:40:05,848 - DEBUG - PING 67.97.238.3 (67.97.238.3): 56 data bytes 64 bytes from 67.97.238.3: seq=0 ttl=63 time=3.548 ms 64 bytes from 67.97.238.3: seq=1 ttl=63 time=2.364 ms 64 bytes from 67.97.238.3: seq=2 ttl=63 time=1.770 ms --- 67.97.238.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.770/2.560/3.548 ms 2025-10-31 19:40:05,848 - INFO - Ping to IP 67.97.238.3 from VM ctest-vn1-vm1-36931019 passed 2025-10-31 19:40:05,848 - INFO - Deleting interface with subnet_id 83577ab5-e13d-4579-8418-d60d9340b564, port_id None from router dfc3a1d6-e798-46fb-9358-d71333750535 2025-10-31 19:40:06,122 - INFO - Deleting interface with subnet_id 19fff9f9-08cf-48fe-acac-a24dd62567cd, port_id None from router dfc3a1d6-e798-46fb-9358-d71333750535 2025-10-31 19:40:06,329 - INFO - Deleting VM ctest-vn2-vm1-22267740 2025-10-31 19:40:06,403 - INFO - Deleting VM ctest-vn1-vm1-36931019 2025-10-31 19:40:06,512 - INFO - Deleting VN ctest-vn2-99632990 2025-10-31 19:40:06,603 - DEBUG - VN 2afa8504-8ff2-4f40-858e-c84fa8c7cee7 still in use: Unable to complete operation on network 2afa8504-8ff2-4f40-858e-c84fa8c7cee7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec72d6d6-9a41-40cf-866b-e1ad2d01ba13'] 2025-10-31 19:40:06,603 - WARNING - Deleting VN ctest-vn2-99632990 failed..Will retry 2025-10-31 19:40:08,811 - DEBUG - Response for deleting network () 2025-10-31 19:40:08,811 - INFO - Deleting VN ctest-vn1-35024901 2025-10-31 19:40:08,929 - DEBUG - Response for deleting network () 2025-10-31 19:40:09,249 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 19:40:09,249 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-31 19:40:09,250 - INFO - -------------------------------------------------------------------------------- 2025-10-31 19:40:10,242 - INFO - Deleted project: ctest-TestRouters-66985688, ID : c91c6108-25f2-48f9-9e10-9091b4680b4f