2024-09-17 14:32:46,601 - INFO - Domain Default found not creating 2024-09-17 14:32:46,792 - INFO - Project ctest-TestRoutersBasic-19268369 not found, creating it 2024-09-17 14:32:47,287 - INFO - Created Project:ctest-TestRoutersBasic-19268369, ID : 83fdfbb6-0587-441a-9328-088e28eae43e 2024-09-17 14:32:49,104 - INFO - ================================================================================ 2024-09-17 14:32:49,105 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-17 14:32:49,105 - 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-09-17 14:32:49,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.25': '0'}} with 2024-09-17 14:32:49,365 - INFO - Initial checks done. Running the testcase now 2024-09-17 14:32:49,365 - INFO - 2024-09-17 14:32:50,229 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19268369 2024-09-17 14:32:50,330 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19268369 2024-09-17 14:32:50,675 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19268369', 'default']} 2024-09-17 14:32:51,036 - DEBUG - Response for create_network : {'network': {'id': 'b9f8e22d-b94b-4ab5-8912-af33a53bd267', 'name': 'ctest-vn-17136221', 'tenant_id': '83fdfbb60587441a9328088e28eae43e', 'project_id': '83fdfbb60587441a9328088e28eae43e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19268369', 'ctest-vn-17136221'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 14:32:51,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d5679b0-33cf-4a87-8a37-e0000472c76e', 'name': '', 'tenant_id': '83fdfbb60587441a9328088e28eae43e', 'network_id': 'b9f8e22d-b94b-4ab5-8912-af33a53bd267', 'ip_version': 4, 'cidr': '110.84.11.192/26', 'allocation_pools': [{'start': '110.84.11.194', 'end': '110.84.11.254'}], 'gateway_ip': '110.84.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.84.11.194', 'tags': [], 'project_id': '83fdfbb60587441a9328088e28eae43e'}} 2024-09-17 14:32:51,318 - INFO - Created VN ctest-vn-17136221 2024-09-17 14:32:51,378 - DEBUG - VN ctest-vn-17136221 UUID is b9f8e22d-b94b-4ab5-8912-af33a53bd267 2024-09-17 14:32:51,804 - DEBUG - Response for create_network : {'network': {'id': '97bbf686-3c5d-4367-8281-99ce510f8a9a', 'name': 'ctest-ext_vn-23006801', 'tenant_id': '83fdfbb60587441a9328088e28eae43e', 'project_id': '83fdfbb60587441a9328088e28eae43e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19268369', 'ctest-ext_vn-23006801'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 14:32:52,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3f6f75b-8ca9-41ba-b087-2838fecf73db', 'name': '', 'tenant_id': '83fdfbb60587441a9328088e28eae43e', 'network_id': '97bbf686-3c5d-4367-8281-99ce510f8a9a', 'ip_version': 4, 'cidr': '86.213.252.64/26', 'allocation_pools': [{'start': '86.213.252.66', 'end': '86.213.252.126'}], 'gateway_ip': '86.213.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.213.252.66', 'tags': [], 'project_id': '83fdfbb60587441a9328088e28eae43e'}} 2024-09-17 14:32:52,101 - INFO - Created VN ctest-ext_vn-23006801 2024-09-17 14:32:52,166 - DEBUG - VN ctest-ext_vn-23006801 UUID is 97bbf686-3c5d-4367-8281-99ce510f8a9a 2024-09-17 14:32:52,448 - DEBUG - Services list from nova: [, , ] 2024-09-17 14:32:53,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1962-1) 2024-09-17 14:32:55,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1962-1) 2024-09-17 14:32:55,183 - INFO - Setting gateway for router c2cf75e6-94ea-41b4-b679-06b22a0bc571 to network 97bbf686-3c5d-4367-8281-99ce510f8a9a 2024-09-17 14:32:55,266 - INFO - Adding interface with subnet_id 4d5679b0-33cf-4a87-8a37-e0000472c76e, port_id None to router c2cf75e6-94ea-41b4-b679-06b22a0bc571 2024-09-17 14:32:55,844 - INFO - Waiting for VM ctest-TestRoutersBasic-19268369-07781440 to be up.. 2024-09-17 14:32:56,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 14:33:01,163 - DEBUG - VM is in ACTIVE state now 2024-09-17 14:33:01,163 - INFO - VM name : ctest-TestRoutersBasic-19268369-07781440 2024-09-17 14:33:01,262 - DEBUG - VM ctest-TestRoutersBasic-19268369-07781440 ID is ae7163fc-f3a3-4434-b453-7f2176b6cbbd 2024-09-17 14:33:01,284 - DEBUG - VM ctest-TestRoutersBasic-19268369-07781440 launched on Node cn-jenkins-deploy-platform-ansible-os-1962-1 2024-09-17 14:33:01,377 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/ae7163fc-f3a3-4434-b453-7f2176b6cbbd 2024-09-17 14:33:01,714 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/ae7163fc-f3a3-4434-b453-7f2176b6cbbd 2024-09-17 14:33:01,757 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/b2ac9cf1-20b2-4777-b82c-9c1cc74b25e2 2024-09-17 14:33:05,041 - 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 1014ms') 2024-09-17 14:33:05,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19268369-07781440 failed! 2024-09-17 14:33:05,106 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19268369:ctest-vn-17136221 is 110.84.11.193 and allocation pool is NOT set 2024-09-17 14:33:07,167 - 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=3.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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 = 1.155/2.317/3.479/1.162 ms') 2024-09-17 14:33:07,167 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19268369-07781440 passed 2024-09-17 14:33:07,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:33:07,338 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19268369-07781440, IP 110.84.11.195, Port 22 2024-09-17 14:33:07,509 - DEBUG - VM ctest-TestRoutersBasic-19268369-07781440 is ready for SSH connections 2024-09-17 14:33:07,509 - INFO - Waiting for VM ctest-TestRoutersBasic-19268369-17376997 to be up.. 2024-09-17 14:33:07,607 - DEBUG - VM is in ACTIVE state now 2024-09-17 14:33:07,607 - INFO - VM name : ctest-TestRoutersBasic-19268369-17376997 2024-09-17 14:33:07,714 - DEBUG - VM ctest-TestRoutersBasic-19268369-17376997 ID is 53c45af7-e631-4bec-a6c9-3221c6127f51 2024-09-17 14:33:07,714 - DEBUG - VM ctest-TestRoutersBasic-19268369-17376997 launched on Node cn-jenkins-deploy-platform-ansible-os-1962-1 2024-09-17 14:33:07,826 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/53c45af7-e631-4bec-a6c9-3221c6127f51 2024-09-17 14:33:07,846 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/081f7a9e-f6d2-4de0-bd08-887405502937 2024-09-17 14:33:09,131 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.51 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 = 1.509/2.468/3.427/0.959 ms') 2024-09-17 14:33:09,131 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19268369-17376997 passed 2024-09-17 14:33:09,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:33:09,294 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19268369-17376997, IP 86.213.252.67, Port 22 2024-09-17 14:33:09,464 - DEBUG - VM ctest-TestRoutersBasic-19268369-17376997 is ready for SSH connections 2024-09-17 14:33:09,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 14:33:09,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.213.252.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-17 14:33:09,465 - DEBUG - ping -s 56 -c 3 -W 1 86.213.252.67 2024-09-17 14:33:13,224 - DEBUG - PING 86.213.252.67 (86.213.252.67): 56 data bytes 64 bytes from 86.213.252.67: seq=0 ttl=62 time=6.859 ms 64 bytes from 86.213.252.67: seq=1 ttl=62 time=1.016 ms 64 bytes from 86.213.252.67: seq=2 ttl=62 time=1.267 ms --- 86.213.252.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.016/3.047/6.859 ms 2024-09-17 14:33:13,224 - INFO - Ping to IP 86.213.252.67 from VM ctest-TestRoutersBasic-19268369-07781440 passed 2024-09-17 14:33:13,224 - INFO - Deleting interface with subnet_id 4d5679b0-33cf-4a87-8a37-e0000472c76e, port_id None from router c2cf75e6-94ea-41b4-b679-06b22a0bc571 2024-09-17 14:33:13,481 - INFO - Deleting VM ctest-TestRoutersBasic-19268369-17376997 2024-09-17 14:33:13,564 - INFO - Deleting VM ctest-TestRoutersBasic-19268369-07781440 2024-09-17 14:33:13,654 - INFO - Deleting VN ctest-ext_vn-23006801 2024-09-17 14:33:13,754 - DEBUG - VN 97bbf686-3c5d-4367-8281-99ce510f8a9a still in use: Unable to complete operation on network 97bbf686-3c5d-4367-8281-99ce510f8a9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d86dcc86-481b-49e4-8626-c9581811f9d9'] 2024-09-17 14:33:13,754 - WARNING - Deleting VN ctest-ext_vn-23006801 failed..Will retry 2024-09-17 14:33:15,884 - DEBUG - Response for deleting network () 2024-09-17 14:33:15,884 - INFO - Deleting VN ctest-vn-17136221 2024-09-17 14:33:16,023 - DEBUG - Response for deleting network () 2024-09-17 14:33:16,303 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 14:33:16,304 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-09-17 14:33:16,304 - INFO - -------------------------------------------------------------------------------- 2024-09-17 14:33:17,091 - INFO - Deleted project: ctest-TestRoutersBasic-19268369, ID : 83fdfbb6-0587-441a-9328-088e28eae43e