2024-11-15 01:44:09,981 - INFO - Domain Default found not creating 2024-11-15 01:44:10,146 - INFO - Project ctest-TestRoutersBasic-46001037 not found, creating it 2024-11-15 01:44:10,653 - INFO - Created Project:ctest-TestRoutersBasic-46001037, ID : abe26ebd-4895-4212-bdf7-e99cad195c09 2024-11-15 01:44:12,719 - INFO - ================================================================================ 2024-11-15 01:44:12,719 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-11-15 01:44:12,719 - 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-11-15 01:44:13,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.18': '0'}} with 2024-11-15 01:44:13,079 - INFO - Initial checks done. Running the testcase now 2024-11-15 01:44:13,079 - INFO - 2024-11-15 01:44:13,817 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46001037 2024-11-15 01:44:13,917 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46001037 2024-11-15 01:44:14,257 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46001037', 'default']} 2024-11-15 01:44:14,588 - DEBUG - Response for create_network : {'network': {'id': '641a4943-a6c3-48f1-bb3b-db9f84c06300', 'name': 'ctest-vn-89989344', 'tenant_id': 'abe26ebd48954212bdf7e99cad195c09', 'project_id': 'abe26ebd48954212bdf7e99cad195c09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46001037', 'ctest-vn-89989344'], 'port_security_enabled': True, 'description': ''}} 2024-11-15 01:44:14,774 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea79236a-348d-4926-88b1-5ae2fcdf3187', 'name': '', 'tenant_id': 'abe26ebd48954212bdf7e99cad195c09', 'network_id': '641a4943-a6c3-48f1-bb3b-db9f84c06300', 'ip_version': 4, 'cidr': '26.28.9.128/26', 'allocation_pools': [{'start': '26.28.9.130', 'end': '26.28.9.190'}], 'gateway_ip': '26.28.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.28.9.130', 'tags': [], 'project_id': 'abe26ebd48954212bdf7e99cad195c09'}} 2024-11-15 01:44:14,796 - INFO - Created VN ctest-vn-89989344 2024-11-15 01:44:14,861 - DEBUG - VN ctest-vn-89989344 UUID is 641a4943-a6c3-48f1-bb3b-db9f84c06300 2024-11-15 01:44:15,199 - DEBUG - Response for create_network : {'network': {'id': 'b3d893f0-5aec-4522-b752-889437e400ec', 'name': 'ctest-ext_vn-55458717', 'tenant_id': 'abe26ebd48954212bdf7e99cad195c09', 'project_id': 'abe26ebd48954212bdf7e99cad195c09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46001037', 'ctest-ext_vn-55458717'], 'port_security_enabled': True, 'description': ''}} 2024-11-15 01:44:15,379 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb9e77a1-0cbe-4856-a1bb-5288f71b7b69', 'name': '', 'tenant_id': 'abe26ebd48954212bdf7e99cad195c09', 'network_id': 'b3d893f0-5aec-4522-b752-889437e400ec', 'ip_version': 4, 'cidr': '40.104.45.192/26', 'allocation_pools': [{'start': '40.104.45.194', 'end': '40.104.45.254'}], 'gateway_ip': '40.104.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.104.45.194', 'tags': [], 'project_id': 'abe26ebd48954212bdf7e99cad195c09'}} 2024-11-15 01:44:15,398 - INFO - Created VN ctest-ext_vn-55458717 2024-11-15 01:44:15,453 - DEBUG - VN ctest-ext_vn-55458717 UUID is b3d893f0-5aec-4522-b752-889437e400ec 2024-11-15 01:44:15,630 - DEBUG - Services list from nova: [, , ] 2024-11-15 01:44:16,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2308-1) 2024-11-15 01:44:17,906 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2308-1) 2024-11-15 01:44:18,198 - INFO - Setting gateway for router 792cc668-7e8c-42f2-97de-d94a50a18273 to network b3d893f0-5aec-4522-b752-889437e400ec 2024-11-15 01:44:18,265 - INFO - Adding interface with subnet_id ea79236a-348d-4926-88b1-5ae2fcdf3187, port_id None to router 792cc668-7e8c-42f2-97de-d94a50a18273 2024-11-15 01:44:18,885 - INFO - Waiting for VM ctest-TestRoutersBasic-46001037-71305123 to be up.. 2024-11-15 01:44:19,059 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-15 01:44:24,160 - DEBUG - VM is in ACTIVE state now 2024-11-15 01:44:24,160 - INFO - VM name : ctest-TestRoutersBasic-46001037-71305123 2024-11-15 01:44:24,244 - DEBUG - VM ctest-TestRoutersBasic-46001037-71305123 ID is cec8b6a0-fe9b-4597-b747-b43fa566eafc 2024-11-15 01:44:24,262 - DEBUG - VM ctest-TestRoutersBasic-46001037-71305123 launched on Node cn-jenkins-deploy-platform-ansible-os-2308-1 2024-11-15 01:44:24,343 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/cec8b6a0-fe9b-4597-b747-b43fa566eafc 2024-11-15 01:44:24,646 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/cec8b6a0-fe9b-4597-b747-b43fa566eafc 2024-11-15 01:44:24,692 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/ebd818b1-4ccb-4d98-936f-1715de7858ab 2024-11-15 01:44:27,966 - 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 1003ms') 2024-11-15 01:44:27,966 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46001037-71305123 failed! 2024-11-15 01:44:28,025 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46001037:ctest-vn-89989344 is 26.28.9.129 and allocation pool is NOT set 2024-11-15 01:44:30,092 - 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=291 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.433/145.810/291.187/145.377 ms') 2024-11-15 01:44:30,092 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46001037-71305123 passed 2024-11-15 01:44:30,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:44:30,257 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46001037-71305123, IP 26.28.9.131, Port 22 2024-11-15 01:44:30,426 - DEBUG - VM ctest-TestRoutersBasic-46001037-71305123 is ready for SSH connections 2024-11-15 01:44:30,426 - INFO - Waiting for VM ctest-TestRoutersBasic-46001037-50901072 to be up.. 2024-11-15 01:44:30,521 - DEBUG - VM is in ACTIVE state now 2024-11-15 01:44:30,521 - INFO - VM name : ctest-TestRoutersBasic-46001037-50901072 2024-11-15 01:44:30,599 - DEBUG - VM ctest-TestRoutersBasic-46001037-50901072 ID is 5a2ae1a3-8154-451f-9695-ffeaf5faad07 2024-11-15 01:44:30,599 - DEBUG - VM ctest-TestRoutersBasic-46001037-50901072 launched on Node cn-jenkins-deploy-platform-ansible-os-2308-1 2024-11-15 01:44:30,677 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/5a2ae1a3-8154-451f-9695-ffeaf5faad07 2024-11-15 01:44:30,686 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/22d753a2-6182-4294-b15b-8260f5a60242 2024-11-15 01:44:31,941 - 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=5.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.72 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.715/3.746/5.777/2.031 ms') 2024-11-15 01:44:31,941 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46001037-50901072 passed 2024-11-15 01:44:32,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:44:32,117 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46001037-50901072, IP 40.104.45.195, Port 22 2024-11-15 01:44:32,281 - DEBUG - VM ctest-TestRoutersBasic-46001037-50901072 is ready for SSH connections 2024-11-15 01:44:32,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-15 01:44:32,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.104.45.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.42, gateway password: c0ntrail123 2024-11-15 01:44:32,281 - DEBUG - ping -s 56 -c 3 -W 1 40.104.45.195 2024-11-15 01:44:35,972 - DEBUG - PING 40.104.45.195 (40.104.45.195): 56 data bytes 64 bytes from 40.104.45.195: seq=0 ttl=62 time=8.718 ms 64 bytes from 40.104.45.195: seq=1 ttl=62 time=0.754 ms 64 bytes from 40.104.45.195: seq=2 ttl=62 time=1.392 ms --- 40.104.45.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/3.621/8.718 ms 2024-11-15 01:44:35,972 - INFO - Ping to IP 40.104.45.195 from VM ctest-TestRoutersBasic-46001037-71305123 passed 2024-11-15 01:44:35,972 - INFO - Deleting interface with subnet_id ea79236a-348d-4926-88b1-5ae2fcdf3187, port_id None from router 792cc668-7e8c-42f2-97de-d94a50a18273 2024-11-15 01:44:36,169 - INFO - Deleting VM ctest-TestRoutersBasic-46001037-50901072 2024-11-15 01:44:36,233 - INFO - Deleting VM ctest-TestRoutersBasic-46001037-71305123 2024-11-15 01:44:36,702 - INFO - Deleting VN ctest-ext_vn-55458717 2024-11-15 01:44:36,821 - DEBUG - VN b3d893f0-5aec-4522-b752-889437e400ec still in use: Unable to complete operation on network b3d893f0-5aec-4522-b752-889437e400ec. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a672145-009a-4b50-824f-78ac79a6ba12'] 2024-11-15 01:44:36,821 - WARNING - Deleting VN ctest-ext_vn-55458717 failed..Will retry 2024-11-15 01:44:38,969 - DEBUG - Response for deleting network () 2024-11-15 01:44:38,969 - INFO - Deleting VN ctest-vn-89989344 2024-11-15 01:44:39,081 - DEBUG - Response for deleting network () 2024-11-15 01:44:39,336 - DEBUG - No XMPP flaps were noticed during the test
2024-11-15 01:44:39,336 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2024-11-15 01:44:39,336 - INFO - -------------------------------------------------------------------------------- 2024-11-15 01:44:40,068 - INFO - Deleted project: ctest-TestRoutersBasic-46001037, ID : abe26ebd-4895-4212-bdf7-e99cad195c09