2026-09-03 11:10:27,940 - INFO - Domain Default found not creating 2026-09-03 11:10:28,137 - INFO - Project ctest-TestRoutersBasic-13556571 not found, creating it 2026-09-03 11:10:28,699 - INFO - Created Project:ctest-TestRoutersBasic-13556571, ID : 56924b42-69c8-4673-b0c7-6643d1132e1b 2026-09-03 11:10:30,480 - INFO - ================================================================================ 2026-09-03 11:10:30,480 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-03 11:10:30,481 - 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-03 11:10:30,767 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with 2026-09-03 11:10:30,767 - INFO - Initial checks done. Running the testcase now 2026-09-03 11:10:30,767 - INFO - 2026-09-03 11:10:31,653 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-13556571 2026-09-03 11:10:31,755 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-13556571 2026-09-03 11:10:32,103 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13556571', 'default']} 2026-09-03 11:10:32,777 - DEBUG - Response for create_network : {'network': {'id': 'd70e2de3-acee-41ff-9ce5-5908e8da0bdf', 'name': 'ctest-vn-48686731', 'tenant_id': '56924b4269c84673b0c76643d1132e1b', 'project_id': '56924b4269c84673b0c76643d1132e1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13556571', 'ctest-vn-48686731'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:10:33,037 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0af1f52-f509-49a4-9cd5-b1f36e13081a', 'name': '', 'tenant_id': '56924b4269c84673b0c76643d1132e1b', 'network_id': 'd70e2de3-acee-41ff-9ce5-5908e8da0bdf', 'ip_version': 4, 'cidr': '3.227.215.192/26', 'allocation_pools': [{'start': '3.227.215.194', 'end': '3.227.215.254'}], 'gateway_ip': '3.227.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.227.215.194', 'tags': [], 'project_id': '56924b4269c84673b0c76643d1132e1b'}} 2026-09-03 11:10:33,062 - INFO - Created VN ctest-vn-48686731 2026-09-03 11:10:33,123 - DEBUG - VN ctest-vn-48686731 UUID is d70e2de3-acee-41ff-9ce5-5908e8da0bdf 2026-09-03 11:10:33,525 - DEBUG - Response for create_network : {'network': {'id': '5e21dea6-fa61-45d2-9a86-30fb00a928af', 'name': 'ctest-ext_vn-86954427', 'tenant_id': '56924b4269c84673b0c76643d1132e1b', 'project_id': '56924b4269c84673b0c76643d1132e1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-13556571', 'ctest-ext_vn-86954427'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:10:33,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d6b39cd-cc3c-46b5-b6a2-2be5a4e41f77', 'name': '', 'tenant_id': '56924b4269c84673b0c76643d1132e1b', 'network_id': '5e21dea6-fa61-45d2-9a86-30fb00a928af', 'ip_version': 4, 'cidr': '185.118.15.0/26', 'allocation_pools': [{'start': '185.118.15.2', 'end': '185.118.15.62'}], 'gateway_ip': '185.118.15.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.118.15.2', 'tags': [], 'project_id': '56924b4269c84673b0c76643d1132e1b'}} 2026-09-03 11:10:33,794 - INFO - Created VN ctest-ext_vn-86954427 2026-09-03 11:10:33,847 - DEBUG - VN ctest-ext_vn-86954427 UUID is 5e21dea6-fa61-45d2-9a86-30fb00a928af 2026-09-03 11:10:34,033 - DEBUG - Services list from nova: [, , ] 2026-09-03 11:10:34,623 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6250-1) 2026-09-03 11:10:35,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6250-1) 2026-09-03 11:10:35,201 - INFO - Setting gateway for router fb3aaa01-3fe7-4811-8162-95ca13c8397b to network 5e21dea6-fa61-45d2-9a86-30fb00a928af 2026-09-03 11:10:35,261 - INFO - Adding interface with subnet_id c0af1f52-f509-49a4-9cd5-b1f36e13081a, port_id None to router fb3aaa01-3fe7-4811-8162-95ca13c8397b 2026-09-03 11:10:35,594 - INFO - Waiting for VM ctest-TestRoutersBasic-13556571-29259153 to be up.. 2026-09-03 11:10:35,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:10:40,795 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:10:45,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:10:50,996 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:10:56,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:11:01,191 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:11:06,282 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:11:11,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:11:16,499 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:11:16,499 - INFO - VM name : ctest-TestRoutersBasic-13556571-29259153 2026-09-03 11:11:16,618 - DEBUG - VM ctest-TestRoutersBasic-13556571-29259153 ID is 384c644c-1293-4b2e-a1f0-08d5e01019ab 2026-09-03 11:11:16,661 - DEBUG - VM ctest-TestRoutersBasic-13556571-29259153 launched on Node cn-jenkins-deploy-platform-ansible-os-6250-1 2026-09-03 11:11:16,781 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/384c644c-1293-4b2e-a1f0-08d5e01019ab 2026-09-03 11:11:17,199 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/384c644c-1293-4b2e-a1f0-08d5e01019ab 2026-09-03 11:11:17,233 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/b9b27565-5fd2-438c-b6b0-5985899e8836 2026-09-03 11:11:20,510 - 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 1012ms') 2026-09-03 11:11:20,510 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-13556571-29259153 failed! 2026-09-03 11:11:20,571 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13556571:ctest-vn-48686731 is 3.227.215.193 and allocation pool is NOT set 2026-09-03 11:11:22,637 - 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=5.68 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.532 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.532/3.107/5.683/2.575 ms') 2026-09-03 11:11:22,638 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-13556571-29259153 passed 2026-09-03 11:11:22,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:11:22,795 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13556571-29259153, IP 3.227.215.195, Port 22 2026-09-03 11:11:22,965 - DEBUG - VM ctest-TestRoutersBasic-13556571-29259153 is ready for SSH connections 2026-09-03 11:11:22,966 - INFO - Waiting for VM ctest-TestRoutersBasic-13556571-41779360 to be up.. 2026-09-03 11:11:23,091 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:11:23,092 - INFO - VM name : ctest-TestRoutersBasic-13556571-41779360 2026-09-03 11:11:23,181 - DEBUG - VM ctest-TestRoutersBasic-13556571-41779360 ID is f2aaead4-91fb-4f6d-9490-e590288df14c 2026-09-03 11:11:23,181 - DEBUG - VM ctest-TestRoutersBasic-13556571-41779360 launched on Node cn-jenkins-deploy-platform-ansible-os-6250-1 2026-09-03 11:11:23,290 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/f2aaead4-91fb-4f6d-9490-e590288df14c 2026-09-03 11:11:23,302 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/8d3fa387-182c-4d8d-971e-cc5939b2f8d2 2026-09-03 11:11:26,578 - 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 1021ms') 2026-09-03 11:11:26,579 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-13556571-41779360 failed! 2026-09-03 11:11:26,635 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-13556571:ctest-ext_vn-86954427 is 185.118.15.1 and allocation pool is NOT set 2026-09-03 11:11:28,698 - 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=3.82 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.556 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.556/2.186/3.816/1.630 ms') 2026-09-03 11:11:28,698 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-13556571-41779360 passed 2026-09-03 11:11:28,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:11:28,855 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-13556571-41779360, IP 185.118.15.4, Port 22 2026-09-03 11:11:29,026 - DEBUG - VM ctest-TestRoutersBasic-13556571-41779360 is ready for SSH connections 2026-09-03 11:11:29,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:11:29,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.118.15.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-09-03 11:11:29,026 - DEBUG - ping -s 56 -c 3 -W 1 185.118.15.4 2026-09-03 11:11:32,612 - DEBUG - PING 185.118.15.4 (185.118.15.4): 56 data bytes 64 bytes from 185.118.15.4: seq=0 ttl=62 time=9.202 ms 64 bytes from 185.118.15.4: seq=1 ttl=62 time=3.451 ms 64 bytes from 185.118.15.4: seq=2 ttl=62 time=4.327 ms --- 185.118.15.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 3.451/5.660/9.202 ms 2026-09-03 11:11:32,613 - INFO - Ping to IP 185.118.15.4 from VM ctest-TestRoutersBasic-13556571-29259153 passed 2026-09-03 11:11:32,613 - INFO - Deleting interface with subnet_id c0af1f52-f509-49a4-9cd5-b1f36e13081a, port_id None from router fb3aaa01-3fe7-4811-8162-95ca13c8397b 2026-09-03 11:11:32,949 - INFO - Deleting VM ctest-TestRoutersBasic-13556571-41779360 2026-09-03 11:11:33,065 - INFO - Deleting VM ctest-TestRoutersBasic-13556571-29259153 2026-09-03 11:11:33,148 - INFO - Deleting VN ctest-ext_vn-86954427 2026-09-03 11:11:33,282 - DEBUG - VN 5e21dea6-fa61-45d2-9a86-30fb00a928af still in use: Unable to complete operation on network 5e21dea6-fa61-45d2-9a86-30fb00a928af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dedc237d-b163-46ee-91f6-871e4248a300'] 2026-09-03 11:11:33,282 - WARNING - Deleting VN ctest-ext_vn-86954427 failed..Will retry 2026-09-03 11:11:35,466 - DEBUG - Response for deleting network () 2026-09-03 11:11:35,467 - INFO - Deleting VN ctest-vn-48686731 2026-09-03 11:11:35,623 - DEBUG - Response for deleting network () 2026-09-03 11:11:35,902 - DEBUG - No XMPP flaps were noticed during the test
2026-09-03 11:11:35,902 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:05]
2026-09-03 11:11:35,902 - INFO - -------------------------------------------------------------------------------- 2026-09-03 11:11:36,747 - INFO - Deleted project: ctest-TestRoutersBasic-13556571, ID : 56924b42-69c8-4673-b0c7-6643d1132e1b