2025-11-20 13:42:58,867 - INFO - Domain Default found not creating 2025-11-20 13:42:59,185 - INFO - Project ctest-TestRoutersBasic-72181060 not found, creating it 2025-11-20 13:42:59,729 - INFO - Created Project:ctest-TestRoutersBasic-72181060, ID : c2179bc8-188d-489e-a253-b84f9a02066a 2025-11-20 13:43:01,633 - INFO - ================================================================================ 2025-11-20 13:43:01,633 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-20 13:43:01,634 - 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-11-20 13:43:01,926 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.249': '0'}} with 2025-11-20 13:43:01,926 - INFO - Initial checks done. Running the testcase now 2025-11-20 13:43:01,927 - INFO - 2025-11-20 13:43:02,768 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-72181060 2025-11-20 13:43:02,872 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-72181060 2025-11-20 13:43:03,222 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72181060', 'default']} 2025-11-20 13:43:03,656 - DEBUG - Response for create_network : {'network': {'id': '2b902bd4-7f4d-4ef6-90a2-40c75338d1c2', 'name': 'ctest-vn-26125323', 'tenant_id': 'c2179bc8188d489ea253b84f9a02066a', 'project_id': 'c2179bc8188d489ea253b84f9a02066a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72181060', 'ctest-vn-26125323'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:43:03,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '59727f73-5571-49b8-a3b5-abc2ab8726ea', 'name': '', 'tenant_id': 'c2179bc8188d489ea253b84f9a02066a', 'network_id': '2b902bd4-7f4d-4ef6-90a2-40c75338d1c2', 'ip_version': 4, 'cidr': '146.169.71.192/26', 'allocation_pools': [{'start': '146.169.71.194', 'end': '146.169.71.254'}], 'gateway_ip': '146.169.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.169.71.194', 'tags': [], 'project_id': 'c2179bc8188d489ea253b84f9a02066a'}} 2025-11-20 13:43:03,898 - INFO - Created VN ctest-vn-26125323 2025-11-20 13:43:03,963 - DEBUG - VN ctest-vn-26125323 UUID is 2b902bd4-7f4d-4ef6-90a2-40c75338d1c2 2025-11-20 13:43:04,317 - DEBUG - Response for create_network : {'network': {'id': '97c9d9c4-9213-421c-866a-509f1b0239c2', 'name': 'ctest-ext_vn-54483927', 'tenant_id': 'c2179bc8188d489ea253b84f9a02066a', 'project_id': 'c2179bc8188d489ea253b84f9a02066a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-72181060', 'ctest-ext_vn-54483927'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 13:43:04,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c50dcc34-a248-4e34-8cc4-98e6cd0ab0c9', 'name': '', 'tenant_id': 'c2179bc8188d489ea253b84f9a02066a', 'network_id': '97c9d9c4-9213-421c-866a-509f1b0239c2', 'ip_version': 4, 'cidr': '215.245.102.0/26', 'allocation_pools': [{'start': '215.245.102.2', 'end': '215.245.102.62'}], 'gateway_ip': '215.245.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.245.102.2', 'tags': [], 'project_id': 'c2179bc8188d489ea253b84f9a02066a'}} 2025-11-20 13:43:04,571 - INFO - Created VN ctest-ext_vn-54483927 2025-11-20 13:43:04,627 - DEBUG - VN ctest-ext_vn-54483927 UUID is 97c9d9c4-9213-421c-866a-509f1b0239c2 2025-11-20 13:43:04,853 - DEBUG - Services list from nova: [, , ] 2025-11-20 13:43:06,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1) 2025-11-20 13:43:07,380 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4774-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4774-1) 2025-11-20 13:43:07,485 - INFO - Setting gateway for router 645b5c47-583f-4176-a95b-5e8e663f6b98 to network 97c9d9c4-9213-421c-866a-509f1b0239c2 2025-11-20 13:43:07,559 - INFO - Adding interface with subnet_id 59727f73-5571-49b8-a3b5-abc2ab8726ea, port_id None to router 645b5c47-583f-4176-a95b-5e8e663f6b98 2025-11-20 13:43:07,881 - INFO - Waiting for VM ctest-TestRoutersBasic-72181060-01448407 to be up.. 2025-11-20 13:43:08,056 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 13:43:13,198 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:43:13,198 - INFO - VM name : ctest-TestRoutersBasic-72181060-01448407 2025-11-20 13:43:13,324 - DEBUG - VM ctest-TestRoutersBasic-72181060-01448407 ID is 7636321d-2ce1-47ae-9be6-a7161653de8b 2025-11-20 13:43:13,354 - DEBUG - VM ctest-TestRoutersBasic-72181060-01448407 launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1 2025-11-20 13:43:13,501 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7636321d-2ce1-47ae-9be6-a7161653de8b 2025-11-20 13:43:13,827 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/7636321d-2ce1-47ae-9be6-a7161653de8b 2025-11-20 13:43:13,884 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e79872b6-b01e-45b0-8d06-8ea07bcc85cd 2025-11-20 13:43:17,198 - 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 1025ms') 2025-11-20 13:43:17,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72181060-01448407 failed! 2025-11-20 13:43:17,263 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-72181060:ctest-vn-26125323 is 146.169.71.193 and allocation pool is NOT set 2025-11-20 13:43:19,336 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.631 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.631/1.883/3.135/1.252 ms') 2025-11-20 13:43:19,336 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-72181060-01448407 passed 2025-11-20 13:43:19,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:43:19,503 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72181060-01448407, IP 146.169.71.195, Port 22 2025-11-20 13:43:19,696 - DEBUG - VM ctest-TestRoutersBasic-72181060-01448407 is ready for SSH connections 2025-11-20 13:43:19,696 - INFO - Waiting for VM ctest-TestRoutersBasic-72181060-50887643 to be up.. 2025-11-20 13:43:19,819 - DEBUG - VM is in ACTIVE state now 2025-11-20 13:43:19,819 - INFO - VM name : ctest-TestRoutersBasic-72181060-50887643 2025-11-20 13:43:19,948 - DEBUG - VM ctest-TestRoutersBasic-72181060-50887643 ID is 324d64cc-56cb-4bb9-aaa9-40f14c1d946a 2025-11-20 13:43:19,948 - DEBUG - VM ctest-TestRoutersBasic-72181060-50887643 launched on Node cn-jenkins-deploy-platform-ansible-os-4774-1 2025-11-20 13:43:20,070 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/324d64cc-56cb-4bb9-aaa9-40f14c1d946a 2025-11-20 13:43:20,083 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/1b308230-3dbd-4b34-8cb4-3db54b86ec14 2025-11-20 13:43:21,341 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.576 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.576/2.075/3.575/1.499 ms') 2025-11-20 13:43:21,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-72181060-50887643 passed 2025-11-20 13:43:21,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:43:21,524 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-72181060-50887643, IP 215.245.102.3, Port 22 2025-11-20 13:43:21,728 - DEBUG - VM ctest-TestRoutersBasic-72181060-50887643 is ready for SSH connections 2025-11-20 13:43:21,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 13:43:21,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.245.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-11-20 13:43:21,728 - DEBUG - ping -s 56 -c 3 -W 1 215.245.102.3 2025-11-20 13:43:25,882 - DEBUG - PING 215.245.102.3 (215.245.102.3): 56 data bytes 64 bytes from 215.245.102.3: seq=0 ttl=62 time=7.022 ms 64 bytes from 215.245.102.3: seq=1 ttl=62 time=1.893 ms 64 bytes from 215.245.102.3: seq=2 ttl=62 time=0.969 ms --- 215.245.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/3.294/7.022 ms 2025-11-20 13:43:25,882 - INFO - Ping to IP 215.245.102.3 from VM ctest-TestRoutersBasic-72181060-01448407 passed 2025-11-20 13:43:25,883 - INFO - Deleting interface with subnet_id 59727f73-5571-49b8-a3b5-abc2ab8726ea, port_id None from router 645b5c47-583f-4176-a95b-5e8e663f6b98 2025-11-20 13:43:26,141 - INFO - Deleting VM ctest-TestRoutersBasic-72181060-50887643 2025-11-20 13:43:26,239 - INFO - Deleting VM ctest-TestRoutersBasic-72181060-01448407 2025-11-20 13:43:26,317 - INFO - Deleting VN ctest-ext_vn-54483927 2025-11-20 13:43:26,402 - DEBUG - VN 97c9d9c4-9213-421c-866a-509f1b0239c2 still in use: Unable to complete operation on network 97c9d9c4-9213-421c-866a-509f1b0239c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa485792-ef48-4c42-97f2-c36866a364e8'] 2025-11-20 13:43:26,402 - WARNING - Deleting VN ctest-ext_vn-54483927 failed..Will retry 2025-11-20 13:43:28,560 - DEBUG - Response for deleting network () 2025-11-20 13:43:28,560 - INFO - Deleting VN ctest-vn-26125323 2025-11-20 13:43:28,683 - DEBUG - Response for deleting network () 2025-11-20 13:43:28,967 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 13:43:28,968 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-11-20 13:43:28,968 - INFO - -------------------------------------------------------------------------------- 2025-11-20 13:43:29,838 - INFO - Deleted project: ctest-TestRoutersBasic-72181060, ID : c2179bc8-188d-489e-a253-b84f9a02066a