2025-08-07 02:16:50,924 - INFO - Domain Default found not creating 2025-08-07 02:16:51,078 - INFO - Project ctest-TestRoutersBasic-08216966 not found, creating it 2025-08-07 02:16:51,553 - INFO - Created Project:ctest-TestRoutersBasic-08216966, ID : d33f75a1-6d4a-411c-a7d9-7975eeba3ff6 2025-08-07 02:16:53,109 - INFO - ================================================================================ 2025-08-07 02:16:53,109 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-07 02:16:53,109 - 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-08-07 02:16:53,369 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with 2025-08-07 02:16:53,369 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:16:53,370 - INFO - 2025-08-07 02:16:54,161 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08216966 2025-08-07 02:16:54,259 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08216966 2025-08-07 02:16:54,583 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08216966', 'default']} 2025-08-07 02:16:54,884 - DEBUG - Response for create_network : {'network': {'id': '974b4721-fa89-4f7a-9b3e-93abb906f030', 'name': 'ctest-vn-62121769', 'tenant_id': 'd33f75a16d4a411ca7d97975eeba3ff6', 'project_id': 'd33f75a16d4a411ca7d97975eeba3ff6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08216966', 'ctest-vn-62121769'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:55,090 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e00e2bff-1caa-4c06-9ff3-dcd313820ea5', 'name': '', 'tenant_id': 'd33f75a16d4a411ca7d97975eeba3ff6', 'network_id': '974b4721-fa89-4f7a-9b3e-93abb906f030', 'ip_version': 4, 'cidr': '55.8.115.64/26', 'allocation_pools': [{'start': '55.8.115.66', 'end': '55.8.115.126'}], 'gateway_ip': '55.8.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.8.115.66', 'tags': [], 'project_id': 'd33f75a16d4a411ca7d97975eeba3ff6'}} 2025-08-07 02:16:55,114 - INFO - Created VN ctest-vn-62121769 2025-08-07 02:16:55,167 - DEBUG - VN ctest-vn-62121769 UUID is 974b4721-fa89-4f7a-9b3e-93abb906f030 2025-08-07 02:16:55,485 - DEBUG - Response for create_network : {'network': {'id': 'ae21e5ce-b5a1-4a3e-9cad-844cf6dd148c', 'name': 'ctest-ext_vn-88016218', 'tenant_id': 'd33f75a16d4a411ca7d97975eeba3ff6', 'project_id': 'd33f75a16d4a411ca7d97975eeba3ff6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08216966', 'ctest-ext_vn-88016218'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:16:55,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '8eb31424-500e-45b3-b610-59e22f27cb2c', 'name': '', 'tenant_id': 'd33f75a16d4a411ca7d97975eeba3ff6', 'network_id': 'ae21e5ce-b5a1-4a3e-9cad-844cf6dd148c', 'ip_version': 4, 'cidr': '132.132.183.64/26', 'allocation_pools': [{'start': '132.132.183.66', 'end': '132.132.183.126'}], 'gateway_ip': '132.132.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.132.183.66', 'tags': [], 'project_id': 'd33f75a16d4a411ca7d97975eeba3ff6'}} 2025-08-07 02:16:55,678 - INFO - Created VN ctest-ext_vn-88016218 2025-08-07 02:16:55,731 - DEBUG - VN ctest-ext_vn-88016218 UUID is ae21e5ce-b5a1-4a3e-9cad-844cf6dd148c 2025-08-07 02:16:55,900 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:16:56,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:16:58,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3768-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3768-1) 2025-08-07 02:16:58,351 - INFO - Setting gateway for router f4f62ec8-1a51-4d16-b839-e951cb03a005 to network ae21e5ce-b5a1-4a3e-9cad-844cf6dd148c 2025-08-07 02:16:58,422 - INFO - Adding interface with subnet_id e00e2bff-1caa-4c06-9ff3-dcd313820ea5, port_id None to router f4f62ec8-1a51-4d16-b839-e951cb03a005 2025-08-07 02:16:58,838 - INFO - Waiting for VM ctest-TestRoutersBasic-08216966-45676226 to be up.. 2025-08-07 02:16:58,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:17:04,046 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:04,046 - INFO - VM name : ctest-TestRoutersBasic-08216966-45676226 2025-08-07 02:17:04,122 - DEBUG - VM ctest-TestRoutersBasic-08216966-45676226 ID is 84dd110d-7d7f-41a6-8e05-abb5e8725b03 2025-08-07 02:17:04,142 - DEBUG - VM ctest-TestRoutersBasic-08216966-45676226 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:17:04,218 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/84dd110d-7d7f-41a6-8e05-abb5e8725b03 2025-08-07 02:17:04,553 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/84dd110d-7d7f-41a6-8e05-abb5e8725b03 2025-08-07 02:17:04,585 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/da07b78e-060d-45cb-a6fa-3dd224ed200d 2025-08-07 02:17:07,858 - 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 1023ms') 2025-08-07 02:17:07,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08216966-45676226 failed! 2025-08-07 02:17:07,920 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08216966:ctest-vn-62121769 is 55.8.115.65 and allocation pool is NOT set 2025-08-07 02:17:09,984 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.825 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.825/2.092/3.360/1.267 ms') 2025-08-07 02:17:09,984 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08216966-45676226 passed 2025-08-07 02:17:10,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:10,140 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08216966-45676226, IP 55.8.115.67, Port 22 2025-08-07 02:17:10,299 - DEBUG - VM ctest-TestRoutersBasic-08216966-45676226 is ready for SSH connections 2025-08-07 02:17:10,299 - INFO - Waiting for VM ctest-TestRoutersBasic-08216966-08580415 to be up.. 2025-08-07 02:17:10,379 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:17:10,379 - INFO - VM name : ctest-TestRoutersBasic-08216966-08580415 2025-08-07 02:17:10,459 - DEBUG - VM ctest-TestRoutersBasic-08216966-08580415 ID is a7897183-4bb1-4b89-8c71-edd5ca848807 2025-08-07 02:17:10,459 - DEBUG - VM ctest-TestRoutersBasic-08216966-08580415 launched on Node cn-jenkins-deploy-platform-ansible-os-3768-1 2025-08-07 02:17:10,534 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/a7897183-4bb1-4b89-8c71-edd5ca848807 2025-08-07 02:17:10,544 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/8cfcd236-d82f-4367-9052-f0637706f9df 2025-08-07 02:17:11,790 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.41 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.408/3.159/4.911/1.751 ms') 2025-08-07 02:17:11,791 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08216966-08580415 passed 2025-08-07 02:17:11,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:11,948 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08216966-08580415, IP 132.132.183.67, Port 22 2025-08-07 02:17:12,113 - DEBUG - VM ctest-TestRoutersBasic-08216966-08580415 is ready for SSH connections 2025-08-07 02:17:12,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:17:12,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.132.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2025-08-07 02:17:12,113 - DEBUG - ping -s 56 -c 3 -W 1 132.132.183.67 2025-08-07 02:17:15,822 - DEBUG - PING 132.132.183.67 (132.132.183.67): 56 data bytes 64 bytes from 132.132.183.67: seq=0 ttl=62 time=5.269 ms 64 bytes from 132.132.183.67: seq=1 ttl=62 time=0.860 ms 64 bytes from 132.132.183.67: seq=2 ttl=62 time=1.095 ms --- 132.132.183.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/2.408/5.269 ms 2025-08-07 02:17:15,822 - INFO - Ping to IP 132.132.183.67 from VM ctest-TestRoutersBasic-08216966-45676226 passed 2025-08-07 02:17:15,822 - INFO - Deleting interface with subnet_id e00e2bff-1caa-4c06-9ff3-dcd313820ea5, port_id None from router f4f62ec8-1a51-4d16-b839-e951cb03a005 2025-08-07 02:17:16,026 - INFO - Deleting VM ctest-TestRoutersBasic-08216966-08580415 2025-08-07 02:17:16,107 - INFO - Deleting VM ctest-TestRoutersBasic-08216966-45676226 2025-08-07 02:17:16,196 - INFO - Deleting VN ctest-ext_vn-88016218 2025-08-07 02:17:16,281 - DEBUG - VN ae21e5ce-b5a1-4a3e-9cad-844cf6dd148c still in use: Unable to complete operation on network ae21e5ce-b5a1-4a3e-9cad-844cf6dd148c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f340a2a-7e92-4150-8bf2-9fde375d2f92'] 2025-08-07 02:17:16,281 - WARNING - Deleting VN ctest-ext_vn-88016218 failed..Will retry 2025-08-07 02:17:18,388 - DEBUG - Response for deleting network () 2025-08-07 02:17:18,388 - INFO - Deleting VN ctest-vn-62121769 2025-08-07 02:17:18,505 - DEBUG - Response for deleting network () 2025-08-07 02:17:18,762 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 02:17:18,762 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-07 02:17:18,762 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:17:19,492 - INFO - Deleted project: ctest-TestRoutersBasic-08216966, ID : d33f75a1-6d4a-411c-a7d9-7975eeba3ff6