2025-06-24 12:25:53,774 - INFO - Domain Default found not creating 2025-06-24 12:25:53,943 - INFO - Project ctest-TestRoutersBasic-35751194 not found, creating it 2025-06-24 12:25:54,426 - INFO - Created Project:ctest-TestRoutersBasic-35751194, ID : c2686496-1e00-4116-ae54-62dff229f44a 2025-06-24 12:25:55,931 - INFO - ================================================================================ 2025-06-24 12:25:55,931 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-24 12:25:55,931 - 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-06-24 12:25:56,190 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-06-24 12:25:56,190 - INFO - Initial checks done. Running the testcase now 2025-06-24 12:25:56,190 - INFO - 2025-06-24 12:25:57,031 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35751194 2025-06-24 12:25:57,162 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35751194 2025-06-24 12:25:57,530 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35751194', 'default']} 2025-06-24 12:25:57,866 - DEBUG - Response for create_network : {'network': {'id': '08654489-77e3-42d7-be66-a3187a70d7bc', 'name': 'ctest-vn-35804839', 'tenant_id': 'c26864961e004116ae5462dff229f44a', 'project_id': 'c26864961e004116ae5462dff229f44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35751194', 'ctest-vn-35804839'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:25:58,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ea415bb-b91c-4170-9157-44b90161e194', 'name': '', 'tenant_id': 'c26864961e004116ae5462dff229f44a', 'network_id': '08654489-77e3-42d7-be66-a3187a70d7bc', 'ip_version': 4, 'cidr': '124.209.206.0/26', 'allocation_pools': [{'start': '124.209.206.2', 'end': '124.209.206.62'}], 'gateway_ip': '124.209.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.209.206.2', 'tags': [], 'project_id': 'c26864961e004116ae5462dff229f44a'}} 2025-06-24 12:25:58,107 - INFO - Created VN ctest-vn-35804839 2025-06-24 12:25:58,162 - DEBUG - VN ctest-vn-35804839 UUID is 08654489-77e3-42d7-be66-a3187a70d7bc 2025-06-24 12:25:58,515 - DEBUG - Response for create_network : {'network': {'id': 'bd6f5e04-7cb8-49fd-8f66-1875316b530c', 'name': 'ctest-ext_vn-05624958', 'tenant_id': 'c26864961e004116ae5462dff229f44a', 'project_id': 'c26864961e004116ae5462dff229f44a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35751194', 'ctest-ext_vn-05624958'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 12:25:58,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dfb119be-aea2-4dbd-8ef7-dec4aa5a0473', 'name': '', 'tenant_id': 'c26864961e004116ae5462dff229f44a', 'network_id': 'bd6f5e04-7cb8-49fd-8f66-1875316b530c', 'ip_version': 4, 'cidr': '2.48.80.0/26', 'allocation_pools': [{'start': '2.48.80.2', 'end': '2.48.80.62'}], 'gateway_ip': '2.48.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.48.80.2', 'tags': [], 'project_id': 'c26864961e004116ae5462dff229f44a'}} 2025-06-24 12:25:58,696 - INFO - Created VN ctest-ext_vn-05624958 2025-06-24 12:25:58,750 - DEBUG - VN ctest-ext_vn-05624958 UUID is bd6f5e04-7cb8-49fd-8f66-1875316b530c 2025-06-24 12:25:58,929 - DEBUG - Services list from nova: [, , ] 2025-06-24 12:25:59,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3530-1) 2025-06-24 12:26:01,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3530-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3530-1) 2025-06-24 12:26:01,257 - INFO - Setting gateway for router afafa48b-0457-424d-a354-aa1d2ed3f209 to network bd6f5e04-7cb8-49fd-8f66-1875316b530c 2025-06-24 12:26:01,330 - INFO - Adding interface with subnet_id 1ea415bb-b91c-4170-9157-44b90161e194, port_id None to router afafa48b-0457-424d-a354-aa1d2ed3f209 2025-06-24 12:26:01,848 - INFO - Waiting for VM ctest-TestRoutersBasic-35751194-85457728 to be up.. 2025-06-24 12:26:02,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 12:26:07,149 - DEBUG - VM is in ACTIVE state now 2025-06-24 12:26:07,149 - INFO - VM name : ctest-TestRoutersBasic-35751194-85457728 2025-06-24 12:26:07,246 - DEBUG - VM ctest-TestRoutersBasic-35751194-85457728 ID is 332ac3f8-8118-4c0a-b136-0b006d254c67 2025-06-24 12:26:07,273 - DEBUG - VM ctest-TestRoutersBasic-35751194-85457728 launched on Node cn-jenkins-deploy-platform-ansible-os-3530-1 2025-06-24 12:26:07,372 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/332ac3f8-8118-4c0a-b136-0b006d254c67 2025-06-24 12:26:07,679 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/332ac3f8-8118-4c0a-b136-0b006d254c67 2025-06-24 12:26:07,719 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f7104a72-2f84-45e0-8faa-141b6e9a4b71 2025-06-24 12:26:10,992 - 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-06-24 12:26:10,992 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35751194-85457728 failed! 2025-06-24 12:26:11,046 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35751194:ctest-vn-35804839 is 124.209.206.1 and allocation pool is NOT set 2025-06-24 12:26:13,105 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 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.472/2.206/3.940/1.734 ms') 2025-06-24 12:26:13,105 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35751194-85457728 passed 2025-06-24 12:26:13,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:26:13,262 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35751194-85457728, IP 124.209.206.3, Port 22 2025-06-24 12:26:13,417 - DEBUG - VM ctest-TestRoutersBasic-35751194-85457728 is ready for SSH connections 2025-06-24 12:26:13,417 - INFO - Waiting for VM ctest-TestRoutersBasic-35751194-64669503 to be up.. 2025-06-24 12:26:13,501 - DEBUG - VM is in ACTIVE state now 2025-06-24 12:26:13,501 - INFO - VM name : ctest-TestRoutersBasic-35751194-64669503 2025-06-24 12:26:13,581 - DEBUG - VM ctest-TestRoutersBasic-35751194-64669503 ID is 6934c7ab-437b-432b-8235-3d62d99c81a2 2025-06-24 12:26:13,582 - DEBUG - VM ctest-TestRoutersBasic-35751194-64669503 launched on Node cn-jenkins-deploy-platform-ansible-os-3530-1 2025-06-24 12:26:13,656 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6934c7ab-437b-432b-8235-3d62d99c81a2 2025-06-24 12:26:13,665 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/0dce1a5a-e08d-4f47-acc5-e776d16e34d0 2025-06-24 12:26:14,900 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.801 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.801/1.965/3.130/1.164 ms') 2025-06-24 12:26:14,900 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35751194-64669503 passed 2025-06-24 12:26:15,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:26:15,054 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35751194-64669503, IP 2.48.80.3, Port 22 2025-06-24 12:26:15,220 - DEBUG - VM ctest-TestRoutersBasic-35751194-64669503 is ready for SSH connections 2025-06-24 12:26:15,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 12:26:15,220 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.48.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-06-24 12:26:15,221 - DEBUG - ping -s 56 -c 3 -W 1 2.48.80.3 2025-06-24 12:26:19,272 - DEBUG - PING 2.48.80.3 (2.48.80.3): 56 data bytes 64 bytes from 2.48.80.3: seq=0 ttl=62 time=4.234 ms 64 bytes from 2.48.80.3: seq=1 ttl=62 time=1.067 ms 64 bytes from 2.48.80.3: seq=2 ttl=62 time=0.951 ms --- 2.48.80.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/2.084/4.234 ms 2025-06-24 12:26:19,272 - INFO - Ping to IP 2.48.80.3 from VM ctest-TestRoutersBasic-35751194-85457728 passed 2025-06-24 12:26:19,272 - INFO - Deleting interface with subnet_id 1ea415bb-b91c-4170-9157-44b90161e194, port_id None from router afafa48b-0457-424d-a354-aa1d2ed3f209 2025-06-24 12:26:19,541 - INFO - Deleting VM ctest-TestRoutersBasic-35751194-64669503 2025-06-24 12:26:19,613 - INFO - Deleting VM ctest-TestRoutersBasic-35751194-85457728 2025-06-24 12:26:19,707 - INFO - Deleting VN ctest-ext_vn-05624958 2025-06-24 12:26:19,828 - DEBUG - VN bd6f5e04-7cb8-49fd-8f66-1875316b530c still in use: Unable to complete operation on network bd6f5e04-7cb8-49fd-8f66-1875316b530c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3904add2-9c04-4262-92f4-ca5cd6869cd9'] 2025-06-24 12:26:19,828 - WARNING - Deleting VN ctest-ext_vn-05624958 failed..Will retry 2025-06-24 12:26:21,988 - DEBUG - Response for deleting network () 2025-06-24 12:26:21,988 - INFO - Deleting VN ctest-vn-35804839 2025-06-24 12:26:22,115 - DEBUG - Response for deleting network () 2025-06-24 12:26:22,377 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 12:26:22,377 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-06-24 12:26:22,377 - INFO - -------------------------------------------------------------------------------- 2025-06-24 12:26:23,100 - INFO - Deleted project: ctest-TestRoutersBasic-35751194, ID : c2686496-1e00-4116-ae54-62dff229f44a