2026-10-29 18:50:00,312 - INFO - Domain Default found not creating 2026-10-29 18:50:00,548 - INFO - Project ctest-TestRoutersBasic-22207980 not found, creating it 2026-10-29 18:50:01,164 - INFO - Created Project:ctest-TestRoutersBasic-22207980, ID : d7ec96e9-06c2-4d00-895b-f008d6d9895f 2026-10-29 18:50:03,502 - INFO - ================================================================================ 2026-10-29 18:50:03,502 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-29 18:50:03,502 - 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-10-29 18:50:03,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.254': '0'}} with 2026-10-29 18:50:03,787 - INFO - Initial checks done. Running the testcase now 2026-10-29 18:50:03,787 - INFO - 2026-10-29 18:50:04,782 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22207980 2026-10-29 18:50:04,888 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22207980 2026-10-29 18:50:05,228 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22207980', 'default']} 2026-10-29 18:50:05,586 - DEBUG - Response for create_network : {'network': {'id': '8bb940f2-a887-40e5-a5e5-3809f29921c8', 'name': 'ctest-vn-62272308', 'tenant_id': 'd7ec96e906c24d00895bf008d6d9895f', 'project_id': 'd7ec96e906c24d00895bf008d6d9895f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22207980', 'ctest-vn-62272308'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 18:50:05,852 - DEBUG - Response for create_subnet : {'subnet': {'id': '95b888f9-d7a3-4ac3-aa16-ce3d3902fa64', 'name': '', 'tenant_id': 'd7ec96e906c24d00895bf008d6d9895f', 'network_id': '8bb940f2-a887-40e5-a5e5-3809f29921c8', 'ip_version': 4, 'cidr': '141.203.148.192/26', 'allocation_pools': [{'start': '141.203.148.194', 'end': '141.203.148.254'}], 'gateway_ip': '141.203.148.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.203.148.194', 'tags': [], 'project_id': 'd7ec96e906c24d00895bf008d6d9895f'}} 2026-10-29 18:50:05,877 - INFO - Created VN ctest-vn-62272308 2026-10-29 18:50:05,944 - DEBUG - VN ctest-vn-62272308 UUID is 8bb940f2-a887-40e5-a5e5-3809f29921c8 2026-10-29 18:50:06,351 - DEBUG - Response for create_network : {'network': {'id': 'f12e7323-bac7-433e-a0e4-9458414140a1', 'name': 'ctest-ext_vn-97626175', 'tenant_id': 'd7ec96e906c24d00895bf008d6d9895f', 'project_id': 'd7ec96e906c24d00895bf008d6d9895f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22207980', 'ctest-ext_vn-97626175'], 'port_security_enabled': True, 'description': ''}} 2026-10-29 18:50:06,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '842695f0-b1d3-48fa-9d5a-df41539615d2', 'name': '', 'tenant_id': 'd7ec96e906c24d00895bf008d6d9895f', 'network_id': 'f12e7323-bac7-433e-a0e4-9458414140a1', 'ip_version': 4, 'cidr': '16.61.5.128/26', 'allocation_pools': [{'start': '16.61.5.130', 'end': '16.61.5.190'}], 'gateway_ip': '16.61.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.61.5.130', 'tags': [], 'project_id': 'd7ec96e906c24d00895bf008d6d9895f'}} 2026-10-29 18:50:06,592 - INFO - Created VN ctest-ext_vn-97626175 2026-10-29 18:50:06,652 - DEBUG - VN ctest-ext_vn-97626175 UUID is f12e7323-bac7-433e-a0e4-9458414140a1 2026-10-29 18:50:06,854 - DEBUG - Services list from nova: [, , ] 2026-10-29 18:50:07,598 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6439-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6439-1) 2026-10-29 18:50:08,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6439-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6439-1) 2026-10-29 18:50:08,252 - INFO - Setting gateway for router 4bc8392d-ab1b-4039-ac01-2e7bc87df988 to network f12e7323-bac7-433e-a0e4-9458414140a1 2026-10-29 18:50:08,337 - INFO - Adding interface with subnet_id 95b888f9-d7a3-4ac3-aa16-ce3d3902fa64, port_id None to router 4bc8392d-ab1b-4039-ac01-2e7bc87df988 2026-10-29 18:50:08,747 - INFO - Waiting for VM ctest-TestRoutersBasic-22207980-61795457 to be up.. 2026-10-29 18:50:08,853 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:13,930 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:19,036 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:24,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:29,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:34,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:39,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:44,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:49,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-29 18:50:54,739 - DEBUG - VM is in ACTIVE state now 2026-10-29 18:50:54,739 - INFO - VM name : ctest-TestRoutersBasic-22207980-61795457 2026-10-29 18:50:54,853 - DEBUG - VM ctest-TestRoutersBasic-22207980-61795457 ID is 96cdfaf0-4ed8-4983-b972-cff4e5440a7b 2026-10-29 18:50:54,883 - DEBUG - VM ctest-TestRoutersBasic-22207980-61795457 launched on Node cn-jenkins-deploy-platform-ansible-os-6439-1 2026-10-29 18:50:54,997 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/96cdfaf0-4ed8-4983-b972-cff4e5440a7b 2026-10-29 18:50:55,402 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/96cdfaf0-4ed8-4983-b972-cff4e5440a7b 2026-10-29 18:50:55,445 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/6f783c94-c583-40b4-a098-b40a1cc2a476 2026-10-29 18:50:58,730 - 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 1016ms') 2026-10-29 18:50:58,730 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-22207980-61795457 failed! 2026-10-29 18:50:58,788 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22207980:ctest-vn-62272308 is 141.203.148.193 and allocation pool is NOT set 2026-10-29 18:51:00,858 - 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.07 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.13 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.127/3.598/6.069/2.471 ms') 2026-10-29 18:51:00,858 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-22207980-61795457 passed 2026-10-29 18:51:01,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:01,012 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22207980-61795457, IP 141.203.148.195, Port 22 2026-10-29 18:51:01,079 - 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-10-29 18:51:01,268 - DEBUG - VM ctest-TestRoutersBasic-22207980-61795457 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-29 18:51:06,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:06,269 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22207980-61795457, IP 141.203.148.195, Port 22 2026-10-29 18:51:06,446 - DEBUG - VM ctest-TestRoutersBasic-22207980-61795457 is ready for SSH connections 2026-10-29 18:51:06,446 - INFO - Waiting for VM ctest-TestRoutersBasic-22207980-82734146 to be up.. 2026-10-29 18:51:06,557 - DEBUG - VM is in ACTIVE state now 2026-10-29 18:51:06,558 - INFO - VM name : ctest-TestRoutersBasic-22207980-82734146 2026-10-29 18:51:06,669 - DEBUG - VM ctest-TestRoutersBasic-22207980-82734146 ID is f002b87b-1496-4ece-9b12-42b242f45c46 2026-10-29 18:51:06,669 - DEBUG - VM ctest-TestRoutersBasic-22207980-82734146 launched on Node cn-jenkins-deploy-platform-ansible-os-6439-1 2026-10-29 18:51:06,778 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/f002b87b-1496-4ece-9b12-42b242f45c46 2026-10-29 18:51:06,788 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/b0d2911b-cc7d-49fe-a26d-3597d7aa4041 2026-10-29 18:51:08,052 - 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.82 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.521 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 = 0.521/2.669/4.817/2.148 ms') 2026-10-29 18:51:08,052 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-22207980-82734146 passed 2026-10-29 18:51:08,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:08,208 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22207980-82734146, IP 16.61.5.132, Port 22 2026-10-29 18:51:08,378 - DEBUG - VM ctest-TestRoutersBasic-22207980-82734146 is ready for SSH connections 2026-10-29 18:51:08,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-29 18:51:08,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.61.5.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-10-29 18:51:08,378 - DEBUG - ping -s 56 -c 3 -W 1 16.61.5.132 2026-10-29 18:51:11,541 - DEBUG - PING 16.61.5.132 (16.61.5.132): 56 data bytes 64 bytes from 16.61.5.132: seq=0 ttl=62 time=5.896 ms 64 bytes from 16.61.5.132: seq=1 ttl=62 time=1.596 ms 64 bytes from 16.61.5.132: seq=2 ttl=62 time=1.534 ms --- 16.61.5.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.534/3.008/5.896 ms 2026-10-29 18:51:11,541 - INFO - Ping to IP 16.61.5.132 from VM ctest-TestRoutersBasic-22207980-61795457 passed 2026-10-29 18:51:11,541 - INFO - Deleting interface with subnet_id 95b888f9-d7a3-4ac3-aa16-ce3d3902fa64, port_id None from router 4bc8392d-ab1b-4039-ac01-2e7bc87df988 2026-10-29 18:51:11,810 - INFO - Deleting VM ctest-TestRoutersBasic-22207980-82734146 2026-10-29 18:51:11,913 - INFO - Deleting VM ctest-TestRoutersBasic-22207980-61795457 2026-10-29 18:51:12,006 - INFO - Deleting VN ctest-ext_vn-97626175 2026-10-29 18:51:12,112 - DEBUG - VN f12e7323-bac7-433e-a0e4-9458414140a1 still in use: Unable to complete operation on network f12e7323-bac7-433e-a0e4-9458414140a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-15b313f1-892b-44c3-955e-cc2279558035'] 2026-10-29 18:51:12,112 - WARNING - Deleting VN ctest-ext_vn-97626175 failed..Will retry 2026-10-29 18:51:14,154 - DEBUG - VN f12e7323-bac7-433e-a0e4-9458414140a1 still in use: Unable to complete operation on network f12e7323-bac7-433e-a0e4-9458414140a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e4825719-85a8-401e-8702-26a8e847fe17'] 2026-10-29 18:51:14,154 - WARNING - Deleting VN ctest-ext_vn-97626175 failed..Will retry 2026-10-29 18:51:16,279 - DEBUG - Response for deleting network () 2026-10-29 18:51:16,280 - INFO - Deleting VN ctest-vn-62272308 2026-10-29 18:51:16,413 - DEBUG - Response for deleting network () 2026-10-29 18:51:16,696 - DEBUG - No XMPP flaps were noticed during the test
2026-10-29 18:51:16,696 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:13]
2026-10-29 18:51:16,696 - INFO - -------------------------------------------------------------------------------- 2026-10-29 18:51:17,549 - INFO - Deleted project: ctest-TestRoutersBasic-22207980, ID : d7ec96e9-06c2-4d00-895b-f008d6d9895f