2025-08-21 11:22:18,280 - INFO - Domain Default found not creating 2025-08-21 11:22:18,440 - INFO - Project ctest-TestRoutersBasic-11238047 not found, creating it 2025-08-21 11:22:18,949 - INFO - Created Project:ctest-TestRoutersBasic-11238047, ID : 29b3afdb-01c1-4839-9d76-5286353e1010 2025-08-21 11:22:20,536 - INFO - ================================================================================ 2025-08-21 11:22:20,537 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-21 11:22:20,537 - 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-08-21 11:22:20,815 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-21 11:22:20,815 - INFO - Initial checks done. Running the testcase now 2025-08-21 11:22:20,815 - INFO - 2025-08-21 11:22:21,626 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11238047 2025-08-21 11:22:21,726 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11238047 2025-08-21 11:22:22,058 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11238047', 'default']} 2025-08-21 11:22:22,382 - DEBUG - Response for create_network : {'network': {'id': '23b873b3-4c72-4f92-84c7-8f5a4924d377', 'name': 'ctest-vn-73547311', 'tenant_id': '29b3afdb01c148399d765286353e1010', 'project_id': '29b3afdb01c148399d765286353e1010', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11238047', 'ctest-vn-73547311'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:22:22,558 - DEBUG - Response for create_subnet : {'subnet': {'id': '170ba6ac-c2c0-444d-83d9-504cb1808a08', 'name': '', 'tenant_id': '29b3afdb01c148399d765286353e1010', 'network_id': '23b873b3-4c72-4f92-84c7-8f5a4924d377', 'ip_version': 4, 'cidr': '18.53.153.192/26', 'allocation_pools': [{'start': '18.53.153.194', 'end': '18.53.153.254'}], 'gateway_ip': '18.53.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.53.153.194', 'tags': [], 'project_id': '29b3afdb01c148399d765286353e1010'}} 2025-08-21 11:22:22,578 - INFO - Created VN ctest-vn-73547311 2025-08-21 11:22:22,634 - DEBUG - VN ctest-vn-73547311 UUID is 23b873b3-4c72-4f92-84c7-8f5a4924d377 2025-08-21 11:22:23,003 - DEBUG - Response for create_network : {'network': {'id': 'bf02f5da-205a-4df2-b880-145a88ee545e', 'name': 'ctest-ext_vn-42166115', 'tenant_id': '29b3afdb01c148399d765286353e1010', 'project_id': '29b3afdb01c148399d765286353e1010', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11238047', 'ctest-ext_vn-42166115'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:22:23,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdc990f6-c6b3-4a31-920b-ef62285049a2', 'name': '', 'tenant_id': '29b3afdb01c148399d765286353e1010', 'network_id': 'bf02f5da-205a-4df2-b880-145a88ee545e', 'ip_version': 4, 'cidr': '103.125.150.128/26', 'allocation_pools': [{'start': '103.125.150.130', 'end': '103.125.150.190'}], 'gateway_ip': '103.125.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.125.150.130', 'tags': [], 'project_id': '29b3afdb01c148399d765286353e1010'}} 2025-08-21 11:22:23,267 - INFO - Created VN ctest-ext_vn-42166115 2025-08-21 11:22:23,318 - DEBUG - VN ctest-ext_vn-42166115 UUID is bf02f5da-205a-4df2-b880-145a88ee545e 2025-08-21 11:22:23,488 - DEBUG - Services list from nova: [, , ] 2025-08-21 11:22:24,613 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:22:25,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:22:26,010 - INFO - Setting gateway for router 2dc1b0f6-8587-4fa7-a535-74634d889e16 to network bf02f5da-205a-4df2-b880-145a88ee545e 2025-08-21 11:22:26,085 - INFO - Adding interface with subnet_id 170ba6ac-c2c0-444d-83d9-504cb1808a08, port_id None to router 2dc1b0f6-8587-4fa7-a535-74634d889e16 2025-08-21 11:22:26,578 - INFO - Waiting for VM ctest-TestRoutersBasic-11238047-24304247 to be up.. 2025-08-21 11:22:26,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 11:22:31,952 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:22:31,952 - INFO - VM name : ctest-TestRoutersBasic-11238047-24304247 2025-08-21 11:22:32,050 - DEBUG - VM ctest-TestRoutersBasic-11238047-24304247 ID is 4e122bfe-3031-40ac-8a6e-640d68df0839 2025-08-21 11:22:32,071 - DEBUG - VM ctest-TestRoutersBasic-11238047-24304247 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:22:32,159 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4e122bfe-3031-40ac-8a6e-640d68df0839 2025-08-21 11:22:32,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4e122bfe-3031-40ac-8a6e-640d68df0839 2025-08-21 11:22:32,541 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f1129dd4-7799-4b0f-8cad-eef4ab8347c4 2025-08-21 11:22:35,803 - 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 1009ms') 2025-08-21 11:22:35,803 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11238047-24304247 failed! 2025-08-21 11:22:35,870 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11238047:ctest-vn-73547311 is 18.53.153.193 and allocation pool is NOT set 2025-08-21 11:22:37,939 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.958/3.536/1.577 ms') 2025-08-21 11:22:37,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-11238047-24304247 passed 2025-08-21 11:22:38,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:22:38,098 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11238047-24304247, IP 18.53.153.195, Port 22 2025-08-21 11:22:38,276 - DEBUG - VM ctest-TestRoutersBasic-11238047-24304247 is ready for SSH connections 2025-08-21 11:22:38,276 - INFO - Waiting for VM ctest-TestRoutersBasic-11238047-52628031 to be up.. 2025-08-21 11:22:38,373 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:22:38,373 - INFO - VM name : ctest-TestRoutersBasic-11238047-52628031 2025-08-21 11:22:38,467 - DEBUG - VM ctest-TestRoutersBasic-11238047-52628031 ID is 7578a379-9bcf-4ae7-bf25-33b4d59c819f 2025-08-21 11:22:38,467 - DEBUG - VM ctest-TestRoutersBasic-11238047-52628031 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:22:38,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7578a379-9bcf-4ae7-bf25-33b4d59c819f 2025-08-21 11:22:38,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ca0fdb4f-127c-4c11-a481-c0e5772db2db 2025-08-21 11:22:39,840 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.573 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.573/2.277/3.982/1.704 ms') 2025-08-21 11:22:39,840 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-11238047-52628031 passed 2025-08-21 11:22:39,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:22:39,998 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11238047-52628031, IP 103.125.150.131, Port 22 2025-08-21 11:22:40,165 - DEBUG - VM ctest-TestRoutersBasic-11238047-52628031 is ready for SSH connections 2025-08-21 11:22:40,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:22:40,165 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.125.150.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:22:40,165 - DEBUG - ping -s 56 -c 3 -W 1 103.125.150.131 2025-08-21 11:22:43,893 - DEBUG - PING 103.125.150.131 (103.125.150.131): 56 data bytes 64 bytes from 103.125.150.131: seq=0 ttl=62 time=5.004 ms 64 bytes from 103.125.150.131: seq=1 ttl=62 time=0.914 ms 64 bytes from 103.125.150.131: seq=2 ttl=62 time=0.971 ms --- 103.125.150.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/2.296/5.004 ms 2025-08-21 11:22:43,893 - INFO - Ping to IP 103.125.150.131 from VM ctest-TestRoutersBasic-11238047-24304247 passed 2025-08-21 11:22:43,893 - INFO - Deleting interface with subnet_id 170ba6ac-c2c0-444d-83d9-504cb1808a08, port_id None from router 2dc1b0f6-8587-4fa7-a535-74634d889e16 2025-08-21 11:22:44,175 - INFO - Deleting VM ctest-TestRoutersBasic-11238047-52628031 2025-08-21 11:22:44,279 - INFO - Deleting VM ctest-TestRoutersBasic-11238047-24304247 2025-08-21 11:22:44,378 - INFO - Deleting VN ctest-ext_vn-42166115 2025-08-21 11:22:44,472 - DEBUG - VN bf02f5da-205a-4df2-b880-145a88ee545e still in use: Unable to complete operation on network bf02f5da-205a-4df2-b880-145a88ee545e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50561283-5008-4f97-8fee-975a93bb8a56'] 2025-08-21 11:22:44,473 - WARNING - Deleting VN ctest-ext_vn-42166115 failed..Will retry 2025-08-21 11:22:46,600 - DEBUG - Response for deleting network () 2025-08-21 11:22:46,600 - INFO - Deleting VN ctest-vn-73547311 2025-08-21 11:22:46,723 - DEBUG - Response for deleting network () 2025-08-21 11:22:46,995 - DEBUG - No XMPP flaps were noticed during the test 2025-08-21 11:22:46,995 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-21 11:22:46,996 - INFO - -------------------------------------------------------------------------------- 2025-08-21 11:22:47,711 - INFO - Deleted project: ctest-TestRoutersBasic-11238047, ID : 29b3afdb-01c1-4839-9d76-5286353e1010