2026-10-07 09:59:53,119 - INFO - Domain Default found not creating 2026-10-07 09:59:53,284 - INFO - Project ctest-TestRoutersBasic-11813681 not found, creating it 2026-10-07 09:59:53,741 - INFO - Created Project:ctest-TestRoutersBasic-11813681, ID : ca7b61eb-5e36-4361-ac31-04b9982e88d3 2026-10-07 09:59:55,496 - INFO - ================================================================================ 2026-10-07 09:59:55,496 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-07 09:59:55,496 - 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-10-07 09:59:55,752 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-07 09:59:55,752 - INFO - Initial checks done. Running the testcase now 2026-10-07 09:59:55,753 - INFO - 2026-10-07 09:59:56,595 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-11813681 2026-10-07 09:59:56,690 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-11813681 2026-10-07 09:59:57,014 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11813681', 'default']} 2026-10-07 09:59:57,307 - DEBUG - Response for create_network : {'network': {'id': '4e649a0f-a2dc-4a81-bdbe-8ddf99ec48df', 'name': 'ctest-vn-55575234', 'tenant_id': 'ca7b61eb5e364361ac3104b9982e88d3', 'project_id': 'ca7b61eb5e364361ac3104b9982e88d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11813681', 'ctest-vn-55575234'], 'port_security_enabled': True, 'description': ''}} 2026-10-07 09:59:57,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0fe7580-ecc7-4db4-9f1b-83016977ce2b', 'name': '', 'tenant_id': 'ca7b61eb5e364361ac3104b9982e88d3', 'network_id': '4e649a0f-a2dc-4a81-bdbe-8ddf99ec48df', 'ip_version': 4, 'cidr': '123.135.192.64/26', 'allocation_pools': [{'start': '123.135.192.66', 'end': '123.135.192.126'}], 'gateway_ip': '123.135.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.135.192.66', 'tags': [], 'project_id': 'ca7b61eb5e364361ac3104b9982e88d3'}} 2026-10-07 09:59:57,481 - INFO - Created VN ctest-vn-55575234 2026-10-07 09:59:57,534 - DEBUG - VN ctest-vn-55575234 UUID is 4e649a0f-a2dc-4a81-bdbe-8ddf99ec48df 2026-10-07 09:59:57,839 - DEBUG - Response for create_network : {'network': {'id': 'c22720a7-57a5-4378-adb2-f91eafaf8aba', 'name': 'ctest-ext_vn-41430018', 'tenant_id': 'ca7b61eb5e364361ac3104b9982e88d3', 'project_id': 'ca7b61eb5e364361ac3104b9982e88d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-11813681', 'ctest-ext_vn-41430018'], 'port_security_enabled': True, 'description': ''}} 2026-10-07 09:59:58,061 - DEBUG - Response for create_subnet : {'subnet': {'id': '53b13102-7458-4f67-8e7b-e5f7b2f14b87', 'name': '', 'tenant_id': 'ca7b61eb5e364361ac3104b9982e88d3', 'network_id': 'c22720a7-57a5-4378-adb2-f91eafaf8aba', 'ip_version': 4, 'cidr': '6.192.55.64/26', 'allocation_pools': [{'start': '6.192.55.66', 'end': '6.192.55.126'}], 'gateway_ip': '6.192.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.192.55.66', 'tags': [], 'project_id': 'ca7b61eb5e364361ac3104b9982e88d3'}} 2026-10-07 09:59:58,076 - INFO - Created VN ctest-ext_vn-41430018 2026-10-07 09:59:58,126 - DEBUG - VN ctest-ext_vn-41430018 UUID is c22720a7-57a5-4378-adb2-f91eafaf8aba 2026-10-07 09:59:58,322 - DEBUG - Services list from nova: [, , ] 2026-10-07 09:59:58,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6354-1) 2026-10-07 09:59:59,020 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6354-1) 2026-10-07 09:59:59,081 - INFO - Setting gateway for router fb45d570-53f4-471b-b13d-6b081fde3b4c to network c22720a7-57a5-4378-adb2-f91eafaf8aba 2026-10-07 09:59:59,135 - INFO - Adding interface with subnet_id f0fe7580-ecc7-4db4-9f1b-83016977ce2b, port_id None to router fb45d570-53f4-471b-b13d-6b081fde3b4c 2026-10-07 09:59:59,442 - INFO - Waiting for VM ctest-TestRoutersBasic-11813681-44249844 to be up.. 2026-10-07 09:59:59,501 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:04,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:09,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:14,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:19,866 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:24,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:30,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:35,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 10:00:40,167 - DEBUG - VM is in ACTIVE state now 2026-10-07 10:00:40,167 - INFO - VM name : ctest-TestRoutersBasic-11813681-44249844 2026-10-07 10:00:40,236 - DEBUG - VM ctest-TestRoutersBasic-11813681-44249844 ID is f61faf77-59a0-42bc-a6b8-a3811d7b7a07 2026-10-07 10:00:40,254 - DEBUG - VM ctest-TestRoutersBasic-11813681-44249844 launched on Node cn-jenkins-deploy-platform-ansible-os-6354-1 2026-10-07 10:00:40,328 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/f61faf77-59a0-42bc-a6b8-a3811d7b7a07 2026-10-07 10:00:40,702 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/f61faf77-59a0-42bc-a6b8-a3811d7b7a07 2026-10-07 10:00:40,735 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/b65fd17f-e763-40ec-82a1-dfce5f41005b 2026-10-07 10:00:43,996 - 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 1013ms') 2026-10-07 10:00:43,996 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-11813681-44249844 failed! 2026-10-07 10:00:44,058 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-11813681:ctest-vn-55575234 is 123.135.192.65 and allocation pool is NOT set 2026-10-07 10:00:46,123 - 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=3.46 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.524 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.524/1.989/3.455/1.465 ms') 2026-10-07 10:00:46,123 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-11813681-44249844 passed 2026-10-07 10:00:46,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:00:46,278 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11813681-44249844, IP 123.135.192.67, Port 22 2026-10-07 10:00:46,444 - DEBUG - VM ctest-TestRoutersBasic-11813681-44249844 is ready for SSH connections 2026-10-07 10:00:46,444 - INFO - Waiting for VM ctest-TestRoutersBasic-11813681-59018822 to be up.. 2026-10-07 10:00:46,519 - DEBUG - VM is in ACTIVE state now 2026-10-07 10:00:46,519 - INFO - VM name : ctest-TestRoutersBasic-11813681-59018822 2026-10-07 10:00:46,657 - DEBUG - VM ctest-TestRoutersBasic-11813681-59018822 ID is 5e2c1b9e-36cd-4c5e-b23d-7dc9df6ea7d2 2026-10-07 10:00:46,657 - DEBUG - VM ctest-TestRoutersBasic-11813681-59018822 launched on Node cn-jenkins-deploy-platform-ansible-os-6354-1 2026-10-07 10:00:46,733 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5e2c1b9e-36cd-4c5e-b23d-7dc9df6ea7d2 2026-10-07 10:00:46,741 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/ded3bbea-b87f-4a9f-9b14-8f50a17b45ec 2026-10-07 10:00:50,006 - 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=2 ttl=63 time=10.7 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 10.651/10.651/10.651/0.000 ms') 2026-10-07 10:00:50,006 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-11813681-59018822 passed 2026-10-07 10:00:50,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:00:50,158 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-11813681-59018822, IP 6.192.55.68, Port 22 2026-10-07 10:00:50,324 - DEBUG - VM ctest-TestRoutersBasic-11813681-59018822 is ready for SSH connections 2026-10-07 10:00:50,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 10:00:50,324 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.192.55.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-07 10:00:50,324 - DEBUG - ping -s 56 -c 3 -W 1 6.192.55.68 2026-10-07 10:00:53,289 - DEBUG - PING 6.192.55.68 (6.192.55.68): 56 data bytes 64 bytes from 6.192.55.68: seq=0 ttl=62 time=8.680 ms 64 bytes from 6.192.55.68: seq=1 ttl=62 time=1.044 ms 64 bytes from 6.192.55.68: seq=2 ttl=62 time=1.219 ms --- 6.192.55.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.044/3.647/8.680 ms 2026-10-07 10:00:53,289 - INFO - Ping to IP 6.192.55.68 from VM ctest-TestRoutersBasic-11813681-44249844 passed 2026-10-07 10:00:53,289 - INFO - Deleting interface with subnet_id f0fe7580-ecc7-4db4-9f1b-83016977ce2b, port_id None from router fb45d570-53f4-471b-b13d-6b081fde3b4c 2026-10-07 10:00:53,510 - INFO - Deleting VM ctest-TestRoutersBasic-11813681-59018822 2026-10-07 10:00:53,600 - INFO - Deleting VM ctest-TestRoutersBasic-11813681-44249844 2026-10-07 10:00:53,672 - INFO - Deleting VN ctest-ext_vn-41430018 2026-10-07 10:00:53,749 - DEBUG - VN c22720a7-57a5-4378-adb2-f91eafaf8aba still in use: Unable to complete operation on network c22720a7-57a5-4378-adb2-f91eafaf8aba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f256bee3-8031-4889-8b70-b8c00440e35f'] 2026-10-07 10:00:53,750 - WARNING - Deleting VN ctest-ext_vn-41430018 failed..Will retry 2026-10-07 10:00:55,875 - DEBUG - Response for deleting network () 2026-10-07 10:00:55,875 - INFO - Deleting VN ctest-vn-55575234 2026-10-07 10:00:55,992 - DEBUG - Response for deleting network () 2026-10-07 10:00:56,270 - DEBUG - No XMPP flaps were noticed during the test
2026-10-07 10:00:56,271 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:01]
2026-10-07 10:00:56,271 - INFO - -------------------------------------------------------------------------------- 2026-10-07 10:00:57,054 - INFO - Deleted project: ctest-TestRoutersBasic-11813681, ID : ca7b61eb-5e36-4361-ac31-04b9982e88d3