2026-09-16 13:07:18,546 - INFO - Domain Default found not creating 2026-09-16 13:07:18,799 - INFO - Project ctest-TestRoutersBasic-30022496 not found, creating it 2026-09-16 13:07:19,429 - INFO - Created Project:ctest-TestRoutersBasic-30022496, ID : 39a3d8a5-73e0-4ce3-b612-dfbab8c1b094 2026-09-16 13:07:21,555 - INFO - ================================================================================ 2026-09-16 13:07:21,556 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-16 13:07:21,556 - 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-09-16 13:07:21,830 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-09-16 13:07:21,830 - INFO - Initial checks done. Running the testcase now 2026-09-16 13:07:21,830 - INFO - 2026-09-16 13:07:22,775 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-30022496 2026-09-16 13:07:22,877 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-30022496 2026-09-16 13:07:23,228 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30022496', 'default']} 2026-09-16 13:07:23,611 - DEBUG - Response for create_network : {'network': {'id': '2062cabf-a4a0-45d2-a2b1-fbd28c4cc201', 'name': 'ctest-vn-06348504', 'tenant_id': '39a3d8a573e04ce3b612dfbab8c1b094', 'project_id': '39a3d8a573e04ce3b612dfbab8c1b094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30022496', 'ctest-vn-06348504'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:07:23,836 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1f2e21a-b6ee-4373-89c0-85e6bc41a2a0', 'name': '', 'tenant_id': '39a3d8a573e04ce3b612dfbab8c1b094', 'network_id': '2062cabf-a4a0-45d2-a2b1-fbd28c4cc201', 'ip_version': 4, 'cidr': '148.101.142.0/26', 'allocation_pools': [{'start': '148.101.142.2', 'end': '148.101.142.62'}], 'gateway_ip': '148.101.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.101.142.2', 'tags': [], 'project_id': '39a3d8a573e04ce3b612dfbab8c1b094'}} 2026-09-16 13:07:23,857 - INFO - Created VN ctest-vn-06348504 2026-09-16 13:07:23,913 - DEBUG - VN ctest-vn-06348504 UUID is 2062cabf-a4a0-45d2-a2b1-fbd28c4cc201 2026-09-16 13:07:24,313 - DEBUG - Response for create_network : {'network': {'id': '77d9f15f-f1af-450d-9af4-364753724d3d', 'name': 'ctest-ext_vn-35863303', 'tenant_id': '39a3d8a573e04ce3b612dfbab8c1b094', 'project_id': '39a3d8a573e04ce3b612dfbab8c1b094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-30022496', 'ctest-ext_vn-35863303'], 'port_security_enabled': True, 'description': ''}} 2026-09-16 13:07:24,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '09b91c69-666d-4dae-8f10-7f56304dcd64', 'name': '', 'tenant_id': '39a3d8a573e04ce3b612dfbab8c1b094', 'network_id': '77d9f15f-f1af-450d-9af4-364753724d3d', 'ip_version': 4, 'cidr': '9.142.223.192/26', 'allocation_pools': [{'start': '9.142.223.194', 'end': '9.142.223.254'}], 'gateway_ip': '9.142.223.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.142.223.194', 'tags': [], 'project_id': '39a3d8a573e04ce3b612dfbab8c1b094'}} 2026-09-16 13:07:24,538 - INFO - Created VN ctest-ext_vn-35863303 2026-09-16 13:07:24,597 - DEBUG - VN ctest-ext_vn-35863303 UUID is 77d9f15f-f1af-450d-9af4-364753724d3d 2026-09-16 13:07:24,807 - DEBUG - Services list from nova: [, , ] 2026-09-16 13:07:25,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6290-1) 2026-09-16 13:07:26,170 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6290-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6290-1) 2026-09-16 13:07:26,263 - INFO - Setting gateway for router f0f60e53-32bc-4691-ad34-3e708f1db0d8 to network 77d9f15f-f1af-450d-9af4-364753724d3d 2026-09-16 13:07:26,343 - INFO - Adding interface with subnet_id c1f2e21a-b6ee-4373-89c0-85e6bc41a2a0, port_id None to router f0f60e53-32bc-4691-ad34-3e708f1db0d8 2026-09-16 13:07:26,742 - INFO - Waiting for VM ctest-TestRoutersBasic-30022496-97743701 to be up.. 2026-09-16 13:07:26,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:32,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:37,137 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:42,241 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:47,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:52,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:07:57,581 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:08:02,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:08:07,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-16 13:08:12,979 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:08:12,980 - INFO - VM name : ctest-TestRoutersBasic-30022496-97743701 2026-09-16 13:08:13,093 - DEBUG - VM ctest-TestRoutersBasic-30022496-97743701 ID is 5442fd22-6a1c-462d-9bae-47a70b3e5c20 2026-09-16 13:08:13,119 - DEBUG - VM ctest-TestRoutersBasic-30022496-97743701 launched on Node cn-jenkins-deploy-platform-ansible-os-6290-1 2026-09-16 13:08:13,225 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/5442fd22-6a1c-462d-9bae-47a70b3e5c20 2026-09-16 13:08:13,617 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/5442fd22-6a1c-462d-9bae-47a70b3e5c20 2026-09-16 13:08:13,657 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/5dbda34b-db05-409f-a46b-cc2915f7d691 2026-09-16 13:08:16,932 - 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=5.43 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 5.432/5.432/5.432/0.000 ms') 2026-09-16 13:08:16,932 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-30022496-97743701 passed 2026-09-16 13:08:17,093 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:17,093 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30022496-97743701, IP 148.101.142.3, Port 22 2026-09-16 13:08:17,159 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-16 13:08:17,265 - DEBUG - VM ctest-TestRoutersBasic-30022496-97743701 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-16 13:08:22,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:22,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30022496-97743701, IP 148.101.142.3, Port 22 2026-09-16 13:08:22,439 - DEBUG - VM ctest-TestRoutersBasic-30022496-97743701 is ready for SSH connections 2026-09-16 13:08:22,439 - INFO - Waiting for VM ctest-TestRoutersBasic-30022496-61775115 to be up.. 2026-09-16 13:08:22,553 - DEBUG - VM is in ACTIVE state now 2026-09-16 13:08:22,553 - INFO - VM name : ctest-TestRoutersBasic-30022496-61775115 2026-09-16 13:08:22,657 - DEBUG - VM ctest-TestRoutersBasic-30022496-61775115 ID is f752737d-84ba-4409-92a6-13d8c3159f8d 2026-09-16 13:08:22,657 - DEBUG - VM ctest-TestRoutersBasic-30022496-61775115 launched on Node cn-jenkins-deploy-platform-ansible-os-6290-1 2026-09-16 13:08:22,756 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/f752737d-84ba-4409-92a6-13d8c3159f8d 2026-09-16 13:08:22,770 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/e8995a85-ae86-49ac-9aca-4a09ed11e9b5 2026-09-16 13:08:24,028 - 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.89 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.565 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.565/2.729/4.893/2.164 ms') 2026-09-16 13:08:24,028 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-30022496-61775115 passed 2026-09-16 13:08:24,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:24,185 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-30022496-61775115, IP 9.142.223.196, Port 22 2026-09-16 13:08:24,354 - DEBUG - VM ctest-TestRoutersBasic-30022496-61775115 is ready for SSH connections 2026-09-16 13:08:24,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-16 13:08:24,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.142.223.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-16 13:08:24,355 - DEBUG - ping -s 56 -c 3 -W 1 9.142.223.196 2026-09-16 13:08:27,594 - DEBUG - PING 9.142.223.196 (9.142.223.196): 56 data bytes 64 bytes from 9.142.223.196: seq=0 ttl=62 time=8.077 ms 64 bytes from 9.142.223.196: seq=1 ttl=62 time=1.634 ms 64 bytes from 9.142.223.196: seq=2 ttl=62 time=2.234 ms --- 9.142.223.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.634/3.981/8.077 ms 2026-09-16 13:08:27,595 - INFO - Ping to IP 9.142.223.196 from VM ctest-TestRoutersBasic-30022496-97743701 passed 2026-09-16 13:08:27,595 - INFO - Deleting interface with subnet_id c1f2e21a-b6ee-4373-89c0-85e6bc41a2a0, port_id None from router f0f60e53-32bc-4691-ad34-3e708f1db0d8 2026-09-16 13:08:27,903 - INFO - Deleting VM ctest-TestRoutersBasic-30022496-61775115 2026-09-16 13:08:28,018 - INFO - Deleting VM ctest-TestRoutersBasic-30022496-97743701 2026-09-16 13:08:28,150 - INFO - Deleting VN ctest-ext_vn-35863303 2026-09-16 13:08:28,290 - DEBUG - VN 77d9f15f-f1af-450d-9af4-364753724d3d still in use: Unable to complete operation on network 77d9f15f-f1af-450d-9af4-364753724d3d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43b265c9-831f-4529-9331-a7a35d4d9ae2'] 2026-09-16 13:08:28,290 - WARNING - Deleting VN ctest-ext_vn-35863303 failed..Will retry 2026-09-16 13:08:30,539 - DEBUG - Response for deleting network () 2026-09-16 13:08:30,540 - INFO - Deleting VN ctest-vn-06348504 2026-09-16 13:08:30,705 - DEBUG - Response for deleting network () 2026-09-16 13:08:30,992 - DEBUG - No XMPP flaps were noticed during the test
2026-09-16 13:08:30,992 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:09]
2026-09-16 13:08:30,992 - INFO - -------------------------------------------------------------------------------- 2026-09-16 13:08:31,901 - INFO - Deleted project: ctest-TestRoutersBasic-30022496, ID : 39a3d8a5-73e0-4ce3-b612-dfbab8c1b094