2025-06-17 10:00:51,164 - INFO - Domain Default found not creating 2025-06-17 10:00:51,331 - INFO - Project ctest-TestRoutersBasic-54751323 not found, creating it 2025-06-17 10:00:51,833 - INFO - Created Project:ctest-TestRoutersBasic-54751323, ID : e1a3b973-62f4-4a33-bfaa-87f6ca7bfcfe 2025-06-17 10:00:53,361 - INFO - ================================================================================ 2025-06-17 10:00:53,361 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-17 10:00:53,361 - 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-06-17 10:00:53,627 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-17 10:00:53,627 - INFO - Initial checks done. Running the testcase now 2025-06-17 10:00:53,627 - INFO - 2025-06-17 10:00:54,363 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54751323 2025-06-17 10:00:54,465 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54751323 2025-06-17 10:00:54,793 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54751323', 'default']} 2025-06-17 10:00:55,120 - DEBUG - Response for create_network : {'network': {'id': 'a7818c17-ad63-4824-9bfc-7f158ceff402', 'name': 'ctest-vn-27109785', 'tenant_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe', 'project_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54751323', 'ctest-vn-27109785'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:00:55,297 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2fa0a76-626f-4590-ada0-3505b923685c', 'name': '', 'tenant_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe', 'network_id': 'a7818c17-ad63-4824-9bfc-7f158ceff402', 'ip_version': 4, 'cidr': '89.30.249.128/26', 'allocation_pools': [{'start': '89.30.249.130', 'end': '89.30.249.190'}], 'gateway_ip': '89.30.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.30.249.130', 'tags': [], 'project_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe'}} 2025-06-17 10:00:55,317 - INFO - Created VN ctest-vn-27109785 2025-06-17 10:00:55,373 - DEBUG - VN ctest-vn-27109785 UUID is a7818c17-ad63-4824-9bfc-7f158ceff402 2025-06-17 10:00:55,735 - DEBUG - Response for create_network : {'network': {'id': 'f22090fe-bb8c-4fa2-b0c0-fa8d4890b51e', 'name': 'ctest-ext_vn-03270612', 'tenant_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe', 'project_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54751323', 'ctest-ext_vn-03270612'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:00:55,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '10542cc6-ac2b-4193-9dc4-bee4290ae458', 'name': '', 'tenant_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe', 'network_id': 'f22090fe-bb8c-4fa2-b0c0-fa8d4890b51e', 'ip_version': 4, 'cidr': '151.98.236.64/26', 'allocation_pools': [{'start': '151.98.236.66', 'end': '151.98.236.126'}], 'gateway_ip': '151.98.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.98.236.66', 'tags': [], 'project_id': 'e1a3b97362f44a33bfaa87f6ca7bfcfe'}} 2025-06-17 10:00:55,966 - INFO - Created VN ctest-ext_vn-03270612 2025-06-17 10:00:56,021 - DEBUG - VN ctest-ext_vn-03270612 UUID is f22090fe-bb8c-4fa2-b0c0-fa8d4890b51e 2025-06-17 10:00:56,204 - DEBUG - Services list from nova: [, , ] 2025-06-17 10:00:57,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3460-1) 2025-06-17 10:00:58,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3460-1) 2025-06-17 10:00:58,651 - INFO - Setting gateway for router 2bc35179-7862-4498-9d51-c85bca98cfe0 to network f22090fe-bb8c-4fa2-b0c0-fa8d4890b51e 2025-06-17 10:00:58,737 - INFO - Adding interface with subnet_id c2fa0a76-626f-4590-ada0-3505b923685c, port_id None to router 2bc35179-7862-4498-9d51-c85bca98cfe0 2025-06-17 10:00:59,221 - INFO - Waiting for VM ctest-TestRoutersBasic-54751323-83096064 to be up.. 2025-06-17 10:00:59,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 10:01:04,567 - DEBUG - VM is in ACTIVE state now 2025-06-17 10:01:04,567 - INFO - VM name : ctest-TestRoutersBasic-54751323-83096064 2025-06-17 10:01:04,666 - DEBUG - VM ctest-TestRoutersBasic-54751323-83096064 ID is 787d0ea7-f7a1-4622-b442-5c272c10c1c6 2025-06-17 10:01:04,690 - DEBUG - VM ctest-TestRoutersBasic-54751323-83096064 launched on Node cn-jenkins-deploy-platform-ansible-os-3460-1 2025-06-17 10:01:04,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/787d0ea7-f7a1-4622-b442-5c272c10c1c6 2025-06-17 10:01:05,095 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/787d0ea7-f7a1-4622-b442-5c272c10c1c6 2025-06-17 10:01:05,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c4e57b47-2ada-4d30-accd-1b685f262cdc 2025-06-17 10:01:08,400 - 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 1005ms') 2025-06-17 10:01:08,400 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54751323-83096064 failed! 2025-06-17 10:01:08,457 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54751323:ctest-vn-27109785 is 89.30.249.129 and allocation pool is NOT set 2025-06-17 10:01:10,525 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/1.795/3.059/1.263 ms') 2025-06-17 10:01:10,525 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54751323-83096064 passed 2025-06-17 10:01:10,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:01:10,685 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54751323-83096064, IP 89.30.249.131, Port 22 2025-06-17 10:01:10,852 - DEBUG - VM ctest-TestRoutersBasic-54751323-83096064 is ready for SSH connections 2025-06-17 10:01:10,852 - INFO - Waiting for VM ctest-TestRoutersBasic-54751323-52066679 to be up.. 2025-06-17 10:01:10,961 - DEBUG - VM is in ACTIVE state now 2025-06-17 10:01:10,961 - INFO - VM name : ctest-TestRoutersBasic-54751323-52066679 2025-06-17 10:01:11,061 - DEBUG - VM ctest-TestRoutersBasic-54751323-52066679 ID is 6f9af5e9-f4e5-454b-9cc3-277bd52dc835 2025-06-17 10:01:11,062 - DEBUG - VM ctest-TestRoutersBasic-54751323-52066679 launched on Node cn-jenkins-deploy-platform-ansible-os-3460-1 2025-06-17 10:01:11,155 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6f9af5e9-f4e5-454b-9cc3-277bd52dc835 2025-06-17 10:01:11,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a764278c-e388-4e9a-baf7-6664b68e0834 2025-06-17 10:01:12,424 - 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=3.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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.095/2.504/3.914/1.409 ms') 2025-06-17 10:01:12,424 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54751323-52066679 passed 2025-06-17 10:01:12,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:01:12,581 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54751323-52066679, IP 151.98.236.67, Port 22 2025-06-17 10:01:12,746 - DEBUG - VM ctest-TestRoutersBasic-54751323-52066679 is ready for SSH connections 2025-06-17 10:01:12,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:01:12,747 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 151.98.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-17 10:01:12,747 - DEBUG - ping -s 56 -c 3 -W 1 151.98.236.67 2025-06-17 10:01:16,445 - DEBUG - PING 151.98.236.67 (151.98.236.67): 56 data bytes 64 bytes from 151.98.236.67: seq=0 ttl=62 time=7.334 ms 64 bytes from 151.98.236.67: seq=1 ttl=62 time=1.235 ms 64 bytes from 151.98.236.67: seq=2 ttl=62 time=1.377 ms --- 151.98.236.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.235/3.315/7.334 ms 2025-06-17 10:01:16,445 - INFO - Ping to IP 151.98.236.67 from VM ctest-TestRoutersBasic-54751323-83096064 passed 2025-06-17 10:01:16,445 - INFO - Deleting interface with subnet_id c2fa0a76-626f-4590-ada0-3505b923685c, port_id None from router 2bc35179-7862-4498-9d51-c85bca98cfe0 2025-06-17 10:01:16,696 - INFO - Deleting VM ctest-TestRoutersBasic-54751323-52066679 2025-06-17 10:01:16,781 - INFO - Deleting VM ctest-TestRoutersBasic-54751323-83096064 2025-06-17 10:01:16,878 - INFO - Deleting VN ctest-ext_vn-03270612 2025-06-17 10:01:17,041 - DEBUG - VN f22090fe-bb8c-4fa2-b0c0-fa8d4890b51e still in use: Unable to complete operation on network f22090fe-bb8c-4fa2-b0c0-fa8d4890b51e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e41e2ea-bbd0-407a-8d36-927048998ab0'] 2025-06-17 10:01:17,042 - WARNING - Deleting VN ctest-ext_vn-03270612 failed..Will retry 2025-06-17 10:01:19,168 - DEBUG - Response for deleting network () 2025-06-17 10:01:19,168 - INFO - Deleting VN ctest-vn-27109785 2025-06-17 10:01:19,321 - DEBUG - Response for deleting network () 2025-06-17 10:01:19,576 - DEBUG - No XMPP flaps were noticed during the test 2025-06-17 10:01:19,576 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-17 10:01:19,576 - INFO - -------------------------------------------------------------------------------- 2025-06-17 10:01:20,323 - INFO - Deleted project: ctest-TestRoutersBasic-54751323, ID : e1a3b973-62f4-4a33-bfaa-87f6ca7bfcfe