2025-10-16 02:11:18,244 - INFO - Domain Default found not creating 2025-10-16 02:11:18,381 - INFO - Project ctest-TestRoutersBasic-53413219 not found, creating it 2025-10-16 02:11:18,876 - INFO - Created Project:ctest-TestRoutersBasic-53413219, ID : 8951f3f7-605e-49eb-baca-08b3725b6c13 2025-10-16 02:11:20,291 - INFO - ================================================================================ 2025-10-16 02:11:20,291 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-16 02:11:20,291 - 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-16 02:11:20,552 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.249': '0'}} with 2025-10-16 02:11:20,552 - INFO - Initial checks done. Running the testcase now 2025-10-16 02:11:20,552 - INFO - 2025-10-16 02:11:21,268 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-53413219 2025-10-16 02:11:21,362 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-53413219 2025-10-16 02:11:21,678 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53413219', 'default']} 2025-10-16 02:11:21,963 - DEBUG - Response for create_network : {'network': {'id': '83dc055d-fe59-4855-8f75-e4f47a3c28f2', 'name': 'ctest-vn-02249318', 'tenant_id': '8951f3f7605e49ebbaca08b3725b6c13', 'project_id': '8951f3f7605e49ebbaca08b3725b6c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53413219', 'ctest-vn-02249318'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:11:22,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '9f78f495-e956-43a2-833e-72136928311f', 'name': '', 'tenant_id': '8951f3f7605e49ebbaca08b3725b6c13', 'network_id': '83dc055d-fe59-4855-8f75-e4f47a3c28f2', 'ip_version': 4, 'cidr': '178.79.101.192/26', 'allocation_pools': [{'start': '178.79.101.194', 'end': '178.79.101.254'}], 'gateway_ip': '178.79.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.79.101.194', 'tags': [], 'project_id': '8951f3f7605e49ebbaca08b3725b6c13'}} 2025-10-16 02:11:22,133 - INFO - Created VN ctest-vn-02249318 2025-10-16 02:11:22,186 - DEBUG - VN ctest-vn-02249318 UUID is 83dc055d-fe59-4855-8f75-e4f47a3c28f2 2025-10-16 02:11:22,513 - DEBUG - Response for create_network : {'network': {'id': '16524821-67c4-46c8-ae0a-057612c845ee', 'name': 'ctest-ext_vn-55920047', 'tenant_id': '8951f3f7605e49ebbaca08b3725b6c13', 'project_id': '8951f3f7605e49ebbaca08b3725b6c13', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-53413219', 'ctest-ext_vn-55920047'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 02:11:22,675 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b465612a-b355-412d-b3c7-3cf375870126', 'name': '', 'tenant_id': '8951f3f7605e49ebbaca08b3725b6c13', 'network_id': '16524821-67c4-46c8-ae0a-057612c845ee', 'ip_version': 4, 'cidr': '46.214.134.128/26', 'allocation_pools': [{'start': '46.214.134.130', 'end': '46.214.134.190'}], 'gateway_ip': '46.214.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.214.134.130', 'tags': [], 'project_id': '8951f3f7605e49ebbaca08b3725b6c13'}} 2025-10-16 02:11:22,691 - INFO - Created VN ctest-ext_vn-55920047 2025-10-16 02:11:22,742 - DEBUG - VN ctest-ext_vn-55920047 UUID is 16524821-67c4-46c8-ae0a-057612c845ee 2025-10-16 02:11:22,945 - DEBUG - Services list from nova: [, , ] 2025-10-16 02:11:23,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:11:25,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4336-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4336-1) 2025-10-16 02:11:25,174 - INFO - Setting gateway for router e53480a4-a161-48a6-b0a6-9c7f3565318d to network 16524821-67c4-46c8-ae0a-057612c845ee 2025-10-16 02:11:25,229 - INFO - Adding interface with subnet_id 9f78f495-e956-43a2-833e-72136928311f, port_id None to router e53480a4-a161-48a6-b0a6-9c7f3565318d 2025-10-16 02:11:25,694 - INFO - Waiting for VM ctest-TestRoutersBasic-53413219-70627969 to be up.. 2025-10-16 02:11:25,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 02:11:30,926 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:11:30,926 - INFO - VM name : ctest-TestRoutersBasic-53413219-70627969 2025-10-16 02:11:31,000 - DEBUG - VM ctest-TestRoutersBasic-53413219-70627969 ID is fd102f4a-11b1-4785-9841-3d58b95da4ba 2025-10-16 02:11:31,019 - DEBUG - VM ctest-TestRoutersBasic-53413219-70627969 launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:11:31,099 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fd102f4a-11b1-4785-9841-3d58b95da4ba 2025-10-16 02:11:31,394 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fd102f4a-11b1-4785-9841-3d58b95da4ba 2025-10-16 02:11:31,423 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/aa284491-5848-437b-875f-eefed844d286 2025-10-16 02:11:34,663 - 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 1011ms') 2025-10-16 02:11:34,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53413219-70627969 failed! 2025-10-16 02:11:34,722 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-53413219:ctest-vn-02249318 is 178.79.101.193 and allocation pool is NOT set 2025-10-16 02:11:36,780 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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 = 0.442/1.612/2.783/1.170 ms') 2025-10-16 02:11:36,780 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-53413219-70627969 passed 2025-10-16 02:11:36,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:11:36,930 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53413219-70627969, IP 178.79.101.195, Port 22 2025-10-16 02:11:37,105 - DEBUG - VM ctest-TestRoutersBasic-53413219-70627969 is ready for SSH connections 2025-10-16 02:11:37,105 - INFO - Waiting for VM ctest-TestRoutersBasic-53413219-43598788 to be up.. 2025-10-16 02:11:37,183 - DEBUG - VM is in ACTIVE state now 2025-10-16 02:11:37,183 - INFO - VM name : ctest-TestRoutersBasic-53413219-43598788 2025-10-16 02:11:37,260 - DEBUG - VM ctest-TestRoutersBasic-53413219-43598788 ID is a9acae32-a06c-4fc5-ae00-1e67337dd4a5 2025-10-16 02:11:37,260 - DEBUG - VM ctest-TestRoutersBasic-53413219-43598788 launched on Node cn-jenkins-deploy-platform-ansible-os-4336-1 2025-10-16 02:11:37,337 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a9acae32-a06c-4fc5-ae00-1e67337dd4a5 2025-10-16 02:11:37,346 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/09aeff0b-ae54-45f6-824e-69596bf01a6a 2025-10-16 02:11:38,601 - 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=6.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.83 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 = 1.832/4.376/6.920/2.544 ms') 2025-10-16 02:11:38,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-53413219-43598788 passed 2025-10-16 02:11:38,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:11:38,754 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-53413219-43598788, IP 46.214.134.131, Port 22 2025-10-16 02:11:38,909 - DEBUG - VM ctest-TestRoutersBasic-53413219-43598788 is ready for SSH connections 2025-10-16 02:11:38,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 02:11:38,909 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.214.134.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-16 02:11:38,909 - DEBUG - ping -s 56 -c 3 -W 1 46.214.134.131 2025-10-16 02:11:42,595 - DEBUG - PING 46.214.134.131 (46.214.134.131): 56 data bytes 64 bytes from 46.214.134.131: seq=0 ttl=62 time=7.367 ms 64 bytes from 46.214.134.131: seq=1 ttl=62 time=1.099 ms 64 bytes from 46.214.134.131: seq=2 ttl=62 time=0.985 ms --- 46.214.134.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.985/3.150/7.367 ms 2025-10-16 02:11:42,595 - INFO - Ping to IP 46.214.134.131 from VM ctest-TestRoutersBasic-53413219-70627969 passed 2025-10-16 02:11:42,596 - INFO - Deleting interface with subnet_id 9f78f495-e956-43a2-833e-72136928311f, port_id None from router e53480a4-a161-48a6-b0a6-9c7f3565318d 2025-10-16 02:11:42,766 - INFO - Deleting VM ctest-TestRoutersBasic-53413219-43598788 2025-10-16 02:11:42,841 - INFO - Deleting VM ctest-TestRoutersBasic-53413219-70627969 2025-10-16 02:11:42,914 - INFO - Deleting VN ctest-ext_vn-55920047 2025-10-16 02:11:42,978 - DEBUG - VN 16524821-67c4-46c8-ae0a-057612c845ee still in use: Unable to complete operation on network 16524821-67c4-46c8-ae0a-057612c845ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b3557b72-5fe1-4c91-a479-25db61290b92'] 2025-10-16 02:11:42,978 - WARNING - Deleting VN ctest-ext_vn-55920047 failed..Will retry 2025-10-16 02:11:45,071 - DEBUG - Response for deleting network () 2025-10-16 02:11:45,071 - INFO - Deleting VN ctest-vn-02249318 2025-10-16 02:11:45,168 - DEBUG - Response for deleting network () 2025-10-16 02:11:45,431 - DEBUG - No XMPP flaps were noticed during the test 2025-10-16 02:11:45,431 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-16 02:11:45,431 - INFO - -------------------------------------------------------------------------------- 2025-10-16 02:11:46,118 - INFO - Deleted project: ctest-TestRoutersBasic-53413219, ID : 8951f3f7-605e-49eb-baca-08b3725b6c13