2025-11-24 15:12:05,291 - INFO - Domain Default found not creating 2025-11-24 15:12:05,453 - INFO - Project ctest-TestRoutersBasic-65018427 not found, creating it 2025-11-24 15:12:05,903 - INFO - Created Project:ctest-TestRoutersBasic-65018427, ID : e57b5a61-d006-456c-b688-44fd74e5806f 2025-11-24 15:12:07,372 - INFO - ================================================================================ 2025-11-24 15:12:07,373 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 15:12:07,373 - 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 2025-11-24 15:12:07,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.18': '0'}} with 2025-11-24 15:12:07,632 - INFO - Initial checks done. Running the testcase now 2025-11-24 15:12:07,632 - INFO - 2025-11-24 15:12:08,402 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65018427 2025-11-24 15:12:08,499 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65018427 2025-11-24 15:12:08,822 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65018427', 'default']} 2025-11-24 15:12:09,125 - DEBUG - Response for create_network : {'network': {'id': '6bf5f0b3-7aea-49a3-9448-ce1039d975c3', 'name': 'ctest-vn-14733368', 'tenant_id': 'e57b5a61d006456cb68844fd74e5806f', 'project_id': 'e57b5a61d006456cb68844fd74e5806f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65018427', 'ctest-vn-14733368'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:12:09,299 - DEBUG - Response for create_subnet : {'subnet': {'id': '8175f860-84a9-4388-9dbb-14a7cb986b6c', 'name': '', 'tenant_id': 'e57b5a61d006456cb68844fd74e5806f', 'network_id': '6bf5f0b3-7aea-49a3-9448-ce1039d975c3', 'ip_version': 4, 'cidr': '148.244.194.64/26', 'allocation_pools': [{'start': '148.244.194.66', 'end': '148.244.194.126'}], 'gateway_ip': '148.244.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.244.194.66', 'tags': [], 'project_id': 'e57b5a61d006456cb68844fd74e5806f'}} 2025-11-24 15:12:09,316 - INFO - Created VN ctest-vn-14733368 2025-11-24 15:12:09,366 - DEBUG - VN ctest-vn-14733368 UUID is 6bf5f0b3-7aea-49a3-9448-ce1039d975c3 2025-11-24 15:12:09,715 - DEBUG - Response for create_network : {'network': {'id': '45f30fac-109f-4111-9f98-5866f082ebfc', 'name': 'ctest-ext_vn-73949353', 'tenant_id': 'e57b5a61d006456cb68844fd74e5806f', 'project_id': 'e57b5a61d006456cb68844fd74e5806f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65018427', 'ctest-ext_vn-73949353'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 15:12:09,871 - DEBUG - Response for create_subnet : {'subnet': {'id': '9578ae0c-44df-4a10-b41e-67da458629a9', 'name': '', 'tenant_id': 'e57b5a61d006456cb68844fd74e5806f', 'network_id': '45f30fac-109f-4111-9f98-5866f082ebfc', 'ip_version': 4, 'cidr': '126.90.53.0/26', 'allocation_pools': [{'start': '126.90.53.2', 'end': '126.90.53.62'}], 'gateway_ip': '126.90.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.90.53.2', 'tags': [], 'project_id': 'e57b5a61d006456cb68844fd74e5806f'}} 2025-11-24 15:12:09,889 - INFO - Created VN ctest-ext_vn-73949353 2025-11-24 15:12:09,942 - DEBUG - VN ctest-ext_vn-73949353 UUID is 45f30fac-109f-4111-9f98-5866f082ebfc 2025-11-24 15:12:10,103 - DEBUG - Services list from nova: [, , ] 2025-11-24 15:12:11,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4808-1) 2025-11-24 15:12:12,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4808-1) 2025-11-24 15:12:12,424 - INFO - Setting gateway for router 98f96e46-0a0c-45cf-9dd4-d6db513c7835 to network 45f30fac-109f-4111-9f98-5866f082ebfc 2025-11-24 15:12:12,484 - INFO - Adding interface with subnet_id 8175f860-84a9-4388-9dbb-14a7cb986b6c, port_id None to router 98f96e46-0a0c-45cf-9dd4-d6db513c7835 2025-11-24 15:12:12,820 - INFO - Waiting for VM ctest-TestRoutersBasic-65018427-73093729 to be up.. 2025-11-24 15:12:12,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 15:12:18,053 - DEBUG - VM is in ACTIVE state now 2025-11-24 15:12:18,053 - INFO - VM name : ctest-TestRoutersBasic-65018427-73093729 2025-11-24 15:12:18,122 - DEBUG - VM ctest-TestRoutersBasic-65018427-73093729 ID is 941d8b75-42e3-4fbc-abc1-3d622c1deaa2 2025-11-24 15:12:18,142 - DEBUG - VM ctest-TestRoutersBasic-65018427-73093729 launched on Node cn-jenkins-deploy-platform-ansible-os-4808-1 2025-11-24 15:12:18,215 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/941d8b75-42e3-4fbc-abc1-3d622c1deaa2 2025-11-24 15:12:18,511 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/941d8b75-42e3-4fbc-abc1-3d622c1deaa2 2025-11-24 15:12:18,549 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/22179274-b9e9-4573-99f0-87a66d6a34e4 2025-11-24 15:12:21,795 - 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 1007ms') 2025-11-24 15:12:21,795 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65018427-73093729 failed! 2025-11-24 15:12:21,850 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65018427:ctest-vn-14733368 is 148.244.194.65 and allocation pool is NOT set 2025-11-24 15:12:23,914 - 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=2.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.438/1.667/2.896/1.229 ms') 2025-11-24 15:12:23,914 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65018427-73093729 passed 2025-11-24 15:12:24,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:12:24,063 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65018427-73093729, IP 148.244.194.67, Port 22 2025-11-24 15:12:24,214 - DEBUG - VM ctest-TestRoutersBasic-65018427-73093729 is ready for SSH connections 2025-11-24 15:12:24,214 - INFO - Waiting for VM ctest-TestRoutersBasic-65018427-99359563 to be up.. 2025-11-24 15:12:24,296 - DEBUG - VM is in ACTIVE state now 2025-11-24 15:12:24,296 - INFO - VM name : ctest-TestRoutersBasic-65018427-99359563 2025-11-24 15:12:24,366 - DEBUG - VM ctest-TestRoutersBasic-65018427-99359563 ID is 081c7387-aa82-4678-9e94-62c1a44d0e42 2025-11-24 15:12:24,366 - DEBUG - VM ctest-TestRoutersBasic-65018427-99359563 launched on Node cn-jenkins-deploy-platform-ansible-os-4808-1 2025-11-24 15:12:24,453 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/081c7387-aa82-4678-9e94-62c1a44d0e42 2025-11-24 15:12:24,461 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/aaecc685-2aa3-47dd-b503-13e61167aaca 2025-11-24 15:12:25,692 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.525 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.525/1.618/2.712/1.093 ms') 2025-11-24 15:12:25,692 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65018427-99359563 passed 2025-11-24 15:12:25,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:12:25,839 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65018427-99359563, IP 126.90.53.3, Port 22 2025-11-24 15:12:25,994 - DEBUG - VM ctest-TestRoutersBasic-65018427-99359563 is ready for SSH connections 2025-11-24 15:12:25,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 15:12:25,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.90.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-24 15:12:25,994 - DEBUG - ping -s 56 -c 3 -W 1 126.90.53.3 2025-11-24 15:12:29,694 - DEBUG - PING 126.90.53.3 (126.90.53.3): 56 data bytes 64 bytes from 126.90.53.3: seq=0 ttl=62 time=6.552 ms 64 bytes from 126.90.53.3: seq=1 ttl=62 time=0.901 ms 64 bytes from 126.90.53.3: seq=2 ttl=62 time=0.990 ms --- 126.90.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/2.814/6.552 ms 2025-11-24 15:12:29,695 - INFO - Ping to IP 126.90.53.3 from VM ctest-TestRoutersBasic-65018427-73093729 passed 2025-11-24 15:12:29,695 - INFO - Deleting interface with subnet_id 8175f860-84a9-4388-9dbb-14a7cb986b6c, port_id None from router 98f96e46-0a0c-45cf-9dd4-d6db513c7835 2025-11-24 15:12:29,890 - INFO - Deleting VM ctest-TestRoutersBasic-65018427-99359563 2025-11-24 15:12:29,977 - INFO - Deleting VM ctest-TestRoutersBasic-65018427-73093729 2025-11-24 15:12:30,064 - INFO - Deleting VN ctest-ext_vn-73949353 2025-11-24 15:12:30,123 - DEBUG - VN 45f30fac-109f-4111-9f98-5866f082ebfc still in use: Unable to complete operation on network 45f30fac-109f-4111-9f98-5866f082ebfc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aea0f33d-1ea3-44b5-9400-bbe30c1ba59a'] 2025-11-24 15:12:30,123 - WARNING - Deleting VN ctest-ext_vn-73949353 failed..Will retry 2025-11-24 15:12:32,216 - DEBUG - Response for deleting network () 2025-11-24 15:12:32,216 - INFO - Deleting VN ctest-vn-14733368 2025-11-24 15:12:32,312 - DEBUG - Response for deleting network () 2025-11-24 15:12:32,567 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 15:12:32,567 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-24 15:12:32,567 - INFO - -------------------------------------------------------------------------------- 2025-11-24 15:12:33,228 - INFO - Deleted project: ctest-TestRoutersBasic-65018427, ID : e57b5a61-d006-456c-b688-44fd74e5806f