2024-10-22 22:09:59,092 - INFO - Domain Default found not creating 2024-10-22 22:09:59,247 - INFO - Project ctest-TestRoutersBasic-89750613 not found, creating it 2024-10-22 22:09:59,739 - INFO - Created Project:ctest-TestRoutersBasic-89750613, ID : 289547ed-4221-4850-9457-c1bbe0c93acc 2024-10-22 22:10:01,260 - INFO - ================================================================================ 2024-10-22 22:10:01,260 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-10-22 22:10:01,260 - 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-10-22 22:10:01,513 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.24': '0'}} with 2024-10-22 22:10:01,513 - INFO - Initial checks done. Running the testcase now 2024-10-22 22:10:01,513 - INFO - 2024-10-22 22:10:02,234 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89750613 2024-10-22 22:10:02,332 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89750613 2024-10-22 22:10:02,667 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89750613', 'default']} 2024-10-22 22:10:02,975 - DEBUG - Response for create_network : {'network': {'id': 'c827e2e6-7bea-4de5-b3b0-f26718b4f7e7', 'name': 'ctest-vn-02554789', 'tenant_id': '289547ed422148509457c1bbe0c93acc', 'project_id': '289547ed422148509457c1bbe0c93acc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89750613', 'ctest-vn-02554789'], 'port_security_enabled': True, 'description': ''}} 2024-10-22 22:10:03,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '71d40d10-e923-4f43-9a76-eb03cb46895d', 'name': '', 'tenant_id': '289547ed422148509457c1bbe0c93acc', 'network_id': 'c827e2e6-7bea-4de5-b3b0-f26718b4f7e7', 'ip_version': 4, 'cidr': '218.117.73.64/26', 'allocation_pools': [{'start': '218.117.73.66', 'end': '218.117.73.126'}], 'gateway_ip': '218.117.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.117.73.66', 'tags': [], 'project_id': '289547ed422148509457c1bbe0c93acc'}} 2024-10-22 22:10:03,164 - INFO - Created VN ctest-vn-02554789 2024-10-22 22:10:03,224 - DEBUG - VN ctest-vn-02554789 UUID is c827e2e6-7bea-4de5-b3b0-f26718b4f7e7 2024-10-22 22:10:03,568 - DEBUG - Response for create_network : {'network': {'id': '202a6f92-a983-43f7-96b8-a0bd396b2ee7', 'name': 'ctest-ext_vn-90675588', 'tenant_id': '289547ed422148509457c1bbe0c93acc', 'project_id': '289547ed422148509457c1bbe0c93acc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89750613', 'ctest-ext_vn-90675588'], 'port_security_enabled': True, 'description': ''}} 2024-10-22 22:10:03,780 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac7469fc-5a4f-400f-888a-bb926994064a', 'name': '', 'tenant_id': '289547ed422148509457c1bbe0c93acc', 'network_id': '202a6f92-a983-43f7-96b8-a0bd396b2ee7', 'ip_version': 4, 'cidr': '13.254.255.128/26', 'allocation_pools': [{'start': '13.254.255.130', 'end': '13.254.255.190'}], 'gateway_ip': '13.254.255.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.254.255.130', 'tags': [], 'project_id': '289547ed422148509457c1bbe0c93acc'}} 2024-10-22 22:10:03,798 - INFO - Created VN ctest-ext_vn-90675588 2024-10-22 22:10:03,855 - DEBUG - VN ctest-ext_vn-90675588 UUID is 202a6f92-a983-43f7-96b8-a0bd396b2ee7 2024-10-22 22:10:04,035 - DEBUG - Services list from nova: [, , ] 2024-10-22 22:10:05,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2127-1) 2024-10-22 22:10:06,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2127-1) 2024-10-22 22:10:06,344 - INFO - Setting gateway for router 43ec9419-7f23-400f-bad4-eba33afb6e35 to network 202a6f92-a983-43f7-96b8-a0bd396b2ee7 2024-10-22 22:10:06,411 - INFO - Adding interface with subnet_id 71d40d10-e923-4f43-9a76-eb03cb46895d, port_id None to router 43ec9419-7f23-400f-bad4-eba33afb6e35 2024-10-22 22:10:06,735 - INFO - Waiting for VM ctest-TestRoutersBasic-89750613-60066393 to be up.. 2024-10-22 22:10:06,887 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-22 22:10:11,977 - DEBUG - VM is in ACTIVE state now 2024-10-22 22:10:11,977 - INFO - VM name : ctest-TestRoutersBasic-89750613-60066393 2024-10-22 22:10:12,060 - DEBUG - VM ctest-TestRoutersBasic-89750613-60066393 ID is 37584f1d-a0a4-4946-bd95-2081ffe9b4d8 2024-10-22 22:10:12,079 - DEBUG - VM ctest-TestRoutersBasic-89750613-60066393 launched on Node cn-jenkins-deploy-platform-ansible-os-2127-1 2024-10-22 22:10:12,178 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/37584f1d-a0a4-4946-bd95-2081ffe9b4d8 2024-10-22 22:10:12,489 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/37584f1d-a0a4-4946-bd95-2081ffe9b4d8 2024-10-22 22:10:12,524 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/e6b07513-e426-48ee-b62a-6cde0fa5e70c 2024-10-22 22:10:15,793 - 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 1015ms') 2024-10-22 22:10:15,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89750613-60066393 failed! 2024-10-22 22:10:15,855 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89750613:ctest-vn-02554789 is 218.117.73.65 and allocation pool is NOT set 2024-10-22 22:10:17,914 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/1.616/2.787/1.170 ms') 2024-10-22 22:10:17,914 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89750613-60066393 passed 2024-10-22 22:10:18,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-22 22:10:18,068 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89750613-60066393, IP 218.117.73.67, Port 22 2024-10-22 22:10:18,223 - DEBUG - VM ctest-TestRoutersBasic-89750613-60066393 is ready for SSH connections 2024-10-22 22:10:18,224 - INFO - Waiting for VM ctest-TestRoutersBasic-89750613-98710690 to be up.. 2024-10-22 22:10:18,302 - DEBUG - VM is in ACTIVE state now 2024-10-22 22:10:18,302 - INFO - VM name : ctest-TestRoutersBasic-89750613-98710690 2024-10-22 22:10:18,379 - DEBUG - VM ctest-TestRoutersBasic-89750613-98710690 ID is e2141737-af45-4411-b938-a45686f4b1e0 2024-10-22 22:10:18,379 - DEBUG - VM ctest-TestRoutersBasic-89750613-98710690 launched on Node cn-jenkins-deploy-platform-ansible-os-2127-1 2024-10-22 22:10:18,464 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/e2141737-af45-4411-b938-a45686f4b1e0 2024-10-22 22:10:18,474 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/d0b06c43-b3fb-43bd-85df-402ff69c801f 2024-10-22 22:10:19,723 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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 = 0.387/1.935/3.484/1.548 ms') 2024-10-22 22:10:19,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89750613-98710690 passed 2024-10-22 22:10:19,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-22 22:10:19,880 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89750613-98710690, IP 13.254.255.131, Port 22 2024-10-22 22:10:20,039 - DEBUG - VM ctest-TestRoutersBasic-89750613-98710690 is ready for SSH connections 2024-10-22 22:10:20,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-22 22:10:20,039 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.254.255.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-22 22:10:20,039 - DEBUG - ping -s 56 -c 3 -W 1 13.254.255.131 2024-10-22 22:10:24,148 - DEBUG - PING 13.254.255.131 (13.254.255.131): 56 data bytes 64 bytes from 13.254.255.131: seq=0 ttl=62 time=6.154 ms 64 bytes from 13.254.255.131: seq=1 ttl=62 time=0.880 ms 64 bytes from 13.254.255.131: seq=2 ttl=62 time=0.874 ms --- 13.254.255.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/2.636/6.154 ms 2024-10-22 22:10:24,148 - INFO - Ping to IP 13.254.255.131 from VM ctest-TestRoutersBasic-89750613-60066393 passed 2024-10-22 22:10:24,148 - INFO - Deleting interface with subnet_id 71d40d10-e923-4f43-9a76-eb03cb46895d, port_id None from router 43ec9419-7f23-400f-bad4-eba33afb6e35 2024-10-22 22:10:24,351 - INFO - Deleting VM ctest-TestRoutersBasic-89750613-98710690 2024-10-22 22:10:24,416 - INFO - Deleting VM ctest-TestRoutersBasic-89750613-60066393 2024-10-22 22:10:24,488 - INFO - Deleting VN ctest-ext_vn-90675588 2024-10-22 22:10:24,564 - DEBUG - VN 202a6f92-a983-43f7-96b8-a0bd396b2ee7 still in use: Unable to complete operation on network 202a6f92-a983-43f7-96b8-a0bd396b2ee7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a183f885-6dfb-4235-8516-265f037c92f3'] 2024-10-22 22:10:24,564 - WARNING - Deleting VN ctest-ext_vn-90675588 failed..Will retry 2024-10-22 22:10:26,668 - DEBUG - Response for deleting network () 2024-10-22 22:10:26,668 - INFO - Deleting VN ctest-vn-02554789 2024-10-22 22:10:26,778 - DEBUG - Response for deleting network () 2024-10-22 22:10:27,049 - DEBUG - No XMPP flaps were noticed during the test
2024-10-22 22:10:27,049 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-10-22 22:10:27,049 - INFO - -------------------------------------------------------------------------------- 2024-10-22 22:10:27,725 - INFO - Deleted project: ctest-TestRoutersBasic-89750613, ID : 289547ed-4221-4850-9457-c1bbe0c93acc