2024-08-29 11:21:10,402 - INFO - Domain Default found not creating 2024-08-29 11:21:10,585 - INFO - Project ctest-TestRoutersBasic-93236411 not found, creating it 2024-08-29 11:21:11,073 - INFO - Created Project:ctest-TestRoutersBasic-93236411, ID : 6ed8521f-c288-4780-9b7e-b41b9712b784 2024-08-29 11:21:12,697 - INFO - ================================================================================ 2024-08-29 11:21:12,697 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-29 11:21:12,697 - 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-08-29 11:21:12,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.8': '0'}} with 2024-08-29 11:21:12,963 - INFO - Initial checks done. Running the testcase now 2024-08-29 11:21:12,963 - INFO - 2024-08-29 11:21:13,719 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93236411 2024-08-29 11:21:13,824 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93236411 2024-08-29 11:21:14,167 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93236411', 'default']} 2024-08-29 11:21:14,519 - DEBUG - Response for create_network : {'network': {'id': 'be387782-91e3-4537-bf20-53d1e607c9c7', 'name': 'ctest-vn-49275417', 'tenant_id': '6ed8521fc28847809b7eb41b9712b784', 'project_id': '6ed8521fc28847809b7eb41b9712b784', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93236411', 'ctest-vn-49275417'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 11:21:14,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '2802a5ab-5631-4dff-82d0-ba410ccd0c7d', 'name': '', 'tenant_id': '6ed8521fc28847809b7eb41b9712b784', 'network_id': 'be387782-91e3-4537-bf20-53d1e607c9c7', 'ip_version': 4, 'cidr': '65.63.107.64/26', 'allocation_pools': [{'start': '65.63.107.66', 'end': '65.63.107.126'}], 'gateway_ip': '65.63.107.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.63.107.66', 'tags': [], 'project_id': '6ed8521fc28847809b7eb41b9712b784'}} 2024-08-29 11:21:14,742 - INFO - Created VN ctest-vn-49275417 2024-08-29 11:21:14,796 - DEBUG - VN ctest-vn-49275417 UUID is be387782-91e3-4537-bf20-53d1e607c9c7 2024-08-29 11:21:15,169 - DEBUG - Response for create_network : {'network': {'id': 'f0fa73d9-1d19-4dc6-9ba1-b3e76d76933f', 'name': 'ctest-ext_vn-45729525', 'tenant_id': '6ed8521fc28847809b7eb41b9712b784', 'project_id': '6ed8521fc28847809b7eb41b9712b784', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93236411', 'ctest-ext_vn-45729525'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 11:21:15,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '17d8615a-19ee-4131-94f2-8196489cc5f5', 'name': '', 'tenant_id': '6ed8521fc28847809b7eb41b9712b784', 'network_id': 'f0fa73d9-1d19-4dc6-9ba1-b3e76d76933f', 'ip_version': 4, 'cidr': '90.66.214.192/26', 'allocation_pools': [{'start': '90.66.214.194', 'end': '90.66.214.254'}], 'gateway_ip': '90.66.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.66.214.194', 'tags': [], 'project_id': '6ed8521fc28847809b7eb41b9712b784'}} 2024-08-29 11:21:15,381 - INFO - Created VN ctest-ext_vn-45729525 2024-08-29 11:21:15,432 - DEBUG - VN ctest-ext_vn-45729525 UUID is f0fa73d9-1d19-4dc6-9ba1-b3e76d76933f 2024-08-29 11:21:15,627 - DEBUG - Services list from nova: [, , ] 2024-08-29 11:21:16,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1806-1) 2024-08-29 11:21:18,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1806-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1806-1) 2024-08-29 11:21:18,222 - INFO - Setting gateway for router 16a5133a-6286-4b52-bcfc-980b5c7ea24e to network f0fa73d9-1d19-4dc6-9ba1-b3e76d76933f 2024-08-29 11:21:18,305 - INFO - Adding interface with subnet_id 2802a5ab-5631-4dff-82d0-ba410ccd0c7d, port_id None to router 16a5133a-6286-4b52-bcfc-980b5c7ea24e 2024-08-29 11:21:18,710 - INFO - Waiting for VM ctest-TestRoutersBasic-93236411-19648071 to be up.. 2024-08-29 11:21:18,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 11:21:23,997 - DEBUG - VM is in ACTIVE state now 2024-08-29 11:21:23,997 - INFO - VM name : ctest-TestRoutersBasic-93236411-19648071 2024-08-29 11:21:24,084 - DEBUG - VM ctest-TestRoutersBasic-93236411-19648071 ID is 18423edf-6c4d-48b4-a9de-5c0d1064a175 2024-08-29 11:21:24,107 - DEBUG - VM ctest-TestRoutersBasic-93236411-19648071 launched on Node cn-jenkins-deploy-platform-ansible-os-1806-1 2024-08-29 11:21:24,193 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/18423edf-6c4d-48b4-a9de-5c0d1064a175 2024-08-29 11:21:24,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/18423edf-6c4d-48b4-a9de-5c0d1064a175 2024-08-29 11:21:24,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0e2a29bd-7080-4a96-ad9e-c7b96c9a3978 2024-08-29 11:21:27,790 - 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-08-29 11:21:27,790 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93236411-19648071 failed! 2024-08-29 11:21:27,847 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93236411:ctest-vn-49275417 is 65.63.107.65 and allocation pool is NOT set 2024-08-29 11:21:29,905 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.758 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.758/1.968/3.179/1.210 ms') 2024-08-29 11:21:29,905 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93236411-19648071 passed 2024-08-29 11:21:30,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:21:30,060 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93236411-19648071, IP 65.63.107.67, Port 22 2024-08-29 11:21:30,233 - DEBUG - VM ctest-TestRoutersBasic-93236411-19648071 is ready for SSH connections 2024-08-29 11:21:30,233 - INFO - Waiting for VM ctest-TestRoutersBasic-93236411-31610599 to be up.. 2024-08-29 11:21:30,334 - DEBUG - VM is in ACTIVE state now 2024-08-29 11:21:30,334 - INFO - VM name : ctest-TestRoutersBasic-93236411-31610599 2024-08-29 11:21:30,426 - DEBUG - VM ctest-TestRoutersBasic-93236411-31610599 ID is bd850fbf-8adc-496a-91a0-9062fdc2ab02 2024-08-29 11:21:30,426 - DEBUG - VM ctest-TestRoutersBasic-93236411-31610599 launched on Node cn-jenkins-deploy-platform-ansible-os-1806-1 2024-08-29 11:21:30,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bd850fbf-8adc-496a-91a0-9062fdc2ab02 2024-08-29 11:21:30,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d0f3feac-c348-4b14-b789-2b6c13cb529a 2024-08-29 11:21:31,751 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.487 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.487/1.932/3.377/1.445 ms') 2024-08-29 11:21:31,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93236411-31610599 passed 2024-08-29 11:21:31,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:21:31,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93236411-31610599, IP 90.66.214.195, Port 22 2024-08-29 11:21:32,093 - DEBUG - VM ctest-TestRoutersBasic-93236411-31610599 is ready for SSH connections 2024-08-29 11:21:32,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 11:21:32,093 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.66.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2024-08-29 11:21:32,093 - DEBUG - ping -s 56 -c 3 -W 1 90.66.214.195 2024-08-29 11:21:35,795 - DEBUG - PING 90.66.214.195 (90.66.214.195): 56 data bytes 64 bytes from 90.66.214.195: seq=0 ttl=62 time=5.026 ms 64 bytes from 90.66.214.195: seq=1 ttl=62 time=0.854 ms 64 bytes from 90.66.214.195: seq=2 ttl=62 time=0.937 ms --- 90.66.214.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/2.272/5.026 ms 2024-08-29 11:21:35,796 - INFO - Ping to IP 90.66.214.195 from VM ctest-TestRoutersBasic-93236411-19648071 passed 2024-08-29 11:21:35,796 - INFO - Deleting interface with subnet_id 2802a5ab-5631-4dff-82d0-ba410ccd0c7d, port_id None from router 16a5133a-6286-4b52-bcfc-980b5c7ea24e 2024-08-29 11:21:36,029 - INFO - Deleting VM ctest-TestRoutersBasic-93236411-31610599 2024-08-29 11:21:36,104 - INFO - Deleting VM ctest-TestRoutersBasic-93236411-19648071 2024-08-29 11:21:36,185 - INFO - Deleting VN ctest-ext_vn-45729525 2024-08-29 11:21:36,260 - DEBUG - VN f0fa73d9-1d19-4dc6-9ba1-b3e76d76933f still in use: Unable to complete operation on network f0fa73d9-1d19-4dc6-9ba1-b3e76d76933f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6500ba17-e3eb-4203-94a3-4675c273ea9d'] 2024-08-29 11:21:36,261 - WARNING - Deleting VN ctest-ext_vn-45729525 failed..Will retry 2024-08-29 11:21:38,377 - DEBUG - Response for deleting network () 2024-08-29 11:21:38,377 - INFO - Deleting VN ctest-vn-49275417 2024-08-29 11:21:38,493 - DEBUG - Response for deleting network () 2024-08-29 11:21:38,755 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 11:21:38,755 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-29 11:21:38,755 - INFO - -------------------------------------------------------------------------------- 2024-08-29 11:21:39,436 - INFO - Deleted project: ctest-TestRoutersBasic-93236411, ID : 6ed8521f-c288-4780-9b7e-b41b9712b784