2025-12-03 12:40:11,514 - INFO - Domain Default found not creating 2025-12-03 12:40:11,694 - INFO - Project ctest-TestRoutersBasic-44400601 not found, creating it 2025-12-03 12:40:12,171 - INFO - Created Project:ctest-TestRoutersBasic-44400601, ID : 233c7420-d5e5-408c-9b91-d175666dcde7 2025-12-03 12:40:14,656 - INFO - ================================================================================ 2025-12-03 12:40:14,656 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-03 12:40:14,656 - 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-12-03 12:40:14,920 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 12:40:14,920 - INFO - Initial checks done. Running the testcase now 2025-12-03 12:40:14,920 - INFO - 2025-12-03 12:40:15,732 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44400601 2025-12-03 12:40:15,827 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44400601 2025-12-03 12:40:16,147 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44400601', 'default']} 2025-12-03 12:40:16,439 - DEBUG - Response for create_network : {'network': {'id': '357daa61-c10f-474f-9ae3-e315368a683c', 'name': 'ctest-vn-13275961', 'tenant_id': '233c7420d5e5408c9b91d175666dcde7', 'project_id': '233c7420d5e5408c9b91d175666dcde7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44400601', 'ctest-vn-13275961'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:40:16,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e28681c3-6ff2-494a-9117-4ac2955b600f', 'name': '', 'tenant_id': '233c7420d5e5408c9b91d175666dcde7', 'network_id': '357daa61-c10f-474f-9ae3-e315368a683c', 'ip_version': 4, 'cidr': '181.197.159.192/26', 'allocation_pools': [{'start': '181.197.159.194', 'end': '181.197.159.254'}], 'gateway_ip': '181.197.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.197.159.194', 'tags': [], 'project_id': '233c7420d5e5408c9b91d175666dcde7'}} 2025-12-03 12:40:16,698 - INFO - Created VN ctest-vn-13275961 2025-12-03 12:40:16,751 - DEBUG - VN ctest-vn-13275961 UUID is 357daa61-c10f-474f-9ae3-e315368a683c 2025-12-03 12:40:17,087 - DEBUG - Response for create_network : {'network': {'id': '167321b5-2a73-4a25-af59-249df26ecc84', 'name': 'ctest-ext_vn-86553795', 'tenant_id': '233c7420d5e5408c9b91d175666dcde7', 'project_id': '233c7420d5e5408c9b91d175666dcde7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44400601', 'ctest-ext_vn-86553795'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 12:40:17,277 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e725831a-032a-42cc-ba9c-c9b7fa02292f', 'name': '', 'tenant_id': '233c7420d5e5408c9b91d175666dcde7', 'network_id': '167321b5-2a73-4a25-af59-249df26ecc84', 'ip_version': 4, 'cidr': '50.198.137.192/26', 'allocation_pools': [{'start': '50.198.137.194', 'end': '50.198.137.254'}], 'gateway_ip': '50.198.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.198.137.194', 'tags': [], 'project_id': '233c7420d5e5408c9b91d175666dcde7'}} 2025-12-03 12:40:17,295 - INFO - Created VN ctest-ext_vn-86553795 2025-12-03 12:40:17,347 - DEBUG - VN ctest-ext_vn-86553795 UUID is 167321b5-2a73-4a25-af59-249df26ecc84 2025-12-03 12:40:17,519 - DEBUG - Services list from nova: [, , ] 2025-12-03 12:40:18,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4833-1) 2025-12-03 12:40:19,959 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4833-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4833-1) 2025-12-03 12:40:20,040 - INFO - Setting gateway for router 214e9431-eb32-4fed-b2e8-49dbfcc49fa8 to network 167321b5-2a73-4a25-af59-249df26ecc84 2025-12-03 12:40:20,099 - INFO - Adding interface with subnet_id e28681c3-6ff2-494a-9117-4ac2955b600f, port_id None to router 214e9431-eb32-4fed-b2e8-49dbfcc49fa8 2025-12-03 12:40:20,441 - INFO - Waiting for VM ctest-TestRoutersBasic-44400601-28040049 to be up.. 2025-12-03 12:40:20,641 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-03 12:40:25,722 - DEBUG - VM is in ACTIVE state now 2025-12-03 12:40:25,722 - INFO - VM name : ctest-TestRoutersBasic-44400601-28040049 2025-12-03 12:40:25,808 - DEBUG - VM ctest-TestRoutersBasic-44400601-28040049 ID is d2517b3a-cf86-4867-86fd-6f88dbb0a46a 2025-12-03 12:40:25,830 - DEBUG - VM ctest-TestRoutersBasic-44400601-28040049 launched on Node cn-jenkins-deploy-platform-ansible-os-4833-1 2025-12-03 12:40:25,915 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d2517b3a-cf86-4867-86fd-6f88dbb0a46a 2025-12-03 12:40:26,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d2517b3a-cf86-4867-86fd-6f88dbb0a46a 2025-12-03 12:40:26,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/990f88cb-4349-4dda-8e40-fd940d4ab8ed 2025-12-03 12:40:29,555 - 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') 2025-12-03 12:40:29,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44400601-28040049 failed! 2025-12-03 12:40:29,611 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44400601:ctest-vn-13275961 is 181.197.159.193 and allocation pool is NOT set 2025-12-03 12:40:33,685 - 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=2 ttl=63 time=7.63 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 7.631/7.631/7.631/0.000 ms') 2025-12-03 12:40:33,685 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44400601-28040049 passed 2025-12-03 12:40:33,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:40:33,843 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44400601-28040049, IP 181.197.159.195, Port 22 2025-12-03 12:40:34,010 - DEBUG - VM ctest-TestRoutersBasic-44400601-28040049 is ready for SSH connections 2025-12-03 12:40:34,010 - INFO - Waiting for VM ctest-TestRoutersBasic-44400601-51997227 to be up.. 2025-12-03 12:40:34,093 - DEBUG - VM is in ACTIVE state now 2025-12-03 12:40:34,093 - INFO - VM name : ctest-TestRoutersBasic-44400601-51997227 2025-12-03 12:40:34,169 - DEBUG - VM ctest-TestRoutersBasic-44400601-51997227 ID is 56a894d6-4f49-43c2-ae8c-e46a685076ec 2025-12-03 12:40:34,169 - DEBUG - VM ctest-TestRoutersBasic-44400601-51997227 launched on Node cn-jenkins-deploy-platform-ansible-os-4833-1 2025-12-03 12:40:34,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56a894d6-4f49-43c2-ae8c-e46a685076ec 2025-12-03 12:40:34,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/18bca92c-03f0-4fcc-855a-cf7060a9a3fe 2025-12-03 12:40:35,492 - 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=4.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/2.200/4.017/1.817 ms') 2025-12-03 12:40:35,492 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44400601-51997227 passed 2025-12-03 12:40:35,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:40:35,643 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44400601-51997227, IP 50.198.137.195, Port 22 2025-12-03 12:40:35,809 - DEBUG - VM ctest-TestRoutersBasic-44400601-51997227 is ready for SSH connections 2025-12-03 12:40:35,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 12:40:35,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.198.137.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 12:40:35,810 - DEBUG - ping -s 56 -c 3 -W 1 50.198.137.195 2025-12-03 12:40:39,584 - DEBUG - PING 50.198.137.195 (50.198.137.195): 56 data bytes 64 bytes from 50.198.137.195: seq=0 ttl=62 time=7.723 ms 64 bytes from 50.198.137.195: seq=1 ttl=62 time=0.926 ms 64 bytes from 50.198.137.195: seq=2 ttl=62 time=0.996 ms --- 50.198.137.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/3.215/7.723 ms 2025-12-03 12:40:39,584 - INFO - Ping to IP 50.198.137.195 from VM ctest-TestRoutersBasic-44400601-28040049 passed 2025-12-03 12:40:39,584 - INFO - Deleting interface with subnet_id e28681c3-6ff2-494a-9117-4ac2955b600f, port_id None from router 214e9431-eb32-4fed-b2e8-49dbfcc49fa8 2025-12-03 12:40:39,795 - INFO - Deleting VM ctest-TestRoutersBasic-44400601-51997227 2025-12-03 12:40:39,886 - INFO - Deleting VM ctest-TestRoutersBasic-44400601-28040049 2025-12-03 12:40:39,969 - INFO - Deleting VN ctest-ext_vn-86553795 2025-12-03 12:40:40,050 - DEBUG - VN 167321b5-2a73-4a25-af59-249df26ecc84 still in use: Unable to complete operation on network 167321b5-2a73-4a25-af59-249df26ecc84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0801891-fe28-4451-a7b7-54005ba96b8b'] 2025-12-03 12:40:40,050 - WARNING - Deleting VN ctest-ext_vn-86553795 failed..Will retry 2025-12-03 12:40:42,156 - DEBUG - Response for deleting network () 2025-12-03 12:40:42,156 - INFO - Deleting VN ctest-vn-13275961 2025-12-03 12:40:42,268 - DEBUG - Response for deleting network () 2025-12-03 12:40:42,521 - DEBUG - No XMPP flaps were noticed during the test
2025-12-03 12:40:42,521 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-12-03 12:40:42,521 - INFO - -------------------------------------------------------------------------------- 2025-12-03 12:40:43,284 - INFO - Deleted project: ctest-TestRoutersBasic-44400601, ID : 233c7420-d5e5-408c-9b91-d175666dcde7