2026-02-09 17:00:45,102 - INFO - Domain Default found not creating 2026-02-09 17:00:45,266 - INFO - Project ctest-TestRoutersBasic-02621071 not found, creating it 2026-02-09 17:00:45,720 - INFO - Created Project:ctest-TestRoutersBasic-02621071, ID : 23d92641-4b54-4621-a3ba-161b2a53756d 2026-02-09 17:00:47,185 - INFO - ================================================================================ 2026-02-09 17:00:47,185 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-09 17:00:47,185 - 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 17:00:47,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-02-09 17:00:47,445 - INFO - Initial checks done. Running the testcase now 2026-02-09 17:00:47,445 - INFO - 2026-02-09 17:00:48,153 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02621071 2026-02-09 17:00:48,248 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02621071 2026-02-09 17:00:48,564 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02621071', 'default']} 2026-02-09 17:00:48,850 - DEBUG - Response for create_network : {'network': {'id': 'da9e4180-f287-425d-b57c-63b934d517c2', 'name': 'ctest-vn-82160807', 'tenant_id': '23d926414b544621a3ba161b2a53756d', 'project_id': '23d926414b544621a3ba161b2a53756d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02621071', 'ctest-vn-82160807'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 17:00:48,995 - DEBUG - Response for create_subnet : {'subnet': {'id': '9316e340-b795-48a5-b7ec-48a24aba6ef7', 'name': '', 'tenant_id': '23d926414b544621a3ba161b2a53756d', 'network_id': 'da9e4180-f287-425d-b57c-63b934d517c2', 'ip_version': 4, 'cidr': '122.112.208.64/26', 'allocation_pools': [{'start': '122.112.208.66', 'end': '122.112.208.126'}], 'gateway_ip': '122.112.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.112.208.66', 'tags': [], 'project_id': '23d926414b544621a3ba161b2a53756d'}} 2026-02-09 17:00:49,013 - INFO - Created VN ctest-vn-82160807 2026-02-09 17:00:49,064 - DEBUG - VN ctest-vn-82160807 UUID is da9e4180-f287-425d-b57c-63b934d517c2 2026-02-09 17:00:49,354 - DEBUG - Response for create_network : {'network': {'id': '9bf0e160-89be-4dfd-a02a-7fc07672d0a4', 'name': 'ctest-ext_vn-88920927', 'tenant_id': '23d926414b544621a3ba161b2a53756d', 'project_id': '23d926414b544621a3ba161b2a53756d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02621071', 'ctest-ext_vn-88920927'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 17:00:49,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d85e182-1906-4ab3-9bef-aa3d32422dc0', 'name': '', 'tenant_id': '23d926414b544621a3ba161b2a53756d', 'network_id': '9bf0e160-89be-4dfd-a02a-7fc07672d0a4', 'ip_version': 4, 'cidr': '16.18.84.0/26', 'allocation_pools': [{'start': '16.18.84.2', 'end': '16.18.84.62'}], 'gateway_ip': '16.18.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.18.84.2', 'tags': [], 'project_id': '23d926414b544621a3ba161b2a53756d'}} 2026-02-09 17:00:49,576 - INFO - Created VN ctest-ext_vn-88920927 2026-02-09 17:00:49,628 - DEBUG - VN ctest-ext_vn-88920927 UUID is 9bf0e160-89be-4dfd-a02a-7fc07672d0a4 2026-02-09 17:00:49,826 - DEBUG - Services list from nova: [, , ] 2026-02-09 17:00:50,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5246-1) 2026-02-09 17:00:52,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5246-1) 2026-02-09 17:00:52,079 - INFO - Setting gateway for router f47c3336-22c5-40a3-b73c-6e721728bfa0 to network 9bf0e160-89be-4dfd-a02a-7fc07672d0a4 2026-02-09 17:00:52,136 - INFO - Adding interface with subnet_id 9316e340-b795-48a5-b7ec-48a24aba6ef7, port_id None to router f47c3336-22c5-40a3-b73c-6e721728bfa0 2026-02-09 17:00:52,507 - INFO - Waiting for VM ctest-TestRoutersBasic-02621071-72649978 to be up.. 2026-02-09 17:00:52,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 17:00:57,737 - DEBUG - VM is in ACTIVE state now 2026-02-09 17:00:57,737 - INFO - VM name : ctest-TestRoutersBasic-02621071-72649978 2026-02-09 17:00:57,809 - DEBUG - VM ctest-TestRoutersBasic-02621071-72649978 ID is f63378ea-9b70-4c2d-b5bb-9adcecf6ce43 2026-02-09 17:00:57,833 - DEBUG - VM ctest-TestRoutersBasic-02621071-72649978 launched on Node cn-jenkins-deploy-platform-ansible-os-5246-1 2026-02-09 17:00:57,910 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f63378ea-9b70-4c2d-b5bb-9adcecf6ce43 2026-02-09 17:00:58,209 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f63378ea-9b70-4c2d-b5bb-9adcecf6ce43 2026-02-09 17:00:58,241 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fa789bfd-6f46-46a0-9a96-73269c69eaba 2026-02-09 17:01:01,486 - 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 17:01:01,486 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02621071-72649978 failed! 2026-02-09 17:01:01,540 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02621071:ctest-vn-82160807 is 122.112.208.65 and allocation pool is NOT set 2026-02-09 17:01:03,606 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/1.743/3.057/1.314 ms') 2026-02-09 17:01:03,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02621071-72649978 passed 2026-02-09 17:01:03,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:01:03,756 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02621071-72649978, IP 122.112.208.67, Port 22 2026-02-09 17:01:03,916 - DEBUG - VM ctest-TestRoutersBasic-02621071-72649978 is ready for SSH connections 2026-02-09 17:01:03,916 - INFO - Waiting for VM ctest-TestRoutersBasic-02621071-80069918 to be up.. 2026-02-09 17:01:03,989 - DEBUG - VM is in ACTIVE state now 2026-02-09 17:01:03,989 - INFO - VM name : ctest-TestRoutersBasic-02621071-80069918 2026-02-09 17:01:04,057 - DEBUG - VM ctest-TestRoutersBasic-02621071-80069918 ID is ac928953-afb3-490e-8b74-a28f3df339e9 2026-02-09 17:01:04,057 - DEBUG - VM ctest-TestRoutersBasic-02621071-80069918 launched on Node cn-jenkins-deploy-platform-ansible-os-5246-1 2026-02-09 17:01:04,127 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ac928953-afb3-490e-8b74-a28f3df339e9 2026-02-09 17:01:04,134 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e10cb29d-1ea8-42cb-81c7-940eec5d0b27 2026-02-09 17:01:05,363 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.296 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.296/1.804/3.313/1.508 ms') 2026-02-09 17:01:05,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02621071-80069918 passed 2026-02-09 17:01:05,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:01:05,512 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02621071-80069918, IP 16.18.84.3, Port 22 2026-02-09 17:01:05,671 - DEBUG - VM ctest-TestRoutersBasic-02621071-80069918 is ready for SSH connections 2026-02-09 17:01:05,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 17:01:05,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.18.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-09 17:01:05,672 - DEBUG - ping -s 56 -c 3 -W 1 16.18.84.3 2026-02-09 17:01:09,707 - DEBUG - PING 16.18.84.3 (16.18.84.3): 56 data bytes 64 bytes from 16.18.84.3: seq=0 ttl=62 time=6.509 ms 64 bytes from 16.18.84.3: seq=1 ttl=62 time=0.798 ms 64 bytes from 16.18.84.3: seq=2 ttl=62 time=1.115 ms --- 16.18.84.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/2.807/6.509 ms 2026-02-09 17:01:09,707 - INFO - Ping to IP 16.18.84.3 from VM ctest-TestRoutersBasic-02621071-72649978 passed 2026-02-09 17:01:09,707 - INFO - Deleting interface with subnet_id 9316e340-b795-48a5-b7ec-48a24aba6ef7, port_id None from router f47c3336-22c5-40a3-b73c-6e721728bfa0 2026-02-09 17:01:09,885 - INFO - Deleting VM ctest-TestRoutersBasic-02621071-80069918 2026-02-09 17:01:09,948 - INFO - Deleting VM ctest-TestRoutersBasic-02621071-72649978 2026-02-09 17:01:10,026 - INFO - Deleting VN ctest-ext_vn-88920927 2026-02-09 17:01:10,090 - DEBUG - VN 9bf0e160-89be-4dfd-a02a-7fc07672d0a4 still in use: Unable to complete operation on network 9bf0e160-89be-4dfd-a02a-7fc07672d0a4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46a35584-d2a3-45b7-b9c8-b8a953fb1905'] 2026-02-09 17:01:10,091 - WARNING - Deleting VN ctest-ext_vn-88920927 failed..Will retry 2026-02-09 17:01:12,185 - DEBUG - Response for deleting network () 2026-02-09 17:01:12,185 - INFO - Deleting VN ctest-vn-82160807 2026-02-09 17:01:12,284 - DEBUG - Response for deleting network () 2026-02-09 17:01:12,541 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 17:01:12,541 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-02-09 17:01:12,541 - INFO - -------------------------------------------------------------------------------- 2026-02-09 17:01:13,232 - INFO - Deleted project: ctest-TestRoutersBasic-02621071, ID : 23d92641-4b54-4621-a3ba-161b2a53756d