2025-10-22 10:43:43,003 - INFO - Domain Default found not creating 2025-10-22 10:43:43,140 - INFO - Project ctest-TestRoutersBasic-36167167 not found, creating it 2025-10-22 10:43:43,574 - INFO - Created Project:ctest-TestRoutersBasic-36167167, ID : 5e435831-5dce-4dfb-aac5-437e76150b36 2025-10-22 10:43:45,215 - INFO - ================================================================================ 2025-10-22 10:43:45,216 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 10:43:45,216 - 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-10-22 10:43:45,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-22 10:43:45,468 - INFO - Initial checks done. Running the testcase now 2025-10-22 10:43:45,468 - INFO - 2025-10-22 10:43:46,133 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36167167 2025-10-22 10:43:46,228 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36167167 2025-10-22 10:43:46,540 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36167167', 'default']} 2025-10-22 10:43:46,813 - DEBUG - Response for create_network : {'network': {'id': 'd5882073-ebfc-4019-983f-a05403744187', 'name': 'ctest-vn-40559235', 'tenant_id': '5e4358315dce4dfbaac5437e76150b36', 'project_id': '5e4358315dce4dfbaac5437e76150b36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36167167', 'ctest-vn-40559235'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:43:46,973 - DEBUG - Response for create_subnet : {'subnet': {'id': '40bbc281-0e78-4db8-8b2b-5db785b3a796', 'name': '', 'tenant_id': '5e4358315dce4dfbaac5437e76150b36', 'network_id': 'd5882073-ebfc-4019-983f-a05403744187', 'ip_version': 4, 'cidr': '216.105.216.0/26', 'allocation_pools': [{'start': '216.105.216.2', 'end': '216.105.216.62'}], 'gateway_ip': '216.105.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.105.216.2', 'tags': [], 'project_id': '5e4358315dce4dfbaac5437e76150b36'}} 2025-10-22 10:43:46,988 - INFO - Created VN ctest-vn-40559235 2025-10-22 10:43:47,040 - DEBUG - VN ctest-vn-40559235 UUID is d5882073-ebfc-4019-983f-a05403744187 2025-10-22 10:43:47,353 - DEBUG - Response for create_network : {'network': {'id': '76df1c90-49cb-41ce-a28b-26571f3b6245', 'name': 'ctest-ext_vn-47389541', 'tenant_id': '5e4358315dce4dfbaac5437e76150b36', 'project_id': '5e4358315dce4dfbaac5437e76150b36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36167167', 'ctest-ext_vn-47389541'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 10:43:47,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d484d6f-fece-42e4-94f7-8c8e5fec43a8', 'name': '', 'tenant_id': '5e4358315dce4dfbaac5437e76150b36', 'network_id': '76df1c90-49cb-41ce-a28b-26571f3b6245', 'ip_version': 4, 'cidr': '48.211.255.128/26', 'allocation_pools': [{'start': '48.211.255.130', 'end': '48.211.255.190'}], 'gateway_ip': '48.211.255.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.211.255.130', 'tags': [], 'project_id': '5e4358315dce4dfbaac5437e76150b36'}} 2025-10-22 10:43:47,547 - INFO - Created VN ctest-ext_vn-47389541 2025-10-22 10:43:47,596 - DEBUG - VN ctest-ext_vn-47389541 UUID is 76df1c90-49cb-41ce-a28b-26571f3b6245 2025-10-22 10:43:47,790 - DEBUG - Services list from nova: [, , ] 2025-10-22 10:43:48,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4420-1) 2025-10-22 10:43:49,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4420-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4420-1) 2025-10-22 10:43:49,857 - INFO - Setting gateway for router d6cd75a9-144b-4a26-ae89-c2da79ad3137 to network 76df1c90-49cb-41ce-a28b-26571f3b6245 2025-10-22 10:43:49,934 - INFO - Adding interface with subnet_id 40bbc281-0e78-4db8-8b2b-5db785b3a796, port_id None to router d6cd75a9-144b-4a26-ae89-c2da79ad3137 2025-10-22 10:43:50,329 - INFO - Waiting for VM ctest-TestRoutersBasic-36167167-65036088 to be up.. 2025-10-22 10:43:50,519 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 10:43:55,587 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:43:55,587 - INFO - VM name : ctest-TestRoutersBasic-36167167-65036088 2025-10-22 10:43:55,659 - DEBUG - VM ctest-TestRoutersBasic-36167167-65036088 ID is a342a547-58b3-4da7-8eaa-1de05d67d0dd 2025-10-22 10:43:55,676 - DEBUG - VM ctest-TestRoutersBasic-36167167-65036088 launched on Node cn-jenkins-deploy-platform-ansible-os-4420-1 2025-10-22 10:43:55,747 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a342a547-58b3-4da7-8eaa-1de05d67d0dd 2025-10-22 10:43:56,044 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a342a547-58b3-4da7-8eaa-1de05d67d0dd 2025-10-22 10:43:56,071 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5a2ba8ce-1991-4878-956b-6ce8e718692e 2025-10-22 10:43:59,315 - 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 1015ms') 2025-10-22 10:43:59,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36167167-65036088 failed! 2025-10-22 10:43:59,368 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36167167:ctest-vn-40559235 is 216.105.216.1 and allocation pool is NOT set 2025-10-22 10:44:01,425 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.409/1.526/2.644/1.117 ms') 2025-10-22 10:44:01,425 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36167167-65036088 passed 2025-10-22 10:44:01,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:44:01,576 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36167167-65036088, IP 216.105.216.3, Port 22 2025-10-22 10:44:01,731 - DEBUG - VM ctest-TestRoutersBasic-36167167-65036088 is ready for SSH connections 2025-10-22 10:44:01,731 - INFO - Waiting for VM ctest-TestRoutersBasic-36167167-96252672 to be up.. 2025-10-22 10:44:01,809 - DEBUG - VM is in ACTIVE state now 2025-10-22 10:44:01,809 - INFO - VM name : ctest-TestRoutersBasic-36167167-96252672 2025-10-22 10:44:01,882 - DEBUG - VM ctest-TestRoutersBasic-36167167-96252672 ID is e9d66241-a48b-44ee-8ce7-647a1707addc 2025-10-22 10:44:01,882 - DEBUG - VM ctest-TestRoutersBasic-36167167-96252672 launched on Node cn-jenkins-deploy-platform-ansible-os-4420-1 2025-10-22 10:44:01,951 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/e9d66241-a48b-44ee-8ce7-647a1707addc 2025-10-22 10:44:01,960 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/08fdb06c-e91a-4f34-b487-c6047b8f6035 2025-10-22 10:44:03,194 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.729/3.054/1.324 ms') 2025-10-22 10:44:03,194 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36167167-96252672 passed 2025-10-22 10:44:03,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:44:03,348 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36167167-96252672, IP 48.211.255.131, Port 22 2025-10-22 10:44:03,499 - DEBUG - VM ctest-TestRoutersBasic-36167167-96252672 is ready for SSH connections 2025-10-22 10:44:03,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 10:44:03,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.211.255.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-22 10:44:03,499 - DEBUG - ping -s 56 -c 3 -W 1 48.211.255.131 2025-10-22 10:44:07,198 - DEBUG - PING 48.211.255.131 (48.211.255.131): 56 data bytes 64 bytes from 48.211.255.131: seq=0 ttl=62 time=5.147 ms 64 bytes from 48.211.255.131: seq=1 ttl=62 time=0.892 ms 64 bytes from 48.211.255.131: seq=2 ttl=62 time=0.779 ms --- 48.211.255.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.779/2.272/5.147 ms 2025-10-22 10:44:07,198 - INFO - Ping to IP 48.211.255.131 from VM ctest-TestRoutersBasic-36167167-65036088 passed 2025-10-22 10:44:07,198 - INFO - Deleting interface with subnet_id 40bbc281-0e78-4db8-8b2b-5db785b3a796, port_id None from router d6cd75a9-144b-4a26-ae89-c2da79ad3137 2025-10-22 10:44:07,362 - INFO - Deleting VM ctest-TestRoutersBasic-36167167-96252672 2025-10-22 10:44:07,430 - INFO - Deleting VM ctest-TestRoutersBasic-36167167-65036088 2025-10-22 10:44:07,524 - INFO - Deleting VN ctest-ext_vn-47389541 2025-10-22 10:44:07,594 - DEBUG - VN 76df1c90-49cb-41ce-a28b-26571f3b6245 still in use: Unable to complete operation on network 76df1c90-49cb-41ce-a28b-26571f3b6245. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0579e87c-9232-4bb0-9248-d78ee62bd797'] 2025-10-22 10:44:07,594 - WARNING - Deleting VN ctest-ext_vn-47389541 failed..Will retry 2025-10-22 10:44:09,688 - DEBUG - Response for deleting network () 2025-10-22 10:44:09,689 - INFO - Deleting VN ctest-vn-40559235 2025-10-22 10:44:09,780 - DEBUG - Response for deleting network () 2025-10-22 10:44:10,028 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 10:44:10,028 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-22 10:44:10,028 - INFO - -------------------------------------------------------------------------------- 2025-10-22 10:44:10,671 - INFO - Deleted project: ctest-TestRoutersBasic-36167167, ID : 5e435831-5dce-4dfb-aac5-437e76150b36