2025-02-06 16:54:30,077 - INFO - Domain Default found not creating 2025-02-06 16:54:30,212 - INFO - Project ctest-TestRoutersBasic-40313704 not found, creating it 2025-02-06 16:54:30,678 - INFO - Created Project:ctest-TestRoutersBasic-40313704, ID : 6b2aacd9-c9ed-4aae-89ad-57130f3677cc 2025-02-06 16:54:32,207 - INFO - ================================================================================ 2025-02-06 16:54:32,207 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-06 16:54:32,207 - 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-02-06 16:54:32,463 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.10': '0'}} with 2025-02-06 16:54:32,464 - INFO - Initial checks done. Running the testcase now 2025-02-06 16:54:32,464 - INFO - 2025-02-06 16:54:33,260 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40313704 2025-02-06 16:54:33,357 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40313704 2025-02-06 16:54:33,686 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40313704', 'default']} 2025-02-06 16:54:34,007 - DEBUG - Response for create_network : {'network': {'id': '95f70a9b-edf0-42ba-95a8-1525420e456a', 'name': 'ctest-vn-15804338', 'tenant_id': '6b2aacd9c9ed4aae89ad57130f3677cc', 'project_id': '6b2aacd9c9ed4aae89ad57130f3677cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40313704', 'ctest-vn-15804338'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 16:54:34,230 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe70ca16-19b1-4bf4-9c75-8570d94cfff1', 'name': '', 'tenant_id': '6b2aacd9c9ed4aae89ad57130f3677cc', 'network_id': '95f70a9b-edf0-42ba-95a8-1525420e456a', 'ip_version': 4, 'cidr': '117.186.169.0/26', 'allocation_pools': [{'start': '117.186.169.2', 'end': '117.186.169.62'}], 'gateway_ip': '117.186.169.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.186.169.2', 'tags': [], 'project_id': '6b2aacd9c9ed4aae89ad57130f3677cc'}} 2025-02-06 16:54:34,249 - INFO - Created VN ctest-vn-15804338 2025-02-06 16:54:34,301 - DEBUG - VN ctest-vn-15804338 UUID is 95f70a9b-edf0-42ba-95a8-1525420e456a 2025-02-06 16:54:34,661 - DEBUG - Response for create_network : {'network': {'id': '71b1be29-b2ef-4a85-b67a-954290372690', 'name': 'ctest-ext_vn-53747469', 'tenant_id': '6b2aacd9c9ed4aae89ad57130f3677cc', 'project_id': '6b2aacd9c9ed4aae89ad57130f3677cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40313704', 'ctest-ext_vn-53747469'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 16:54:34,839 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ae7855f-d79d-494b-926a-714331f4dca8', 'name': '', 'tenant_id': '6b2aacd9c9ed4aae89ad57130f3677cc', 'network_id': '71b1be29-b2ef-4a85-b67a-954290372690', 'ip_version': 4, 'cidr': '150.66.229.128/26', 'allocation_pools': [{'start': '150.66.229.130', 'end': '150.66.229.190'}], 'gateway_ip': '150.66.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.66.229.130', 'tags': [], 'project_id': '6b2aacd9c9ed4aae89ad57130f3677cc'}} 2025-02-06 16:54:34,869 - INFO - Created VN ctest-ext_vn-53747469 2025-02-06 16:54:34,925 - DEBUG - VN ctest-ext_vn-53747469 UUID is 71b1be29-b2ef-4a85-b67a-954290372690 2025-02-06 16:54:35,128 - DEBUG - Services list from nova: [, , ] 2025-02-06 16:54:36,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2702-1) 2025-02-06 16:54:37,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2702-1) 2025-02-06 16:54:37,553 - INFO - Setting gateway for router f184f233-f988-4e99-9b6d-22523bd5f2ca to network 71b1be29-b2ef-4a85-b67a-954290372690 2025-02-06 16:54:37,625 - INFO - Adding interface with subnet_id fe70ca16-19b1-4bf4-9c75-8570d94cfff1, port_id None to router f184f233-f988-4e99-9b6d-22523bd5f2ca 2025-02-06 16:54:38,062 - INFO - Waiting for VM ctest-TestRoutersBasic-40313704-28197613 to be up.. 2025-02-06 16:54:38,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 16:54:43,326 - DEBUG - VM is in ACTIVE state now 2025-02-06 16:54:43,326 - INFO - VM name : ctest-TestRoutersBasic-40313704-28197613 2025-02-06 16:54:43,403 - DEBUG - VM ctest-TestRoutersBasic-40313704-28197613 ID is 7278e944-5728-4e8c-bddb-0c304502b206 2025-02-06 16:54:43,421 - DEBUG - VM ctest-TestRoutersBasic-40313704-28197613 launched on Node cn-jenkins-deploy-platform-ansible-os-2702-1 2025-02-06 16:54:43,492 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7278e944-5728-4e8c-bddb-0c304502b206 2025-02-06 16:54:43,828 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7278e944-5728-4e8c-bddb-0c304502b206 2025-02-06 16:54:43,860 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/de624e6f-a105-4561-9f86-7d69a8107413 2025-02-06 16:54:47,139 - 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 1034ms') 2025-02-06 16:54:47,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40313704-28197613 failed! 2025-02-06 16:54:47,197 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40313704:ctest-vn-15804338 is 117.186.169.1 and allocation pool is NOT set 2025-02-06 16:54:49,253 - 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=6.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/3.503/6.577/3.074 ms') 2025-02-06 16:54:49,254 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40313704-28197613 passed 2025-02-06 16:54:49,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:54:49,418 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40313704-28197613, IP 117.186.169.3, Port 22 2025-02-06 16:54:49,591 - DEBUG - VM ctest-TestRoutersBasic-40313704-28197613 is ready for SSH connections 2025-02-06 16:54:49,591 - INFO - Waiting for VM ctest-TestRoutersBasic-40313704-11189241 to be up.. 2025-02-06 16:54:49,679 - DEBUG - VM is in ACTIVE state now 2025-02-06 16:54:49,679 - INFO - VM name : ctest-TestRoutersBasic-40313704-11189241 2025-02-06 16:54:49,754 - DEBUG - VM ctest-TestRoutersBasic-40313704-11189241 ID is c569bf19-fa98-4cd3-b6e9-12653ab52198 2025-02-06 16:54:49,754 - DEBUG - VM ctest-TestRoutersBasic-40313704-11189241 launched on Node cn-jenkins-deploy-platform-ansible-os-2702-1 2025-02-06 16:54:49,827 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c569bf19-fa98-4cd3-b6e9-12653ab52198 2025-02-06 16:54:49,835 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e1fab17d-89ab-412f-8827-6c934326f44d 2025-02-06 16:54:51,071 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.984/3.555/1.570 ms') 2025-02-06 16:54:51,071 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40313704-11189241 passed 2025-02-06 16:54:51,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:54:51,229 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40313704-11189241, IP 150.66.229.131, Port 22 2025-02-06 16:54:51,385 - DEBUG - VM ctest-TestRoutersBasic-40313704-11189241 is ready for SSH connections 2025-02-06 16:54:51,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:54:51,385 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.66.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-06 16:54:51,385 - DEBUG - ping -s 56 -c 3 -W 1 150.66.229.131 2025-02-06 16:54:55,456 - DEBUG - PING 150.66.229.131 (150.66.229.131): 56 data bytes 64 bytes from 150.66.229.131: seq=0 ttl=62 time=6.392 ms 64 bytes from 150.66.229.131: seq=1 ttl=62 time=0.932 ms 64 bytes from 150.66.229.131: seq=2 ttl=62 time=0.780 ms --- 150.66.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/2.701/6.392 ms 2025-02-06 16:54:55,456 - INFO - Ping to IP 150.66.229.131 from VM ctest-TestRoutersBasic-40313704-28197613 passed 2025-02-06 16:54:55,456 - INFO - Deleting interface with subnet_id fe70ca16-19b1-4bf4-9c75-8570d94cfff1, port_id None from router f184f233-f988-4e99-9b6d-22523bd5f2ca 2025-02-06 16:54:55,684 - INFO - Deleting VM ctest-TestRoutersBasic-40313704-11189241 2025-02-06 16:54:55,759 - INFO - Deleting VM ctest-TestRoutersBasic-40313704-28197613 2025-02-06 16:54:55,853 - INFO - Deleting VN ctest-ext_vn-53747469 2025-02-06 16:54:55,921 - DEBUG - VN 71b1be29-b2ef-4a85-b67a-954290372690 still in use: Unable to complete operation on network 71b1be29-b2ef-4a85-b67a-954290372690. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ee8a9c3-ca29-4d67-ba1d-cf7743e9efe1'] 2025-02-06 16:54:55,921 - WARNING - Deleting VN ctest-ext_vn-53747469 failed..Will retry 2025-02-06 16:54:58,029 - DEBUG - Response for deleting network () 2025-02-06 16:54:58,029 - INFO - Deleting VN ctest-vn-15804338 2025-02-06 16:54:58,148 - DEBUG - Response for deleting network () 2025-02-06 16:54:58,419 - DEBUG - No XMPP flaps were noticed during the test
2025-02-06 16:54:58,419 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-06 16:54:58,419 - INFO - -------------------------------------------------------------------------------- 2025-02-06 16:54:59,140 - INFO - Deleted project: ctest-TestRoutersBasic-40313704, ID : 6b2aacd9-c9ed-4aae-89ad-57130f3677cc