2025-10-21 14:21:19,875 - INFO - Domain Default found not creating 2025-10-21 14:21:20,001 - INFO - Project ctest-TestRoutersBasic-46282700 not found, creating it 2025-10-21 14:21:20,413 - INFO - Created Project:ctest-TestRoutersBasic-46282700, ID : 28a19a85-fa15-4c2a-86b4-e82520aa43da 2025-10-21 14:21:21,758 - INFO - ================================================================================ 2025-10-21 14:21:21,759 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-21 14:21:21,759 - 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 14:21:22,011 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 14:21:22,011 - INFO - Initial checks done. Running the testcase now 2025-10-21 14:21:22,011 - INFO - 2025-10-21 14:21:22,712 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46282700 2025-10-21 14:21:22,810 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46282700 2025-10-21 14:21:23,126 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46282700', 'default']} 2025-10-21 14:21:23,417 - DEBUG - Response for create_network : {'network': {'id': 'e37fa7c7-2f86-4b85-8bab-1da5eb049de2', 'name': 'ctest-vn-00193633', 'tenant_id': '28a19a85fa154c2a86b4e82520aa43da', 'project_id': '28a19a85fa154c2a86b4e82520aa43da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46282700', 'ctest-vn-00193633'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:21:23,625 - DEBUG - Response for create_subnet : {'subnet': {'id': '01f06429-bab9-4df4-9d4a-2b63d6fb1414', 'name': '', 'tenant_id': '28a19a85fa154c2a86b4e82520aa43da', 'network_id': 'e37fa7c7-2f86-4b85-8bab-1da5eb049de2', 'ip_version': 4, 'cidr': '83.243.195.0/26', 'allocation_pools': [{'start': '83.243.195.2', 'end': '83.243.195.62'}], 'gateway_ip': '83.243.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.243.195.2', 'tags': [], 'project_id': '28a19a85fa154c2a86b4e82520aa43da'}} 2025-10-21 14:21:23,643 - INFO - Created VN ctest-vn-00193633 2025-10-21 14:21:23,694 - DEBUG - VN ctest-vn-00193633 UUID is e37fa7c7-2f86-4b85-8bab-1da5eb049de2 2025-10-21 14:21:24,026 - DEBUG - Response for create_network : {'network': {'id': '9c351dea-0c50-4c77-ba53-386ec601bbc8', 'name': 'ctest-ext_vn-03317000', 'tenant_id': '28a19a85fa154c2a86b4e82520aa43da', 'project_id': '28a19a85fa154c2a86b4e82520aa43da', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46282700', 'ctest-ext_vn-03317000'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 14:21:24,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '4170cd2b-d417-4413-bef4-1c78f4ef03c4', 'name': '', 'tenant_id': '28a19a85fa154c2a86b4e82520aa43da', 'network_id': '9c351dea-0c50-4c77-ba53-386ec601bbc8', 'ip_version': 4, 'cidr': '182.36.237.128/26', 'allocation_pools': [{'start': '182.36.237.130', 'end': '182.36.237.190'}], 'gateway_ip': '182.36.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.36.237.130', 'tags': [], 'project_id': '28a19a85fa154c2a86b4e82520aa43da'}} 2025-10-21 14:21:24,212 - INFO - Created VN ctest-ext_vn-03317000 2025-10-21 14:21:24,266 - DEBUG - VN ctest-ext_vn-03317000 UUID is 9c351dea-0c50-4c77-ba53-386ec601bbc8 2025-10-21 14:21:24,452 - DEBUG - Services list from nova: [, , ] 2025-10-21 14:21:25,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4394-1) 2025-10-21 14:21:26,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4394-1) 2025-10-21 14:21:26,488 - INFO - Setting gateway for router 62c94590-fb4d-4bd3-87bb-455c96997766 to network 9c351dea-0c50-4c77-ba53-386ec601bbc8 2025-10-21 14:21:26,537 - INFO - Adding interface with subnet_id 01f06429-bab9-4df4-9d4a-2b63d6fb1414, port_id None to router 62c94590-fb4d-4bd3-87bb-455c96997766 2025-10-21 14:21:26,760 - INFO - Waiting for VM ctest-TestRoutersBasic-46282700-76724595 to be up.. 2025-10-21 14:21:26,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 14:21:31,966 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:21:31,966 - INFO - VM name : ctest-TestRoutersBasic-46282700-76724595 2025-10-21 14:21:32,031 - DEBUG - VM ctest-TestRoutersBasic-46282700-76724595 ID is 17408fd0-aee5-453b-9b5a-f26fa006cfc7 2025-10-21 14:21:32,054 - DEBUG - VM ctest-TestRoutersBasic-46282700-76724595 launched on Node cn-jenkins-deploy-platform-ansible-os-4394-1 2025-10-21 14:21:32,130 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/17408fd0-aee5-453b-9b5a-f26fa006cfc7 2025-10-21 14:21:32,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/17408fd0-aee5-453b-9b5a-f26fa006cfc7 2025-10-21 14:21:32,458 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fbda235b-0ddb-4880-a8f2-5c8920a2be5e 2025-10-21 14:21:35,700 - 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-10-21 14:21:35,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46282700-76724595 failed! 2025-10-21 14:21:35,754 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46282700:ctest-vn-00193633 is 83.243.195.1 and allocation pool is NOT set 2025-10-21 14:21:37,817 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.444/1.743/3.042/1.299 ms') 2025-10-21 14:21:37,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46282700-76724595 passed 2025-10-21 14:21:37,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:21:37,966 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46282700-76724595, IP 83.243.195.3, Port 22 2025-10-21 14:21:38,118 - DEBUG - VM ctest-TestRoutersBasic-46282700-76724595 is ready for SSH connections 2025-10-21 14:21:38,118 - INFO - Waiting for VM ctest-TestRoutersBasic-46282700-31699584 to be up.. 2025-10-21 14:21:38,193 - DEBUG - VM is in ACTIVE state now 2025-10-21 14:21:38,193 - INFO - VM name : ctest-TestRoutersBasic-46282700-31699584 2025-10-21 14:21:38,266 - DEBUG - VM ctest-TestRoutersBasic-46282700-31699584 ID is c4dc8c0b-927c-46f5-9dc6-46e15f3d65f6 2025-10-21 14:21:38,266 - DEBUG - VM ctest-TestRoutersBasic-46282700-31699584 launched on Node cn-jenkins-deploy-platform-ansible-os-4394-1 2025-10-21 14:21:38,343 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c4dc8c0b-927c-46f5-9dc6-46e15f3d65f6 2025-10-21 14:21:38,351 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/85729921-d109-4a8d-854b-b548ed2e122b 2025-10-21 14:21:39,587 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.628/2.879/1.250 ms') 2025-10-21 14:21:39,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46282700-31699584 passed 2025-10-21 14:21:39,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:21:39,738 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46282700-31699584, IP 182.36.237.131, Port 22 2025-10-21 14:21:39,890 - DEBUG - VM ctest-TestRoutersBasic-46282700-31699584 is ready for SSH connections 2025-10-21 14:21:39,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 14:21:39,890 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.36.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 14:21:39,890 - DEBUG - ping -s 56 -c 3 -W 1 182.36.237.131 2025-10-21 14:21:43,861 - DEBUG - PING 182.36.237.131 (182.36.237.131): 56 data bytes 64 bytes from 182.36.237.131: seq=0 ttl=62 time=7.397 ms 64 bytes from 182.36.237.131: seq=1 ttl=62 time=0.764 ms 64 bytes from 182.36.237.131: seq=2 ttl=62 time=0.740 ms --- 182.36.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/2.967/7.397 ms 2025-10-21 14:21:43,861 - INFO - Ping to IP 182.36.237.131 from VM ctest-TestRoutersBasic-46282700-76724595 passed 2025-10-21 14:21:43,861 - INFO - Deleting interface with subnet_id 01f06429-bab9-4df4-9d4a-2b63d6fb1414, port_id None from router 62c94590-fb4d-4bd3-87bb-455c96997766 2025-10-21 14:21:44,031 - INFO - Deleting VM ctest-TestRoutersBasic-46282700-31699584 2025-10-21 14:21:44,091 - INFO - Deleting VM ctest-TestRoutersBasic-46282700-76724595 2025-10-21 14:21:44,161 - INFO - Deleting VN ctest-ext_vn-03317000 2025-10-21 14:21:44,220 - DEBUG - VN 9c351dea-0c50-4c77-ba53-386ec601bbc8 still in use: Unable to complete operation on network 9c351dea-0c50-4c77-ba53-386ec601bbc8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81fd6fe7-ab53-497b-89ad-34bc346aa9fc'] 2025-10-21 14:21:44,220 - WARNING - Deleting VN ctest-ext_vn-03317000 failed..Will retry 2025-10-21 14:21:46,311 - DEBUG - Response for deleting network () 2025-10-21 14:21:46,311 - INFO - Deleting VN ctest-vn-00193633 2025-10-21 14:21:46,404 - DEBUG - Response for deleting network () 2025-10-21 14:21:46,659 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 14:21:46,659 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-21 14:21:46,659 - INFO - -------------------------------------------------------------------------------- 2025-10-21 14:21:47,305 - INFO - Deleted project: ctest-TestRoutersBasic-46282700, ID : 28a19a85-fa15-4c2a-86b4-e82520aa43da