2026-11-27 21:39:58,070 - INFO - Domain Default found not creating 2026-11-27 21:39:58,297 - INFO - Project ctest-TestRoutersBasic-42353911 not found, creating it 2026-11-27 21:39:58,790 - INFO - Created Project:ctest-TestRoutersBasic-42353911, ID : b7f26297-20f2-4021-9274-726f307fa800 2026-11-27 21:40:00,501 - INFO - ================================================================================ 2026-11-27 21:40:00,501 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-27 21:40:00,501 - 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-11-27 21:40:00,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.25': '0'}} with 2026-11-27 21:40:00,758 - INFO - Initial checks done. Running the testcase now 2026-11-27 21:40:00,758 - INFO - 2026-11-27 21:40:01,632 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-42353911 2026-11-27 21:40:01,728 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-42353911 2026-11-27 21:40:02,067 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42353911', 'default']} 2026-11-27 21:40:02,391 - DEBUG - Response for create_network : {'network': {'id': 'bed238b4-6c5d-4a5e-b277-484702285f29', 'name': 'ctest-vn-29766408', 'tenant_id': 'b7f2629720f240219274726f307fa800', 'project_id': 'b7f2629720f240219274726f307fa800', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42353911', 'ctest-vn-29766408'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:40:02,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a06c688-2d6b-4075-a2db-d603d18a3225', 'name': '', 'tenant_id': 'b7f2629720f240219274726f307fa800', 'network_id': 'bed238b4-6c5d-4a5e-b277-484702285f29', 'ip_version': 4, 'cidr': '188.133.80.64/26', 'allocation_pools': [{'start': '188.133.80.66', 'end': '188.133.80.126'}], 'gateway_ip': '188.133.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.133.80.66', 'tags': [], 'project_id': 'b7f2629720f240219274726f307fa800'}} 2026-11-27 21:40:02,627 - INFO - Created VN ctest-vn-29766408 2026-11-27 21:40:02,684 - DEBUG - VN ctest-vn-29766408 UUID is bed238b4-6c5d-4a5e-b277-484702285f29 2026-11-27 21:40:03,047 - DEBUG - Response for create_network : {'network': {'id': '3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a', 'name': 'ctest-ext_vn-26696644', 'tenant_id': 'b7f2629720f240219274726f307fa800', 'project_id': 'b7f2629720f240219274726f307fa800', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-42353911', 'ctest-ext_vn-26696644'], 'port_security_enabled': True, 'description': ''}} 2026-11-27 21:40:03,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '057eaff4-2e14-4115-8628-85766689d77a', 'name': '', 'tenant_id': 'b7f2629720f240219274726f307fa800', 'network_id': '3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a', 'ip_version': 4, 'cidr': '46.230.5.128/26', 'allocation_pools': [{'start': '46.230.5.130', 'end': '46.230.5.190'}], 'gateway_ip': '46.230.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.230.5.130', 'tags': [], 'project_id': 'b7f2629720f240219274726f307fa800'}} 2026-11-27 21:40:03,311 - INFO - Created VN ctest-ext_vn-26696644 2026-11-27 21:40:03,364 - DEBUG - VN ctest-ext_vn-26696644 UUID is 3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a 2026-11-27 21:40:03,553 - DEBUG - Services list from nova: [, , ] 2026-11-27 21:40:03,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6516-1) 2026-11-27 21:40:04,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6516-1) 2026-11-27 21:40:04,407 - INFO - Setting gateway for router f6642122-d8c0-40d1-ba52-43900feac4ff to network 3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a 2026-11-27 21:40:04,472 - INFO - Adding interface with subnet_id 3a06c688-2d6b-4075-a2db-d603d18a3225, port_id None to router f6642122-d8c0-40d1-ba52-43900feac4ff 2026-11-27 21:40:04,774 - INFO - Waiting for VM ctest-TestRoutersBasic-42353911-16175859 to be up.. 2026-11-27 21:40:04,838 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:09,938 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:15,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:20,108 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:25,206 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:30,360 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:35,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:40,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-27 21:40:45,719 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:40:45,719 - INFO - VM name : ctest-TestRoutersBasic-42353911-16175859 2026-11-27 21:40:45,803 - DEBUG - VM ctest-TestRoutersBasic-42353911-16175859 ID is 7e6570c5-bf4b-48cc-8283-9fb0260d67ef 2026-11-27 21:40:45,826 - DEBUG - VM ctest-TestRoutersBasic-42353911-16175859 launched on Node cn-jenkins-deploy-platform-ansible-os-6516-1 2026-11-27 21:40:45,913 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/7e6570c5-bf4b-48cc-8283-9fb0260d67ef 2026-11-27 21:40:46,287 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/7e6570c5-bf4b-48cc-8283-9fb0260d67ef 2026-11-27 21:40:46,318 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/5751c283-7b9b-438a-a4e5-4ac85b84caa7 2026-11-27 21:40:49,585 - 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=2 ttl=63 time=9.21 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 9.209/9.209/9.209/0.000 ms') 2026-11-27 21:40:49,585 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-42353911-16175859 passed 2026-11-27 21:40:49,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:40:49,736 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42353911-16175859, IP 188.133.80.67, Port 22 2026-11-27 21:40:49,902 - DEBUG - VM ctest-TestRoutersBasic-42353911-16175859 is ready for SSH connections 2026-11-27 21:40:49,902 - INFO - Waiting for VM ctest-TestRoutersBasic-42353911-64209272 to be up.. 2026-11-27 21:40:49,993 - DEBUG - VM is in ACTIVE state now 2026-11-27 21:40:49,993 - INFO - VM name : ctest-TestRoutersBasic-42353911-64209272 2026-11-27 21:40:50,070 - DEBUG - VM ctest-TestRoutersBasic-42353911-64209272 ID is f1f114d9-96c7-4469-b125-39d92c344fc1 2026-11-27 21:40:50,070 - DEBUG - VM ctest-TestRoutersBasic-42353911-64209272 launched on Node cn-jenkins-deploy-platform-ansible-os-6516-1 2026-11-27 21:40:50,143 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/f1f114d9-96c7-4469-b125-39d92c344fc1 2026-11-27 21:40:50,152 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/a6a3ddb7-7159-400b-ac38-56733dbee1bd 2026-11-27 21:40:53,401 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2026-11-27 21:40:53,401 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-42353911-64209272 failed! 2026-11-27 21:40:53,456 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-42353911:ctest-ext_vn-26696644 is 46.230.5.129 and allocation pool is NOT set 2026-11-27 21:40:55,517 - 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=4.02 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.554 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.554/2.287/4.021/1.733 ms') 2026-11-27 21:40:55,517 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-42353911-64209272 passed 2026-11-27 21:40:55,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:40:55,680 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-42353911-64209272, IP 46.230.5.132, Port 22 2026-11-27 21:40:55,846 - DEBUG - VM ctest-TestRoutersBasic-42353911-64209272 is ready for SSH connections 2026-11-27 21:40:55,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-27 21:40:55,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.230.5.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-11-27 21:40:55,846 - DEBUG - ping -s 56 -c 3 -W 1 46.230.5.132 2026-11-27 21:40:58,847 - DEBUG - PING 46.230.5.132 (46.230.5.132): 56 data bytes 64 bytes from 46.230.5.132: seq=0 ttl=62 time=6.345 ms 64 bytes from 46.230.5.132: seq=1 ttl=62 time=1.140 ms 64 bytes from 46.230.5.132: seq=2 ttl=62 time=1.128 ms --- 46.230.5.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.128/2.871/6.345 ms 2026-11-27 21:40:58,847 - INFO - Ping to IP 46.230.5.132 from VM ctest-TestRoutersBasic-42353911-16175859 passed 2026-11-27 21:40:58,847 - INFO - Deleting interface with subnet_id 3a06c688-2d6b-4075-a2db-d603d18a3225, port_id None from router f6642122-d8c0-40d1-ba52-43900feac4ff 2026-11-27 21:40:59,066 - INFO - Deleting VM ctest-TestRoutersBasic-42353911-64209272 2026-11-27 21:40:59,143 - INFO - Deleting VM ctest-TestRoutersBasic-42353911-16175859 2026-11-27 21:40:59,214 - INFO - Deleting VN ctest-ext_vn-26696644 2026-11-27 21:40:59,287 - DEBUG - VN 3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a still in use: Unable to complete operation on network 3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcac5325-98a3-4051-ade4-32e5bc02fe8c'] 2026-11-27 21:40:59,287 - WARNING - Deleting VN ctest-ext_vn-26696644 failed..Will retry 2026-11-27 21:41:01,321 - DEBUG - VN 3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a still in use: Unable to complete operation on network 3e1980ae-3dfb-4e9a-9fc7-e689d1640c7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5765502a-7158-48ee-a9d7-6ecd53db4615'] 2026-11-27 21:41:01,321 - WARNING - Deleting VN ctest-ext_vn-26696644 failed..Will retry 2026-11-27 21:41:03,431 - DEBUG - Response for deleting network () 2026-11-27 21:41:03,431 - INFO - Deleting VN ctest-vn-29766408 2026-11-27 21:41:03,532 - DEBUG - Response for deleting network () 2026-11-27 21:41:03,800 - DEBUG - No XMPP flaps were noticed during the test
2026-11-27 21:41:03,801 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03]
2026-11-27 21:41:03,801 - INFO - -------------------------------------------------------------------------------- 2026-11-27 21:41:04,625 - INFO - Deleted project: ctest-TestRoutersBasic-42353911, ID : b7f26297-20f2-4021-9274-726f307fa800