2026-04-28 13:06:10,006 - INFO - Domain Default found not creating 2026-04-28 13:06:10,183 - INFO - Project ctest-TestRoutersBasic-62096531 not found, creating it 2026-04-28 13:06:10,799 - INFO - Created Project:ctest-TestRoutersBasic-62096531, ID : b23ff369-4d65-4eb7-8a8c-653c2b305e85 2026-04-28 13:06:12,412 - INFO - ================================================================================ 2026-04-28 13:06:12,412 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-28 13:06:12,412 - 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 13:06:12,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.14': '0'}} with 2026-04-28 13:06:12,673 - INFO - Initial checks done. Running the testcase now 2026-04-28 13:06:12,673 - INFO - 2026-04-28 13:06:13,420 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62096531 2026-04-28 13:06:13,515 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62096531 2026-04-28 13:06:13,858 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62096531', 'default']} 2026-04-28 13:06:14,179 - DEBUG - Response for create_network : {'network': {'id': '25d0187b-aa11-4e42-ba77-55d557a7b2d4', 'name': 'ctest-vn-60492084', 'tenant_id': 'b23ff3694d654eb78a8c653c2b305e85', 'project_id': 'b23ff3694d654eb78a8c653c2b305e85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62096531', 'ctest-vn-60492084'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:06:14,344 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a835c6b1-cc3b-44c8-8ac6-d2417c85fe45', 'name': '', 'tenant_id': 'b23ff3694d654eb78a8c653c2b305e85', 'network_id': '25d0187b-aa11-4e42-ba77-55d557a7b2d4', 'ip_version': 4, 'cidr': '160.250.52.192/26', 'allocation_pools': [{'start': '160.250.52.194', 'end': '160.250.52.254'}], 'gateway_ip': '160.250.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.250.52.194', 'tags': [], 'project_id': 'b23ff3694d654eb78a8c653c2b305e85'}} 2026-04-28 13:06:14,363 - INFO - Created VN ctest-vn-60492084 2026-04-28 13:06:14,419 - DEBUG - VN ctest-vn-60492084 UUID is 25d0187b-aa11-4e42-ba77-55d557a7b2d4 2026-04-28 13:06:14,776 - DEBUG - Response for create_network : {'network': {'id': '13cda30a-cc92-4ebe-ab55-0ae74bf2f5cb', 'name': 'ctest-ext_vn-15189569', 'tenant_id': 'b23ff3694d654eb78a8c653c2b305e85', 'project_id': 'b23ff3694d654eb78a8c653c2b305e85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62096531', 'ctest-ext_vn-15189569'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 13:06:14,992 - DEBUG - Response for create_subnet : {'subnet': {'id': '14d271d4-e707-492f-88ea-2f30b3bbaceb', 'name': '', 'tenant_id': 'b23ff3694d654eb78a8c653c2b305e85', 'network_id': '13cda30a-cc92-4ebe-ab55-0ae74bf2f5cb', 'ip_version': 4, 'cidr': '120.92.55.128/26', 'allocation_pools': [{'start': '120.92.55.130', 'end': '120.92.55.190'}], 'gateway_ip': '120.92.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.92.55.130', 'tags': [], 'project_id': 'b23ff3694d654eb78a8c653c2b305e85'}} 2026-04-28 13:06:15,011 - INFO - Created VN ctest-ext_vn-15189569 2026-04-28 13:06:15,063 - DEBUG - VN ctest-ext_vn-15189569 UUID is 13cda30a-cc92-4ebe-ab55-0ae74bf2f5cb 2026-04-28 13:06:15,235 - DEBUG - Services list from nova: [, , ] 2026-04-28 13:06:16,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5702-1) 2026-04-28 13:06:17,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5702-1) 2026-04-28 13:06:17,766 - INFO - Setting gateway for router 9e83dc17-feeb-4909-b8a3-1bc022428674 to network 13cda30a-cc92-4ebe-ab55-0ae74bf2f5cb 2026-04-28 13:06:17,829 - INFO - Adding interface with subnet_id a835c6b1-cc3b-44c8-8ac6-d2417c85fe45, port_id None to router 9e83dc17-feeb-4909-b8a3-1bc022428674 2026-04-28 13:06:18,240 - INFO - Waiting for VM ctest-TestRoutersBasic-62096531-96310214 to be up.. 2026-04-28 13:06:18,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 13:06:23,489 - DEBUG - VM is in ACTIVE state now 2026-04-28 13:06:23,489 - INFO - VM name : ctest-TestRoutersBasic-62096531-96310214 2026-04-28 13:06:23,564 - DEBUG - VM ctest-TestRoutersBasic-62096531-96310214 ID is 3a884cb5-9bf7-4247-b727-7b8f995e8281 2026-04-28 13:06:23,584 - DEBUG - VM ctest-TestRoutersBasic-62096531-96310214 launched on Node cn-jenkins-deploy-platform-ansible-os-5702-1 2026-04-28 13:06:23,662 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/3a884cb5-9bf7-4247-b727-7b8f995e8281 2026-04-28 13:06:23,979 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/3a884cb5-9bf7-4247-b727-7b8f995e8281 2026-04-28 13:06:24,014 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/8c6ea342-5807-4219-a8bb-cf6a1996c528 2026-04-28 13:06:27,276 - 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 1013ms') 2026-04-28 13:06:27,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62096531-96310214 failed! 2026-04-28 13:06:27,331 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62096531:ctest-vn-60492084 is 160.250.52.193 and allocation pool is NOT set 2026-04-28 13:06:29,399 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.319 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.319/1.926/3.534/1.607 ms') 2026-04-28 13:06:29,399 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62096531-96310214 passed 2026-04-28 13:06:29,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:06:29,551 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62096531-96310214, IP 160.250.52.195, Port 22 2026-04-28 13:06:29,707 - DEBUG - VM ctest-TestRoutersBasic-62096531-96310214 is ready for SSH connections 2026-04-28 13:06:29,707 - INFO - Waiting for VM ctest-TestRoutersBasic-62096531-69638132 to be up.. 2026-04-28 13:06:29,790 - DEBUG - VM is in ACTIVE state now 2026-04-28 13:06:29,791 - INFO - VM name : ctest-TestRoutersBasic-62096531-69638132 2026-04-28 13:06:29,872 - DEBUG - VM ctest-TestRoutersBasic-62096531-69638132 ID is 9c061d3c-b6ae-4292-b88a-d21f986a96a9 2026-04-28 13:06:29,872 - DEBUG - VM ctest-TestRoutersBasic-62096531-69638132 launched on Node cn-jenkins-deploy-platform-ansible-os-5702-1 2026-04-28 13:06:29,962 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/9c061d3c-b6ae-4292-b88a-d21f986a96a9 2026-04-28 13:06:29,972 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/105956d3-e78f-424b-83ad-160165d6a7e4 2026-04-28 13:06:31,216 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.462/1.694/2.927/1.232 ms') 2026-04-28 13:06:31,216 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62096531-69638132 passed 2026-04-28 13:06:31,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:06:31,367 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62096531-69638132, IP 120.92.55.131, Port 22 2026-04-28 13:06:31,526 - DEBUG - VM ctest-TestRoutersBasic-62096531-69638132 is ready for SSH connections 2026-04-28 13:06:31,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 13:06:31,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.92.55.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2026-04-28 13:06:31,527 - DEBUG - ping -s 56 -c 3 -W 1 120.92.55.131 2026-04-28 13:06:35,259 - DEBUG - PING 120.92.55.131 (120.92.55.131): 56 data bytes 64 bytes from 120.92.55.131: seq=0 ttl=62 time=4.576 ms 64 bytes from 120.92.55.131: seq=1 ttl=62 time=1.105 ms 64 bytes from 120.92.55.131: seq=2 ttl=62 time=0.991 ms --- 120.92.55.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.991/2.224/4.576 ms 2026-04-28 13:06:35,259 - INFO - Ping to IP 120.92.55.131 from VM ctest-TestRoutersBasic-62096531-96310214 passed 2026-04-28 13:06:35,259 - INFO - Deleting interface with subnet_id a835c6b1-cc3b-44c8-8ac6-d2417c85fe45, port_id None from router 9e83dc17-feeb-4909-b8a3-1bc022428674 2026-04-28 13:06:35,445 - INFO - Deleting VM ctest-TestRoutersBasic-62096531-69638132 2026-04-28 13:06:35,532 - INFO - Deleting VM ctest-TestRoutersBasic-62096531-96310214 2026-04-28 13:06:35,644 - INFO - Deleting VN ctest-ext_vn-15189569 2026-04-28 13:06:35,729 - DEBUG - VN 13cda30a-cc92-4ebe-ab55-0ae74bf2f5cb still in use: Unable to complete operation on network 13cda30a-cc92-4ebe-ab55-0ae74bf2f5cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a808c231-bf54-40f9-bb28-83ba02403918'] 2026-04-28 13:06:35,729 - WARNING - Deleting VN ctest-ext_vn-15189569 failed..Will retry 2026-04-28 13:06:37,832 - DEBUG - Response for deleting network () 2026-04-28 13:06:37,833 - INFO - Deleting VN ctest-vn-60492084 2026-04-28 13:06:37,936 - DEBUG - Response for deleting network () 2026-04-28 13:06:38,200 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 13:06:38,200 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-28 13:06:38,200 - INFO - -------------------------------------------------------------------------------- 2026-04-28 13:06:38,917 - INFO - Deleted project: ctest-TestRoutersBasic-62096531, ID : b23ff369-4d65-4eb7-8a8c-653c2b305e85