2025-11-10 18:51:10,608 - INFO - Domain Default found not creating 2025-11-10 18:51:10,758 - INFO - Project ctest-TestRoutersBasic-95674975 not found, creating it 2025-11-10 18:51:11,209 - INFO - Created Project:ctest-TestRoutersBasic-95674975, ID : 795e31da-8085-499c-a4f6-91da5ff7ecf2 2025-11-10 18:51:12,720 - INFO - ================================================================================ 2025-11-10 18:51:12,720 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-10 18:51:12,720 - 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-11-10 18:51:12,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.25': '0'}} with 2025-11-10 18:51:12,976 - INFO - Initial checks done. Running the testcase now 2025-11-10 18:51:12,976 - INFO - 2025-11-10 18:51:13,672 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95674975 2025-11-10 18:51:13,766 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95674975 2025-11-10 18:51:14,090 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95674975', 'default']} 2025-11-10 18:51:14,373 - DEBUG - Response for create_network : {'network': {'id': 'e3e819b8-1f66-40b6-a8a3-c1626621a5cf', 'name': 'ctest-vn-24776117', 'tenant_id': '795e31da8085499ca4f691da5ff7ecf2', 'project_id': '795e31da8085499ca4f691da5ff7ecf2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95674975', 'ctest-vn-24776117'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:14,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '433dea4b-29f1-49bd-9c50-1f1a4dbd2f75', 'name': '', 'tenant_id': '795e31da8085499ca4f691da5ff7ecf2', 'network_id': 'e3e819b8-1f66-40b6-a8a3-c1626621a5cf', 'ip_version': 4, 'cidr': '147.77.174.64/26', 'allocation_pools': [{'start': '147.77.174.66', 'end': '147.77.174.126'}], 'gateway_ip': '147.77.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.77.174.66', 'tags': [], 'project_id': '795e31da8085499ca4f691da5ff7ecf2'}} 2025-11-10 18:51:14,593 - INFO - Created VN ctest-vn-24776117 2025-11-10 18:51:14,646 - DEBUG - VN ctest-vn-24776117 UUID is e3e819b8-1f66-40b6-a8a3-c1626621a5cf 2025-11-10 18:51:14,981 - DEBUG - Response for create_network : {'network': {'id': '64f26061-3963-461a-acd3-59c7f43e4b49', 'name': 'ctest-ext_vn-01464033', 'tenant_id': '795e31da8085499ca4f691da5ff7ecf2', 'project_id': '795e31da8085499ca4f691da5ff7ecf2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95674975', 'ctest-ext_vn-01464033'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 18:51:15,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd875cec-a6f1-46da-99fa-359e9435b6c6', 'name': '', 'tenant_id': '795e31da8085499ca4f691da5ff7ecf2', 'network_id': '64f26061-3963-461a-acd3-59c7f43e4b49', 'ip_version': 4, 'cidr': '44.198.2.64/26', 'allocation_pools': [{'start': '44.198.2.66', 'end': '44.198.2.126'}], 'gateway_ip': '44.198.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.198.2.66', 'tags': [], 'project_id': '795e31da8085499ca4f691da5ff7ecf2'}} 2025-11-10 18:51:15,162 - INFO - Created VN ctest-ext_vn-01464033 2025-11-10 18:51:15,214 - DEBUG - VN ctest-ext_vn-01464033 UUID is 64f26061-3963-461a-acd3-59c7f43e4b49 2025-11-10 18:51:15,418 - DEBUG - Services list from nova: [, , ] 2025-11-10 18:51:16,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4686-1) 2025-11-10 18:51:17,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4686-1) 2025-11-10 18:51:17,581 - INFO - Setting gateway for router 4a241752-64ba-409f-bf06-8e6aed77447a to network 64f26061-3963-461a-acd3-59c7f43e4b49 2025-11-10 18:51:17,642 - INFO - Adding interface with subnet_id 433dea4b-29f1-49bd-9c50-1f1a4dbd2f75, port_id None to router 4a241752-64ba-409f-bf06-8e6aed77447a 2025-11-10 18:51:18,006 - INFO - Waiting for VM ctest-TestRoutersBasic-95674975-25221060 to be up.. 2025-11-10 18:51:18,130 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 18:51:23,214 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:51:23,214 - INFO - VM name : ctest-TestRoutersBasic-95674975-25221060 2025-11-10 18:51:23,279 - DEBUG - VM ctest-TestRoutersBasic-95674975-25221060 ID is 5dff13c6-7776-47cc-be46-917ad4ef29e0 2025-11-10 18:51:23,297 - DEBUG - VM ctest-TestRoutersBasic-95674975-25221060 launched on Node cn-jenkins-deploy-platform-ansible-os-4686-1 2025-11-10 18:51:23,365 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5dff13c6-7776-47cc-be46-917ad4ef29e0 2025-11-10 18:51:23,681 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5dff13c6-7776-47cc-be46-917ad4ef29e0 2025-11-10 18:51:23,719 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/78b97fb4-b791-4618-b001-b74ba15cb857 2025-11-10 18:51:26,959 - 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-11-10 18:51:26,959 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95674975-25221060 failed! 2025-11-10 18:51:27,018 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95674975:ctest-vn-24776117 is 147.77.174.65 and allocation pool is NOT set 2025-11-10 18:51:29,081 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.523/2.657/1.133 ms') 2025-11-10 18:51:29,081 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95674975-25221060 passed 2025-11-10 18:51:29,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:51:29,234 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95674975-25221060, IP 147.77.174.67, Port 22 2025-11-10 18:51:29,389 - DEBUG - VM ctest-TestRoutersBasic-95674975-25221060 is ready for SSH connections 2025-11-10 18:51:29,390 - INFO - Waiting for VM ctest-TestRoutersBasic-95674975-71173013 to be up.. 2025-11-10 18:51:29,460 - DEBUG - VM is in ACTIVE state now 2025-11-10 18:51:29,461 - INFO - VM name : ctest-TestRoutersBasic-95674975-71173013 2025-11-10 18:51:29,528 - DEBUG - VM ctest-TestRoutersBasic-95674975-71173013 ID is cba34b28-4782-4ec1-b7c1-33d1c0d27cf7 2025-11-10 18:51:29,528 - DEBUG - VM ctest-TestRoutersBasic-95674975-71173013 launched on Node cn-jenkins-deploy-platform-ansible-os-4686-1 2025-11-10 18:51:29,598 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/cba34b28-4782-4ec1-b7c1-33d1c0d27cf7 2025-11-10 18:51:29,606 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f7da5fbe-e80f-4445-a6b0-f76a9e10c0a6 2025-11-10 18:51:30,838 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.265 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.265/1.616/2.967/1.351 ms') 2025-11-10 18:51:30,838 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-95674975-71173013 passed 2025-11-10 18:51:30,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:51:30,986 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95674975-71173013, IP 44.198.2.67, Port 22 2025-11-10 18:51:31,138 - DEBUG - VM ctest-TestRoutersBasic-95674975-71173013 is ready for SSH connections 2025-11-10 18:51:31,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 18:51:31,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.198.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-11-10 18:51:31,138 - DEBUG - ping -s 56 -c 3 -W 1 44.198.2.67 2025-11-10 18:51:34,811 - DEBUG - PING 44.198.2.67 (44.198.2.67): 56 data bytes 64 bytes from 44.198.2.67: seq=0 ttl=62 time=7.291 ms 64 bytes from 44.198.2.67: seq=1 ttl=62 time=0.862 ms 64 bytes from 44.198.2.67: seq=2 ttl=62 time=1.008 ms --- 44.198.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/3.053/7.291 ms 2025-11-10 18:51:34,811 - INFO - Ping to IP 44.198.2.67 from VM ctest-TestRoutersBasic-95674975-25221060 passed 2025-11-10 18:51:34,812 - INFO - Deleting interface with subnet_id 433dea4b-29f1-49bd-9c50-1f1a4dbd2f75, port_id None from router 4a241752-64ba-409f-bf06-8e6aed77447a 2025-11-10 18:51:34,978 - INFO - Deleting VM ctest-TestRoutersBasic-95674975-71173013 2025-11-10 18:51:35,057 - INFO - Deleting VM ctest-TestRoutersBasic-95674975-25221060 2025-11-10 18:51:35,143 - INFO - Deleting VN ctest-ext_vn-01464033 2025-11-10 18:51:35,203 - DEBUG - VN 64f26061-3963-461a-acd3-59c7f43e4b49 still in use: Unable to complete operation on network 64f26061-3963-461a-acd3-59c7f43e4b49. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-12761ff3-56fe-4c71-b0c9-12d5a3280ca4'] 2025-11-10 18:51:35,203 - WARNING - Deleting VN ctest-ext_vn-01464033 failed..Will retry 2025-11-10 18:51:37,304 - DEBUG - Response for deleting network () 2025-11-10 18:51:37,304 - INFO - Deleting VN ctest-vn-24776117 2025-11-10 18:51:37,394 - DEBUG - Response for deleting network () 2025-11-10 18:51:37,647 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 18:51:37,648 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-10 18:51:37,648 - INFO - -------------------------------------------------------------------------------- 2025-11-10 18:51:38,354 - INFO - Deleted project: ctest-TestRoutersBasic-95674975, ID : 795e31da-8085-499c-a4f6-91da5ff7ecf2