2025-12-21 15:03:58,144 - INFO - Domain Default found not creating 2025-12-21 15:03:58,314 - INFO - Project ctest-TestRoutersBasic-41152810 not found, creating it 2025-12-21 15:03:58,768 - INFO - Created Project:ctest-TestRoutersBasic-41152810, ID : 917b7c1d-f354-4b30-9562-312d7ab976ac 2025-12-21 15:04:00,253 - INFO - ================================================================================ 2025-12-21 15:04:00,254 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-21 15:04:00,254 - 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-12-21 15:04:00,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-21 15:04:00,514 - INFO - Initial checks done. Running the testcase now 2025-12-21 15:04:00,514 - INFO - 2025-12-21 15:04:01,246 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41152810 2025-12-21 15:04:01,343 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41152810 2025-12-21 15:04:01,663 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41152810', 'default']} 2025-12-21 15:04:01,966 - DEBUG - Response for create_network : {'network': {'id': '95ff50eb-4081-4c61-a783-e03b5fc1aaf6', 'name': 'ctest-vn-75644013', 'tenant_id': '917b7c1df3544b309562312d7ab976ac', 'project_id': '917b7c1df3544b309562312d7ab976ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41152810', 'ctest-vn-75644013'], 'port_security_enabled': True, 'description': ''}} 2025-12-21 15:04:02,193 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe60d785-a1e6-4236-98b3-43238ec3931f', 'name': '', 'tenant_id': '917b7c1df3544b309562312d7ab976ac', 'network_id': '95ff50eb-4081-4c61-a783-e03b5fc1aaf6', 'ip_version': 4, 'cidr': '61.186.148.0/26', 'allocation_pools': [{'start': '61.186.148.2', 'end': '61.186.148.62'}], 'gateway_ip': '61.186.148.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.186.148.2', 'tags': [], 'project_id': '917b7c1df3544b309562312d7ab976ac'}} 2025-12-21 15:04:02,211 - INFO - Created VN ctest-vn-75644013 2025-12-21 15:04:02,263 - DEBUG - VN ctest-vn-75644013 UUID is 95ff50eb-4081-4c61-a783-e03b5fc1aaf6 2025-12-21 15:04:02,577 - DEBUG - Response for create_network : {'network': {'id': 'd1f3679c-072b-4b65-b2a2-530814f2bf29', 'name': 'ctest-ext_vn-24735739', 'tenant_id': '917b7c1df3544b309562312d7ab976ac', 'project_id': '917b7c1df3544b309562312d7ab976ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41152810', 'ctest-ext_vn-24735739'], 'port_security_enabled': True, 'description': ''}} 2025-12-21 15:04:02,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '811ee950-325e-4ab3-a743-34f04841dbd2', 'name': '', 'tenant_id': '917b7c1df3544b309562312d7ab976ac', 'network_id': 'd1f3679c-072b-4b65-b2a2-530814f2bf29', 'ip_version': 4, 'cidr': '183.56.131.192/26', 'allocation_pools': [{'start': '183.56.131.194', 'end': '183.56.131.254'}], 'gateway_ip': '183.56.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.56.131.194', 'tags': [], 'project_id': '917b7c1df3544b309562312d7ab976ac'}} 2025-12-21 15:04:02,746 - INFO - Created VN ctest-ext_vn-24735739 2025-12-21 15:04:02,799 - DEBUG - VN ctest-ext_vn-24735739 UUID is d1f3679c-072b-4b65-b2a2-530814f2bf29 2025-12-21 15:04:03,005 - DEBUG - Services list from nova: [, , ] 2025-12-21 15:04:04,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4913-1) 2025-12-21 15:04:05,249 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4913-1) 2025-12-21 15:04:05,317 - INFO - Setting gateway for router 7b4aa69c-8afe-476b-ad6f-79b9ea794148 to network d1f3679c-072b-4b65-b2a2-530814f2bf29 2025-12-21 15:04:05,382 - INFO - Adding interface with subnet_id fe60d785-a1e6-4236-98b3-43238ec3931f, port_id None to router 7b4aa69c-8afe-476b-ad6f-79b9ea794148 2025-12-21 15:04:05,757 - INFO - Waiting for VM ctest-TestRoutersBasic-41152810-76143332 to be up.. 2025-12-21 15:04:05,867 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-21 15:04:10,942 - DEBUG - VM is in ACTIVE state now 2025-12-21 15:04:10,942 - INFO - VM name : ctest-TestRoutersBasic-41152810-76143332 2025-12-21 15:04:11,018 - DEBUG - VM ctest-TestRoutersBasic-41152810-76143332 ID is 591037b0-96a5-47a2-a094-cc4f86bf3804 2025-12-21 15:04:11,039 - DEBUG - VM ctest-TestRoutersBasic-41152810-76143332 launched on Node cn-jenkins-deploy-platform-ansible-os-4913-1 2025-12-21 15:04:11,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/591037b0-96a5-47a2-a094-cc4f86bf3804 2025-12-21 15:04:11,409 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/591037b0-96a5-47a2-a094-cc4f86bf3804 2025-12-21 15:04:11,444 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e19115cf-4ec4-4f59-85b1-f0c1e4304e78 2025-12-21 15:04:14,708 - 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 1026ms') 2025-12-21 15:04:14,708 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41152810-76143332 failed! 2025-12-21 15:04:14,763 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41152810:ctest-vn-75644013 is 61.186.148.1 and allocation pool is NOT set 2025-12-21 15:04:16,823 - 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.85 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.629/2.849/1.220 ms') 2025-12-21 15:04:16,824 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41152810-76143332 passed 2025-12-21 15:04:16,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:04:16,971 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41152810-76143332, IP 61.186.148.3, Port 22 2025-12-21 15:04:17,135 - DEBUG - VM ctest-TestRoutersBasic-41152810-76143332 is ready for SSH connections 2025-12-21 15:04:17,135 - INFO - Waiting for VM ctest-TestRoutersBasic-41152810-77508865 to be up.. 2025-12-21 15:04:17,216 - DEBUG - VM is in ACTIVE state now 2025-12-21 15:04:17,216 - INFO - VM name : ctest-TestRoutersBasic-41152810-77508865 2025-12-21 15:04:17,291 - DEBUG - VM ctest-TestRoutersBasic-41152810-77508865 ID is 3a0bf72e-1eb7-49a8-b089-8b1803854b6f 2025-12-21 15:04:17,291 - DEBUG - VM ctest-TestRoutersBasic-41152810-77508865 launched on Node cn-jenkins-deploy-platform-ansible-os-4913-1 2025-12-21 15:04:17,363 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3a0bf72e-1eb7-49a8-b089-8b1803854b6f 2025-12-21 15:04:17,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e3d89591-88ad-46e0-921b-d5497d0a8fdd 2025-12-21 15:04:18,609 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/1.722/2.874/1.152 ms') 2025-12-21 15:04:18,609 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41152810-77508865 passed 2025-12-21 15:04:18,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:04:18,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41152810-77508865, IP 183.56.131.195, Port 22 2025-12-21 15:04:18,931 - DEBUG - VM ctest-TestRoutersBasic-41152810-77508865 is ready for SSH connections 2025-12-21 15:04:18,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-21 15:04:18,931 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.56.131.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-21 15:04:18,931 - DEBUG - ping -s 56 -c 3 -W 1 183.56.131.195 2025-12-21 15:04:22,630 - DEBUG - PING 183.56.131.195 (183.56.131.195): 56 data bytes 64 bytes from 183.56.131.195: seq=0 ttl=62 time=4.401 ms 64 bytes from 183.56.131.195: seq=1 ttl=62 time=0.930 ms 64 bytes from 183.56.131.195: seq=2 ttl=62 time=0.940 ms --- 183.56.131.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/2.090/4.401 ms 2025-12-21 15:04:22,630 - INFO - Ping to IP 183.56.131.195 from VM ctest-TestRoutersBasic-41152810-76143332 passed 2025-12-21 15:04:22,630 - INFO - Deleting interface with subnet_id fe60d785-a1e6-4236-98b3-43238ec3931f, port_id None from router 7b4aa69c-8afe-476b-ad6f-79b9ea794148 2025-12-21 15:04:22,842 - INFO - Deleting VM ctest-TestRoutersBasic-41152810-77508865 2025-12-21 15:04:22,923 - INFO - Deleting VM ctest-TestRoutersBasic-41152810-76143332 2025-12-21 15:04:23,012 - INFO - Deleting VN ctest-ext_vn-24735739 2025-12-21 15:04:23,090 - DEBUG - VN d1f3679c-072b-4b65-b2a2-530814f2bf29 still in use: Unable to complete operation on network d1f3679c-072b-4b65-b2a2-530814f2bf29. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16247204-13d8-424f-9cbd-e4eb112666c2'] 2025-12-21 15:04:23,090 - WARNING - Deleting VN ctest-ext_vn-24735739 failed..Will retry 2025-12-21 15:04:25,191 - DEBUG - Response for deleting network () 2025-12-21 15:04:25,192 - INFO - Deleting VN ctest-vn-75644013 2025-12-21 15:04:25,291 - DEBUG - Response for deleting network () 2025-12-21 15:04:25,544 - DEBUG - No XMPP flaps were noticed during the test 2025-12-21 15:04:25,544 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-12-21 15:04:25,544 - INFO - -------------------------------------------------------------------------------- 2025-12-21 15:04:26,222 - INFO - Deleted project: ctest-TestRoutersBasic-41152810, ID : 917b7c1d-f354-4b30-9562-312d7ab976ac