2025-11-10 21:18:12,897 - INFO - Domain Default found not creating 2025-11-10 21:18:13,051 - INFO - Project ctest-TestRoutersBasic-51019074 not found, creating it 2025-11-10 21:18:13,535 - INFO - Created Project:ctest-TestRoutersBasic-51019074, ID : f8f78c99-4b1a-47e4-9150-d7f27b621489 2025-11-10 21:18:14,984 - INFO - ================================================================================ 2025-11-10 21:18:14,984 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-10 21:18:14,984 - 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 21:18:15,244 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-11-10 21:18:15,244 - INFO - Initial checks done. Running the testcase now 2025-11-10 21:18:15,244 - INFO - 2025-11-10 21:18:15,959 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51019074 2025-11-10 21:18:16,055 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51019074 2025-11-10 21:18:16,371 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51019074', 'default']} 2025-11-10 21:18:16,651 - DEBUG - Response for create_network : {'network': {'id': '20cf4e0c-35f0-4b76-a4b6-7933818f96b1', 'name': 'ctest-vn-51913035', 'tenant_id': 'f8f78c994b1a47e49150d7f27b621489', 'project_id': 'f8f78c994b1a47e49150d7f27b621489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51019074', 'ctest-vn-51913035'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 21:18:16,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '092153b6-3953-44b6-8349-97e1f26aa4c6', 'name': '', 'tenant_id': 'f8f78c994b1a47e49150d7f27b621489', 'network_id': '20cf4e0c-35f0-4b76-a4b6-7933818f96b1', 'ip_version': 4, 'cidr': '93.134.194.64/26', 'allocation_pools': [{'start': '93.134.194.66', 'end': '93.134.194.126'}], 'gateway_ip': '93.134.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.134.194.66', 'tags': [], 'project_id': 'f8f78c994b1a47e49150d7f27b621489'}} 2025-11-10 21:18:16,876 - INFO - Created VN ctest-vn-51913035 2025-11-10 21:18:16,927 - DEBUG - VN ctest-vn-51913035 UUID is 20cf4e0c-35f0-4b76-a4b6-7933818f96b1 2025-11-10 21:18:17,261 - DEBUG - Response for create_network : {'network': {'id': 'f0b31df5-48dc-46dd-91bf-7fd985d3d2a5', 'name': 'ctest-ext_vn-08968071', 'tenant_id': 'f8f78c994b1a47e49150d7f27b621489', 'project_id': 'f8f78c994b1a47e49150d7f27b621489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51019074', 'ctest-ext_vn-08968071'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 21:18:17,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaf621b6-601a-4579-8aec-736ce56baa34', 'name': '', 'tenant_id': 'f8f78c994b1a47e49150d7f27b621489', 'network_id': 'f0b31df5-48dc-46dd-91bf-7fd985d3d2a5', 'ip_version': 4, 'cidr': '101.242.60.192/26', 'allocation_pools': [{'start': '101.242.60.194', 'end': '101.242.60.254'}], 'gateway_ip': '101.242.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.242.60.194', 'tags': [], 'project_id': 'f8f78c994b1a47e49150d7f27b621489'}} 2025-11-10 21:18:17,427 - INFO - Created VN ctest-ext_vn-08968071 2025-11-10 21:18:17,479 - DEBUG - VN ctest-ext_vn-08968071 UUID is f0b31df5-48dc-46dd-91bf-7fd985d3d2a5 2025-11-10 21:18:17,647 - DEBUG - Services list from nova: [, , ] 2025-11-10 21:18:18,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4690-1) 2025-11-10 21:18:19,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4690-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4690-1) 2025-11-10 21:18:19,935 - INFO - Setting gateway for router 8a9d5a83-9115-4748-97ef-b65e825175ed to network f0b31df5-48dc-46dd-91bf-7fd985d3d2a5 2025-11-10 21:18:20,021 - INFO - Adding interface with subnet_id 092153b6-3953-44b6-8349-97e1f26aa4c6, port_id None to router 8a9d5a83-9115-4748-97ef-b65e825175ed 2025-11-10 21:18:20,383 - INFO - Waiting for VM ctest-TestRoutersBasic-51019074-17586546 to be up.. 2025-11-10 21:18:20,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 21:18:25,641 - DEBUG - VM is in ACTIVE state now 2025-11-10 21:18:25,641 - INFO - VM name : ctest-TestRoutersBasic-51019074-17586546 2025-11-10 21:18:25,724 - DEBUG - VM ctest-TestRoutersBasic-51019074-17586546 ID is c713adb9-481d-406b-b488-18103ce5ae19 2025-11-10 21:18:25,746 - DEBUG - VM ctest-TestRoutersBasic-51019074-17586546 launched on Node cn-jenkins-deploy-platform-ansible-os-4690-1 2025-11-10 21:18:25,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c713adb9-481d-406b-b488-18103ce5ae19 2025-11-10 21:18:26,133 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c713adb9-481d-406b-b488-18103ce5ae19 2025-11-10 21:18:26,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f9d5419b-a5ed-4b57-bd26-fdea232b309a 2025-11-10 21:18:29,454 - 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 1023ms') 2025-11-10 21:18:29,454 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51019074-17586546 failed! 2025-11-10 21:18:29,515 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51019074:ctest-vn-51913035 is 93.134.194.65 and allocation pool is NOT set 2025-11-10 21:18:31,574 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/1.869/3.233/1.363 ms') 2025-11-10 21:18:31,574 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51019074-17586546 passed 2025-11-10 21:18:31,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:18:31,723 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51019074-17586546, IP 93.134.194.67, Port 22 2025-11-10 21:18:31,889 - DEBUG - VM ctest-TestRoutersBasic-51019074-17586546 is ready for SSH connections 2025-11-10 21:18:31,889 - INFO - Waiting for VM ctest-TestRoutersBasic-51019074-89750607 to be up.. 2025-11-10 21:18:31,966 - DEBUG - VM is in ACTIVE state now 2025-11-10 21:18:31,966 - INFO - VM name : ctest-TestRoutersBasic-51019074-89750607 2025-11-10 21:18:32,042 - DEBUG - VM ctest-TestRoutersBasic-51019074-89750607 ID is 9b8f640c-5d19-4cab-a393-1b6e5f8d83a6 2025-11-10 21:18:32,042 - DEBUG - VM ctest-TestRoutersBasic-51019074-89750607 launched on Node cn-jenkins-deploy-platform-ansible-os-4690-1 2025-11-10 21:18:32,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9b8f640c-5d19-4cab-a393-1b6e5f8d83a6 2025-11-10 21:18:32,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/838dfa91-2407-48a2-bebf-b8b77117a38c 2025-11-10 21:18:33,362 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/1.970/3.349/1.378 ms') 2025-11-10 21:18:33,362 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51019074-89750607 passed 2025-11-10 21:18:33,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:18:33,511 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51019074-89750607, IP 101.242.60.195, Port 22 2025-11-10 21:18:33,666 - DEBUG - VM ctest-TestRoutersBasic-51019074-89750607 is ready for SSH connections 2025-11-10 21:18:33,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 21:18:33,667 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.242.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-10 21:18:33,667 - DEBUG - ping -s 56 -c 3 -W 1 101.242.60.195 2025-11-10 21:18:37,369 - DEBUG - PING 101.242.60.195 (101.242.60.195): 56 data bytes 64 bytes from 101.242.60.195: seq=0 ttl=62 time=8.651 ms 64 bytes from 101.242.60.195: seq=1 ttl=62 time=1.191 ms 64 bytes from 101.242.60.195: seq=2 ttl=62 time=1.322 ms --- 101.242.60.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.191/3.721/8.651 ms 2025-11-10 21:18:37,369 - INFO - Ping to IP 101.242.60.195 from VM ctest-TestRoutersBasic-51019074-17586546 passed 2025-11-10 21:18:37,369 - INFO - Deleting interface with subnet_id 092153b6-3953-44b6-8349-97e1f26aa4c6, port_id None from router 8a9d5a83-9115-4748-97ef-b65e825175ed 2025-11-10 21:18:37,560 - INFO - Deleting VM ctest-TestRoutersBasic-51019074-89750607 2025-11-10 21:18:37,628 - INFO - Deleting VM ctest-TestRoutersBasic-51019074-17586546 2025-11-10 21:18:37,718 - INFO - Deleting VN ctest-ext_vn-08968071 2025-11-10 21:18:37,788 - DEBUG - VN f0b31df5-48dc-46dd-91bf-7fd985d3d2a5 still in use: Unable to complete operation on network f0b31df5-48dc-46dd-91bf-7fd985d3d2a5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c559a8dd-d437-431b-833c-5f677635ee9f'] 2025-11-10 21:18:37,788 - WARNING - Deleting VN ctest-ext_vn-08968071 failed..Will retry 2025-11-10 21:18:39,889 - DEBUG - Response for deleting network () 2025-11-10 21:18:39,890 - INFO - Deleting VN ctest-vn-51913035 2025-11-10 21:18:39,994 - DEBUG - Response for deleting network () 2025-11-10 21:18:40,258 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 21:18:40,258 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-10 21:18:40,258 - INFO - -------------------------------------------------------------------------------- 2025-11-10 21:18:40,932 - INFO - Deleted project: ctest-TestRoutersBasic-51019074, ID : f8f78c99-4b1a-47e4-9150-d7f27b621489