2026-06-15 12:42:02,304 - INFO - Domain Default found not creating 2026-06-15 12:42:02,462 - INFO - Project ctest-TestRoutersBasic-69336500 not found, creating it 2026-06-15 12:42:02,919 - INFO - Created Project:ctest-TestRoutersBasic-69336500, ID : d5c1124e-506d-45a7-bc3f-5f45ff618600 2026-06-15 12:42:04,562 - INFO - ================================================================================ 2026-06-15 12:42:04,562 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-15 12:42:04,562 - 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 2026-06-15 12:42:04,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-06-15 12:42:04,835 - INFO - Initial checks done. Running the testcase now 2026-06-15 12:42:04,835 - INFO - 2026-06-15 12:42:05,601 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69336500 2026-06-15 12:42:05,695 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69336500 2026-06-15 12:42:06,015 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69336500', 'default']} 2026-06-15 12:42:06,287 - DEBUG - Response for create_network : {'network': {'id': '5e5a9aeb-f059-467e-962f-1bd42a313398', 'name': 'ctest-vn-88908315', 'tenant_id': 'd5c1124e506d45a7bc3f5f45ff618600', 'project_id': 'd5c1124e506d45a7bc3f5f45ff618600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69336500', 'ctest-vn-88908315'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:42:06,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '1df44dbc-a537-4aa9-bc69-36bc9d774dfb', 'name': '', 'tenant_id': 'd5c1124e506d45a7bc3f5f45ff618600', 'network_id': '5e5a9aeb-f059-467e-962f-1bd42a313398', 'ip_version': 4, 'cidr': '116.193.12.128/26', 'allocation_pools': [{'start': '116.193.12.130', 'end': '116.193.12.190'}], 'gateway_ip': '116.193.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.193.12.130', 'tags': [], 'project_id': 'd5c1124e506d45a7bc3f5f45ff618600'}} 2026-06-15 12:42:06,465 - INFO - Created VN ctest-vn-88908315 2026-06-15 12:42:06,519 - DEBUG - VN ctest-vn-88908315 UUID is 5e5a9aeb-f059-467e-962f-1bd42a313398 2026-06-15 12:42:06,840 - DEBUG - Response for create_network : {'network': {'id': '48b43a89-5b1d-4e8e-91c6-67a13f0234e1', 'name': 'ctest-ext_vn-09932192', 'tenant_id': 'd5c1124e506d45a7bc3f5f45ff618600', 'project_id': 'd5c1124e506d45a7bc3f5f45ff618600', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69336500', 'ctest-ext_vn-09932192'], 'port_security_enabled': True, 'description': ''}} 2026-06-15 12:42:07,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '58af36f4-0b2f-4772-a554-8fb85a06f73e', 'name': '', 'tenant_id': 'd5c1124e506d45a7bc3f5f45ff618600', 'network_id': '48b43a89-5b1d-4e8e-91c6-67a13f0234e1', 'ip_version': 4, 'cidr': '196.169.164.128/26', 'allocation_pools': [{'start': '196.169.164.130', 'end': '196.169.164.190'}], 'gateway_ip': '196.169.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.169.164.130', 'tags': [], 'project_id': 'd5c1124e506d45a7bc3f5f45ff618600'}} 2026-06-15 12:42:07,049 - INFO - Created VN ctest-ext_vn-09932192 2026-06-15 12:42:07,099 - DEBUG - VN ctest-ext_vn-09932192 UUID is 48b43a89-5b1d-4e8e-91c6-67a13f0234e1 2026-06-15 12:42:07,295 - DEBUG - Services list from nova: [, , ] 2026-06-15 12:42:08,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5944-1) 2026-06-15 12:42:09,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5944-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5944-1) 2026-06-15 12:42:09,453 - INFO - Setting gateway for router d766db3c-a5e3-4354-b608-e5909bd2ea00 to network 48b43a89-5b1d-4e8e-91c6-67a13f0234e1 2026-06-15 12:42:09,496 - INFO - Adding interface with subnet_id 1df44dbc-a537-4aa9-bc69-36bc9d774dfb, port_id None to router d766db3c-a5e3-4354-b608-e5909bd2ea00 2026-06-15 12:42:09,680 - INFO - Waiting for VM ctest-TestRoutersBasic-69336500-17672079 to be up.. 2026-06-15 12:42:09,758 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:42:14,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-15 12:42:19,891 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:42:19,891 - INFO - VM name : ctest-TestRoutersBasic-69336500-17672079 2026-06-15 12:42:19,954 - DEBUG - VM ctest-TestRoutersBasic-69336500-17672079 ID is 78eac177-4c7c-4520-b3f0-3e942c8df4a9 2026-06-15 12:42:19,972 - DEBUG - VM ctest-TestRoutersBasic-69336500-17672079 launched on Node cn-jenkins-deploy-platform-ansible-os-5944-1 2026-06-15 12:42:20,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/78eac177-4c7c-4520-b3f0-3e942c8df4a9 2026-06-15 12:42:20,377 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/78eac177-4c7c-4520-b3f0-3e942c8df4a9 2026-06-15 12:42:20,409 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e5ecdc7c-f642-4afb-b32b-f236bd90796c 2026-06-15 12:42:23,638 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1004ms') 2026-06-15 12:42:23,638 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-69336500-17672079 failed! 2026-06-15 12:42:23,691 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-69336500:ctest-vn-88908315 is 116.193.12.129 and allocation pool is NOT set 2026-06-15 12:42:25,749 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=6.18 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.439 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.439/3.310/6.181/2.871 ms') 2026-06-15 12:42:25,750 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-69336500-17672079 passed 2026-06-15 12:42:25,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:42:25,899 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69336500-17672079, IP 116.193.12.131, Port 22 2026-06-15 12:42:26,059 - DEBUG - VM ctest-TestRoutersBasic-69336500-17672079 is ready for SSH connections 2026-06-15 12:42:26,059 - INFO - Waiting for VM ctest-TestRoutersBasic-69336500-08845763 to be up.. 2026-06-15 12:42:26,125 - DEBUG - VM is in ACTIVE state now 2026-06-15 12:42:26,125 - INFO - VM name : ctest-TestRoutersBasic-69336500-08845763 2026-06-15 12:42:26,191 - DEBUG - VM ctest-TestRoutersBasic-69336500-08845763 ID is cfb8d0ec-78b5-4901-a49c-f21a70716672 2026-06-15 12:42:26,191 - DEBUG - VM ctest-TestRoutersBasic-69336500-08845763 launched on Node cn-jenkins-deploy-platform-ansible-os-5944-1 2026-06-15 12:42:26,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cfb8d0ec-78b5-4901-a49c-f21a70716672 2026-06-15 12:42:26,263 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/308276ed-91ec-4718-bbca-2822329eb176 2026-06-15 12:42:27,490 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=5.60 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=2.26 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.263/3.933/5.604/1.670 ms') 2026-06-15 12:42:27,490 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-69336500-08845763 passed 2026-06-15 12:42:27,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:42:27,635 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69336500-08845763, IP 196.169.164.132, Port 22 2026-06-15 12:42:27,803 - DEBUG - VM ctest-TestRoutersBasic-69336500-08845763 is ready for SSH connections 2026-06-15 12:42:27,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-15 12:42:27,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.169.164.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-06-15 12:42:27,803 - DEBUG - ping -s 56 -c 3 -W 1 196.169.164.132 2026-06-15 12:42:30,385 - DEBUG - PING 196.169.164.132 (196.169.164.132): 56 data bytes 64 bytes from 196.169.164.132: seq=0 ttl=62 time=6.828 ms 64 bytes from 196.169.164.132: seq=1 ttl=62 time=0.921 ms 64 bytes from 196.169.164.132: seq=2 ttl=62 time=0.844 ms --- 196.169.164.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/2.864/6.828 ms 2026-06-15 12:42:30,385 - INFO - Ping to IP 196.169.164.132 from VM ctest-TestRoutersBasic-69336500-17672079 passed 2026-06-15 12:42:30,385 - INFO - Deleting interface with subnet_id 1df44dbc-a537-4aa9-bc69-36bc9d774dfb, port_id None from router d766db3c-a5e3-4354-b608-e5909bd2ea00 2026-06-15 12:42:30,558 - INFO - Deleting VM ctest-TestRoutersBasic-69336500-08845763 2026-06-15 12:42:30,631 - INFO - Deleting VM ctest-TestRoutersBasic-69336500-17672079 2026-06-15 12:42:30,718 - INFO - Deleting VN ctest-ext_vn-09932192 2026-06-15 12:42:30,784 - DEBUG - VN 48b43a89-5b1d-4e8e-91c6-67a13f0234e1 still in use: Unable to complete operation on network 48b43a89-5b1d-4e8e-91c6-67a13f0234e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2bc4c251-18ea-434e-8500-b70d6886591f'] 2026-06-15 12:42:30,784 - WARNING - Deleting VN ctest-ext_vn-09932192 failed..Will retry 2026-06-15 12:42:32,870 - DEBUG - Response for deleting network () 2026-06-15 12:42:32,870 - INFO - Deleting VN ctest-vn-88908315 2026-06-15 12:42:32,964 - DEBUG - Response for deleting network () 2026-06-15 12:42:33,217 - DEBUG - No XMPP flaps were noticed during the test
2026-06-15 12:42:33,217 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2026-06-15 12:42:33,217 - INFO - -------------------------------------------------------------------------------- 2026-06-15 12:42:33,902 - INFO - Deleted project: ctest-TestRoutersBasic-69336500, ID : d5c1124e-506d-45a7-bc3f-5f45ff618600