2026-09-10 14:31:18,231 - INFO - Domain Default found not creating 2026-09-10 14:31:18,424 - INFO - Project ctest-TestRoutersBasic-15539682 not found, creating it 2026-09-10 14:31:18,936 - INFO - Created Project:ctest-TestRoutersBasic-15539682, ID : 0d4558f9-b551-4ffa-8f7d-138ee185fed1 2026-09-10 14:31:20,554 - INFO - ================================================================================ 2026-09-10 14:31:20,554 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-10 14:31:20,554 - 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 2026-09-10 14:31:20,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-09-10 14:31:20,827 - INFO - Initial checks done. Running the testcase now 2026-09-10 14:31:20,828 - INFO - 2026-09-10 14:31:21,655 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15539682 2026-09-10 14:31:21,753 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15539682 2026-09-10 14:31:22,076 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15539682', 'default']} 2026-09-10 14:31:22,387 - DEBUG - Response for create_network : {'network': {'id': '442245f5-7681-4040-832d-e0ec8d3b5cfc', 'name': 'ctest-vn-56694611', 'tenant_id': '0d4558f9b5514ffa8f7d138ee185fed1', 'project_id': '0d4558f9b5514ffa8f7d138ee185fed1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15539682', 'ctest-vn-56694611'], 'port_security_enabled': True, 'description': ''}} 2026-09-10 14:31:22,615 - DEBUG - Response for create_subnet : {'subnet': {'id': '048c9b78-5be4-4af1-b846-e748638f0f62', 'name': '', 'tenant_id': '0d4558f9b5514ffa8f7d138ee185fed1', 'network_id': '442245f5-7681-4040-832d-e0ec8d3b5cfc', 'ip_version': 4, 'cidr': '170.61.213.0/26', 'allocation_pools': [{'start': '170.61.213.2', 'end': '170.61.213.62'}], 'gateway_ip': '170.61.213.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.61.213.2', 'tags': [], 'project_id': '0d4558f9b5514ffa8f7d138ee185fed1'}} 2026-09-10 14:31:22,633 - INFO - Created VN ctest-vn-56694611 2026-09-10 14:31:22,689 - DEBUG - VN ctest-vn-56694611 UUID is 442245f5-7681-4040-832d-e0ec8d3b5cfc 2026-09-10 14:31:23,048 - DEBUG - Response for create_network : {'network': {'id': '54230b1e-9cab-4988-9adf-ef686350b6f9', 'name': 'ctest-ext_vn-05475631', 'tenant_id': '0d4558f9b5514ffa8f7d138ee185fed1', 'project_id': '0d4558f9b5514ffa8f7d138ee185fed1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15539682', 'ctest-ext_vn-05475631'], 'port_security_enabled': True, 'description': ''}} 2026-09-10 14:31:23,317 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7da1606-6625-4288-b7de-57bf8f614a3c', 'name': '', 'tenant_id': '0d4558f9b5514ffa8f7d138ee185fed1', 'network_id': '54230b1e-9cab-4988-9adf-ef686350b6f9', 'ip_version': 4, 'cidr': '111.111.201.0/26', 'allocation_pools': [{'start': '111.111.201.2', 'end': '111.111.201.62'}], 'gateway_ip': '111.111.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.111.201.2', 'tags': [], 'project_id': '0d4558f9b5514ffa8f7d138ee185fed1'}} 2026-09-10 14:31:23,335 - INFO - Created VN ctest-ext_vn-05475631 2026-09-10 14:31:23,389 - DEBUG - VN ctest-ext_vn-05475631 UUID is 54230b1e-9cab-4988-9adf-ef686350b6f9 2026-09-10 14:31:23,551 - DEBUG - Services list from nova: [, , ] 2026-09-10 14:31:23,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6274-1) 2026-09-10 14:31:24,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6274-1) 2026-09-10 14:31:24,373 - INFO - Setting gateway for router 6a817c7e-8649-49d9-a6e8-f9c03f74ab37 to network 54230b1e-9cab-4988-9adf-ef686350b6f9 2026-09-10 14:31:24,442 - INFO - Adding interface with subnet_id 048c9b78-5be4-4af1-b846-e748638f0f62, port_id None to router 6a817c7e-8649-49d9-a6e8-f9c03f74ab37 2026-09-10 14:31:24,783 - INFO - Waiting for VM ctest-TestRoutersBasic-15539682-51838769 to be up.. 2026-09-10 14:31:24,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:31:29,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:31:35,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:31:40,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:31:45,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:31:50,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:31:55,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:32:00,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-10 14:32:05,679 - DEBUG - VM is in ACTIVE state now 2026-09-10 14:32:05,679 - INFO - VM name : ctest-TestRoutersBasic-15539682-51838769 2026-09-10 14:32:05,773 - DEBUG - VM ctest-TestRoutersBasic-15539682-51838769 ID is 034b6dc6-8a4b-4db9-96e0-24c38783c72c 2026-09-10 14:32:05,799 - DEBUG - VM ctest-TestRoutersBasic-15539682-51838769 launched on Node cn-jenkins-deploy-platform-ansible-os-6274-1 2026-09-10 14:32:05,893 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/034b6dc6-8a4b-4db9-96e0-24c38783c72c 2026-09-10 14:32:06,235 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/034b6dc6-8a4b-4db9-96e0-24c38783c72c 2026-09-10 14:32:06,274 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/9f23576c-0f50-4eb6-943d-614958ffaf61 2026-09-10 14:32:09,587 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-09-10 14:32:09,587 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-15539682-51838769 failed! 2026-09-10 14:32:09,645 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15539682:ctest-vn-56694611 is 170.61.213.1 and allocation pool is NOT set 2026-09-10 14:32:11,706 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=10.4 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.961 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.961/5.701/10.441/4.740 ms') 2026-09-10 14:32:11,707 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-15539682-51838769 passed 2026-09-10 14:32:11,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-10 14:32:11,861 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15539682-51838769, IP 170.61.213.3, Port 22 2026-09-10 14:32:12,031 - DEBUG - VM ctest-TestRoutersBasic-15539682-51838769 is ready for SSH connections 2026-09-10 14:32:12,031 - INFO - Waiting for VM ctest-TestRoutersBasic-15539682-43884238 to be up.. 2026-09-10 14:32:12,121 - DEBUG - VM is in ACTIVE state now 2026-09-10 14:32:12,121 - INFO - VM name : ctest-TestRoutersBasic-15539682-43884238 2026-09-10 14:32:12,204 - DEBUG - VM ctest-TestRoutersBasic-15539682-43884238 ID is 44f98734-3add-4ac1-85c1-1c6bddb77824 2026-09-10 14:32:12,204 - DEBUG - VM ctest-TestRoutersBasic-15539682-43884238 launched on Node cn-jenkins-deploy-platform-ansible-os-6274-1 2026-09-10 14:32:12,284 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/44f98734-3add-4ac1-85c1-1c6bddb77824 2026-09-10 14:32:12,292 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/635dd01f-ff9d-4288-afa5-89a64b7cdce3 2026-09-10 14:32:13,541 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.21 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.522 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.522/2.366/4.211/1.844 ms') 2026-09-10 14:32:13,541 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-15539682-43884238 passed 2026-09-10 14:32:13,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-10 14:32:13,697 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15539682-43884238, IP 111.111.201.4, Port 22 2026-09-10 14:32:13,863 - DEBUG - VM ctest-TestRoutersBasic-15539682-43884238 is ready for SSH connections 2026-09-10 14:32:13,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-10 14:32:13,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.111.201.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-10 14:32:13,864 - DEBUG - ping -s 56 -c 3 -W 1 111.111.201.4 2026-09-10 14:32:16,895 - DEBUG - PING 111.111.201.4 (111.111.201.4): 56 data bytes 64 bytes from 111.111.201.4: seq=0 ttl=62 time=9.156 ms 64 bytes from 111.111.201.4: seq=1 ttl=62 time=1.402 ms 64 bytes from 111.111.201.4: seq=2 ttl=62 time=1.474 ms --- 111.111.201.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.402/4.010/9.156 ms 2026-09-10 14:32:16,895 - INFO - Ping to IP 111.111.201.4 from VM ctest-TestRoutersBasic-15539682-51838769 passed 2026-09-10 14:32:16,895 - INFO - Deleting interface with subnet_id 048c9b78-5be4-4af1-b846-e748638f0f62, port_id None from router 6a817c7e-8649-49d9-a6e8-f9c03f74ab37 2026-09-10 14:32:17,159 - INFO - Deleting VM ctest-TestRoutersBasic-15539682-43884238 2026-09-10 14:32:17,249 - INFO - Deleting VM ctest-TestRoutersBasic-15539682-51838769 2026-09-10 14:32:17,329 - INFO - Deleting VN ctest-ext_vn-05475631 2026-09-10 14:32:17,504 - DEBUG - VN 54230b1e-9cab-4988-9adf-ef686350b6f9 still in use: Unable to complete operation on network 54230b1e-9cab-4988-9adf-ef686350b6f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5f8829c-2f6a-44df-be47-4e5891502a0a'] 2026-09-10 14:32:17,506 - WARNING - Deleting VN ctest-ext_vn-05475631 failed..Will retry 2026-09-10 14:32:19,659 - DEBUG - Response for deleting network () 2026-09-10 14:32:19,660 - INFO - Deleting VN ctest-vn-56694611 2026-09-10 14:32:19,779 - DEBUG - Response for deleting network () 2026-09-10 14:32:20,045 - DEBUG - No XMPP flaps were noticed during the test 2026-09-10 14:32:20,045 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00] 2026-09-10 14:32:20,045 - INFO - -------------------------------------------------------------------------------- 2026-09-10 14:32:20,816 - INFO - Deleted project: ctest-TestRoutersBasic-15539682, ID : 0d4558f9-b551-4ffa-8f7d-138ee185fed1