2025-02-03 16:37:01,572 - INFO - Domain Default found not creating 2025-02-03 16:37:01,739 - INFO - Project ctest-TestRoutersBasic-44368296 not found, creating it 2025-02-03 16:37:02,239 - INFO - Created Project:ctest-TestRoutersBasic-44368296, ID : 7ecc7668-dfc7-4f36-83d7-d5adb520a9de 2025-02-03 16:37:03,695 - INFO - ================================================================================ 2025-02-03 16:37:03,695 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-03 16:37:03,695 - 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 2025-02-03 16:37:03,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.5': '0'}} with 2025-02-03 16:37:03,950 - INFO - Initial checks done. Running the testcase now 2025-02-03 16:37:03,950 - INFO - 2025-02-03 16:37:04,649 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-44368296 2025-02-03 16:37:04,747 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-44368296 2025-02-03 16:37:05,079 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44368296', 'default']} 2025-02-03 16:37:05,391 - DEBUG - Response for create_network : {'network': {'id': '697120ea-aa2a-4dbe-9cd9-e5a960fc7f27', 'name': 'ctest-vn-24152624', 'tenant_id': '7ecc7668dfc74f3683d7d5adb520a9de', 'project_id': '7ecc7668dfc74f3683d7d5adb520a9de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44368296', 'ctest-vn-24152624'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 16:37:05,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d95f694-36a6-449f-a0de-b9476b7ab325', 'name': '', 'tenant_id': '7ecc7668dfc74f3683d7d5adb520a9de', 'network_id': '697120ea-aa2a-4dbe-9cd9-e5a960fc7f27', 'ip_version': 4, 'cidr': '150.34.247.64/26', 'allocation_pools': [{'start': '150.34.247.66', 'end': '150.34.247.126'}], 'gateway_ip': '150.34.247.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.34.247.66', 'tags': [], 'project_id': '7ecc7668dfc74f3683d7d5adb520a9de'}} 2025-02-03 16:37:05,629 - INFO - Created VN ctest-vn-24152624 2025-02-03 16:37:05,687 - DEBUG - VN ctest-vn-24152624 UUID is 697120ea-aa2a-4dbe-9cd9-e5a960fc7f27 2025-02-03 16:37:06,024 - DEBUG - Response for create_network : {'network': {'id': '2d6b6471-d573-4c21-913d-5f80c88a476b', 'name': 'ctest-ext_vn-67440725', 'tenant_id': '7ecc7668dfc74f3683d7d5adb520a9de', 'project_id': '7ecc7668dfc74f3683d7d5adb520a9de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-44368296', 'ctest-ext_vn-67440725'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 16:37:06,194 - DEBUG - Response for create_subnet : {'subnet': {'id': '34efa65e-8a87-4ffd-960f-1f28dfb8f19f', 'name': '', 'tenant_id': '7ecc7668dfc74f3683d7d5adb520a9de', 'network_id': '2d6b6471-d573-4c21-913d-5f80c88a476b', 'ip_version': 4, 'cidr': '58.70.232.0/26', 'allocation_pools': [{'start': '58.70.232.2', 'end': '58.70.232.62'}], 'gateway_ip': '58.70.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.70.232.2', 'tags': [], 'project_id': '7ecc7668dfc74f3683d7d5adb520a9de'}} 2025-02-03 16:37:06,214 - INFO - Created VN ctest-ext_vn-67440725 2025-02-03 16:37:06,267 - DEBUG - VN ctest-ext_vn-67440725 UUID is 2d6b6471-d573-4c21-913d-5f80c88a476b 2025-02-03 16:37:06,438 - DEBUG - Services list from nova: [, , ] 2025-02-03 16:37:07,459 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2680-1) 2025-02-03 16:37:08,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2680-1) 2025-02-03 16:37:08,694 - INFO - Setting gateway for router d7ac9521-a80e-4b4f-88dd-62d7b72ef3e1 to network 2d6b6471-d573-4c21-913d-5f80c88a476b 2025-02-03 16:37:08,784 - INFO - Adding interface with subnet_id 3d95f694-36a6-449f-a0de-b9476b7ab325, port_id None to router d7ac9521-a80e-4b4f-88dd-62d7b72ef3e1 2025-02-03 16:37:09,354 - INFO - Waiting for VM ctest-TestRoutersBasic-44368296-50233310 to be up.. 2025-02-03 16:37:09,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 16:37:14,716 - DEBUG - VM is in ACTIVE state now 2025-02-03 16:37:14,717 - INFO - VM name : ctest-TestRoutersBasic-44368296-50233310 2025-02-03 16:37:14,799 - DEBUG - VM ctest-TestRoutersBasic-44368296-50233310 ID is 02331600-5739-45df-a88d-2f2b7c557947 2025-02-03 16:37:14,819 - DEBUG - VM ctest-TestRoutersBasic-44368296-50233310 launched on Node cn-jenkins-deploy-platform-ansible-os-2680-1 2025-02-03 16:37:14,903 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/02331600-5739-45df-a88d-2f2b7c557947 2025-02-03 16:37:15,207 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/02331600-5739-45df-a88d-2f2b7c557947 2025-02-03 16:37:15,249 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4f65646f-45d8-479f-b8d3-206f09023094 2025-02-03 16:37:18,510 - 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 1006ms') 2025-02-03 16:37:18,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44368296-50233310 failed! 2025-02-03 16:37:18,567 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-44368296:ctest-vn-24152624 is 150.34.247.65 and allocation pool is NOT set 2025-02-03 16:37:20,626 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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.494/1.602/2.711/1.108 ms') 2025-02-03 16:37:20,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-44368296-50233310 passed 2025-02-03 16:37:20,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:37:20,783 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44368296-50233310, IP 150.34.247.67, Port 22 2025-02-03 16:37:20,950 - DEBUG - VM ctest-TestRoutersBasic-44368296-50233310 is ready for SSH connections 2025-02-03 16:37:20,950 - INFO - Waiting for VM ctest-TestRoutersBasic-44368296-10576314 to be up.. 2025-02-03 16:37:21,036 - DEBUG - VM is in ACTIVE state now 2025-02-03 16:37:21,037 - INFO - VM name : ctest-TestRoutersBasic-44368296-10576314 2025-02-03 16:37:21,112 - DEBUG - VM ctest-TestRoutersBasic-44368296-10576314 ID is 6c21d5f5-6b9a-4a5f-984e-8b3e96c0f741 2025-02-03 16:37:21,112 - DEBUG - VM ctest-TestRoutersBasic-44368296-10576314 launched on Node cn-jenkins-deploy-platform-ansible-os-2680-1 2025-02-03 16:37:21,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6c21d5f5-6b9a-4a5f-984e-8b3e96c0f741 2025-02-03 16:37:21,204 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b4c1c16f-7707-41fd-a2b9-b6771ec5971b 2025-02-03 16:37:22,450 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/1.620/2.757/1.136 ms') 2025-02-03 16:37:22,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-44368296-10576314 passed 2025-02-03 16:37:22,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:37:22,607 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-44368296-10576314, IP 58.70.232.3, Port 22 2025-02-03 16:37:22,762 - DEBUG - VM ctest-TestRoutersBasic-44368296-10576314 is ready for SSH connections 2025-02-03 16:37:22,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 16:37:22,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.70.232.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-02-03 16:37:22,763 - DEBUG - ping -s 56 -c 3 -W 1 58.70.232.3 2025-02-03 16:37:26,469 - DEBUG - PING 58.70.232.3 (58.70.232.3): 56 data bytes 64 bytes from 58.70.232.3: seq=0 ttl=62 time=6.170 ms 64 bytes from 58.70.232.3: seq=1 ttl=62 time=0.823 ms 64 bytes from 58.70.232.3: seq=2 ttl=62 time=0.817 ms --- 58.70.232.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/2.603/6.170 ms 2025-02-03 16:37:26,469 - INFO - Ping to IP 58.70.232.3 from VM ctest-TestRoutersBasic-44368296-50233310 passed 2025-02-03 16:37:26,469 - INFO - Deleting interface with subnet_id 3d95f694-36a6-449f-a0de-b9476b7ab325, port_id None from router d7ac9521-a80e-4b4f-88dd-62d7b72ef3e1 2025-02-03 16:37:26,674 - INFO - Deleting VM ctest-TestRoutersBasic-44368296-10576314 2025-02-03 16:37:26,743 - INFO - Deleting VM ctest-TestRoutersBasic-44368296-50233310 2025-02-03 16:37:26,825 - INFO - Deleting VN ctest-ext_vn-67440725 2025-02-03 16:37:26,896 - DEBUG - VN 2d6b6471-d573-4c21-913d-5f80c88a476b still in use: Unable to complete operation on network 2d6b6471-d573-4c21-913d-5f80c88a476b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6bdf965-5fb8-4eed-8a8a-ffb9f8bf8400'] 2025-02-03 16:37:26,896 - WARNING - Deleting VN ctest-ext_vn-67440725 failed..Will retry 2025-02-03 16:37:29,005 - DEBUG - Response for deleting network () 2025-02-03 16:37:29,005 - INFO - Deleting VN ctest-vn-24152624 2025-02-03 16:37:29,119 - DEBUG - Response for deleting network () 2025-02-03 16:37:29,383 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 16:37:29,383 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-03 16:37:29,383 - INFO - -------------------------------------------------------------------------------- 2025-02-03 16:37:30,065 - INFO - Deleted project: ctest-TestRoutersBasic-44368296, ID : 7ecc7668-dfc7-4f36-83d7-d5adb520a9de