2025-12-18 02:11:06,167 - INFO - Domain Default found not creating 2025-12-18 02:11:06,399 - INFO - Project ctest-TestRoutersBasic-64747157 not found, creating it 2025-12-18 02:11:06,949 - INFO - Created Project:ctest-TestRoutersBasic-64747157, ID : e5d173ac-26ad-4ef9-9ff0-634b675042b3 2025-12-18 02:11:08,685 - INFO - ================================================================================ 2025-12-18 02:11:08,685 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-18 02:11:08,685 - 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-12-18 02:11:08,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with 2025-12-18 02:11:08,964 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:11:08,964 - INFO - 2025-12-18 02:11:09,737 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64747157 2025-12-18 02:11:09,837 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64747157 2025-12-18 02:11:10,173 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64747157', 'default']} 2025-12-18 02:11:10,508 - DEBUG - Response for create_network : {'network': {'id': 'f9d852e5-5e3d-45a6-a547-b26d0d38e35c', 'name': 'ctest-vn-96930597', 'tenant_id': 'e5d173ac26ad4ef99ff0634b675042b3', 'project_id': 'e5d173ac26ad4ef99ff0634b675042b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64747157', 'ctest-vn-96930597'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:11:10,686 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f56c6f7-48a1-4499-96ba-7f824b11578f', 'name': '', 'tenant_id': 'e5d173ac26ad4ef99ff0634b675042b3', 'network_id': 'f9d852e5-5e3d-45a6-a547-b26d0d38e35c', 'ip_version': 4, 'cidr': '220.24.89.64/26', 'allocation_pools': [{'start': '220.24.89.66', 'end': '220.24.89.126'}], 'gateway_ip': '220.24.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.24.89.66', 'tags': [], 'project_id': 'e5d173ac26ad4ef99ff0634b675042b3'}} 2025-12-18 02:11:10,708 - INFO - Created VN ctest-vn-96930597 2025-12-18 02:11:10,761 - DEBUG - VN ctest-vn-96930597 UUID is f9d852e5-5e3d-45a6-a547-b26d0d38e35c 2025-12-18 02:11:11,127 - DEBUG - Response for create_network : {'network': {'id': 'd1cdd6d2-7cb4-48b0-99b5-4aef5c0fa7dc', 'name': 'ctest-ext_vn-02336187', 'tenant_id': 'e5d173ac26ad4ef99ff0634b675042b3', 'project_id': 'e5d173ac26ad4ef99ff0634b675042b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64747157', 'ctest-ext_vn-02336187'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:11:11,355 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd247f87d-97eb-44e6-8860-c2c4cefc76c8', 'name': '', 'tenant_id': 'e5d173ac26ad4ef99ff0634b675042b3', 'network_id': 'd1cdd6d2-7cb4-48b0-99b5-4aef5c0fa7dc', 'ip_version': 4, 'cidr': '125.224.167.0/26', 'allocation_pools': [{'start': '125.224.167.2', 'end': '125.224.167.62'}], 'gateway_ip': '125.224.167.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.224.167.2', 'tags': [], 'project_id': 'e5d173ac26ad4ef99ff0634b675042b3'}} 2025-12-18 02:11:11,376 - INFO - Created VN ctest-ext_vn-02336187 2025-12-18 02:11:11,433 - DEBUG - VN ctest-ext_vn-02336187 UUID is d1cdd6d2-7cb4-48b0-99b5-4aef5c0fa7dc 2025-12-18 02:11:11,643 - DEBUG - Services list from nova: [, , ] 2025-12-18 02:11:12,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4899-1) 2025-12-18 02:11:14,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4899-1) 2025-12-18 02:11:14,270 - INFO - Setting gateway for router 6d1c80e3-6f65-4147-9e12-b0e2c55727aa to network d1cdd6d2-7cb4-48b0-99b5-4aef5c0fa7dc 2025-12-18 02:11:14,379 - INFO - Adding interface with subnet_id 9f56c6f7-48a1-4499-96ba-7f824b11578f, port_id None to router 6d1c80e3-6f65-4147-9e12-b0e2c55727aa 2025-12-18 02:11:14,804 - INFO - Waiting for VM ctest-TestRoutersBasic-64747157-71024449 to be up.. 2025-12-18 02:11:14,994 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:11:20,094 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:11:20,094 - INFO - VM name : ctest-TestRoutersBasic-64747157-71024449 2025-12-18 02:11:20,199 - DEBUG - VM ctest-TestRoutersBasic-64747157-71024449 ID is f8fe74f6-4b7f-4c56-9642-d033ee18cf33 2025-12-18 02:11:20,224 - DEBUG - VM ctest-TestRoutersBasic-64747157-71024449 launched on Node cn-jenkins-deploy-platform-ansible-os-4899-1 2025-12-18 02:11:20,316 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f8fe74f6-4b7f-4c56-9642-d033ee18cf33 2025-12-18 02:11:20,623 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f8fe74f6-4b7f-4c56-9642-d033ee18cf33 2025-12-18 02:11:20,668 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/98b0629e-767e-4a61-9f03-a2a693a530a4 2025-12-18 02:11:23,924 - 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 1004ms') 2025-12-18 02:11:23,925 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64747157-71024449 failed! 2025-12-18 02:11:23,989 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64747157:ctest-vn-96930597 is 220.24.89.65 and allocation pool is NOT set 2025-12-18 02:11:26,062 - 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=10.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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.923/6.354/10.786/4.431 ms') 2025-12-18 02:11:26,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64747157-71024449 passed 2025-12-18 02:11:26,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:11:26,230 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64747157-71024449, IP 220.24.89.67, Port 22 2025-12-18 02:11:26,403 - DEBUG - VM ctest-TestRoutersBasic-64747157-71024449 is ready for SSH connections 2025-12-18 02:11:26,404 - INFO - Waiting for VM ctest-TestRoutersBasic-64747157-26891501 to be up.. 2025-12-18 02:11:26,507 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:11:26,507 - INFO - VM name : ctest-TestRoutersBasic-64747157-26891501 2025-12-18 02:11:26,623 - DEBUG - VM ctest-TestRoutersBasic-64747157-26891501 ID is e6f5f460-8d88-4c66-be74-caaf5b74d4a5 2025-12-18 02:11:26,624 - DEBUG - VM ctest-TestRoutersBasic-64747157-26891501 launched on Node cn-jenkins-deploy-platform-ansible-os-4899-1 2025-12-18 02:11:26,737 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e6f5f460-8d88-4c66-be74-caaf5b74d4a5 2025-12-18 02:11:26,751 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/5630005d-9fa3-4a4c-93c5-114781603293 2025-12-18 02:11:28,014 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.655 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.655/2.146/3.637/1.491 ms') 2025-12-18 02:11:28,014 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64747157-26891501 passed 2025-12-18 02:11:28,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:11:28,169 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64747157-26891501, IP 125.224.167.3, Port 22 2025-12-18 02:11:28,339 - DEBUG - VM ctest-TestRoutersBasic-64747157-26891501 is ready for SSH connections 2025-12-18 02:11:28,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:11:28,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.224.167.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-18 02:11:28,339 - DEBUG - ping -s 56 -c 3 -W 1 125.224.167.3 2025-12-18 02:11:32,129 - DEBUG - PING 125.224.167.3 (125.224.167.3): 56 data bytes 64 bytes from 125.224.167.3: seq=0 ttl=62 time=7.183 ms 64 bytes from 125.224.167.3: seq=1 ttl=62 time=1.217 ms 64 bytes from 125.224.167.3: seq=2 ttl=62 time=1.223 ms --- 125.224.167.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.217/3.207/7.183 ms 2025-12-18 02:11:32,129 - INFO - Ping to IP 125.224.167.3 from VM ctest-TestRoutersBasic-64747157-71024449 passed 2025-12-18 02:11:32,130 - INFO - Deleting interface with subnet_id 9f56c6f7-48a1-4499-96ba-7f824b11578f, port_id None from router 6d1c80e3-6f65-4147-9e12-b0e2c55727aa 2025-12-18 02:11:32,387 - INFO - Deleting VM ctest-TestRoutersBasic-64747157-26891501 2025-12-18 02:11:32,467 - INFO - Deleting VM ctest-TestRoutersBasic-64747157-71024449 2025-12-18 02:11:32,562 - INFO - Deleting VN ctest-ext_vn-02336187 2025-12-18 02:11:32,676 - DEBUG - VN d1cdd6d2-7cb4-48b0-99b5-4aef5c0fa7dc still in use: Unable to complete operation on network d1cdd6d2-7cb4-48b0-99b5-4aef5c0fa7dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b990936e-7e7f-41f8-9d8e-72bdb2a856aa'] 2025-12-18 02:11:32,677 - WARNING - Deleting VN ctest-ext_vn-02336187 failed..Will retry 2025-12-18 02:11:34,819 - DEBUG - Response for deleting network () 2025-12-18 02:11:34,819 - INFO - Deleting VN ctest-vn-96930597 2025-12-18 02:11:34,980 - DEBUG - Response for deleting network () 2025-12-18 02:11:35,258 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 02:11:35,258 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-12-18 02:11:35,258 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:11:36,075 - INFO - Deleted project: ctest-TestRoutersBasic-64747157, ID : e5d173ac-26ad-4ef9-9ff0-634b675042b3