2025-10-13 12:51:42,733 - INFO - Domain Default found not creating 2025-10-13 12:51:42,863 - INFO - Project ctest-TestRoutersBasic-43653814 not found, creating it 2025-10-13 12:51:43,298 - INFO - Created Project:ctest-TestRoutersBasic-43653814, ID : 61c928dc-6893-4ed2-973d-5946c1711b6f 2025-10-13 12:51:44,684 - INFO - ================================================================================ 2025-10-13 12:51:44,684 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-13 12:51:44,684 - 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-13 12:51:44,938 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.193': '0'}} with 2025-10-13 12:51:44,938 - INFO - Initial checks done. Running the testcase now 2025-10-13 12:51:44,938 - INFO - 2025-10-13 12:51:45,623 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43653814 2025-10-13 12:51:45,717 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43653814 2025-10-13 12:51:46,036 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43653814', 'default']} 2025-10-13 12:51:46,322 - DEBUG - Response for create_network : {'network': {'id': '4858e6cb-6194-49b3-99a9-ea1d6808a405', 'name': 'ctest-vn-35186223', 'tenant_id': '61c928dc68934ed2973d5946c1711b6f', 'project_id': '61c928dc68934ed2973d5946c1711b6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43653814', 'ctest-vn-35186223'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:51:46,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '96af89c0-78cf-4278-b0d9-5c557ee16eb8', 'name': '', 'tenant_id': '61c928dc68934ed2973d5946c1711b6f', 'network_id': '4858e6cb-6194-49b3-99a9-ea1d6808a405', 'ip_version': 4, 'cidr': '142.4.127.192/26', 'allocation_pools': [{'start': '142.4.127.194', 'end': '142.4.127.254'}], 'gateway_ip': '142.4.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.4.127.194', 'tags': [], 'project_id': '61c928dc68934ed2973d5946c1711b6f'}} 2025-10-13 12:51:46,501 - INFO - Created VN ctest-vn-35186223 2025-10-13 12:51:46,553 - DEBUG - VN ctest-vn-35186223 UUID is 4858e6cb-6194-49b3-99a9-ea1d6808a405 2025-10-13 12:51:46,916 - DEBUG - Response for create_network : {'network': {'id': 'cf0628c6-dc1a-430c-9fb3-64e6d49b62ac', 'name': 'ctest-ext_vn-80661995', 'tenant_id': '61c928dc68934ed2973d5946c1711b6f', 'project_id': '61c928dc68934ed2973d5946c1711b6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43653814', 'ctest-ext_vn-80661995'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 12:51:47,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b5785a7-32f4-4c0d-9d7f-bd3685cde7ca', 'name': '', 'tenant_id': '61c928dc68934ed2973d5946c1711b6f', 'network_id': 'cf0628c6-dc1a-430c-9fb3-64e6d49b62ac', 'ip_version': 4, 'cidr': '89.76.237.192/26', 'allocation_pools': [{'start': '89.76.237.194', 'end': '89.76.237.254'}], 'gateway_ip': '89.76.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.76.237.194', 'tags': [], 'project_id': '61c928dc68934ed2973d5946c1711b6f'}} 2025-10-13 12:51:47,144 - INFO - Created VN ctest-ext_vn-80661995 2025-10-13 12:51:47,201 - DEBUG - VN ctest-ext_vn-80661995 UUID is cf0628c6-dc1a-430c-9fb3-64e6d49b62ac 2025-10-13 12:51:47,391 - DEBUG - Services list from nova: [, , ] 2025-10-13 12:51:48,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1) 2025-10-13 12:51:49,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4305-1) 2025-10-13 12:51:49,553 - INFO - Setting gateway for router 7e87c09c-4508-4813-9344-4746eab963c9 to network cf0628c6-dc1a-430c-9fb3-64e6d49b62ac 2025-10-13 12:51:49,594 - INFO - Adding interface with subnet_id 96af89c0-78cf-4278-b0d9-5c557ee16eb8, port_id None to router 7e87c09c-4508-4813-9344-4746eab963c9 2025-10-13 12:51:49,916 - INFO - Waiting for VM ctest-TestRoutersBasic-43653814-52228684 to be up.. 2025-10-13 12:51:50,026 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 12:51:55,094 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:51:55,094 - INFO - VM name : ctest-TestRoutersBasic-43653814-52228684 2025-10-13 12:51:55,171 - DEBUG - VM ctest-TestRoutersBasic-43653814-52228684 ID is 41bca9cc-31a6-41d2-8ad8-b0f488f09e2d 2025-10-13 12:51:55,190 - DEBUG - VM ctest-TestRoutersBasic-43653814-52228684 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1 2025-10-13 12:51:55,255 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/41bca9cc-31a6-41d2-8ad8-b0f488f09e2d 2025-10-13 12:51:55,550 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/41bca9cc-31a6-41d2-8ad8-b0f488f09e2d 2025-10-13 12:51:55,581 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/0646ce28-aacf-4d05-a855-2060bbfdf600 2025-10-13 12:51:58,840 - 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 1009ms') 2025-10-13 12:51:58,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43653814-52228684 failed! 2025-10-13 12:51:58,893 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43653814:ctest-vn-35186223 is 142.4.127.193 and allocation pool is NOT set 2025-10-13 12:52:00,948 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.471 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.471/1.887/3.303/1.416 ms') 2025-10-13 12:52:00,948 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43653814-52228684 passed 2025-10-13 12:52:01,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:52:01,097 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43653814-52228684, IP 142.4.127.195, Port 22 2025-10-13 12:52:01,248 - DEBUG - VM ctest-TestRoutersBasic-43653814-52228684 is ready for SSH connections 2025-10-13 12:52:01,248 - INFO - Waiting for VM ctest-TestRoutersBasic-43653814-57547996 to be up.. 2025-10-13 12:52:01,317 - DEBUG - VM is in ACTIVE state now 2025-10-13 12:52:01,318 - INFO - VM name : ctest-TestRoutersBasic-43653814-57547996 2025-10-13 12:52:01,382 - DEBUG - VM ctest-TestRoutersBasic-43653814-57547996 ID is 4d383667-ef67-42b8-b3c9-98f9533b3ddc 2025-10-13 12:52:01,383 - DEBUG - VM ctest-TestRoutersBasic-43653814-57547996 launched on Node cn-jenkins-deploy-platform-ansible-os-4305-1 2025-10-13 12:52:01,452 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/4d383667-ef67-42b8-b3c9-98f9533b3ddc 2025-10-13 12:52:01,461 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/44411271-1b0e-4856-adbe-8eccaa1c5c57 2025-10-13 12:52:02,690 - 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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.519 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.519/1.851/3.184/1.332 ms') 2025-10-13 12:52:02,690 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43653814-57547996 passed 2025-10-13 12:52:02,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:52:02,845 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43653814-57547996, IP 89.76.237.195, Port 22 2025-10-13 12:52:03,000 - DEBUG - VM ctest-TestRoutersBasic-43653814-57547996 is ready for SSH connections 2025-10-13 12:52:03,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 12:52:03,001 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.76.237.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-13 12:52:03,001 - DEBUG - ping -s 56 -c 3 -W 1 89.76.237.195 2025-10-13 12:52:06,683 - DEBUG - PING 89.76.237.195 (89.76.237.195): 56 data bytes 64 bytes from 89.76.237.195: seq=0 ttl=62 time=7.934 ms 64 bytes from 89.76.237.195: seq=1 ttl=62 time=1.113 ms 64 bytes from 89.76.237.195: seq=2 ttl=62 time=1.084 ms --- 89.76.237.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/3.377/7.934 ms 2025-10-13 12:52:06,683 - INFO - Ping to IP 89.76.237.195 from VM ctest-TestRoutersBasic-43653814-52228684 passed 2025-10-13 12:52:06,683 - INFO - Deleting interface with subnet_id 96af89c0-78cf-4278-b0d9-5c557ee16eb8, port_id None from router 7e87c09c-4508-4813-9344-4746eab963c9 2025-10-13 12:52:06,871 - INFO - Deleting VM ctest-TestRoutersBasic-43653814-57547996 2025-10-13 12:52:06,948 - INFO - Deleting VM ctest-TestRoutersBasic-43653814-52228684 2025-10-13 12:52:07,047 - INFO - Deleting VN ctest-ext_vn-80661995 2025-10-13 12:52:07,131 - DEBUG - VN cf0628c6-dc1a-430c-9fb3-64e6d49b62ac still in use: Unable to complete operation on network cf0628c6-dc1a-430c-9fb3-64e6d49b62ac. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81da31ac-6a42-43d9-904a-2c4727936e07'] 2025-10-13 12:52:07,131 - WARNING - Deleting VN ctest-ext_vn-80661995 failed..Will retry 2025-10-13 12:52:09,233 - DEBUG - Response for deleting network () 2025-10-13 12:52:09,233 - INFO - Deleting VN ctest-vn-35186223 2025-10-13 12:52:09,326 - DEBUG - Response for deleting network () 2025-10-13 12:52:09,578 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 12:52:09,578 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-13 12:52:09,578 - INFO - -------------------------------------------------------------------------------- 2025-10-13 12:52:10,260 - INFO - Deleted project: ctest-TestRoutersBasic-43653814, ID : 61c928dc-6893-4ed2-973d-5946c1711b6f