2026-02-27 10:20:56,414 - INFO - Domain Default found not creating 2026-02-27 10:20:56,586 - INFO - Project ctest-TestRoutersBasic-17709792 not found, creating it 2026-02-27 10:20:57,078 - INFO - Created Project:ctest-TestRoutersBasic-17709792, ID : 5ce4e751-f3b0-4b04-915f-9f8d73bc1d1c 2026-02-27 10:20:58,689 - INFO - ================================================================================ 2026-02-27 10:20:58,689 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-27 10:20:58,690 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-02-27 10:20:58,945 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-27 10:20:58,945 - INFO - Initial checks done. Running the testcase now 2026-02-27 10:20:58,946 - INFO - 2026-02-27 10:20:59,664 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17709792 2026-02-27 10:20:59,760 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17709792 2026-02-27 10:21:00,083 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17709792', 'default']} 2026-02-27 10:21:00,380 - DEBUG - Response for create_network : {'network': {'id': '7dab3edb-7937-4f32-a1dc-c2abc394bfd9', 'name': 'ctest-vn-51865477', 'tenant_id': '5ce4e751f3b04b04915f9f8d73bc1d1c', 'project_id': '5ce4e751f3b04b04915f9f8d73bc1d1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17709792', 'ctest-vn-51865477'], 'port_security_enabled': True, 'description': ''}} 2026-02-27 10:21:00,556 - DEBUG - Response for create_subnet : {'subnet': {'id': '749eb583-417c-4ecc-a224-fe2aacc9e6e8', 'name': '', 'tenant_id': '5ce4e751f3b04b04915f9f8d73bc1d1c', 'network_id': '7dab3edb-7937-4f32-a1dc-c2abc394bfd9', 'ip_version': 4, 'cidr': '174.147.119.192/26', 'allocation_pools': [{'start': '174.147.119.194', 'end': '174.147.119.254'}], 'gateway_ip': '174.147.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.147.119.194', 'tags': [], 'project_id': '5ce4e751f3b04b04915f9f8d73bc1d1c'}} 2026-02-27 10:21:00,574 - INFO - Created VN ctest-vn-51865477 2026-02-27 10:21:00,628 - DEBUG - VN ctest-vn-51865477 UUID is 7dab3edb-7937-4f32-a1dc-c2abc394bfd9 2026-02-27 10:21:00,938 - DEBUG - Response for create_network : {'network': {'id': '856f1dd0-5908-44c5-95f3-29caa97acdd3', 'name': 'ctest-ext_vn-05817045', 'tenant_id': '5ce4e751f3b04b04915f9f8d73bc1d1c', 'project_id': '5ce4e751f3b04b04915f9f8d73bc1d1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17709792', 'ctest-ext_vn-05817045'], 'port_security_enabled': True, 'description': ''}} 2026-02-27 10:21:01,144 - DEBUG - Response for create_subnet : {'subnet': {'id': '7baefff0-2054-4b61-94a2-572451a72d78', 'name': '', 'tenant_id': '5ce4e751f3b04b04915f9f8d73bc1d1c', 'network_id': '856f1dd0-5908-44c5-95f3-29caa97acdd3', 'ip_version': 4, 'cidr': '204.201.38.128/26', 'allocation_pools': [{'start': '204.201.38.130', 'end': '204.201.38.190'}], 'gateway_ip': '204.201.38.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.201.38.130', 'tags': [], 'project_id': '5ce4e751f3b04b04915f9f8d73bc1d1c'}} 2026-02-27 10:21:01,165 - INFO - Created VN ctest-ext_vn-05817045 2026-02-27 10:21:01,216 - DEBUG - VN ctest-ext_vn-05817045 UUID is 856f1dd0-5908-44c5-95f3-29caa97acdd3 2026-02-27 10:21:01,391 - DEBUG - Services list from nova: [, , ] 2026-02-27 10:21:02,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5409-1) 2026-02-27 10:21:03,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5409-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5409-1) 2026-02-27 10:21:03,767 - INFO - Setting gateway for router 4908687d-41c8-4f99-ac3f-763065a01b31 to network 856f1dd0-5908-44c5-95f3-29caa97acdd3 2026-02-27 10:21:03,836 - INFO - Adding interface with subnet_id 749eb583-417c-4ecc-a224-fe2aacc9e6e8, port_id None to router 4908687d-41c8-4f99-ac3f-763065a01b31 2026-02-27 10:21:04,268 - INFO - Waiting for VM ctest-TestRoutersBasic-17709792-08582064 to be up.. 2026-02-27 10:21:04,481 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-27 10:21:09,568 - DEBUG - VM is in ACTIVE state now 2026-02-27 10:21:09,568 - INFO - VM name : ctest-TestRoutersBasic-17709792-08582064 2026-02-27 10:21:09,647 - DEBUG - VM ctest-TestRoutersBasic-17709792-08582064 ID is 13ac001b-25b5-45bc-9874-e0d94e76fb18 2026-02-27 10:21:09,667 - DEBUG - VM ctest-TestRoutersBasic-17709792-08582064 launched on Node cn-jenkins-deploy-platform-ansible-os-5409-1 2026-02-27 10:21:09,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/13ac001b-25b5-45bc-9874-e0d94e76fb18 2026-02-27 10:21:10,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/13ac001b-25b5-45bc-9874-e0d94e76fb18 2026-02-27 10:21:10,093 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/33700006-70e8-47dc-8b19-43c940d71c98 2026-02-27 10:21:13,335 - 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') 2026-02-27 10:21:13,335 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17709792-08582064 failed! 2026-02-27 10:21:13,388 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17709792:ctest-vn-51865477 is 174.147.119.193 and allocation pool is NOT set 2026-02-27 10:21:15,453 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.896 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.896/4.775/8.654/3.879 ms') 2026-02-27 10:21:15,453 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17709792-08582064 passed 2026-02-27 10:21:15,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 10:21:15,604 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17709792-08582064, IP 174.147.119.195, Port 22 2026-02-27 10:21:15,759 - DEBUG - VM ctest-TestRoutersBasic-17709792-08582064 is ready for SSH connections 2026-02-27 10:21:15,760 - INFO - Waiting for VM ctest-TestRoutersBasic-17709792-77967324 to be up.. 2026-02-27 10:21:15,836 - DEBUG - VM is in ACTIVE state now 2026-02-27 10:21:15,837 - INFO - VM name : ctest-TestRoutersBasic-17709792-77967324 2026-02-27 10:21:15,911 - DEBUG - VM ctest-TestRoutersBasic-17709792-77967324 ID is 583f7cf9-7a62-43cd-bcd9-467bbb4f6197 2026-02-27 10:21:15,911 - DEBUG - VM ctest-TestRoutersBasic-17709792-77967324 launched on Node cn-jenkins-deploy-platform-ansible-os-5409-1 2026-02-27 10:21:15,983 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/583f7cf9-7a62-43cd-bcd9-467bbb4f6197 2026-02-27 10:21:15,994 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3238f1bc-0a50-4381-8bca-28c5ce35a445 2026-02-27 10:21:17,236 - 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=2.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.371 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.371/1.484/2.597/1.113 ms') 2026-02-27 10:21:17,236 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17709792-77967324 passed 2026-02-27 10:21:17,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 10:21:17,384 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17709792-77967324, IP 204.201.38.131, Port 22 2026-02-27 10:21:17,540 - DEBUG - VM ctest-TestRoutersBasic-17709792-77967324 is ready for SSH connections 2026-02-27 10:21:17,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-27 10:21:17,540 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.201.38.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-27 10:21:17,540 - DEBUG - ping -s 56 -c 3 -W 1 204.201.38.131 2026-02-27 10:21:21,237 - DEBUG - PING 204.201.38.131 (204.201.38.131): 56 data bytes 64 bytes from 204.201.38.131: seq=0 ttl=62 time=6.951 ms 64 bytes from 204.201.38.131: seq=1 ttl=62 time=1.201 ms 64 bytes from 204.201.38.131: seq=2 ttl=62 time=0.969 ms --- 204.201.38.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/3.040/6.951 ms 2026-02-27 10:21:21,237 - INFO - Ping to IP 204.201.38.131 from VM ctest-TestRoutersBasic-17709792-08582064 passed 2026-02-27 10:21:21,237 - INFO - Deleting interface with subnet_id 749eb583-417c-4ecc-a224-fe2aacc9e6e8, port_id None from router 4908687d-41c8-4f99-ac3f-763065a01b31 2026-02-27 10:21:21,430 - INFO - Deleting VM ctest-TestRoutersBasic-17709792-77967324 2026-02-27 10:21:21,522 - INFO - Deleting VM ctest-TestRoutersBasic-17709792-08582064 2026-02-27 10:21:21,610 - INFO - Deleting VN ctest-ext_vn-05817045 2026-02-27 10:21:21,687 - DEBUG - VN 856f1dd0-5908-44c5-95f3-29caa97acdd3 still in use: Unable to complete operation on network 856f1dd0-5908-44c5-95f3-29caa97acdd3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-471b51ad-1eb1-4975-a246-8cf6d99b140d'] 2026-02-27 10:21:21,688 - WARNING - Deleting VN ctest-ext_vn-05817045 failed..Will retry 2026-02-27 10:21:23,788 - DEBUG - Response for deleting network () 2026-02-27 10:21:23,788 - INFO - Deleting VN ctest-vn-51865477 2026-02-27 10:21:23,894 - DEBUG - Response for deleting network () 2026-02-27 10:21:24,149 - DEBUG - No XMPP flaps were noticed during the test
2026-02-27 10:21:24,149 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-02-27 10:21:24,149 - INFO - -------------------------------------------------------------------------------- 2026-02-27 10:21:24,832 - INFO - Deleted project: ctest-TestRoutersBasic-17709792, ID : 5ce4e751-f3b0-4b04-915f-9f8d73bc1d1c