2026-04-27 13:53:16,374 - INFO - Domain Default found not creating 2026-04-27 13:53:16,597 - INFO - Project ctest-TestRoutersBasic-42229372 not found, creating it 2026-04-27 13:53:17,139 - INFO - Created Project:ctest-TestRoutersBasic-42229372, ID : 05c954d4-8e83-4d38-9d96-5bd2d72c035a 2026-04-27 13:53:18,821 - INFO - ================================================================================ 2026-04-27 13:53:18,821 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-27 13:53:18,821 - 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-04-27 13:53:19,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-04-27 13:53:19,083 - INFO - Initial checks done. Running the testcase now 2026-04-27 13:53:19,083 - INFO - 2026-04-27 13:53:19,864 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42229372 2026-04-27 13:53:19,966 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42229372 2026-04-27 13:53:20,297 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42229372', 'default']} 2026-04-27 13:53:20,649 - DEBUG - Response for create_network : {'network': {'id': '2d29a81e-9b04-473a-bbe0-4e7b8416016f', 'name': 'ctest-vn-86951311', 'tenant_id': '05c954d48e834d389d965bd2d72c035a', 'project_id': '05c954d48e834d389d965bd2d72c035a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42229372', 'ctest-vn-86951311'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 13:53:20,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '171d8507-3a1b-423e-9437-24a23ff557c1', 'name': '', 'tenant_id': '05c954d48e834d389d965bd2d72c035a', 'network_id': '2d29a81e-9b04-473a-bbe0-4e7b8416016f', 'ip_version': 4, 'cidr': '87.227.70.64/26', 'allocation_pools': [{'start': '87.227.70.66', 'end': '87.227.70.126'}], 'gateway_ip': '87.227.70.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.227.70.66', 'tags': [], 'project_id': '05c954d48e834d389d965bd2d72c035a'}} 2026-04-27 13:53:20,890 - INFO - Created VN ctest-vn-86951311 2026-04-27 13:53:20,946 - DEBUG - VN ctest-vn-86951311 UUID is 2d29a81e-9b04-473a-bbe0-4e7b8416016f 2026-04-27 13:53:21,311 - DEBUG - Response for create_network : {'network': {'id': 'afb8560b-446c-474d-abda-1c0b423b3d3b', 'name': 'ctest-ext_vn-38198634', 'tenant_id': '05c954d48e834d389d965bd2d72c035a', 'project_id': '05c954d48e834d389d965bd2d72c035a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42229372', 'ctest-ext_vn-38198634'], 'port_security_enabled': True, 'description': ''}} 2026-04-27 13:53:21,497 - DEBUG - Response for create_subnet : {'subnet': {'id': '07fac264-fd8c-43cd-a431-2bddad077823', 'name': '', 'tenant_id': '05c954d48e834d389d965bd2d72c035a', 'network_id': 'afb8560b-446c-474d-abda-1c0b423b3d3b', 'ip_version': 4, 'cidr': '171.91.50.0/26', 'allocation_pools': [{'start': '171.91.50.2', 'end': '171.91.50.62'}], 'gateway_ip': '171.91.50.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.91.50.2', 'tags': [], 'project_id': '05c954d48e834d389d965bd2d72c035a'}} 2026-04-27 13:53:21,522 - INFO - Created VN ctest-ext_vn-38198634 2026-04-27 13:53:21,578 - DEBUG - VN ctest-ext_vn-38198634 UUID is afb8560b-446c-474d-abda-1c0b423b3d3b 2026-04-27 13:53:21,770 - DEBUG - Services list from nova: [, , ] 2026-04-27 13:53:22,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5696-1) 2026-04-27 13:53:24,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5696-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5696-1) 2026-04-27 13:53:24,339 - INFO - Setting gateway for router faf5403d-f545-4ea8-9f82-c76b7121b968 to network afb8560b-446c-474d-abda-1c0b423b3d3b 2026-04-27 13:53:24,412 - INFO - Adding interface with subnet_id 171d8507-3a1b-423e-9437-24a23ff557c1, port_id None to router faf5403d-f545-4ea8-9f82-c76b7121b968 2026-04-27 13:53:24,942 - INFO - Waiting for VM ctest-TestRoutersBasic-42229372-50268222 to be up.. 2026-04-27 13:53:25,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-27 13:53:30,246 - DEBUG - VM is in ACTIVE state now 2026-04-27 13:53:30,247 - INFO - VM name : ctest-TestRoutersBasic-42229372-50268222 2026-04-27 13:53:30,354 - DEBUG - VM ctest-TestRoutersBasic-42229372-50268222 ID is 19f18015-ad4c-44e1-aece-424a23b5e9d2 2026-04-27 13:53:30,379 - DEBUG - VM ctest-TestRoutersBasic-42229372-50268222 launched on Node cn-jenkins-deploy-platform-ansible-os-5696-1 2026-04-27 13:53:30,481 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/19f18015-ad4c-44e1-aece-424a23b5e9d2 2026-04-27 13:53:30,792 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/19f18015-ad4c-44e1-aece-424a23b5e9d2 2026-04-27 13:53:30,843 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b575ae99-a4fb-4d91-b656-b4121495cf47 2026-04-27 13:53:34,110 - 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 1013ms') 2026-04-27 13:53:34,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42229372-50268222 failed! 2026-04-27 13:53:34,170 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42229372:ctest-vn-86951311 is 87.227.70.65 and allocation pool is NOT set 2026-04-27 13:53:36,232 - 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=6.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.943 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.943/3.547/6.152/2.604 ms') 2026-04-27 13:53:36,232 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42229372-50268222 passed 2026-04-27 13:53:36,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:53:36,382 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42229372-50268222, IP 87.227.70.67, Port 22 2026-04-27 13:53:36,552 - DEBUG - VM ctest-TestRoutersBasic-42229372-50268222 is ready for SSH connections 2026-04-27 13:53:36,552 - INFO - Waiting for VM ctest-TestRoutersBasic-42229372-40451990 to be up.. 2026-04-27 13:53:36,654 - DEBUG - VM is in ACTIVE state now 2026-04-27 13:53:36,654 - INFO - VM name : ctest-TestRoutersBasic-42229372-40451990 2026-04-27 13:53:36,763 - DEBUG - VM ctest-TestRoutersBasic-42229372-40451990 ID is 92237579-5574-4058-bc13-e954e97f41d7 2026-04-27 13:53:36,763 - DEBUG - VM ctest-TestRoutersBasic-42229372-40451990 launched on Node cn-jenkins-deploy-platform-ansible-os-5696-1 2026-04-27 13:53:36,858 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/92237579-5574-4058-bc13-e954e97f41d7 2026-04-27 13:53:36,869 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e88b2f66-fd3a-451e-aa73-3b580b0e69b8 2026-04-27 13:53:38,115 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.971 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.971/2.453/3.936/1.482 ms') 2026-04-27 13:53:38,115 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42229372-40451990 passed 2026-04-27 13:53:38,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:53:38,270 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42229372-40451990, IP 171.91.50.3, Port 22 2026-04-27 13:53:38,437 - DEBUG - VM ctest-TestRoutersBasic-42229372-40451990 is ready for SSH connections 2026-04-27 13:53:38,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-27 13:53:38,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.91.50.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-04-27 13:53:38,438 - DEBUG - ping -s 56 -c 3 -W 1 171.91.50.3 2026-04-27 13:53:42,185 - DEBUG - PING 171.91.50.3 (171.91.50.3): 56 data bytes 64 bytes from 171.91.50.3: seq=0 ttl=62 time=4.965 ms 64 bytes from 171.91.50.3: seq=1 ttl=62 time=1.346 ms 64 bytes from 171.91.50.3: seq=2 ttl=62 time=1.269 ms --- 171.91.50.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.269/2.526/4.965 ms 2026-04-27 13:53:42,186 - INFO - Ping to IP 171.91.50.3 from VM ctest-TestRoutersBasic-42229372-50268222 passed 2026-04-27 13:53:42,186 - INFO - Deleting interface with subnet_id 171d8507-3a1b-423e-9437-24a23ff557c1, port_id None from router faf5403d-f545-4ea8-9f82-c76b7121b968 2026-04-27 13:53:42,417 - INFO - Deleting VM ctest-TestRoutersBasic-42229372-40451990 2026-04-27 13:53:42,508 - INFO - Deleting VM ctest-TestRoutersBasic-42229372-50268222 2026-04-27 13:53:42,605 - INFO - Deleting VN ctest-ext_vn-38198634 2026-04-27 13:53:42,689 - DEBUG - VN afb8560b-446c-474d-abda-1c0b423b3d3b still in use: Unable to complete operation on network afb8560b-446c-474d-abda-1c0b423b3d3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea6a4150-61a8-41a5-8786-348e4ddd8461'] 2026-04-27 13:53:42,689 - WARNING - Deleting VN ctest-ext_vn-38198634 failed..Will retry 2026-04-27 13:53:44,804 - DEBUG - Response for deleting network () 2026-04-27 13:53:44,804 - INFO - Deleting VN ctest-vn-86951311 2026-04-27 13:53:44,926 - DEBUG - Response for deleting network () 2026-04-27 13:53:45,198 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 13:53:45,198 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2026-04-27 13:53:45,199 - INFO - -------------------------------------------------------------------------------- 2026-04-27 13:53:45,968 - INFO - Deleted project: ctest-TestRoutersBasic-42229372, ID : 05c954d4-8e83-4d38-9d96-5bd2d72c035a