2025-09-19 04:08:49,492 - INFO - Domain Default found not creating 2025-09-19 04:08:49,646 - INFO - Project ctest-TestRoutersBasic-64157352 not found, creating it 2025-09-19 04:08:50,119 - INFO - Created Project:ctest-TestRoutersBasic-64157352, ID : 180fcfe7-efd4-4f3c-b597-05e88646920a 2025-09-19 04:08:51,545 - INFO - ================================================================================ 2025-09-19 04:08:51,546 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-19 04:08:51,546 - 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-19 04:08:51,798 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-19 04:08:51,799 - INFO - Initial checks done. Running the testcase now 2025-09-19 04:08:51,799 - INFO - 2025-09-19 04:08:52,486 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64157352 2025-09-19 04:08:52,581 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64157352 2025-09-19 04:08:52,897 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64157352', 'default']} 2025-09-19 04:08:53,171 - DEBUG - Response for create_network : {'network': {'id': '12d10d06-93f1-44ec-8526-c669b38334f5', 'name': 'ctest-vn-71462270', 'tenant_id': '180fcfe7efd44f3cb59705e88646920a', 'project_id': '180fcfe7efd44f3cb59705e88646920a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64157352', 'ctest-vn-71462270'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:08:53,318 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc69d9f5-b88b-438a-b23e-a9454d72300e', 'name': '', 'tenant_id': '180fcfe7efd44f3cb59705e88646920a', 'network_id': '12d10d06-93f1-44ec-8526-c669b38334f5', 'ip_version': 4, 'cidr': '185.6.186.128/26', 'allocation_pools': [{'start': '185.6.186.130', 'end': '185.6.186.190'}], 'gateway_ip': '185.6.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.6.186.130', 'tags': [], 'project_id': '180fcfe7efd44f3cb59705e88646920a'}} 2025-09-19 04:08:53,334 - INFO - Created VN ctest-vn-71462270 2025-09-19 04:08:53,385 - DEBUG - VN ctest-vn-71462270 UUID is 12d10d06-93f1-44ec-8526-c669b38334f5 2025-09-19 04:08:53,702 - DEBUG - Response for create_network : {'network': {'id': 'c5beda6c-5e17-45de-884e-5b22efe31050', 'name': 'ctest-ext_vn-74531295', 'tenant_id': '180fcfe7efd44f3cb59705e88646920a', 'project_id': '180fcfe7efd44f3cb59705e88646920a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64157352', 'ctest-ext_vn-74531295'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:08:53,856 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a363e1d-bbbb-4f91-9e84-69ee55e3d634', 'name': '', 'tenant_id': '180fcfe7efd44f3cb59705e88646920a', 'network_id': 'c5beda6c-5e17-45de-884e-5b22efe31050', 'ip_version': 4, 'cidr': '50.102.31.0/26', 'allocation_pools': [{'start': '50.102.31.2', 'end': '50.102.31.62'}], 'gateway_ip': '50.102.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.102.31.2', 'tags': [], 'project_id': '180fcfe7efd44f3cb59705e88646920a'}} 2025-09-19 04:08:53,871 - INFO - Created VN ctest-ext_vn-74531295 2025-09-19 04:08:53,921 - DEBUG - VN ctest-ext_vn-74531295 UUID is c5beda6c-5e17-45de-884e-5b22efe31050 2025-09-19 04:08:54,113 - DEBUG - Services list from nova: [, , ] 2025-09-19 04:08:55,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:08:56,176 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:08:56,248 - INFO - Setting gateway for router aefacb7c-7d91-4ad6-be65-0fd552347238 to network c5beda6c-5e17-45de-884e-5b22efe31050 2025-09-19 04:08:56,298 - INFO - Adding interface with subnet_id dc69d9f5-b88b-438a-b23e-a9454d72300e, port_id None to router aefacb7c-7d91-4ad6-be65-0fd552347238 2025-09-19 04:08:56,539 - INFO - Waiting for VM ctest-TestRoutersBasic-64157352-63606631 to be up.. 2025-09-19 04:08:56,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 04:09:01,720 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:09:01,721 - INFO - VM name : ctest-TestRoutersBasic-64157352-63606631 2025-09-19 04:09:01,800 - DEBUG - VM ctest-TestRoutersBasic-64157352-63606631 ID is e4332d65-d73f-465a-9b16-9fcde5657e8f 2025-09-19 04:09:01,822 - DEBUG - VM ctest-TestRoutersBasic-64157352-63606631 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:09:01,899 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e4332d65-d73f-465a-9b16-9fcde5657e8f 2025-09-19 04:09:02,194 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e4332d65-d73f-465a-9b16-9fcde5657e8f 2025-09-19 04:09:02,227 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/54ecd2af-b1cf-46c5-8568-d0193cb15024 2025-09-19 04:09:05,478 - 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 1019ms') 2025-09-19 04:09:05,478 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64157352-63606631 failed! 2025-09-19 04:09:05,529 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64157352:ctest-vn-71462270 is 185.6.186.129 and allocation pool is NOT set 2025-09-19 04:09:07,590 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/1.671/2.893/1.222 ms') 2025-09-19 04:09:07,590 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64157352-63606631 passed 2025-09-19 04:09:07,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:09:07,737 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64157352-63606631, IP 185.6.186.131, Port 22 2025-09-19 04:09:07,889 - DEBUG - VM ctest-TestRoutersBasic-64157352-63606631 is ready for SSH connections 2025-09-19 04:09:07,889 - INFO - Waiting for VM ctest-TestRoutersBasic-64157352-24953327 to be up.. 2025-09-19 04:09:07,979 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:09:07,979 - INFO - VM name : ctest-TestRoutersBasic-64157352-24953327 2025-09-19 04:09:08,049 - DEBUG - VM ctest-TestRoutersBasic-64157352-24953327 ID is 7ca38b29-d7dd-4621-8ef4-52e1fb1fbf2b 2025-09-19 04:09:08,049 - DEBUG - VM ctest-TestRoutersBasic-64157352-24953327 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:09:08,117 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7ca38b29-d7dd-4621-8ef4-52e1fb1fbf2b 2025-09-19 04:09:08,125 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/77e392e2-adce-4f52-ac83-8df6a6e8c3e6 2025-09-19 04:09:09,355 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.494/1.733/2.972/1.239 ms') 2025-09-19 04:09:09,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64157352-24953327 passed 2025-09-19 04:09:09,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:09:09,505 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64157352-24953327, IP 50.102.31.3, Port 22 2025-09-19 04:09:09,661 - DEBUG - VM ctest-TestRoutersBasic-64157352-24953327 is ready for SSH connections 2025-09-19 04:09:09,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:09:09,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.102.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-19 04:09:09,662 - DEBUG - ping -s 56 -c 3 -W 1 50.102.31.3 2025-09-19 04:09:13,637 - DEBUG - PING 50.102.31.3 (50.102.31.3): 56 data bytes 64 bytes from 50.102.31.3: seq=0 ttl=62 time=7.272 ms 64 bytes from 50.102.31.3: seq=1 ttl=62 time=0.674 ms 64 bytes from 50.102.31.3: seq=2 ttl=62 time=1.209 ms --- 50.102.31.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.674/3.051/7.272 ms 2025-09-19 04:09:13,637 - INFO - Ping to IP 50.102.31.3 from VM ctest-TestRoutersBasic-64157352-63606631 passed 2025-09-19 04:09:13,637 - INFO - Deleting interface with subnet_id dc69d9f5-b88b-438a-b23e-a9454d72300e, port_id None from router aefacb7c-7d91-4ad6-be65-0fd552347238 2025-09-19 04:09:13,788 - INFO - Deleting VM ctest-TestRoutersBasic-64157352-24953327 2025-09-19 04:09:13,849 - INFO - Deleting VM ctest-TestRoutersBasic-64157352-63606631 2025-09-19 04:09:13,926 - INFO - Deleting VN ctest-ext_vn-74531295 2025-09-19 04:09:13,979 - DEBUG - VN c5beda6c-5e17-45de-884e-5b22efe31050 still in use: Unable to complete operation on network c5beda6c-5e17-45de-884e-5b22efe31050. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46c85086-6fa1-44a5-9a17-6e064b9f8501'] 2025-09-19 04:09:13,979 - WARNING - Deleting VN ctest-ext_vn-74531295 failed..Will retry 2025-09-19 04:09:16,078 - DEBUG - Response for deleting network () 2025-09-19 04:09:16,078 - INFO - Deleting VN ctest-vn-71462270 2025-09-19 04:09:16,182 - DEBUG - Response for deleting network () 2025-09-19 04:09:16,438 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 04:09:16,438 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-19 04:09:16,438 - INFO - -------------------------------------------------------------------------------- 2025-09-19 04:09:17,101 - INFO - Deleted project: ctest-TestRoutersBasic-64157352, ID : 180fcfe7-efd4-4f3c-b597-05e88646920a