2025-08-29 20:33:43,973 - INFO - Domain Default found not creating 2025-08-29 20:33:44,115 - INFO - Project ctest-TestRoutersBasic-99229624 not found, creating it 2025-08-29 20:33:44,557 - INFO - Created Project:ctest-TestRoutersBasic-99229624, ID : fc612a30-22a0-4944-80c2-de60497542d3 2025-08-29 20:33:45,945 - INFO - ================================================================================ 2025-08-29 20:33:45,945 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-29 20:33:45,945 - 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-29 20:33:46,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 20:33:46,198 - INFO - Initial checks done. Running the testcase now 2025-08-29 20:33:46,198 - INFO - 2025-08-29 20:33:46,900 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-99229624 2025-08-29 20:33:46,993 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-99229624 2025-08-29 20:33:47,309 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99229624', 'default']} 2025-08-29 20:33:47,599 - DEBUG - Response for create_network : {'network': {'id': '1b28e812-8813-4927-b2a9-90f9f3a06c41', 'name': 'ctest-vn-66371129', 'tenant_id': 'fc612a3022a0494480c2de60497542d3', 'project_id': 'fc612a3022a0494480c2de60497542d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99229624', 'ctest-vn-66371129'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:33:47,743 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f4bfb9c-731d-4933-8b39-657effbb366f', 'name': '', 'tenant_id': 'fc612a3022a0494480c2de60497542d3', 'network_id': '1b28e812-8813-4927-b2a9-90f9f3a06c41', 'ip_version': 4, 'cidr': '39.178.47.0/26', 'allocation_pools': [{'start': '39.178.47.2', 'end': '39.178.47.62'}], 'gateway_ip': '39.178.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.178.47.2', 'tags': [], 'project_id': 'fc612a3022a0494480c2de60497542d3'}} 2025-08-29 20:33:47,761 - INFO - Created VN ctest-vn-66371129 2025-08-29 20:33:47,813 - DEBUG - VN ctest-vn-66371129 UUID is 1b28e812-8813-4927-b2a9-90f9f3a06c41 2025-08-29 20:33:48,124 - DEBUG - Response for create_network : {'network': {'id': '0f761ade-4350-4316-952f-dd5ad9c03754', 'name': 'ctest-ext_vn-73346831', 'tenant_id': 'fc612a3022a0494480c2de60497542d3', 'project_id': 'fc612a3022a0494480c2de60497542d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-99229624', 'ctest-ext_vn-73346831'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:33:48,313 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b079848-db09-4344-ae8e-e7312fdb8259', 'name': '', 'tenant_id': 'fc612a3022a0494480c2de60497542d3', 'network_id': '0f761ade-4350-4316-952f-dd5ad9c03754', 'ip_version': 4, 'cidr': '117.246.184.128/26', 'allocation_pools': [{'start': '117.246.184.130', 'end': '117.246.184.190'}], 'gateway_ip': '117.246.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.246.184.130', 'tags': [], 'project_id': 'fc612a3022a0494480c2de60497542d3'}} 2025-08-29 20:33:48,331 - INFO - Created VN ctest-ext_vn-73346831 2025-08-29 20:33:48,385 - DEBUG - VN ctest-ext_vn-73346831 UUID is 0f761ade-4350-4316-952f-dd5ad9c03754 2025-08-29 20:33:48,548 - DEBUG - Services list from nova: [, , ] 2025-08-29 20:33:49,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:33:50,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:33:50,865 - INFO - Setting gateway for router f99acc07-e6e1-4e28-8675-182b33c32659 to network 0f761ade-4350-4316-952f-dd5ad9c03754 2025-08-29 20:33:50,924 - INFO - Adding interface with subnet_id 4f4bfb9c-731d-4933-8b39-657effbb366f, port_id None to router f99acc07-e6e1-4e28-8675-182b33c32659 2025-08-29 20:33:51,210 - INFO - Waiting for VM ctest-TestRoutersBasic-99229624-66811054 to be up.. 2025-08-29 20:33:51,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 20:33:56,408 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:33:56,408 - INFO - VM name : ctest-TestRoutersBasic-99229624-66811054 2025-08-29 20:33:56,483 - DEBUG - VM ctest-TestRoutersBasic-99229624-66811054 ID is 253e27e0-c255-49c8-8579-1f6739443794 2025-08-29 20:33:56,500 - DEBUG - VM ctest-TestRoutersBasic-99229624-66811054 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:33:56,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/253e27e0-c255-49c8-8579-1f6739443794 2025-08-29 20:33:56,864 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/253e27e0-c255-49c8-8579-1f6739443794 2025-08-29 20:33:56,901 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/75346068-c54f-4180-bc91-9c09d89260e1 2025-08-29 20:34:00,160 - 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 1018ms') 2025-08-29 20:34:00,160 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99229624-66811054 failed! 2025-08-29 20:34:00,217 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-99229624:ctest-vn-66371129 is 39.178.47.1 and allocation pool is NOT set 2025-08-29 20:34:02,278 - 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=2.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.596 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.596/1.643/2.691/1.047 ms') 2025-08-29 20:34:02,278 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-99229624-66811054 passed 2025-08-29 20:34:02,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:34:02,430 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99229624-66811054, IP 39.178.47.3, Port 22 2025-08-29 20:34:02,585 - DEBUG - VM ctest-TestRoutersBasic-99229624-66811054 is ready for SSH connections 2025-08-29 20:34:02,585 - INFO - Waiting for VM ctest-TestRoutersBasic-99229624-91916234 to be up.. 2025-08-29 20:34:02,657 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:34:02,657 - INFO - VM name : ctest-TestRoutersBasic-99229624-91916234 2025-08-29 20:34:02,727 - DEBUG - VM ctest-TestRoutersBasic-99229624-91916234 ID is bdaca079-2f54-42df-8ffa-9576bb29bb7e 2025-08-29 20:34:02,727 - DEBUG - VM ctest-TestRoutersBasic-99229624-91916234 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:34:02,794 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/bdaca079-2f54-42df-8ffa-9576bb29bb7e 2025-08-29 20:34:02,802 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/76fb7ef6-962c-4254-91cc-44a81a80d9a2 2025-08-29 20:34:04,045 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.934/3.403/1.469 ms') 2025-08-29 20:34:04,045 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-99229624-91916234 passed 2025-08-29 20:34:04,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:34:04,197 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-99229624-91916234, IP 117.246.184.131, Port 22 2025-08-29 20:34:04,352 - DEBUG - VM ctest-TestRoutersBasic-99229624-91916234 is ready for SSH connections 2025-08-29 20:34:04,352 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:34:04,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 117.246.184.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:34:04,353 - DEBUG - ping -s 56 -c 3 -W 1 117.246.184.131 2025-08-29 20:34:08,030 - DEBUG - PING 117.246.184.131 (117.246.184.131): 56 data bytes 64 bytes from 117.246.184.131: seq=0 ttl=62 time=6.916 ms 64 bytes from 117.246.184.131: seq=1 ttl=62 time=0.908 ms 64 bytes from 117.246.184.131: seq=2 ttl=62 time=0.952 ms --- 117.246.184.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/2.925/6.916 ms 2025-08-29 20:34:08,031 - INFO - Ping to IP 117.246.184.131 from VM ctest-TestRoutersBasic-99229624-66811054 passed 2025-08-29 20:34:08,031 - INFO - Deleting interface with subnet_id 4f4bfb9c-731d-4933-8b39-657effbb366f, port_id None from router f99acc07-e6e1-4e28-8675-182b33c32659 2025-08-29 20:34:08,216 - INFO - Deleting VM ctest-TestRoutersBasic-99229624-91916234 2025-08-29 20:34:08,281 - INFO - Deleting VM ctest-TestRoutersBasic-99229624-66811054 2025-08-29 20:34:08,360 - INFO - Deleting VN ctest-ext_vn-73346831 2025-08-29 20:34:08,416 - DEBUG - VN 0f761ade-4350-4316-952f-dd5ad9c03754 still in use: Unable to complete operation on network 0f761ade-4350-4316-952f-dd5ad9c03754. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c1861850-d4c6-4361-bbad-a93a95ba1fea'] 2025-08-29 20:34:08,416 - WARNING - Deleting VN ctest-ext_vn-73346831 failed..Will retry 2025-08-29 20:34:10,508 - DEBUG - Response for deleting network () 2025-08-29 20:34:10,508 - INFO - Deleting VN ctest-vn-66371129 2025-08-29 20:34:10,610 - DEBUG - Response for deleting network () 2025-08-29 20:34:10,866 - DEBUG - No XMPP flaps were noticed during the test 2025-08-29 20:34:10,866 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-29 20:34:10,866 - INFO - -------------------------------------------------------------------------------- 2025-08-29 20:34:11,542 - INFO - Deleted project: ctest-TestRoutersBasic-99229624, ID : fc612a30-22a0-4944-80c2-de60497542d3