2025-04-07 02:17:19,789 - INFO - Domain Default found not creating 2025-04-07 02:17:19,936 - INFO - Project ctest-TestRoutersBasic-79637492 not found, creating it 2025-04-07 02:17:20,414 - INFO - Created Project:ctest-TestRoutersBasic-79637492, ID : 684b76a2-b0a8-48b6-9461-aa26ce42436f 2025-04-07 02:17:21,858 - INFO - ================================================================================ 2025-04-07 02:17:21,859 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-07 02:17:21,859 - 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-04-07 02:17:22,118 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.8': '0'}} with 2025-04-07 02:17:22,119 - INFO - Initial checks done. Running the testcase now 2025-04-07 02:17:22,119 - INFO - 2025-04-07 02:17:22,839 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79637492 2025-04-07 02:17:22,937 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79637492 2025-04-07 02:17:23,260 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79637492', 'default']} 2025-04-07 02:17:23,692 - DEBUG - Response for create_network : {'network': {'id': 'b4278632-3997-4c7d-bb69-fbe1b247fe6d', 'name': 'ctest-vn-71548752', 'tenant_id': '684b76a2b0a848b69461aa26ce42436f', 'project_id': '684b76a2b0a848b69461aa26ce42436f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79637492', 'ctest-vn-71548752'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:17:23,890 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a99a31b6-63bb-4ec0-bff0-bdefce91b9eb', 'name': '', 'tenant_id': '684b76a2b0a848b69461aa26ce42436f', 'network_id': 'b4278632-3997-4c7d-bb69-fbe1b247fe6d', 'ip_version': 4, 'cidr': '176.194.51.192/26', 'allocation_pools': [{'start': '176.194.51.194', 'end': '176.194.51.254'}], 'gateway_ip': '176.194.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.194.51.194', 'tags': [], 'project_id': '684b76a2b0a848b69461aa26ce42436f'}} 2025-04-07 02:17:23,911 - INFO - Created VN ctest-vn-71548752 2025-04-07 02:17:23,965 - DEBUG - VN ctest-vn-71548752 UUID is b4278632-3997-4c7d-bb69-fbe1b247fe6d 2025-04-07 02:17:24,281 - DEBUG - Response for create_network : {'network': {'id': 'cd8c46d7-759a-4be3-a980-1dab0d4ffb88', 'name': 'ctest-ext_vn-80016573', 'tenant_id': '684b76a2b0a848b69461aa26ce42436f', 'project_id': '684b76a2b0a848b69461aa26ce42436f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79637492', 'ctest-ext_vn-80016573'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:17:24,508 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ead18398-5266-466b-998c-00771a38e7f9', 'name': '', 'tenant_id': '684b76a2b0a848b69461aa26ce42436f', 'network_id': 'cd8c46d7-759a-4be3-a980-1dab0d4ffb88', 'ip_version': 4, 'cidr': '221.79.172.192/26', 'allocation_pools': [{'start': '221.79.172.194', 'end': '221.79.172.254'}], 'gateway_ip': '221.79.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.79.172.194', 'tags': [], 'project_id': '684b76a2b0a848b69461aa26ce42436f'}} 2025-04-07 02:17:24,526 - INFO - Created VN ctest-ext_vn-80016573 2025-04-07 02:17:24,581 - DEBUG - VN ctest-ext_vn-80016573 UUID is cd8c46d7-759a-4be3-a980-1dab0d4ffb88 2025-04-07 02:17:24,742 - DEBUG - Services list from nova: [, , ] 2025-04-07 02:17:25,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3042-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3042-1) 2025-04-07 02:17:26,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3042-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3042-1) 2025-04-07 02:17:26,960 - INFO - Setting gateway for router 2d8339b1-cb69-4833-af82-a3492d548a43 to network cd8c46d7-759a-4be3-a980-1dab0d4ffb88 2025-04-07 02:17:27,057 - INFO - Adding interface with subnet_id a99a31b6-63bb-4ec0-bff0-bdefce91b9eb, port_id None to router 2d8339b1-cb69-4833-af82-a3492d548a43 2025-04-07 02:17:27,419 - INFO - Waiting for VM ctest-TestRoutersBasic-79637492-48076793 to be up.. 2025-04-07 02:17:27,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 02:17:32,676 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:17:32,676 - INFO - VM name : ctest-TestRoutersBasic-79637492-48076793 2025-04-07 02:17:32,756 - DEBUG - VM ctest-TestRoutersBasic-79637492-48076793 ID is ba553f7f-dbed-48fe-89f1-d092f72b1fba 2025-04-07 02:17:32,775 - DEBUG - VM ctest-TestRoutersBasic-79637492-48076793 launched on Node cn-jenkins-deploy-platform-ansible-os-3042-1 2025-04-07 02:17:32,848 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/ba553f7f-dbed-48fe-89f1-d092f72b1fba 2025-04-07 02:17:33,138 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/ba553f7f-dbed-48fe-89f1-d092f72b1fba 2025-04-07 02:17:33,169 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/07fa919f-2f9a-4e44-a007-e3b6669d8665 2025-04-07 02:17:36,424 - 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 1015ms') 2025-04-07 02:17:36,425 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79637492-48076793 failed! 2025-04-07 02:17:36,485 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79637492:ctest-vn-71548752 is 176.194.51.193 and allocation pool is NOT set 2025-04-07 02:17:38,545 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/1.557/2.674/1.117 ms') 2025-04-07 02:17:38,545 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79637492-48076793 passed 2025-04-07 02:17:38,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:17:38,693 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79637492-48076793, IP 176.194.51.195, Port 22 2025-04-07 02:17:38,844 - DEBUG - VM ctest-TestRoutersBasic-79637492-48076793 is ready for SSH connections 2025-04-07 02:17:38,844 - INFO - Waiting for VM ctest-TestRoutersBasic-79637492-88097024 to be up.. 2025-04-07 02:17:38,919 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:17:38,919 - INFO - VM name : ctest-TestRoutersBasic-79637492-88097024 2025-04-07 02:17:38,996 - DEBUG - VM ctest-TestRoutersBasic-79637492-88097024 ID is a060d18b-13a2-4a5f-82e6-05aab94edf69 2025-04-07 02:17:38,996 - DEBUG - VM ctest-TestRoutersBasic-79637492-88097024 launched on Node cn-jenkins-deploy-platform-ansible-os-3042-1 2025-04-07 02:17:39,073 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a060d18b-13a2-4a5f-82e6-05aab94edf69 2025-04-07 02:17:39,083 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/94c2d57b-9df9-4f60-91bb-4fdbc7f385af 2025-04-07 02:17:40,326 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.587/2.749/1.161 ms') 2025-04-07 02:17:40,326 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79637492-88097024 passed 2025-04-07 02:17:40,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:17:40,481 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79637492-88097024, IP 221.79.172.195, Port 22 2025-04-07 02:17:40,640 - DEBUG - VM ctest-TestRoutersBasic-79637492-88097024 is ready for SSH connections 2025-04-07 02:17:40,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:17:40,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.79.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2025-04-07 02:17:40,641 - DEBUG - ping -s 56 -c 3 -W 1 221.79.172.195 2025-04-07 02:17:44,349 - DEBUG - PING 221.79.172.195 (221.79.172.195): 56 data bytes 64 bytes from 221.79.172.195: seq=0 ttl=62 time=7.532 ms 64 bytes from 221.79.172.195: seq=1 ttl=62 time=0.820 ms 64 bytes from 221.79.172.195: seq=2 ttl=62 time=1.052 ms --- 221.79.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/3.134/7.532 ms 2025-04-07 02:17:44,349 - INFO - Ping to IP 221.79.172.195 from VM ctest-TestRoutersBasic-79637492-48076793 passed 2025-04-07 02:17:44,350 - INFO - Deleting interface with subnet_id a99a31b6-63bb-4ec0-bff0-bdefce91b9eb, port_id None from router 2d8339b1-cb69-4833-af82-a3492d548a43 2025-04-07 02:17:44,548 - INFO - Deleting VM ctest-TestRoutersBasic-79637492-88097024 2025-04-07 02:17:44,621 - INFO - Deleting VM ctest-TestRoutersBasic-79637492-48076793 2025-04-07 02:17:44,705 - INFO - Deleting VN ctest-ext_vn-80016573 2025-04-07 02:17:44,789 - DEBUG - VN cd8c46d7-759a-4be3-a980-1dab0d4ffb88 still in use: Unable to complete operation on network cd8c46d7-759a-4be3-a980-1dab0d4ffb88. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1bea9168-8c20-43df-8471-b51723b2b478'] 2025-04-07 02:17:44,790 - WARNING - Deleting VN ctest-ext_vn-80016573 failed..Will retry 2025-04-07 02:17:46,899 - DEBUG - Response for deleting network () 2025-04-07 02:17:46,899 - INFO - Deleting VN ctest-vn-71548752 2025-04-07 02:17:47,012 - DEBUG - Response for deleting network () 2025-04-07 02:17:47,267 - DEBUG - No XMPP flaps were noticed during the test 2025-04-07 02:17:47,267 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-07 02:17:47,267 - INFO - -------------------------------------------------------------------------------- 2025-04-07 02:17:48,073 - INFO - Deleted project: ctest-TestRoutersBasic-79637492, ID : 684b76a2-b0a8-48b6-9461-aa26ce42436f