2024-08-29 15:18:50,623 - INFO - Domain Default found not creating 2024-08-29 15:18:50,800 - INFO - Project ctest-TestRoutersBasic-37974661 not found, creating it 2024-08-29 15:18:51,317 - INFO - Created Project:ctest-TestRoutersBasic-37974661, ID : 5544497b-a8f3-45b4-b808-fec115eab02b 2024-08-29 15:18:52,906 - INFO - ================================================================================ 2024-08-29 15:18:52,906 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-29 15:18:52,906 - 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-08-29 15:18:53,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2024-08-29 15:18:53,170 - INFO - Initial checks done. Running the testcase now 2024-08-29 15:18:53,170 - INFO - 2024-08-29 15:18:53,885 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37974661 2024-08-29 15:18:53,978 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37974661 2024-08-29 15:18:54,302 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37974661', 'default']} 2024-08-29 15:18:54,608 - DEBUG - Response for create_network : {'network': {'id': '01c0ad2f-0d90-4930-9a01-0c2e13473fe9', 'name': 'ctest-vn-74166985', 'tenant_id': '5544497ba8f345b4b808fec115eab02b', 'project_id': '5544497ba8f345b4b808fec115eab02b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37974661', 'ctest-vn-74166985'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 15:18:54,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '95e53c18-0a7f-4b7d-8c3d-b2dfd9444105', 'name': '', 'tenant_id': '5544497ba8f345b4b808fec115eab02b', 'network_id': '01c0ad2f-0d90-4930-9a01-0c2e13473fe9', 'ip_version': 4, 'cidr': '3.81.8.64/26', 'allocation_pools': [{'start': '3.81.8.66', 'end': '3.81.8.126'}], 'gateway_ip': '3.81.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.81.8.66', 'tags': [], 'project_id': '5544497ba8f345b4b808fec115eab02b'}} 2024-08-29 15:18:54,787 - INFO - Created VN ctest-vn-74166985 2024-08-29 15:18:54,838 - DEBUG - VN ctest-vn-74166985 UUID is 01c0ad2f-0d90-4930-9a01-0c2e13473fe9 2024-08-29 15:18:55,175 - DEBUG - Response for create_network : {'network': {'id': '4d3def13-456c-4aec-b581-c2340900c2e3', 'name': 'ctest-ext_vn-30977144', 'tenant_id': '5544497ba8f345b4b808fec115eab02b', 'project_id': '5544497ba8f345b4b808fec115eab02b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37974661', 'ctest-ext_vn-30977144'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 15:18:55,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '98a8b72a-754c-4f0e-bfef-1eddf3511e61', 'name': '', 'tenant_id': '5544497ba8f345b4b808fec115eab02b', 'network_id': '4d3def13-456c-4aec-b581-c2340900c2e3', 'ip_version': 4, 'cidr': '33.39.205.128/26', 'allocation_pools': [{'start': '33.39.205.130', 'end': '33.39.205.190'}], 'gateway_ip': '33.39.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.39.205.130', 'tags': [], 'project_id': '5544497ba8f345b4b808fec115eab02b'}} 2024-08-29 15:18:55,429 - INFO - Created VN ctest-ext_vn-30977144 2024-08-29 15:18:55,478 - DEBUG - VN ctest-ext_vn-30977144 UUID is 4d3def13-456c-4aec-b581-c2340900c2e3 2024-08-29 15:18:55,661 - DEBUG - Services list from nova: [, , ] 2024-08-29 15:18:56,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1810-1) 2024-08-29 15:18:57,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1810-1) 2024-08-29 15:18:58,076 - INFO - Setting gateway for router e1e5d888-a8d2-487d-8171-3222df7bec53 to network 4d3def13-456c-4aec-b581-c2340900c2e3 2024-08-29 15:18:58,144 - INFO - Adding interface with subnet_id 95e53c18-0a7f-4b7d-8c3d-b2dfd9444105, port_id None to router e1e5d888-a8d2-487d-8171-3222df7bec53 2024-08-29 15:18:58,603 - INFO - Waiting for VM ctest-TestRoutersBasic-37974661-60953083 to be up.. 2024-08-29 15:18:58,775 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 15:19:03,866 - DEBUG - VM is in ACTIVE state now 2024-08-29 15:19:03,866 - INFO - VM name : ctest-TestRoutersBasic-37974661-60953083 2024-08-29 15:19:03,952 - DEBUG - VM ctest-TestRoutersBasic-37974661-60953083 ID is 7f8c99d1-c6da-4d5a-a9fc-db04eae78fc4 2024-08-29 15:19:03,974 - DEBUG - VM ctest-TestRoutersBasic-37974661-60953083 launched on Node cn-jenkins-deploy-platform-ansible-os-1810-1 2024-08-29 15:19:04,070 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7f8c99d1-c6da-4d5a-a9fc-db04eae78fc4 2024-08-29 15:19:04,375 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7f8c99d1-c6da-4d5a-a9fc-db04eae78fc4 2024-08-29 15:19:04,411 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/825b737a-5c4c-43df-98b2-8228b38eeb72 2024-08-29 15:19:07,647 - 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 1002ms') 2024-08-29 15:19:07,647 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37974661-60953083 failed! 2024-08-29 15:19:07,698 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37974661:ctest-vn-74166985 is 3.81.8.65 and allocation pool is NOT set 2024-08-29 15:19:09,759 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 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.420/1.519/2.619/1.099 ms') 2024-08-29 15:19:09,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37974661-60953083 passed 2024-08-29 15:19:09,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:19:09,910 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37974661-60953083, IP 3.81.8.67, Port 22 2024-08-29 15:19:10,080 - DEBUG - VM ctest-TestRoutersBasic-37974661-60953083 is ready for SSH connections 2024-08-29 15:19:10,080 - INFO - Waiting for VM ctest-TestRoutersBasic-37974661-41199894 to be up.. 2024-08-29 15:19:10,160 - DEBUG - VM is in ACTIVE state now 2024-08-29 15:19:10,160 - INFO - VM name : ctest-TestRoutersBasic-37974661-41199894 2024-08-29 15:19:10,238 - DEBUG - VM ctest-TestRoutersBasic-37974661-41199894 ID is 82808f64-92e1-4940-ae32-43ea334af419 2024-08-29 15:19:10,238 - DEBUG - VM ctest-TestRoutersBasic-37974661-41199894 launched on Node cn-jenkins-deploy-platform-ansible-os-1810-1 2024-08-29 15:19:10,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/82808f64-92e1-4940-ae32-43ea334af419 2024-08-29 15:19:10,327 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b5008d17-3077-443c-911b-a15ac8aaa405 2024-08-29 15:19:11,570 - 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.818 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.818/1.997/3.176/1.179 ms') 2024-08-29 15:19:11,570 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37974661-41199894 passed 2024-08-29 15:19:11,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:19:11,723 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37974661-41199894, IP 33.39.205.131, Port 22 2024-08-29 15:19:11,879 - DEBUG - VM ctest-TestRoutersBasic-37974661-41199894 is ready for SSH connections 2024-08-29 15:19:11,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 15:19:11,879 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.39.205.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-08-29 15:19:11,879 - DEBUG - ping -s 56 -c 3 -W 1 33.39.205.131 2024-08-29 15:19:15,583 - DEBUG - PING 33.39.205.131 (33.39.205.131): 56 data bytes 64 bytes from 33.39.205.131: seq=0 ttl=62 time=5.624 ms 64 bytes from 33.39.205.131: seq=1 ttl=62 time=0.842 ms 64 bytes from 33.39.205.131: seq=2 ttl=62 time=1.083 ms --- 33.39.205.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.516/5.624 ms 2024-08-29 15:19:15,583 - INFO - Ping to IP 33.39.205.131 from VM ctest-TestRoutersBasic-37974661-60953083 passed 2024-08-29 15:19:15,583 - INFO - Deleting interface with subnet_id 95e53c18-0a7f-4b7d-8c3d-b2dfd9444105, port_id None from router e1e5d888-a8d2-487d-8171-3222df7bec53 2024-08-29 15:19:15,774 - INFO - Deleting VM ctest-TestRoutersBasic-37974661-41199894 2024-08-29 15:19:15,836 - INFO - Deleting VM ctest-TestRoutersBasic-37974661-60953083 2024-08-29 15:19:15,909 - INFO - Deleting VN ctest-ext_vn-30977144 2024-08-29 15:19:15,980 - DEBUG - VN 4d3def13-456c-4aec-b581-c2340900c2e3 still in use: Unable to complete operation on network 4d3def13-456c-4aec-b581-c2340900c2e3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-759ee7ac-15cc-4ac0-b6f1-8b84938a0f0d'] 2024-08-29 15:19:15,981 - WARNING - Deleting VN ctest-ext_vn-30977144 failed..Will retry 2024-08-29 15:19:18,117 - DEBUG - Response for deleting network () 2024-08-29 15:19:18,117 - INFO - Deleting VN ctest-vn-74166985 2024-08-29 15:19:18,227 - DEBUG - Response for deleting network () 2024-08-29 15:19:18,485 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 15:19:18,485 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-29 15:19:18,485 - INFO - -------------------------------------------------------------------------------- 2024-08-29 15:19:19,201 - INFO - Deleted project: ctest-TestRoutersBasic-37974661, ID : 5544497b-a8f3-45b4-b808-fec115eab02b