2024-09-16 22:16:13,551 - INFO - Domain Default found not creating 2024-09-16 22:16:13,739 - INFO - Project ctest-TestRoutersBasic-59864563 not found, creating it 2024-09-16 22:16:14,247 - INFO - Created Project:ctest-TestRoutersBasic-59864563, ID : 508693cd-8eb6-4d08-9adc-1f8ebb5c8369 2024-09-16 22:16:16,085 - INFO - ================================================================================ 2024-09-16 22:16:16,085 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-16 22:16:16,086 - 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-16 22:16:16,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.19': '0'}} with 2024-09-16 22:16:16,342 - INFO - Initial checks done. Running the testcase now 2024-09-16 22:16:16,342 - INFO - 2024-09-16 22:16:17,185 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59864563 2024-09-16 22:16:17,286 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59864563 2024-09-16 22:16:17,634 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59864563', 'default']} 2024-09-16 22:16:18,094 - DEBUG - Response for create_network : {'network': {'id': '7e3e171a-75da-4f85-9f72-2b7169d63108', 'name': 'ctest-vn-81940894', 'tenant_id': '508693cd8eb64d089adc1f8ebb5c8369', 'project_id': '508693cd8eb64d089adc1f8ebb5c8369', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59864563', 'ctest-vn-81940894'], 'port_security_enabled': True, 'description': ''}} 2024-09-16 22:16:18,325 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f973ae62-6ed3-4074-b60c-e644c8546777', 'name': '', 'tenant_id': '508693cd8eb64d089adc1f8ebb5c8369', 'network_id': '7e3e171a-75da-4f85-9f72-2b7169d63108', 'ip_version': 4, 'cidr': '90.238.88.64/26', 'allocation_pools': [{'start': '90.238.88.66', 'end': '90.238.88.126'}], 'gateway_ip': '90.238.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.238.88.66', 'tags': [], 'project_id': '508693cd8eb64d089adc1f8ebb5c8369'}} 2024-09-16 22:16:18,347 - INFO - Created VN ctest-vn-81940894 2024-09-16 22:16:18,406 - DEBUG - VN ctest-vn-81940894 UUID is 7e3e171a-75da-4f85-9f72-2b7169d63108 2024-09-16 22:16:18,789 - DEBUG - Response for create_network : {'network': {'id': '12418d8e-28b3-4dd5-b8a6-932c81881f47', 'name': 'ctest-ext_vn-50843402', 'tenant_id': '508693cd8eb64d089adc1f8ebb5c8369', 'project_id': '508693cd8eb64d089adc1f8ebb5c8369', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59864563', 'ctest-ext_vn-50843402'], 'port_security_enabled': True, 'description': ''}} 2024-09-16 22:16:19,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '0645004e-87ff-42d0-801f-0597d7545625', 'name': '', 'tenant_id': '508693cd8eb64d089adc1f8ebb5c8369', 'network_id': '12418d8e-28b3-4dd5-b8a6-932c81881f47', 'ip_version': 4, 'cidr': '71.181.186.192/26', 'allocation_pools': [{'start': '71.181.186.194', 'end': '71.181.186.254'}], 'gateway_ip': '71.181.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.181.186.194', 'tags': [], 'project_id': '508693cd8eb64d089adc1f8ebb5c8369'}} 2024-09-16 22:16:19,072 - INFO - Created VN ctest-ext_vn-50843402 2024-09-16 22:16:19,130 - DEBUG - VN ctest-ext_vn-50843402 UUID is 12418d8e-28b3-4dd5-b8a6-932c81881f47 2024-09-16 22:16:19,328 - DEBUG - Services list from nova: [, , ] 2024-09-16 22:16:20,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1949-1) 2024-09-16 22:16:21,798 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1949-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1949-1) 2024-09-16 22:16:21,883 - INFO - Setting gateway for router c923b5b4-1b81-4cfd-991f-cba3fb868eac to network 12418d8e-28b3-4dd5-b8a6-932c81881f47 2024-09-16 22:16:21,981 - INFO - Adding interface with subnet_id f973ae62-6ed3-4074-b60c-e644c8546777, port_id None to router c923b5b4-1b81-4cfd-991f-cba3fb868eac 2024-09-16 22:16:22,395 - INFO - Waiting for VM ctest-TestRoutersBasic-59864563-36668767 to be up.. 2024-09-16 22:16:22,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-16 22:16:27,746 - DEBUG - VM is in ACTIVE state now 2024-09-16 22:16:27,746 - INFO - VM name : ctest-TestRoutersBasic-59864563-36668767 2024-09-16 22:16:27,842 - DEBUG - VM ctest-TestRoutersBasic-59864563-36668767 ID is c972e5ef-a353-4950-b7f5-bab6ea033671 2024-09-16 22:16:27,868 - DEBUG - VM ctest-TestRoutersBasic-59864563-36668767 launched on Node cn-jenkins-deploy-platform-ansible-os-1949-1 2024-09-16 22:16:27,957 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/c972e5ef-a353-4950-b7f5-bab6ea033671 2024-09-16 22:16:28,304 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/c972e5ef-a353-4950-b7f5-bab6ea033671 2024-09-16 22:16:28,344 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/65d8aa7e-9a54-43f2-b777-4c8e5015c40e 2024-09-16 22:16:31,628 - 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 1016ms') 2024-09-16 22:16:31,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59864563-36668767 failed! 2024-09-16 22:16:31,694 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59864563:ctest-vn-81940894 is 90.238.88.65 and allocation pool is NOT set 2024-09-16 22:16:33,762 - 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=1.56 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.564/3.103/4.643/1.539 ms') 2024-09-16 22:16:33,763 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59864563-36668767 passed 2024-09-16 22:16:33,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 22:16:33,922 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59864563-36668767, IP 90.238.88.67, Port 22 2024-09-16 22:16:34,078 - DEBUG - VM ctest-TestRoutersBasic-59864563-36668767 is ready for SSH connections 2024-09-16 22:16:34,078 - INFO - Waiting for VM ctest-TestRoutersBasic-59864563-15751190 to be up.. 2024-09-16 22:16:34,166 - DEBUG - VM is in ACTIVE state now 2024-09-16 22:16:34,166 - INFO - VM name : ctest-TestRoutersBasic-59864563-15751190 2024-09-16 22:16:34,253 - DEBUG - VM ctest-TestRoutersBasic-59864563-15751190 ID is 84fca89d-6585-47a4-b210-a80b710de1bb 2024-09-16 22:16:34,253 - DEBUG - VM ctest-TestRoutersBasic-59864563-15751190 launched on Node cn-jenkins-deploy-platform-ansible-os-1949-1 2024-09-16 22:16:34,360 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/84fca89d-6585-47a4-b210-a80b710de1bb 2024-09-16 22:16:34,373 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/fff4966d-61b8-4ed0-a318-10646a8a1443 2024-09-16 22:16:35,655 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.859 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.859/2.084/3.309/1.225 ms') 2024-09-16 22:16:35,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59864563-15751190 passed 2024-09-16 22:16:35,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 22:16:35,818 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59864563-15751190, IP 71.181.186.195, Port 22 2024-09-16 22:16:35,974 - DEBUG - VM ctest-TestRoutersBasic-59864563-15751190 is ready for SSH connections 2024-09-16 22:16:35,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-16 22:16:35,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.181.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-09-16 22:16:35,974 - DEBUG - ping -s 56 -c 3 -W 1 71.181.186.195 2024-09-16 22:16:40,089 - DEBUG - PING 71.181.186.195 (71.181.186.195): 56 data bytes 64 bytes from 71.181.186.195: seq=0 ttl=62 time=8.421 ms 64 bytes from 71.181.186.195: seq=1 ttl=62 time=1.211 ms 64 bytes from 71.181.186.195: seq=2 ttl=62 time=0.911 ms --- 71.181.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/3.514/8.421 ms 2024-09-16 22:16:40,089 - INFO - Ping to IP 71.181.186.195 from VM ctest-TestRoutersBasic-59864563-36668767 passed 2024-09-16 22:16:40,089 - INFO - Deleting interface with subnet_id f973ae62-6ed3-4074-b60c-e644c8546777, port_id None from router c923b5b4-1b81-4cfd-991f-cba3fb868eac 2024-09-16 22:16:40,328 - INFO - Deleting VM ctest-TestRoutersBasic-59864563-15751190 2024-09-16 22:16:40,406 - INFO - Deleting VM ctest-TestRoutersBasic-59864563-36668767 2024-09-16 22:16:40,487 - INFO - Deleting VN ctest-ext_vn-50843402 2024-09-16 22:16:40,574 - DEBUG - VN 12418d8e-28b3-4dd5-b8a6-932c81881f47 still in use: Unable to complete operation on network 12418d8e-28b3-4dd5-b8a6-932c81881f47. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-131bbb12-a263-4b9f-afb7-2f252d6d1d7d'] 2024-09-16 22:16:40,574 - WARNING - Deleting VN ctest-ext_vn-50843402 failed..Will retry 2024-09-16 22:16:42,692 - DEBUG - Response for deleting network () 2024-09-16 22:16:42,693 - INFO - Deleting VN ctest-vn-81940894 2024-09-16 22:16:42,813 - DEBUG - Response for deleting network () 2024-09-16 22:16:43,069 - DEBUG - No XMPP flaps were noticed during the test
2024-09-16 22:16:43,069 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-09-16 22:16:43,069 - INFO - -------------------------------------------------------------------------------- 2024-09-16 22:16:43,819 - INFO - Deleted project: ctest-TestRoutersBasic-59864563, ID : 508693cd-8eb6-4d08-9adc-1f8ebb5c8369