2025-05-06 11:37:08,313 - INFO - Domain Default found not creating 2025-05-06 11:37:08,437 - INFO - Project ctest-TestRoutersBasic-26469650 not found, creating it 2025-05-06 11:37:08,889 - INFO - Created Project:ctest-TestRoutersBasic-26469650, ID : 862c6441-95b5-4559-ab69-fad3b260702d 2025-05-06 11:37:10,208 - INFO - ================================================================================ 2025-05-06 11:37:10,208 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-06 11:37:10,208 - 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-05-06 11:37:10,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-05-06 11:37:10,464 - INFO - Initial checks done. Running the testcase now 2025-05-06 11:37:10,464 - INFO - 2025-05-06 11:37:11,135 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26469650 2025-05-06 11:37:11,231 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26469650 2025-05-06 11:37:11,563 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26469650', 'default']} 2025-05-06 11:37:11,837 - DEBUG - Response for create_network : {'network': {'id': '2f223863-aa34-48a7-a87b-b1ea40da1328', 'name': 'ctest-vn-52338188', 'tenant_id': '862c644195b54559ab69fad3b260702d', 'project_id': '862c644195b54559ab69fad3b260702d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26469650', 'ctest-vn-52338188'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:11,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '8447336d-79c5-42e0-9006-d13d58187614', 'name': '', 'tenant_id': '862c644195b54559ab69fad3b260702d', 'network_id': '2f223863-aa34-48a7-a87b-b1ea40da1328', 'ip_version': 4, 'cidr': '66.181.151.128/26', 'allocation_pools': [{'start': '66.181.151.130', 'end': '66.181.151.190'}], 'gateway_ip': '66.181.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.181.151.130', 'tags': [], 'project_id': '862c644195b54559ab69fad3b260702d'}} 2025-05-06 11:37:12,014 - INFO - Created VN ctest-vn-52338188 2025-05-06 11:37:12,067 - DEBUG - VN ctest-vn-52338188 UUID is 2f223863-aa34-48a7-a87b-b1ea40da1328 2025-05-06 11:37:12,405 - DEBUG - Response for create_network : {'network': {'id': '2abbb5a9-6781-4132-9803-56433349e745', 'name': 'ctest-ext_vn-35527490', 'tenant_id': '862c644195b54559ab69fad3b260702d', 'project_id': '862c644195b54559ab69fad3b260702d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26469650', 'ctest-ext_vn-35527490'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 11:37:12,581 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ff4da23-0b86-4cf7-a4fa-ffddd729ed3b', 'name': '', 'tenant_id': '862c644195b54559ab69fad3b260702d', 'network_id': '2abbb5a9-6781-4132-9803-56433349e745', 'ip_version': 4, 'cidr': '108.210.224.128/26', 'allocation_pools': [{'start': '108.210.224.130', 'end': '108.210.224.190'}], 'gateway_ip': '108.210.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.210.224.130', 'tags': [], 'project_id': '862c644195b54559ab69fad3b260702d'}} 2025-05-06 11:37:12,597 - INFO - Created VN ctest-ext_vn-35527490 2025-05-06 11:37:12,651 - DEBUG - VN ctest-ext_vn-35527490 UUID is 2abbb5a9-6781-4132-9803-56433349e745 2025-05-06 11:37:12,843 - DEBUG - Services list from nova: [, , ] 2025-05-06 11:37:13,785 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3277-1) 2025-05-06 11:37:14,861 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3277-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3277-1) 2025-05-06 11:37:14,932 - INFO - Setting gateway for router de657f92-cf96-4dc0-882c-cd4dc0fd839d to network 2abbb5a9-6781-4132-9803-56433349e745 2025-05-06 11:37:14,990 - INFO - Adding interface with subnet_id 8447336d-79c5-42e0-9006-d13d58187614, port_id None to router de657f92-cf96-4dc0-882c-cd4dc0fd839d 2025-05-06 11:37:15,387 - INFO - Waiting for VM ctest-TestRoutersBasic-26469650-29052925 to be up.. 2025-05-06 11:37:15,586 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 11:37:20,664 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:37:20,664 - INFO - VM name : ctest-TestRoutersBasic-26469650-29052925 2025-05-06 11:37:20,735 - DEBUG - VM ctest-TestRoutersBasic-26469650-29052925 ID is 4b7fab7d-eb72-49d2-87da-9f70770c81ab 2025-05-06 11:37:20,756 - DEBUG - VM ctest-TestRoutersBasic-26469650-29052925 launched on Node cn-jenkins-deploy-platform-ansible-os-3277-1 2025-05-06 11:37:20,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4b7fab7d-eb72-49d2-87da-9f70770c81ab 2025-05-06 11:37:21,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4b7fab7d-eb72-49d2-87da-9f70770c81ab 2025-05-06 11:37:21,152 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5f019cac-c44c-44eb-a8da-77e83b41e3f4 2025-05-06 11:37:24,410 - 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 1027ms') 2025-05-06 11:37:24,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26469650-29052925 failed! 2025-05-06 11:37:24,467 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26469650:ctest-vn-52338188 is 66.181.151.129 and allocation pool is NOT set 2025-05-06 11:37:26,523 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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.389/1.533/2.677/1.144 ms') 2025-05-06 11:37:26,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26469650-29052925 passed 2025-05-06 11:37:26,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:37:26,675 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26469650-29052925, IP 66.181.151.131, Port 22 2025-05-06 11:37:26,826 - DEBUG - VM ctest-TestRoutersBasic-26469650-29052925 is ready for SSH connections 2025-05-06 11:37:26,826 - INFO - Waiting for VM ctest-TestRoutersBasic-26469650-92452839 to be up.. 2025-05-06 11:37:26,893 - DEBUG - VM is in ACTIVE state now 2025-05-06 11:37:26,893 - INFO - VM name : ctest-TestRoutersBasic-26469650-92452839 2025-05-06 11:37:26,957 - DEBUG - VM ctest-TestRoutersBasic-26469650-92452839 ID is 4fdce00c-ffa3-4221-a3f2-f60f32042415 2025-05-06 11:37:26,957 - DEBUG - VM ctest-TestRoutersBasic-26469650-92452839 launched on Node cn-jenkins-deploy-platform-ansible-os-3277-1 2025-05-06 11:37:27,030 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4fdce00c-ffa3-4221-a3f2-f60f32042415 2025-05-06 11:37:27,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9a777cad-63f2-4b05-9f31-79248af8589e 2025-05-06 11:37:28,262 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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.340/1.625/2.911/1.285 ms') 2025-05-06 11:37:28,262 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26469650-92452839 passed 2025-05-06 11:37:28,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:37:28,411 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26469650-92452839, IP 108.210.224.131, Port 22 2025-05-06 11:37:28,562 - DEBUG - VM ctest-TestRoutersBasic-26469650-92452839 is ready for SSH connections 2025-05-06 11:37:28,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 11:37:28,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.210.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-06 11:37:28,562 - DEBUG - ping -s 56 -c 3 -W 1 108.210.224.131 2025-05-06 11:37:32,226 - DEBUG - PING 108.210.224.131 (108.210.224.131): 56 data bytes 64 bytes from 108.210.224.131: seq=0 ttl=62 time=3.804 ms 64 bytes from 108.210.224.131: seq=1 ttl=62 time=0.759 ms 64 bytes from 108.210.224.131: seq=2 ttl=62 time=0.713 ms --- 108.210.224.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.713/1.758/3.804 ms 2025-05-06 11:37:32,226 - INFO - Ping to IP 108.210.224.131 from VM ctest-TestRoutersBasic-26469650-29052925 passed 2025-05-06 11:37:32,226 - INFO - Deleting interface with subnet_id 8447336d-79c5-42e0-9006-d13d58187614, port_id None from router de657f92-cf96-4dc0-882c-cd4dc0fd839d 2025-05-06 11:37:32,414 - INFO - Deleting VM ctest-TestRoutersBasic-26469650-92452839 2025-05-06 11:37:32,470 - INFO - Deleting VM ctest-TestRoutersBasic-26469650-29052925 2025-05-06 11:37:32,542 - INFO - Deleting VN ctest-ext_vn-35527490 2025-05-06 11:37:32,606 - DEBUG - VN 2abbb5a9-6781-4132-9803-56433349e745 still in use: Unable to complete operation on network 2abbb5a9-6781-4132-9803-56433349e745. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7df1e05e-837d-4be1-9965-bc2f13231d23'] 2025-05-06 11:37:32,606 - WARNING - Deleting VN ctest-ext_vn-35527490 failed..Will retry 2025-05-06 11:37:34,694 - DEBUG - Response for deleting network () 2025-05-06 11:37:34,695 - INFO - Deleting VN ctest-vn-52338188 2025-05-06 11:37:34,780 - DEBUG - Response for deleting network () 2025-05-06 11:37:35,031 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 11:37:35,031 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-05-06 11:37:35,031 - INFO - -------------------------------------------------------------------------------- 2025-05-06 11:37:35,672 - INFO - Deleted project: ctest-TestRoutersBasic-26469650, ID : 862c6441-95b5-4559-ab69-fad3b260702d