2026-05-28 22:58:08,990 - INFO - Domain Default found not creating 2026-05-28 22:58:09,172 - INFO - Project ctest-TestRoutersBasic-71403540 not found, creating it 2026-05-28 22:58:09,641 - INFO - Created Project:ctest-TestRoutersBasic-71403540, ID : dbf63889-9044-4ac6-b474-de5dce20c476 2026-05-28 22:58:11,179 - INFO - ================================================================================ 2026-05-28 22:58:11,179 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-28 22:58:11,179 - 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-05-28 22:58:11,436 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-28 22:58:11,436 - INFO - Initial checks done. Running the testcase now 2026-05-28 22:58:11,436 - INFO - 2026-05-28 22:58:12,176 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71403540 2026-05-28 22:58:12,270 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71403540 2026-05-28 22:58:12,590 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71403540', 'default']} 2026-05-28 22:58:12,895 - DEBUG - Response for create_network : {'network': {'id': 'e4e6bec9-5680-4529-bcdc-523faadffde2', 'name': 'ctest-vn-34119962', 'tenant_id': 'dbf6388990444ac6b474de5dce20c476', 'project_id': 'dbf6388990444ac6b474de5dce20c476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71403540', 'ctest-vn-34119962'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 22:58:13,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f18b9c5-aa17-4eee-8bb8-452330738239', 'name': '', 'tenant_id': 'dbf6388990444ac6b474de5dce20c476', 'network_id': 'e4e6bec9-5680-4529-bcdc-523faadffde2', 'ip_version': 4, 'cidr': '135.111.59.128/26', 'allocation_pools': [{'start': '135.111.59.130', 'end': '135.111.59.190'}], 'gateway_ip': '135.111.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.111.59.130', 'tags': [], 'project_id': 'dbf6388990444ac6b474de5dce20c476'}} 2026-05-28 22:58:13,071 - INFO - Created VN ctest-vn-34119962 2026-05-28 22:58:13,122 - DEBUG - VN ctest-vn-34119962 UUID is e4e6bec9-5680-4529-bcdc-523faadffde2 2026-05-28 22:58:13,477 - DEBUG - Response for create_network : {'network': {'id': '9269e632-20a2-4660-bc2b-12c3ddfc2913', 'name': 'ctest-ext_vn-33958150', 'tenant_id': 'dbf6388990444ac6b474de5dce20c476', 'project_id': 'dbf6388990444ac6b474de5dce20c476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71403540', 'ctest-ext_vn-33958150'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 22:58:13,664 - DEBUG - Response for create_subnet : {'subnet': {'id': '8aa9cbb5-cdcc-4fd3-890e-f9cfbc9536ef', 'name': '', 'tenant_id': 'dbf6388990444ac6b474de5dce20c476', 'network_id': '9269e632-20a2-4660-bc2b-12c3ddfc2913', 'ip_version': 4, 'cidr': '155.183.37.0/26', 'allocation_pools': [{'start': '155.183.37.2', 'end': '155.183.37.62'}], 'gateway_ip': '155.183.37.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.183.37.2', 'tags': [], 'project_id': 'dbf6388990444ac6b474de5dce20c476'}} 2026-05-28 22:58:13,682 - INFO - Created VN ctest-ext_vn-33958150 2026-05-28 22:58:13,734 - DEBUG - VN ctest-ext_vn-33958150 UUID is 9269e632-20a2-4660-bc2b-12c3ddfc2913 2026-05-28 22:58:13,938 - DEBUG - Services list from nova: [, , ] 2026-05-28 22:58:14,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5848-1) 2026-05-28 22:58:16,186 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5848-1) 2026-05-28 22:58:16,264 - INFO - Setting gateway for router b2703e72-c67e-4f81-a297-fb1605d3caa0 to network 9269e632-20a2-4660-bc2b-12c3ddfc2913 2026-05-28 22:58:16,330 - INFO - Adding interface with subnet_id 0f18b9c5-aa17-4eee-8bb8-452330738239, port_id None to router b2703e72-c67e-4f81-a297-fb1605d3caa0 2026-05-28 22:58:16,706 - INFO - Waiting for VM ctest-TestRoutersBasic-71403540-13164898 to be up.. 2026-05-28 22:58:16,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 22:58:21,951 - DEBUG - VM is in ACTIVE state now 2026-05-28 22:58:21,951 - INFO - VM name : ctest-TestRoutersBasic-71403540-13164898 2026-05-28 22:58:22,026 - DEBUG - VM ctest-TestRoutersBasic-71403540-13164898 ID is 08c2a217-209d-40b3-810a-b0e696142012 2026-05-28 22:58:22,047 - DEBUG - VM ctest-TestRoutersBasic-71403540-13164898 launched on Node cn-jenkins-deploy-platform-ansible-os-5848-1 2026-05-28 22:58:22,121 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08c2a217-209d-40b3-810a-b0e696142012 2026-05-28 22:58:22,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08c2a217-209d-40b3-810a-b0e696142012 2026-05-28 22:58:22,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/119fe528-07e3-4a69-9a31-2f2cb902a083 2026-05-28 22:58:25,696 - 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 1006ms') 2026-05-28 22:58:25,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71403540-13164898 failed! 2026-05-28 22:58:25,754 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71403540:ctest-vn-34119962 is 135.111.59.129 and allocation pool is NOT set 2026-05-28 22:58:27,813 - 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.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.491 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.491/2.445/4.399/1.954 ms') 2026-05-28 22:58:27,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71403540-13164898 passed 2026-05-28 22:58:27,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 22:58:27,962 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71403540-13164898, IP 135.111.59.131, Port 22 2026-05-28 22:58:28,118 - DEBUG - VM ctest-TestRoutersBasic-71403540-13164898 is ready for SSH connections 2026-05-28 22:58:28,118 - INFO - Waiting for VM ctest-TestRoutersBasic-71403540-76894099 to be up.. 2026-05-28 22:58:28,197 - DEBUG - VM is in ACTIVE state now 2026-05-28 22:58:28,198 - INFO - VM name : ctest-TestRoutersBasic-71403540-76894099 2026-05-28 22:58:28,280 - DEBUG - VM ctest-TestRoutersBasic-71403540-76894099 ID is b0c4f08a-0bfb-42c4-becd-0631430f824d 2026-05-28 22:58:28,280 - DEBUG - VM ctest-TestRoutersBasic-71403540-76894099 launched on Node cn-jenkins-deploy-platform-ansible-os-5848-1 2026-05-28 22:58:28,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b0c4f08a-0bfb-42c4-becd-0631430f824d 2026-05-28 22:58:28,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/84d9c4ab-cd33-402d-ac79-12cd42db6447 2026-05-28 22:58:29,604 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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.551/2.231/3.912/1.680 ms') 2026-05-28 22:58:29,604 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71403540-76894099 passed 2026-05-28 22:58:29,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 22:58:29,754 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71403540-76894099, IP 155.183.37.3, Port 22 2026-05-28 22:58:29,923 - DEBUG - VM ctest-TestRoutersBasic-71403540-76894099 is ready for SSH connections 2026-05-28 22:58:29,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 22:58:29,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.183.37.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-28 22:58:29,924 - DEBUG - ping -s 56 -c 3 -W 1 155.183.37.3 2026-05-28 22:58:33,630 - DEBUG - PING 155.183.37.3 (155.183.37.3): 56 data bytes 64 bytes from 155.183.37.3: seq=0 ttl=62 time=5.210 ms 64 bytes from 155.183.37.3: seq=1 ttl=62 time=0.890 ms 64 bytes from 155.183.37.3: seq=2 ttl=62 time=1.219 ms --- 155.183.37.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.439/5.210 ms 2026-05-28 22:58:33,630 - INFO - Ping to IP 155.183.37.3 from VM ctest-TestRoutersBasic-71403540-13164898 passed 2026-05-28 22:58:33,630 - INFO - Deleting interface with subnet_id 0f18b9c5-aa17-4eee-8bb8-452330738239, port_id None from router b2703e72-c67e-4f81-a297-fb1605d3caa0 2026-05-28 22:58:33,820 - INFO - Deleting VM ctest-TestRoutersBasic-71403540-76894099 2026-05-28 22:58:33,895 - INFO - Deleting VM ctest-TestRoutersBasic-71403540-13164898 2026-05-28 22:58:33,977 - INFO - Deleting VN ctest-ext_vn-33958150 2026-05-28 22:58:34,033 - DEBUG - VN 9269e632-20a2-4660-bc2b-12c3ddfc2913 still in use: Unable to complete operation on network 9269e632-20a2-4660-bc2b-12c3ddfc2913. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1da3a4fe-5fd4-4b23-badc-0f2a5204ff86'] 2026-05-28 22:58:34,033 - WARNING - Deleting VN ctest-ext_vn-33958150 failed..Will retry 2026-05-28 22:58:36,133 - DEBUG - Response for deleting network () 2026-05-28 22:58:36,133 - INFO - Deleting VN ctest-vn-34119962 2026-05-28 22:58:36,229 - DEBUG - Response for deleting network () 2026-05-28 22:58:36,482 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 22:58:36,482 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-05-28 22:58:36,482 - INFO - -------------------------------------------------------------------------------- 2026-05-28 22:58:37,140 - INFO - Deleted project: ctest-TestRoutersBasic-71403540, ID : dbf63889-9044-4ac6-b474-de5dce20c476