2026-02-23 22:12:38,572 - INFO - Domain Default found not creating 2026-02-23 22:12:38,716 - INFO - Project ctest-TestRoutersBasic-51324307 not found, creating it 2026-02-23 22:12:39,176 - INFO - Created Project:ctest-TestRoutersBasic-51324307, ID : ce36a1ee-d1e6-46cd-96ac-c6f8803fca2f 2026-02-23 22:12:40,550 - INFO - ================================================================================ 2026-02-23 22:12:40,550 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-23 22:12:40,550 - 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-23 22:12:40,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-23 22:12:40,813 - INFO - Initial checks done. Running the testcase now 2026-02-23 22:12:40,814 - INFO - 2026-02-23 22:12:41,481 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51324307 2026-02-23 22:12:41,576 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51324307 2026-02-23 22:12:41,892 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51324307', 'default']} 2026-02-23 22:12:42,156 - DEBUG - Response for create_network : {'network': {'id': 'bc873520-87e9-46ca-889b-c7baac7b1e74', 'name': 'ctest-vn-31700349', 'tenant_id': 'ce36a1eed1e646cd96acc6f8803fca2f', 'project_id': 'ce36a1eed1e646cd96acc6f8803fca2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51324307', 'ctest-vn-31700349'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 22:12:42,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '0805931b-fbe2-422f-82b8-6f5f730edaa4', 'name': '', 'tenant_id': 'ce36a1eed1e646cd96acc6f8803fca2f', 'network_id': 'bc873520-87e9-46ca-889b-c7baac7b1e74', 'ip_version': 4, 'cidr': '42.110.97.64/26', 'allocation_pools': [{'start': '42.110.97.66', 'end': '42.110.97.126'}], 'gateway_ip': '42.110.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.110.97.66', 'tags': [], 'project_id': 'ce36a1eed1e646cd96acc6f8803fca2f'}} 2026-02-23 22:12:42,321 - INFO - Created VN ctest-vn-31700349 2026-02-23 22:12:42,372 - DEBUG - VN ctest-vn-31700349 UUID is bc873520-87e9-46ca-889b-c7baac7b1e74 2026-02-23 22:12:42,674 - DEBUG - Response for create_network : {'network': {'id': 'de2b78df-cf3a-4367-b32a-bbf021df4c96', 'name': 'ctest-ext_vn-14708828', 'tenant_id': 'ce36a1eed1e646cd96acc6f8803fca2f', 'project_id': 'ce36a1eed1e646cd96acc6f8803fca2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51324307', 'ctest-ext_vn-14708828'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 22:12:42,831 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a76953ac-960b-428f-947c-8f6f6b1f75f5', 'name': '', 'tenant_id': 'ce36a1eed1e646cd96acc6f8803fca2f', 'network_id': 'de2b78df-cf3a-4367-b32a-bbf021df4c96', 'ip_version': 4, 'cidr': '28.8.32.128/26', 'allocation_pools': [{'start': '28.8.32.130', 'end': '28.8.32.190'}], 'gateway_ip': '28.8.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.8.32.130', 'tags': [], 'project_id': 'ce36a1eed1e646cd96acc6f8803fca2f'}} 2026-02-23 22:12:42,849 - INFO - Created VN ctest-ext_vn-14708828 2026-02-23 22:12:42,900 - DEBUG - VN ctest-ext_vn-14708828 UUID is de2b78df-cf3a-4367-b32a-bbf021df4c96 2026-02-23 22:12:43,088 - DEBUG - Services list from nova: [, , ] 2026-02-23 22:12:44,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5391-1) 2026-02-23 22:12:45,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5391-1) 2026-02-23 22:12:45,354 - INFO - Setting gateway for router 925052c3-5cb7-4d55-a98e-a5e12b3d5c5e to network de2b78df-cf3a-4367-b32a-bbf021df4c96 2026-02-23 22:12:45,410 - INFO - Adding interface with subnet_id 0805931b-fbe2-422f-82b8-6f5f730edaa4, port_id None to router 925052c3-5cb7-4d55-a98e-a5e12b3d5c5e 2026-02-23 22:12:45,756 - INFO - Waiting for VM ctest-TestRoutersBasic-51324307-99049047 to be up.. 2026-02-23 22:12:45,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 22:12:50,959 - DEBUG - VM is in ACTIVE state now 2026-02-23 22:12:50,960 - INFO - VM name : ctest-TestRoutersBasic-51324307-99049047 2026-02-23 22:12:51,021 - DEBUG - VM ctest-TestRoutersBasic-51324307-99049047 ID is 5dc89267-f952-40e2-930c-d85cf9d61a7a 2026-02-23 22:12:51,037 - DEBUG - VM ctest-TestRoutersBasic-51324307-99049047 launched on Node cn-jenkins-deploy-platform-ansible-os-5391-1 2026-02-23 22:12:51,098 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5dc89267-f952-40e2-930c-d85cf9d61a7a 2026-02-23 22:12:51,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5dc89267-f952-40e2-930c-d85cf9d61a7a 2026-02-23 22:12:51,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3e479fc5-732b-408b-94fe-1c65116533c5 2026-02-23 22:12:54,697 - 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 1035ms') 2026-02-23 22:12:54,697 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51324307-99049047 failed! 2026-02-23 22:12:54,752 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51324307:ctest-vn-31700349 is 42.110.97.65 and allocation pool is NOT set 2026-02-23 22:12:56,816 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.427/1.750/3.073/1.323 ms') 2026-02-23 22:12:56,816 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51324307-99049047 passed 2026-02-23 22:12:56,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 22:12:56,968 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51324307-99049047, IP 42.110.97.67, Port 22 2026-02-23 22:12:57,128 - DEBUG - VM ctest-TestRoutersBasic-51324307-99049047 is ready for SSH connections 2026-02-23 22:12:57,128 - INFO - Waiting for VM ctest-TestRoutersBasic-51324307-60259315 to be up.. 2026-02-23 22:12:57,195 - DEBUG - VM is in ACTIVE state now 2026-02-23 22:12:57,195 - INFO - VM name : ctest-TestRoutersBasic-51324307-60259315 2026-02-23 22:12:57,257 - DEBUG - VM ctest-TestRoutersBasic-51324307-60259315 ID is ee37f7ee-1f98-49a9-af95-86fc0529f0f3 2026-02-23 22:12:57,257 - DEBUG - VM ctest-TestRoutersBasic-51324307-60259315 launched on Node cn-jenkins-deploy-platform-ansible-os-5391-1 2026-02-23 22:12:57,319 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ee37f7ee-1f98-49a9-af95-86fc0529f0f3 2026-02-23 22:12:57,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/47da2357-b621-4cd1-be9d-e2397d18e6ff 2026-02-23 22:12:58,563 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.365 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.365/1.588/2.812/1.223 ms') 2026-02-23 22:12:58,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51324307-60259315 passed 2026-02-23 22:12:58,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 22:12:58,716 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51324307-60259315, IP 28.8.32.131, Port 22 2026-02-23 22:12:58,872 - DEBUG - VM ctest-TestRoutersBasic-51324307-60259315 is ready for SSH connections 2026-02-23 22:12:58,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 22:12:58,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.8.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-23 22:12:58,872 - DEBUG - ping -s 56 -c 3 -W 1 28.8.32.131 2026-02-23 22:13:01,797 - DEBUG - PING 28.8.32.131 (28.8.32.131): 56 data bytes 64 bytes from 28.8.32.131: seq=0 ttl=62 time=5.734 ms 64 bytes from 28.8.32.131: seq=1 ttl=62 time=0.777 ms 64 bytes from 28.8.32.131: seq=2 ttl=62 time=0.975 ms --- 28.8.32.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/2.495/5.734 ms 2026-02-23 22:13:01,797 - INFO - Ping to IP 28.8.32.131 from VM ctest-TestRoutersBasic-51324307-99049047 passed 2026-02-23 22:13:01,797 - INFO - Deleting interface with subnet_id 0805931b-fbe2-422f-82b8-6f5f730edaa4, port_id None from router 925052c3-5cb7-4d55-a98e-a5e12b3d5c5e 2026-02-23 22:13:01,964 - INFO - Deleting VM ctest-TestRoutersBasic-51324307-60259315 2026-02-23 22:13:02,033 - INFO - Deleting VM ctest-TestRoutersBasic-51324307-99049047 2026-02-23 22:13:02,106 - INFO - Deleting VN ctest-ext_vn-14708828 2026-02-23 22:13:02,166 - DEBUG - VN de2b78df-cf3a-4367-b32a-bbf021df4c96 still in use: Unable to complete operation on network de2b78df-cf3a-4367-b32a-bbf021df4c96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59c1d4bb-6ebc-460b-8738-4d6d59589c99'] 2026-02-23 22:13:02,166 - WARNING - Deleting VN ctest-ext_vn-14708828 failed..Will retry 2026-02-23 22:13:04,250 - DEBUG - Response for deleting network () 2026-02-23 22:13:04,251 - INFO - Deleting VN ctest-vn-31700349 2026-02-23 22:13:04,333 - DEBUG - Response for deleting network () 2026-02-23 22:13:04,589 - DEBUG - No XMPP flaps were noticed during the test 2026-02-23 22:13:04,589 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2026-02-23 22:13:04,589 - INFO - -------------------------------------------------------------------------------- 2026-02-23 22:13:05,239 - INFO - Deleted project: ctest-TestRoutersBasic-51324307, ID : ce36a1ee-d1e6-46cd-96ac-c6f8803fca2f