2025-11-18 01:10:56,360 - INFO - Domain Default found not creating 2025-11-18 01:10:56,591 - INFO - Project ctest-TestRoutersBasic-78077169 not found, creating it 2025-11-18 01:10:57,073 - INFO - Created Project:ctest-TestRoutersBasic-78077169, ID : 3bc59fac-7451-4d35-8d49-4cac0c64feba 2025-11-18 01:10:58,684 - INFO - ================================================================================ 2025-11-18 01:10:58,684 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-18 01:10:58,684 - 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-18 01:10:58,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-11-18 01:10:58,944 - INFO - Initial checks done. Running the testcase now 2025-11-18 01:10:58,944 - INFO - 2025-11-18 01:10:59,719 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78077169 2025-11-18 01:10:59,814 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78077169 2025-11-18 01:11:00,146 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78077169', 'default']} 2025-11-18 01:11:00,464 - DEBUG - Response for create_network : {'network': {'id': '2da050c2-78a4-4d9d-bced-5a1d8d4a0acf', 'name': 'ctest-vn-01027960', 'tenant_id': '3bc59fac74514d358d494cac0c64feba', 'project_id': '3bc59fac74514d358d494cac0c64feba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78077169', 'ctest-vn-01027960'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:11:00,631 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ecd7995-3b30-4ce3-927a-4b3d2cd90821', 'name': '', 'tenant_id': '3bc59fac74514d358d494cac0c64feba', 'network_id': '2da050c2-78a4-4d9d-bced-5a1d8d4a0acf', 'ip_version': 4, 'cidr': '8.28.243.128/26', 'allocation_pools': [{'start': '8.28.243.130', 'end': '8.28.243.190'}], 'gateway_ip': '8.28.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.28.243.130', 'tags': [], 'project_id': '3bc59fac74514d358d494cac0c64feba'}} 2025-11-18 01:11:00,657 - INFO - Created VN ctest-vn-01027960 2025-11-18 01:11:00,714 - DEBUG - VN ctest-vn-01027960 UUID is 2da050c2-78a4-4d9d-bced-5a1d8d4a0acf 2025-11-18 01:11:01,065 - DEBUG - Response for create_network : {'network': {'id': '8d21151a-5c76-46bc-a424-03ec8ba8ffe4', 'name': 'ctest-ext_vn-61132534', 'tenant_id': '3bc59fac74514d358d494cac0c64feba', 'project_id': '3bc59fac74514d358d494cac0c64feba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78077169', 'ctest-ext_vn-61132534'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:11:01,258 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df606178-4602-48f4-bc66-f49233fa6795', 'name': '', 'tenant_id': '3bc59fac74514d358d494cac0c64feba', 'network_id': '8d21151a-5c76-46bc-a424-03ec8ba8ffe4', 'ip_version': 4, 'cidr': '18.78.36.64/26', 'allocation_pools': [{'start': '18.78.36.66', 'end': '18.78.36.126'}], 'gateway_ip': '18.78.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.78.36.66', 'tags': [], 'project_id': '3bc59fac74514d358d494cac0c64feba'}} 2025-11-18 01:11:01,280 - INFO - Created VN ctest-ext_vn-61132534 2025-11-18 01:11:01,338 - DEBUG - VN ctest-ext_vn-61132534 UUID is 8d21151a-5c76-46bc-a424-03ec8ba8ffe4 2025-11-18 01:11:01,513 - DEBUG - Services list from nova: [, , ] 2025-11-18 01:11:02,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1) 2025-11-18 01:11:03,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1) 2025-11-18 01:11:03,969 - INFO - Setting gateway for router 28fdc497-3d11-4d84-9299-184def4a49de to network 8d21151a-5c76-46bc-a424-03ec8ba8ffe4 2025-11-18 01:11:04,066 - INFO - Adding interface with subnet_id 4ecd7995-3b30-4ce3-927a-4b3d2cd90821, port_id None to router 28fdc497-3d11-4d84-9299-184def4a49de 2025-11-18 01:11:04,530 - INFO - Waiting for VM ctest-TestRoutersBasic-78077169-14241891 to be up.. 2025-11-18 01:11:04,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 01:11:09,842 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:11:09,842 - INFO - VM name : ctest-TestRoutersBasic-78077169-14241891 2025-11-18 01:11:09,931 - DEBUG - VM ctest-TestRoutersBasic-78077169-14241891 ID is 914720ee-7e87-4d2d-b94f-072a144f3dd7 2025-11-18 01:11:09,954 - DEBUG - VM ctest-TestRoutersBasic-78077169-14241891 launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1 2025-11-18 01:11:10,040 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/914720ee-7e87-4d2d-b94f-072a144f3dd7 2025-11-18 01:11:10,354 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/914720ee-7e87-4d2d-b94f-072a144f3dd7 2025-11-18 01:11:10,392 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/79d1b3cd-aad5-4dcc-b84c-461f5ecf9484 2025-11-18 01:11:13,661 - 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 1031ms') 2025-11-18 01:11:13,661 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78077169-14241891 failed! 2025-11-18 01:11:13,718 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78077169:ctest-vn-01027960 is 8.28.243.129 and allocation pool is NOT set 2025-11-18 01:11:15,779 - 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=7.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.19 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 = 1.186/4.179/7.172/2.993 ms') 2025-11-18 01:11:15,779 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78077169-14241891 passed 2025-11-18 01:11:15,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:11:15,942 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78077169-14241891, IP 8.28.243.131, Port 22 2025-11-18 01:11:16,108 - DEBUG - VM ctest-TestRoutersBasic-78077169-14241891 is ready for SSH connections 2025-11-18 01:11:16,108 - INFO - Waiting for VM ctest-TestRoutersBasic-78077169-84224357 to be up.. 2025-11-18 01:11:16,186 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:11:16,186 - INFO - VM name : ctest-TestRoutersBasic-78077169-84224357 2025-11-18 01:11:16,270 - DEBUG - VM ctest-TestRoutersBasic-78077169-84224357 ID is ce5f26e4-1239-493b-9526-530349822dc0 2025-11-18 01:11:16,271 - DEBUG - VM ctest-TestRoutersBasic-78077169-84224357 launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1 2025-11-18 01:11:16,358 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ce5f26e4-1239-493b-9526-530349822dc0 2025-11-18 01:11:16,368 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7c481893-5629-43b3-943a-0d839c3ab9b0 2025-11-18 01:11:17,627 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.947/3.487/1.540 ms') 2025-11-18 01:11:17,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78077169-84224357 passed 2025-11-18 01:11:17,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:11:17,778 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78077169-84224357, IP 18.78.36.67, Port 22 2025-11-18 01:11:17,938 - DEBUG - VM ctest-TestRoutersBasic-78077169-84224357 is ready for SSH connections 2025-11-18 01:11:17,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:11:17,938 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.78.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-18 01:11:17,938 - DEBUG - ping -s 56 -c 3 -W 1 18.78.36.67 2025-11-18 01:11:21,691 - DEBUG - PING 18.78.36.67 (18.78.36.67): 56 data bytes 64 bytes from 18.78.36.67: seq=0 ttl=62 time=5.999 ms 64 bytes from 18.78.36.67: seq=1 ttl=62 time=0.787 ms 64 bytes from 18.78.36.67: seq=2 ttl=62 time=1.231 ms --- 18.78.36.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.787/2.672/5.999 ms 2025-11-18 01:11:21,691 - INFO - Ping to IP 18.78.36.67 from VM ctest-TestRoutersBasic-78077169-14241891 passed 2025-11-18 01:11:21,692 - INFO - Deleting interface with subnet_id 4ecd7995-3b30-4ce3-927a-4b3d2cd90821, port_id None from router 28fdc497-3d11-4d84-9299-184def4a49de 2025-11-18 01:11:21,895 - INFO - Deleting VM ctest-TestRoutersBasic-78077169-84224357 2025-11-18 01:11:21,966 - INFO - Deleting VM ctest-TestRoutersBasic-78077169-14241891 2025-11-18 01:11:22,052 - INFO - Deleting VN ctest-ext_vn-61132534 2025-11-18 01:11:22,155 - DEBUG - VN 8d21151a-5c76-46bc-a424-03ec8ba8ffe4 still in use: Unable to complete operation on network 8d21151a-5c76-46bc-a424-03ec8ba8ffe4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f78c3a43-48b5-4d5e-b695-1c10cc54ae4e'] 2025-11-18 01:11:22,155 - WARNING - Deleting VN ctest-ext_vn-61132534 failed..Will retry 2025-11-18 01:11:24,259 - DEBUG - Response for deleting network () 2025-11-18 01:11:24,259 - INFO - Deleting VN ctest-vn-01027960 2025-11-18 01:11:24,354 - DEBUG - Response for deleting network () 2025-11-18 01:11:24,607 - DEBUG - No XMPP flaps were noticed during the test 2025-11-18 01:11:24,607 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-18 01:11:24,607 - INFO - -------------------------------------------------------------------------------- 2025-11-18 01:11:25,268 - INFO - Deleted project: ctest-TestRoutersBasic-78077169, ID : 3bc59fac-7451-4d35-8d49-4cac0c64feba