2025-07-01 17:24:35,206 - INFO - Domain Default found not creating 2025-07-01 17:24:35,630 - INFO - Project ctest-TestRoutersBasic-67320288 not found, creating it 2025-07-01 17:24:36,330 - INFO - Created Project:ctest-TestRoutersBasic-67320288, ID : 8310eeb1-e22e-4a8e-ae3b-98cf4e857d62 2025-07-01 17:24:38,470 - INFO - ================================================================================ 2025-07-01 17:24:38,470 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-01 17:24:38,471 - 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 2025-07-01 17:24:38,790 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-01 17:24:38,790 - INFO - Initial checks done. Running the testcase now 2025-07-01 17:24:38,790 - INFO - 2025-07-01 17:24:39,837 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67320288 2025-07-01 17:24:39,957 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67320288 2025-07-01 17:24:40,372 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67320288', 'default']} 2025-07-01 17:24:40,862 - DEBUG - Response for create_network : {'network': {'id': 'b0424741-1aa5-48d6-8ea9-ded653992122', 'name': 'ctest-vn-42436406', 'tenant_id': '8310eeb1e22e4a8eae3b98cf4e857d62', 'project_id': '8310eeb1e22e4a8eae3b98cf4e857d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67320288', 'ctest-vn-42436406'], 'port_security_enabled': True, 'description': ''}} 2025-07-01 17:24:41,174 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4a6b915-aea5-4c12-9aef-7260c5b1842a', 'name': '', 'tenant_id': '8310eeb1e22e4a8eae3b98cf4e857d62', 'network_id': 'b0424741-1aa5-48d6-8ea9-ded653992122', 'ip_version': 4, 'cidr': '211.158.8.64/26', 'allocation_pools': [{'start': '211.158.8.66', 'end': '211.158.8.126'}], 'gateway_ip': '211.158.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.158.8.66', 'tags': [], 'project_id': '8310eeb1e22e4a8eae3b98cf4e857d62'}} 2025-07-01 17:24:41,201 - INFO - Created VN ctest-vn-42436406 2025-07-01 17:24:41,264 - DEBUG - VN ctest-vn-42436406 UUID is b0424741-1aa5-48d6-8ea9-ded653992122 2025-07-01 17:24:41,712 - DEBUG - Response for create_network : {'network': {'id': 'c6433d70-a872-43c7-8c64-224bac06ce92', 'name': 'ctest-ext_vn-47723870', 'tenant_id': '8310eeb1e22e4a8eae3b98cf4e857d62', 'project_id': '8310eeb1e22e4a8eae3b98cf4e857d62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67320288', 'ctest-ext_vn-47723870'], 'port_security_enabled': True, 'description': ''}} 2025-07-01 17:24:41,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd92db099-6cdc-4435-aa48-7db2b39027f5', 'name': '', 'tenant_id': '8310eeb1e22e4a8eae3b98cf4e857d62', 'network_id': 'c6433d70-a872-43c7-8c64-224bac06ce92', 'ip_version': 4, 'cidr': '92.206.131.64/26', 'allocation_pools': [{'start': '92.206.131.66', 'end': '92.206.131.126'}], 'gateway_ip': '92.206.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.206.131.66', 'tags': [], 'project_id': '8310eeb1e22e4a8eae3b98cf4e857d62'}} 2025-07-01 17:24:41,961 - INFO - Created VN ctest-ext_vn-47723870 2025-07-01 17:24:42,020 - DEBUG - VN ctest-ext_vn-47723870 UUID is c6433d70-a872-43c7-8c64-224bac06ce92 2025-07-01 17:24:42,311 - DEBUG - Services list from nova: [, , ] 2025-07-01 17:24:43,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3588-1) 2025-07-01 17:24:45,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3588-1) 2025-07-01 17:24:45,106 - INFO - Setting gateway for router 4269a6cb-6374-4dea-9840-51b92490182c to network c6433d70-a872-43c7-8c64-224bac06ce92 2025-07-01 17:24:45,160 - INFO - Adding interface with subnet_id e4a6b915-aea5-4c12-9aef-7260c5b1842a, port_id None to router 4269a6cb-6374-4dea-9840-51b92490182c 2025-07-01 17:24:45,481 - INFO - Waiting for VM ctest-TestRoutersBasic-67320288-65380752 to be up.. 2025-07-01 17:24:45,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-01 17:24:50,921 - DEBUG - VM is in ACTIVE state now 2025-07-01 17:24:50,921 - INFO - VM name : ctest-TestRoutersBasic-67320288-65380752 2025-07-01 17:24:51,083 - DEBUG - VM ctest-TestRoutersBasic-67320288-65380752 ID is 6759d27d-ba36-4cef-9d9d-3d460ce4586a 2025-07-01 17:24:51,116 - DEBUG - VM ctest-TestRoutersBasic-67320288-65380752 launched on Node cn-jenkins-deploy-platform-ansible-os-3588-1 2025-07-01 17:24:51,255 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6759d27d-ba36-4cef-9d9d-3d460ce4586a 2025-07-01 17:24:51,564 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6759d27d-ba36-4cef-9d9d-3d460ce4586a 2025-07-01 17:24:51,618 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/be3f1eaa-339e-4c4c-b71d-99fff80e5a83 2025-07-01 17:24:54,937 - 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 1006ms') 2025-07-01 17:24:54,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67320288-65380752 failed! 2025-07-01 17:24:55,016 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67320288:ctest-vn-42436406 is 211.158.8.65 and allocation pool is NOT set 2025-07-01 17:24:57,100 - 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=5.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.872 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.872/3.002/5.132/2.130 ms') 2025-07-01 17:24:57,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-67320288-65380752 passed 2025-07-01 17:24:57,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 17:24:57,268 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67320288-65380752, IP 211.158.8.67, Port 22 2025-07-01 17:24:57,451 - DEBUG - VM ctest-TestRoutersBasic-67320288-65380752 is ready for SSH connections 2025-07-01 17:24:57,452 - INFO - Waiting for VM ctest-TestRoutersBasic-67320288-89974114 to be up.. 2025-07-01 17:24:57,588 - DEBUG - VM is in ACTIVE state now 2025-07-01 17:24:57,588 - INFO - VM name : ctest-TestRoutersBasic-67320288-89974114 2025-07-01 17:24:57,717 - DEBUG - VM ctest-TestRoutersBasic-67320288-89974114 ID is ac7a3159-9c8f-4692-a98a-584aa39a735c 2025-07-01 17:24:57,717 - DEBUG - VM ctest-TestRoutersBasic-67320288-89974114 launched on Node cn-jenkins-deploy-platform-ansible-os-3588-1 2025-07-01 17:24:57,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ac7a3159-9c8f-4692-a98a-584aa39a735c 2025-07-01 17:24:57,876 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/67aaefe6-dfc9-4412-9f5d-02cab9bd5525 2025-07-01 17:24:59,194 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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 = 1.713/3.714/5.715/2.001 ms') 2025-07-01 17:24:59,195 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-67320288-89974114 passed 2025-07-01 17:24:59,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 17:24:59,389 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67320288-89974114, IP 92.206.131.67, Port 22 2025-07-01 17:24:59,595 - DEBUG - VM ctest-TestRoutersBasic-67320288-89974114 is ready for SSH connections 2025-07-01 17:24:59,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-01 17:24:59,596 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.206.131.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-01 17:24:59,596 - DEBUG - ping -s 56 -c 3 -W 1 92.206.131.67 2025-07-01 17:25:03,710 - DEBUG - PING 92.206.131.67 (92.206.131.67): 56 data bytes 64 bytes from 92.206.131.67: seq=0 ttl=62 time=7.340 ms 64 bytes from 92.206.131.67: seq=1 ttl=62 time=2.061 ms 64 bytes from 92.206.131.67: seq=2 ttl=62 time=2.035 ms --- 92.206.131.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.035/3.812/7.340 ms 2025-07-01 17:25:03,710 - INFO - Ping to IP 92.206.131.67 from VM ctest-TestRoutersBasic-67320288-65380752 passed 2025-07-01 17:25:03,711 - INFO - Deleting interface with subnet_id e4a6b915-aea5-4c12-9aef-7260c5b1842a, port_id None from router 4269a6cb-6374-4dea-9840-51b92490182c 2025-07-01 17:25:04,014 - INFO - Deleting VM ctest-TestRoutersBasic-67320288-89974114 2025-07-01 17:25:04,111 - INFO - Deleting VM ctest-TestRoutersBasic-67320288-65380752 2025-07-01 17:25:04,199 - INFO - Deleting VN ctest-ext_vn-47723870 2025-07-01 17:25:04,276 - DEBUG - VN c6433d70-a872-43c7-8c64-224bac06ce92 still in use: Unable to complete operation on network c6433d70-a872-43c7-8c64-224bac06ce92. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-694edace-ce57-40e4-bfeb-6da1f4dff90b'] 2025-07-01 17:25:04,276 - WARNING - Deleting VN ctest-ext_vn-47723870 failed..Will retry 2025-07-01 17:25:06,569 - DEBUG - Response for deleting network () 2025-07-01 17:25:06,569 - INFO - Deleting VN ctest-vn-42436406 2025-07-01 17:25:06,765 - DEBUG - Response for deleting network () 2025-07-01 17:25:07,077 - DEBUG - No XMPP flaps were noticed during the test 2025-07-01 17:25:07,077 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-07-01 17:25:07,078 - INFO - -------------------------------------------------------------------------------- 2025-07-01 17:25:07,942 - INFO - Deleted project: ctest-TestRoutersBasic-67320288, ID : 8310eeb1-e22e-4a8e-ae3b-98cf4e857d62