2024-08-30 14:50:50,227 - INFO - Domain Default found not creating 2024-08-30 14:50:50,406 - INFO - Project ctest-TestRoutersBasic-87548623 not found, creating it 2024-08-30 14:50:50,874 - INFO - Created Project:ctest-TestRoutersBasic-87548623, ID : 6b3cf0cb-4657-48c4-a8d5-f71f7864f5eb 2024-08-30 14:50:52,517 - INFO - ================================================================================ 2024-08-30 14:50:52,517 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-08-30 14:50:52,517 - 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-30 14:50:52,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.5': '0'}} with 2024-08-30 14:50:52,771 - INFO - Initial checks done. Running the testcase now 2024-08-30 14:50:52,771 - INFO - 2024-08-30 14:50:53,499 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87548623 2024-08-30 14:50:53,597 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87548623 2024-08-30 14:50:53,921 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87548623', 'default']} 2024-08-30 14:50:54,223 - DEBUG - Response for create_network : {'network': {'id': 'f13a143e-fb7b-4451-95db-9cd36529c982', 'name': 'ctest-vn-43907586', 'tenant_id': '6b3cf0cb465748c4a8d5f71f7864f5eb', 'project_id': '6b3cf0cb465748c4a8d5f71f7864f5eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87548623', 'ctest-vn-43907586'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 14:50:54,429 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f310fefa-98ab-447e-9405-d667a5156a07', 'name': '', 'tenant_id': '6b3cf0cb465748c4a8d5f71f7864f5eb', 'network_id': 'f13a143e-fb7b-4451-95db-9cd36529c982', 'ip_version': 4, 'cidr': '70.197.235.128/26', 'allocation_pools': [{'start': '70.197.235.130', 'end': '70.197.235.190'}], 'gateway_ip': '70.197.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.197.235.130', 'tags': [], 'project_id': '6b3cf0cb465748c4a8d5f71f7864f5eb'}} 2024-08-30 14:50:54,453 - INFO - Created VN ctest-vn-43907586 2024-08-30 14:50:54,505 - DEBUG - VN ctest-vn-43907586 UUID is f13a143e-fb7b-4451-95db-9cd36529c982 2024-08-30 14:50:54,833 - DEBUG - Response for create_network : {'network': {'id': '760a1b16-fbbb-4020-a861-dd96246c08bd', 'name': 'ctest-ext_vn-84326110', 'tenant_id': '6b3cf0cb465748c4a8d5f71f7864f5eb', 'project_id': '6b3cf0cb465748c4a8d5f71f7864f5eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87548623', 'ctest-ext_vn-84326110'], 'port_security_enabled': True, 'description': ''}} 2024-08-30 14:50:55,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a4eb96a-2bcb-4bd2-906a-a66850eda3c2', 'name': '', 'tenant_id': '6b3cf0cb465748c4a8d5f71f7864f5eb', 'network_id': '760a1b16-fbbb-4020-a861-dd96246c08bd', 'ip_version': 4, 'cidr': '108.51.117.64/26', 'allocation_pools': [{'start': '108.51.117.66', 'end': '108.51.117.126'}], 'gateway_ip': '108.51.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.51.117.66', 'tags': [], 'project_id': '6b3cf0cb465748c4a8d5f71f7864f5eb'}} 2024-08-30 14:50:55,056 - INFO - Created VN ctest-ext_vn-84326110 2024-08-30 14:50:55,109 - DEBUG - VN ctest-ext_vn-84326110 UUID is 760a1b16-fbbb-4020-a861-dd96246c08bd 2024-08-30 14:50:55,288 - DEBUG - Services list from nova: [, , ] 2024-08-30 14:50:56,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1824-1) 2024-08-30 14:50:57,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1824-1) 2024-08-30 14:50:57,779 - INFO - Setting gateway for router 3b1ff187-0587-4cd1-a471-2cab226b340d to network 760a1b16-fbbb-4020-a861-dd96246c08bd 2024-08-30 14:50:57,848 - INFO - Adding interface with subnet_id f310fefa-98ab-447e-9405-d667a5156a07, port_id None to router 3b1ff187-0587-4cd1-a471-2cab226b340d 2024-08-30 14:50:58,230 - INFO - Waiting for VM ctest-TestRoutersBasic-87548623-42911069 to be up.. 2024-08-30 14:50:58,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-30 14:51:03,565 - DEBUG - VM is in ACTIVE state now 2024-08-30 14:51:03,565 - INFO - VM name : ctest-TestRoutersBasic-87548623-42911069 2024-08-30 14:51:03,652 - DEBUG - VM ctest-TestRoutersBasic-87548623-42911069 ID is f67a288b-9776-43e8-9826-628a8c3d5144 2024-08-30 14:51:03,672 - DEBUG - VM ctest-TestRoutersBasic-87548623-42911069 launched on Node cn-jenkins-deploy-platform-ansible-os-1824-1 2024-08-30 14:51:03,762 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f67a288b-9776-43e8-9826-628a8c3d5144 2024-08-30 14:51:04,065 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f67a288b-9776-43e8-9826-628a8c3d5144 2024-08-30 14:51:04,103 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/52f9e72e-26de-497f-8657-e65af5230263 2024-08-30 14:51:07,353 - 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-30 14:51:07,353 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87548623-42911069 failed! 2024-08-30 14:51:07,409 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87548623:ctest-vn-43907586 is 70.197.235.129 and allocation pool is NOT set 2024-08-30 14:51:09,473 - 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=4.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.940 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.940/2.754/4.569/1.814 ms') 2024-08-30 14:51:09,473 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87548623-42911069 passed 2024-08-30 14:51:09,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:51:09,625 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87548623-42911069, IP 70.197.235.131, Port 22 2024-08-30 14:51:09,791 - DEBUG - VM ctest-TestRoutersBasic-87548623-42911069 is ready for SSH connections 2024-08-30 14:51:09,791 - INFO - Waiting for VM ctest-TestRoutersBasic-87548623-24405267 to be up.. 2024-08-30 14:51:09,881 - DEBUG - VM is in ACTIVE state now 2024-08-30 14:51:09,881 - INFO - VM name : ctest-TestRoutersBasic-87548623-24405267 2024-08-30 14:51:09,966 - DEBUG - VM ctest-TestRoutersBasic-87548623-24405267 ID is 3cb0369d-3749-44cc-9a92-eee481060cf6 2024-08-30 14:51:09,966 - DEBUG - VM ctest-TestRoutersBasic-87548623-24405267 launched on Node cn-jenkins-deploy-platform-ansible-os-1824-1 2024-08-30 14:51:10,055 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/3cb0369d-3749-44cc-9a92-eee481060cf6 2024-08-30 14:51:10,065 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/8081a05b-fb19-4869-a8fc-1efee2d0d8f6 2024-08-30 14:51:11,305 - 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=2.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/1.630/2.772/1.142 ms') 2024-08-30 14:51:11,305 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87548623-24405267 passed 2024-08-30 14:51:11,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:51:11,453 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87548623-24405267, IP 108.51.117.67, Port 22 2024-08-30 14:51:11,623 - DEBUG - VM ctest-TestRoutersBasic-87548623-24405267 is ready for SSH connections 2024-08-30 14:51:11,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-30 14:51:11,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.51.117.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-08-30 14:51:11,624 - DEBUG - ping -s 56 -c 3 -W 1 108.51.117.67 2024-08-30 14:51:15,335 - DEBUG - PING 108.51.117.67 (108.51.117.67): 56 data bytes 64 bytes from 108.51.117.67: seq=0 ttl=62 time=7.766 ms 64 bytes from 108.51.117.67: seq=1 ttl=62 time=1.006 ms 64 bytes from 108.51.117.67: seq=2 ttl=62 time=0.860 ms --- 108.51.117.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/3.210/7.766 ms 2024-08-30 14:51:15,335 - INFO - Ping to IP 108.51.117.67 from VM ctest-TestRoutersBasic-87548623-42911069 passed 2024-08-30 14:51:15,335 - INFO - Deleting interface with subnet_id f310fefa-98ab-447e-9405-d667a5156a07, port_id None from router 3b1ff187-0587-4cd1-a471-2cab226b340d 2024-08-30 14:51:15,558 - INFO - Deleting VM ctest-TestRoutersBasic-87548623-24405267 2024-08-30 14:51:15,630 - INFO - Deleting VM ctest-TestRoutersBasic-87548623-42911069 2024-08-30 14:51:15,706 - INFO - Deleting VN ctest-ext_vn-84326110 2024-08-30 14:51:15,795 - DEBUG - VN 760a1b16-fbbb-4020-a861-dd96246c08bd still in use: Unable to complete operation on network 760a1b16-fbbb-4020-a861-dd96246c08bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-406c1346-d311-42e6-a2a3-c5c2ec091e41'] 2024-08-30 14:51:15,795 - WARNING - Deleting VN ctest-ext_vn-84326110 failed..Will retry 2024-08-30 14:51:17,914 - DEBUG - Response for deleting network () 2024-08-30 14:51:17,915 - INFO - Deleting VN ctest-vn-43907586 2024-08-30 14:51:18,048 - DEBUG - Response for deleting network () 2024-08-30 14:51:18,307 - DEBUG - No XMPP flaps were noticed during the test
2024-08-30 14:51:18,307 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-08-30 14:51:18,307 - INFO - -------------------------------------------------------------------------------- 2024-08-30 14:51:19,013 - INFO - Deleted project: ctest-TestRoutersBasic-87548623, ID : 6b3cf0cb-4657-48c4-a8d5-f71f7864f5eb