2025-10-22 15:11:00,810 - INFO - Domain Default found not creating 2025-10-22 15:11:01,126 - INFO - Project ctest-TestRoutersBasic-85905024 not found, creating it 2025-10-22 15:11:01,786 - INFO - Created Project:ctest-TestRoutersBasic-85905024, ID : 685bc400-9143-466f-900b-efac24074746 2025-10-22 15:11:03,848 - INFO - ================================================================================ 2025-10-22 15:11:03,849 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 15:11:03,849 - 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-10-22 15:11:04,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-22 15:11:04,124 - INFO - Initial checks done. Running the testcase now 2025-10-22 15:11:04,124 - INFO - 2025-10-22 15:11:04,935 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-85905024 2025-10-22 15:11:05,042 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-85905024 2025-10-22 15:11:05,441 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85905024', 'default']} 2025-10-22 15:11:05,936 - DEBUG - Response for create_network : {'network': {'id': '3ce7492b-2936-4e04-9274-8642a33e0988', 'name': 'ctest-vn-26075284', 'tenant_id': '685bc4009143466f900befac24074746', 'project_id': '685bc4009143466f900befac24074746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85905024', 'ctest-vn-26075284'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:11:06,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '58add24c-3287-47d9-8e3e-f673f96d2a4a', 'name': '', 'tenant_id': '685bc4009143466f900befac24074746', 'network_id': '3ce7492b-2936-4e04-9274-8642a33e0988', 'ip_version': 4, 'cidr': '204.218.112.64/26', 'allocation_pools': [{'start': '204.218.112.66', 'end': '204.218.112.126'}], 'gateway_ip': '204.218.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.218.112.66', 'tags': [], 'project_id': '685bc4009143466f900befac24074746'}} 2025-10-22 15:11:06,129 - INFO - Created VN ctest-vn-26075284 2025-10-22 15:11:06,185 - DEBUG - VN ctest-vn-26075284 UUID is 3ce7492b-2936-4e04-9274-8642a33e0988 2025-10-22 15:11:06,622 - DEBUG - Response for create_network : {'network': {'id': '069688f5-6db2-4933-b03b-ee21c141b203', 'name': 'ctest-ext_vn-20380804', 'tenant_id': '685bc4009143466f900befac24074746', 'project_id': '685bc4009143466f900befac24074746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-85905024', 'ctest-ext_vn-20380804'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:11:06,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '90ec4965-82f8-4ee5-8857-bde695a70ba7', 'name': '', 'tenant_id': '685bc4009143466f900befac24074746', 'network_id': '069688f5-6db2-4933-b03b-ee21c141b203', 'ip_version': 4, 'cidr': '64.128.151.0/26', 'allocation_pools': [{'start': '64.128.151.2', 'end': '64.128.151.62'}], 'gateway_ip': '64.128.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.128.151.2', 'tags': [], 'project_id': '685bc4009143466f900befac24074746'}} 2025-10-22 15:11:06,856 - INFO - Created VN ctest-ext_vn-20380804 2025-10-22 15:11:06,913 - DEBUG - VN ctest-ext_vn-20380804 UUID is 069688f5-6db2-4933-b03b-ee21c141b203 2025-10-22 15:11:07,136 - DEBUG - Services list from nova: [, , ] 2025-10-22 15:11:08,287 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4433-1) 2025-10-22 15:11:09,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4433-1) 2025-10-22 15:11:09,645 - INFO - Setting gateway for router 0a9719f3-9554-4b41-a5a2-23ae929357fd to network 069688f5-6db2-4933-b03b-ee21c141b203 2025-10-22 15:11:09,710 - INFO - Adding interface with subnet_id 58add24c-3287-47d9-8e3e-f673f96d2a4a, port_id None to router 0a9719f3-9554-4b41-a5a2-23ae929357fd 2025-10-22 15:11:10,233 - INFO - Waiting for VM ctest-TestRoutersBasic-85905024-98643219 to be up.. 2025-10-22 15:11:10,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 15:11:15,547 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:11:15,547 - INFO - VM name : ctest-TestRoutersBasic-85905024-98643219 2025-10-22 15:11:15,676 - DEBUG - VM ctest-TestRoutersBasic-85905024-98643219 ID is 7cc2d7ea-c979-4e6d-9442-d2f4948b812b 2025-10-22 15:11:15,702 - DEBUG - VM ctest-TestRoutersBasic-85905024-98643219 launched on Node cn-jenkins-deploy-platform-ansible-os-4433-1 2025-10-22 15:11:15,848 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7cc2d7ea-c979-4e6d-9442-d2f4948b812b 2025-10-22 15:11:16,199 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/7cc2d7ea-c979-4e6d-9442-d2f4948b812b 2025-10-22 15:11:16,248 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b1ea8f29-2523-4b17-b885-7b4037a9fc65 2025-10-22 15:11:19,591 - 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 1027ms') 2025-10-22 15:11:19,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85905024-98643219 failed! 2025-10-22 15:11:19,645 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-85905024:ctest-vn-26075284 is 204.218.112.65 and allocation pool is NOT set 2025-10-22 15:11:21,733 - 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=5.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.61 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 1.613/3.417/5.221/1.804 ms') 2025-10-22 15:11:21,733 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-85905024-98643219 passed 2025-10-22 15:11:21,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:11:21,894 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85905024-98643219, IP 204.218.112.67, Port 22 2025-10-22 15:11:22,072 - DEBUG - VM ctest-TestRoutersBasic-85905024-98643219 is ready for SSH connections 2025-10-22 15:11:22,072 - INFO - Waiting for VM ctest-TestRoutersBasic-85905024-12027019 to be up.. 2025-10-22 15:11:22,186 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:11:22,186 - INFO - VM name : ctest-TestRoutersBasic-85905024-12027019 2025-10-22 15:11:22,303 - DEBUG - VM ctest-TestRoutersBasic-85905024-12027019 ID is d08e8832-c210-4ea7-8a71-c105839a58f3 2025-10-22 15:11:22,303 - DEBUG - VM ctest-TestRoutersBasic-85905024-12027019 launched on Node cn-jenkins-deploy-platform-ansible-os-4433-1 2025-10-22 15:11:22,442 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/d08e8832-c210-4ea7-8a71-c105839a58f3 2025-10-22 15:11:22,456 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e61c9be0-163b-4b75-9947-b5df6fb5e63a 2025-10-22 15:11:23,717 - 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=4.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.940 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.940/2.586/4.232/1.646 ms') 2025-10-22 15:11:23,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-85905024-12027019 passed 2025-10-22 15:11:23,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:11:23,898 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-85905024-12027019, IP 64.128.151.3, Port 22 2025-10-22 15:11:24,103 - DEBUG - VM ctest-TestRoutersBasic-85905024-12027019 is ready for SSH connections 2025-10-22 15:11:24,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:11:24,103 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.128.151.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 15:11:24,104 - DEBUG - ping -s 56 -c 3 -W 1 64.128.151.3 2025-10-22 15:11:28,281 - DEBUG - PING 64.128.151.3 (64.128.151.3): 56 data bytes 64 bytes from 64.128.151.3: seq=0 ttl=62 time=6.149 ms 64 bytes from 64.128.151.3: seq=1 ttl=62 time=1.960 ms 64 bytes from 64.128.151.3: seq=2 ttl=62 time=1.785 ms --- 64.128.151.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.785/3.298/6.149 ms 2025-10-22 15:11:28,281 - INFO - Ping to IP 64.128.151.3 from VM ctest-TestRoutersBasic-85905024-98643219 passed 2025-10-22 15:11:28,281 - INFO - Deleting interface with subnet_id 58add24c-3287-47d9-8e3e-f673f96d2a4a, port_id None from router 0a9719f3-9554-4b41-a5a2-23ae929357fd 2025-10-22 15:11:28,606 - INFO - Deleting VM ctest-TestRoutersBasic-85905024-12027019 2025-10-22 15:11:28,675 - INFO - Deleting VM ctest-TestRoutersBasic-85905024-98643219 2025-10-22 15:11:28,764 - INFO - Deleting VN ctest-ext_vn-20380804 2025-10-22 15:11:28,861 - DEBUG - VN 069688f5-6db2-4933-b03b-ee21c141b203 still in use: Unable to complete operation on network 069688f5-6db2-4933-b03b-ee21c141b203. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4e2f13a7-9321-4381-a718-ae22d4cfcd8a'] 2025-10-22 15:11:28,861 - WARNING - Deleting VN ctest-ext_vn-20380804 failed..Will retry 2025-10-22 15:11:31,035 - DEBUG - Response for deleting network () 2025-10-22 15:11:31,035 - INFO - Deleting VN ctest-vn-26075284 2025-10-22 15:11:31,160 - DEBUG - Response for deleting network () 2025-10-22 15:11:31,471 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 15:11:31,471 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-10-22 15:11:31,472 - INFO - -------------------------------------------------------------------------------- 2025-10-22 15:11:32,305 - INFO - Deleted project: ctest-TestRoutersBasic-85905024, ID : 685bc400-9143-466f-900b-efac24074746