2025-10-23 21:39:15,371 - INFO - Domain Default found not creating 2025-10-23 21:39:15,543 - INFO - Project ctest-TestRoutersBasic-60277861 not found, creating it 2025-10-23 21:39:16,024 - INFO - Created Project:ctest-TestRoutersBasic-60277861, ID : 6f9e8e49-ff7c-4154-9b0f-7c2f4af5211f 2025-10-23 21:39:17,675 - INFO - ================================================================================ 2025-10-23 21:39:17,676 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-23 21:39:17,676 - 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-23 21:39:17,935 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-10-23 21:39:17,935 - INFO - Initial checks done. Running the testcase now 2025-10-23 21:39:17,935 - INFO - 2025-10-23 21:39:18,770 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60277861 2025-10-23 21:39:18,868 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60277861 2025-10-23 21:39:19,196 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60277861', 'default']} 2025-10-23 21:39:19,497 - DEBUG - Response for create_network : {'network': {'id': '36dc084c-9903-430d-b65e-a68f7df4b287', 'name': 'ctest-vn-90932123', 'tenant_id': '6f9e8e49ff7c41549b0f7c2f4af5211f', 'project_id': '6f9e8e49ff7c41549b0f7c2f4af5211f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60277861', 'ctest-vn-90932123'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:39:19,726 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e4c8ae4-8401-46b7-8ca9-09e4f222f236', 'name': '', 'tenant_id': '6f9e8e49ff7c41549b0f7c2f4af5211f', 'network_id': '36dc084c-9903-430d-b65e-a68f7df4b287', 'ip_version': 4, 'cidr': '215.226.126.64/26', 'allocation_pools': [{'start': '215.226.126.66', 'end': '215.226.126.126'}], 'gateway_ip': '215.226.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.226.126.66', 'tags': [], 'project_id': '6f9e8e49ff7c41549b0f7c2f4af5211f'}} 2025-10-23 21:39:19,745 - INFO - Created VN ctest-vn-90932123 2025-10-23 21:39:19,800 - DEBUG - VN ctest-vn-90932123 UUID is 36dc084c-9903-430d-b65e-a68f7df4b287 2025-10-23 21:39:20,120 - DEBUG - Response for create_network : {'network': {'id': '6f28d3b3-0e63-43cb-8736-68e9db112176', 'name': 'ctest-ext_vn-59995164', 'tenant_id': '6f9e8e49ff7c41549b0f7c2f4af5211f', 'project_id': '6f9e8e49ff7c41549b0f7c2f4af5211f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60277861', 'ctest-ext_vn-59995164'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 21:39:20,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '512290d4-f40f-4f52-9b2a-5dcab9187ca0', 'name': '', 'tenant_id': '6f9e8e49ff7c41549b0f7c2f4af5211f', 'network_id': '6f28d3b3-0e63-43cb-8736-68e9db112176', 'ip_version': 4, 'cidr': '121.40.167.0/26', 'allocation_pools': [{'start': '121.40.167.2', 'end': '121.40.167.62'}], 'gateway_ip': '121.40.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.40.167.2', 'tags': [], 'project_id': '6f9e8e49ff7c41549b0f7c2f4af5211f'}} 2025-10-23 21:39:20,327 - INFO - Created VN ctest-ext_vn-59995164 2025-10-23 21:39:20,380 - DEBUG - VN ctest-ext_vn-59995164 UUID is 6f28d3b3-0e63-43cb-8736-68e9db112176 2025-10-23 21:39:20,555 - DEBUG - Services list from nova: [, , ] 2025-10-23 21:39:21,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4469-1) 2025-10-23 21:39:22,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4469-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4469-1) 2025-10-23 21:39:23,054 - INFO - Setting gateway for router f71481ed-be74-4ec6-a262-379eeddfc47b to network 6f28d3b3-0e63-43cb-8736-68e9db112176 2025-10-23 21:39:23,123 - INFO - Adding interface with subnet_id 7e4c8ae4-8401-46b7-8ca9-09e4f222f236, port_id None to router f71481ed-be74-4ec6-a262-379eeddfc47b 2025-10-23 21:39:23,498 - INFO - Waiting for VM ctest-TestRoutersBasic-60277861-87551755 to be up.. 2025-10-23 21:39:23,672 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 21:39:28,767 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:39:28,767 - INFO - VM name : ctest-TestRoutersBasic-60277861-87551755 2025-10-23 21:39:28,848 - DEBUG - VM ctest-TestRoutersBasic-60277861-87551755 ID is 52e608b6-549f-4e34-86a7-a0c377000c75 2025-10-23 21:39:28,868 - DEBUG - VM ctest-TestRoutersBasic-60277861-87551755 launched on Node cn-jenkins-deploy-platform-ansible-os-4469-1 2025-10-23 21:39:28,960 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/52e608b6-549f-4e34-86a7-a0c377000c75 2025-10-23 21:39:29,309 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/52e608b6-549f-4e34-86a7-a0c377000c75 2025-10-23 21:39:29,348 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b51381af-35dc-4e74-8a17-fbcc0a3fb325 2025-10-23 21:39:32,601 - 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 1010ms') 2025-10-23 21:39:32,601 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60277861-87551755 failed! 2025-10-23 21:39:32,656 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60277861:ctest-vn-90932123 is 215.226.126.65 and allocation pool is NOT set 2025-10-23 21:39:34,715 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.854 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.854/2.329/3.804/1.475 ms') 2025-10-23 21:39:34,715 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60277861-87551755 passed 2025-10-23 21:39:34,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:39:34,868 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60277861-87551755, IP 215.226.126.67, Port 22 2025-10-23 21:39:35,027 - DEBUG - VM ctest-TestRoutersBasic-60277861-87551755 is ready for SSH connections 2025-10-23 21:39:35,027 - INFO - Waiting for VM ctest-TestRoutersBasic-60277861-53819660 to be up.. 2025-10-23 21:39:35,117 - DEBUG - VM is in ACTIVE state now 2025-10-23 21:39:35,117 - INFO - VM name : ctest-TestRoutersBasic-60277861-53819660 2025-10-23 21:39:35,202 - DEBUG - VM ctest-TestRoutersBasic-60277861-53819660 ID is c8a1797b-44f4-4796-b0bb-2f46bb4de802 2025-10-23 21:39:35,202 - DEBUG - VM ctest-TestRoutersBasic-60277861-53819660 launched on Node cn-jenkins-deploy-platform-ansible-os-4469-1 2025-10-23 21:39:35,280 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c8a1797b-44f4-4796-b0bb-2f46bb4de802 2025-10-23 21:39:35,288 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/90c048a0-140c-42aa-9ca7-4d8c602cbcf2 2025-10-23 21:39:36,538 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.350/1.906/3.463/1.556 ms') 2025-10-23 21:39:36,539 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60277861-53819660 passed 2025-10-23 21:39:36,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:39:36,692 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60277861-53819660, IP 121.40.167.3, Port 22 2025-10-23 21:39:36,848 - DEBUG - VM ctest-TestRoutersBasic-60277861-53819660 is ready for SSH connections 2025-10-23 21:39:36,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 21:39:36,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.40.167.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-23 21:39:36,849 - DEBUG - ping -s 56 -c 3 -W 1 121.40.167.3 2025-10-23 21:39:40,627 - DEBUG - PING 121.40.167.3 (121.40.167.3): 56 data bytes 64 bytes from 121.40.167.3: seq=0 ttl=62 time=6.775 ms 64 bytes from 121.40.167.3: seq=1 ttl=62 time=1.308 ms 64 bytes from 121.40.167.3: seq=2 ttl=62 time=0.899 ms --- 121.40.167.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.899/2.994/6.775 ms 2025-10-23 21:39:40,627 - INFO - Ping to IP 121.40.167.3 from VM ctest-TestRoutersBasic-60277861-87551755 passed 2025-10-23 21:39:40,627 - INFO - Deleting interface with subnet_id 7e4c8ae4-8401-46b7-8ca9-09e4f222f236, port_id None from router f71481ed-be74-4ec6-a262-379eeddfc47b 2025-10-23 21:39:40,842 - INFO - Deleting VM ctest-TestRoutersBasic-60277861-53819660 2025-10-23 21:39:40,922 - INFO - Deleting VM ctest-TestRoutersBasic-60277861-87551755 2025-10-23 21:39:41,004 - INFO - Deleting VN ctest-ext_vn-59995164 2025-10-23 21:39:41,073 - DEBUG - VN 6f28d3b3-0e63-43cb-8736-68e9db112176 still in use: Unable to complete operation on network 6f28d3b3-0e63-43cb-8736-68e9db112176. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e3e7859-830c-4ee6-b36f-95bc35d5d462'] 2025-10-23 21:39:41,074 - WARNING - Deleting VN ctest-ext_vn-59995164 failed..Will retry 2025-10-23 21:39:43,181 - DEBUG - Response for deleting network () 2025-10-23 21:39:43,181 - INFO - Deleting VN ctest-vn-90932123 2025-10-23 21:39:43,303 - DEBUG - Response for deleting network () 2025-10-23 21:39:43,557 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 21:39:43,557 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-23 21:39:43,557 - INFO - -------------------------------------------------------------------------------- 2025-10-23 21:39:44,303 - INFO - Deleted project: ctest-TestRoutersBasic-60277861, ID : 6f9e8e49-ff7c-4154-9b0f-7c2f4af5211f