2024-11-07 06:56:20,847 - INFO - Domain Default found not creating 2024-11-07 06:56:21,342 - INFO - Project ctest-TestRoutersBasic-50719470 not found, creating it 2024-11-07 06:56:21,856 - INFO - Created Project:ctest-TestRoutersBasic-50719470, ID : 1122aef8-02a0-441b-a4a4-6ed914ca534f 2024-11-07 06:56:23,336 - INFO - ================================================================================ 2024-11-07 06:56:23,337 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-11-07 06:56:23,337 - 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 2024-11-07 06:56:23,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.14': '0'}} with 2024-11-07 06:56:23,590 - INFO - Initial checks done. Running the testcase now 2024-11-07 06:56:23,590 - INFO - 2024-11-07 06:56:24,307 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50719470 2024-11-07 06:56:24,412 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50719470 2024-11-07 06:56:24,756 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50719470', 'default']} 2024-11-07 06:56:25,049 - DEBUG - Response for create_network : {'network': {'id': '604a3dc8-8f60-491a-8050-05d22c96db5c', 'name': 'ctest-vn-73294927', 'tenant_id': '1122aef802a0441ba4a46ed914ca534f', 'project_id': '1122aef802a0441ba4a46ed914ca534f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50719470', 'ctest-vn-73294927'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 06:56:25,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '48fc10d8-91b5-4fc5-8f63-8132a98193bd', 'name': '', 'tenant_id': '1122aef802a0441ba4a46ed914ca534f', 'network_id': '604a3dc8-8f60-491a-8050-05d22c96db5c', 'ip_version': 4, 'cidr': '154.235.195.0/26', 'allocation_pools': [{'start': '154.235.195.2', 'end': '154.235.195.62'}], 'gateway_ip': '154.235.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.235.195.2', 'tags': [], 'project_id': '1122aef802a0441ba4a46ed914ca534f'}} 2024-11-07 06:56:25,254 - INFO - Created VN ctest-vn-73294927 2024-11-07 06:56:25,316 - DEBUG - VN ctest-vn-73294927 UUID is 604a3dc8-8f60-491a-8050-05d22c96db5c 2024-11-07 06:56:25,653 - DEBUG - Response for create_network : {'network': {'id': '7fa414f3-0819-41e5-a8cd-caaec9f36415', 'name': 'ctest-ext_vn-79507632', 'tenant_id': '1122aef802a0441ba4a46ed914ca534f', 'project_id': '1122aef802a0441ba4a46ed914ca534f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50719470', 'ctest-ext_vn-79507632'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 06:56:25,861 - DEBUG - Response for create_subnet : {'subnet': {'id': '25e3e175-8395-4d4a-b728-8ae3213c1d2c', 'name': '', 'tenant_id': '1122aef802a0441ba4a46ed914ca534f', 'network_id': '7fa414f3-0819-41e5-a8cd-caaec9f36415', 'ip_version': 4, 'cidr': '71.253.134.192/26', 'allocation_pools': [{'start': '71.253.134.194', 'end': '71.253.134.254'}], 'gateway_ip': '71.253.134.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.253.134.194', 'tags': [], 'project_id': '1122aef802a0441ba4a46ed914ca534f'}} 2024-11-07 06:56:25,879 - INFO - Created VN ctest-ext_vn-79507632 2024-11-07 06:56:25,936 - DEBUG - VN ctest-ext_vn-79507632 UUID is 7fa414f3-0819-41e5-a8cd-caaec9f36415 2024-11-07 06:56:26,105 - DEBUG - Services list from nova: [, , ] 2024-11-07 06:56:28,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2211-1) 2024-11-07 06:56:29,413 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2211-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2211-1) 2024-11-07 06:56:29,488 - INFO - Setting gateway for router 172b363b-076b-437f-ae1e-7e9b29756734 to network 7fa414f3-0819-41e5-a8cd-caaec9f36415 2024-11-07 06:56:29,564 - INFO - Adding interface with subnet_id 48fc10d8-91b5-4fc5-8f63-8132a98193bd, port_id None to router 172b363b-076b-437f-ae1e-7e9b29756734 2024-11-07 06:56:29,959 - INFO - Waiting for VM ctest-TestRoutersBasic-50719470-00270180 to be up.. 2024-11-07 06:56:30,166 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 06:56:35,247 - DEBUG - VM is in ACTIVE state now 2024-11-07 06:56:35,248 - INFO - VM name : ctest-TestRoutersBasic-50719470-00270180 2024-11-07 06:56:35,327 - DEBUG - VM ctest-TestRoutersBasic-50719470-00270180 ID is 8b5dfe3b-6129-4496-ab19-4340a3a44c8c 2024-11-07 06:56:35,346 - DEBUG - VM ctest-TestRoutersBasic-50719470-00270180 launched on Node cn-jenkins-deploy-platform-ansible-os-2211-1 2024-11-07 06:56:35,422 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/8b5dfe3b-6129-4496-ab19-4340a3a44c8c 2024-11-07 06:56:35,723 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/8b5dfe3b-6129-4496-ab19-4340a3a44c8c 2024-11-07 06:56:35,764 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/fcb65ea4-66a1-4589-aa4f-36c08a700600 2024-11-07 06:56:39,016 - 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 1012ms') 2024-11-07 06:56:39,016 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50719470-00270180 failed! 2024-11-07 06:56:39,080 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50719470:ctest-vn-73294927 is 154.235.195.1 and allocation pool is NOT set 2024-11-07 06:56:41,143 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.417 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.417/1.585/2.754/1.168 ms') 2024-11-07 06:56:41,144 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50719470-00270180 passed 2024-11-07 06:56:41,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 06:56:41,316 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50719470-00270180, IP 154.235.195.3, Port 22 2024-11-07 06:56:41,471 - DEBUG - VM ctest-TestRoutersBasic-50719470-00270180 is ready for SSH connections 2024-11-07 06:56:41,472 - INFO - Waiting for VM ctest-TestRoutersBasic-50719470-50028365 to be up.. 2024-11-07 06:56:41,553 - DEBUG - VM is in ACTIVE state now 2024-11-07 06:56:41,554 - INFO - VM name : ctest-TestRoutersBasic-50719470-50028365 2024-11-07 06:56:41,653 - DEBUG - VM ctest-TestRoutersBasic-50719470-50028365 ID is 119e452e-601d-4fcc-981f-6079ddef89ac 2024-11-07 06:56:41,653 - DEBUG - VM ctest-TestRoutersBasic-50719470-50028365 launched on Node cn-jenkins-deploy-platform-ansible-os-2211-1 2024-11-07 06:56:41,749 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/119e452e-601d-4fcc-981f-6079ddef89ac 2024-11-07 06:56:41,762 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/8a351551-5f1b-4889-a533-a78f34831bf1 2024-11-07 06:56:43,014 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.560/2.757/1.197 ms') 2024-11-07 06:56:43,014 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50719470-50028365 passed 2024-11-07 06:56:43,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 06:56:43,180 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50719470-50028365, IP 71.253.134.195, Port 22 2024-11-07 06:56:43,335 - DEBUG - VM ctest-TestRoutersBasic-50719470-50028365 is ready for SSH connections 2024-11-07 06:56:43,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 06:56:43,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.253.134.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-07 06:56:43,336 - DEBUG - ping -s 56 -c 3 -W 1 71.253.134.195 2024-11-07 06:56:48,042 - DEBUG - PING 71.253.134.195 (71.253.134.195): 56 data bytes 64 bytes from 71.253.134.195: seq=0 ttl=62 time=7.182 ms 64 bytes from 71.253.134.195: seq=1 ttl=62 time=1.181 ms 64 bytes from 71.253.134.195: seq=2 ttl=62 time=1.121 ms --- 71.253.134.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.121/3.161/7.182 ms 2024-11-07 06:56:48,042 - INFO - Ping to IP 71.253.134.195 from VM ctest-TestRoutersBasic-50719470-00270180 passed 2024-11-07 06:56:48,042 - INFO - Deleting interface with subnet_id 48fc10d8-91b5-4fc5-8f63-8132a98193bd, port_id None from router 172b363b-076b-437f-ae1e-7e9b29756734 2024-11-07 06:56:48,294 - INFO - Deleting VM ctest-TestRoutersBasic-50719470-50028365 2024-11-07 06:56:48,367 - INFO - Deleting VM ctest-TestRoutersBasic-50719470-00270180 2024-11-07 06:56:48,440 - INFO - Deleting VN ctest-ext_vn-79507632 2024-11-07 06:56:48,516 - DEBUG - VN 7fa414f3-0819-41e5-a8cd-caaec9f36415 still in use: Unable to complete operation on network 7fa414f3-0819-41e5-a8cd-caaec9f36415. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-febafc37-98d1-43d8-b771-5bee81c1c5d5'] 2024-11-07 06:56:48,516 - WARNING - Deleting VN ctest-ext_vn-79507632 failed..Will retry 2024-11-07 06:56:50,626 - DEBUG - Response for deleting network () 2024-11-07 06:56:50,627 - INFO - Deleting VN ctest-vn-73294927 2024-11-07 06:56:50,740 - DEBUG - Response for deleting network () 2024-11-07 06:56:50,997 - DEBUG - No XMPP flaps were noticed during the test 2024-11-07 06:56:50,997 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2024-11-07 06:56:50,997 - INFO - -------------------------------------------------------------------------------- 2024-11-07 06:56:51,716 - INFO - Deleted project: ctest-TestRoutersBasic-50719470, ID : 1122aef8-02a0-441b-a4a4-6ed914ca534f