2025-10-31 20:03:36,302 - INFO - Domain Default found not creating 2025-10-31 20:03:36,430 - INFO - Project ctest-TestRoutersBasic-02290082 not found, creating it 2025-10-31 20:03:36,851 - INFO - Created Project:ctest-TestRoutersBasic-02290082, ID : 1e8fc9cb-19aa-40ea-bc84-4c6b43bff6fd 2025-10-31 20:03:38,212 - INFO - ================================================================================ 2025-10-31 20:03:38,212 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 20:03:38,212 - 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-31 20:03:38,470 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-31 20:03:38,470 - INFO - Initial checks done. Running the testcase now 2025-10-31 20:03:38,471 - INFO - 2025-10-31 20:03:39,153 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02290082 2025-10-31 20:03:39,254 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02290082 2025-10-31 20:03:39,566 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02290082', 'default']} 2025-10-31 20:03:39,846 - DEBUG - Response for create_network : {'network': {'id': 'c1a98020-46a2-404f-9fe6-b73cbf6d504a', 'name': 'ctest-vn-89525925', 'tenant_id': '1e8fc9cb19aa40eabc844c6b43bff6fd', 'project_id': '1e8fc9cb19aa40eabc844c6b43bff6fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02290082', 'ctest-vn-89525925'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:03:40,003 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1c3a458-4986-4a83-bb41-0a35e540c332', 'name': '', 'tenant_id': '1e8fc9cb19aa40eabc844c6b43bff6fd', 'network_id': 'c1a98020-46a2-404f-9fe6-b73cbf6d504a', 'ip_version': 4, 'cidr': '20.82.138.64/26', 'allocation_pools': [{'start': '20.82.138.66', 'end': '20.82.138.126'}], 'gateway_ip': '20.82.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.82.138.66', 'tags': [], 'project_id': '1e8fc9cb19aa40eabc844c6b43bff6fd'}} 2025-10-31 20:03:40,020 - INFO - Created VN ctest-vn-89525925 2025-10-31 20:03:40,070 - DEBUG - VN ctest-vn-89525925 UUID is c1a98020-46a2-404f-9fe6-b73cbf6d504a 2025-10-31 20:03:40,396 - DEBUG - Response for create_network : {'network': {'id': '8877463d-ae7b-410b-9d7f-32bbd9b71e9e', 'name': 'ctest-ext_vn-34959130', 'tenant_id': '1e8fc9cb19aa40eabc844c6b43bff6fd', 'project_id': '1e8fc9cb19aa40eabc844c6b43bff6fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02290082', 'ctest-ext_vn-34959130'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 20:03:40,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fd72776-4b78-4b29-8191-b4260d475061', 'name': '', 'tenant_id': '1e8fc9cb19aa40eabc844c6b43bff6fd', 'network_id': '8877463d-ae7b-410b-9d7f-32bbd9b71e9e', 'ip_version': 4, 'cidr': '39.185.103.192/26', 'allocation_pools': [{'start': '39.185.103.194', 'end': '39.185.103.254'}], 'gateway_ip': '39.185.103.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.185.103.194', 'tags': [], 'project_id': '1e8fc9cb19aa40eabc844c6b43bff6fd'}} 2025-10-31 20:03:40,578 - INFO - Created VN ctest-ext_vn-34959130 2025-10-31 20:03:40,630 - DEBUG - VN ctest-ext_vn-34959130 UUID is 8877463d-ae7b-410b-9d7f-32bbd9b71e9e 2025-10-31 20:03:40,815 - DEBUG - Services list from nova: [, , ] 2025-10-31 20:03:41,800 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1) 2025-10-31 20:03:42,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1) 2025-10-31 20:03:42,981 - INFO - Setting gateway for router d037fb68-1cf2-4bd6-8554-96b70e3ecf8f to network 8877463d-ae7b-410b-9d7f-32bbd9b71e9e 2025-10-31 20:03:43,035 - INFO - Adding interface with subnet_id a1c3a458-4986-4a83-bb41-0a35e540c332, port_id None to router d037fb68-1cf2-4bd6-8554-96b70e3ecf8f 2025-10-31 20:03:43,319 - INFO - Waiting for VM ctest-TestRoutersBasic-02290082-47598895 to be up.. 2025-10-31 20:03:43,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 20:03:48,564 - DEBUG - VM is in ACTIVE state now 2025-10-31 20:03:48,564 - INFO - VM name : ctest-TestRoutersBasic-02290082-47598895 2025-10-31 20:03:48,632 - DEBUG - VM ctest-TestRoutersBasic-02290082-47598895 ID is 91f34fb2-8d23-44d7-8986-2308cd0cdbdb 2025-10-31 20:03:48,648 - DEBUG - VM ctest-TestRoutersBasic-02290082-47598895 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1 2025-10-31 20:03:48,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/91f34fb2-8d23-44d7-8986-2308cd0cdbdb 2025-10-31 20:03:49,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/91f34fb2-8d23-44d7-8986-2308cd0cdbdb 2025-10-31 20:03:49,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2aa0a336-5396-45d5-8d03-8d4cc2da5ecb 2025-10-31 20:03:52,287 - 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-31 20:03:52,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02290082-47598895 failed! 2025-10-31 20:03:52,342 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02290082:ctest-vn-89525925 is 20.82.138.65 and allocation pool is NOT set 2025-10-31 20:03:54,407 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 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.465/1.587/2.710/1.122 ms') 2025-10-31 20:03:54,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02290082-47598895 passed 2025-10-31 20:03:54,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:54,554 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02290082-47598895, IP 20.82.138.67, Port 22 2025-10-31 20:03:54,709 - DEBUG - VM ctest-TestRoutersBasic-02290082-47598895 is ready for SSH connections 2025-10-31 20:03:54,709 - INFO - Waiting for VM ctest-TestRoutersBasic-02290082-06576820 to be up.. 2025-10-31 20:03:54,779 - DEBUG - VM is in ACTIVE state now 2025-10-31 20:03:54,779 - INFO - VM name : ctest-TestRoutersBasic-02290082-06576820 2025-10-31 20:03:54,846 - DEBUG - VM ctest-TestRoutersBasic-02290082-06576820 ID is fc42c599-1cc6-4a81-a841-72554cb43b78 2025-10-31 20:03:54,846 - DEBUG - VM ctest-TestRoutersBasic-02290082-06576820 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1 2025-10-31 20:03:54,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fc42c599-1cc6-4a81-a841-72554cb43b78 2025-10-31 20:03:54,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/66900749-e4bd-4dbb-befc-27672fd35166 2025-10-31 20:03:56,155 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/1.957/3.519/1.562 ms') 2025-10-31 20:03:56,155 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02290082-06576820 passed 2025-10-31 20:03:56,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:56,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02290082-06576820, IP 39.185.103.195, Port 22 2025-10-31 20:03:56,461 - DEBUG - VM ctest-TestRoutersBasic-02290082-06576820 is ready for SSH connections 2025-10-31 20:03:56,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 20:03:56,461 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.185.103.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-31 20:03:56,461 - DEBUG - ping -s 56 -c 3 -W 1 39.185.103.195 2025-10-31 20:04:00,502 - DEBUG - PING 39.185.103.195 (39.185.103.195): 56 data bytes 64 bytes from 39.185.103.195: seq=0 ttl=62 time=6.192 ms 64 bytes from 39.185.103.195: seq=1 ttl=62 time=0.855 ms 64 bytes from 39.185.103.195: seq=2 ttl=62 time=0.816 ms --- 39.185.103.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/2.621/6.192 ms 2025-10-31 20:04:00,503 - INFO - Ping to IP 39.185.103.195 from VM ctest-TestRoutersBasic-02290082-47598895 passed 2025-10-31 20:04:00,503 - INFO - Deleting interface with subnet_id a1c3a458-4986-4a83-bb41-0a35e540c332, port_id None from router d037fb68-1cf2-4bd6-8554-96b70e3ecf8f 2025-10-31 20:04:00,669 - INFO - Deleting VM ctest-TestRoutersBasic-02290082-06576820 2025-10-31 20:04:00,734 - INFO - Deleting VM ctest-TestRoutersBasic-02290082-47598895 2025-10-31 20:04:00,799 - INFO - Deleting VN ctest-ext_vn-34959130 2025-10-31 20:04:00,867 - DEBUG - VN 8877463d-ae7b-410b-9d7f-32bbd9b71e9e still in use: Unable to complete operation on network 8877463d-ae7b-410b-9d7f-32bbd9b71e9e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f05e7f72-f36a-4498-8b70-104871bce7c6'] 2025-10-31 20:04:00,867 - WARNING - Deleting VN ctest-ext_vn-34959130 failed..Will retry 2025-10-31 20:04:02,964 - DEBUG - Response for deleting network () 2025-10-31 20:04:02,964 - INFO - Deleting VN ctest-vn-89525925 2025-10-31 20:04:03,055 - DEBUG - Response for deleting network () 2025-10-31 20:04:03,312 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 20:04:03,312 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-31 20:04:03,313 - INFO - -------------------------------------------------------------------------------- 2025-10-31 20:04:04,011 - INFO - Deleted project: ctest-TestRoutersBasic-02290082, ID : 1e8fc9cb-19aa-40ea-bc84-4c6b43bff6fd