2025-02-11 16:52:21,252 - INFO - Domain Default found not creating 2025-02-11 16:52:21,405 - INFO - Project ctest-TestRoutersBasic-42261073 not found, creating it 2025-02-11 16:52:21,894 - INFO - Created Project:ctest-TestRoutersBasic-42261073, ID : 71eda4a7-4526-4a40-b86d-10d905251dfe 2025-02-11 16:52:23,461 - INFO - ================================================================================ 2025-02-11 16:52:23,462 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-11 16:52:23,462 - 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-11 16:52:23,717 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.5': '0'}} with 2025-02-11 16:52:23,717 - INFO - Initial checks done. Running the testcase now 2025-02-11 16:52:23,717 - INFO - 2025-02-11 16:52:24,524 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42261073 2025-02-11 16:52:24,622 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42261073 2025-02-11 16:52:24,954 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42261073', 'default']} 2025-02-11 16:52:25,295 - DEBUG - Response for create_network : {'network': {'id': '9de0bb60-a71d-4a1a-a9e0-ca9b1251b744', 'name': 'ctest-vn-99780021', 'tenant_id': '71eda4a745264a40b86d10d905251dfe', 'project_id': '71eda4a745264a40b86d10d905251dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42261073', 'ctest-vn-99780021'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 16:52:25,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff8ac335-2016-4e86-b3da-d6c1abfd8058', 'name': '', 'tenant_id': '71eda4a745264a40b86d10d905251dfe', 'network_id': '9de0bb60-a71d-4a1a-a9e0-ca9b1251b744', 'ip_version': 4, 'cidr': '182.92.131.0/26', 'allocation_pools': [{'start': '182.92.131.2', 'end': '182.92.131.62'}], 'gateway_ip': '182.92.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.92.131.2', 'tags': [], 'project_id': '71eda4a745264a40b86d10d905251dfe'}} 2025-02-11 16:52:25,550 - INFO - Created VN ctest-vn-99780021 2025-02-11 16:52:25,602 - DEBUG - VN ctest-vn-99780021 UUID is 9de0bb60-a71d-4a1a-a9e0-ca9b1251b744 2025-02-11 16:52:25,930 - DEBUG - Response for create_network : {'network': {'id': '60f543fd-d63b-4b3a-ba1c-48e824135a7e', 'name': 'ctest-ext_vn-75150828', 'tenant_id': '71eda4a745264a40b86d10d905251dfe', 'project_id': '71eda4a745264a40b86d10d905251dfe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42261073', 'ctest-ext_vn-75150828'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 16:52:26,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ff789f4-c571-4d2b-b436-3135e90a7881', 'name': '', 'tenant_id': '71eda4a745264a40b86d10d905251dfe', 'network_id': '60f543fd-d63b-4b3a-ba1c-48e824135a7e', 'ip_version': 4, 'cidr': '73.18.42.0/26', 'allocation_pools': [{'start': '73.18.42.2', 'end': '73.18.42.62'}], 'gateway_ip': '73.18.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.18.42.2', 'tags': [], 'project_id': '71eda4a745264a40b86d10d905251dfe'}} 2025-02-11 16:52:26,175 - INFO - Created VN ctest-ext_vn-75150828 2025-02-11 16:52:26,230 - DEBUG - VN ctest-ext_vn-75150828 UUID is 60f543fd-d63b-4b3a-ba1c-48e824135a7e 2025-02-11 16:52:26,424 - DEBUG - Services list from nova: [, , ] 2025-02-11 16:52:27,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2721-1) 2025-02-11 16:52:28,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2721-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2721-1) 2025-02-11 16:52:28,968 - INFO - Setting gateway for router 1946a694-50f7-4a16-a4d3-fb54baf15712 to network 60f543fd-d63b-4b3a-ba1c-48e824135a7e 2025-02-11 16:52:29,041 - INFO - Adding interface with subnet_id ff8ac335-2016-4e86-b3da-d6c1abfd8058, port_id None to router 1946a694-50f7-4a16-a4d3-fb54baf15712 2025-02-11 16:52:29,582 - INFO - Waiting for VM ctest-TestRoutersBasic-42261073-18634074 to be up.. 2025-02-11 16:52:29,811 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 16:52:34,906 - DEBUG - VM is in ACTIVE state now 2025-02-11 16:52:34,906 - INFO - VM name : ctest-TestRoutersBasic-42261073-18634074 2025-02-11 16:52:34,988 - DEBUG - VM ctest-TestRoutersBasic-42261073-18634074 ID is 594e2273-f58a-4b94-a7c7-8997dadac02a 2025-02-11 16:52:35,010 - DEBUG - VM ctest-TestRoutersBasic-42261073-18634074 launched on Node cn-jenkins-deploy-platform-ansible-os-2721-1 2025-02-11 16:52:35,094 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/594e2273-f58a-4b94-a7c7-8997dadac02a 2025-02-11 16:52:35,438 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/594e2273-f58a-4b94-a7c7-8997dadac02a 2025-02-11 16:52:35,470 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/1c9b57db-8d56-4d79-9dd4-b55eb4507bd8 2025-02-11 16:52:38,740 - 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 1029ms') 2025-02-11 16:52:38,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42261073-18634074 failed! 2025-02-11 16:52:38,798 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42261073:ctest-vn-99780021 is 182.92.131.1 and allocation pool is NOT set 2025-02-11 16:52:40,867 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.798 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.798/2.337/3.876/1.539 ms') 2025-02-11 16:52:40,867 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-42261073-18634074 passed 2025-02-11 16:52:41,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:52:41,022 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42261073-18634074, IP 182.92.131.3, Port 22 2025-02-11 16:52:41,178 - DEBUG - VM ctest-TestRoutersBasic-42261073-18634074 is ready for SSH connections 2025-02-11 16:52:41,179 - INFO - Waiting for VM ctest-TestRoutersBasic-42261073-50344100 to be up.. 2025-02-11 16:52:41,266 - DEBUG - VM is in ACTIVE state now 2025-02-11 16:52:41,266 - INFO - VM name : ctest-TestRoutersBasic-42261073-50344100 2025-02-11 16:52:41,348 - DEBUG - VM ctest-TestRoutersBasic-42261073-50344100 ID is 13db1a00-e594-4327-9097-d384f69b4909 2025-02-11 16:52:41,348 - DEBUG - VM ctest-TestRoutersBasic-42261073-50344100 launched on Node cn-jenkins-deploy-platform-ansible-os-2721-1 2025-02-11 16:52:41,426 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/13db1a00-e594-4327-9097-d384f69b4909 2025-02-11 16:52:41,435 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/9bb3e410-6027-4e53-b3bf-738f948cb59f 2025-02-11 16:52:42,683 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.500/2.206/3.912/1.706 ms') 2025-02-11 16:52:42,683 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-42261073-50344100 passed 2025-02-11 16:52:42,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:52:42,842 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42261073-50344100, IP 73.18.42.3, Port 22 2025-02-11 16:52:43,012 - DEBUG - VM ctest-TestRoutersBasic-42261073-50344100 is ready for SSH connections 2025-02-11 16:52:43,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 16:52:43,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.18.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-11 16:52:43,013 - DEBUG - ping -s 56 -c 3 -W 1 73.18.42.3 2025-02-11 16:52:47,113 - DEBUG - PING 73.18.42.3 (73.18.42.3): 56 data bytes 64 bytes from 73.18.42.3: seq=0 ttl=62 time=6.643 ms 64 bytes from 73.18.42.3: seq=1 ttl=62 time=0.995 ms 64 bytes from 73.18.42.3: seq=2 ttl=62 time=0.957 ms --- 73.18.42.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.957/2.865/6.643 ms 2025-02-11 16:52:47,113 - INFO - Ping to IP 73.18.42.3 from VM ctest-TestRoutersBasic-42261073-18634074 passed 2025-02-11 16:52:47,113 - INFO - Deleting interface with subnet_id ff8ac335-2016-4e86-b3da-d6c1abfd8058, port_id None from router 1946a694-50f7-4a16-a4d3-fb54baf15712 2025-02-11 16:52:47,328 - INFO - Deleting VM ctest-TestRoutersBasic-42261073-50344100 2025-02-11 16:52:47,435 - INFO - Deleting VM ctest-TestRoutersBasic-42261073-18634074 2025-02-11 16:52:47,543 - INFO - Deleting VN ctest-ext_vn-75150828 2025-02-11 16:52:47,662 - DEBUG - VN 60f543fd-d63b-4b3a-ba1c-48e824135a7e still in use: Unable to complete operation on network 60f543fd-d63b-4b3a-ba1c-48e824135a7e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-77588f26-7097-49d7-ba1d-a73a9c915841'] 2025-02-11 16:52:47,663 - WARNING - Deleting VN ctest-ext_vn-75150828 failed..Will retry 2025-02-11 16:52:49,795 - DEBUG - Response for deleting network () 2025-02-11 16:52:49,795 - INFO - Deleting VN ctest-vn-99780021 2025-02-11 16:52:49,908 - DEBUG - Response for deleting network () 2025-02-11 16:52:50,164 - DEBUG - No XMPP flaps were noticed during the test 2025-02-11 16:52:50,164 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-02-11 16:52:50,165 - INFO - -------------------------------------------------------------------------------- 2025-02-11 16:52:50,875 - INFO - Deleted project: ctest-TestRoutersBasic-42261073, ID : 71eda4a7-4526-4a40-b86d-10d905251dfe