2024-12-23 02:11:14,285 - INFO - Domain Default found not creating 2024-12-23 02:11:14,439 - INFO - Project ctest-TestRoutersBasic-38437903 not found, creating it 2024-12-23 02:11:14,889 - INFO - Created Project:ctest-TestRoutersBasic-38437903, ID : e2338583-200d-45e4-8099-b2656978c543 2024-12-23 02:11:16,359 - INFO - ================================================================================ 2024-12-23 02:11:16,359 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-12-23 02:11:16,359 - 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-12-23 02:11:16,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.17': '0'}} with 2024-12-23 02:11:16,614 - INFO - Initial checks done. Running the testcase now 2024-12-23 02:11:16,614 - INFO - 2024-12-23 02:11:17,292 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38437903 2024-12-23 02:11:17,388 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38437903 2024-12-23 02:11:17,700 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38437903', 'default']} 2024-12-23 02:11:17,978 - DEBUG - Response for create_network : {'network': {'id': 'b8dccc3f-6d3f-4a6b-b304-25760edba4a2', 'name': 'ctest-vn-58987102', 'tenant_id': 'e2338583200d45e48099b2656978c543', 'project_id': 'e2338583200d45e48099b2656978c543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38437903', 'ctest-vn-58987102'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 02:11:18,176 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6e77679-f9e4-4cea-9d65-f5efc3b6ef4c', 'name': '', 'tenant_id': 'e2338583200d45e48099b2656978c543', 'network_id': 'b8dccc3f-6d3f-4a6b-b304-25760edba4a2', 'ip_version': 4, 'cidr': '36.178.182.64/26', 'allocation_pools': [{'start': '36.178.182.66', 'end': '36.178.182.126'}], 'gateway_ip': '36.178.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.178.182.66', 'tags': [], 'project_id': 'e2338583200d45e48099b2656978c543'}} 2024-12-23 02:11:18,192 - INFO - Created VN ctest-vn-58987102 2024-12-23 02:11:18,240 - DEBUG - VN ctest-vn-58987102 UUID is b8dccc3f-6d3f-4a6b-b304-25760edba4a2 2024-12-23 02:11:18,538 - DEBUG - Response for create_network : {'network': {'id': '1c018b22-d779-463f-aae8-39e5f9755776', 'name': 'ctest-ext_vn-42954286', 'tenant_id': 'e2338583200d45e48099b2656978c543', 'project_id': 'e2338583200d45e48099b2656978c543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38437903', 'ctest-ext_vn-42954286'], 'port_security_enabled': True, 'description': ''}} 2024-12-23 02:11:18,739 - DEBUG - Response for create_subnet : {'subnet': {'id': '91fc5ebc-a06c-4874-a4d0-58fd255aadfa', 'name': '', 'tenant_id': 'e2338583200d45e48099b2656978c543', 'network_id': '1c018b22-d779-463f-aae8-39e5f9755776', 'ip_version': 4, 'cidr': '23.101.92.192/26', 'allocation_pools': [{'start': '23.101.92.194', 'end': '23.101.92.254'}], 'gateway_ip': '23.101.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.101.92.194', 'tags': [], 'project_id': 'e2338583200d45e48099b2656978c543'}} 2024-12-23 02:11:18,756 - INFO - Created VN ctest-ext_vn-42954286 2024-12-23 02:11:18,804 - DEBUG - VN ctest-ext_vn-42954286 UUID is 1c018b22-d779-463f-aae8-39e5f9755776 2024-12-23 02:11:18,994 - DEBUG - Services list from nova: [, , ] 2024-12-23 02:11:19,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2486-1) 2024-12-23 02:11:21,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2486-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2486-1) 2024-12-23 02:11:21,101 - INFO - Setting gateway for router 95e2d1b9-8a3c-44da-898e-fedb3e838bb0 to network 1c018b22-d779-463f-aae8-39e5f9755776 2024-12-23 02:11:21,153 - INFO - Adding interface with subnet_id e6e77679-f9e4-4cea-9d65-f5efc3b6ef4c, port_id None to router 95e2d1b9-8a3c-44da-898e-fedb3e838bb0 2024-12-23 02:11:21,487 - INFO - Waiting for VM ctest-TestRoutersBasic-38437903-59996727 to be up.. 2024-12-23 02:11:21,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-23 02:11:26,741 - DEBUG - VM is in ACTIVE state now 2024-12-23 02:11:26,741 - INFO - VM name : ctest-TestRoutersBasic-38437903-59996727 2024-12-23 02:11:26,821 - DEBUG - VM ctest-TestRoutersBasic-38437903-59996727 ID is 737917ac-263b-45d9-ac26-ecb0b1af3a33 2024-12-23 02:11:26,838 - DEBUG - VM ctest-TestRoutersBasic-38437903-59996727 launched on Node cn-jenkins-deploy-platform-ansible-os-2486-1 2024-12-23 02:11:26,910 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/737917ac-263b-45d9-ac26-ecb0b1af3a33 2024-12-23 02:11:27,202 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/737917ac-263b-45d9-ac26-ecb0b1af3a33 2024-12-23 02:11:27,229 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/fc6ca4ef-556c-485d-bc77-8494272cc6aa 2024-12-23 02:11:30,469 - 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 1007ms') 2024-12-23 02:11:30,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38437903-59996727 failed! 2024-12-23 02:11:30,524 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38437903:ctest-vn-58987102 is 36.178.182.65 and allocation pool is NOT set 2024-12-23 02:11:32,585 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.362 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.362/2.333/4.305/1.971 ms') 2024-12-23 02:11:32,586 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38437903-59996727 passed 2024-12-23 02:11:32,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:11:32,732 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38437903-59996727, IP 36.178.182.67, Port 22 2024-12-23 02:11:32,888 - DEBUG - VM ctest-TestRoutersBasic-38437903-59996727 is ready for SSH connections 2024-12-23 02:11:32,888 - INFO - Waiting for VM ctest-TestRoutersBasic-38437903-37287246 to be up.. 2024-12-23 02:11:32,961 - DEBUG - VM is in ACTIVE state now 2024-12-23 02:11:32,961 - INFO - VM name : ctest-TestRoutersBasic-38437903-37287246 2024-12-23 02:11:33,028 - DEBUG - VM ctest-TestRoutersBasic-38437903-37287246 ID is 026f5e88-eabd-495f-a0a4-6b222573da26 2024-12-23 02:11:33,028 - DEBUG - VM ctest-TestRoutersBasic-38437903-37287246 launched on Node cn-jenkins-deploy-platform-ansible-os-2486-1 2024-12-23 02:11:33,093 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/026f5e88-eabd-495f-a0a4-6b222573da26 2024-12-23 02:11:33,101 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/a5e87b94-b9ed-4532-9682-5fcf384344eb 2024-12-23 02:11:34,337 - 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=2.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.598/2.824/1.225 ms') 2024-12-23 02:11:34,338 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38437903-37287246 passed 2024-12-23 02:11:34,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:11:34,492 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38437903-37287246, IP 23.101.92.195, Port 22 2024-12-23 02:11:34,648 - DEBUG - VM ctest-TestRoutersBasic-38437903-37287246 is ready for SSH connections 2024-12-23 02:11:34,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-23 02:11:34,648 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.101.92.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-23 02:11:34,648 - DEBUG - ping -s 56 -c 3 -W 1 23.101.92.195 2024-12-23 02:11:38,327 - DEBUG - PING 23.101.92.195 (23.101.92.195): 56 data bytes 64 bytes from 23.101.92.195: seq=0 ttl=62 time=4.327 ms 64 bytes from 23.101.92.195: seq=1 ttl=62 time=0.710 ms 64 bytes from 23.101.92.195: seq=2 ttl=62 time=1.128 ms --- 23.101.92.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/2.055/4.327 ms 2024-12-23 02:11:38,327 - INFO - Ping to IP 23.101.92.195 from VM ctest-TestRoutersBasic-38437903-59996727 passed 2024-12-23 02:11:38,327 - INFO - Deleting interface with subnet_id e6e77679-f9e4-4cea-9d65-f5efc3b6ef4c, port_id None from router 95e2d1b9-8a3c-44da-898e-fedb3e838bb0 2024-12-23 02:11:38,522 - INFO - Deleting VM ctest-TestRoutersBasic-38437903-37287246 2024-12-23 02:11:38,589 - INFO - Deleting VM ctest-TestRoutersBasic-38437903-59996727 2024-12-23 02:11:38,676 - INFO - Deleting VN ctest-ext_vn-42954286 2024-12-23 02:11:38,756 - DEBUG - VN 1c018b22-d779-463f-aae8-39e5f9755776 still in use: Unable to complete operation on network 1c018b22-d779-463f-aae8-39e5f9755776. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f44842bc-bdb6-49dc-b0b9-7ea717650920'] 2024-12-23 02:11:38,756 - WARNING - Deleting VN ctest-ext_vn-42954286 failed..Will retry 2024-12-23 02:11:40,865 - DEBUG - Response for deleting network () 2024-12-23 02:11:40,865 - INFO - Deleting VN ctest-vn-58987102 2024-12-23 02:11:40,976 - DEBUG - Response for deleting network () 2024-12-23 02:11:41,237 - DEBUG - No XMPP flaps were noticed during the test
2024-12-23 02:11:41,237 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-12-23 02:11:41,237 - INFO - -------------------------------------------------------------------------------- 2024-12-23 02:11:41,907 - INFO - Deleted project: ctest-TestRoutersBasic-38437903, ID : e2338583-200d-45e4-8099-b2656978c543