2026-02-19 11:16:46,864 - INFO - Domain Default found not creating 2026-02-19 11:16:47,040 - INFO - Project ctest-TestRoutersBasic-31310859 not found, creating it 2026-02-19 11:16:47,579 - INFO - Created Project:ctest-TestRoutersBasic-31310859, ID : a5a63b66-0542-4b7b-a941-2885c2ed19c9 2026-02-19 11:16:49,012 - INFO - ================================================================================ 2026-02-19 11:16:49,012 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-19 11:16:49,012 - 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-02-19 11:16:49,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-02-19 11:16:49,265 - INFO - Initial checks done. Running the testcase now 2026-02-19 11:16:49,265 - INFO - 2026-02-19 11:16:49,967 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31310859 2026-02-19 11:16:50,059 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31310859 2026-02-19 11:16:50,379 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31310859', 'default']} 2026-02-19 11:16:50,652 - DEBUG - Response for create_network : {'network': {'id': '057de858-d820-4507-a8ef-422d29a56ecf', 'name': 'ctest-vn-43801078', 'tenant_id': 'a5a63b6605424b7ba9412885c2ed19c9', 'project_id': 'a5a63b6605424b7ba9412885c2ed19c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31310859', 'ctest-vn-43801078'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 11:16:50,852 - DEBUG - Response for create_subnet : {'subnet': {'id': '92cce1bd-4ba6-4461-861d-ad1da3cc151d', 'name': '', 'tenant_id': 'a5a63b6605424b7ba9412885c2ed19c9', 'network_id': '057de858-d820-4507-a8ef-422d29a56ecf', 'ip_version': 4, 'cidr': '65.46.133.128/26', 'allocation_pools': [{'start': '65.46.133.130', 'end': '65.46.133.190'}], 'gateway_ip': '65.46.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.46.133.130', 'tags': [], 'project_id': 'a5a63b6605424b7ba9412885c2ed19c9'}} 2026-02-19 11:16:50,867 - INFO - Created VN ctest-vn-43801078 2026-02-19 11:16:50,919 - DEBUG - VN ctest-vn-43801078 UUID is 057de858-d820-4507-a8ef-422d29a56ecf 2026-02-19 11:16:51,251 - DEBUG - Response for create_network : {'network': {'id': '50db41d7-1bd3-46f3-9a30-020aedc6cfda', 'name': 'ctest-ext_vn-18852570', 'tenant_id': 'a5a63b6605424b7ba9412885c2ed19c9', 'project_id': 'a5a63b6605424b7ba9412885c2ed19c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31310859', 'ctest-ext_vn-18852570'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 11:16:51,409 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eab0c1eb-82d6-4cc6-95d2-d29d2b62a085', 'name': '', 'tenant_id': 'a5a63b6605424b7ba9412885c2ed19c9', 'network_id': '50db41d7-1bd3-46f3-9a30-020aedc6cfda', 'ip_version': 4, 'cidr': '186.7.147.0/26', 'allocation_pools': [{'start': '186.7.147.2', 'end': '186.7.147.62'}], 'gateway_ip': '186.7.147.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.7.147.2', 'tags': [], 'project_id': 'a5a63b6605424b7ba9412885c2ed19c9'}} 2026-02-19 11:16:51,426 - INFO - Created VN ctest-ext_vn-18852570 2026-02-19 11:16:51,475 - DEBUG - VN ctest-ext_vn-18852570 UUID is 50db41d7-1bd3-46f3-9a30-020aedc6cfda 2026-02-19 11:16:51,665 - DEBUG - Services list from nova: [, , ] 2026-02-19 11:16:52,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5354-1) 2026-02-19 11:16:53,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5354-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5354-1) 2026-02-19 11:16:53,958 - INFO - Setting gateway for router 9fa54138-51dc-4758-8ba8-7a4c584c585e to network 50db41d7-1bd3-46f3-9a30-020aedc6cfda 2026-02-19 11:16:54,035 - INFO - Adding interface with subnet_id 92cce1bd-4ba6-4461-861d-ad1da3cc151d, port_id None to router 9fa54138-51dc-4758-8ba8-7a4c584c585e 2026-02-19 11:16:54,371 - INFO - Waiting for VM ctest-TestRoutersBasic-31310859-29064458 to be up.. 2026-02-19 11:16:54,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 11:16:59,578 - DEBUG - VM is in ACTIVE state now 2026-02-19 11:16:59,578 - INFO - VM name : ctest-TestRoutersBasic-31310859-29064458 2026-02-19 11:16:59,642 - DEBUG - VM ctest-TestRoutersBasic-31310859-29064458 ID is 6a800ec2-1967-4ba2-8174-1841c5538f87 2026-02-19 11:16:59,658 - DEBUG - VM ctest-TestRoutersBasic-31310859-29064458 launched on Node cn-jenkins-deploy-platform-ansible-os-5354-1 2026-02-19 11:16:59,722 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6a800ec2-1967-4ba2-8174-1841c5538f87 2026-02-19 11:17:00,012 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6a800ec2-1967-4ba2-8174-1841c5538f87 2026-02-19 11:17:00,042 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/34d1507f-94bc-4f31-b46a-31e2a7bcf03a 2026-02-19 11:17:03,280 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2026-02-19 11:17:03,280 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31310859-29064458 failed! 2026-02-19 11:17:03,335 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31310859:ctest-vn-43801078 is 65.46.133.129 and allocation pool is NOT set 2026-02-19 11:17:05,400 - 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=1 ttl=63 time=2.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.434/1.618/2.802/1.184 ms') 2026-02-19 11:17:05,400 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31310859-29064458 passed 2026-02-19 11:17:05,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 11:17:05,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31310859-29064458, IP 65.46.133.131, Port 22 2026-02-19 11:17:05,699 - DEBUG - VM ctest-TestRoutersBasic-31310859-29064458 is ready for SSH connections 2026-02-19 11:17:05,699 - INFO - Waiting for VM ctest-TestRoutersBasic-31310859-73277719 to be up.. 2026-02-19 11:17:05,767 - DEBUG - VM is in ACTIVE state now 2026-02-19 11:17:05,767 - INFO - VM name : ctest-TestRoutersBasic-31310859-73277719 2026-02-19 11:17:05,835 - DEBUG - VM ctest-TestRoutersBasic-31310859-73277719 ID is db7aa489-3cf4-42cc-9cf3-2fb88e0eee71 2026-02-19 11:17:05,835 - DEBUG - VM ctest-TestRoutersBasic-31310859-73277719 launched on Node cn-jenkins-deploy-platform-ansible-os-5354-1 2026-02-19 11:17:05,898 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/db7aa489-3cf4-42cc-9cf3-2fb88e0eee71 2026-02-19 11:17:05,905 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/af33d886-70a7-4754-8ce4-4d757808b377 2026-02-19 11:17:07,133 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.480/1.638/2.797/1.158 ms') 2026-02-19 11:17:07,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31310859-73277719 passed 2026-02-19 11:17:07,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 11:17:07,287 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31310859-73277719, IP 186.7.147.3, Port 22 2026-02-19 11:17:07,439 - DEBUG - VM ctest-TestRoutersBasic-31310859-73277719 is ready for SSH connections 2026-02-19 11:17:07,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 11:17:07,439 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.7.147.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-19 11:17:07,439 - DEBUG - ping -s 56 -c 3 -W 1 186.7.147.3 2026-02-19 11:17:11,118 - DEBUG - PING 186.7.147.3 (186.7.147.3): 56 data bytes 64 bytes from 186.7.147.3: seq=0 ttl=62 time=5.329 ms 64 bytes from 186.7.147.3: seq=1 ttl=62 time=0.858 ms 64 bytes from 186.7.147.3: seq=2 ttl=62 time=0.880 ms --- 186.7.147.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.858/2.355/5.329 ms 2026-02-19 11:17:11,118 - INFO - Ping to IP 186.7.147.3 from VM ctest-TestRoutersBasic-31310859-29064458 passed 2026-02-19 11:17:11,118 - INFO - Deleting interface with subnet_id 92cce1bd-4ba6-4461-861d-ad1da3cc151d, port_id None from router 9fa54138-51dc-4758-8ba8-7a4c584c585e 2026-02-19 11:17:11,284 - INFO - Deleting VM ctest-TestRoutersBasic-31310859-73277719 2026-02-19 11:17:11,360 - INFO - Deleting VM ctest-TestRoutersBasic-31310859-29064458 2026-02-19 11:17:11,428 - INFO - Deleting VN ctest-ext_vn-18852570 2026-02-19 11:17:11,484 - DEBUG - VN 50db41d7-1bd3-46f3-9a30-020aedc6cfda still in use: Unable to complete operation on network 50db41d7-1bd3-46f3-9a30-020aedc6cfda. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea0828dd-f6c4-4b6e-a53a-3c6f1524093e'] 2026-02-19 11:17:11,484 - WARNING - Deleting VN ctest-ext_vn-18852570 failed..Will retry 2026-02-19 11:17:13,590 - DEBUG - Response for deleting network () 2026-02-19 11:17:13,590 - INFO - Deleting VN ctest-vn-43801078 2026-02-19 11:17:13,673 - DEBUG - Response for deleting network () 2026-02-19 11:17:13,936 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 11:17:13,936 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2026-02-19 11:17:13,936 - INFO - -------------------------------------------------------------------------------- 2026-02-19 11:17:14,604 - INFO - Deleted project: ctest-TestRoutersBasic-31310859, ID : a5a63b66-0542-4b7b-a941-2885c2ed19c9