2026-04-28 14:56:15,721 - INFO - Domain Default found not creating 2026-04-28 14:56:15,901 - INFO - Project ctest-TestRoutersBasic-67865280 not found, creating it 2026-04-28 14:56:16,405 - INFO - Created Project:ctest-TestRoutersBasic-67865280, ID : 7a6ccc9a-eb77-4bf4-8df2-fa4c1b1fdf12 2026-04-28 14:56:17,918 - INFO - ================================================================================ 2026-04-28 14:56:17,918 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-28 14:56:17,918 - 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-04-28 14:56:18,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-28 14:56:18,174 - INFO - Initial checks done. Running the testcase now 2026-04-28 14:56:18,174 - INFO - 2026-04-28 14:56:18,884 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67865280 2026-04-28 14:56:18,984 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67865280 2026-04-28 14:56:19,312 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67865280', 'default']} 2026-04-28 14:56:19,612 - DEBUG - Response for create_network : {'network': {'id': '7cb685cf-18d3-40ee-8557-d8c16c5b1bd3', 'name': 'ctest-vn-41527064', 'tenant_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12', 'project_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67865280', 'ctest-vn-41527064'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 14:56:19,806 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c0373d0-66ba-442e-a523-daa6c9f38712', 'name': '', 'tenant_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12', 'network_id': '7cb685cf-18d3-40ee-8557-d8c16c5b1bd3', 'ip_version': 4, 'cidr': '144.16.185.64/26', 'allocation_pools': [{'start': '144.16.185.66', 'end': '144.16.185.126'}], 'gateway_ip': '144.16.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.16.185.66', 'tags': [], 'project_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12'}} 2026-04-28 14:56:19,834 - INFO - Created VN ctest-vn-41527064 2026-04-28 14:56:19,892 - DEBUG - VN ctest-vn-41527064 UUID is 7cb685cf-18d3-40ee-8557-d8c16c5b1bd3 2026-04-28 14:56:20,314 - DEBUG - Response for create_network : {'network': {'id': '21d578d0-e071-440b-bbf0-f58f114daf97', 'name': 'ctest-ext_vn-67584540', 'tenant_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12', 'project_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67865280', 'ctest-ext_vn-67584540'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 14:56:20,509 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b48e39cc-91e1-491c-93ac-80c99236381a', 'name': '', 'tenant_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12', 'network_id': '21d578d0-e071-440b-bbf0-f58f114daf97', 'ip_version': 4, 'cidr': '138.28.92.0/26', 'allocation_pools': [{'start': '138.28.92.2', 'end': '138.28.92.62'}], 'gateway_ip': '138.28.92.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.28.92.2', 'tags': [], 'project_id': '7a6ccc9aeb774bf48df2fa4c1b1fdf12'}} 2026-04-28 14:56:20,532 - INFO - Created VN ctest-ext_vn-67584540 2026-04-28 14:56:20,584 - DEBUG - VN ctest-ext_vn-67584540 UUID is 21d578d0-e071-440b-bbf0-f58f114daf97 2026-04-28 14:56:20,793 - DEBUG - Services list from nova: [, , ] 2026-04-28 14:56:21,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5704-1) 2026-04-28 14:56:22,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5704-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5704-1) 2026-04-28 14:56:23,034 - INFO - Setting gateway for router 5286d66e-f2b2-4d57-96bc-30f7fa49843b to network 21d578d0-e071-440b-bbf0-f58f114daf97 2026-04-28 14:56:23,120 - INFO - Adding interface with subnet_id 3c0373d0-66ba-442e-a523-daa6c9f38712, port_id None to router 5286d66e-f2b2-4d57-96bc-30f7fa49843b 2026-04-28 14:56:23,616 - INFO - Waiting for VM ctest-TestRoutersBasic-67865280-11377252 to be up.. 2026-04-28 14:56:23,728 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 14:56:28,815 - DEBUG - VM is in ACTIVE state now 2026-04-28 14:56:28,815 - INFO - VM name : ctest-TestRoutersBasic-67865280-11377252 2026-04-28 14:56:28,887 - DEBUG - VM ctest-TestRoutersBasic-67865280-11377252 ID is ab8a1e22-c3b9-4c74-9951-f0c6af28cd3e 2026-04-28 14:56:28,906 - DEBUG - VM ctest-TestRoutersBasic-67865280-11377252 launched on Node cn-jenkins-deploy-platform-ansible-os-5704-1 2026-04-28 14:56:28,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab8a1e22-c3b9-4c74-9951-f0c6af28cd3e 2026-04-28 14:56:29,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab8a1e22-c3b9-4c74-9951-f0c6af28cd3e 2026-04-28 14:56:29,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5debd802-6e6b-42ad-b72e-0e2392359cd2 2026-04-28 14:56:32,574 - 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 1019ms') 2026-04-28 14:56:32,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67865280-11377252 failed! 2026-04-28 14:56:32,628 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67865280:ctest-vn-41527064 is 144.16.185.65 and allocation pool is NOT set 2026-04-28 14:56:34,696 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.541 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.541/1.858/3.175/1.317 ms') 2026-04-28 14:56:34,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67865280-11377252 passed 2026-04-28 14:56:34,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:56:34,844 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67865280-11377252, IP 144.16.185.67, Port 22 2026-04-28 14:56:35,003 - DEBUG - VM ctest-TestRoutersBasic-67865280-11377252 is ready for SSH connections 2026-04-28 14:56:35,003 - INFO - Waiting for VM ctest-TestRoutersBasic-67865280-53707866 to be up.. 2026-04-28 14:56:35,084 - DEBUG - VM is in ACTIVE state now 2026-04-28 14:56:35,084 - INFO - VM name : ctest-TestRoutersBasic-67865280-53707866 2026-04-28 14:56:35,156 - DEBUG - VM ctest-TestRoutersBasic-67865280-53707866 ID is 10d4b17b-573f-441d-91bf-077dbcca214c 2026-04-28 14:56:35,156 - DEBUG - VM ctest-TestRoutersBasic-67865280-53707866 launched on Node cn-jenkins-deploy-platform-ansible-os-5704-1 2026-04-28 14:56:35,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/10d4b17b-573f-441d-91bf-077dbcca214c 2026-04-28 14:56:35,240 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d6a6ac88-a295-4259-98ba-8fb5eec072c1 2026-04-28 14:56:36,478 - 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=5.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.49 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 = 2.486/3.916/5.346/1.430 ms') 2026-04-28 14:56:36,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67865280-53707866 passed 2026-04-28 14:56:36,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:56:36,632 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67865280-53707866, IP 138.28.92.3, Port 22 2026-04-28 14:56:36,802 - DEBUG - VM ctest-TestRoutersBasic-67865280-53707866 is ready for SSH connections 2026-04-28 14:56:36,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 14:56:36,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.28.92.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-28 14:56:36,802 - DEBUG - ping -s 56 -c 3 -W 1 138.28.92.3 2026-04-28 14:56:40,529 - DEBUG - PING 138.28.92.3 (138.28.92.3): 56 data bytes 64 bytes from 138.28.92.3: seq=0 ttl=62 time=5.658 ms 64 bytes from 138.28.92.3: seq=1 ttl=62 time=0.825 ms 64 bytes from 138.28.92.3: seq=2 ttl=62 time=2.606 ms --- 138.28.92.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/3.029/5.658 ms 2026-04-28 14:56:40,529 - INFO - Ping to IP 138.28.92.3 from VM ctest-TestRoutersBasic-67865280-11377252 passed 2026-04-28 14:56:40,529 - INFO - Deleting interface with subnet_id 3c0373d0-66ba-442e-a523-daa6c9f38712, port_id None from router 5286d66e-f2b2-4d57-96bc-30f7fa49843b 2026-04-28 14:56:40,747 - INFO - Deleting VM ctest-TestRoutersBasic-67865280-53707866 2026-04-28 14:56:40,836 - INFO - Deleting VM ctest-TestRoutersBasic-67865280-11377252 2026-04-28 14:56:40,924 - INFO - Deleting VN ctest-ext_vn-67584540 2026-04-28 14:56:41,010 - DEBUG - VN 21d578d0-e071-440b-bbf0-f58f114daf97 still in use: Unable to complete operation on network 21d578d0-e071-440b-bbf0-f58f114daf97. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0894a938-ac19-485f-8319-fb14ea8459c1'] 2026-04-28 14:56:41,010 - WARNING - Deleting VN ctest-ext_vn-67584540 failed..Will retry 2026-04-28 14:56:43,126 - DEBUG - Response for deleting network () 2026-04-28 14:56:43,126 - INFO - Deleting VN ctest-vn-41527064 2026-04-28 14:56:43,241 - DEBUG - Response for deleting network () 2026-04-28 14:56:43,492 - DEBUG - No XMPP flaps were noticed during the test 2026-04-28 14:56:43,492 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-04-28 14:56:43,492 - INFO - -------------------------------------------------------------------------------- 2026-04-28 14:56:44,180 - INFO - Deleted project: ctest-TestRoutersBasic-67865280, ID : 7a6ccc9a-eb77-4bf4-8df2-fa4c1b1fdf12