2025-11-14 07:51:53,370 - INFO - Domain Default found not creating 2025-11-14 07:51:53,542 - INFO - Project ctest-TestRoutersBasic-68848411 not found, creating it 2025-11-14 07:51:54,021 - INFO - Created Project:ctest-TestRoutersBasic-68848411, ID : f780e973-ef74-4d56-99e1-ab41c73ccd60 2025-11-14 07:51:55,606 - INFO - ================================================================================ 2025-11-14 07:51:55,607 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-14 07:51:55,607 - 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-11-14 07:51:55,859 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-11-14 07:51:55,859 - INFO - Initial checks done. Running the testcase now 2025-11-14 07:51:55,859 - INFO - 2025-11-14 07:51:56,652 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68848411 2025-11-14 07:51:56,754 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68848411 2025-11-14 07:51:57,089 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68848411', 'default']} 2025-11-14 07:51:57,393 - DEBUG - Response for create_network : {'network': {'id': 'bbbe5ef9-d4de-4c5a-8018-34f9bd87180e', 'name': 'ctest-vn-89779870', 'tenant_id': 'f780e973ef744d5699e1ab41c73ccd60', 'project_id': 'f780e973ef744d5699e1ab41c73ccd60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68848411', 'ctest-vn-89779870'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:57,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec6d6fd4-6030-4627-98fe-7e28e2dbf7ea', 'name': '', 'tenant_id': 'f780e973ef744d5699e1ab41c73ccd60', 'network_id': 'bbbe5ef9-d4de-4c5a-8018-34f9bd87180e', 'ip_version': 4, 'cidr': '48.89.176.128/26', 'allocation_pools': [{'start': '48.89.176.130', 'end': '48.89.176.190'}], 'gateway_ip': '48.89.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.89.176.130', 'tags': [], 'project_id': 'f780e973ef744d5699e1ab41c73ccd60'}} 2025-11-14 07:51:57,628 - INFO - Created VN ctest-vn-89779870 2025-11-14 07:51:57,682 - DEBUG - VN ctest-vn-89779870 UUID is bbbe5ef9-d4de-4c5a-8018-34f9bd87180e 2025-11-14 07:51:58,050 - DEBUG - Response for create_network : {'network': {'id': '6bfc79e7-5e8e-4217-8fe1-0bd3a713b9ed', 'name': 'ctest-ext_vn-63248096', 'tenant_id': 'f780e973ef744d5699e1ab41c73ccd60', 'project_id': 'f780e973ef744d5699e1ab41c73ccd60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68848411', 'ctest-ext_vn-63248096'], 'port_security_enabled': True, 'description': ''}} 2025-11-14 07:51:58,252 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a36420d4-ef35-4c13-b6e7-48140a57bb02', 'name': '', 'tenant_id': 'f780e973ef744d5699e1ab41c73ccd60', 'network_id': '6bfc79e7-5e8e-4217-8fe1-0bd3a713b9ed', 'ip_version': 4, 'cidr': '144.139.171.192/26', 'allocation_pools': [{'start': '144.139.171.194', 'end': '144.139.171.254'}], 'gateway_ip': '144.139.171.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.139.171.194', 'tags': [], 'project_id': 'f780e973ef744d5699e1ab41c73ccd60'}} 2025-11-14 07:51:58,270 - INFO - Created VN ctest-ext_vn-63248096 2025-11-14 07:51:58,321 - DEBUG - VN ctest-ext_vn-63248096 UUID is 6bfc79e7-5e8e-4217-8fe1-0bd3a713b9ed 2025-11-14 07:51:58,491 - DEBUG - Services list from nova: [, , ] 2025-11-14 07:51:59,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1) 2025-11-14 07:52:00,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4727-1) 2025-11-14 07:52:00,938 - INFO - Setting gateway for router cfb906fa-af9e-4fb6-b11d-757d3b5a8b9a to network 6bfc79e7-5e8e-4217-8fe1-0bd3a713b9ed 2025-11-14 07:52:01,002 - INFO - Adding interface with subnet_id ec6d6fd4-6030-4627-98fe-7e28e2dbf7ea, port_id None to router cfb906fa-af9e-4fb6-b11d-757d3b5a8b9a 2025-11-14 07:52:01,403 - INFO - Waiting for VM ctest-TestRoutersBasic-68848411-82086126 to be up.. 2025-11-14 07:52:01,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-14 07:52:06,665 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:52:06,665 - INFO - VM name : ctest-TestRoutersBasic-68848411-82086126 2025-11-14 07:52:06,750 - DEBUG - VM ctest-TestRoutersBasic-68848411-82086126 ID is cb0f367e-8f6d-4c15-b4c6-d30ba8c7ed5b 2025-11-14 07:52:06,771 - DEBUG - VM ctest-TestRoutersBasic-68848411-82086126 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1 2025-11-14 07:52:06,845 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb0f367e-8f6d-4c15-b4c6-d30ba8c7ed5b 2025-11-14 07:52:07,185 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb0f367e-8f6d-4c15-b4c6-d30ba8c7ed5b 2025-11-14 07:52:07,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7f9c1ff2-ece2-4751-83ef-88d281caa69b 2025-11-14 07:52:10,475 - 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 1022ms') 2025-11-14 07:52:10,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68848411-82086126 failed! 2025-11-14 07:52:10,530 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68848411:ctest-vn-89779870 is 48.89.176.129 and allocation pool is NOT set 2025-11-14 07:52:12,588 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.450 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.450/1.903/3.356/1.453 ms') 2025-11-14 07:52:12,589 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68848411-82086126 passed 2025-11-14 07:52:12,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:52:12,742 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68848411-82086126, IP 48.89.176.131, Port 22 2025-11-14 07:52:12,897 - DEBUG - VM ctest-TestRoutersBasic-68848411-82086126 is ready for SSH connections 2025-11-14 07:52:12,897 - INFO - Waiting for VM ctest-TestRoutersBasic-68848411-85839373 to be up.. 2025-11-14 07:52:12,971 - DEBUG - VM is in ACTIVE state now 2025-11-14 07:52:12,971 - INFO - VM name : ctest-TestRoutersBasic-68848411-85839373 2025-11-14 07:52:13,041 - DEBUG - VM ctest-TestRoutersBasic-68848411-85839373 ID is ebc4db44-bf32-4e3a-a842-286b0a1371f6 2025-11-14 07:52:13,041 - DEBUG - VM ctest-TestRoutersBasic-68848411-85839373 launched on Node cn-jenkins-deploy-platform-ansible-os-4727-1 2025-11-14 07:52:13,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ebc4db44-bf32-4e3a-a842-286b0a1371f6 2025-11-14 07:52:13,123 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/242df317-d6c4-4eaa-a694-170e671a5873 2025-11-14 07:52:14,353 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.87 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 = 1.866/3.645/5.424/1.779 ms') 2025-11-14 07:52:14,354 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-68848411-85839373 passed 2025-11-14 07:52:14,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:52:14,522 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68848411-85839373, IP 144.139.171.195, Port 22 2025-11-14 07:52:14,677 - DEBUG - VM ctest-TestRoutersBasic-68848411-85839373 is ready for SSH connections 2025-11-14 07:52:14,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-14 07:52:14,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.139.171.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-14 07:52:14,678 - DEBUG - ping -s 56 -c 3 -W 1 144.139.171.195 2025-11-14 07:52:18,786 - DEBUG - PING 144.139.171.195 (144.139.171.195): 56 data bytes 64 bytes from 144.139.171.195: seq=0 ttl=62 time=5.840 ms 64 bytes from 144.139.171.195: seq=1 ttl=62 time=0.967 ms 64 bytes from 144.139.171.195: seq=2 ttl=62 time=0.954 ms --- 144.139.171.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.954/2.587/5.840 ms 2025-11-14 07:52:18,786 - INFO - Ping to IP 144.139.171.195 from VM ctest-TestRoutersBasic-68848411-82086126 passed 2025-11-14 07:52:18,786 - INFO - Deleting interface with subnet_id ec6d6fd4-6030-4627-98fe-7e28e2dbf7ea, port_id None from router cfb906fa-af9e-4fb6-b11d-757d3b5a8b9a 2025-11-14 07:52:18,978 - INFO - Deleting VM ctest-TestRoutersBasic-68848411-85839373 2025-11-14 07:52:19,057 - INFO - Deleting VM ctest-TestRoutersBasic-68848411-82086126 2025-11-14 07:52:19,141 - INFO - Deleting VN ctest-ext_vn-63248096 2025-11-14 07:52:19,207 - DEBUG - VN 6bfc79e7-5e8e-4217-8fe1-0bd3a713b9ed still in use: Unable to complete operation on network 6bfc79e7-5e8e-4217-8fe1-0bd3a713b9ed. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3893a97c-1871-4722-a595-3d173c7c06da'] 2025-11-14 07:52:19,207 - WARNING - Deleting VN ctest-ext_vn-63248096 failed..Will retry 2025-11-14 07:52:21,302 - DEBUG - Response for deleting network () 2025-11-14 07:52:21,302 - INFO - Deleting VN ctest-vn-89779870 2025-11-14 07:52:21,402 - DEBUG - Response for deleting network () 2025-11-14 07:52:21,655 - DEBUG - No XMPP flaps were noticed during the test
2025-11-14 07:52:21,655 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-14 07:52:21,656 - INFO - -------------------------------------------------------------------------------- 2025-11-14 07:52:22,360 - INFO - Deleted project: ctest-TestRoutersBasic-68848411, ID : f780e973-ef74-4d56-99e1-ab41c73ccd60