2025-09-11 02:00:45,739 - INFO - Domain Default found not creating 2025-09-11 02:00:45,892 - INFO - Project ctest-TestRoutersBasic-08007507 not found, creating it 2025-09-11 02:00:46,387 - INFO - Created Project:ctest-TestRoutersBasic-08007507, ID : 2809adbb-1e5d-4e8a-bc6d-6264b0c38ed3 2025-09-11 02:00:47,953 - INFO - ================================================================================ 2025-09-11 02:00:47,954 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-11 02:00:47,954 - 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-09-11 02:00:48,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with 2025-09-11 02:00:48,209 - INFO - Initial checks done. Running the testcase now 2025-09-11 02:00:48,209 - INFO - 2025-09-11 02:00:49,002 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08007507 2025-09-11 02:00:49,098 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08007507 2025-09-11 02:00:49,418 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08007507', 'default']} 2025-09-11 02:00:49,730 - DEBUG - Response for create_network : {'network': {'id': '13db0064-fe51-404f-af59-d2345980ebd7', 'name': 'ctest-vn-17961325', 'tenant_id': '2809adbb1e5d4e8abc6d6264b0c38ed3', 'project_id': '2809adbb1e5d4e8abc6d6264b0c38ed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08007507', 'ctest-vn-17961325'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:00:49,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d41e69c-6d6e-46d4-aa3c-41ee84b21ed8', 'name': '', 'tenant_id': '2809adbb1e5d4e8abc6d6264b0c38ed3', 'network_id': '13db0064-fe51-404f-af59-d2345980ebd7', 'ip_version': 4, 'cidr': '221.74.14.192/26', 'allocation_pools': [{'start': '221.74.14.194', 'end': '221.74.14.254'}], 'gateway_ip': '221.74.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.74.14.194', 'tags': [], 'project_id': '2809adbb1e5d4e8abc6d6264b0c38ed3'}} 2025-09-11 02:00:49,898 - INFO - Created VN ctest-vn-17961325 2025-09-11 02:00:49,950 - DEBUG - VN ctest-vn-17961325 UUID is 13db0064-fe51-404f-af59-d2345980ebd7 2025-09-11 02:00:50,338 - DEBUG - Response for create_network : {'network': {'id': '21b71acb-7262-4501-a188-fc8c3fb13473', 'name': 'ctest-ext_vn-68255673', 'tenant_id': '2809adbb1e5d4e8abc6d6264b0c38ed3', 'project_id': '2809adbb1e5d4e8abc6d6264b0c38ed3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08007507', 'ctest-ext_vn-68255673'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:00:50,560 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccd13cdc-90fd-413c-b2f2-602d53921988', 'name': '', 'tenant_id': '2809adbb1e5d4e8abc6d6264b0c38ed3', 'network_id': '21b71acb-7262-4501-a188-fc8c3fb13473', 'ip_version': 4, 'cidr': '30.25.242.192/26', 'allocation_pools': [{'start': '30.25.242.194', 'end': '30.25.242.254'}], 'gateway_ip': '30.25.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.25.242.194', 'tags': [], 'project_id': '2809adbb1e5d4e8abc6d6264b0c38ed3'}} 2025-09-11 02:00:50,579 - INFO - Created VN ctest-ext_vn-68255673 2025-09-11 02:00:50,630 - DEBUG - VN ctest-ext_vn-68255673 UUID is 21b71acb-7262-4501-a188-fc8c3fb13473 2025-09-11 02:00:50,798 - DEBUG - Services list from nova: [, , ] 2025-09-11 02:00:51,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4078-1) 2025-09-11 02:00:53,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4078-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4078-1) 2025-09-11 02:00:53,293 - INFO - Setting gateway for router 95537985-2135-461a-9f7d-286c2e129aac to network 21b71acb-7262-4501-a188-fc8c3fb13473 2025-09-11 02:00:53,370 - INFO - Adding interface with subnet_id 0d41e69c-6d6e-46d4-aa3c-41ee84b21ed8, port_id None to router 95537985-2135-461a-9f7d-286c2e129aac 2025-09-11 02:00:53,795 - INFO - Waiting for VM ctest-TestRoutersBasic-08007507-15682650 to be up.. 2025-09-11 02:00:53,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 02:00:59,074 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:00:59,075 - INFO - VM name : ctest-TestRoutersBasic-08007507-15682650 2025-09-11 02:00:59,172 - DEBUG - VM ctest-TestRoutersBasic-08007507-15682650 ID is 5e8755ea-c33a-476b-baa0-5fbf26864037 2025-09-11 02:00:59,192 - DEBUG - VM ctest-TestRoutersBasic-08007507-15682650 launched on Node cn-jenkins-deploy-platform-ansible-os-4078-1 2025-09-11 02:00:59,280 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5e8755ea-c33a-476b-baa0-5fbf26864037 2025-09-11 02:00:59,621 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5e8755ea-c33a-476b-baa0-5fbf26864037 2025-09-11 02:00:59,654 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f10a93d8-ae93-4556-887a-2ae538065da7 2025-09-11 02:01:02,929 - 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 1033ms') 2025-09-11 02:01:02,929 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08007507-15682650 failed! 2025-09-11 02:01:02,982 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08007507:ctest-vn-17961325 is 221.74.14.193 and allocation pool is NOT set 2025-09-11 02:01:05,049 - 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.568 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.568/1.636/2.705/1.068 ms') 2025-09-11 02:01:05,049 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08007507-15682650 passed 2025-09-11 02:01:05,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:05,198 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08007507-15682650, IP 221.74.14.195, Port 22 2025-09-11 02:01:05,365 - DEBUG - VM ctest-TestRoutersBasic-08007507-15682650 is ready for SSH connections 2025-09-11 02:01:05,365 - INFO - Waiting for VM ctest-TestRoutersBasic-08007507-20790647 to be up.. 2025-09-11 02:01:05,452 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:01:05,452 - INFO - VM name : ctest-TestRoutersBasic-08007507-20790647 2025-09-11 02:01:05,540 - DEBUG - VM ctest-TestRoutersBasic-08007507-20790647 ID is 2fea05dc-f716-46e4-9cf3-0ff56e1a5b54 2025-09-11 02:01:05,540 - DEBUG - VM ctest-TestRoutersBasic-08007507-20790647 launched on Node cn-jenkins-deploy-platform-ansible-os-4078-1 2025-09-11 02:01:05,619 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2fea05dc-f716-46e4-9cf3-0ff56e1a5b54 2025-09-11 02:01:05,627 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/06901c11-4813-44d1-8613-149321a52329 2025-09-11 02:01:06,860 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.73 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 = 1.728/2.395/3.063/0.667 ms') 2025-09-11 02:01:06,860 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08007507-20790647 passed 2025-09-11 02:01:07,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:07,011 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08007507-20790647, IP 30.25.242.195, Port 22 2025-09-11 02:01:07,178 - DEBUG - VM ctest-TestRoutersBasic-08007507-20790647 is ready for SSH connections 2025-09-11 02:01:07,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:01:07,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.25.242.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-11 02:01:07,178 - DEBUG - ping -s 56 -c 3 -W 1 30.25.242.195 2025-09-11 02:01:10,944 - DEBUG - PING 30.25.242.195 (30.25.242.195): 56 data bytes 64 bytes from 30.25.242.195: seq=0 ttl=62 time=7.206 ms 64 bytes from 30.25.242.195: seq=1 ttl=62 time=0.955 ms 64 bytes from 30.25.242.195: seq=2 ttl=62 time=1.025 ms --- 30.25.242.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.955/3.062/7.206 ms 2025-09-11 02:01:10,944 - INFO - Ping to IP 30.25.242.195 from VM ctest-TestRoutersBasic-08007507-15682650 passed 2025-09-11 02:01:10,944 - INFO - Deleting interface with subnet_id 0d41e69c-6d6e-46d4-aa3c-41ee84b21ed8, port_id None from router 95537985-2135-461a-9f7d-286c2e129aac 2025-09-11 02:01:11,225 - INFO - Deleting VM ctest-TestRoutersBasic-08007507-20790647 2025-09-11 02:01:11,302 - INFO - Deleting VM ctest-TestRoutersBasic-08007507-15682650 2025-09-11 02:01:11,415 - INFO - Deleting VN ctest-ext_vn-68255673 2025-09-11 02:01:11,510 - DEBUG - VN 21b71acb-7262-4501-a188-fc8c3fb13473 still in use: Unable to complete operation on network 21b71acb-7262-4501-a188-fc8c3fb13473. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a67fda1f-3e25-49ce-b3d4-94aa3b8872f7'] 2025-09-11 02:01:11,510 - WARNING - Deleting VN ctest-ext_vn-68255673 failed..Will retry 2025-09-11 02:01:13,619 - DEBUG - Response for deleting network () 2025-09-11 02:01:13,619 - INFO - Deleting VN ctest-vn-17961325 2025-09-11 02:01:13,729 - DEBUG - Response for deleting network () 2025-09-11 02:01:13,994 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 02:01:13,995 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-11 02:01:13,995 - INFO - -------------------------------------------------------------------------------- 2025-09-11 02:01:14,710 - INFO - Deleted project: ctest-TestRoutersBasic-08007507, ID : 2809adbb-1e5d-4e8a-bc6d-6264b0c38ed3