2025-10-27 02:25:58,043 - INFO - Domain Default found not creating 2025-10-27 02:25:58,192 - INFO - Project ctest-TestRoutersBasic-05219535 not found, creating it 2025-10-27 02:25:58,643 - INFO - Created Project:ctest-TestRoutersBasic-05219535, ID : 8c500e2d-fa30-4cf4-acbe-20b041e4882e 2025-10-27 02:26:00,207 - INFO - ================================================================================ 2025-10-27 02:26:00,207 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 02:26:00,207 - 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-27 02:26:00,472 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-10-27 02:26:00,472 - INFO - Initial checks done. Running the testcase now 2025-10-27 02:26:00,472 - INFO - 2025-10-27 02:26:01,252 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05219535 2025-10-27 02:26:01,352 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05219535 2025-10-27 02:26:01,667 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05219535', 'default']} 2025-10-27 02:26:01,973 - DEBUG - Response for create_network : {'network': {'id': 'd88a810a-d44c-4c67-b354-1c55bb1a0df6', 'name': 'ctest-vn-72226018', 'tenant_id': '8c500e2dfa304cf4acbe20b041e4882e', 'project_id': '8c500e2dfa304cf4acbe20b041e4882e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05219535', 'ctest-vn-72226018'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:26:02,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff383a06-ebe6-4e74-80d3-4a09ea980447', 'name': '', 'tenant_id': '8c500e2dfa304cf4acbe20b041e4882e', 'network_id': 'd88a810a-d44c-4c67-b354-1c55bb1a0df6', 'ip_version': 4, 'cidr': '52.58.118.128/26', 'allocation_pools': [{'start': '52.58.118.130', 'end': '52.58.118.190'}], 'gateway_ip': '52.58.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.58.118.130', 'tags': [], 'project_id': '8c500e2dfa304cf4acbe20b041e4882e'}} 2025-10-27 02:26:02,191 - INFO - Created VN ctest-vn-72226018 2025-10-27 02:26:02,243 - DEBUG - VN ctest-vn-72226018 UUID is d88a810a-d44c-4c67-b354-1c55bb1a0df6 2025-10-27 02:26:02,561 - DEBUG - Response for create_network : {'network': {'id': '8e82d396-1bb6-4246-80a3-45ffd94999b7', 'name': 'ctest-ext_vn-33140460', 'tenant_id': '8c500e2dfa304cf4acbe20b041e4882e', 'project_id': '8c500e2dfa304cf4acbe20b041e4882e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05219535', 'ctest-ext_vn-33140460'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 02:26:02,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '7807b60b-2c0a-4e16-b2fc-48f22ce17a1f', 'name': '', 'tenant_id': '8c500e2dfa304cf4acbe20b041e4882e', 'network_id': '8e82d396-1bb6-4246-80a3-45ffd94999b7', 'ip_version': 4, 'cidr': '60.176.222.64/26', 'allocation_pools': [{'start': '60.176.222.66', 'end': '60.176.222.126'}], 'gateway_ip': '60.176.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.176.222.66', 'tags': [], 'project_id': '8c500e2dfa304cf4acbe20b041e4882e'}} 2025-10-27 02:26:02,773 - INFO - Created VN ctest-ext_vn-33140460 2025-10-27 02:26:02,827 - DEBUG - VN ctest-ext_vn-33140460 UUID is 8e82d396-1bb6-4246-80a3-45ffd94999b7 2025-10-27 02:26:02,997 - DEBUG - Services list from nova: [, , ] 2025-10-27 02:26:04,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4486-1) 2025-10-27 02:26:05,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4486-1) 2025-10-27 02:26:05,324 - INFO - Setting gateway for router 86863a73-c5e0-4a7c-acc9-1283d841d2fa to network 8e82d396-1bb6-4246-80a3-45ffd94999b7 2025-10-27 02:26:05,403 - INFO - Adding interface with subnet_id ff383a06-ebe6-4e74-80d3-4a09ea980447, port_id None to router 86863a73-c5e0-4a7c-acc9-1283d841d2fa 2025-10-27 02:26:05,753 - INFO - Waiting for VM ctest-TestRoutersBasic-05219535-58971119 to be up.. 2025-10-27 02:26:05,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 02:26:10,990 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:26:10,990 - INFO - VM name : ctest-TestRoutersBasic-05219535-58971119 2025-10-27 02:26:11,062 - DEBUG - VM ctest-TestRoutersBasic-05219535-58971119 ID is e78ef166-1a1a-4d9c-a134-c6428d91b9f6 2025-10-27 02:26:11,081 - DEBUG - VM ctest-TestRoutersBasic-05219535-58971119 launched on Node cn-jenkins-deploy-platform-ansible-os-4486-1 2025-10-27 02:26:11,161 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e78ef166-1a1a-4d9c-a134-c6428d91b9f6 2025-10-27 02:26:11,493 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e78ef166-1a1a-4d9c-a134-c6428d91b9f6 2025-10-27 02:26:11,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6e23be50-2abc-426a-bf16-6a5033a1d3b0 2025-10-27 02:26:14,782 - 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-10-27 02:26:14,782 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05219535-58971119 failed! 2025-10-27 02:26:14,839 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05219535:ctest-vn-72226018 is 52.58.118.129 and allocation pool is NOT set 2025-10-27 02:26:16,906 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.358 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.358/1.605/2.853/1.247 ms') 2025-10-27 02:26:16,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05219535-58971119 passed 2025-10-27 02:26:17,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:26:17,059 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05219535-58971119, IP 52.58.118.131, Port 22 2025-10-27 02:26:17,225 - DEBUG - VM ctest-TestRoutersBasic-05219535-58971119 is ready for SSH connections 2025-10-27 02:26:17,225 - INFO - Waiting for VM ctest-TestRoutersBasic-05219535-77918797 to be up.. 2025-10-27 02:26:17,315 - DEBUG - VM is in ACTIVE state now 2025-10-27 02:26:17,315 - INFO - VM name : ctest-TestRoutersBasic-05219535-77918797 2025-10-27 02:26:17,386 - DEBUG - VM ctest-TestRoutersBasic-05219535-77918797 ID is 78e80bcb-6e6d-41c9-abb4-1bbc86ff9f11 2025-10-27 02:26:17,386 - DEBUG - VM ctest-TestRoutersBasic-05219535-77918797 launched on Node cn-jenkins-deploy-platform-ansible-os-4486-1 2025-10-27 02:26:17,456 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/78e80bcb-6e6d-41c9-abb4-1bbc86ff9f11 2025-10-27 02:26:17,464 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/11f13494-b5c8-4b70-ac21-fdea1774d611 2025-10-27 02:26:18,705 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.943/3.404/1.460 ms') 2025-10-27 02:26:18,705 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05219535-77918797 passed 2025-10-27 02:26:18,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:26:18,859 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05219535-77918797, IP 60.176.222.67, Port 22 2025-10-27 02:26:19,018 - DEBUG - VM ctest-TestRoutersBasic-05219535-77918797 is ready for SSH connections 2025-10-27 02:26:19,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 02:26:19,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.176.222.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-27 02:26:19,019 - DEBUG - ping -s 56 -c 3 -W 1 60.176.222.67 2025-10-27 02:26:22,752 - DEBUG - PING 60.176.222.67 (60.176.222.67): 56 data bytes 64 bytes from 60.176.222.67: seq=0 ttl=62 time=6.513 ms 64 bytes from 60.176.222.67: seq=1 ttl=62 time=0.848 ms 64 bytes from 60.176.222.67: seq=2 ttl=62 time=0.898 ms --- 60.176.222.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.753/6.513 ms 2025-10-27 02:26:22,752 - INFO - Ping to IP 60.176.222.67 from VM ctest-TestRoutersBasic-05219535-58971119 passed 2025-10-27 02:26:22,752 - INFO - Deleting interface with subnet_id ff383a06-ebe6-4e74-80d3-4a09ea980447, port_id None from router 86863a73-c5e0-4a7c-acc9-1283d841d2fa 2025-10-27 02:26:22,940 - INFO - Deleting VM ctest-TestRoutersBasic-05219535-77918797 2025-10-27 02:26:23,009 - INFO - Deleting VM ctest-TestRoutersBasic-05219535-58971119 2025-10-27 02:26:23,089 - INFO - Deleting VN ctest-ext_vn-33140460 2025-10-27 02:26:23,155 - DEBUG - VN 8e82d396-1bb6-4246-80a3-45ffd94999b7 still in use: Unable to complete operation on network 8e82d396-1bb6-4246-80a3-45ffd94999b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0cf30a2c-7396-4175-bcbc-03bdf3f9a685'] 2025-10-27 02:26:23,156 - WARNING - Deleting VN ctest-ext_vn-33140460 failed..Will retry 2025-10-27 02:26:25,260 - DEBUG - Response for deleting network () 2025-10-27 02:26:25,260 - INFO - Deleting VN ctest-vn-72226018 2025-10-27 02:26:25,360 - DEBUG - Response for deleting network () 2025-10-27 02:26:25,616 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 02:26:25,616 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-27 02:26:25,616 - INFO - -------------------------------------------------------------------------------- 2025-10-27 02:26:26,320 - INFO - Deleted project: ctest-TestRoutersBasic-05219535, ID : 8c500e2d-fa30-4cf4-acbe-20b041e4882e