2026-01-28 21:35:04,088 - INFO - Domain Default found not creating 2026-01-28 21:35:04,267 - INFO - Project ctest-TestRoutersBasic-65290482 not found, creating it 2026-01-28 21:35:04,741 - INFO - Created Project:ctest-TestRoutersBasic-65290482, ID : b00f3dc3-0957-4033-89af-008c9914a900 2026-01-28 21:35:06,206 - INFO - ================================================================================ 2026-01-28 21:35:06,206 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 21:35:06,206 - 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-01-28 21:35:06,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-28 21:35:06,465 - INFO - Initial checks done. Running the testcase now 2026-01-28 21:35:06,465 - INFO - 2026-01-28 21:35:07,194 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65290482 2026-01-28 21:35:07,292 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65290482 2026-01-28 21:35:07,603 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65290482', 'default']} 2026-01-28 21:35:07,891 - DEBUG - Response for create_network : {'network': {'id': 'b0425b2f-f543-4a01-891e-04cafc988f09', 'name': 'ctest-vn-22375301', 'tenant_id': 'b00f3dc30957403389af008c9914a900', 'project_id': 'b00f3dc30957403389af008c9914a900', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65290482', 'ctest-vn-22375301'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:35:08,044 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0042a3e-8580-487f-a34e-bd69ca0c2ee2', 'name': '', 'tenant_id': 'b00f3dc30957403389af008c9914a900', 'network_id': 'b0425b2f-f543-4a01-891e-04cafc988f09', 'ip_version': 4, 'cidr': '21.113.136.64/26', 'allocation_pools': [{'start': '21.113.136.66', 'end': '21.113.136.126'}], 'gateway_ip': '21.113.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.113.136.66', 'tags': [], 'project_id': 'b00f3dc30957403389af008c9914a900'}} 2026-01-28 21:35:08,071 - INFO - Created VN ctest-vn-22375301 2026-01-28 21:35:08,123 - DEBUG - VN ctest-vn-22375301 UUID is b0425b2f-f543-4a01-891e-04cafc988f09 2026-01-28 21:35:08,482 - DEBUG - Response for create_network : {'network': {'id': 'a84cccaf-6d24-4f53-8729-5f5d0cc08061', 'name': 'ctest-ext_vn-45585194', 'tenant_id': 'b00f3dc30957403389af008c9914a900', 'project_id': 'b00f3dc30957403389af008c9914a900', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65290482', 'ctest-ext_vn-45585194'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:35:08,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '643fe1bc-efbd-48aa-97cb-b4743c8527f6', 'name': '', 'tenant_id': 'b00f3dc30957403389af008c9914a900', 'network_id': 'a84cccaf-6d24-4f53-8729-5f5d0cc08061', 'ip_version': 4, 'cidr': '30.216.247.64/26', 'allocation_pools': [{'start': '30.216.247.66', 'end': '30.216.247.126'}], 'gateway_ip': '30.216.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.216.247.66', 'tags': [], 'project_id': 'b00f3dc30957403389af008c9914a900'}} 2026-01-28 21:35:08,690 - INFO - Created VN ctest-ext_vn-45585194 2026-01-28 21:35:08,739 - DEBUG - VN ctest-ext_vn-45585194 UUID is a84cccaf-6d24-4f53-8729-5f5d0cc08061 2026-01-28 21:35:08,942 - DEBUG - Services list from nova: [, , ] 2026-01-28 21:35:09,967 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5106-1) 2026-01-28 21:35:11,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5106-1) 2026-01-28 21:35:11,186 - INFO - Setting gateway for router 8f5d6833-4938-442e-9444-a0d2c46f2532 to network a84cccaf-6d24-4f53-8729-5f5d0cc08061 2026-01-28 21:35:11,251 - INFO - Adding interface with subnet_id f0042a3e-8580-487f-a34e-bd69ca0c2ee2, port_id None to router 8f5d6833-4938-442e-9444-a0d2c46f2532 2026-01-28 21:35:11,553 - INFO - Waiting for VM ctest-TestRoutersBasic-65290482-09680722 to be up.. 2026-01-28 21:35:11,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 21:35:16,755 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:35:16,755 - INFO - VM name : ctest-TestRoutersBasic-65290482-09680722 2026-01-28 21:35:16,822 - DEBUG - VM ctest-TestRoutersBasic-65290482-09680722 ID is 3c06ab94-bc28-4b20-8f33-08afe953c5dd 2026-01-28 21:35:16,842 - DEBUG - VM ctest-TestRoutersBasic-65290482-09680722 launched on Node cn-jenkins-deploy-platform-ansible-os-5106-1 2026-01-28 21:35:16,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3c06ab94-bc28-4b20-8f33-08afe953c5dd 2026-01-28 21:35:17,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3c06ab94-bc28-4b20-8f33-08afe953c5dd 2026-01-28 21:35:17,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7bd121e-b626-489f-a53b-4ba1c0db1397 2026-01-28 21:35:20,513 - 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 1019ms') 2026-01-28 21:35:20,513 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65290482-09680722 failed! 2026-01-28 21:35:20,567 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65290482:ctest-vn-22375301 is 21.113.136.65 and allocation pool is NOT set 2026-01-28 21:35:22,634 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.337 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.337/1.692/3.047/1.355 ms') 2026-01-28 21:35:22,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65290482-09680722 passed 2026-01-28 21:35:22,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:35:22,788 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65290482-09680722, IP 21.113.136.67, Port 22 2026-01-28 21:35:22,951 - DEBUG - VM ctest-TestRoutersBasic-65290482-09680722 is ready for SSH connections 2026-01-28 21:35:22,951 - INFO - Waiting for VM ctest-TestRoutersBasic-65290482-34537156 to be up.. 2026-01-28 21:35:23,026 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:35:23,026 - INFO - VM name : ctest-TestRoutersBasic-65290482-34537156 2026-01-28 21:35:23,116 - DEBUG - VM ctest-TestRoutersBasic-65290482-34537156 ID is 5f3bcf4c-a6d0-4ee7-8f5d-bc7f8ab39fd2 2026-01-28 21:35:23,116 - DEBUG - VM ctest-TestRoutersBasic-65290482-34537156 launched on Node cn-jenkins-deploy-platform-ansible-os-5106-1 2026-01-28 21:35:23,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5f3bcf4c-a6d0-4ee7-8f5d-bc7f8ab39fd2 2026-01-28 21:35:23,209 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57e90a18-cfd0-4f89-bd2f-61b9d8f0b7d7 2026-01-28 21:35:24,451 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.644/2.823/1.179 ms') 2026-01-28 21:35:24,451 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65290482-34537156 passed 2026-01-28 21:35:24,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:35:24,608 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65290482-34537156, IP 30.216.247.67, Port 22 2026-01-28 21:35:24,771 - DEBUG - VM ctest-TestRoutersBasic-65290482-34537156 is ready for SSH connections 2026-01-28 21:35:24,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:35:24,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.216.247.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-28 21:35:24,772 - DEBUG - ping -s 56 -c 3 -W 1 30.216.247.67 2026-01-28 21:35:28,783 - DEBUG - PING 30.216.247.67 (30.216.247.67): 56 data bytes 64 bytes from 30.216.247.67: seq=0 ttl=62 time=7.112 ms 64 bytes from 30.216.247.67: seq=1 ttl=62 time=1.598 ms 64 bytes from 30.216.247.67: seq=2 ttl=62 time=1.077 ms --- 30.216.247.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.077/3.262/7.112 ms 2026-01-28 21:35:28,783 - INFO - Ping to IP 30.216.247.67 from VM ctest-TestRoutersBasic-65290482-09680722 passed 2026-01-28 21:35:28,783 - INFO - Deleting interface with subnet_id f0042a3e-8580-487f-a34e-bd69ca0c2ee2, port_id None from router 8f5d6833-4938-442e-9444-a0d2c46f2532 2026-01-28 21:35:28,963 - INFO - Deleting VM ctest-TestRoutersBasic-65290482-34537156 2026-01-28 21:35:29,026 - INFO - Deleting VM ctest-TestRoutersBasic-65290482-09680722 2026-01-28 21:35:29,098 - INFO - Deleting VN ctest-ext_vn-45585194 2026-01-28 21:35:29,156 - DEBUG - VN a84cccaf-6d24-4f53-8729-5f5d0cc08061 still in use: Unable to complete operation on network a84cccaf-6d24-4f53-8729-5f5d0cc08061. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c33e7863-da15-423e-b234-e61c6bf0e66a'] 2026-01-28 21:35:29,156 - WARNING - Deleting VN ctest-ext_vn-45585194 failed..Will retry 2026-01-28 21:35:31,249 - DEBUG - Response for deleting network () 2026-01-28 21:35:31,249 - INFO - Deleting VN ctest-vn-22375301 2026-01-28 21:35:31,346 - DEBUG - Response for deleting network () 2026-01-28 21:35:31,600 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 21:35:31,600 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-28 21:35:31,600 - INFO - -------------------------------------------------------------------------------- 2026-01-28 21:35:32,295 - INFO - Deleted project: ctest-TestRoutersBasic-65290482, ID : b00f3dc3-0957-4033-89af-008c9914a900