2026-05-19 15:40:51,048 - INFO - Domain Default found not creating 2026-05-19 15:40:51,214 - INFO - Project ctest-TestRoutersBasic-28159921 not found, creating it 2026-05-19 15:40:51,685 - INFO - Created Project:ctest-TestRoutersBasic-28159921, ID : fb58b6d4-345a-4048-aa41-6a85c29c5663 2026-05-19 15:40:53,190 - INFO - ================================================================================ 2026-05-19 15:40:53,191 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-19 15:40:53,191 - 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-05-19 15:40:53,450 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-05-19 15:40:53,450 - INFO - Initial checks done. Running the testcase now 2026-05-19 15:40:53,450 - INFO - 2026-05-19 15:40:54,180 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28159921 2026-05-19 15:40:54,276 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28159921 2026-05-19 15:40:54,588 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28159921', 'default']} 2026-05-19 15:40:54,881 - DEBUG - Response for create_network : {'network': {'id': '3312576b-2c43-4054-b96a-bb2f3c0ddcf9', 'name': 'ctest-vn-31352674', 'tenant_id': 'fb58b6d4345a4048aa416a85c29c5663', 'project_id': 'fb58b6d4345a4048aa416a85c29c5663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28159921', 'ctest-vn-31352674'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:40:55,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b20f21a-1a44-429b-9c82-ebca1fd42a4f', 'name': '', 'tenant_id': 'fb58b6d4345a4048aa416a85c29c5663', 'network_id': '3312576b-2c43-4054-b96a-bb2f3c0ddcf9', 'ip_version': 4, 'cidr': '59.44.236.192/26', 'allocation_pools': [{'start': '59.44.236.194', 'end': '59.44.236.254'}], 'gateway_ip': '59.44.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.44.236.194', 'tags': [], 'project_id': 'fb58b6d4345a4048aa416a85c29c5663'}} 2026-05-19 15:40:55,047 - INFO - Created VN ctest-vn-31352674 2026-05-19 15:40:55,100 - DEBUG - VN ctest-vn-31352674 UUID is 3312576b-2c43-4054-b96a-bb2f3c0ddcf9 2026-05-19 15:40:55,429 - DEBUG - Response for create_network : {'network': {'id': 'c68912ff-8627-4193-9be3-86bb24b71b12', 'name': 'ctest-ext_vn-74406124', 'tenant_id': 'fb58b6d4345a4048aa416a85c29c5663', 'project_id': 'fb58b6d4345a4048aa416a85c29c5663', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28159921', 'ctest-ext_vn-74406124'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:40:55,596 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f177ee6-750e-4dda-a766-8a48aacd43c7', 'name': '', 'tenant_id': 'fb58b6d4345a4048aa416a85c29c5663', 'network_id': 'c68912ff-8627-4193-9be3-86bb24b71b12', 'ip_version': 4, 'cidr': '7.93.254.0/26', 'allocation_pools': [{'start': '7.93.254.2', 'end': '7.93.254.62'}], 'gateway_ip': '7.93.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.93.254.2', 'tags': [], 'project_id': 'fb58b6d4345a4048aa416a85c29c5663'}} 2026-05-19 15:40:55,614 - INFO - Created VN ctest-ext_vn-74406124 2026-05-19 15:40:55,668 - DEBUG - VN ctest-ext_vn-74406124 UUID is c68912ff-8627-4193-9be3-86bb24b71b12 2026-05-19 15:40:55,835 - DEBUG - Services list from nova: [, , ] 2026-05-19 15:40:56,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5797-1) 2026-05-19 15:40:57,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5797-1) 2026-05-19 15:40:58,031 - INFO - Setting gateway for router ef43e1ec-a7fb-4fb1-9621-c82a5630c96a to network c68912ff-8627-4193-9be3-86bb24b71b12 2026-05-19 15:40:58,083 - INFO - Adding interface with subnet_id 3b20f21a-1a44-429b-9c82-ebca1fd42a4f, port_id None to router ef43e1ec-a7fb-4fb1-9621-c82a5630c96a 2026-05-19 15:40:58,426 - INFO - Waiting for VM ctest-TestRoutersBasic-28159921-41043096 to be up.. 2026-05-19 15:40:58,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-19 15:41:03,655 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:41:03,655 - INFO - VM name : ctest-TestRoutersBasic-28159921-41043096 2026-05-19 15:41:03,734 - DEBUG - VM ctest-TestRoutersBasic-28159921-41043096 ID is a041a27c-b5a5-4f4b-b13a-1588bc159fe5 2026-05-19 15:41:03,755 - DEBUG - VM ctest-TestRoutersBasic-28159921-41043096 launched on Node cn-jenkins-deploy-platform-ansible-os-5797-1 2026-05-19 15:41:03,840 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a041a27c-b5a5-4f4b-b13a-1588bc159fe5 2026-05-19 15:41:04,138 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a041a27c-b5a5-4f4b-b13a-1588bc159fe5 2026-05-19 15:41:04,172 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b7a0bb7c-23d7-49b6-95e0-a37118d2b366 2026-05-19 15:41:07,427 - 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-05-19 15:41:07,427 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28159921-41043096 failed! 2026-05-19 15:41:07,480 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28159921:ctest-vn-31352674 is 59.44.236.193 and allocation pool is NOT set 2026-05-19 15:41:09,539 - 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=4.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.458 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.458/2.319/4.181/1.861 ms') 2026-05-19 15:41:09,539 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28159921-41043096 passed 2026-05-19 15:41:09,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:41:09,688 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28159921-41043096, IP 59.44.236.195, Port 22 2026-05-19 15:41:09,848 - DEBUG - VM ctest-TestRoutersBasic-28159921-41043096 is ready for SSH connections 2026-05-19 15:41:09,848 - INFO - Waiting for VM ctest-TestRoutersBasic-28159921-75150505 to be up.. 2026-05-19 15:41:09,938 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:41:09,938 - INFO - VM name : ctest-TestRoutersBasic-28159921-75150505 2026-05-19 15:41:10,026 - DEBUG - VM ctest-TestRoutersBasic-28159921-75150505 ID is c5f45851-27b2-4a08-84e5-84729464b9de 2026-05-19 15:41:10,026 - DEBUG - VM ctest-TestRoutersBasic-28159921-75150505 launched on Node cn-jenkins-deploy-platform-ansible-os-5797-1 2026-05-19 15:41:10,100 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c5f45851-27b2-4a08-84e5-84729464b9de 2026-05-19 15:41:10,108 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/50c28d79-b4f0-429e-b03e-6a45b62de2c2 2026-05-19 15:41:11,354 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.450 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.450/1.700/2.950/1.250 ms') 2026-05-19 15:41:11,354 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28159921-75150505 passed 2026-05-19 15:41:11,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:41:11,504 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28159921-75150505, IP 7.93.254.3, Port 22 2026-05-19 15:41:11,675 - DEBUG - VM ctest-TestRoutersBasic-28159921-75150505 is ready for SSH connections 2026-05-19 15:41:11,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:41:11,675 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.93.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-05-19 15:41:11,675 - DEBUG - ping -s 56 -c 3 -W 1 7.93.254.3 2026-05-19 15:41:15,376 - DEBUG - PING 7.93.254.3 (7.93.254.3): 56 data bytes 64 bytes from 7.93.254.3: seq=0 ttl=62 time=6.831 ms 64 bytes from 7.93.254.3: seq=1 ttl=62 time=0.819 ms 64 bytes from 7.93.254.3: seq=2 ttl=62 time=0.725 ms --- 7.93.254.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/2.791/6.831 ms 2026-05-19 15:41:15,376 - INFO - Ping to IP 7.93.254.3 from VM ctest-TestRoutersBasic-28159921-41043096 passed 2026-05-19 15:41:15,377 - INFO - Deleting interface with subnet_id 3b20f21a-1a44-429b-9c82-ebca1fd42a4f, port_id None from router ef43e1ec-a7fb-4fb1-9621-c82a5630c96a 2026-05-19 15:41:15,579 - INFO - Deleting VM ctest-TestRoutersBasic-28159921-75150505 2026-05-19 15:41:15,645 - INFO - Deleting VM ctest-TestRoutersBasic-28159921-41043096 2026-05-19 15:41:15,724 - INFO - Deleting VN ctest-ext_vn-74406124 2026-05-19 15:41:15,785 - DEBUG - VN c68912ff-8627-4193-9be3-86bb24b71b12 still in use: Unable to complete operation on network c68912ff-8627-4193-9be3-86bb24b71b12. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6dbb90a7-e068-41a1-b472-1c18e6d80641'] 2026-05-19 15:41:15,785 - WARNING - Deleting VN ctest-ext_vn-74406124 failed..Will retry 2026-05-19 15:41:17,885 - DEBUG - Response for deleting network () 2026-05-19 15:41:17,885 - INFO - Deleting VN ctest-vn-31352674 2026-05-19 15:41:17,981 - DEBUG - Response for deleting network () 2026-05-19 15:41:18,237 - DEBUG - No XMPP flaps were noticed during the test 2026-05-19 15:41:18,237 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-05-19 15:41:18,237 - INFO - -------------------------------------------------------------------------------- 2026-05-19 15:41:18,922 - INFO - Deleted project: ctest-TestRoutersBasic-28159921, ID : fb58b6d4-345a-4048-aa41-6a85c29c5663