2024-08-23 23:16:11,339 - INFO - Domain Default found not creating 2024-08-23 23:16:11,489 - INFO - Project ctest-TestRoutersBasic-98217665 not found, creating it 2024-08-23 23:16:11,959 - INFO - Created Project:ctest-TestRoutersBasic-98217665, ID : b7c7bf18-51d4-476f-9be9-1a960b773ca3 2024-08-23 23:16:15,774 - INFO - ================================================================================ 2024-08-23 23:16:15,774 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-23 23:16:15,774 - 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-23 23:16:16,029 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-08-23 23:16:16,029 - INFO - Initial checks done. Running the testcase now 2024-08-23 23:16:16,029 - INFO - 2024-08-23 23:16:16,731 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98217665 2024-08-23 23:16:16,828 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98217665 2024-08-23 23:16:17,148 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98217665', 'default']} 2024-08-23 23:16:17,436 - DEBUG - Response for create_network : {'network': {'id': 'adcf49c2-67af-4ac0-b2df-21f914d65df2', 'name': 'ctest-vn-90726966', 'tenant_id': 'b7c7bf1851d4476f9be91a960b773ca3', 'project_id': 'b7c7bf1851d4476f9be91a960b773ca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98217665', 'ctest-vn-90726966'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:16:17,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '73aabd15-3ceb-4854-bd3b-8df117b943aa', 'name': '', 'tenant_id': 'b7c7bf1851d4476f9be91a960b773ca3', 'network_id': 'adcf49c2-67af-4ac0-b2df-21f914d65df2', 'ip_version': 4, 'cidr': '9.111.166.64/26', 'allocation_pools': [{'start': '9.111.166.66', 'end': '9.111.166.126'}], 'gateway_ip': '9.111.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.111.166.66', 'tags': [], 'project_id': 'b7c7bf1851d4476f9be91a960b773ca3'}} 2024-08-23 23:16:17,659 - INFO - Created VN ctest-vn-90726966 2024-08-23 23:16:17,708 - DEBUG - VN ctest-vn-90726966 UUID is adcf49c2-67af-4ac0-b2df-21f914d65df2 2024-08-23 23:16:18,009 - DEBUG - Response for create_network : {'network': {'id': 'dedb9355-7d9e-4a73-a2e6-a71fe817ca1f', 'name': 'ctest-ext_vn-57241595', 'tenant_id': 'b7c7bf1851d4476f9be91a960b773ca3', 'project_id': 'b7c7bf1851d4476f9be91a960b773ca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98217665', 'ctest-ext_vn-57241595'], 'port_security_enabled': True, 'description': ''}} 2024-08-23 23:16:18,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac8f04b2-e39e-4415-b9ed-f950b5130036', 'name': '', 'tenant_id': 'b7c7bf1851d4476f9be91a960b773ca3', 'network_id': 'dedb9355-7d9e-4a73-a2e6-a71fe817ca1f', 'ip_version': 4, 'cidr': '78.236.178.128/26', 'allocation_pools': [{'start': '78.236.178.130', 'end': '78.236.178.190'}], 'gateway_ip': '78.236.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.236.178.130', 'tags': [], 'project_id': 'b7c7bf1851d4476f9be91a960b773ca3'}} 2024-08-23 23:16:18,207 - INFO - Created VN ctest-ext_vn-57241595 2024-08-23 23:16:18,256 - DEBUG - VN ctest-ext_vn-57241595 UUID is dedb9355-7d9e-4a73-a2e6-a71fe817ca1f 2024-08-23 23:16:18,417 - DEBUG - Services list from nova: [, , ] 2024-08-23 23:16:19,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1735-1) 2024-08-23 23:16:20,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1735-1) 2024-08-23 23:16:20,636 - INFO - Setting gateway for router 82f829c6-17b2-46b1-8e56-a87c13a40d47 to network dedb9355-7d9e-4a73-a2e6-a71fe817ca1f 2024-08-23 23:16:20,699 - INFO - Adding interface with subnet_id 73aabd15-3ceb-4854-bd3b-8df117b943aa, port_id None to router 82f829c6-17b2-46b1-8e56-a87c13a40d47 2024-08-23 23:16:21,169 - INFO - Waiting for VM ctest-TestRoutersBasic-98217665-05107568 to be up.. 2024-08-23 23:16:21,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-23 23:16:26,431 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:16:26,431 - INFO - VM name : ctest-TestRoutersBasic-98217665-05107568 2024-08-23 23:16:26,513 - DEBUG - VM ctest-TestRoutersBasic-98217665-05107568 ID is f5456246-d43d-468f-ad13-f627d4d84f2e 2024-08-23 23:16:26,530 - DEBUG - VM ctest-TestRoutersBasic-98217665-05107568 launched on Node cn-jenkins-deploy-platform-ansible-os-1735-1 2024-08-23 23:16:26,605 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f5456246-d43d-468f-ad13-f627d4d84f2e 2024-08-23 23:16:26,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f5456246-d43d-468f-ad13-f627d4d84f2e 2024-08-23 23:16:26,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d2866528-99f6-417c-b5ee-1224a0dedcc4 2024-08-23 23:16:30,198 - 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 1032ms') 2024-08-23 23:16:30,198 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98217665-05107568 failed! 2024-08-23 23:16:30,252 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98217665:ctest-vn-90726966 is 9.111.166.65 and allocation pool is NOT set 2024-08-23 23:16:32,313 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.774 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.774/2.706/4.639/1.932 ms') 2024-08-23 23:16:32,313 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98217665-05107568 passed 2024-08-23 23:16:32,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:16:32,464 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98217665-05107568, IP 9.111.166.67, Port 22 2024-08-23 23:16:32,616 - DEBUG - VM ctest-TestRoutersBasic-98217665-05107568 is ready for SSH connections 2024-08-23 23:16:32,616 - INFO - Waiting for VM ctest-TestRoutersBasic-98217665-95936531 to be up.. 2024-08-23 23:16:32,714 - DEBUG - VM is in ACTIVE state now 2024-08-23 23:16:32,715 - INFO - VM name : ctest-TestRoutersBasic-98217665-95936531 2024-08-23 23:16:32,844 - DEBUG - VM ctest-TestRoutersBasic-98217665-95936531 ID is 4f6ed6ac-57f4-4133-b017-0642eddef353 2024-08-23 23:16:32,844 - DEBUG - VM ctest-TestRoutersBasic-98217665-95936531 launched on Node cn-jenkins-deploy-platform-ansible-os-1735-1 2024-08-23 23:16:33,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f6ed6ac-57f4-4133-b017-0642eddef353 2024-08-23 23:16:33,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/452ac6eb-970b-4763-ad86-c4c3f74c24df 2024-08-23 23:16:36,310 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2024-08-23 23:16:36,310 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98217665-95936531 failed! 2024-08-23 23:16:36,364 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98217665:ctest-ext_vn-57241595 is 78.236.178.129 and allocation pool is NOT set 2024-08-23 23:16:38,425 - 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=13.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.322 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.322/6.810/13.298/6.488 ms') 2024-08-23 23:16:38,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98217665-95936531 passed 2024-08-23 23:16:38,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:16:38,572 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98217665-95936531, IP 78.236.178.131, Port 22 2024-08-23 23:16:38,728 - DEBUG - VM ctest-TestRoutersBasic-98217665-95936531 is ready for SSH connections 2024-08-23 23:16:38,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-23 23:16:38,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.236.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-23 23:16:38,728 - DEBUG - ping -s 56 -c 3 -W 1 78.236.178.131 2024-08-23 23:16:42,402 - DEBUG - PING 78.236.178.131 (78.236.178.131): 56 data bytes 64 bytes from 78.236.178.131: seq=0 ttl=62 time=5.341 ms 64 bytes from 78.236.178.131: seq=1 ttl=62 time=0.886 ms 64 bytes from 78.236.178.131: seq=2 ttl=62 time=0.886 ms --- 78.236.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/2.371/5.341 ms 2024-08-23 23:16:42,402 - INFO - Ping to IP 78.236.178.131 from VM ctest-TestRoutersBasic-98217665-05107568 passed 2024-08-23 23:16:42,402 - INFO - Deleting interface with subnet_id 73aabd15-3ceb-4854-bd3b-8df117b943aa, port_id None from router 82f829c6-17b2-46b1-8e56-a87c13a40d47 2024-08-23 23:16:43,860 - INFO - Deleting VM ctest-TestRoutersBasic-98217665-95936531 2024-08-23 23:16:43,927 - INFO - Deleting VM ctest-TestRoutersBasic-98217665-05107568 2024-08-23 23:16:44,012 - INFO - Deleting VN ctest-ext_vn-57241595 2024-08-23 23:16:44,086 - DEBUG - VN dedb9355-7d9e-4a73-a2e6-a71fe817ca1f still in use: Unable to complete operation on network dedb9355-7d9e-4a73-a2e6-a71fe817ca1f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb3bd0cc-809d-4192-973e-4cefd495f39b'] 2024-08-23 23:16:44,086 - WARNING - Deleting VN ctest-ext_vn-57241595 failed..Will retry 2024-08-23 23:16:46,187 - DEBUG - Response for deleting network () 2024-08-23 23:16:46,188 - INFO - Deleting VN ctest-vn-90726966 2024-08-23 23:16:46,289 - DEBUG - Response for deleting network () 2024-08-23 23:16:46,551 - DEBUG - No XMPP flaps were noticed during the test
2024-08-23 23:16:46,551 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2024-08-23 23:16:46,552 - INFO - -------------------------------------------------------------------------------- 2024-08-23 23:16:47,206 - INFO - Deleted project: ctest-TestRoutersBasic-98217665, ID : b7c7bf18-51d4-476f-9be9-1a960b773ca3