2025-10-21 17:39:12,149 - INFO - Domain Default found not creating 2025-10-21 17:39:12,299 - INFO - Project ctest-TestRoutersBasic-61453892 not found, creating it 2025-10-21 17:39:12,769 - INFO - Created Project:ctest-TestRoutersBasic-61453892, ID : 6e2a7524-ae76-4ed1-baf0-8e1ce500300e 2025-10-21 17:39:14,321 - INFO - ================================================================================ 2025-10-21 17:39:14,321 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 17:39:14,321 - 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-10-21 17:39:14,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-21 17:39:14,578 - INFO - Initial checks done. Running the testcase now 2025-10-21 17:39:14,579 - INFO - 2025-10-21 17:39:15,364 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61453892 2025-10-21 17:39:15,465 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61453892 2025-10-21 17:39:15,792 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61453892', 'default']} 2025-10-21 17:39:16,088 - DEBUG - Response for create_network : {'network': {'id': '3401de4c-110f-4e97-b52a-c15caf15462b', 'name': 'ctest-vn-80911998', 'tenant_id': '6e2a7524ae764ed1baf08e1ce500300e', 'project_id': '6e2a7524ae764ed1baf08e1ce500300e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61453892', 'ctest-vn-80911998'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:39:16,260 - DEBUG - Response for create_subnet : {'subnet': {'id': '58d6a85c-a11e-4cd4-b1a2-a9618347b7c6', 'name': '', 'tenant_id': '6e2a7524ae764ed1baf08e1ce500300e', 'network_id': '3401de4c-110f-4e97-b52a-c15caf15462b', 'ip_version': 4, 'cidr': '2.55.98.192/26', 'allocation_pools': [{'start': '2.55.98.194', 'end': '2.55.98.254'}], 'gateway_ip': '2.55.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.55.98.194', 'tags': [], 'project_id': '6e2a7524ae764ed1baf08e1ce500300e'}} 2025-10-21 17:39:16,281 - INFO - Created VN ctest-vn-80911998 2025-10-21 17:39:16,332 - DEBUG - VN ctest-vn-80911998 UUID is 3401de4c-110f-4e97-b52a-c15caf15462b 2025-10-21 17:39:16,657 - DEBUG - Response for create_network : {'network': {'id': '559c8b74-873b-40ad-9edb-e22a9d332b23', 'name': 'ctest-ext_vn-24502114', 'tenant_id': '6e2a7524ae764ed1baf08e1ce500300e', 'project_id': '6e2a7524ae764ed1baf08e1ce500300e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61453892', 'ctest-ext_vn-24502114'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 17:39:16,821 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9d83358-a546-4f0f-bc24-a492c8ef49a3', 'name': '', 'tenant_id': '6e2a7524ae764ed1baf08e1ce500300e', 'network_id': '559c8b74-873b-40ad-9edb-e22a9d332b23', 'ip_version': 4, 'cidr': '3.68.242.128/26', 'allocation_pools': [{'start': '3.68.242.130', 'end': '3.68.242.190'}], 'gateway_ip': '3.68.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.68.242.130', 'tags': [], 'project_id': '6e2a7524ae764ed1baf08e1ce500300e'}} 2025-10-21 17:39:16,841 - INFO - Created VN ctest-ext_vn-24502114 2025-10-21 17:39:16,893 - DEBUG - VN ctest-ext_vn-24502114 UUID is 559c8b74-873b-40ad-9edb-e22a9d332b23 2025-10-21 17:39:17,058 - DEBUG - Services list from nova: [, , ] 2025-10-21 17:39:18,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4400-1) 2025-10-21 17:39:19,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4400-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4400-1) 2025-10-21 17:39:19,463 - INFO - Setting gateway for router c0dd4829-5076-41fe-90b3-8e0ea5437eb8 to network 559c8b74-873b-40ad-9edb-e22a9d332b23 2025-10-21 17:39:19,537 - INFO - Adding interface with subnet_id 58d6a85c-a11e-4cd4-b1a2-a9618347b7c6, port_id None to router c0dd4829-5076-41fe-90b3-8e0ea5437eb8 2025-10-21 17:39:19,878 - INFO - Waiting for VM ctest-TestRoutersBasic-61453892-47679999 to be up.. 2025-10-21 17:39:20,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 17:39:25,108 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:39:25,108 - INFO - VM name : ctest-TestRoutersBasic-61453892-47679999 2025-10-21 17:39:25,185 - DEBUG - VM ctest-TestRoutersBasic-61453892-47679999 ID is 427c3cab-c404-4308-8167-8f0ffb023313 2025-10-21 17:39:25,206 - DEBUG - VM ctest-TestRoutersBasic-61453892-47679999 launched on Node cn-jenkins-deploy-platform-ansible-os-4400-1 2025-10-21 17:39:25,281 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/427c3cab-c404-4308-8167-8f0ffb023313 2025-10-21 17:39:25,616 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/427c3cab-c404-4308-8167-8f0ffb023313 2025-10-21 17:39:25,649 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4701920f-e327-4bd5-9421-f02fc9eda7d4 2025-10-21 17:39:28,888 - 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-10-21 17:39:28,888 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61453892-47679999 failed! 2025-10-21 17:39:28,945 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61453892:ctest-vn-80911998 is 2.55.98.193 and allocation pool is NOT set 2025-10-21 17:39:31,010 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.073/2.415/3.758/1.342 ms') 2025-10-21 17:39:31,010 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61453892-47679999 passed 2025-10-21 17:39:31,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:39:31,165 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61453892-47679999, IP 2.55.98.195, Port 22 2025-10-21 17:39:31,320 - DEBUG - VM ctest-TestRoutersBasic-61453892-47679999 is ready for SSH connections 2025-10-21 17:39:31,320 - INFO - Waiting for VM ctest-TestRoutersBasic-61453892-55204394 to be up.. 2025-10-21 17:39:31,398 - DEBUG - VM is in ACTIVE state now 2025-10-21 17:39:31,399 - INFO - VM name : ctest-TestRoutersBasic-61453892-55204394 2025-10-21 17:39:31,474 - DEBUG - VM ctest-TestRoutersBasic-61453892-55204394 ID is b9d1f1e9-365e-4a00-9cda-fa479c3696f9 2025-10-21 17:39:31,474 - DEBUG - VM ctest-TestRoutersBasic-61453892-55204394 launched on Node cn-jenkins-deploy-platform-ansible-os-4400-1 2025-10-21 17:39:31,549 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b9d1f1e9-365e-4a00-9cda-fa479c3696f9 2025-10-21 17:39:31,559 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/72c169d3-4a32-4685-b91e-e2a0b03aa232 2025-10-21 17:39:32,798 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.617 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.617/2.140/3.663/1.523 ms') 2025-10-21 17:39:32,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61453892-55204394 passed 2025-10-21 17:39:32,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:39:32,945 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61453892-55204394, IP 3.68.242.131, Port 22 2025-10-21 17:39:33,100 - DEBUG - VM ctest-TestRoutersBasic-61453892-55204394 is ready for SSH connections 2025-10-21 17:39:33,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 17:39:33,101 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.68.242.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 17:39:33,101 - DEBUG - ping -s 56 -c 3 -W 1 3.68.242.131 2025-10-21 17:39:36,841 - DEBUG - PING 3.68.242.131 (3.68.242.131): 56 data bytes 64 bytes from 3.68.242.131: seq=0 ttl=62 time=6.072 ms 64 bytes from 3.68.242.131: seq=1 ttl=62 time=0.906 ms 64 bytes from 3.68.242.131: seq=2 ttl=62 time=1.947 ms --- 3.68.242.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/2.975/6.072 ms 2025-10-21 17:39:36,841 - INFO - Ping to IP 3.68.242.131 from VM ctest-TestRoutersBasic-61453892-47679999 passed 2025-10-21 17:39:36,841 - INFO - Deleting interface with subnet_id 58d6a85c-a11e-4cd4-b1a2-a9618347b7c6, port_id None from router c0dd4829-5076-41fe-90b3-8e0ea5437eb8 2025-10-21 17:39:37,049 - INFO - Deleting VM ctest-TestRoutersBasic-61453892-55204394 2025-10-21 17:39:37,120 - INFO - Deleting VM ctest-TestRoutersBasic-61453892-47679999 2025-10-21 17:39:37,206 - INFO - Deleting VN ctest-ext_vn-24502114 2025-10-21 17:39:37,293 - DEBUG - VN 559c8b74-873b-40ad-9edb-e22a9d332b23 still in use: Unable to complete operation on network 559c8b74-873b-40ad-9edb-e22a9d332b23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd6de11f-c6de-4d42-8bf5-d10f524d4557'] 2025-10-21 17:39:37,293 - WARNING - Deleting VN ctest-ext_vn-24502114 failed..Will retry 2025-10-21 17:39:39,414 - DEBUG - Response for deleting network () 2025-10-21 17:39:39,414 - INFO - Deleting VN ctest-vn-80911998 2025-10-21 17:39:39,533 - DEBUG - Response for deleting network () 2025-10-21 17:39:39,786 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:39:39,786 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-21 17:39:39,786 - INFO - -------------------------------------------------------------------------------- 2025-10-21 17:39:40,507 - INFO - Deleted project: ctest-TestRoutersBasic-61453892, ID : 6e2a7524-ae76-4ed1-baf0-8e1ce500300e