2026-02-09 02:20:50,922 - INFO - Domain Default found not creating 2026-02-09 02:20:51,107 - INFO - Project ctest-TestRoutersBasic-33705496 not found, creating it 2026-02-09 02:20:51,698 - INFO - Created Project:ctest-TestRoutersBasic-33705496, ID : 3f83f8ea-397b-4b35-a989-87aab9f71f4f 2026-02-09 02:20:53,212 - INFO - ================================================================================ 2026-02-09 02:20:53,212 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 02:20:53,212 - 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-09 02:20:54,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.18': '0', '10.20.0.25': '0'}} with 2026-02-09 02:20:54,492 - INFO - Initial checks done. Running the testcase now 2026-02-09 02:20:54,492 - INFO - 2026-02-09 02:20:55,228 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33705496 2026-02-09 02:20:55,284 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33705496 2026-02-09 02:20:55,584 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33705496', 'default']} 2026-02-09 02:20:55,966 - DEBUG - Response for create_network : {'network': {'id': 'd79dcbc1-83a7-418a-8a86-2ee0534bf7de', 'name': 'ctest-vn-30470832', 'tenant_id': '3f83f8ea397b4b35a98987aab9f71f4f', 'project_id': '3f83f8ea397b4b35a98987aab9f71f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33705496', 'ctest-vn-30470832'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:20:56,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '19a57888-88af-41a1-a5a4-54cbf824478e', 'name': '', 'tenant_id': '3f83f8ea397b4b35a98987aab9f71f4f', 'network_id': 'd79dcbc1-83a7-418a-8a86-2ee0534bf7de', 'ip_version': 4, 'cidr': '147.113.199.0/26', 'allocation_pools': [{'start': '147.113.199.2', 'end': '147.113.199.62'}], 'gateway_ip': '147.113.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.113.199.2', 'tags': [], 'project_id': '3f83f8ea397b4b35a98987aab9f71f4f'}} 2026-02-09 02:20:56,234 - INFO - Created VN ctest-vn-30470832 2026-02-09 02:20:56,250 - DEBUG - VN ctest-vn-30470832 UUID is d79dcbc1-83a7-418a-8a86-2ee0534bf7de 2026-02-09 02:20:56,685 - DEBUG - Response for create_network : {'network': {'id': '4f5809a6-c6a2-482a-af7b-23427bdfe687', 'name': 'ctest-ext_vn-20120699', 'tenant_id': '3f83f8ea397b4b35a98987aab9f71f4f', 'project_id': '3f83f8ea397b4b35a98987aab9f71f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33705496', 'ctest-ext_vn-20120699'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:20:56,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '82032d29-7f2c-4d8d-91cb-f375ccf6adc2', 'name': '', 'tenant_id': '3f83f8ea397b4b35a98987aab9f71f4f', 'network_id': '4f5809a6-c6a2-482a-af7b-23427bdfe687', 'ip_version': 4, 'cidr': '220.44.223.64/26', 'allocation_pools': [{'start': '220.44.223.66', 'end': '220.44.223.126'}], 'gateway_ip': '220.44.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.44.223.66', 'tags': [], 'project_id': '3f83f8ea397b4b35a98987aab9f71f4f'}} 2026-02-09 02:20:56,929 - INFO - Created VN ctest-ext_vn-20120699 2026-02-09 02:20:56,940 - DEBUG - VN ctest-ext_vn-20120699 UUID is 4f5809a6-c6a2-482a-af7b-23427bdfe687 2026-02-09 02:20:57,067 - DEBUG - Services list from nova: [, , , ] 2026-02-09 02:20:58,062 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5238-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5238-1) 2026-02-09 02:20:59,279 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5238-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5238-2) 2026-02-09 02:20:59,384 - INFO - Setting gateway for router 2d2f5e15-65e7-45b3-b936-f0f9c747e62f to network 4f5809a6-c6a2-482a-af7b-23427bdfe687 2026-02-09 02:20:59,470 - INFO - Adding interface with subnet_id 19a57888-88af-41a1-a5a4-54cbf824478e, port_id None to router 2d2f5e15-65e7-45b3-b936-f0f9c747e62f 2026-02-09 02:21:00,171 - INFO - Waiting for VM ctest-TestRoutersBasic-33705496-62068919 to be up.. 2026-02-09 02:21:00,355 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:21:00,355 - INFO - VM name : ctest-TestRoutersBasic-33705496-62068919 2026-02-09 02:21:00,522 - DEBUG - VM ctest-TestRoutersBasic-33705496-62068919 ID is 266f9f4c-f8b9-47ac-9717-a1f5b046fa12 2026-02-09 02:21:00,575 - DEBUG - VM ctest-TestRoutersBasic-33705496-62068919 launched on Node an-jenkins-deploy-platform-ansible-os-5238-1 2026-02-09 02:21:00,713 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/266f9f4c-f8b9-47ac-9717-a1f5b046fa12 2026-02-09 02:21:01,166 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/266f9f4c-f8b9-47ac-9717-a1f5b046fa12 2026-02-09 02:21:01,240 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2879fef8-99f1-4126-939f-8549e5b2f38c 2026-02-09 02:21:04,438 - 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 1001ms') 2026-02-09 02:21:04,438 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33705496-62068919 failed! 2026-02-09 02:21:04,454 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33705496:ctest-vn-30470832 is 147.113.199.1 and allocation pool is NOT set 2026-02-09 02:21:08,529 - 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 1015ms') 2026-02-09 02:21:08,529 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33705496-62068919 failed! 2026-02-09 02:21:08,543 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33705496:ctest-vn-30470832 is 147.113.199.1 and allocation pool is NOT set 2026-02-09 02:21:10,605 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.799 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.799/3.094/5.389/2.295 ms') 2026-02-09 02:21:10,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33705496-62068919 passed 2026-02-09 02:21:10,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:21:10,676 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33705496-62068919, IP 147.113.199.3, Port 22 2026-02-09 02:21:10,844 - DEBUG - VM ctest-TestRoutersBasic-33705496-62068919 is ready for SSH connections 2026-02-09 02:21:10,844 - INFO - Waiting for VM ctest-TestRoutersBasic-33705496-34327099 to be up.. 2026-02-09 02:21:10,933 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:21:10,934 - INFO - VM name : ctest-TestRoutersBasic-33705496-34327099 2026-02-09 02:21:11,020 - DEBUG - VM ctest-TestRoutersBasic-33705496-34327099 ID is fd698ca3-a559-4323-b74d-992994f61aec 2026-02-09 02:21:11,020 - DEBUG - VM ctest-TestRoutersBasic-33705496-34327099 launched on Node an-jenkins-deploy-platform-ansible-os-5238-2 2026-02-09 02:21:11,113 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fd698ca3-a559-4323-b74d-992994f61aec 2026-02-09 02:21:11,123 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/ba16ded9-e247-4b9e-9cb0-4cf27db751fb 2026-02-09 02:21:12,283 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.851/3.248/1.397 ms') 2026-02-09 02:21:12,283 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33705496-34327099 passed 2026-02-09 02:21:12,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:21:12,352 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33705496-34327099, IP 220.44.223.67, Port 22 2026-02-09 02:21:12,520 - DEBUG - VM ctest-TestRoutersBasic-33705496-34327099 is ready for SSH connections 2026-02-09 02:21:12,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:21:12,520 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.44.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-02-09 02:21:12,520 - DEBUG - ping -s 56 -c 3 -W 1 220.44.223.67 2026-02-09 02:21:16,213 - DEBUG - PING 220.44.223.67 (220.44.223.67): 56 data bytes 64 bytes from 220.44.223.67: seq=0 ttl=62 time=9.475 ms 64 bytes from 220.44.223.67: seq=1 ttl=62 time=1.151 ms 64 bytes from 220.44.223.67: seq=2 ttl=62 time=1.315 ms --- 220.44.223.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.151/3.980/9.475 ms 2026-02-09 02:21:16,213 - INFO - Ping to IP 220.44.223.67 from VM ctest-TestRoutersBasic-33705496-62068919 passed 2026-02-09 02:21:16,213 - INFO - Deleting interface with subnet_id 19a57888-88af-41a1-a5a4-54cbf824478e, port_id None from router 2d2f5e15-65e7-45b3-b936-f0f9c747e62f 2026-02-09 02:21:16,556 - INFO - Deleting VM ctest-TestRoutersBasic-33705496-34327099 2026-02-09 02:21:16,645 - INFO - Deleting VM ctest-TestRoutersBasic-33705496-62068919 2026-02-09 02:21:16,751 - INFO - Deleting VN ctest-ext_vn-20120699 2026-02-09 02:21:16,873 - DEBUG - VN 4f5809a6-c6a2-482a-af7b-23427bdfe687 still in use: Unable to complete operation on network 4f5809a6-c6a2-482a-af7b-23427bdfe687. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b8aa3730-3204-4003-ba24-56180b8356eb'] 2026-02-09 02:21:16,874 - WARNING - Deleting VN ctest-ext_vn-20120699 failed..Will retry 2026-02-09 02:21:19,040 - DEBUG - Response for deleting network () 2026-02-09 02:21:19,041 - INFO - Deleting VN ctest-vn-30470832 2026-02-09 02:21:19,202 - DEBUG - Response for deleting network () 2026-02-09 02:21:20,463 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 02:21:20,463 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2026-02-09 02:21:20,463 - INFO - -------------------------------------------------------------------------------- 2026-02-09 02:21:21,205 - INFO - Deleted project: ctest-TestRoutersBasic-33705496, ID : 3f83f8ea-397b-4b35-a989-87aab9f71f4f