2026-11-12 14:52:53,353 - INFO - Domain Default found not creating 2026-11-12 14:52:53,551 - INFO - Project ctest-TestRoutersBasic-96846417 not found, creating it 2026-11-12 14:52:54,106 - INFO - Created Project:ctest-TestRoutersBasic-96846417, ID : d80deb58-71bb-4869-ae1a-db4c8b892d36 2026-11-12 14:52:56,155 - INFO - ================================================================================ 2026-11-12 14:52:56,158 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-12 14:52:56,158 - 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-11-12 14:52:56,436 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-11-12 14:52:56,436 - INFO - Initial checks done. Running the testcase now 2026-11-12 14:52:56,436 - INFO - 2026-11-12 14:52:57,286 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96846417 2026-11-12 14:52:57,382 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96846417 2026-11-12 14:52:57,757 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96846417', 'default']} 2026-11-12 14:52:58,084 - DEBUG - Response for create_network : {'network': {'id': 'ad3114c6-8a19-40fc-a25c-9cc09b8709be', 'name': 'ctest-vn-13776848', 'tenant_id': 'd80deb5871bb4869ae1adb4c8b892d36', 'project_id': 'd80deb5871bb4869ae1adb4c8b892d36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96846417', 'ctest-vn-13776848'], 'port_security_enabled': True, 'description': ''}} 2026-11-12 14:52:58,265 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfc7906e-f072-4bdc-b8d5-b7a5b82ae0c5', 'name': '', 'tenant_id': 'd80deb5871bb4869ae1adb4c8b892d36', 'network_id': 'ad3114c6-8a19-40fc-a25c-9cc09b8709be', 'ip_version': 4, 'cidr': '208.195.137.64/26', 'allocation_pools': [{'start': '208.195.137.66', 'end': '208.195.137.126'}], 'gateway_ip': '208.195.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.195.137.66', 'tags': [], 'project_id': 'd80deb5871bb4869ae1adb4c8b892d36'}} 2026-11-12 14:52:58,285 - INFO - Created VN ctest-vn-13776848 2026-11-12 14:52:58,337 - DEBUG - VN ctest-vn-13776848 UUID is ad3114c6-8a19-40fc-a25c-9cc09b8709be 2026-11-12 14:52:58,769 - DEBUG - Response for create_network : {'network': {'id': '82df16e6-42c6-48b9-b55e-d6a2f01254ca', 'name': 'ctest-ext_vn-75024841', 'tenant_id': 'd80deb5871bb4869ae1adb4c8b892d36', 'project_id': 'd80deb5871bb4869ae1adb4c8b892d36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96846417', 'ctest-ext_vn-75024841'], 'port_security_enabled': True, 'description': ''}} 2026-11-12 14:52:59,018 - DEBUG - Response for create_subnet : {'subnet': {'id': '815d7bb2-ab63-4ced-9705-ddfcf3dbdaf7', 'name': '', 'tenant_id': 'd80deb5871bb4869ae1adb4c8b892d36', 'network_id': '82df16e6-42c6-48b9-b55e-d6a2f01254ca', 'ip_version': 4, 'cidr': '61.195.5.128/26', 'allocation_pools': [{'start': '61.195.5.130', 'end': '61.195.5.190'}], 'gateway_ip': '61.195.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.195.5.130', 'tags': [], 'project_id': 'd80deb5871bb4869ae1adb4c8b892d36'}} 2026-11-12 14:52:59,037 - INFO - Created VN ctest-ext_vn-75024841 2026-11-12 14:52:59,093 - DEBUG - VN ctest-ext_vn-75024841 UUID is 82df16e6-42c6-48b9-b55e-d6a2f01254ca 2026-11-12 14:52:59,299 - DEBUG - Services list from nova: [, , ] 2026-11-12 14:52:59,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6502-1) 2026-11-12 14:53:00,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6502-1) 2026-11-12 14:53:00,744 - INFO - Setting gateway for router 319ea161-7567-4c62-b24f-b56455610736 to network 82df16e6-42c6-48b9-b55e-d6a2f01254ca 2026-11-12 14:53:00,813 - INFO - Adding interface with subnet_id dfc7906e-f072-4bdc-b8d5-b7a5b82ae0c5, port_id None to router 319ea161-7567-4c62-b24f-b56455610736 2026-11-12 14:53:01,037 - INFO - Waiting for VM ctest-TestRoutersBasic-96846417-17779380 to be up.. 2026-11-12 14:53:01,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:06,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:11,253 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:16,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:21,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:26,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:31,597 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:36,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-12 14:53:41,755 - DEBUG - VM is in ACTIVE state now 2026-11-12 14:53:41,755 - INFO - VM name : ctest-TestRoutersBasic-96846417-17779380 2026-11-12 14:53:41,837 - DEBUG - VM ctest-TestRoutersBasic-96846417-17779380 ID is 4689bbc5-a83e-402e-b4ed-1bd038540b6d 2026-11-12 14:53:41,868 - DEBUG - VM ctest-TestRoutersBasic-96846417-17779380 launched on Node cn-jenkins-deploy-platform-ansible-os-6502-1 2026-11-12 14:53:41,954 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/4689bbc5-a83e-402e-b4ed-1bd038540b6d 2026-11-12 14:53:42,324 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/4689bbc5-a83e-402e-b4ed-1bd038540b6d 2026-11-12 14:53:42,358 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/a44c1456-de20-4f1c-9bbd-e5aab98cc5f3 2026-11-12 14:53:45,629 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2026-11-12 14:53:45,630 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-96846417-17779380 failed! 2026-11-12 14:53:45,685 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96846417:ctest-vn-13776848 is 208.195.137.65 and allocation pool is NOT set 2026-11-12 14:53:47,749 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=4.23 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.461/2.344/4.227/1.883 ms') 2026-11-12 14:53:47,749 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-96846417-17779380 passed 2026-11-12 14:53:47,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-12 14:53:47,897 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96846417-17779380, IP 208.195.137.67, Port 22 2026-11-12 14:53:48,063 - DEBUG - VM ctest-TestRoutersBasic-96846417-17779380 is ready for SSH connections 2026-11-12 14:53:48,063 - INFO - Waiting for VM ctest-TestRoutersBasic-96846417-84280027 to be up.. 2026-11-12 14:53:48,147 - DEBUG - VM is in ACTIVE state now 2026-11-12 14:53:48,147 - INFO - VM name : ctest-TestRoutersBasic-96846417-84280027 2026-11-12 14:53:48,223 - DEBUG - VM ctest-TestRoutersBasic-96846417-84280027 ID is 23ad68c4-c8fc-4fc3-b4dc-b601775417e8 2026-11-12 14:53:48,223 - DEBUG - VM ctest-TestRoutersBasic-96846417-84280027 launched on Node cn-jenkins-deploy-platform-ansible-os-6502-1 2026-11-12 14:53:48,297 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/23ad68c4-c8fc-4fc3-b4dc-b601775417e8 2026-11-12 14:53:48,315 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/dd33c2c9-f5f2-4c55-8fe5-a05fc1faebb2 2026-11-12 14:53:49,550 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=8.71 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.437 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.437/4.574/8.712/4.137 ms') 2026-11-12 14:53:49,550 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-96846417-84280027 passed 2026-11-12 14:53:49,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-12 14:53:49,697 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96846417-84280027, IP 61.195.5.132, Port 22 2026-11-12 14:53:49,875 - DEBUG - VM ctest-TestRoutersBasic-96846417-84280027 is ready for SSH connections 2026-11-12 14:53:49,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-12 14:53:49,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.195.5.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-12 14:53:49,876 - DEBUG - ping -s 56 -c 3 -W 1 61.195.5.132 2026-11-12 14:53:52,898 - DEBUG - PING 61.195.5.132 (61.195.5.132): 56 data bytes 64 bytes from 61.195.5.132: seq=0 ttl=62 time=5.206 ms 64 bytes from 61.195.5.132: seq=1 ttl=62 time=1.252 ms 64 bytes from 61.195.5.132: seq=2 ttl=62 time=1.002 ms --- 61.195.5.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.002/2.486/5.206 ms 2026-11-12 14:53:52,898 - INFO - Ping to IP 61.195.5.132 from VM ctest-TestRoutersBasic-96846417-17779380 passed 2026-11-12 14:53:52,898 - INFO - Deleting interface with subnet_id dfc7906e-f072-4bdc-b8d5-b7a5b82ae0c5, port_id None from router 319ea161-7567-4c62-b24f-b56455610736 2026-11-12 14:53:53,162 - INFO - Deleting VM ctest-TestRoutersBasic-96846417-84280027 2026-11-12 14:53:53,318 - INFO - Deleting VM ctest-TestRoutersBasic-96846417-17779380 2026-11-12 14:53:53,559 - INFO - Deleting VN ctest-ext_vn-75024841 2026-11-12 14:53:53,671 - DEBUG - VN 82df16e6-42c6-48b9-b55e-d6a2f01254ca still in use: Unable to complete operation on network 82df16e6-42c6-48b9-b55e-d6a2f01254ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93b7d594-5719-483a-bd90-ad8fe8d20e8d'] 2026-11-12 14:53:53,671 - WARNING - Deleting VN ctest-ext_vn-75024841 failed..Will retry 2026-11-12 14:53:55,707 - DEBUG - VN 82df16e6-42c6-48b9-b55e-d6a2f01254ca still in use: Unable to complete operation on network 82df16e6-42c6-48b9-b55e-d6a2f01254ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4655bf2-398f-4f0c-a693-1b5956f1b105'] 2026-11-12 14:53:55,707 - WARNING - Deleting VN ctest-ext_vn-75024841 failed..Will retry 2026-11-12 14:53:57,865 - DEBUG - Response for deleting network () 2026-11-12 14:53:57,866 - INFO - Deleting VN ctest-vn-13776848 2026-11-12 14:53:57,991 - DEBUG - Response for deleting network () 2026-11-12 14:53:58,251 - DEBUG - No XMPP flaps were noticed during the test 2026-11-12 14:53:58,251 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02] 2026-11-12 14:53:58,251 - INFO - -------------------------------------------------------------------------------- 2026-11-12 14:53:59,165 - INFO - Deleted project: ctest-TestRoutersBasic-96846417, ID : d80deb58-71bb-4869-ae1a-db4c8b892d36