2025-10-14 12:06:26,470 - INFO - Domain Default found not creating 2025-10-14 12:06:26,626 - INFO - Project ctest-TestRoutersBasic-06779293 not found, creating it 2025-10-14 12:06:27,123 - INFO - Created Project:ctest-TestRoutersBasic-06779293, ID : 42129a39-7b3b-4668-bf25-f800c228c36b 2025-10-14 12:06:28,582 - INFO - ================================================================================ 2025-10-14 12:06:28,582 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-14 12:06:28,582 - 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-14 12:06:28,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-10-14 12:06:28,835 - INFO - Initial checks done. Running the testcase now 2025-10-14 12:06:28,835 - INFO - 2025-10-14 12:06:29,522 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06779293 2025-10-14 12:06:29,618 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06779293 2025-10-14 12:06:29,937 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06779293', 'default']} 2025-10-14 12:06:30,230 - DEBUG - Response for create_network : {'network': {'id': '97bec91a-0daa-4470-a0d1-648c54c1287a', 'name': 'ctest-vn-11350105', 'tenant_id': '42129a397b3b4668bf25f800c228c36b', 'project_id': '42129a397b3b4668bf25f800c228c36b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06779293', 'ctest-vn-11350105'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:06:30,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d3382a3-1c70-46a0-a7a4-07b0f075f8f9', 'name': '', 'tenant_id': '42129a397b3b4668bf25f800c228c36b', 'network_id': '97bec91a-0daa-4470-a0d1-648c54c1287a', 'ip_version': 4, 'cidr': '113.209.3.64/26', 'allocation_pools': [{'start': '113.209.3.66', 'end': '113.209.3.126'}], 'gateway_ip': '113.209.3.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.209.3.66', 'tags': [], 'project_id': '42129a397b3b4668bf25f800c228c36b'}} 2025-10-14 12:06:30,426 - INFO - Created VN ctest-vn-11350105 2025-10-14 12:06:30,478 - DEBUG - VN ctest-vn-11350105 UUID is 97bec91a-0daa-4470-a0d1-648c54c1287a 2025-10-14 12:06:30,782 - DEBUG - Response for create_network : {'network': {'id': '4ec00d63-afa4-447d-99af-8a9bd34cd4ce', 'name': 'ctest-ext_vn-55237849', 'tenant_id': '42129a397b3b4668bf25f800c228c36b', 'project_id': '42129a397b3b4668bf25f800c228c36b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06779293', 'ctest-ext_vn-55237849'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:06:30,952 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a24b2577-2818-4c8d-934a-b66ba110d41b', 'name': '', 'tenant_id': '42129a397b3b4668bf25f800c228c36b', 'network_id': '4ec00d63-afa4-447d-99af-8a9bd34cd4ce', 'ip_version': 4, 'cidr': '54.2.41.128/26', 'allocation_pools': [{'start': '54.2.41.130', 'end': '54.2.41.190'}], 'gateway_ip': '54.2.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.2.41.130', 'tags': [], 'project_id': '42129a397b3b4668bf25f800c228c36b'}} 2025-10-14 12:06:30,970 - INFO - Created VN ctest-ext_vn-55237849 2025-10-14 12:06:31,021 - DEBUG - VN ctest-ext_vn-55237849 UUID is 4ec00d63-afa4-447d-99af-8a9bd34cd4ce 2025-10-14 12:06:31,228 - DEBUG - Services list from nova: [, , ] 2025-10-14 12:06:32,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4313-1) 2025-10-14 12:06:33,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4313-1) 2025-10-14 12:06:33,409 - INFO - Setting gateway for router 4cbcb265-aaa6-46d6-a340-a8976808da7e to network 4ec00d63-afa4-447d-99af-8a9bd34cd4ce 2025-10-14 12:06:33,548 - INFO - Adding interface with subnet_id 1d3382a3-1c70-46a0-a7a4-07b0f075f8f9, port_id None to router 4cbcb265-aaa6-46d6-a340-a8976808da7e 2025-10-14 12:06:33,961 - INFO - Waiting for VM ctest-TestRoutersBasic-06779293-85543746 to be up.. 2025-10-14 12:06:34,151 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 12:06:39,217 - DEBUG - VM is in ACTIVE state now 2025-10-14 12:06:39,217 - INFO - VM name : ctest-TestRoutersBasic-06779293-85543746 2025-10-14 12:06:39,286 - DEBUG - VM ctest-TestRoutersBasic-06779293-85543746 ID is e09c7a6f-8305-4434-be77-59055379b298 2025-10-14 12:06:39,304 - DEBUG - VM ctest-TestRoutersBasic-06779293-85543746 launched on Node cn-jenkins-deploy-platform-ansible-os-4313-1 2025-10-14 12:06:39,376 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e09c7a6f-8305-4434-be77-59055379b298 2025-10-14 12:06:39,665 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e09c7a6f-8305-4434-be77-59055379b298 2025-10-14 12:06:39,694 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b06daf87-b222-4547-9f8d-a8df4a7cc0ad 2025-10-14 12:06:42,931 - 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 1009ms') 2025-10-14 12:06:42,931 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06779293-85543746 failed! 2025-10-14 12:06:42,986 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06779293:ctest-vn-11350105 is 113.209.3.65 and allocation pool is NOT set 2025-10-14 12:06:45,042 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.579 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.579/1.939/3.300/1.360 ms') 2025-10-14 12:06:45,042 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06779293-85543746 passed 2025-10-14 12:06:45,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:06:45,202 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06779293-85543746, IP 113.209.3.67, Port 22 2025-10-14 12:06:45,357 - DEBUG - VM ctest-TestRoutersBasic-06779293-85543746 is ready for SSH connections 2025-10-14 12:06:45,357 - INFO - Waiting for VM ctest-TestRoutersBasic-06779293-58617194 to be up.. 2025-10-14 12:06:45,443 - DEBUG - VM is in ACTIVE state now 2025-10-14 12:06:45,443 - INFO - VM name : ctest-TestRoutersBasic-06779293-58617194 2025-10-14 12:06:45,521 - DEBUG - VM ctest-TestRoutersBasic-06779293-58617194 ID is 76eaefde-7c26-4421-8d2f-78a608d0735b 2025-10-14 12:06:45,521 - DEBUG - VM ctest-TestRoutersBasic-06779293-58617194 launched on Node cn-jenkins-deploy-platform-ansible-os-4313-1 2025-10-14 12:06:45,586 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/76eaefde-7c26-4421-8d2f-78a608d0735b 2025-10-14 12:06:45,594 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/088d59ac-38d5-4407-b8d1-aad9d327566a 2025-10-14 12:06:46,822 - 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=5.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.794 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.794/2.898/5.002/2.104 ms') 2025-10-14 12:06:46,822 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06779293-58617194 passed 2025-10-14 12:06:46,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:06:46,970 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06779293-58617194, IP 54.2.41.131, Port 22 2025-10-14 12:06:47,136 - DEBUG - VM ctest-TestRoutersBasic-06779293-58617194 is ready for SSH connections 2025-10-14 12:06:47,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:06:47,136 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.2.41.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-14 12:06:47,136 - DEBUG - ping -s 56 -c 3 -W 1 54.2.41.131 2025-10-14 12:06:50,907 - DEBUG - PING 54.2.41.131 (54.2.41.131): 56 data bytes 64 bytes from 54.2.41.131: seq=0 ttl=62 time=7.555 ms 64 bytes from 54.2.41.131: seq=1 ttl=62 time=0.813 ms 64 bytes from 54.2.41.131: seq=2 ttl=62 time=0.890 ms --- 54.2.41.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/3.086/7.555 ms 2025-10-14 12:06:50,907 - INFO - Ping to IP 54.2.41.131 from VM ctest-TestRoutersBasic-06779293-85543746 passed 2025-10-14 12:06:50,907 - INFO - Deleting interface with subnet_id 1d3382a3-1c70-46a0-a7a4-07b0f075f8f9, port_id None from router 4cbcb265-aaa6-46d6-a340-a8976808da7e 2025-10-14 12:06:51,076 - INFO - Deleting VM ctest-TestRoutersBasic-06779293-58617194 2025-10-14 12:06:51,140 - INFO - Deleting VM ctest-TestRoutersBasic-06779293-85543746 2025-10-14 12:06:51,219 - INFO - Deleting VN ctest-ext_vn-55237849 2025-10-14 12:06:51,278 - DEBUG - VN 4ec00d63-afa4-447d-99af-8a9bd34cd4ce still in use: Unable to complete operation on network 4ec00d63-afa4-447d-99af-8a9bd34cd4ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ffe9d621-b4e9-48be-bf10-5a9412667360'] 2025-10-14 12:06:51,278 - WARNING - Deleting VN ctest-ext_vn-55237849 failed..Will retry 2025-10-14 12:06:53,375 - DEBUG - Response for deleting network () 2025-10-14 12:06:53,375 - INFO - Deleting VN ctest-vn-11350105 2025-10-14 12:06:53,470 - DEBUG - Response for deleting network () 2025-10-14 12:06:53,726 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 12:06:53,726 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-14 12:06:53,727 - INFO - -------------------------------------------------------------------------------- 2025-10-14 12:06:54,432 - INFO - Deleted project: ctest-TestRoutersBasic-06779293, ID : 42129a39-7b3b-4668-bf25-f800c228c36b