2025-09-04 16:23:44,026 - INFO - Domain Default found not creating 2025-09-04 16:23:44,174 - INFO - Project ctest-TestRoutersBasic-62243301 not found, creating it 2025-09-04 16:23:44,628 - INFO - Created Project:ctest-TestRoutersBasic-62243301, ID : 510e65a8-47a0-4acf-af41-0c01be376572 2025-09-04 16:23:46,143 - INFO - ================================================================================ 2025-09-04 16:23:46,144 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-04 16:23:46,144 - 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-09-04 16:23:46,402 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-04 16:23:46,402 - INFO - Initial checks done. Running the testcase now 2025-09-04 16:23:46,402 - INFO - 2025-09-04 16:23:47,186 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62243301 2025-09-04 16:23:47,279 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62243301 2025-09-04 16:23:47,595 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62243301', 'default']} 2025-09-04 16:23:47,886 - DEBUG - Response for create_network : {'network': {'id': '6945d9f5-8f6d-4e6e-81f3-38a477e46b20', 'name': 'ctest-vn-03224922', 'tenant_id': '510e65a847a04acfaf410c01be376572', 'project_id': '510e65a847a04acfaf410c01be376572', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62243301', 'ctest-vn-03224922'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:23:48,046 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ee5a71e-3bb1-4ad3-b3a5-4c330cc1c7b5', 'name': '', 'tenant_id': '510e65a847a04acfaf410c01be376572', 'network_id': '6945d9f5-8f6d-4e6e-81f3-38a477e46b20', 'ip_version': 4, 'cidr': '160.17.223.0/26', 'allocation_pools': [{'start': '160.17.223.2', 'end': '160.17.223.62'}], 'gateway_ip': '160.17.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.17.223.2', 'tags': [], 'project_id': '510e65a847a04acfaf410c01be376572'}} 2025-09-04 16:23:48,063 - INFO - Created VN ctest-vn-03224922 2025-09-04 16:23:48,115 - DEBUG - VN ctest-vn-03224922 UUID is 6945d9f5-8f6d-4e6e-81f3-38a477e46b20 2025-09-04 16:23:48,427 - DEBUG - Response for create_network : {'network': {'id': '71651511-50e3-4673-a7c7-05df70d909d4', 'name': 'ctest-ext_vn-50725981', 'tenant_id': '510e65a847a04acfaf410c01be376572', 'project_id': '510e65a847a04acfaf410c01be376572', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62243301', 'ctest-ext_vn-50725981'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 16:23:48,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f370ba1-fa2c-4e0c-bf3a-1bb1ea9ed94e', 'name': '', 'tenant_id': '510e65a847a04acfaf410c01be376572', 'network_id': '71651511-50e3-4673-a7c7-05df70d909d4', 'ip_version': 4, 'cidr': '187.9.13.192/26', 'allocation_pools': [{'start': '187.9.13.194', 'end': '187.9.13.254'}], 'gateway_ip': '187.9.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.9.13.194', 'tags': [], 'project_id': '510e65a847a04acfaf410c01be376572'}} 2025-09-04 16:23:48,601 - INFO - Created VN ctest-ext_vn-50725981 2025-09-04 16:23:48,655 - DEBUG - VN ctest-ext_vn-50725981 UUID is 71651511-50e3-4673-a7c7-05df70d909d4 2025-09-04 16:23:48,822 - DEBUG - Services list from nova: [, , ] 2025-09-04 16:23:49,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1) 2025-09-04 16:23:51,155 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4017-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4017-1) 2025-09-04 16:23:51,224 - INFO - Setting gateway for router 56f796eb-b957-4f29-9c9f-25ba112c6466 to network 71651511-50e3-4673-a7c7-05df70d909d4 2025-09-04 16:23:51,293 - INFO - Adding interface with subnet_id 3ee5a71e-3bb1-4ad3-b3a5-4c330cc1c7b5, port_id None to router 56f796eb-b957-4f29-9c9f-25ba112c6466 2025-09-04 16:23:51,680 - INFO - Waiting for VM ctest-TestRoutersBasic-62243301-54524136 to be up.. 2025-09-04 16:23:51,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 16:23:56,934 - DEBUG - VM is in ACTIVE state now 2025-09-04 16:23:56,934 - INFO - VM name : ctest-TestRoutersBasic-62243301-54524136 2025-09-04 16:23:57,006 - DEBUG - VM ctest-TestRoutersBasic-62243301-54524136 ID is 893fe730-a9ef-4964-a5e8-3cb795da59a8 2025-09-04 16:23:57,026 - DEBUG - VM ctest-TestRoutersBasic-62243301-54524136 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1 2025-09-04 16:23:57,102 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/893fe730-a9ef-4964-a5e8-3cb795da59a8 2025-09-04 16:23:57,436 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/893fe730-a9ef-4964-a5e8-3cb795da59a8 2025-09-04 16:23:57,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/acde8857-6666-4e59-a37f-e9b1d3c21765 2025-09-04 16:24:00,701 - 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 1011ms') 2025-09-04 16:24:00,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62243301-54524136 failed! 2025-09-04 16:24:00,755 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62243301:ctest-vn-03224922 is 160.17.223.1 and allocation pool is NOT set 2025-09-04 16:24:02,822 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/2.100/3.715/1.615 ms') 2025-09-04 16:24:02,822 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62243301-54524136 passed 2025-09-04 16:24:02,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:02,983 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62243301-54524136, IP 160.17.223.3, Port 22 2025-09-04 16:24:03,154 - DEBUG - VM ctest-TestRoutersBasic-62243301-54524136 is ready for SSH connections 2025-09-04 16:24:03,154 - INFO - Waiting for VM ctest-TestRoutersBasic-62243301-29561275 to be up.. 2025-09-04 16:24:03,236 - DEBUG - VM is in ACTIVE state now 2025-09-04 16:24:03,237 - INFO - VM name : ctest-TestRoutersBasic-62243301-29561275 2025-09-04 16:24:03,321 - DEBUG - VM ctest-TestRoutersBasic-62243301-29561275 ID is e7780e3c-75a5-4fd5-a1b4-71cc77468194 2025-09-04 16:24:03,321 - DEBUG - VM ctest-TestRoutersBasic-62243301-29561275 launched on Node cn-jenkins-deploy-platform-ansible-os-4017-1 2025-09-04 16:24:03,403 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e7780e3c-75a5-4fd5-a1b4-71cc77468194 2025-09-04 16:24:03,411 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cda81b75-b91b-43f8-9507-bbd698a6d966 2025-09-04 16:24:04,654 - 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=6.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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 = 1.133/3.637/6.142/2.504 ms') 2025-09-04 16:24:04,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62243301-29561275 passed 2025-09-04 16:24:04,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:04,808 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62243301-29561275, IP 187.9.13.195, Port 22 2025-09-04 16:24:04,963 - DEBUG - VM ctest-TestRoutersBasic-62243301-29561275 is ready for SSH connections 2025-09-04 16:24:04,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 16:24:04,963 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.9.13.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-04 16:24:04,963 - DEBUG - ping -s 56 -c 3 -W 1 187.9.13.195 2025-09-04 16:24:08,722 - DEBUG - PING 187.9.13.195 (187.9.13.195): 56 data bytes 64 bytes from 187.9.13.195: seq=0 ttl=62 time=4.795 ms 64 bytes from 187.9.13.195: seq=1 ttl=62 time=1.014 ms 64 bytes from 187.9.13.195: seq=2 ttl=62 time=1.150 ms --- 187.9.13.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/2.319/4.795 ms 2025-09-04 16:24:08,722 - INFO - Ping to IP 187.9.13.195 from VM ctest-TestRoutersBasic-62243301-54524136 passed 2025-09-04 16:24:08,722 - INFO - Deleting interface with subnet_id 3ee5a71e-3bb1-4ad3-b3a5-4c330cc1c7b5, port_id None from router 56f796eb-b957-4f29-9c9f-25ba112c6466 2025-09-04 16:24:08,898 - INFO - Deleting VM ctest-TestRoutersBasic-62243301-29561275 2025-09-04 16:24:08,977 - INFO - Deleting VM ctest-TestRoutersBasic-62243301-54524136 2025-09-04 16:24:09,060 - INFO - Deleting VN ctest-ext_vn-50725981 2025-09-04 16:24:09,124 - DEBUG - VN 71651511-50e3-4673-a7c7-05df70d909d4 still in use: Unable to complete operation on network 71651511-50e3-4673-a7c7-05df70d909d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16a93582-a0bd-4730-a1eb-734e19eec8a2'] 2025-09-04 16:24:09,124 - WARNING - Deleting VN ctest-ext_vn-50725981 failed..Will retry 2025-09-04 16:24:11,240 - DEBUG - Response for deleting network () 2025-09-04 16:24:11,240 - INFO - Deleting VN ctest-vn-03224922 2025-09-04 16:24:11,348 - DEBUG - Response for deleting network () 2025-09-04 16:24:11,604 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 16:24:11,605 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-04 16:24:11,605 - INFO - -------------------------------------------------------------------------------- 2025-09-04 16:24:12,333 - INFO - Deleted project: ctest-TestRoutersBasic-62243301, ID : 510e65a8-47a0-4acf-af41-0c01be376572