2026-08-14 08:28:43,673 - INFO - Domain Default found not creating 2026-08-14 08:28:43,839 - INFO - Project ctest-TestRoutersBasic-92188441 not found, creating it 2026-08-14 08:28:44,355 - INFO - Created Project:ctest-TestRoutersBasic-92188441, ID : 821804b5-d64f-4a86-bff3-f831208c94d4 2026-08-14 08:28:45,989 - INFO - ================================================================================ 2026-08-14 08:28:45,990 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-14 08:28:45,990 - 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-08-14 08:28:46,273 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with 2026-08-14 08:28:46,273 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:28:46,274 - INFO - 2026-08-14 08:28:47,054 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-92188441 2026-08-14 08:28:47,154 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-92188441 2026-08-14 08:28:47,485 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92188441', 'default']} 2026-08-14 08:28:47,797 - DEBUG - Response for create_network : {'network': {'id': 'a910611c-931e-44c4-bd7b-c3e99f909d48', 'name': 'ctest-vn-12227972', 'tenant_id': '821804b5d64f4a86bff3f831208c94d4', 'project_id': '821804b5d64f4a86bff3f831208c94d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92188441', 'ctest-vn-12227972'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:28:48,025 - DEBUG - Response for create_subnet : {'subnet': {'id': '815be68d-0906-4fd6-b2db-93f468b0446a', 'name': '', 'tenant_id': '821804b5d64f4a86bff3f831208c94d4', 'network_id': 'a910611c-931e-44c4-bd7b-c3e99f909d48', 'ip_version': 4, 'cidr': '196.58.74.128/26', 'allocation_pools': [{'start': '196.58.74.130', 'end': '196.58.74.190'}], 'gateway_ip': '196.58.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.58.74.130', 'tags': [], 'project_id': '821804b5d64f4a86bff3f831208c94d4'}} 2026-08-14 08:28:48,045 - INFO - Created VN ctest-vn-12227972 2026-08-14 08:28:48,098 - DEBUG - VN ctest-vn-12227972 UUID is a910611c-931e-44c4-bd7b-c3e99f909d48 2026-08-14 08:28:48,450 - DEBUG - Response for create_network : {'network': {'id': '11961170-b678-483c-8fd2-9538a0265bcc', 'name': 'ctest-ext_vn-77888429', 'tenant_id': '821804b5d64f4a86bff3f831208c94d4', 'project_id': '821804b5d64f4a86bff3f831208c94d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-92188441', 'ctest-ext_vn-77888429'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:28:48,678 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0bb0403-8637-4a35-be68-6c2d184a0255', 'name': '', 'tenant_id': '821804b5d64f4a86bff3f831208c94d4', 'network_id': '11961170-b678-483c-8fd2-9538a0265bcc', 'ip_version': 4, 'cidr': '159.137.60.64/26', 'allocation_pools': [{'start': '159.137.60.66', 'end': '159.137.60.126'}], 'gateway_ip': '159.137.60.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.137.60.66', 'tags': [], 'project_id': '821804b5d64f4a86bff3f831208c94d4'}} 2026-08-14 08:28:48,695 - INFO - Created VN ctest-ext_vn-77888429 2026-08-14 08:28:48,749 - DEBUG - VN ctest-ext_vn-77888429 UUID is 11961170-b678-483c-8fd2-9538a0265bcc 2026-08-14 08:28:48,962 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:28:49,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6158-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6158-30) 2026-08-14 08:28:49,731 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6158-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6158-30) 2026-08-14 08:28:49,809 - INFO - Setting gateway for router f07e81b5-0222-4658-bcbd-d5e8b2220c2a to network 11961170-b678-483c-8fd2-9538a0265bcc 2026-08-14 08:28:49,869 - INFO - Adding interface with subnet_id 815be68d-0906-4fd6-b2db-93f468b0446a, port_id None to router f07e81b5-0222-4658-bcbd-d5e8b2220c2a 2026-08-14 08:28:50,176 - INFO - Waiting for VM ctest-TestRoutersBasic-92188441-17560747 to be up.. 2026-08-14 08:28:50,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:28:55,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:29:00,400 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:29:05,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:29:10,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:29:15,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:29:20,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:29:25,870 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:29:30,951 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:29:30,951 - INFO - VM name : ctest-TestRoutersBasic-92188441-17560747 2026-08-14 08:29:31,030 - DEBUG - VM ctest-TestRoutersBasic-92188441-17560747 ID is 3f9044b1-9105-4e05-84a0-901eb78990f2 2026-08-14 08:29:31,049 - DEBUG - VM ctest-TestRoutersBasic-92188441-17560747 launched on Node cn-jenkins-deploy-platform-ansible-os-6158-30 2026-08-14 08:29:31,120 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/3f9044b1-9105-4e05-84a0-901eb78990f2 2026-08-14 08:29:31,452 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/3f9044b1-9105-4e05-84a0-901eb78990f2 2026-08-14 08:29:31,486 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/3bffa148-2d01-422c-9ad7-e3e04ae8faa5 2026-08-14 08:29:34,760 - 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 1031ms') 2026-08-14 08:29:34,760 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-92188441-17560747 failed! 2026-08-14 08:29:34,822 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-92188441:ctest-vn-12227972 is 196.58.74.129 and allocation pool is NOT set 2026-08-14 08:29:36,883 - 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.33 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.483 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.483/1.905/3.328/1.422 ms') 2026-08-14 08:29:36,883 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-92188441-17560747 passed 2026-08-14 08:29:37,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:29:37,034 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92188441-17560747, IP 196.58.74.131, Port 22 2026-08-14 08:29:37,197 - DEBUG - VM ctest-TestRoutersBasic-92188441-17560747 is ready for SSH connections 2026-08-14 08:29:37,197 - INFO - Waiting for VM ctest-TestRoutersBasic-92188441-19182028 to be up.. 2026-08-14 08:29:37,271 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:29:37,271 - INFO - VM name : ctest-TestRoutersBasic-92188441-19182028 2026-08-14 08:29:37,340 - DEBUG - VM ctest-TestRoutersBasic-92188441-19182028 ID is c4fc0e31-3b7c-4fdb-9b2e-2542a24f3fcc 2026-08-14 08:29:37,340 - DEBUG - VM ctest-TestRoutersBasic-92188441-19182028 launched on Node cn-jenkins-deploy-platform-ansible-os-6158-30 2026-08-14 08:29:37,419 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/c4fc0e31-3b7c-4fdb-9b2e-2542a24f3fcc 2026-08-14 08:29:37,427 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/7b7f2b8c-c8f0-43a3-a6b3-f54beac00af2 2026-08-14 08:29:38,663 - 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=3.66 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.454 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.454/2.055/3.656/1.601 ms') 2026-08-14 08:29:38,663 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-92188441-19182028 passed 2026-08-14 08:29:38,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:29:38,814 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-92188441-19182028, IP 159.137.60.68, Port 22 2026-08-14 08:29:38,980 - DEBUG - VM ctest-TestRoutersBasic-92188441-19182028 is ready for SSH connections 2026-08-14 08:29:38,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:29:38,980 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.137.60.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-08-14 08:29:38,980 - DEBUG - ping -s 56 -c 3 -W 1 159.137.60.68 2026-08-14 08:29:41,909 - DEBUG - PING 159.137.60.68 (159.137.60.68): 56 data bytes 64 bytes from 159.137.60.68: seq=0 ttl=62 time=5.848 ms 64 bytes from 159.137.60.68: seq=1 ttl=62 time=1.017 ms 64 bytes from 159.137.60.68: seq=2 ttl=62 time=1.273 ms --- 159.137.60.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.017/2.712/5.848 ms 2026-08-14 08:29:41,909 - INFO - Ping to IP 159.137.60.68 from VM ctest-TestRoutersBasic-92188441-17560747 passed 2026-08-14 08:29:41,910 - INFO - Deleting interface with subnet_id 815be68d-0906-4fd6-b2db-93f468b0446a, port_id None from router f07e81b5-0222-4658-bcbd-d5e8b2220c2a 2026-08-14 08:29:42,163 - INFO - Deleting VM ctest-TestRoutersBasic-92188441-19182028 2026-08-14 08:29:42,253 - INFO - Deleting VM ctest-TestRoutersBasic-92188441-17560747 2026-08-14 08:29:42,323 - INFO - Deleting VN ctest-ext_vn-77888429 2026-08-14 08:29:42,408 - DEBUG - VN 11961170-b678-483c-8fd2-9538a0265bcc still in use: Unable to complete operation on network 11961170-b678-483c-8fd2-9538a0265bcc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34770b3e-29e6-4005-84c0-34736bb7e8a3'] 2026-08-14 08:29:42,409 - WARNING - Deleting VN ctest-ext_vn-77888429 failed..Will retry 2026-08-14 08:29:44,570 - DEBUG - Response for deleting network () 2026-08-14 08:29:44,570 - INFO - Deleting VN ctest-vn-12227972 2026-08-14 08:29:44,684 - DEBUG - Response for deleting network () 2026-08-14 08:29:44,951 - DEBUG - No XMPP flaps were noticed during the test 2026-08-14 08:29:44,951 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59] 2026-08-14 08:29:44,951 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:29:45,676 - INFO - Deleted project: ctest-TestRoutersBasic-92188441, ID : 821804b5-d64f-4a86-bff3-f831208c94d4