2025-05-31 07:27:47,510 - INFO - Domain Default found not creating 2025-05-31 07:27:47,673 - INFO - Project ctest-TestRoutersBasic-40606777 not found, creating it 2025-05-31 07:27:48,175 - INFO - Created Project:ctest-TestRoutersBasic-40606777, ID : 24043413-99c5-4b6a-982f-0b531a0befe9 2025-05-31 07:27:49,757 - INFO - ================================================================================ 2025-05-31 07:27:49,757 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-31 07:27:49,757 - 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-31 07:27:50,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-31 07:27:50,013 - INFO - Initial checks done. Running the testcase now 2025-05-31 07:27:50,013 - INFO - 2025-05-31 07:27:50,825 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40606777 2025-05-31 07:27:50,924 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40606777 2025-05-31 07:27:51,256 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40606777', 'default']} 2025-05-31 07:27:51,560 - DEBUG - Response for create_network : {'network': {'id': '720b1c56-9a00-4e8a-8742-6b52e53ec774', 'name': 'ctest-vn-95004853', 'tenant_id': '2404341399c54b6a982f0b531a0befe9', 'project_id': '2404341399c54b6a982f0b531a0befe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40606777', 'ctest-vn-95004853'], 'port_security_enabled': True, 'description': ''}} 2025-05-31 07:27:51,748 - DEBUG - Response for create_subnet : {'subnet': {'id': '242b174c-9d28-43d3-862c-cf319f6e71a7', 'name': '', 'tenant_id': '2404341399c54b6a982f0b531a0befe9', 'network_id': '720b1c56-9a00-4e8a-8742-6b52e53ec774', 'ip_version': 4, 'cidr': '172.140.171.64/26', 'allocation_pools': [{'start': '172.140.171.66', 'end': '172.140.171.126'}], 'gateway_ip': '172.140.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.140.171.66', 'tags': [], 'project_id': '2404341399c54b6a982f0b531a0befe9'}} 2025-05-31 07:27:51,771 - INFO - Created VN ctest-vn-95004853 2025-05-31 07:27:51,824 - DEBUG - VN ctest-vn-95004853 UUID is 720b1c56-9a00-4e8a-8742-6b52e53ec774 2025-05-31 07:27:52,154 - DEBUG - Response for create_network : {'network': {'id': '6928387d-a807-4dc6-a876-378ecdac4873', 'name': 'ctest-ext_vn-30110868', 'tenant_id': '2404341399c54b6a982f0b531a0befe9', 'project_id': '2404341399c54b6a982f0b531a0befe9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40606777', 'ctest-ext_vn-30110868'], 'port_security_enabled': True, 'description': ''}} 2025-05-31 07:27:52,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '611a6c26-7ca9-49c9-8ea2-f956a6147c0e', 'name': '', 'tenant_id': '2404341399c54b6a982f0b531a0befe9', 'network_id': '6928387d-a807-4dc6-a876-378ecdac4873', 'ip_version': 4, 'cidr': '107.110.85.0/26', 'allocation_pools': [{'start': '107.110.85.2', 'end': '107.110.85.62'}], 'gateway_ip': '107.110.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.110.85.2', 'tags': [], 'project_id': '2404341399c54b6a982f0b531a0befe9'}} 2025-05-31 07:27:52,401 - INFO - Created VN ctest-ext_vn-30110868 2025-05-31 07:27:52,456 - DEBUG - VN ctest-ext_vn-30110868 UUID is 6928387d-a807-4dc6-a876-378ecdac4873 2025-05-31 07:27:52,625 - DEBUG - Services list from nova: [, , ] 2025-05-31 07:27:53,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3376-1) 2025-05-31 07:27:55,192 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3376-1) 2025-05-31 07:27:55,270 - INFO - Setting gateway for router 9b8e5398-fc3e-4895-b980-fa94998f10e1 to network 6928387d-a807-4dc6-a876-378ecdac4873 2025-05-31 07:27:55,372 - INFO - Adding interface with subnet_id 242b174c-9d28-43d3-862c-cf319f6e71a7, port_id None to router 9b8e5398-fc3e-4895-b980-fa94998f10e1 2025-05-31 07:27:55,961 - INFO - Waiting for VM ctest-TestRoutersBasic-40606777-64824583 to be up.. 2025-05-31 07:27:56,100 - DEBUG - VM is in ACTIVE state now 2025-05-31 07:27:56,100 - INFO - VM name : ctest-TestRoutersBasic-40606777-64824583 2025-05-31 07:27:56,249 - DEBUG - VM ctest-TestRoutersBasic-40606777-64824583 ID is c5ffdc1a-cadb-42e8-b3c8-0174dfd58cb5 2025-05-31 07:27:56,275 - DEBUG - VM ctest-TestRoutersBasic-40606777-64824583 launched on Node cn-jenkins-deploy-platform-ansible-os-3376-1 2025-05-31 07:27:56,396 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c5ffdc1a-cadb-42e8-b3c8-0174dfd58cb5 2025-05-31 07:27:56,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c5ffdc1a-cadb-42e8-b3c8-0174dfd58cb5 2025-05-31 07:27:56,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/04cf24bb-4f02-48ec-8a45-7b723f9177e0 2025-05-31 07:28:00,117 - 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 1011ms') 2025-05-31 07:28:00,117 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40606777-64824583 failed! 2025-05-31 07:28:00,176 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40606777:ctest-vn-95004853 is 172.140.171.65 and allocation pool is NOT set 2025-05-31 07:28:04,236 - 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 1002ms') 2025-05-31 07:28:04,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40606777-64824583 failed! 2025-05-31 07:28:04,296 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40606777:ctest-vn-95004853 is 172.140.171.65 and allocation pool is NOT set 2025-05-31 07:28:06,358 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.90 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 = 1.901/3.297/4.693/1.396 ms') 2025-05-31 07:28:06,358 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40606777-64824583 passed 2025-05-31 07:28:06,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 07:28:06,508 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40606777-64824583, IP 172.140.171.67, Port 22 2025-05-31 07:28:06,674 - DEBUG - VM ctest-TestRoutersBasic-40606777-64824583 is ready for SSH connections 2025-05-31 07:28:06,674 - INFO - Waiting for VM ctest-TestRoutersBasic-40606777-85712784 to be up.. 2025-05-31 07:28:06,813 - DEBUG - VM is in ACTIVE state now 2025-05-31 07:28:06,813 - INFO - VM name : ctest-TestRoutersBasic-40606777-85712784 2025-05-31 07:28:06,888 - DEBUG - VM ctest-TestRoutersBasic-40606777-85712784 ID is eefbe67d-0c59-492a-9249-fd190a2d44fd 2025-05-31 07:28:06,889 - DEBUG - VM ctest-TestRoutersBasic-40606777-85712784 launched on Node cn-jenkins-deploy-platform-ansible-os-3376-1 2025-05-31 07:28:06,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eefbe67d-0c59-492a-9249-fd190a2d44fd 2025-05-31 07:28:06,979 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7a5ebd76-f38b-4ada-8c21-d3442a77a13e 2025-05-31 07:28:08,235 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.938 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.938/2.343/3.749/1.405 ms') 2025-05-31 07:28:08,235 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40606777-85712784 passed 2025-05-31 07:28:08,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 07:28:08,388 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40606777-85712784, IP 107.110.85.3, Port 22 2025-05-31 07:28:08,543 - DEBUG - VM ctest-TestRoutersBasic-40606777-85712784 is ready for SSH connections 2025-05-31 07:28:08,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 07:28:08,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.110.85.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-31 07:28:08,543 - DEBUG - ping -s 56 -c 3 -W 1 107.110.85.3 2025-05-31 07:28:12,333 - DEBUG - PING 107.110.85.3 (107.110.85.3): 56 data bytes 64 bytes from 107.110.85.3: seq=0 ttl=62 time=5.903 ms 64 bytes from 107.110.85.3: seq=1 ttl=62 time=0.843 ms 64 bytes from 107.110.85.3: seq=2 ttl=62 time=0.822 ms --- 107.110.85.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.522/5.903 ms 2025-05-31 07:28:12,333 - INFO - Ping to IP 107.110.85.3 from VM ctest-TestRoutersBasic-40606777-64824583 passed 2025-05-31 07:28:12,333 - INFO - Deleting interface with subnet_id 242b174c-9d28-43d3-862c-cf319f6e71a7, port_id None from router 9b8e5398-fc3e-4895-b980-fa94998f10e1 2025-05-31 07:28:12,558 - INFO - Deleting VM ctest-TestRoutersBasic-40606777-85712784 2025-05-31 07:28:12,642 - INFO - Deleting VM ctest-TestRoutersBasic-40606777-64824583 2025-05-31 07:28:12,762 - INFO - Deleting VN ctest-ext_vn-30110868 2025-05-31 07:28:12,858 - DEBUG - VN 6928387d-a807-4dc6-a876-378ecdac4873 still in use: Unable to complete operation on network 6928387d-a807-4dc6-a876-378ecdac4873. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d4f5d1f-2369-44e7-a477-340a567ef502'] 2025-05-31 07:28:12,858 - WARNING - Deleting VN ctest-ext_vn-30110868 failed..Will retry 2025-05-31 07:28:14,994 - DEBUG - Response for deleting network () 2025-05-31 07:28:14,995 - INFO - Deleting VN ctest-vn-95004853 2025-05-31 07:28:15,148 - DEBUG - Response for deleting network () 2025-05-31 07:28:15,415 - DEBUG - No XMPP flaps were noticed during the test
2025-05-31 07:28:15,415 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-05-31 07:28:15,415 - INFO - -------------------------------------------------------------------------------- 2025-05-31 07:28:16,569 - INFO - Deleted project: ctest-TestRoutersBasic-40606777, ID : 24043413-99c5-4b6a-982f-0b531a0befe9