2025-10-13 02:14:52,979 - INFO - Domain Default found not creating 2025-10-13 02:14:53,126 - INFO - Project ctest-TestRoutersBasic-75262054 not found, creating it 2025-10-13 02:14:53,622 - INFO - Created Project:ctest-TestRoutersBasic-75262054, ID : f7f593e1-3f06-49dc-a3c9-c50a742c3828 2025-10-13 02:14:55,214 - INFO - ================================================================================ 2025-10-13 02:14:55,214 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-13 02:14:55,214 - 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-13 02:14:56,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.27': {'10.20.0.18': '0', '10.20.0.129': '0'}} with 2025-10-13 02:14:56,491 - INFO - Initial checks done. Running the testcase now 2025-10-13 02:14:56,491 - INFO - 2025-10-13 02:14:57,321 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75262054 2025-10-13 02:14:57,382 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75262054 2025-10-13 02:14:57,700 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75262054', 'default']} 2025-10-13 02:14:58,079 - DEBUG - Response for create_network : {'network': {'id': '7c6258d2-ed69-4ded-86d0-3fb478a3f236', 'name': 'ctest-vn-53281454', 'tenant_id': 'f7f593e13f0649dca3c9c50a742c3828', 'project_id': 'f7f593e13f0649dca3c9c50a742c3828', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75262054', 'ctest-vn-53281454'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:14:58,338 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be5edcc0-0630-43a1-988b-fa2ace265abc', 'name': '', 'tenant_id': 'f7f593e13f0649dca3c9c50a742c3828', 'network_id': '7c6258d2-ed69-4ded-86d0-3fb478a3f236', 'ip_version': 4, 'cidr': '134.50.17.192/26', 'allocation_pools': [{'start': '134.50.17.194', 'end': '134.50.17.254'}], 'gateway_ip': '134.50.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.50.17.194', 'tags': [], 'project_id': 'f7f593e13f0649dca3c9c50a742c3828'}} 2025-10-13 02:14:58,360 - INFO - Created VN ctest-vn-53281454 2025-10-13 02:14:58,370 - DEBUG - VN ctest-vn-53281454 UUID is 7c6258d2-ed69-4ded-86d0-3fb478a3f236 2025-10-13 02:14:58,802 - DEBUG - Response for create_network : {'network': {'id': '467795f2-b12a-4f0b-a56b-127afa60b7da', 'name': 'ctest-ext_vn-18271996', 'tenant_id': 'f7f593e13f0649dca3c9c50a742c3828', 'project_id': 'f7f593e13f0649dca3c9c50a742c3828', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75262054', 'ctest-ext_vn-18271996'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:14:59,065 - DEBUG - Response for create_subnet : {'subnet': {'id': '75182fe7-e1a5-4b27-9c8f-6cd59f478393', 'name': '', 'tenant_id': 'f7f593e13f0649dca3c9c50a742c3828', 'network_id': '467795f2-b12a-4f0b-a56b-127afa60b7da', 'ip_version': 4, 'cidr': '68.218.71.64/26', 'allocation_pools': [{'start': '68.218.71.66', 'end': '68.218.71.126'}], 'gateway_ip': '68.218.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.218.71.66', 'tags': [], 'project_id': 'f7f593e13f0649dca3c9c50a742c3828'}} 2025-10-13 02:14:59,086 - INFO - Created VN ctest-ext_vn-18271996 2025-10-13 02:14:59,098 - DEBUG - VN ctest-ext_vn-18271996 UUID is 467795f2-b12a-4f0b-a56b-127afa60b7da 2025-10-13 02:14:59,251 - DEBUG - Services list from nova: [, , , ] 2025-10-13 02:15:00,366 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-1) 2025-10-13 02:15:01,705 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4296-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4296-2) 2025-10-13 02:15:01,850 - INFO - Setting gateway for router dcba6e2e-f9dc-4c42-9a8c-646413c52765 to network 467795f2-b12a-4f0b-a56b-127afa60b7da 2025-10-13 02:15:01,965 - INFO - Adding interface with subnet_id be5edcc0-0630-43a1-988b-fa2ace265abc, port_id None to router dcba6e2e-f9dc-4c42-9a8c-646413c52765 2025-10-13 02:15:02,457 - INFO - Waiting for VM ctest-TestRoutersBasic-75262054-18750906 to be up.. 2025-10-13 02:15:02,615 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 02:15:07,703 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:15:07,703 - INFO - VM name : ctest-TestRoutersBasic-75262054-18750906 2025-10-13 02:15:07,781 - DEBUG - VM ctest-TestRoutersBasic-75262054-18750906 ID is 766296bb-74b1-43f4-b2a9-2386687b7ee0 2025-10-13 02:15:07,803 - DEBUG - VM ctest-TestRoutersBasic-75262054-18750906 launched on Node an-jenkins-deploy-platform-ansible-os-4296-1 2025-10-13 02:15:07,878 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/766296bb-74b1-43f4-b2a9-2386687b7ee0 2025-10-13 02:15:08,175 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/766296bb-74b1-43f4-b2a9-2386687b7ee0 2025-10-13 02:15:08,208 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/44c9ddec-619b-4b9c-8f43-18ab0d5921d7 2025-10-13 02:15:11,388 - 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 1027ms') 2025-10-13 02:15:11,388 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75262054-18750906 failed! 2025-10-13 02:15:11,401 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-75262054:ctest-vn-53281454 is 134.50.17.193 and allocation pool is NOT set 2025-10-13 02:15:13,465 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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.454/1.894/3.334/1.440 ms') 2025-10-13 02:15:13,466 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75262054-18750906 passed 2025-10-13 02:15:13,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:15:13,533 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75262054-18750906, IP 134.50.17.195, Port 22 2025-10-13 02:15:13,687 - DEBUG - VM ctest-TestRoutersBasic-75262054-18750906 is ready for SSH connections 2025-10-13 02:15:13,688 - INFO - Waiting for VM ctest-TestRoutersBasic-75262054-68422438 to be up.. 2025-10-13 02:15:13,769 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:15:13,769 - INFO - VM name : ctest-TestRoutersBasic-75262054-68422438 2025-10-13 02:15:13,844 - DEBUG - VM ctest-TestRoutersBasic-75262054-68422438 ID is fea9d454-1dee-42ed-acf6-236834743dc5 2025-10-13 02:15:13,844 - DEBUG - VM ctest-TestRoutersBasic-75262054-68422438 launched on Node an-jenkins-deploy-platform-ansible-os-4296-2 2025-10-13 02:15:13,919 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fea9d454-1dee-42ed-acf6-236834743dc5 2025-10-13 02:15:13,930 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/10633b72-7479-45ff-bba2-77d739504b72 2025-10-13 02:15:15,088 - 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=11.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/5.739/11.062/5.323 ms') 2025-10-13 02:15:15,088 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75262054-68422438 passed 2025-10-13 02:15:15,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:15:15,166 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75262054-68422438, IP 68.218.71.67, Port 22 2025-10-13 02:15:15,324 - DEBUG - VM ctest-TestRoutersBasic-75262054-68422438 is ready for SSH connections 2025-10-13 02:15:15,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:15:15,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.218.71.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-13 02:15:15,324 - DEBUG - ping -s 56 -c 3 -W 1 68.218.71.67 2025-10-13 02:15:18,995 - DEBUG - PING 68.218.71.67 (68.218.71.67): 56 data bytes 64 bytes from 68.218.71.67: seq=0 ttl=62 time=6.643 ms 64 bytes from 68.218.71.67: seq=1 ttl=62 time=1.517 ms 64 bytes from 68.218.71.67: seq=2 ttl=62 time=1.957 ms --- 68.218.71.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.517/3.372/6.643 ms 2025-10-13 02:15:18,995 - INFO - Ping to IP 68.218.71.67 from VM ctest-TestRoutersBasic-75262054-18750906 passed 2025-10-13 02:15:18,995 - INFO - Deleting interface with subnet_id be5edcc0-0630-43a1-988b-fa2ace265abc, port_id None from router dcba6e2e-f9dc-4c42-9a8c-646413c52765 2025-10-13 02:15:19,344 - INFO - Deleting VM ctest-TestRoutersBasic-75262054-68422438 2025-10-13 02:15:19,451 - INFO - Deleting VM ctest-TestRoutersBasic-75262054-18750906 2025-10-13 02:15:19,540 - INFO - Deleting VN ctest-ext_vn-18271996 2025-10-13 02:15:19,655 - DEBUG - VN 467795f2-b12a-4f0b-a56b-127afa60b7da still in use: Unable to complete operation on network 467795f2-b12a-4f0b-a56b-127afa60b7da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76f46ff4-4111-4a92-a16d-16ee37a6c115'] 2025-10-13 02:15:19,655 - WARNING - Deleting VN ctest-ext_vn-18271996 failed..Will retry 2025-10-13 02:15:21,802 - DEBUG - Response for deleting network () 2025-10-13 02:15:21,802 - INFO - Deleting VN ctest-vn-53281454 2025-10-13 02:15:21,976 - DEBUG - Response for deleting network () 2025-10-13 02:15:23,248 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 02:15:23,248 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-10-13 02:15:23,248 - INFO - -------------------------------------------------------------------------------- 2025-10-13 02:15:23,952 - INFO - Deleted project: ctest-TestRoutersBasic-75262054, ID : f7f593e1-3f06-49dc-a3c9-c50a742c3828