2025-11-13 16:28:52,061 - INFO - Domain Default found not creating
2025-11-13 16:28:52,212 - INFO - Project ctest-TestRoutersBasic-49639484 not found, creating it
2025-11-13 16:28:52,678 - INFO - Created Project:ctest-TestRoutersBasic-49639484, ID : 4c1109d0-cac2-4237-ae17-b424a0f2bef1
2025-11-13 16:28:54,216 - INFO - ================================================================================
2025-11-13 16:28:54,217 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-11-13 16:28:54,217 - 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-11-13 16:28:54,490 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2025-11-13 16:28:54,490 - INFO - Initial checks done. Running the testcase now
2025-11-13 16:28:54,490 - INFO -
2025-11-13 16:28:55,279 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49639484
2025-11-13 16:28:55,383 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49639484
2025-11-13 16:28:55,728 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49639484', 'default']}
2025-11-13 16:28:56,021 - DEBUG - Response for create_network : {'network': {'id': 'd732b047-9b4f-4ad5-b434-38955a1d1a2a', 'name': 'ctest-vn-38662700', 'tenant_id': '4c1109d0cac24237ae17b424a0f2bef1', 'project_id': '4c1109d0cac24237ae17b424a0f2bef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49639484', 'ctest-vn-38662700'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 16:28:56,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a162c00f-416a-4774-8d31-751e725335e0', 'name': '', 'tenant_id': '4c1109d0cac24237ae17b424a0f2bef1', 'network_id': 'd732b047-9b4f-4ad5-b434-38955a1d1a2a', 'ip_version': 4, 'cidr': '182.215.52.0/26', 'allocation_pools': [{'start': '182.215.52.2', 'end': '182.215.52.62'}], 'gateway_ip': '182.215.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.215.52.2', 'tags': [], 'project_id': '4c1109d0cac24237ae17b424a0f2bef1'}}
2025-11-13 16:28:56,226 - INFO - Created VN ctest-vn-38662700
2025-11-13 16:28:56,279 - DEBUG - VN ctest-vn-38662700 UUID is d732b047-9b4f-4ad5-b434-38955a1d1a2a
2025-11-13 16:28:56,613 - DEBUG - Response for create_network : {'network': {'id': 'df7fc05a-339b-4059-8fc7-4f299b6202fc', 'name': 'ctest-ext_vn-60607966', 'tenant_id': '4c1109d0cac24237ae17b424a0f2bef1', 'project_id': '4c1109d0cac24237ae17b424a0f2bef1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49639484', 'ctest-ext_vn-60607966'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 16:28:56,771 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec5081ca-c393-4af1-9334-1f7fbca9c1e1', 'name': '', 'tenant_id': '4c1109d0cac24237ae17b424a0f2bef1', 'network_id': 'df7fc05a-339b-4059-8fc7-4f299b6202fc', 'ip_version': 4, 'cidr': '171.211.177.128/26', 'allocation_pools': [{'start': '171.211.177.130', 'end': '171.211.177.190'}], 'gateway_ip': '171.211.177.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.211.177.130', 'tags': [], 'project_id': '4c1109d0cac24237ae17b424a0f2bef1'}}
2025-11-13 16:28:56,787 - INFO - Created VN ctest-ext_vn-60607966
2025-11-13 16:28:56,839 - DEBUG - VN ctest-ext_vn-60607966 UUID is df7fc05a-339b-4059-8fc7-4f299b6202fc
2025-11-13 16:28:57,022 - DEBUG - Services list from nova: [, , ]
2025-11-13 16:28:58,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4724-1)
2025-11-13 16:28:59,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4724-1)
2025-11-13 16:28:59,453 - INFO - Setting gateway for router 2eab5b16-df38-43e6-8687-233eab5e246a to network df7fc05a-339b-4059-8fc7-4f299b6202fc
2025-11-13 16:28:59,532 - INFO - Adding interface with subnet_id a162c00f-416a-4774-8d31-751e725335e0, port_id None to router 2eab5b16-df38-43e6-8687-233eab5e246a
2025-11-13 16:28:59,876 - INFO - Waiting for VM ctest-TestRoutersBasic-49639484-87672643 to be up..
2025-11-13 16:29:00,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-13 16:29:05,120 - DEBUG - VM is in ACTIVE state now
2025-11-13 16:29:05,120 - INFO - VM name : ctest-TestRoutersBasic-49639484-87672643
2025-11-13 16:29:05,196 - DEBUG - VM ctest-TestRoutersBasic-49639484-87672643 ID is dc53d24d-9efc-4fa2-8d4c-a4f44258fa0f
2025-11-13 16:29:05,219 - DEBUG - VM ctest-TestRoutersBasic-49639484-87672643 launched on Node cn-jenkins-deploy-platform-ansible-os-4724-1
2025-11-13 16:29:05,295 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dc53d24d-9efc-4fa2-8d4c-a4f44258fa0f
2025-11-13 16:29:05,629 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/dc53d24d-9efc-4fa2-8d4c-a4f44258fa0f
2025-11-13 16:29:05,664 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7834bfaa-5ebc-4ace-83a4-78515578e295
2025-11-13 16:29:08,912 - 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=2 ttl=63 time=9.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 9.070/9.070/9.070/0.000 ms')
2025-11-13 16:29:08,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49639484-87672643 passed
2025-11-13 16:29:09,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 16:29:09,071 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49639484-87672643, IP 182.215.52.3, Port 22
2025-11-13 16:29:09,232 - DEBUG - VM ctest-TestRoutersBasic-49639484-87672643 is ready for SSH connections
2025-11-13 16:29:09,232 - INFO - Waiting for VM ctest-TestRoutersBasic-49639484-35352249 to be up..
2025-11-13 16:29:09,318 - DEBUG - VM is in ACTIVE state now
2025-11-13 16:29:09,318 - INFO - VM name : ctest-TestRoutersBasic-49639484-35352249
2025-11-13 16:29:09,414 - DEBUG - VM ctest-TestRoutersBasic-49639484-35352249 ID is 1c85a1c4-8620-4848-ae85-09da62dcc594
2025-11-13 16:29:09,414 - DEBUG - VM ctest-TestRoutersBasic-49639484-35352249 launched on Node cn-jenkins-deploy-platform-ansible-os-4724-1
2025-11-13 16:29:09,497 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1c85a1c4-8620-4848-ae85-09da62dcc594
2025-11-13 16:29:09,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9f07da39-6d2d-4a09-9dab-a329273302aa
2025-11-13 16:29:10,758 - 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=5.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.289 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.289/2.741/5.193/2.452 ms')
2025-11-13 16:29:10,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-49639484-35352249 passed
2025-11-13 16:29:10,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 16:29:10,912 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49639484-35352249, IP 171.211.177.131, Port 22
2025-11-13 16:29:11,070 - DEBUG - VM ctest-TestRoutersBasic-49639484-35352249 is ready for SSH connections
2025-11-13 16:29:11,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 16:29:11,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.211.177.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-13 16:29:11,071 - DEBUG - ping -s 56 -c 3 -W 1 171.211.177.131
2025-11-13 16:29:14,712 - DEBUG - PING 171.211.177.131 (171.211.177.131): 56 data bytes
64 bytes from 171.211.177.131: seq=0 ttl=62 time=7.314 ms
64 bytes from 171.211.177.131: seq=1 ttl=62 time=1.176 ms
64 bytes from 171.211.177.131: seq=2 ttl=62 time=1.242 ms
--- 171.211.177.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.176/3.244/7.314 ms
2025-11-13 16:29:14,712 - INFO - Ping to IP 171.211.177.131 from VM ctest-TestRoutersBasic-49639484-87672643 passed
2025-11-13 16:29:14,713 - INFO - Deleting interface with subnet_id a162c00f-416a-4774-8d31-751e725335e0, port_id None from router 2eab5b16-df38-43e6-8687-233eab5e246a
2025-11-13 16:29:14,942 - INFO - Deleting VM ctest-TestRoutersBasic-49639484-35352249
2025-11-13 16:29:15,029 - INFO - Deleting VM ctest-TestRoutersBasic-49639484-87672643
2025-11-13 16:29:15,118 - INFO - Deleting VN ctest-ext_vn-60607966
2025-11-13 16:29:15,206 - DEBUG - VN df7fc05a-339b-4059-8fc7-4f299b6202fc still in use: Unable to complete operation on network df7fc05a-339b-4059-8fc7-4f299b6202fc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3ff9e5e1-e313-496a-8237-d9d76fabfe06']
2025-11-13 16:29:15,206 - WARNING - Deleting VN ctest-ext_vn-60607966 failed..Will retry
2025-11-13 16:29:17,331 - DEBUG - Response for deleting network ()
2025-11-13 16:29:17,332 - INFO - Deleting VN ctest-vn-38662700
2025-11-13 16:29:17,446 - DEBUG - Response for deleting network ()
2025-11-13 16:29:17,718 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 16:29:17,718 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-11-13 16:29:17,718 - INFO - --------------------------------------------------------------------------------
2025-11-13 16:29:18,454 - INFO - Deleted project: ctest-TestRoutersBasic-49639484, ID : 4c1109d0-cac2-4237-ae17-b424a0f2bef1