2025-10-23 02:05:30,112 - INFO - Domain Default found not creating 2025-10-23 02:05:30,259 - INFO - Project ctest-TestRoutersBasic-71392088 not found, creating it 2025-10-23 02:05:30,723 - INFO - Created Project:ctest-TestRoutersBasic-71392088, ID : f8fbc240-7794-4ec4-a2d1-2975c67e2e51 2025-10-23 02:05:32,253 - INFO - ================================================================================ 2025-10-23 02:05:32,253 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-23 02:05:32,253 - 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-23 02:05:32,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.249': '0'}} with 2025-10-23 02:05:32,507 - INFO - Initial checks done. Running the testcase now 2025-10-23 02:05:32,507 - INFO - 2025-10-23 02:05:33,278 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71392088 2025-10-23 02:05:33,374 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71392088 2025-10-23 02:05:33,702 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71392088', 'default']} 2025-10-23 02:05:33,984 - DEBUG - Response for create_network : {'network': {'id': '8a85fa01-5686-44f0-8f97-d3cd1cb9ec63', 'name': 'ctest-vn-67846022', 'tenant_id': 'f8fbc24077944ec4a2d12975c67e2e51', 'project_id': 'f8fbc24077944ec4a2d12975c67e2e51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71392088', 'ctest-vn-67846022'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:05:34,175 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f6d7dfc7-9eb4-4bea-a1e2-26b13b2a6f63', 'name': '', 'tenant_id': 'f8fbc24077944ec4a2d12975c67e2e51', 'network_id': '8a85fa01-5686-44f0-8f97-d3cd1cb9ec63', 'ip_version': 4, 'cidr': '13.129.201.0/26', 'allocation_pools': [{'start': '13.129.201.2', 'end': '13.129.201.62'}], 'gateway_ip': '13.129.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.129.201.2', 'tags': [], 'project_id': 'f8fbc24077944ec4a2d12975c67e2e51'}} 2025-10-23 02:05:34,191 - INFO - Created VN ctest-vn-67846022 2025-10-23 02:05:34,242 - DEBUG - VN ctest-vn-67846022 UUID is 8a85fa01-5686-44f0-8f97-d3cd1cb9ec63 2025-10-23 02:05:34,541 - DEBUG - Response for create_network : {'network': {'id': '58d4c33a-ea84-452c-9593-6a32df4ac8d4', 'name': 'ctest-ext_vn-00406671', 'tenant_id': 'f8fbc24077944ec4a2d12975c67e2e51', 'project_id': 'f8fbc24077944ec4a2d12975c67e2e51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71392088', 'ctest-ext_vn-00406671'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 02:05:34,722 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f82c77c5-4c46-4cc7-a8af-4de51e071069', 'name': '', 'tenant_id': 'f8fbc24077944ec4a2d12975c67e2e51', 'network_id': '58d4c33a-ea84-452c-9593-6a32df4ac8d4', 'ip_version': 4, 'cidr': '113.175.190.64/26', 'allocation_pools': [{'start': '113.175.190.66', 'end': '113.175.190.126'}], 'gateway_ip': '113.175.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.175.190.66', 'tags': [], 'project_id': 'f8fbc24077944ec4a2d12975c67e2e51'}} 2025-10-23 02:05:34,739 - INFO - Created VN ctest-ext_vn-00406671 2025-10-23 02:05:34,790 - DEBUG - VN ctest-ext_vn-00406671 UUID is 58d4c33a-ea84-452c-9593-6a32df4ac8d4 2025-10-23 02:05:34,994 - DEBUG - Services list from nova: [, , ] 2025-10-23 02:05:36,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4449-1) 2025-10-23 02:05:37,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4449-1) 2025-10-23 02:05:37,336 - INFO - Setting gateway for router 9d67ba1c-0c93-4ab8-91ee-d7d9d46690f4 to network 58d4c33a-ea84-452c-9593-6a32df4ac8d4 2025-10-23 02:05:37,390 - INFO - Adding interface with subnet_id f6d7dfc7-9eb4-4bea-a1e2-26b13b2a6f63, port_id None to router 9d67ba1c-0c93-4ab8-91ee-d7d9d46690f4 2025-10-23 02:05:37,812 - INFO - Waiting for VM ctest-TestRoutersBasic-71392088-02816425 to be up.. 2025-10-23 02:05:37,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 02:05:43,056 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:05:43,056 - INFO - VM name : ctest-TestRoutersBasic-71392088-02816425 2025-10-23 02:05:43,126 - DEBUG - VM ctest-TestRoutersBasic-71392088-02816425 ID is 16400280-259a-43c6-b8af-ce8fb08b25a4 2025-10-23 02:05:43,146 - DEBUG - VM ctest-TestRoutersBasic-71392088-02816425 launched on Node cn-jenkins-deploy-platform-ansible-os-4449-1 2025-10-23 02:05:43,215 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/16400280-259a-43c6-b8af-ce8fb08b25a4 2025-10-23 02:05:43,548 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/16400280-259a-43c6-b8af-ce8fb08b25a4 2025-10-23 02:05:43,579 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/f5871f6b-e8ad-4d5f-b828-cb2b2f1cb17b 2025-10-23 02:05:46,821 - 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 1007ms') 2025-10-23 02:05:46,821 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71392088-02816425 failed! 2025-10-23 02:05:46,874 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71392088:ctest-vn-67846022 is 13.129.201.1 and allocation pool is NOT set 2025-10-23 02:05:48,944 - 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=4.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.56 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 = 1.558/3.035/4.513/1.477 ms') 2025-10-23 02:05:48,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71392088-02816425 passed 2025-10-23 02:05:49,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:05:49,094 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71392088-02816425, IP 13.129.201.3, Port 22 2025-10-23 02:05:49,268 - DEBUG - VM ctest-TestRoutersBasic-71392088-02816425 is ready for SSH connections 2025-10-23 02:05:49,268 - INFO - Waiting for VM ctest-TestRoutersBasic-71392088-88376991 to be up.. 2025-10-23 02:05:49,357 - DEBUG - VM is in ACTIVE state now 2025-10-23 02:05:49,357 - INFO - VM name : ctest-TestRoutersBasic-71392088-88376991 2025-10-23 02:05:49,444 - DEBUG - VM ctest-TestRoutersBasic-71392088-88376991 ID is 1837fd99-8d53-4750-bad4-61acffb25f63 2025-10-23 02:05:49,444 - DEBUG - VM ctest-TestRoutersBasic-71392088-88376991 launched on Node cn-jenkins-deploy-platform-ansible-os-4449-1 2025-10-23 02:05:49,526 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1837fd99-8d53-4750-bad4-61acffb25f63 2025-10-23 02:05:49,539 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d08cb46d-7c6a-4f19-bf79-2979440b670c 2025-10-23 02:05:50,783 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.892/3.373/1.480 ms') 2025-10-23 02:05:50,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71392088-88376991 passed 2025-10-23 02:05:50,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:05:50,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71392088-88376991, IP 113.175.190.67, Port 22 2025-10-23 02:05:51,086 - DEBUG - VM ctest-TestRoutersBasic-71392088-88376991 is ready for SSH connections 2025-10-23 02:05:51,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 02:05:51,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.175.190.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-23 02:05:51,086 - DEBUG - ping -s 56 -c 3 -W 1 113.175.190.67 2025-10-23 02:05:54,813 - DEBUG - PING 113.175.190.67 (113.175.190.67): 56 data bytes 64 bytes from 113.175.190.67: seq=0 ttl=62 time=7.206 ms 64 bytes from 113.175.190.67: seq=1 ttl=62 time=0.804 ms 64 bytes from 113.175.190.67: seq=2 ttl=62 time=0.831 ms --- 113.175.190.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.804/2.947/7.206 ms 2025-10-23 02:05:54,813 - INFO - Ping to IP 113.175.190.67 from VM ctest-TestRoutersBasic-71392088-02816425 passed 2025-10-23 02:05:54,813 - INFO - Deleting interface with subnet_id f6d7dfc7-9eb4-4bea-a1e2-26b13b2a6f63, port_id None from router 9d67ba1c-0c93-4ab8-91ee-d7d9d46690f4 2025-10-23 02:05:54,990 - INFO - Deleting VM ctest-TestRoutersBasic-71392088-88376991 2025-10-23 02:05:55,054 - INFO - Deleting VM ctest-TestRoutersBasic-71392088-02816425 2025-10-23 02:05:55,136 - INFO - Deleting VN ctest-ext_vn-00406671 2025-10-23 02:05:55,201 - DEBUG - VN 58d4c33a-ea84-452c-9593-6a32df4ac8d4 still in use: Unable to complete operation on network 58d4c33a-ea84-452c-9593-6a32df4ac8d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e26dc79-3fce-4bd8-ae77-a8efee2349e7'] 2025-10-23 02:05:55,201 - WARNING - Deleting VN ctest-ext_vn-00406671 failed..Will retry 2025-10-23 02:05:57,302 - DEBUG - Response for deleting network () 2025-10-23 02:05:57,302 - INFO - Deleting VN ctest-vn-67846022 2025-10-23 02:05:57,413 - DEBUG - Response for deleting network () 2025-10-23 02:05:57,666 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 02:05:57,666 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-23 02:05:57,666 - INFO - -------------------------------------------------------------------------------- 2025-10-23 02:05:58,572 - INFO - Deleted project: ctest-TestRoutersBasic-71392088, ID : f8fbc240-7794-4ec4-a2d1-2975c67e2e51