2026-04-20 02:20:51,770 - INFO - Domain Default found not creating 2026-04-20 02:20:51,918 - INFO - Project ctest-TestRoutersBasic-55284604 not found, creating it 2026-04-20 02:20:52,356 - INFO - Created Project:ctest-TestRoutersBasic-55284604, ID : bf0bb53c-51f8-4859-81eb-80e14211a4d7 2026-04-20 02:20:53,798 - INFO - ================================================================================ 2026-04-20 02:20:53,799 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-20 02:20:53,799 - 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-20 02:20:54,059 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with 2026-04-20 02:20:54,059 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:20:54,059 - INFO - 2026-04-20 02:20:54,754 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55284604 2026-04-20 02:20:54,850 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55284604 2026-04-20 02:20:55,166 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55284604', 'default']} 2026-04-20 02:20:55,451 - DEBUG - Response for create_network : {'network': {'id': 'b2660a55-df74-4559-af5b-7bd6a56214ad', 'name': 'ctest-vn-92490450', 'tenant_id': 'bf0bb53c51f8485981eb80e14211a4d7', 'project_id': 'bf0bb53c51f8485981eb80e14211a4d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55284604', 'ctest-vn-92490450'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:20:55,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdecd6f7-2841-410c-a8be-4c7267344b22', 'name': '', 'tenant_id': 'bf0bb53c51f8485981eb80e14211a4d7', 'network_id': 'b2660a55-df74-4559-af5b-7bd6a56214ad', 'ip_version': 4, 'cidr': '17.242.14.0/26', 'allocation_pools': [{'start': '17.242.14.2', 'end': '17.242.14.62'}], 'gateway_ip': '17.242.14.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.242.14.2', 'tags': [], 'project_id': 'bf0bb53c51f8485981eb80e14211a4d7'}} 2026-04-20 02:20:55,684 - INFO - Created VN ctest-vn-92490450 2026-04-20 02:20:55,738 - DEBUG - VN ctest-vn-92490450 UUID is b2660a55-df74-4559-af5b-7bd6a56214ad 2026-04-20 02:20:56,061 - DEBUG - Response for create_network : {'network': {'id': '0338d816-4d68-4892-be2a-329724a1efe1', 'name': 'ctest-ext_vn-70998656', 'tenant_id': 'bf0bb53c51f8485981eb80e14211a4d7', 'project_id': 'bf0bb53c51f8485981eb80e14211a4d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55284604', 'ctest-ext_vn-70998656'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:20:56,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '15d9be29-8402-4379-983d-baf4c48c5c97', 'name': '', 'tenant_id': 'bf0bb53c51f8485981eb80e14211a4d7', 'network_id': '0338d816-4d68-4892-be2a-329724a1efe1', 'ip_version': 4, 'cidr': '13.235.65.128/26', 'allocation_pools': [{'start': '13.235.65.130', 'end': '13.235.65.190'}], 'gateway_ip': '13.235.65.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.235.65.130', 'tags': [], 'project_id': 'bf0bb53c51f8485981eb80e14211a4d7'}} 2026-04-20 02:20:56,292 - INFO - Created VN ctest-ext_vn-70998656 2026-04-20 02:20:56,342 - DEBUG - VN ctest-ext_vn-70998656 UUID is 0338d816-4d68-4892-be2a-329724a1efe1 2026-04-20 02:20:56,536 - DEBUG - Services list from nova: [, , ] 2026-04-20 02:20:57,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5648-1) 2026-04-20 02:20:58,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5648-1) 2026-04-20 02:20:58,690 - INFO - Setting gateway for router 9e0b01cf-ac6c-4826-a475-c0066fc97059 to network 0338d816-4d68-4892-be2a-329724a1efe1 2026-04-20 02:20:58,766 - INFO - Adding interface with subnet_id bdecd6f7-2841-410c-a8be-4c7267344b22, port_id None to router 9e0b01cf-ac6c-4826-a475-c0066fc97059 2026-04-20 02:20:59,129 - INFO - Waiting for VM ctest-TestRoutersBasic-55284604-29023602 to be up.. 2026-04-20 02:20:59,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 02:21:04,367 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:21:04,368 - INFO - VM name : ctest-TestRoutersBasic-55284604-29023602 2026-04-20 02:21:04,445 - DEBUG - VM ctest-TestRoutersBasic-55284604-29023602 ID is 3915a86f-3c24-44fa-a1b7-1a2d7673fab3 2026-04-20 02:21:04,462 - DEBUG - VM ctest-TestRoutersBasic-55284604-29023602 launched on Node cn-jenkins-deploy-platform-ansible-os-5648-1 2026-04-20 02:21:04,529 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3915a86f-3c24-44fa-a1b7-1a2d7673fab3 2026-04-20 02:21:04,849 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3915a86f-3c24-44fa-a1b7-1a2d7673fab3 2026-04-20 02:21:04,897 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e2951f17-6309-43f8-8dec-b9c4ede9a87a 2026-04-20 02:21:08,165 - 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 1026ms') 2026-04-20 02:21:08,165 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55284604-29023602 failed! 2026-04-20 02:21:08,222 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55284604:ctest-vn-92490450 is 17.242.14.1 and allocation pool is NOT set 2026-04-20 02:21:10,287 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 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.355/1.518/2.682/1.163 ms') 2026-04-20 02:21:10,287 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55284604-29023602 passed 2026-04-20 02:21:10,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:21:10,394 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55284604-29023602, IP 17.242.14.3, Port 22 2026-04-20 02:21:10,553 - DEBUG - VM ctest-TestRoutersBasic-55284604-29023602 is ready for SSH connections 2026-04-20 02:21:10,553 - INFO - Waiting for VM ctest-TestRoutersBasic-55284604-96562731 to be up.. 2026-04-20 02:21:10,625 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:21:10,625 - INFO - VM name : ctest-TestRoutersBasic-55284604-96562731 2026-04-20 02:21:10,690 - DEBUG - VM ctest-TestRoutersBasic-55284604-96562731 ID is 02617419-aedb-4e48-ab45-e36e7da1d99d 2026-04-20 02:21:10,690 - DEBUG - VM ctest-TestRoutersBasic-55284604-96562731 launched on Node cn-jenkins-deploy-platform-ansible-os-5648-1 2026-04-20 02:21:10,756 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/02617419-aedb-4e48-ab45-e36e7da1d99d 2026-04-20 02:21:10,764 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/67c5496c-e8eb-4a37-a73a-e65c77136827 2026-04-20 02:21:12,002 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.337 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.337/1.527/2.717/1.190 ms') 2026-04-20 02:21:12,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55284604-96562731 passed 2026-04-20 02:21:12,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:21:12,150 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55284604-96562731, IP 13.235.65.131, Port 22 2026-04-20 02:21:12,305 - DEBUG - VM ctest-TestRoutersBasic-55284604-96562731 is ready for SSH connections 2026-04-20 02:21:12,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:21:12,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.235.65.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-20 02:21:12,306 - DEBUG - ping -s 56 -c 3 -W 1 13.235.65.131 2026-04-20 02:21:16,017 - DEBUG - PING 13.235.65.131 (13.235.65.131): 56 data bytes 64 bytes from 13.235.65.131: seq=0 ttl=62 time=5.050 ms 64 bytes from 13.235.65.131: seq=1 ttl=62 time=0.810 ms 64 bytes from 13.235.65.131: seq=2 ttl=62 time=1.073 ms --- 13.235.65.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/2.311/5.050 ms 2026-04-20 02:21:16,017 - INFO - Ping to IP 13.235.65.131 from VM ctest-TestRoutersBasic-55284604-29023602 passed 2026-04-20 02:21:16,017 - INFO - Deleting interface with subnet_id bdecd6f7-2841-410c-a8be-4c7267344b22, port_id None from router 9e0b01cf-ac6c-4826-a475-c0066fc97059 2026-04-20 02:21:16,228 - INFO - Deleting VM ctest-TestRoutersBasic-55284604-96562731 2026-04-20 02:21:16,295 - INFO - Deleting VM ctest-TestRoutersBasic-55284604-29023602 2026-04-20 02:21:16,372 - INFO - Deleting VN ctest-ext_vn-70998656 2026-04-20 02:21:16,455 - DEBUG - VN 0338d816-4d68-4892-be2a-329724a1efe1 still in use: Unable to complete operation on network 0338d816-4d68-4892-be2a-329724a1efe1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ae244a9f-0be5-487d-8e0c-0de88218cb2f'] 2026-04-20 02:21:16,456 - WARNING - Deleting VN ctest-ext_vn-70998656 failed..Will retry 2026-04-20 02:21:18,571 - DEBUG - Response for deleting network () 2026-04-20 02:21:18,572 - INFO - Deleting VN ctest-vn-92490450 2026-04-20 02:21:18,681 - DEBUG - Response for deleting network () 2026-04-20 02:21:18,940 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 02:21:18,940 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-04-20 02:21:18,940 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:21:19,625 - INFO - Deleted project: ctest-TestRoutersBasic-55284604, ID : bf0bb53c-51f8-4859-81eb-80e14211a4d7