2024-09-13 19:24:47,264 - INFO - Domain Default found not creating 2024-09-13 19:24:47,437 - INFO - Project ctest-TestRoutersBasic-98571198 not found, creating it 2024-09-13 19:24:47,940 - INFO - Created Project:ctest-TestRoutersBasic-98571198, ID : 810d5fa9-9ccf-44ba-b2bc-c375a56eea53 2024-09-13 19:24:49,513 - INFO - ================================================================================ 2024-09-13 19:24:49,513 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-13 19:24:49,513 - 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-13 19:24:49,766 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.6': '0'}} with 2024-09-13 19:24:49,766 - INFO - Initial checks done. Running the testcase now 2024-09-13 19:24:49,766 - INFO - 2024-09-13 19:24:50,483 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98571198 2024-09-13 19:24:50,583 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98571198 2024-09-13 19:24:50,915 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98571198', 'default']} 2024-09-13 19:24:51,222 - DEBUG - Response for create_network : {'network': {'id': 'f4714f62-fec1-4e76-890e-000acc4fa805', 'name': 'ctest-vn-32020987', 'tenant_id': '810d5fa99ccf44bab2bcc375a56eea53', 'project_id': '810d5fa99ccf44bab2bcc375a56eea53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98571198', 'ctest-vn-32020987'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 19:24:51,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '11ffb153-1631-42da-b4df-5585de7fe381', 'name': '', 'tenant_id': '810d5fa99ccf44bab2bcc375a56eea53', 'network_id': 'f4714f62-fec1-4e76-890e-000acc4fa805', 'ip_version': 4, 'cidr': '134.49.118.192/26', 'allocation_pools': [{'start': '134.49.118.194', 'end': '134.49.118.254'}], 'gateway_ip': '134.49.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.49.118.194', 'tags': [], 'project_id': '810d5fa99ccf44bab2bcc375a56eea53'}} 2024-09-13 19:24:51,415 - INFO - Created VN ctest-vn-32020987 2024-09-13 19:24:51,471 - DEBUG - VN ctest-vn-32020987 UUID is f4714f62-fec1-4e76-890e-000acc4fa805 2024-09-13 19:24:51,823 - DEBUG - Response for create_network : {'network': {'id': '6d768861-2d6f-4c32-94c1-c3c3bf51cb34', 'name': 'ctest-ext_vn-69692878', 'tenant_id': '810d5fa99ccf44bab2bcc375a56eea53', 'project_id': '810d5fa99ccf44bab2bcc375a56eea53', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98571198', 'ctest-ext_vn-69692878'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 19:24:51,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f42319c5-7a1c-4253-bd5d-c98e46093e60', 'name': '', 'tenant_id': '810d5fa99ccf44bab2bcc375a56eea53', 'network_id': '6d768861-2d6f-4c32-94c1-c3c3bf51cb34', 'ip_version': 4, 'cidr': '131.5.134.64/26', 'allocation_pools': [{'start': '131.5.134.66', 'end': '131.5.134.126'}], 'gateway_ip': '131.5.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.5.134.66', 'tags': [], 'project_id': '810d5fa99ccf44bab2bcc375a56eea53'}} 2024-09-13 19:24:52,010 - INFO - Created VN ctest-ext_vn-69692878 2024-09-13 19:24:52,071 - DEBUG - VN ctest-ext_vn-69692878 UUID is 6d768861-2d6f-4c32-94c1-c3c3bf51cb34 2024-09-13 19:24:52,250 - DEBUG - Services list from nova: [, , ] 2024-09-13 19:24:53,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1931-1) 2024-09-13 19:24:54,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1931-1) 2024-09-13 19:24:54,554 - INFO - Setting gateway for router 1ff08c71-e750-43de-949d-a04a4b3779ee to network 6d768861-2d6f-4c32-94c1-c3c3bf51cb34 2024-09-13 19:24:54,619 - INFO - Adding interface with subnet_id 11ffb153-1631-42da-b4df-5585de7fe381, port_id None to router 1ff08c71-e750-43de-949d-a04a4b3779ee 2024-09-13 19:24:55,077 - INFO - Waiting for VM ctest-TestRoutersBasic-98571198-13683075 to be up.. 2024-09-13 19:24:55,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 19:25:00,288 - DEBUG - VM is in ACTIVE state now 2024-09-13 19:25:00,288 - INFO - VM name : ctest-TestRoutersBasic-98571198-13683075 2024-09-13 19:25:00,359 - DEBUG - VM ctest-TestRoutersBasic-98571198-13683075 ID is 8c21e3e9-fe79-4c9a-8a5e-29128ac33c29 2024-09-13 19:25:00,378 - DEBUG - VM ctest-TestRoutersBasic-98571198-13683075 launched on Node cn-jenkins-deploy-platform-ansible-os-1931-1 2024-09-13 19:25:00,468 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8c21e3e9-fe79-4c9a-8a5e-29128ac33c29 2024-09-13 19:25:00,767 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8c21e3e9-fe79-4c9a-8a5e-29128ac33c29 2024-09-13 19:25:00,802 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cc423713-1580-4c72-afe0-025aac068de2 2024-09-13 19:25:04,072 - 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 1016ms') 2024-09-13 19:25:04,073 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98571198-13683075 failed! 2024-09-13 19:25:04,135 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98571198:ctest-vn-32020987 is 134.49.118.193 and allocation pool is NOT set 2024-09-13 19:25:06,198 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.410 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.410/1.694/2.978/1.284 ms') 2024-09-13 19:25:06,198 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98571198-13683075 passed 2024-09-13 19:25:06,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 19:25:06,355 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98571198-13683075, IP 134.49.118.195, Port 22 2024-09-13 19:25:06,515 - DEBUG - VM ctest-TestRoutersBasic-98571198-13683075 is ready for SSH connections 2024-09-13 19:25:06,515 - INFO - Waiting for VM ctest-TestRoutersBasic-98571198-10386964 to be up.. 2024-09-13 19:25:06,587 - DEBUG - VM is in ACTIVE state now 2024-09-13 19:25:06,587 - INFO - VM name : ctest-TestRoutersBasic-98571198-10386964 2024-09-13 19:25:06,660 - DEBUG - VM ctest-TestRoutersBasic-98571198-10386964 ID is a4df9126-3b27-48e9-80c8-b1f87d3ba4b5 2024-09-13 19:25:06,661 - DEBUG - VM ctest-TestRoutersBasic-98571198-10386964 launched on Node cn-jenkins-deploy-platform-ansible-os-1931-1 2024-09-13 19:25:06,739 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a4df9126-3b27-48e9-80c8-b1f87d3ba4b5 2024-09-13 19:25:06,749 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3d098506-824d-4a10-8dd5-ebc92255a204 2024-09-13 19:25:07,996 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.653/2.933/1.279 ms') 2024-09-13 19:25:07,996 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98571198-10386964 passed 2024-09-13 19:25:08,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 19:25:08,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98571198-10386964, IP 131.5.134.67, Port 22 2024-09-13 19:25:08,314 - DEBUG - VM ctest-TestRoutersBasic-98571198-10386964 is ready for SSH connections 2024-09-13 19:25:08,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 19:25:08,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.5.134.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-13 19:25:08,315 - DEBUG - ping -s 56 -c 3 -W 1 131.5.134.67 2024-09-13 19:25:11,976 - DEBUG - PING 131.5.134.67 (131.5.134.67): 56 data bytes 64 bytes from 131.5.134.67: seq=0 ttl=62 time=4.731 ms 64 bytes from 131.5.134.67: seq=1 ttl=62 time=0.742 ms 64 bytes from 131.5.134.67: seq=2 ttl=62 time=0.723 ms --- 131.5.134.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/2.065/4.731 ms 2024-09-13 19:25:11,976 - INFO - Ping to IP 131.5.134.67 from VM ctest-TestRoutersBasic-98571198-13683075 passed 2024-09-13 19:25:11,976 - INFO - Deleting interface with subnet_id 11ffb153-1631-42da-b4df-5585de7fe381, port_id None from router 1ff08c71-e750-43de-949d-a04a4b3779ee 2024-09-13 19:25:12,193 - INFO - Deleting VM ctest-TestRoutersBasic-98571198-10386964 2024-09-13 19:25:12,254 - INFO - Deleting VM ctest-TestRoutersBasic-98571198-13683075 2024-09-13 19:25:12,337 - INFO - Deleting VN ctest-ext_vn-69692878 2024-09-13 19:25:12,423 - DEBUG - VN 6d768861-2d6f-4c32-94c1-c3c3bf51cb34 still in use: Unable to complete operation on network 6d768861-2d6f-4c32-94c1-c3c3bf51cb34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5ebec0e-d2ba-47e9-b20c-e84bf9304fcd'] 2024-09-13 19:25:12,423 - WARNING - Deleting VN ctest-ext_vn-69692878 failed..Will retry 2024-09-13 19:25:14,529 - DEBUG - Response for deleting network () 2024-09-13 19:25:14,529 - INFO - Deleting VN ctest-vn-32020987 2024-09-13 19:25:14,637 - DEBUG - Response for deleting network () 2024-09-13 19:25:14,892 - DEBUG - No XMPP flaps were noticed during the test
2024-09-13 19:25:14,892 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2024-09-13 19:25:14,893 - INFO - -------------------------------------------------------------------------------- 2024-09-13 19:25:15,614 - INFO - Deleted project: ctest-TestRoutersBasic-98571198, ID : 810d5fa9-9ccf-44ba-b2bc-c375a56eea53