2025-09-12 20:57:49,990 - INFO - Domain Default found not creating 2025-09-12 20:57:50,122 - INFO - Project ctest-TestRouters-11623842 not found, creating it 2025-09-12 20:57:50,566 - INFO - Created Project:ctest-TestRouters-11623842, ID : 572664e2-b364-4186-9afd-e005000e18d9 2025-09-12 20:57:51,942 - INFO - ================================================================================ 2025-09-12 20:57:51,942 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-12 20:57:51,942 - 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-09-12 20:57:52,203 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-12 20:57:52,203 - INFO - Initial checks done. Running the testcase now 2025-09-12 20:57:52,203 - INFO - 2025-09-12 20:57:52,719 - DEBUG - Response for create_network : {'network': {'id': '93c96c49-6171-4b32-8f79-ce6b0e2f137e', 'name': 'ctest-vn1-86958000', 'tenant_id': '572664e2b36441869afde005000e18d9', 'project_id': '572664e2b36441869afde005000e18d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11623842', 'ctest-vn1-86958000'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:57:52,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '01f9a864-47e2-4629-8bf6-a3c5f69c7bb3', 'name': '', 'tenant_id': '572664e2b36441869afde005000e18d9', 'network_id': '93c96c49-6171-4b32-8f79-ce6b0e2f137e', 'ip_version': 4, 'cidr': '120.40.138.64/26', 'allocation_pools': [{'start': '120.40.138.66', 'end': '120.40.138.126'}], 'gateway_ip': '120.40.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.40.138.66', 'tags': [], 'project_id': '572664e2b36441869afde005000e18d9'}} 2025-09-12 20:57:52,911 - INFO - Created VN ctest-vn1-86958000 2025-09-12 20:57:52,962 - DEBUG - VN ctest-vn1-86958000 UUID is 93c96c49-6171-4b32-8f79-ce6b0e2f137e 2025-09-12 20:57:53,276 - DEBUG - Response for create_network : {'network': {'id': 'a7818d4d-eb07-4383-9e42-362b0f152941', 'name': 'ctest-vn2-08148599', 'tenant_id': '572664e2b36441869afde005000e18d9', 'project_id': '572664e2b36441869afde005000e18d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-11623842', 'ctest-vn2-08148599'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 20:57:53,479 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a20fa2cc-edd1-4bad-bf34-74fc7bcb9b63', 'name': '', 'tenant_id': '572664e2b36441869afde005000e18d9', 'network_id': 'a7818d4d-eb07-4383-9e42-362b0f152941', 'ip_version': 4, 'cidr': '16.72.209.128/26', 'allocation_pools': [{'start': '16.72.209.130', 'end': '16.72.209.190'}], 'gateway_ip': '16.72.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.72.209.130', 'tags': [], 'project_id': '572664e2b36441869afde005000e18d9'}} 2025-09-12 20:57:53,494 - INFO - Created VN ctest-vn2-08148599 2025-09-12 20:57:53,546 - DEBUG - VN ctest-vn2-08148599 UUID is a7818d4d-eb07-4383-9e42-362b0f152941 2025-09-12 20:57:53,799 - DEBUG - Services list from nova: [, , ] 2025-09-12 20:57:54,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4100-1) 2025-09-12 20:57:56,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4100-1) 2025-09-12 20:57:56,091 - INFO - Adding interface with subnet_id 01f9a864-47e2-4629-8bf6-a3c5f69c7bb3, port_id None to router 66655f82-1ac1-4170-99d4-f4ba53298151 2025-09-12 20:57:56,340 - INFO - Waiting for VM ctest-vn1-vm1-15115912 to be up.. 2025-09-12 20:57:56,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 20:58:01,512 - DEBUG - VM is in ACTIVE state now 2025-09-12 20:58:01,512 - INFO - VM name : ctest-vn1-vm1-15115912 2025-09-12 20:58:01,590 - DEBUG - VM ctest-vn1-vm1-15115912 ID is 9443f3f6-ceb7-4072-a9f6-9e482b815607 2025-09-12 20:58:01,611 - DEBUG - VM ctest-vn1-vm1-15115912 launched on Node cn-jenkins-deploy-platform-ansible-os-4100-1 2025-09-12 20:58:01,689 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9443f3f6-ceb7-4072-a9f6-9e482b815607 2025-09-12 20:58:01,994 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9443f3f6-ceb7-4072-a9f6-9e482b815607 2025-09-12 20:58:02,024 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/87bd649f-b928-47a9-b608-fe7414f07c81 2025-09-12 20:58:05,272 - 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 1011ms') 2025-09-12 20:58:05,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15115912 failed! 2025-09-12 20:58:05,326 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-11623842:ctest-vn1-86958000 is 120.40.138.65 and allocation pool is NOT set 2025-09-12 20:58:07,385 - 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=2.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/1.682/2.901/1.218 ms') 2025-09-12 20:58:07,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15115912 passed 2025-09-12 20:58:07,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:58:07,534 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15115912, IP 120.40.138.67, Port 22 2025-09-12 20:58:07,703 - DEBUG - VM ctest-vn1-vm1-15115912 is ready for SSH connections 2025-09-12 20:58:07,703 - INFO - Waiting for VM ctest-vn2-vm1-30902837 to be up.. 2025-09-12 20:58:07,772 - DEBUG - VM is in ACTIVE state now 2025-09-12 20:58:07,772 - INFO - VM name : ctest-vn2-vm1-30902837 2025-09-12 20:58:07,849 - DEBUG - VM ctest-vn2-vm1-30902837 ID is 21740e85-0393-4af5-bcfc-191df3ac038a 2025-09-12 20:58:07,849 - DEBUG - VM ctest-vn2-vm1-30902837 launched on Node cn-jenkins-deploy-platform-ansible-os-4100-1 2025-09-12 20:58:07,914 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/21740e85-0393-4af5-bcfc-191df3ac038a 2025-09-12 20:58:07,921 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/04a968e0-befd-4969-b028-7135073ab1c5 2025-09-12 20:58:09,157 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.721/3.032/1.311 ms') 2025-09-12 20:58:09,157 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-30902837 passed 2025-09-12 20:58:09,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:58:09,310 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-30902837, IP 16.72.209.131, Port 22 2025-09-12 20:58:09,469 - DEBUG - VM ctest-vn2-vm1-30902837 is ready for SSH connections 2025-09-12 20:58:09,469 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:58:09,469 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.72.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:58:09,469 - DEBUG - ping -s 56 -c 3 -W 1 16.72.209.131 2025-09-12 20:58:14,137 - DEBUG - PING 16.72.209.131 (16.72.209.131): 56 data bytes --- 16.72.209.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 20:58:14,137 - WARNING - Ping to IP 16.72.209.131 from VM ctest-vn1-vm1-15115912 failed 2025-09-12 20:58:14,137 - INFO - Adding interface with subnet_id a20fa2cc-edd1-4bad-bf34-74fc7bcb9b63, port_id None to router 66655f82-1ac1-4170-99d4-f4ba53298151 2025-09-12 20:58:14,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:58:14,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.72.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:58:14,356 - DEBUG - ping -s 56 -c 3 -W 1 16.72.209.131 2025-09-12 20:58:17,562 - DEBUG - PING 16.72.209.131 (16.72.209.131): 56 data bytes 64 bytes from 16.72.209.131: seq=1 ttl=63 time=2.556 ms 64 bytes from 16.72.209.131: seq=2 ttl=63 time=1.005 ms --- 16.72.209.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.005/1.780/2.556 ms 2025-09-12 20:58:17,563 - WARNING - Ping to IP 16.72.209.131 from VM ctest-vn1-vm1-15115912 failed 2025-09-12 20:58:18,564 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.72.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:58:18,564 - DEBUG - ping -s 56 -c 3 -W 1 16.72.209.131 2025-09-12 20:58:20,768 - DEBUG - PING 16.72.209.131 (16.72.209.131): 56 data bytes 64 bytes from 16.72.209.131: seq=0 ttl=63 time=1.408 ms 64 bytes from 16.72.209.131: seq=1 ttl=63 time=0.979 ms 64 bytes from 16.72.209.131: seq=2 ttl=63 time=1.038 ms --- 16.72.209.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.979/1.141/1.408 ms 2025-09-12 20:58:20,768 - INFO - Ping to IP 16.72.209.131 from VM ctest-vn1-vm1-15115912 passed 2025-09-12 20:58:20,768 - INFO - Deleting interface with subnet_id 01f9a864-47e2-4629-8bf6-a3c5f69c7bb3, port_id None from router 66655f82-1ac1-4170-99d4-f4ba53298151 2025-09-12 20:58:20,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:58:20,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.72.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:58:20,878 - DEBUG - ping -s 56 -c 3 -W 1 16.72.209.131 2025-09-12 20:58:24,120 - DEBUG - PING 16.72.209.131 (16.72.209.131): 56 data bytes --- 16.72.209.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-12 20:58:24,120 - WARNING - Ping to IP 16.72.209.131 from VM ctest-vn1-vm1-15115912 failed 2025-09-12 20:58:24,120 - INFO - Adding interface with subnet_id 01f9a864-47e2-4629-8bf6-a3c5f69c7bb3, port_id None to router 66655f82-1ac1-4170-99d4-f4ba53298151 2025-09-12 20:58:24,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 20:58:24,327 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.72.209.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-12 20:58:24,327 - DEBUG - ping -s 56 -c 3 -W 1 16.72.209.131 2025-09-12 20:58:26,524 - DEBUG - PING 16.72.209.131 (16.72.209.131): 56 data bytes 64 bytes from 16.72.209.131: seq=0 ttl=63 time=1.335 ms 64 bytes from 16.72.209.131: seq=1 ttl=63 time=0.763 ms 64 bytes from 16.72.209.131: seq=2 ttl=63 time=0.751 ms --- 16.72.209.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/0.949/1.335 ms 2025-09-12 20:58:26,524 - INFO - Ping to IP 16.72.209.131 from VM ctest-vn1-vm1-15115912 passed 2025-09-12 20:58:26,524 - INFO - Deleting interface with subnet_id a20fa2cc-edd1-4bad-bf34-74fc7bcb9b63, port_id None from router 66655f82-1ac1-4170-99d4-f4ba53298151 2025-09-12 20:58:26,630 - INFO - Deleting interface with subnet_id 01f9a864-47e2-4629-8bf6-a3c5f69c7bb3, port_id None from router 66655f82-1ac1-4170-99d4-f4ba53298151 2025-09-12 20:58:26,794 - INFO - Deleting VM ctest-vn2-vm1-30902837 2025-09-12 20:58:26,859 - INFO - Deleting VM ctest-vn1-vm1-15115912 2025-09-12 20:58:26,935 - INFO - Deleting VN ctest-vn2-08148599 2025-09-12 20:58:26,974 - DEBUG - VN a7818d4d-eb07-4383-9e42-362b0f152941 still in use: Unable to complete operation on network a7818d4d-eb07-4383-9e42-362b0f152941. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f8111998-c48c-4d2f-a436-861f7982d97e'] 2025-09-12 20:58:26,974 - WARNING - Deleting VN ctest-vn2-08148599 failed..Will retry 2025-09-12 20:58:29,076 - DEBUG - Response for deleting network () 2025-09-12 20:58:29,076 - INFO - Deleting VN ctest-vn1-86958000 2025-09-12 20:58:29,168 - DEBUG - Response for deleting network () 2025-09-12 20:58:29,423 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 20:58:29,423 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-12 20:58:29,423 - INFO - -------------------------------------------------------------------------------- 2025-09-12 20:58:30,073 - INFO - Deleted project: ctest-TestRouters-11623842, ID : 572664e2-b364-4186-9afd-e005000e18d9