2025-01-27 02:36:20,947 - INFO - Domain Default found not creating 2025-01-27 02:36:21,105 - INFO - Project ctest-TestRoutersBasic-12581855 not found, creating it 2025-01-27 02:36:21,560 - INFO - Created Project:ctest-TestRoutersBasic-12581855, ID : 50417048-a00e-42fc-9062-19d6e42a28fd 2025-01-27 02:36:23,018 - INFO - ================================================================================ 2025-01-27 02:36:23,018 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-27 02:36:23,018 - 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-01-27 02:36:23,289 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with 2025-01-27 02:36:23,289 - INFO - Initial checks done. Running the testcase now 2025-01-27 02:36:23,289 - INFO - 2025-01-27 02:36:23,981 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12581855 2025-01-27 02:36:24,075 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12581855 2025-01-27 02:36:24,394 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12581855', 'default']} 2025-01-27 02:36:24,689 - DEBUG - Response for create_network : {'network': {'id': '991d9cd0-6f19-44c1-a1f1-898105030f4e', 'name': 'ctest-vn-77017525', 'tenant_id': '50417048a00e42fc906219d6e42a28fd', 'project_id': '50417048a00e42fc906219d6e42a28fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12581855', 'ctest-vn-77017525'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:36:24,890 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b635ce55-9748-4397-8b73-bff7e76d562b', 'name': '', 'tenant_id': '50417048a00e42fc906219d6e42a28fd', 'network_id': '991d9cd0-6f19-44c1-a1f1-898105030f4e', 'ip_version': 4, 'cidr': '18.137.93.192/26', 'allocation_pools': [{'start': '18.137.93.194', 'end': '18.137.93.254'}], 'gateway_ip': '18.137.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.137.93.194', 'tags': [], 'project_id': '50417048a00e42fc906219d6e42a28fd'}} 2025-01-27 02:36:24,908 - INFO - Created VN ctest-vn-77017525 2025-01-27 02:36:24,963 - DEBUG - VN ctest-vn-77017525 UUID is 991d9cd0-6f19-44c1-a1f1-898105030f4e 2025-01-27 02:36:25,270 - DEBUG - Response for create_network : {'network': {'id': '630a74be-beef-41ce-80c7-49de9ffab3d9', 'name': 'ctest-ext_vn-46002247', 'tenant_id': '50417048a00e42fc906219d6e42a28fd', 'project_id': '50417048a00e42fc906219d6e42a28fd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12581855', 'ctest-ext_vn-46002247'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:36:25,626 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9e40096-1b02-4fb4-b088-1b6c1a96bf63', 'name': '', 'tenant_id': '50417048a00e42fc906219d6e42a28fd', 'network_id': '630a74be-beef-41ce-80c7-49de9ffab3d9', 'ip_version': 4, 'cidr': '133.41.71.128/26', 'allocation_pools': [{'start': '133.41.71.130', 'end': '133.41.71.190'}], 'gateway_ip': '133.41.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.41.71.130', 'tags': [], 'project_id': '50417048a00e42fc906219d6e42a28fd'}} 2025-01-27 02:36:25,643 - INFO - Created VN ctest-ext_vn-46002247 2025-01-27 02:36:25,695 - DEBUG - VN ctest-ext_vn-46002247 UUID is 630a74be-beef-41ce-80c7-49de9ffab3d9 2025-01-27 02:36:25,867 - DEBUG - Services list from nova: [, , ] 2025-01-27 02:36:26,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2664-1) 2025-01-27 02:36:27,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2664-1) 2025-01-27 02:36:28,049 - INFO - Setting gateway for router b78253ed-c333-43dd-80ed-be713ac35231 to network 630a74be-beef-41ce-80c7-49de9ffab3d9 2025-01-27 02:36:28,127 - INFO - Adding interface with subnet_id b635ce55-9748-4397-8b73-bff7e76d562b, port_id None to router b78253ed-c333-43dd-80ed-be713ac35231 2025-01-27 02:36:28,499 - INFO - Waiting for VM ctest-TestRoutersBasic-12581855-73737463 to be up.. 2025-01-27 02:36:28,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-27 02:36:33,785 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:36:33,785 - INFO - VM name : ctest-TestRoutersBasic-12581855-73737463 2025-01-27 02:36:33,867 - DEBUG - VM ctest-TestRoutersBasic-12581855-73737463 ID is 001cc46d-3933-4506-89e5-60fb9743adf8 2025-01-27 02:36:33,885 - DEBUG - VM ctest-TestRoutersBasic-12581855-73737463 launched on Node cn-jenkins-deploy-platform-ansible-os-2664-1 2025-01-27 02:36:33,971 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/001cc46d-3933-4506-89e5-60fb9743adf8 2025-01-27 02:36:34,266 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/001cc46d-3933-4506-89e5-60fb9743adf8 2025-01-27 02:36:34,297 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/65545fc6-7b2d-4c35-966c-04655af0a31a 2025-01-27 02:36:37,556 - 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 1011ms') 2025-01-27 02:36:37,556 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12581855-73737463 failed! 2025-01-27 02:36:37,611 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12581855:ctest-vn-77017525 is 18.137.93.193 and allocation pool is NOT set 2025-01-27 02:36:39,673 - 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=4.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/2.236/4.090/1.853 ms') 2025-01-27 02:36:39,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12581855-73737463 passed 2025-01-27 02:36:39,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:36:39,787 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12581855-73737463, IP 18.137.93.195, Port 22 2025-01-27 02:36:39,943 - DEBUG - VM ctest-TestRoutersBasic-12581855-73737463 is ready for SSH connections 2025-01-27 02:36:39,943 - INFO - Waiting for VM ctest-TestRoutersBasic-12581855-26257088 to be up.. 2025-01-27 02:36:40,034 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:36:40,034 - INFO - VM name : ctest-TestRoutersBasic-12581855-26257088 2025-01-27 02:36:40,108 - DEBUG - VM ctest-TestRoutersBasic-12581855-26257088 ID is 1013d8f1-ea1b-49e1-92f2-abb1af1733c2 2025-01-27 02:36:40,108 - DEBUG - VM ctest-TestRoutersBasic-12581855-26257088 launched on Node cn-jenkins-deploy-platform-ansible-os-2664-1 2025-01-27 02:36:40,186 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/1013d8f1-ea1b-49e1-92f2-abb1af1733c2 2025-01-27 02:36:40,197 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/b665ee93-e06e-4290-a80a-bf8aa76eba7f 2025-01-27 02:36:41,441 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.615/2.803/1.188 ms') 2025-01-27 02:36:41,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12581855-26257088 passed 2025-01-27 02:36:41,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:36:41,595 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12581855-26257088, IP 133.41.71.131, Port 22 2025-01-27 02:36:41,769 - DEBUG - VM ctest-TestRoutersBasic-12581855-26257088 is ready for SSH connections 2025-01-27 02:36:41,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:36:41,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.41.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-27 02:36:41,769 - DEBUG - ping -s 56 -c 3 -W 1 133.41.71.131 2025-01-27 02:36:45,773 - DEBUG - PING 133.41.71.131 (133.41.71.131): 56 data bytes 64 bytes from 133.41.71.131: seq=0 ttl=62 time=7.327 ms 64 bytes from 133.41.71.131: seq=1 ttl=62 time=0.828 ms 64 bytes from 133.41.71.131: seq=2 ttl=62 time=0.945 ms --- 133.41.71.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.828/3.033/7.327 ms 2025-01-27 02:36:45,773 - INFO - Ping to IP 133.41.71.131 from VM ctest-TestRoutersBasic-12581855-73737463 passed 2025-01-27 02:36:45,773 - INFO - Deleting interface with subnet_id b635ce55-9748-4397-8b73-bff7e76d562b, port_id None from router b78253ed-c333-43dd-80ed-be713ac35231 2025-01-27 02:36:46,008 - INFO - Deleting VM ctest-TestRoutersBasic-12581855-26257088 2025-01-27 02:36:46,069 - INFO - Deleting VM ctest-TestRoutersBasic-12581855-73737463 2025-01-27 02:36:46,147 - INFO - Deleting VN ctest-ext_vn-46002247 2025-01-27 02:36:46,222 - DEBUG - VN 630a74be-beef-41ce-80c7-49de9ffab3d9 still in use: Unable to complete operation on network 630a74be-beef-41ce-80c7-49de9ffab3d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1d265b6-d382-47e7-9148-488e43fdc333'] 2025-01-27 02:36:46,223 - WARNING - Deleting VN ctest-ext_vn-46002247 failed..Will retry 2025-01-27 02:36:48,324 - DEBUG - Response for deleting network () 2025-01-27 02:36:48,325 - INFO - Deleting VN ctest-vn-77017525 2025-01-27 02:36:48,433 - DEBUG - Response for deleting network () 2025-01-27 02:36:48,688 - DEBUG - No XMPP flaps were noticed during the test 2025-01-27 02:36:48,688 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-01-27 02:36:48,688 - INFO - -------------------------------------------------------------------------------- 2025-01-27 02:36:49,346 - INFO - Deleted project: ctest-TestRoutersBasic-12581855, ID : 50417048-a00e-42fc-9062-19d6e42a28fd