2025-10-30 14:41:16,147 - INFO - Domain Default found not creating 2025-10-30 14:41:16,292 - INFO - Project ctest-TestRoutersBasic-35972934 not found, creating it 2025-10-30 14:41:16,759 - INFO - Created Project:ctest-TestRoutersBasic-35972934, ID : 072b1749-5bb7-40a6-9545-16d47d5636ab 2025-10-30 14:41:18,212 - INFO - ================================================================================ 2025-10-30 14:41:18,213 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 14:41:18,213 - 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-30 14:41:18,465 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-30 14:41:18,466 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:41:18,466 - INFO - 2025-10-30 14:41:19,189 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35972934 2025-10-30 14:41:19,288 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35972934 2025-10-30 14:41:19,616 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35972934', 'default']} 2025-10-30 14:41:19,911 - DEBUG - Response for create_network : {'network': {'id': '0eacb3b8-8666-4bba-bcda-e76d862a3fe9', 'name': 'ctest-vn-23305163', 'tenant_id': '072b17495bb740a6954516d47d5636ab', 'project_id': '072b17495bb740a6954516d47d5636ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35972934', 'ctest-vn-23305163'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:41:20,117 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ced3f77d-8f88-4d82-a34c-2d1e1bf24b78', 'name': '', 'tenant_id': '072b17495bb740a6954516d47d5636ab', 'network_id': '0eacb3b8-8666-4bba-bcda-e76d862a3fe9', 'ip_version': 4, 'cidr': '47.86.74.128/26', 'allocation_pools': [{'start': '47.86.74.130', 'end': '47.86.74.190'}], 'gateway_ip': '47.86.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.86.74.130', 'tags': [], 'project_id': '072b17495bb740a6954516d47d5636ab'}} 2025-10-30 14:41:20,134 - INFO - Created VN ctest-vn-23305163 2025-10-30 14:41:20,184 - DEBUG - VN ctest-vn-23305163 UUID is 0eacb3b8-8666-4bba-bcda-e76d862a3fe9 2025-10-30 14:41:20,480 - DEBUG - Response for create_network : {'network': {'id': 'a00050a5-cc67-4c54-a254-127ab959f779', 'name': 'ctest-ext_vn-94376590', 'tenant_id': '072b17495bb740a6954516d47d5636ab', 'project_id': '072b17495bb740a6954516d47d5636ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35972934', 'ctest-ext_vn-94376590'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:41:20,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1829fc3-b364-4a5f-8bb9-2a0d60cc4852', 'name': '', 'tenant_id': '072b17495bb740a6954516d47d5636ab', 'network_id': 'a00050a5-cc67-4c54-a254-127ab959f779', 'ip_version': 4, 'cidr': '108.136.52.192/26', 'allocation_pools': [{'start': '108.136.52.194', 'end': '108.136.52.254'}], 'gateway_ip': '108.136.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.136.52.194', 'tags': [], 'project_id': '072b17495bb740a6954516d47d5636ab'}} 2025-10-30 14:41:20,660 - INFO - Created VN ctest-ext_vn-94376590 2025-10-30 14:41:20,712 - DEBUG - VN ctest-ext_vn-94376590 UUID is a00050a5-cc67-4c54-a254-127ab959f779 2025-10-30 14:41:20,878 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:41:21,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4545-1) 2025-10-30 14:41:23,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4545-1) 2025-10-30 14:41:23,137 - INFO - Setting gateway for router 0613b657-d3eb-4539-87d8-41ace4033fd9 to network a00050a5-cc67-4c54-a254-127ab959f779 2025-10-30 14:41:23,197 - INFO - Adding interface with subnet_id ced3f77d-8f88-4d82-a34c-2d1e1bf24b78, port_id None to router 0613b657-d3eb-4539-87d8-41ace4033fd9 2025-10-30 14:41:23,530 - INFO - Waiting for VM ctest-TestRoutersBasic-35972934-13047647 to be up.. 2025-10-30 14:41:23,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:41:28,819 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:41:28,819 - INFO - VM name : ctest-TestRoutersBasic-35972934-13047647 2025-10-30 14:41:28,902 - DEBUG - VM ctest-TestRoutersBasic-35972934-13047647 ID is 281fcf4b-2ae2-4119-a22b-db67602a3c25 2025-10-30 14:41:28,922 - DEBUG - VM ctest-TestRoutersBasic-35972934-13047647 launched on Node cn-jenkins-deploy-platform-ansible-os-4545-1 2025-10-30 14:41:28,995 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/281fcf4b-2ae2-4119-a22b-db67602a3c25 2025-10-30 14:41:29,294 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/281fcf4b-2ae2-4119-a22b-db67602a3c25 2025-10-30 14:41:29,325 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/01812fbf-08d4-4b33-9618-6231842b9e80 2025-10-30 14:41:32,560 - 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 1006ms') 2025-10-30 14:41:32,560 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35972934-13047647 failed! 2025-10-30 14:41:32,616 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35972934:ctest-vn-23305163 is 47.86.74.129 and allocation pool is NOT set 2025-10-30 14:41:34,674 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.859 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.859/2.493/4.128/1.634 ms') 2025-10-30 14:41:34,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35972934-13047647 passed 2025-10-30 14:41:34,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:41:34,781 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35972934-13047647, IP 47.86.74.131, Port 22 2025-10-30 14:41:34,939 - DEBUG - VM ctest-TestRoutersBasic-35972934-13047647 is ready for SSH connections 2025-10-30 14:41:34,940 - INFO - Waiting for VM ctest-TestRoutersBasic-35972934-46510211 to be up.. 2025-10-30 14:41:35,018 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:41:35,019 - INFO - VM name : ctest-TestRoutersBasic-35972934-46510211 2025-10-30 14:41:35,086 - DEBUG - VM ctest-TestRoutersBasic-35972934-46510211 ID is 1ba11269-58e7-4005-b7bd-1bb3119b323a 2025-10-30 14:41:35,086 - DEBUG - VM ctest-TestRoutersBasic-35972934-46510211 launched on Node cn-jenkins-deploy-platform-ansible-os-4545-1 2025-10-30 14:41:35,161 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1ba11269-58e7-4005-b7bd-1bb3119b323a 2025-10-30 14:41:35,169 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bfbc0c4f-ccc1-4820-a9b9-19618c84b390 2025-10-30 14:41:36,401 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.426/1.678/2.931/1.252 ms') 2025-10-30 14:41:36,401 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35972934-46510211 passed 2025-10-30 14:41:36,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:41:36,548 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35972934-46510211, IP 108.136.52.195, Port 22 2025-10-30 14:41:36,704 - DEBUG - VM ctest-TestRoutersBasic-35972934-46510211 is ready for SSH connections 2025-10-30 14:41:36,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:41:36,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.136.52.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 14:41:36,704 - DEBUG - ping -s 56 -c 3 -W 1 108.136.52.195 2025-10-30 14:41:40,419 - DEBUG - PING 108.136.52.195 (108.136.52.195): 56 data bytes 64 bytes from 108.136.52.195: seq=0 ttl=62 time=7.082 ms 64 bytes from 108.136.52.195: seq=1 ttl=62 time=0.987 ms 64 bytes from 108.136.52.195: seq=2 ttl=62 time=1.191 ms --- 108.136.52.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/3.086/7.082 ms 2025-10-30 14:41:40,419 - INFO - Ping to IP 108.136.52.195 from VM ctest-TestRoutersBasic-35972934-13047647 passed 2025-10-30 14:41:40,419 - INFO - Deleting interface with subnet_id ced3f77d-8f88-4d82-a34c-2d1e1bf24b78, port_id None from router 0613b657-d3eb-4539-87d8-41ace4033fd9 2025-10-30 14:41:40,605 - INFO - Deleting VM ctest-TestRoutersBasic-35972934-46510211 2025-10-30 14:41:40,680 - INFO - Deleting VM ctest-TestRoutersBasic-35972934-13047647 2025-10-30 14:41:40,762 - INFO - Deleting VN ctest-ext_vn-94376590 2025-10-30 14:41:40,834 - DEBUG - VN a00050a5-cc67-4c54-a254-127ab959f779 still in use: Unable to complete operation on network a00050a5-cc67-4c54-a254-127ab959f779. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3da8efd-8a86-49a7-937c-4db617bd801a'] 2025-10-30 14:41:40,834 - WARNING - Deleting VN ctest-ext_vn-94376590 failed..Will retry 2025-10-30 14:41:42,933 - DEBUG - Response for deleting network () 2025-10-30 14:41:42,933 - INFO - Deleting VN ctest-vn-23305163 2025-10-30 14:41:43,025 - DEBUG - Response for deleting network () 2025-10-30 14:41:43,285 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 14:41:43,285 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-30 14:41:43,285 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:41:43,979 - INFO - Deleted project: ctest-TestRoutersBasic-35972934, ID : 072b1749-5bb7-40a6-9545-16d47d5636ab