2025-11-24 18:28:58,391 - INFO - Domain Default found not creating 2025-11-24 18:28:58,549 - INFO - Project ctest-TestRoutersBasic-74439012 not found, creating it 2025-11-24 18:28:59,010 - INFO - Created Project:ctest-TestRoutersBasic-74439012, ID : 35b3a0d2-71d7-496a-9f08-ef8134863fea 2025-11-24 18:29:00,467 - INFO - ================================================================================ 2025-11-24 18:29:00,467 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 18:29:00,468 - 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-24 18:29:00,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-11-24 18:29:00,739 - INFO - Initial checks done. Running the testcase now 2025-11-24 18:29:00,739 - INFO - 2025-11-24 18:29:01,471 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-74439012 2025-11-24 18:29:01,566 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-74439012 2025-11-24 18:29:01,885 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74439012', 'default']} 2025-11-24 18:29:02,173 - DEBUG - Response for create_network : {'network': {'id': '2bd0f482-1182-4674-aed8-e365796fbacb', 'name': 'ctest-vn-84876241', 'tenant_id': '35b3a0d271d7496a9f08ef8134863fea', 'project_id': '35b3a0d271d7496a9f08ef8134863fea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74439012', 'ctest-vn-84876241'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:29:02,331 - DEBUG - Response for create_subnet : {'subnet': {'id': '08af196c-c401-4515-bbf3-6445972a492e', 'name': '', 'tenant_id': '35b3a0d271d7496a9f08ef8134863fea', 'network_id': '2bd0f482-1182-4674-aed8-e365796fbacb', 'ip_version': 4, 'cidr': '180.72.47.192/26', 'allocation_pools': [{'start': '180.72.47.194', 'end': '180.72.47.254'}], 'gateway_ip': '180.72.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.72.47.194', 'tags': [], 'project_id': '35b3a0d271d7496a9f08ef8134863fea'}} 2025-11-24 18:29:02,349 - INFO - Created VN ctest-vn-84876241 2025-11-24 18:29:02,398 - DEBUG - VN ctest-vn-84876241 UUID is 2bd0f482-1182-4674-aed8-e365796fbacb 2025-11-24 18:29:02,740 - DEBUG - Response for create_network : {'network': {'id': 'fdbab747-678a-4398-986a-e93251cd43b2', 'name': 'ctest-ext_vn-60195789', 'tenant_id': '35b3a0d271d7496a9f08ef8134863fea', 'project_id': '35b3a0d271d7496a9f08ef8134863fea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-74439012', 'ctest-ext_vn-60195789'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 18:29:02,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '879232ef-d027-4655-aacc-ee0f002bb1ee', 'name': '', 'tenant_id': '35b3a0d271d7496a9f08ef8134863fea', 'network_id': 'fdbab747-678a-4398-986a-e93251cd43b2', 'ip_version': 4, 'cidr': '108.8.159.0/26', 'allocation_pools': [{'start': '108.8.159.2', 'end': '108.8.159.62'}], 'gateway_ip': '108.8.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.8.159.2', 'tags': [], 'project_id': '35b3a0d271d7496a9f08ef8134863fea'}} 2025-11-24 18:29:02,963 - INFO - Created VN ctest-ext_vn-60195789 2025-11-24 18:29:03,014 - DEBUG - VN ctest-ext_vn-60195789 UUID is fdbab747-678a-4398-986a-e93251cd43b2 2025-11-24 18:29:03,213 - DEBUG - Services list from nova: [, , ] 2025-11-24 18:29:04,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4814-1) 2025-11-24 18:29:05,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4814-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4814-1) 2025-11-24 18:29:05,343 - INFO - Setting gateway for router 66df184c-6ccc-40b3-b9c6-e4f4cb6925bd to network fdbab747-678a-4398-986a-e93251cd43b2 2025-11-24 18:29:05,405 - INFO - Adding interface with subnet_id 08af196c-c401-4515-bbf3-6445972a492e, port_id None to router 66df184c-6ccc-40b3-b9c6-e4f4cb6925bd 2025-11-24 18:29:05,740 - INFO - Waiting for VM ctest-TestRoutersBasic-74439012-27522510 to be up.. 2025-11-24 18:29:05,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 18:29:10,932 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:29:10,932 - INFO - VM name : ctest-TestRoutersBasic-74439012-27522510 2025-11-24 18:29:11,003 - DEBUG - VM ctest-TestRoutersBasic-74439012-27522510 ID is d40960f1-2af2-458f-a598-ef3f892fb285 2025-11-24 18:29:11,030 - DEBUG - VM ctest-TestRoutersBasic-74439012-27522510 launched on Node cn-jenkins-deploy-platform-ansible-os-4814-1 2025-11-24 18:29:11,104 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d40960f1-2af2-458f-a598-ef3f892fb285 2025-11-24 18:29:11,397 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d40960f1-2af2-458f-a598-ef3f892fb285 2025-11-24 18:29:11,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5c118116-eee1-4033-9851-926fb961dc83 2025-11-24 18:29:14,675 - 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 1008ms') 2025-11-24 18:29:14,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74439012-27522510 failed! 2025-11-24 18:29:14,726 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-74439012:ctest-vn-84876241 is 180.72.47.193 and allocation pool is NOT set 2025-11-24 18:29:16,783 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.864/3.307/1.442 ms') 2025-11-24 18:29:16,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-74439012-27522510 passed 2025-11-24 18:29:16,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:29:16,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74439012-27522510, IP 180.72.47.195, Port 22 2025-11-24 18:29:17,089 - DEBUG - VM ctest-TestRoutersBasic-74439012-27522510 is ready for SSH connections 2025-11-24 18:29:17,089 - INFO - Waiting for VM ctest-TestRoutersBasic-74439012-91881538 to be up.. 2025-11-24 18:29:17,161 - DEBUG - VM is in ACTIVE state now 2025-11-24 18:29:17,161 - INFO - VM name : ctest-TestRoutersBasic-74439012-91881538 2025-11-24 18:29:17,225 - DEBUG - VM ctest-TestRoutersBasic-74439012-91881538 ID is 0fd09325-5374-4946-b86c-6e23490cfffd 2025-11-24 18:29:17,225 - DEBUG - VM ctest-TestRoutersBasic-74439012-91881538 launched on Node cn-jenkins-deploy-platform-ansible-os-4814-1 2025-11-24 18:29:17,289 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0fd09325-5374-4946-b86c-6e23490cfffd 2025-11-24 18:29:17,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/74104543-d978-45d1-acce-5a4314cf3011 2025-11-24 18:29:18,531 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.603 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.603/1.944/3.286/1.341 ms') 2025-11-24 18:29:18,531 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-74439012-91881538 passed 2025-11-24 18:29:18,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:29:18,678 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-74439012-91881538, IP 108.8.159.3, Port 22 2025-11-24 18:29:18,833 - DEBUG - VM ctest-TestRoutersBasic-74439012-91881538 is ready for SSH connections 2025-11-24 18:29:18,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 18:29:18,834 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.8.159.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 18:29:18,834 - DEBUG - ping -s 56 -c 3 -W 1 108.8.159.3 2025-11-24 18:29:22,528 - DEBUG - PING 108.8.159.3 (108.8.159.3): 56 data bytes 64 bytes from 108.8.159.3: seq=0 ttl=62 time=6.149 ms 64 bytes from 108.8.159.3: seq=1 ttl=62 time=0.908 ms 64 bytes from 108.8.159.3: seq=2 ttl=62 time=0.840 ms --- 108.8.159.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/2.632/6.149 ms 2025-11-24 18:29:22,528 - INFO - Ping to IP 108.8.159.3 from VM ctest-TestRoutersBasic-74439012-27522510 passed 2025-11-24 18:29:22,528 - INFO - Deleting interface with subnet_id 08af196c-c401-4515-bbf3-6445972a492e, port_id None from router 66df184c-6ccc-40b3-b9c6-e4f4cb6925bd 2025-11-24 18:29:22,718 - INFO - Deleting VM ctest-TestRoutersBasic-74439012-91881538 2025-11-24 18:29:22,819 - INFO - Deleting VM ctest-TestRoutersBasic-74439012-27522510 2025-11-24 18:29:22,903 - INFO - Deleting VN ctest-ext_vn-60195789 2025-11-24 18:29:22,977 - DEBUG - VN fdbab747-678a-4398-986a-e93251cd43b2 still in use: Unable to complete operation on network fdbab747-678a-4398-986a-e93251cd43b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-baedc6e9-f89e-451a-81e1-8a6081c10a76'] 2025-11-24 18:29:22,977 - WARNING - Deleting VN ctest-ext_vn-60195789 failed..Will retry 2025-11-24 18:29:25,073 - DEBUG - Response for deleting network () 2025-11-24 18:29:25,073 - INFO - Deleting VN ctest-vn-84876241 2025-11-24 18:29:25,159 - DEBUG - Response for deleting network () 2025-11-24 18:29:25,414 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 18:29:25,414 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-24 18:29:25,414 - INFO - -------------------------------------------------------------------------------- 2025-11-24 18:29:26,117 - INFO - Deleted project: ctest-TestRoutersBasic-74439012, ID : 35b3a0d2-71d7-496a-9f08-ef8134863fea