2025-10-27 20:07:10,159 - INFO - Domain Default found not creating 2025-10-27 20:07:10,310 - INFO - Project ctest-TestRoutersBasic-66167360 not found, creating it 2025-10-27 20:07:10,755 - INFO - Created Project:ctest-TestRoutersBasic-66167360, ID : d667d013-463b-4e25-8f0c-0d9ff6a58d79 2025-10-27 20:07:12,231 - INFO - ================================================================================ 2025-10-27 20:07:12,231 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 20:07:12,231 - 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 20:07:12,491 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 20:07:12,491 - INFO - Initial checks done. Running the testcase now 2025-10-27 20:07:12,491 - INFO - 2025-10-27 20:07:13,251 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66167360 2025-10-27 20:07:13,345 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66167360 2025-10-27 20:07:13,661 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66167360', 'default']} 2025-10-27 20:07:13,958 - DEBUG - Response for create_network : {'network': {'id': '1aca33fa-da66-43d6-a818-6cdeda1f284a', 'name': 'ctest-vn-62045896', 'tenant_id': 'd667d013463b4e258f0c0d9ff6a58d79', 'project_id': 'd667d013463b4e258f0c0d9ff6a58d79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66167360', 'ctest-vn-62045896'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:07:14,135 - DEBUG - Response for create_subnet : {'subnet': {'id': '99d7ab63-5702-4479-b686-bcd4fe0911c3', 'name': '', 'tenant_id': 'd667d013463b4e258f0c0d9ff6a58d79', 'network_id': '1aca33fa-da66-43d6-a818-6cdeda1f284a', 'ip_version': 4, 'cidr': '174.232.204.64/26', 'allocation_pools': [{'start': '174.232.204.66', 'end': '174.232.204.126'}], 'gateway_ip': '174.232.204.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.232.204.66', 'tags': [], 'project_id': 'd667d013463b4e258f0c0d9ff6a58d79'}} 2025-10-27 20:07:14,152 - INFO - Created VN ctest-vn-62045896 2025-10-27 20:07:14,205 - DEBUG - VN ctest-vn-62045896 UUID is 1aca33fa-da66-43d6-a818-6cdeda1f284a 2025-10-27 20:07:14,511 - DEBUG - Response for create_network : {'network': {'id': 'dfc53c93-4f0a-4c3c-a827-ae0c82f82729', 'name': 'ctest-ext_vn-39511598', 'tenant_id': 'd667d013463b4e258f0c0d9ff6a58d79', 'project_id': 'd667d013463b4e258f0c0d9ff6a58d79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66167360', 'ctest-ext_vn-39511598'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 20:07:14,704 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd750e53-4aad-4089-a675-9f3125d4ffde', 'name': '', 'tenant_id': 'd667d013463b4e258f0c0d9ff6a58d79', 'network_id': 'dfc53c93-4f0a-4c3c-a827-ae0c82f82729', 'ip_version': 4, 'cidr': '9.79.165.128/26', 'allocation_pools': [{'start': '9.79.165.130', 'end': '9.79.165.190'}], 'gateway_ip': '9.79.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.79.165.130', 'tags': [], 'project_id': 'd667d013463b4e258f0c0d9ff6a58d79'}} 2025-10-27 20:07:14,721 - INFO - Created VN ctest-ext_vn-39511598 2025-10-27 20:07:14,773 - DEBUG - VN ctest-ext_vn-39511598 UUID is dfc53c93-4f0a-4c3c-a827-ae0c82f82729 2025-10-27 20:07:14,965 - DEBUG - Services list from nova: [, , ] 2025-10-27 20:07:15,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:07:17,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4510-1) 2025-10-27 20:07:17,219 - INFO - Setting gateway for router 2d0e86c6-8f08-4d98-a6ea-918ba6eb89af to network dfc53c93-4f0a-4c3c-a827-ae0c82f82729 2025-10-27 20:07:17,316 - INFO - Adding interface with subnet_id 99d7ab63-5702-4479-b686-bcd4fe0911c3, port_id None to router 2d0e86c6-8f08-4d98-a6ea-918ba6eb89af 2025-10-27 20:07:17,766 - INFO - Waiting for VM ctest-TestRoutersBasic-66167360-12410558 to be up.. 2025-10-27 20:07:17,950 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 20:07:23,021 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:07:23,021 - INFO - VM name : ctest-TestRoutersBasic-66167360-12410558 2025-10-27 20:07:23,091 - DEBUG - VM ctest-TestRoutersBasic-66167360-12410558 ID is 2c7df377-427d-4a2a-a0dc-f58eb6e24fb8 2025-10-27 20:07:23,110 - DEBUG - VM ctest-TestRoutersBasic-66167360-12410558 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:07:23,176 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2c7df377-427d-4a2a-a0dc-f58eb6e24fb8 2025-10-27 20:07:23,473 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/2c7df377-427d-4a2a-a0dc-f58eb6e24fb8 2025-10-27 20:07:23,503 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3e2848ad-126f-4bd8-9f7f-bd59e04475b1 2025-10-27 20:07:26,756 - 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 1018ms') 2025-10-27 20:07:26,756 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66167360-12410558 failed! 2025-10-27 20:07:26,809 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66167360:ctest-vn-62045896 is 174.232.204.65 and allocation pool is NOT set 2025-10-27 20:07:28,868 - 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=4.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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 = 1.180/2.680/4.180/1.500 ms') 2025-10-27 20:07:28,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66167360-12410558 passed 2025-10-27 20:07:29,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:07:29,017 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66167360-12410558, IP 174.232.204.67, Port 22 2025-10-27 20:07:29,173 - DEBUG - VM ctest-TestRoutersBasic-66167360-12410558 is ready for SSH connections 2025-10-27 20:07:29,173 - INFO - Waiting for VM ctest-TestRoutersBasic-66167360-87061738 to be up.. 2025-10-27 20:07:29,246 - DEBUG - VM is in ACTIVE state now 2025-10-27 20:07:29,246 - INFO - VM name : ctest-TestRoutersBasic-66167360-87061738 2025-10-27 20:07:29,314 - DEBUG - VM ctest-TestRoutersBasic-66167360-87061738 ID is 787364dd-b65a-4138-8d8f-147e34003958 2025-10-27 20:07:29,314 - DEBUG - VM ctest-TestRoutersBasic-66167360-87061738 launched on Node cn-jenkins-deploy-platform-ansible-os-4510-1 2025-10-27 20:07:29,384 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/787364dd-b65a-4138-8d8f-147e34003958 2025-10-27 20:07:29,392 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/ac894fc1-55dc-441c-a385-cdec646772a2 2025-10-27 20:07:30,625 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.362/1.559/2.757/1.197 ms') 2025-10-27 20:07:30,625 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66167360-87061738 passed 2025-10-27 20:07:30,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:07:30,777 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66167360-87061738, IP 9.79.165.131, Port 22 2025-10-27 20:07:30,933 - DEBUG - VM ctest-TestRoutersBasic-66167360-87061738 is ready for SSH connections 2025-10-27 20:07:30,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 20:07:30,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.79.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 20:07:30,933 - DEBUG - ping -s 56 -c 3 -W 1 9.79.165.131 2025-10-27 20:07:34,653 - DEBUG - PING 9.79.165.131 (9.79.165.131): 56 data bytes 64 bytes from 9.79.165.131: seq=0 ttl=62 time=7.516 ms 64 bytes from 9.79.165.131: seq=1 ttl=62 time=0.965 ms 64 bytes from 9.79.165.131: seq=2 ttl=62 time=0.861 ms --- 9.79.165.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/3.114/7.516 ms 2025-10-27 20:07:34,653 - INFO - Ping to IP 9.79.165.131 from VM ctest-TestRoutersBasic-66167360-12410558 passed 2025-10-27 20:07:34,653 - INFO - Deleting interface with subnet_id 99d7ab63-5702-4479-b686-bcd4fe0911c3, port_id None from router 2d0e86c6-8f08-4d98-a6ea-918ba6eb89af 2025-10-27 20:07:34,830 - INFO - Deleting VM ctest-TestRoutersBasic-66167360-87061738 2025-10-27 20:07:34,914 - INFO - Deleting VM ctest-TestRoutersBasic-66167360-12410558 2025-10-27 20:07:35,009 - INFO - Deleting VN ctest-ext_vn-39511598 2025-10-27 20:07:35,091 - DEBUG - VN dfc53c93-4f0a-4c3c-a827-ae0c82f82729 still in use: Unable to complete operation on network dfc53c93-4f0a-4c3c-a827-ae0c82f82729. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-889c1dda-67c6-4426-b9ab-4d9fd70ae80a'] 2025-10-27 20:07:35,091 - WARNING - Deleting VN ctest-ext_vn-39511598 failed..Will retry 2025-10-27 20:07:37,201 - DEBUG - Response for deleting network () 2025-10-27 20:07:37,201 - INFO - Deleting VN ctest-vn-62045896 2025-10-27 20:07:37,298 - DEBUG - Response for deleting network () 2025-10-27 20:07:37,551 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 20:07:37,551 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-27 20:07:37,551 - INFO - -------------------------------------------------------------------------------- 2025-10-27 20:07:38,228 - INFO - Deleted project: ctest-TestRoutersBasic-66167360, ID : d667d013-463b-4e25-8f0c-0d9ff6a58d79