2024-09-12 13:33:29,637 - INFO - Domain Default found not creating 2024-09-12 13:33:29,844 - INFO - Project ctest-TestRoutersBasic-12172723 not found, creating it 2024-09-12 13:33:30,418 - INFO - Created Project:ctest-TestRoutersBasic-12172723, ID : e5bb1187-effa-4114-9ef0-a96926fdfc36 2024-09-12 13:33:32,558 - INFO - ================================================================================ 2024-09-12 13:33:32,559 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-12 13:33:32,559 - 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-12 13:33:32,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.10': '0'}} with 2024-09-12 13:33:32,821 - INFO - Initial checks done. Running the testcase now 2024-09-12 13:33:32,821 - INFO - 2024-09-12 13:33:33,603 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12172723 2024-09-12 13:33:33,710 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12172723 2024-09-12 13:33:34,061 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12172723', 'default']} 2024-09-12 13:33:34,414 - DEBUG - Response for create_network : {'network': {'id': 'abc4bef8-9dea-45ad-bc32-612ff9a62cda', 'name': 'ctest-vn-06420149', 'tenant_id': 'e5bb1187effa41149ef0a96926fdfc36', 'project_id': 'e5bb1187effa41149ef0a96926fdfc36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12172723', 'ctest-vn-06420149'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 13:33:34,645 - DEBUG - Response for create_subnet : {'subnet': {'id': '818f9832-d173-43ae-a0ac-39504dbb1e4a', 'name': '', 'tenant_id': 'e5bb1187effa41149ef0a96926fdfc36', 'network_id': 'abc4bef8-9dea-45ad-bc32-612ff9a62cda', 'ip_version': 4, 'cidr': '11.41.209.64/26', 'allocation_pools': [{'start': '11.41.209.66', 'end': '11.41.209.126'}], 'gateway_ip': '11.41.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.41.209.66', 'tags': [], 'project_id': 'e5bb1187effa41149ef0a96926fdfc36'}} 2024-09-12 13:33:34,670 - INFO - Created VN ctest-vn-06420149 2024-09-12 13:33:34,734 - DEBUG - VN ctest-vn-06420149 UUID is abc4bef8-9dea-45ad-bc32-612ff9a62cda 2024-09-12 13:33:35,172 - DEBUG - Response for create_network : {'network': {'id': '14d1f2c1-7815-4657-aa74-b83e6bc1418a', 'name': 'ctest-ext_vn-66235658', 'tenant_id': 'e5bb1187effa41149ef0a96926fdfc36', 'project_id': 'e5bb1187effa41149ef0a96926fdfc36', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12172723', 'ctest-ext_vn-66235658'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 13:33:35,409 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b86d7484-7be4-4089-9565-9402cd9b20db', 'name': '', 'tenant_id': 'e5bb1187effa41149ef0a96926fdfc36', 'network_id': '14d1f2c1-7815-4657-aa74-b83e6bc1418a', 'ip_version': 4, 'cidr': '102.234.176.192/26', 'allocation_pools': [{'start': '102.234.176.194', 'end': '102.234.176.254'}], 'gateway_ip': '102.234.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.234.176.194', 'tags': [], 'project_id': 'e5bb1187effa41149ef0a96926fdfc36'}} 2024-09-12 13:33:35,434 - INFO - Created VN ctest-ext_vn-66235658 2024-09-12 13:33:35,494 - DEBUG - VN ctest-ext_vn-66235658 UUID is 14d1f2c1-7815-4657-aa74-b83e6bc1418a 2024-09-12 13:33:35,700 - DEBUG - Services list from nova: [, , ] 2024-09-12 13:33:36,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1908-1) 2024-09-12 13:33:38,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1908-1) 2024-09-12 13:33:38,255 - INFO - Setting gateway for router 1bd196b0-6279-4775-8121-d3d40ee19aa8 to network 14d1f2c1-7815-4657-aa74-b83e6bc1418a 2024-09-12 13:33:38,337 - INFO - Adding interface with subnet_id 818f9832-d173-43ae-a0ac-39504dbb1e4a, port_id None to router 1bd196b0-6279-4775-8121-d3d40ee19aa8 2024-09-12 13:33:38,837 - INFO - Waiting for VM ctest-TestRoutersBasic-12172723-20809010 to be up.. 2024-09-12 13:33:39,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 13:33:44,156 - DEBUG - VM is in ACTIVE state now 2024-09-12 13:33:44,156 - INFO - VM name : ctest-TestRoutersBasic-12172723-20809010 2024-09-12 13:33:44,259 - DEBUG - VM ctest-TestRoutersBasic-12172723-20809010 ID is 145e457b-cde4-46e0-b6f6-b799b2e1c292 2024-09-12 13:33:44,285 - DEBUG - VM ctest-TestRoutersBasic-12172723-20809010 launched on Node cn-jenkins-deploy-platform-ansible-os-1908-1 2024-09-12 13:33:44,379 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/145e457b-cde4-46e0-b6f6-b799b2e1c292 2024-09-12 13:33:44,695 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/145e457b-cde4-46e0-b6f6-b799b2e1c292 2024-09-12 13:33:44,739 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/54244552-db30-4f4e-9db3-da90a9fcf4e0 2024-09-12 13:33:48,032 - 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-12 13:33:48,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12172723-20809010 failed! 2024-09-12 13:33:48,097 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12172723:ctest-vn-06420149 is 11.41.209.65 and allocation pool is NOT set 2024-09-12 13:33:50,165 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.536 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.536/2.163/3.790/1.627 ms') 2024-09-12 13:33:50,165 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12172723-20809010 passed 2024-09-12 13:33:50,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 13:33:50,334 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12172723-20809010, IP 11.41.209.67, Port 22 2024-09-12 13:33:50,500 - DEBUG - VM ctest-TestRoutersBasic-12172723-20809010 is ready for SSH connections 2024-09-12 13:33:50,500 - INFO - Waiting for VM ctest-TestRoutersBasic-12172723-56810131 to be up.. 2024-09-12 13:33:50,659 - DEBUG - VM is in ACTIVE state now 2024-09-12 13:33:50,659 - INFO - VM name : ctest-TestRoutersBasic-12172723-56810131 2024-09-12 13:33:50,768 - DEBUG - VM ctest-TestRoutersBasic-12172723-56810131 ID is ac645a5e-db39-4e61-a461-de869524b20d 2024-09-12 13:33:50,770 - DEBUG - VM ctest-TestRoutersBasic-12172723-56810131 launched on Node cn-jenkins-deploy-platform-ansible-os-1908-1 2024-09-12 13:33:50,887 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ac645a5e-db39-4e61-a461-de869524b20d 2024-09-12 13:33:50,900 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8c1bd366-59bd-4875-a6de-e12c492a4e4d 2024-09-12 13:33:52,164 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.749 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.749/1.945/3.141/1.196 ms') 2024-09-12 13:33:52,164 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12172723-56810131 passed 2024-09-12 13:33:52,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 13:33:52,330 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12172723-56810131, IP 102.234.176.195, Port 22 2024-09-12 13:33:52,496 - DEBUG - VM ctest-TestRoutersBasic-12172723-56810131 is ready for SSH connections 2024-09-12 13:33:52,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 13:33:52,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.234.176.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-09-12 13:33:52,496 - DEBUG - ping -s 56 -c 3 -W 1 102.234.176.195 2024-09-12 13:33:56,246 - DEBUG - PING 102.234.176.195 (102.234.176.195): 56 data bytes 64 bytes from 102.234.176.195: seq=0 ttl=62 time=6.148 ms 64 bytes from 102.234.176.195: seq=1 ttl=62 time=1.246 ms 64 bytes from 102.234.176.195: seq=2 ttl=62 time=1.809 ms --- 102.234.176.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.246/3.067/6.148 ms 2024-09-12 13:33:56,246 - INFO - Ping to IP 102.234.176.195 from VM ctest-TestRoutersBasic-12172723-20809010 passed 2024-09-12 13:33:56,247 - INFO - Deleting interface with subnet_id 818f9832-d173-43ae-a0ac-39504dbb1e4a, port_id None from router 1bd196b0-6279-4775-8121-d3d40ee19aa8 2024-09-12 13:33:56,547 - INFO - Deleting VM ctest-TestRoutersBasic-12172723-56810131 2024-09-12 13:33:56,658 - INFO - Deleting VM ctest-TestRoutersBasic-12172723-20809010 2024-09-12 13:33:56,763 - INFO - Deleting VN ctest-ext_vn-66235658 2024-09-12 13:33:56,874 - DEBUG - VN 14d1f2c1-7815-4657-aa74-b83e6bc1418a still in use: Unable to complete operation on network 14d1f2c1-7815-4657-aa74-b83e6bc1418a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78f5ca4a-3fcb-4d51-9928-bd1ab26f4494'] 2024-09-12 13:33:56,874 - WARNING - Deleting VN ctest-ext_vn-66235658 failed..Will retry 2024-09-12 13:33:59,005 - DEBUG - Response for deleting network () 2024-09-12 13:33:59,005 - INFO - Deleting VN ctest-vn-06420149 2024-09-12 13:33:59,149 - DEBUG - Response for deleting network () 2024-09-12 13:33:59,409 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 13:33:59,409 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-09-12 13:33:59,409 - INFO - -------------------------------------------------------------------------------- 2024-09-12 13:34:00,192 - INFO - Deleted project: ctest-TestRoutersBasic-12172723, ID : e5bb1187-effa-4114-9ef0-a96926fdfc36