2025-08-14 14:13:24,681 - INFO - Domain Default found not creating 2025-08-14 14:13:24,836 - INFO - Project ctest-TestRoutersBasic-97745519 not found, creating it 2025-08-14 14:13:25,283 - INFO - Created Project:ctest-TestRoutersBasic-97745519, ID : 2a17a0d7-5ed0-4094-8a0d-4db75638052a 2025-08-14 14:13:26,681 - INFO - ================================================================================ 2025-08-14 14:13:26,682 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-14 14:13:26,682 - 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-08-14 14:13:26,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-14 14:13:26,937 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:13:26,937 - INFO - 2025-08-14 14:13:27,632 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97745519 2025-08-14 14:13:27,726 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97745519 2025-08-14 14:13:28,042 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97745519', 'default']} 2025-08-14 14:13:28,325 - DEBUG - Response for create_network : {'network': {'id': 'c4a308f0-3baa-43a6-8552-29d819cd353e', 'name': 'ctest-vn-76794142', 'tenant_id': '2a17a0d75ed040948a0d4db75638052a', 'project_id': '2a17a0d75ed040948a0d4db75638052a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97745519', 'ctest-vn-76794142'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:13:28,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '751ab966-1055-431c-a23e-a9c7ee80759b', 'name': '', 'tenant_id': '2a17a0d75ed040948a0d4db75638052a', 'network_id': 'c4a308f0-3baa-43a6-8552-29d819cd353e', 'ip_version': 4, 'cidr': '74.164.116.0/26', 'allocation_pools': [{'start': '74.164.116.2', 'end': '74.164.116.62'}], 'gateway_ip': '74.164.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.164.116.2', 'tags': [], 'project_id': '2a17a0d75ed040948a0d4db75638052a'}} 2025-08-14 14:13:28,540 - INFO - Created VN ctest-vn-76794142 2025-08-14 14:13:28,590 - DEBUG - VN ctest-vn-76794142 UUID is c4a308f0-3baa-43a6-8552-29d819cd353e 2025-08-14 14:13:28,894 - DEBUG - Response for create_network : {'network': {'id': 'a8e78659-a453-40eb-b8ba-f1dfb4c131e0', 'name': 'ctest-ext_vn-81120294', 'tenant_id': '2a17a0d75ed040948a0d4db75638052a', 'project_id': '2a17a0d75ed040948a0d4db75638052a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97745519', 'ctest-ext_vn-81120294'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:13:29,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '64c35fea-9f94-4112-8c4a-67e6f3f909b9', 'name': '', 'tenant_id': '2a17a0d75ed040948a0d4db75638052a', 'network_id': 'a8e78659-a453-40eb-b8ba-f1dfb4c131e0', 'ip_version': 4, 'cidr': '37.205.81.0/26', 'allocation_pools': [{'start': '37.205.81.2', 'end': '37.205.81.62'}], 'gateway_ip': '37.205.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.205.81.2', 'tags': [], 'project_id': '2a17a0d75ed040948a0d4db75638052a'}} 2025-08-14 14:13:29,111 - INFO - Created VN ctest-ext_vn-81120294 2025-08-14 14:13:29,162 - DEBUG - VN ctest-ext_vn-81120294 UUID is a8e78659-a453-40eb-b8ba-f1dfb4c131e0 2025-08-14 14:13:29,343 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:13:30,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:13:31,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3855-1) 2025-08-14 14:13:31,545 - INFO - Setting gateway for router 9789149f-c76f-4464-bb4d-bf184b552b83 to network a8e78659-a453-40eb-b8ba-f1dfb4c131e0 2025-08-14 14:13:31,630 - INFO - Adding interface with subnet_id 751ab966-1055-431c-a23e-a9c7ee80759b, port_id None to router 9789149f-c76f-4464-bb4d-bf184b552b83 2025-08-14 14:13:32,028 - INFO - Waiting for VM ctest-TestRoutersBasic-97745519-24509269 to be up.. 2025-08-14 14:13:32,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:13:37,256 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:13:37,256 - INFO - VM name : ctest-TestRoutersBasic-97745519-24509269 2025-08-14 14:13:37,336 - DEBUG - VM ctest-TestRoutersBasic-97745519-24509269 ID is b93a0308-fd16-4d63-9234-cc30d1d6b693 2025-08-14 14:13:37,358 - DEBUG - VM ctest-TestRoutersBasic-97745519-24509269 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:13:37,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b93a0308-fd16-4d63-9234-cc30d1d6b693 2025-08-14 14:13:37,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b93a0308-fd16-4d63-9234-cc30d1d6b693 2025-08-14 14:13:37,760 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aa109cb6-aac1-4089-93da-c3fef3eec268 2025-08-14 14:13:41,025 - 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 1012ms') 2025-08-14 14:13:41,025 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97745519-24509269 failed! 2025-08-14 14:13:41,082 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97745519:ctest-vn-76794142 is 74.164.116.1 and allocation pool is NOT set 2025-08-14 14:13:43,140 - 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.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.374 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.374/1.619/2.864/1.245 ms') 2025-08-14 14:13:43,140 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97745519-24509269 passed 2025-08-14 14:13:43,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:43,294 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97745519-24509269, IP 74.164.116.3, Port 22 2025-08-14 14:13:43,454 - DEBUG - VM ctest-TestRoutersBasic-97745519-24509269 is ready for SSH connections 2025-08-14 14:13:43,454 - INFO - Waiting for VM ctest-TestRoutersBasic-97745519-72862200 to be up.. 2025-08-14 14:13:43,522 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:13:43,522 - INFO - VM name : ctest-TestRoutersBasic-97745519-72862200 2025-08-14 14:13:43,585 - DEBUG - VM ctest-TestRoutersBasic-97745519-72862200 ID is d919785e-ef0b-4409-8419-443ef5498df3 2025-08-14 14:13:43,585 - DEBUG - VM ctest-TestRoutersBasic-97745519-72862200 launched on Node cn-jenkins-deploy-platform-ansible-os-3855-1 2025-08-14 14:13:43,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d919785e-ef0b-4409-8419-443ef5498df3 2025-08-14 14:13:43,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fe3d65d3-b6c4-4189-965e-ea91ced53406 2025-08-14 14:13:44,892 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.291 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.291/1.602/2.913/1.311 ms') 2025-08-14 14:13:44,892 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97745519-72862200 passed 2025-08-14 14:13:45,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:45,042 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97745519-72862200, IP 37.205.81.3, Port 22 2025-08-14 14:13:45,198 - DEBUG - VM ctest-TestRoutersBasic-97745519-72862200 is ready for SSH connections 2025-08-14 14:13:45,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:13:45,198 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.205.81.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-14 14:13:45,198 - DEBUG - ping -s 56 -c 3 -W 1 37.205.81.3 2025-08-14 14:13:49,466 - DEBUG - PING 37.205.81.3 (37.205.81.3): 56 data bytes 64 bytes from 37.205.81.3: seq=0 ttl=62 time=5.750 ms 64 bytes from 37.205.81.3: seq=1 ttl=62 time=1.233 ms 64 bytes from 37.205.81.3: seq=2 ttl=62 time=0.785 ms --- 37.205.81.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/2.589/5.750 ms 2025-08-14 14:13:49,466 - INFO - Ping to IP 37.205.81.3 from VM ctest-TestRoutersBasic-97745519-24509269 passed 2025-08-14 14:13:49,467 - INFO - Deleting interface with subnet_id 751ab966-1055-431c-a23e-a9c7ee80759b, port_id None from router 9789149f-c76f-4464-bb4d-bf184b552b83 2025-08-14 14:13:49,698 - INFO - Deleting VM ctest-TestRoutersBasic-97745519-72862200 2025-08-14 14:13:49,780 - INFO - Deleting VM ctest-TestRoutersBasic-97745519-24509269 2025-08-14 14:13:49,866 - INFO - Deleting VN ctest-ext_vn-81120294 2025-08-14 14:13:49,936 - DEBUG - VN a8e78659-a453-40eb-b8ba-f1dfb4c131e0 still in use: Unable to complete operation on network a8e78659-a453-40eb-b8ba-f1dfb4c131e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a06b8ff-a1e7-44d0-930e-7a41c3715d7e'] 2025-08-14 14:13:49,937 - WARNING - Deleting VN ctest-ext_vn-81120294 failed..Will retry 2025-08-14 14:13:52,052 - DEBUG - Response for deleting network () 2025-08-14 14:13:52,053 - INFO - Deleting VN ctest-vn-76794142 2025-08-14 14:13:52,163 - DEBUG - Response for deleting network () 2025-08-14 14:13:52,416 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 14:13:52,416 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-14 14:13:52,416 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:13:53,131 - INFO - Deleted project: ctest-TestRoutersBasic-97745519, ID : 2a17a0d7-5ed0-4094-8a0d-4db75638052a