2025-09-18 19:32:04,345 - INFO - Domain Default found not creating 2025-09-18 19:32:04,475 - INFO - Project ctest-TestRoutersBasic-43241329 not found, creating it 2025-09-18 19:32:04,892 - INFO - Created Project:ctest-TestRoutersBasic-43241329, ID : e21c7022-ef67-4d53-a835-574a4fcdd55d 2025-09-18 19:32:06,222 - INFO - ================================================================================ 2025-09-18 19:32:06,222 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-18 19:32:06,222 - 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-09-18 19:32:06,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-09-18 19:32:06,474 - INFO - Initial checks done. Running the testcase now 2025-09-18 19:32:06,474 - INFO - 2025-09-18 19:32:07,141 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-43241329 2025-09-18 19:32:07,237 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-43241329 2025-09-18 19:32:07,548 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43241329', 'default']} 2025-09-18 19:32:07,821 - DEBUG - Response for create_network : {'network': {'id': 'a5d92f96-b92f-4f44-a7e1-dfeee66ceb7a', 'name': 'ctest-vn-20903919', 'tenant_id': 'e21c7022ef674d53a835574a4fcdd55d', 'project_id': 'e21c7022ef674d53a835574a4fcdd55d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43241329', 'ctest-vn-20903919'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:32:07,993 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bb83670-fc70-4f19-9fdd-7538a162f9d3', 'name': '', 'tenant_id': 'e21c7022ef674d53a835574a4fcdd55d', 'network_id': 'a5d92f96-b92f-4f44-a7e1-dfeee66ceb7a', 'ip_version': 4, 'cidr': '6.39.152.192/26', 'allocation_pools': [{'start': '6.39.152.194', 'end': '6.39.152.254'}], 'gateway_ip': '6.39.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.39.152.194', 'tags': [], 'project_id': 'e21c7022ef674d53a835574a4fcdd55d'}} 2025-09-18 19:32:08,008 - INFO - Created VN ctest-vn-20903919 2025-09-18 19:32:08,061 - DEBUG - VN ctest-vn-20903919 UUID is a5d92f96-b92f-4f44-a7e1-dfeee66ceb7a 2025-09-18 19:32:08,347 - DEBUG - Response for create_network : {'network': {'id': 'a15988a5-3e45-4807-86f1-0c9c1609f66b', 'name': 'ctest-ext_vn-15228435', 'tenant_id': 'e21c7022ef674d53a835574a4fcdd55d', 'project_id': 'e21c7022ef674d53a835574a4fcdd55d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-43241329', 'ctest-ext_vn-15228435'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:32:08,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '61527351-2ea5-46d4-aba0-0ecdd43873b9', 'name': '', 'tenant_id': 'e21c7022ef674d53a835574a4fcdd55d', 'network_id': 'a15988a5-3e45-4807-86f1-0c9c1609f66b', 'ip_version': 4, 'cidr': '90.159.86.192/26', 'allocation_pools': [{'start': '90.159.86.194', 'end': '90.159.86.254'}], 'gateway_ip': '90.159.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.159.86.194', 'tags': [], 'project_id': 'e21c7022ef674d53a835574a4fcdd55d'}} 2025-09-18 19:32:08,514 - INFO - Created VN ctest-ext_vn-15228435 2025-09-18 19:32:08,564 - DEBUG - VN ctest-ext_vn-15228435 UUID is a15988a5-3e45-4807-86f1-0c9c1609f66b 2025-09-18 19:32:08,753 - DEBUG - Services list from nova: [, , ] 2025-09-18 19:32:09,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4141-1) 2025-09-18 19:32:10,745 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4141-1) 2025-09-18 19:32:10,814 - INFO - Setting gateway for router 1339e647-cc45-4e61-9131-d09821649fdd to network a15988a5-3e45-4807-86f1-0c9c1609f66b 2025-09-18 19:32:10,880 - INFO - Adding interface with subnet_id 6bb83670-fc70-4f19-9fdd-7538a162f9d3, port_id None to router 1339e647-cc45-4e61-9131-d09821649fdd 2025-09-18 19:32:11,195 - INFO - Waiting for VM ctest-TestRoutersBasic-43241329-81968254 to be up.. 2025-09-18 19:32:11,316 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 19:32:16,382 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:32:16,382 - INFO - VM name : ctest-TestRoutersBasic-43241329-81968254 2025-09-18 19:32:16,447 - DEBUG - VM ctest-TestRoutersBasic-43241329-81968254 ID is f8f758d8-a6fe-4745-8f60-e74c8ebdc528 2025-09-18 19:32:16,464 - DEBUG - VM ctest-TestRoutersBasic-43241329-81968254 launched on Node cn-jenkins-deploy-platform-ansible-os-4141-1 2025-09-18 19:32:16,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8f758d8-a6fe-4745-8f60-e74c8ebdc528 2025-09-18 19:32:16,838 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f8f758d8-a6fe-4745-8f60-e74c8ebdc528 2025-09-18 19:32:16,880 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a7ce8ba3-e7c6-41bd-8bc5-9faa79510ddf 2025-09-18 19:32:20,139 - 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-09-18 19:32:20,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43241329-81968254 failed! 2025-09-18 19:32:20,193 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-43241329:ctest-vn-20903919 is 6.39.152.193 and allocation pool is NOT set 2025-09-18 19:32:22,253 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.428 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.428/1.544/2.660/1.116 ms') 2025-09-18 19:32:22,253 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-43241329-81968254 passed 2025-09-18 19:32:22,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:32:22,400 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43241329-81968254, IP 6.39.152.195, Port 22 2025-09-18 19:32:22,552 - DEBUG - VM ctest-TestRoutersBasic-43241329-81968254 is ready for SSH connections 2025-09-18 19:32:22,552 - INFO - Waiting for VM ctest-TestRoutersBasic-43241329-81763171 to be up.. 2025-09-18 19:32:22,628 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:32:22,629 - INFO - VM name : ctest-TestRoutersBasic-43241329-81763171 2025-09-18 19:32:22,693 - DEBUG - VM ctest-TestRoutersBasic-43241329-81763171 ID is 14199751-6587-4456-a9ad-8e61e2d540b2 2025-09-18 19:32:22,693 - DEBUG - VM ctest-TestRoutersBasic-43241329-81763171 launched on Node cn-jenkins-deploy-platform-ansible-os-4141-1 2025-09-18 19:32:22,759 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/14199751-6587-4456-a9ad-8e61e2d540b2 2025-09-18 19:32:22,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fec0dfa4-c5df-4352-9818-7948d1c9e08b 2025-09-18 19:32:24,001 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.566/2.785/1.218 ms') 2025-09-18 19:32:24,001 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-43241329-81763171 passed 2025-09-18 19:32:24,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:32:24,152 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-43241329-81763171, IP 90.159.86.195, Port 22 2025-09-18 19:32:24,304 - DEBUG - VM ctest-TestRoutersBasic-43241329-81763171 is ready for SSH connections 2025-09-18 19:32:24,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:32:24,304 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.159.86.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 19:32:24,304 - DEBUG - ping -s 56 -c 3 -W 1 90.159.86.195 2025-09-18 19:32:28,249 - DEBUG - PING 90.159.86.195 (90.159.86.195): 56 data bytes 64 bytes from 90.159.86.195: seq=0 ttl=62 time=4.623 ms 64 bytes from 90.159.86.195: seq=1 ttl=62 time=0.813 ms 64 bytes from 90.159.86.195: seq=2 ttl=62 time=0.736 ms --- 90.159.86.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.736/2.057/4.623 ms 2025-09-18 19:32:28,249 - INFO - Ping to IP 90.159.86.195 from VM ctest-TestRoutersBasic-43241329-81968254 passed 2025-09-18 19:32:28,249 - INFO - Deleting interface with subnet_id 6bb83670-fc70-4f19-9fdd-7538a162f9d3, port_id None from router 1339e647-cc45-4e61-9131-d09821649fdd 2025-09-18 19:32:28,401 - INFO - Deleting VM ctest-TestRoutersBasic-43241329-81763171 2025-09-18 19:32:28,456 - INFO - Deleting VM ctest-TestRoutersBasic-43241329-81968254 2025-09-18 19:32:28,524 - INFO - Deleting VN ctest-ext_vn-15228435 2025-09-18 19:32:28,606 - DEBUG - VN a15988a5-3e45-4807-86f1-0c9c1609f66b still in use: Unable to complete operation on network a15988a5-3e45-4807-86f1-0c9c1609f66b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff334b5b-ba48-4084-ab50-41a6bb0373b9'] 2025-09-18 19:32:28,606 - WARNING - Deleting VN ctest-ext_vn-15228435 failed..Will retry 2025-09-18 19:32:30,695 - DEBUG - Response for deleting network () 2025-09-18 19:32:30,695 - INFO - Deleting VN ctest-vn-20903919 2025-09-18 19:32:30,793 - DEBUG - Response for deleting network () 2025-09-18 19:32:31,052 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 19:32:31,052 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-18 19:32:31,052 - INFO - -------------------------------------------------------------------------------- 2025-09-18 19:32:31,711 - INFO - Deleted project: ctest-TestRoutersBasic-43241329, ID : e21c7022-ef67-4d53-a835-574a4fcdd55d