2026-04-18 08:45:36,733 - INFO - Domain Default found not creating 2026-04-18 08:45:36,900 - INFO - Project ctest-TestRoutersBasic-28662317 not found, creating it 2026-04-18 08:45:37,350 - INFO - Created Project:ctest-TestRoutersBasic-28662317, ID : b6eab1d9-82df-4755-a93f-09c628116c15 2026-04-18 08:45:38,859 - INFO - ================================================================================ 2026-04-18 08:45:38,859 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-18 08:45:38,859 - 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 2026-04-18 08:45:39,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-18 08:45:39,114 - INFO - Initial checks done. Running the testcase now 2026-04-18 08:45:39,114 - INFO - 2026-04-18 08:45:39,823 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-28662317 2026-04-18 08:45:39,916 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-28662317 2026-04-18 08:45:40,240 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28662317', 'default']} 2026-04-18 08:45:40,526 - DEBUG - Response for create_network : {'network': {'id': '2df0869c-dce2-428f-9b43-1f18dd77d903', 'name': 'ctest-vn-21753040', 'tenant_id': 'b6eab1d982df4755a93f09c628116c15', 'project_id': 'b6eab1d982df4755a93f09c628116c15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28662317', 'ctest-vn-21753040'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 08:45:40,699 - DEBUG - Response for create_subnet : {'subnet': {'id': '5aa29d6b-7b92-43c0-a72f-6114240a787f', 'name': '', 'tenant_id': 'b6eab1d982df4755a93f09c628116c15', 'network_id': '2df0869c-dce2-428f-9b43-1f18dd77d903', 'ip_version': 4, 'cidr': '78.49.128.192/26', 'allocation_pools': [{'start': '78.49.128.194', 'end': '78.49.128.254'}], 'gateway_ip': '78.49.128.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.49.128.194', 'tags': [], 'project_id': 'b6eab1d982df4755a93f09c628116c15'}} 2026-04-18 08:45:40,718 - INFO - Created VN ctest-vn-21753040 2026-04-18 08:45:40,772 - DEBUG - VN ctest-vn-21753040 UUID is 2df0869c-dce2-428f-9b43-1f18dd77d903 2026-04-18 08:45:41,094 - DEBUG - Response for create_network : {'network': {'id': 'e10842d8-3419-4eb5-a395-489902d8a437', 'name': 'ctest-ext_vn-08639285', 'tenant_id': 'b6eab1d982df4755a93f09c628116c15', 'project_id': 'b6eab1d982df4755a93f09c628116c15', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-28662317', 'ctest-ext_vn-08639285'], 'port_security_enabled': True, 'description': ''}} 2026-04-18 08:45:41,243 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3558d38-56a2-4256-82e0-5cfc64c4a5b2', 'name': '', 'tenant_id': 'b6eab1d982df4755a93f09c628116c15', 'network_id': 'e10842d8-3419-4eb5-a395-489902d8a437', 'ip_version': 4, 'cidr': '11.54.75.64/26', 'allocation_pools': [{'start': '11.54.75.66', 'end': '11.54.75.126'}], 'gateway_ip': '11.54.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.54.75.66', 'tags': [], 'project_id': 'b6eab1d982df4755a93f09c628116c15'}} 2026-04-18 08:45:41,261 - INFO - Created VN ctest-ext_vn-08639285 2026-04-18 08:45:41,312 - DEBUG - VN ctest-ext_vn-08639285 UUID is e10842d8-3419-4eb5-a395-489902d8a437 2026-04-18 08:45:41,522 - DEBUG - Services list from nova: [, , ] 2026-04-18 08:45:42,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5643-1) 2026-04-18 08:45:43,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5643-1) 2026-04-18 08:45:43,848 - INFO - Setting gateway for router efd79e1c-64c4-4e94-bd28-0a8a20e489ae to network e10842d8-3419-4eb5-a395-489902d8a437 2026-04-18 08:45:43,935 - INFO - Adding interface with subnet_id 5aa29d6b-7b92-43c0-a72f-6114240a787f, port_id None to router efd79e1c-64c4-4e94-bd28-0a8a20e489ae 2026-04-18 08:45:44,278 - INFO - Waiting for VM ctest-TestRoutersBasic-28662317-44009481 to be up.. 2026-04-18 08:45:44,430 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-18 08:45:49,515 - DEBUG - VM is in ACTIVE state now 2026-04-18 08:45:49,515 - INFO - VM name : ctest-TestRoutersBasic-28662317-44009481 2026-04-18 08:45:49,590 - DEBUG - VM ctest-TestRoutersBasic-28662317-44009481 ID is cce57074-845f-4040-b56a-74a6db7856dc 2026-04-18 08:45:49,613 - DEBUG - VM ctest-TestRoutersBasic-28662317-44009481 launched on Node cn-jenkins-deploy-platform-ansible-os-5643-1 2026-04-18 08:45:49,691 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cce57074-845f-4040-b56a-74a6db7856dc 2026-04-18 08:45:49,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cce57074-845f-4040-b56a-74a6db7856dc 2026-04-18 08:45:50,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc038692-0891-4e39-9acc-81c2b72bd380 2026-04-18 08:45:53,275 - 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 1015ms') 2026-04-18 08:45:53,275 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28662317-44009481 failed! 2026-04-18 08:45:53,328 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-28662317:ctest-vn-21753040 is 78.49.128.193 and allocation pool is NOT set 2026-04-18 08:45:55,385 - 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.581 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.581/1.943/3.306/1.362 ms') 2026-04-18 08:45:55,386 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-28662317-44009481 passed 2026-04-18 08:45:55,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:45:55,536 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28662317-44009481, IP 78.49.128.195, Port 22 2026-04-18 08:45:55,692 - DEBUG - VM ctest-TestRoutersBasic-28662317-44009481 is ready for SSH connections 2026-04-18 08:45:55,693 - INFO - Waiting for VM ctest-TestRoutersBasic-28662317-75949720 to be up.. 2026-04-18 08:45:55,770 - DEBUG - VM is in ACTIVE state now 2026-04-18 08:45:55,770 - INFO - VM name : ctest-TestRoutersBasic-28662317-75949720 2026-04-18 08:45:55,848 - DEBUG - VM ctest-TestRoutersBasic-28662317-75949720 ID is 709012d9-ba7f-4f60-87e6-e8c9795b8e36 2026-04-18 08:45:55,849 - DEBUG - VM ctest-TestRoutersBasic-28662317-75949720 launched on Node cn-jenkins-deploy-platform-ansible-os-5643-1 2026-04-18 08:45:55,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/709012d9-ba7f-4f60-87e6-e8c9795b8e36 2026-04-18 08:45:55,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5501be76-cbee-4527-966f-b924322a5c4a 2026-04-18 08:45:57,174 - 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=4.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.949 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.949/2.554/4.160/1.605 ms') 2026-04-18 08:45:57,174 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-28662317-75949720 passed 2026-04-18 08:45:57,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:45:57,328 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-28662317-75949720, IP 11.54.75.67, Port 22 2026-04-18 08:45:57,483 - DEBUG - VM ctest-TestRoutersBasic-28662317-75949720 is ready for SSH connections 2026-04-18 08:45:57,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-18 08:45:57,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.54.75.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-18 08:45:57,484 - DEBUG - ping -s 56 -c 3 -W 1 11.54.75.67 2026-04-18 08:46:01,202 - DEBUG - PING 11.54.75.67 (11.54.75.67): 56 data bytes 64 bytes from 11.54.75.67: seq=0 ttl=62 time=6.579 ms 64 bytes from 11.54.75.67: seq=1 ttl=62 time=1.045 ms 64 bytes from 11.54.75.67: seq=2 ttl=62 time=1.095 ms --- 11.54.75.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.045/2.906/6.579 ms 2026-04-18 08:46:01,202 - INFO - Ping to IP 11.54.75.67 from VM ctest-TestRoutersBasic-28662317-44009481 passed 2026-04-18 08:46:01,202 - INFO - Deleting interface with subnet_id 5aa29d6b-7b92-43c0-a72f-6114240a787f, port_id None from router efd79e1c-64c4-4e94-bd28-0a8a20e489ae 2026-04-18 08:46:01,409 - INFO - Deleting VM ctest-TestRoutersBasic-28662317-75949720 2026-04-18 08:46:01,493 - INFO - Deleting VM ctest-TestRoutersBasic-28662317-44009481 2026-04-18 08:46:01,576 - INFO - Deleting VN ctest-ext_vn-08639285 2026-04-18 08:46:01,663 - DEBUG - VN e10842d8-3419-4eb5-a395-489902d8a437 still in use: Unable to complete operation on network e10842d8-3419-4eb5-a395-489902d8a437. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd447d39-d8c0-4e0a-92ef-d6b82199d071'] 2026-04-18 08:46:01,664 - WARNING - Deleting VN ctest-ext_vn-08639285 failed..Will retry 2026-04-18 08:46:03,772 - DEBUG - Response for deleting network () 2026-04-18 08:46:03,772 - INFO - Deleting VN ctest-vn-21753040 2026-04-18 08:46:03,880 - DEBUG - Response for deleting network () 2026-04-18 08:46:04,141 - DEBUG - No XMPP flaps were noticed during the test 2026-04-18 08:46:04,141 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-04-18 08:46:04,141 - INFO - -------------------------------------------------------------------------------- 2026-04-18 08:46:04,835 - INFO - Deleted project: ctest-TestRoutersBasic-28662317, ID : b6eab1d9-82df-4755-a93f-09c628116c15