2024-11-03 12:56:14,619 - INFO - Domain Default found not creating 2024-11-03 12:56:14,776 - INFO - Project ctest-TestRoutersBasic-33216525 not found, creating it 2024-11-03 12:56:15,261 - INFO - Created Project:ctest-TestRoutersBasic-33216525, ID : 16a126ba-37c4-464f-bffd-a9b9106cc26f 2024-11-03 12:56:16,841 - INFO - ================================================================================ 2024-11-03 12:56:16,841 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-11-03 12:56:16,841 - 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-03 12:56:17,098 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2024-11-03 12:56:17,099 - INFO - Initial checks done. Running the testcase now 2024-11-03 12:56:17,099 - INFO - 2024-11-03 12:56:17,819 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33216525 2024-11-03 12:56:17,919 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33216525 2024-11-03 12:56:18,250 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33216525', 'default']} 2024-11-03 12:56:18,565 - DEBUG - Response for create_network : {'network': {'id': '430e86b0-c6f9-4378-bd6c-e6ae87386247', 'name': 'ctest-vn-73422079', 'tenant_id': '16a126ba37c4464fbffda9b9106cc26f', 'project_id': '16a126ba37c4464fbffda9b9106cc26f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33216525', 'ctest-vn-73422079'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 12:56:18,782 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8e18326-2adc-4701-8ef2-e9b226cba641', 'name': '', 'tenant_id': '16a126ba37c4464fbffda9b9106cc26f', 'network_id': '430e86b0-c6f9-4378-bd6c-e6ae87386247', 'ip_version': 4, 'cidr': '214.59.12.128/26', 'allocation_pools': [{'start': '214.59.12.130', 'end': '214.59.12.190'}], 'gateway_ip': '214.59.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.59.12.130', 'tags': [], 'project_id': '16a126ba37c4464fbffda9b9106cc26f'}} 2024-11-03 12:56:18,800 - INFO - Created VN ctest-vn-73422079 2024-11-03 12:56:18,859 - DEBUG - VN ctest-vn-73422079 UUID is 430e86b0-c6f9-4378-bd6c-e6ae87386247 2024-11-03 12:56:19,228 - DEBUG - Response for create_network : {'network': {'id': '83a8b593-6562-4b1e-be47-1d3ff345bee2', 'name': 'ctest-ext_vn-55432351', 'tenant_id': '16a126ba37c4464fbffda9b9106cc26f', 'project_id': '16a126ba37c4464fbffda9b9106cc26f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33216525', 'ctest-ext_vn-55432351'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 12:56:19,426 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a6947ad-5c92-4793-be5c-74c3a740146d', 'name': '', 'tenant_id': '16a126ba37c4464fbffda9b9106cc26f', 'network_id': '83a8b593-6562-4b1e-be47-1d3ff345bee2', 'ip_version': 4, 'cidr': '222.180.8.64/26', 'allocation_pools': [{'start': '222.180.8.66', 'end': '222.180.8.126'}], 'gateway_ip': '222.180.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.180.8.66', 'tags': [], 'project_id': '16a126ba37c4464fbffda9b9106cc26f'}} 2024-11-03 12:56:19,448 - INFO - Created VN ctest-ext_vn-55432351 2024-11-03 12:56:19,507 - DEBUG - VN ctest-ext_vn-55432351 UUID is 83a8b593-6562-4b1e-be47-1d3ff345bee2 2024-11-03 12:56:19,697 - DEBUG - Services list from nova: [, , ] 2024-11-03 12:56:20,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2187-1) 2024-11-03 12:56:22,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2187-1) 2024-11-03 12:56:22,145 - INFO - Setting gateway for router 17460fc5-e720-42af-b809-4cf96a73db77 to network 83a8b593-6562-4b1e-be47-1d3ff345bee2 2024-11-03 12:56:22,321 - INFO - Adding interface with subnet_id f8e18326-2adc-4701-8ef2-e9b226cba641, port_id None to router 17460fc5-e720-42af-b809-4cf96a73db77 2024-11-03 12:56:22,795 - INFO - Waiting for VM ctest-TestRoutersBasic-33216525-74200982 to be up.. 2024-11-03 12:56:22,950 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-03 12:56:28,031 - DEBUG - VM is in ACTIVE state now 2024-11-03 12:56:28,031 - INFO - VM name : ctest-TestRoutersBasic-33216525-74200982 2024-11-03 12:56:28,121 - DEBUG - VM ctest-TestRoutersBasic-33216525-74200982 ID is 28daf591-0663-465a-888f-28974bdc5b89 2024-11-03 12:56:28,145 - DEBUG - VM ctest-TestRoutersBasic-33216525-74200982 launched on Node cn-jenkins-deploy-platform-ansible-os-2187-1 2024-11-03 12:56:28,229 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/28daf591-0663-465a-888f-28974bdc5b89 2024-11-03 12:56:28,531 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/28daf591-0663-465a-888f-28974bdc5b89 2024-11-03 12:56:28,566 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/748d02aa-498e-45e3-926c-b9ba3b40e4d7 2024-11-03 12:56:31,841 - 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 1023ms') 2024-11-03 12:56:31,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33216525-74200982 failed! 2024-11-03 12:56:31,907 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33216525:ctest-vn-73422079 is 214.59.12.129 and allocation pool is NOT set 2024-11-03 12:56:33,971 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.557 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.557/2.164/3.771/1.607 ms') 2024-11-03 12:56:33,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33216525-74200982 passed 2024-11-03 12:56:34,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 12:56:34,091 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33216525-74200982, IP 214.59.12.131, Port 22 2024-11-03 12:56:34,246 - DEBUG - VM ctest-TestRoutersBasic-33216525-74200982 is ready for SSH connections 2024-11-03 12:56:34,246 - INFO - Waiting for VM ctest-TestRoutersBasic-33216525-67266756 to be up.. 2024-11-03 12:56:34,332 - DEBUG - VM is in ACTIVE state now 2024-11-03 12:56:34,332 - INFO - VM name : ctest-TestRoutersBasic-33216525-67266756 2024-11-03 12:56:34,412 - DEBUG - VM ctest-TestRoutersBasic-33216525-67266756 ID is eb880e2b-4401-4390-bbea-33e6670eb05f 2024-11-03 12:56:34,412 - DEBUG - VM ctest-TestRoutersBasic-33216525-67266756 launched on Node cn-jenkins-deploy-platform-ansible-os-2187-1 2024-11-03 12:56:34,493 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/eb880e2b-4401-4390-bbea-33e6670eb05f 2024-11-03 12:56:34,504 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/1730c6ab-3fee-4fbe-a87c-eaa455d9e177 2024-11-03 12:56:35,769 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/1.802/3.249/1.447 ms') 2024-11-03 12:56:35,769 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33216525-67266756 passed 2024-11-03 12:56:35,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 12:56:35,935 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33216525-67266756, IP 222.180.8.67, Port 22 2024-11-03 12:56:36,094 - DEBUG - VM ctest-TestRoutersBasic-33216525-67266756 is ready for SSH connections 2024-11-03 12:56:36,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 12:56:36,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.180.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-11-03 12:56:36,095 - DEBUG - ping -s 56 -c 3 -W 1 222.180.8.67 2024-11-03 12:56:39,782 - DEBUG - PING 222.180.8.67 (222.180.8.67): 56 data bytes 64 bytes from 222.180.8.67: seq=0 ttl=62 time=5.827 ms 64 bytes from 222.180.8.67: seq=1 ttl=62 time=0.857 ms 64 bytes from 222.180.8.67: seq=2 ttl=62 time=0.906 ms --- 222.180.8.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/2.530/5.827 ms 2024-11-03 12:56:39,782 - INFO - Ping to IP 222.180.8.67 from VM ctest-TestRoutersBasic-33216525-74200982 passed 2024-11-03 12:56:39,782 - INFO - Deleting interface with subnet_id f8e18326-2adc-4701-8ef2-e9b226cba641, port_id None from router 17460fc5-e720-42af-b809-4cf96a73db77 2024-11-03 12:56:40,011 - INFO - Deleting VM ctest-TestRoutersBasic-33216525-67266756 2024-11-03 12:56:40,080 - INFO - Deleting VM ctest-TestRoutersBasic-33216525-74200982 2024-11-03 12:56:40,158 - INFO - Deleting VN ctest-ext_vn-55432351 2024-11-03 12:56:40,237 - DEBUG - VN 83a8b593-6562-4b1e-be47-1d3ff345bee2 still in use: Unable to complete operation on network 83a8b593-6562-4b1e-be47-1d3ff345bee2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ecda62d3-c55d-4404-889e-bbefc0552c98'] 2024-11-03 12:56:40,237 - WARNING - Deleting VN ctest-ext_vn-55432351 failed..Will retry 2024-11-03 12:56:42,355 - DEBUG - Response for deleting network () 2024-11-03 12:56:42,356 - INFO - Deleting VN ctest-vn-73422079 2024-11-03 12:56:42,464 - DEBUG - Response for deleting network () 2024-11-03 12:56:42,720 - DEBUG - No XMPP flaps were noticed during the test
2024-11-03 12:56:42,720 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-11-03 12:56:42,720 - INFO - -------------------------------------------------------------------------------- 2024-11-03 12:56:43,427 - INFO - Deleted project: ctest-TestRoutersBasic-33216525, ID : 16a126ba-37c4-464f-bffd-a9b9106cc26f