2024-09-10 21:11:07,608 - INFO - Domain Default found not creating 2024-09-10 21:11:07,756 - INFO - Project ctest-TestRoutersBasic-36510860 not found, creating it 2024-09-10 21:11:08,214 - INFO - Created Project:ctest-TestRoutersBasic-36510860, ID : c42ca0ea-7bab-404b-b189-6d0990ad6e66 2024-09-10 21:11:09,722 - INFO - ================================================================================ 2024-09-10 21:11:09,722 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-10 21:11:09,723 - 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-10 21:11:09,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.7': '0'}} with 2024-09-10 21:11:09,978 - INFO - Initial checks done. Running the testcase now 2024-09-10 21:11:09,978 - INFO - 2024-09-10 21:11:10,700 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-36510860 2024-09-10 21:11:10,799 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-36510860 2024-09-10 21:11:11,119 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36510860', 'default']} 2024-09-10 21:11:11,418 - DEBUG - Response for create_network : {'network': {'id': '34980a20-48b4-4c88-95c0-ad96d3d4c2d6', 'name': 'ctest-vn-22326822', 'tenant_id': 'c42ca0ea7bab404bb1896d0990ad6e66', 'project_id': 'c42ca0ea7bab404bb1896d0990ad6e66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36510860', 'ctest-vn-22326822'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 21:11:11,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f8fce5f-1fee-46fe-a268-f860de87b5f9', 'name': '', 'tenant_id': 'c42ca0ea7bab404bb1896d0990ad6e66', 'network_id': '34980a20-48b4-4c88-95c0-ad96d3d4c2d6', 'ip_version': 4, 'cidr': '93.199.57.128/26', 'allocation_pools': [{'start': '93.199.57.130', 'end': '93.199.57.190'}], 'gateway_ip': '93.199.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.199.57.130', 'tags': [], 'project_id': 'c42ca0ea7bab404bb1896d0990ad6e66'}} 2024-09-10 21:11:11,587 - INFO - Created VN ctest-vn-22326822 2024-09-10 21:11:11,635 - DEBUG - VN ctest-vn-22326822 UUID is 34980a20-48b4-4c88-95c0-ad96d3d4c2d6 2024-09-10 21:11:11,947 - DEBUG - Response for create_network : {'network': {'id': 'c6c06815-4888-43b1-a494-6f861d6ab453', 'name': 'ctest-ext_vn-88654076', 'tenant_id': 'c42ca0ea7bab404bb1896d0990ad6e66', 'project_id': 'c42ca0ea7bab404bb1896d0990ad6e66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-36510860', 'ctest-ext_vn-88654076'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 21:11:12,164 - DEBUG - Response for create_subnet : {'subnet': {'id': '468e6178-2f09-48a6-82f4-7ec419c06ef1', 'name': '', 'tenant_id': 'c42ca0ea7bab404bb1896d0990ad6e66', 'network_id': 'c6c06815-4888-43b1-a494-6f861d6ab453', 'ip_version': 4, 'cidr': '58.201.30.128/26', 'allocation_pools': [{'start': '58.201.30.130', 'end': '58.201.30.190'}], 'gateway_ip': '58.201.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.201.30.130', 'tags': [], 'project_id': 'c42ca0ea7bab404bb1896d0990ad6e66'}} 2024-09-10 21:11:12,184 - INFO - Created VN ctest-ext_vn-88654076 2024-09-10 21:11:12,235 - DEBUG - VN ctest-ext_vn-88654076 UUID is c6c06815-4888-43b1-a494-6f861d6ab453 2024-09-10 21:11:12,403 - DEBUG - Services list from nova: [, , ] 2024-09-10 21:11:13,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1888-1) 2024-09-10 21:11:14,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1888-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1888-1) 2024-09-10 21:11:14,676 - INFO - Setting gateway for router 01cdf598-5dbc-42c3-b112-a1bc33c033d2 to network c6c06815-4888-43b1-a494-6f861d6ab453 2024-09-10 21:11:14,764 - INFO - Adding interface with subnet_id 5f8fce5f-1fee-46fe-a268-f860de87b5f9, port_id None to router 01cdf598-5dbc-42c3-b112-a1bc33c033d2 2024-09-10 21:11:15,143 - INFO - Waiting for VM ctest-TestRoutersBasic-36510860-17714946 to be up.. 2024-09-10 21:11:15,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-10 21:11:20,423 - DEBUG - VM is in ACTIVE state now 2024-09-10 21:11:20,423 - INFO - VM name : ctest-TestRoutersBasic-36510860-17714946 2024-09-10 21:11:20,515 - DEBUG - VM ctest-TestRoutersBasic-36510860-17714946 ID is bb36170f-c022-4159-9ee3-47835cb38d0c 2024-09-10 21:11:20,542 - DEBUG - VM ctest-TestRoutersBasic-36510860-17714946 launched on Node cn-jenkins-deploy-platform-ansible-os-1888-1 2024-09-10 21:11:20,641 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bb36170f-c022-4159-9ee3-47835cb38d0c 2024-09-10 21:11:20,955 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/bb36170f-c022-4159-9ee3-47835cb38d0c 2024-09-10 21:11:20,988 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/70a460df-b476-47d9-901b-dcfc49bd6e05 2024-09-10 21:11:24,243 - 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-09-10 21:11:24,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36510860-17714946 failed! 2024-09-10 21:11:24,299 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-36510860:ctest-vn-22326822 is 93.199.57.129 and allocation pool is NOT set 2024-09-10 21:11:26,357 - 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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.607/2.836/1.228 ms') 2024-09-10 21:11:26,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-36510860-17714946 passed 2024-09-10 21:11:26,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:11:26,508 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36510860-17714946, IP 93.199.57.131, Port 22 2024-09-10 21:11:26,675 - DEBUG - VM ctest-TestRoutersBasic-36510860-17714946 is ready for SSH connections 2024-09-10 21:11:26,675 - INFO - Waiting for VM ctest-TestRoutersBasic-36510860-81974589 to be up.. 2024-09-10 21:11:26,783 - DEBUG - VM is in ACTIVE state now 2024-09-10 21:11:26,784 - INFO - VM name : ctest-TestRoutersBasic-36510860-81974589 2024-09-10 21:11:26,861 - DEBUG - VM ctest-TestRoutersBasic-36510860-81974589 ID is 34d3dd83-ca14-41e6-8c43-3ffbeb10144e 2024-09-10 21:11:26,862 - DEBUG - VM ctest-TestRoutersBasic-36510860-81974589 launched on Node cn-jenkins-deploy-platform-ansible-os-1888-1 2024-09-10 21:11:26,934 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/34d3dd83-ca14-41e6-8c43-3ffbeb10144e 2024-09-10 21:11:26,942 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/a126903d-13ac-4747-8a93-8e838ad401a3 2024-09-10 21:11:28,179 - 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=270 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.418 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.418/135.296/270.174/134.878 ms') 2024-09-10 21:11:28,179 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-36510860-81974589 passed 2024-09-10 21:11:28,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:11:28,328 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-36510860-81974589, IP 58.201.30.131, Port 22 2024-09-10 21:11:28,495 - DEBUG - VM ctest-TestRoutersBasic-36510860-81974589 is ready for SSH connections 2024-09-10 21:11:28,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 21:11:28,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.201.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-09-10 21:11:28,495 - DEBUG - ping -s 56 -c 3 -W 1 58.201.30.131 2024-09-10 21:11:32,172 - DEBUG - PING 58.201.30.131 (58.201.30.131): 56 data bytes 64 bytes from 58.201.30.131: seq=0 ttl=62 time=5.124 ms 64 bytes from 58.201.30.131: seq=1 ttl=62 time=1.033 ms 64 bytes from 58.201.30.131: seq=2 ttl=62 time=0.946 ms --- 58.201.30.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/2.367/5.124 ms 2024-09-10 21:11:32,172 - INFO - Ping to IP 58.201.30.131 from VM ctest-TestRoutersBasic-36510860-17714946 passed 2024-09-10 21:11:32,172 - INFO - Deleting interface with subnet_id 5f8fce5f-1fee-46fe-a268-f860de87b5f9, port_id None from router 01cdf598-5dbc-42c3-b112-a1bc33c033d2 2024-09-10 21:11:32,419 - INFO - Deleting VM ctest-TestRoutersBasic-36510860-81974589 2024-09-10 21:11:32,484 - INFO - Deleting VM ctest-TestRoutersBasic-36510860-17714946 2024-09-10 21:11:32,550 - INFO - Deleting VN ctest-ext_vn-88654076 2024-09-10 21:11:32,628 - DEBUG - VN c6c06815-4888-43b1-a494-6f861d6ab453 still in use: Unable to complete operation on network c6c06815-4888-43b1-a494-6f861d6ab453. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89dc3b58-6bf3-4c6d-9933-78af49552b4b'] 2024-09-10 21:11:32,628 - WARNING - Deleting VN ctest-ext_vn-88654076 failed..Will retry 2024-09-10 21:11:34,749 - DEBUG - Response for deleting network () 2024-09-10 21:11:34,749 - INFO - Deleting VN ctest-vn-22326822 2024-09-10 21:11:34,886 - DEBUG - Response for deleting network () 2024-09-10 21:11:35,141 - DEBUG - No XMPP flaps were noticed during the test 2024-09-10 21:11:35,141 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2024-09-10 21:11:35,141 - INFO - -------------------------------------------------------------------------------- 2024-09-10 21:11:35,812 - INFO - Deleted project: ctest-TestRoutersBasic-36510860, ID : c42ca0ea-7bab-404b-b189-6d0990ad6e66