2026-03-20 10:27:14,619 - INFO - Domain Default found not creating 2026-03-20 10:27:14,787 - INFO - Project ctest-TestRoutersBasic-88546091 not found, creating it 2026-03-20 10:27:15,253 - INFO - Created Project:ctest-TestRoutersBasic-88546091, ID : 342c497c-f3ca-4c1a-9f98-68c90d3499aa 2026-03-20 10:27:16,707 - INFO - ================================================================================ 2026-03-20 10:27:16,707 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-20 10:27:16,707 - 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-03-20 10:27:16,960 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-20 10:27:16,960 - INFO - Initial checks done. Running the testcase now 2026-03-20 10:27:16,960 - INFO - 2026-03-20 10:27:17,660 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88546091 2026-03-20 10:27:17,755 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88546091 2026-03-20 10:27:18,075 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88546091', 'default']} 2026-03-20 10:27:18,359 - DEBUG - Response for create_network : {'network': {'id': '7dea5b56-d7b5-4476-9f57-47fab667fd4a', 'name': 'ctest-vn-55123352', 'tenant_id': '342c497cf3ca4c1a9f9868c90d3499aa', 'project_id': '342c497cf3ca4c1a9f9868c90d3499aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88546091', 'ctest-vn-55123352'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 10:27:18,583 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3f2078d-6629-4909-a7a6-9726e9630a73', 'name': '', 'tenant_id': '342c497cf3ca4c1a9f9868c90d3499aa', 'network_id': '7dea5b56-d7b5-4476-9f57-47fab667fd4a', 'ip_version': 4, 'cidr': '72.155.101.192/26', 'allocation_pools': [{'start': '72.155.101.194', 'end': '72.155.101.254'}], 'gateway_ip': '72.155.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.155.101.194', 'tags': [], 'project_id': '342c497cf3ca4c1a9f9868c90d3499aa'}} 2026-03-20 10:27:18,599 - INFO - Created VN ctest-vn-55123352 2026-03-20 10:27:18,651 - DEBUG - VN ctest-vn-55123352 UUID is 7dea5b56-d7b5-4476-9f57-47fab667fd4a 2026-03-20 10:27:18,982 - DEBUG - Response for create_network : {'network': {'id': '5cc4de0e-b170-489a-ad10-61c07c62ae85', 'name': 'ctest-ext_vn-46903954', 'tenant_id': '342c497cf3ca4c1a9f9868c90d3499aa', 'project_id': '342c497cf3ca4c1a9f9868c90d3499aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88546091', 'ctest-ext_vn-46903954'], 'port_security_enabled': True, 'description': ''}} 2026-03-20 10:27:19,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '94855cc8-63d6-499e-9212-da338b59bb45', 'name': '', 'tenant_id': '342c497cf3ca4c1a9f9868c90d3499aa', 'network_id': '5cc4de0e-b170-489a-ad10-61c07c62ae85', 'ip_version': 4, 'cidr': '18.14.0.128/26', 'allocation_pools': [{'start': '18.14.0.130', 'end': '18.14.0.190'}], 'gateway_ip': '18.14.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.14.0.130', 'tags': [], 'project_id': '342c497cf3ca4c1a9f9868c90d3499aa'}} 2026-03-20 10:27:19,146 - INFO - Created VN ctest-ext_vn-46903954 2026-03-20 10:27:19,203 - DEBUG - VN ctest-ext_vn-46903954 UUID is 5cc4de0e-b170-489a-ad10-61c07c62ae85 2026-03-20 10:27:19,404 - DEBUG - Services list from nova: [, , ] 2026-03-20 10:27:20,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5504-1) 2026-03-20 10:27:21,479 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5504-1) 2026-03-20 10:27:21,554 - INFO - Setting gateway for router 7617bbb3-dbda-4555-8893-dfbb7dbbc098 to network 5cc4de0e-b170-489a-ad10-61c07c62ae85 2026-03-20 10:27:21,632 - INFO - Adding interface with subnet_id d3f2078d-6629-4909-a7a6-9726e9630a73, port_id None to router 7617bbb3-dbda-4555-8893-dfbb7dbbc098 2026-03-20 10:27:21,978 - INFO - Waiting for VM ctest-TestRoutersBasic-88546091-13180686 to be up.. 2026-03-20 10:27:22,147 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-20 10:27:27,219 - DEBUG - VM is in ACTIVE state now 2026-03-20 10:27:27,219 - INFO - VM name : ctest-TestRoutersBasic-88546091-13180686 2026-03-20 10:27:27,295 - DEBUG - VM ctest-TestRoutersBasic-88546091-13180686 ID is 8ffd2605-857a-4689-b637-ead0e6396cd9 2026-03-20 10:27:27,312 - DEBUG - VM ctest-TestRoutersBasic-88546091-13180686 launched on Node cn-jenkins-deploy-platform-ansible-os-5504-1 2026-03-20 10:27:27,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ffd2605-857a-4689-b637-ead0e6396cd9 2026-03-20 10:27:27,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ffd2605-857a-4689-b637-ead0e6396cd9 2026-03-20 10:27:27,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dc27a08e-73fc-400d-b639-08445b58a0c6 2026-03-20 10:27:30,975 - 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 1023ms') 2026-03-20 10:27:30,975 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88546091-13180686 failed! 2026-03-20 10:27:31,027 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88546091:ctest-vn-55123352 is 72.155.101.193 and allocation pool is NOT set 2026-03-20 10:27:33,087 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.577/2.760/1.182 ms') 2026-03-20 10:27:33,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88546091-13180686 passed 2026-03-20 10:27:33,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 10:27:33,235 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88546091-13180686, IP 72.155.101.195, Port 22 2026-03-20 10:27:33,391 - DEBUG - VM ctest-TestRoutersBasic-88546091-13180686 is ready for SSH connections 2026-03-20 10:27:33,391 - INFO - Waiting for VM ctest-TestRoutersBasic-88546091-60414071 to be up.. 2026-03-20 10:27:33,456 - DEBUG - VM is in ACTIVE state now 2026-03-20 10:27:33,456 - INFO - VM name : ctest-TestRoutersBasic-88546091-60414071 2026-03-20 10:27:33,525 - DEBUG - VM ctest-TestRoutersBasic-88546091-60414071 ID is 8751e83b-b881-46bd-87c6-9749383a2f4d 2026-03-20 10:27:33,525 - DEBUG - VM ctest-TestRoutersBasic-88546091-60414071 launched on Node cn-jenkins-deploy-platform-ansible-os-5504-1 2026-03-20 10:27:33,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8751e83b-b881-46bd-87c6-9749383a2f4d 2026-03-20 10:27:33,601 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c01c67c0-47fc-4045-aeaa-2831b70cde43 2026-03-20 10:27:34,829 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.714/2.994/1.280 ms') 2026-03-20 10:27:34,829 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88546091-60414071 passed 2026-03-20 10:27:34,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 10:27:34,975 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88546091-60414071, IP 18.14.0.131, Port 22 2026-03-20 10:27:35,127 - DEBUG - VM ctest-TestRoutersBasic-88546091-60414071 is ready for SSH connections 2026-03-20 10:27:35,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-20 10:27:35,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.14.0.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-20 10:27:35,127 - DEBUG - ping -s 56 -c 3 -W 1 18.14.0.131 2026-03-20 10:27:38,829 - DEBUG - PING 18.14.0.131 (18.14.0.131): 56 data bytes 64 bytes from 18.14.0.131: seq=0 ttl=62 time=6.935 ms 64 bytes from 18.14.0.131: seq=1 ttl=62 time=1.015 ms 64 bytes from 18.14.0.131: seq=2 ttl=62 time=0.793 ms --- 18.14.0.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/2.914/6.935 ms 2026-03-20 10:27:38,829 - INFO - Ping to IP 18.14.0.131 from VM ctest-TestRoutersBasic-88546091-13180686 passed 2026-03-20 10:27:38,829 - INFO - Deleting interface with subnet_id d3f2078d-6629-4909-a7a6-9726e9630a73, port_id None from router 7617bbb3-dbda-4555-8893-dfbb7dbbc098 2026-03-20 10:27:38,993 - INFO - Deleting VM ctest-TestRoutersBasic-88546091-60414071 2026-03-20 10:27:39,055 - INFO - Deleting VM ctest-TestRoutersBasic-88546091-13180686 2026-03-20 10:27:39,120 - INFO - Deleting VN ctest-ext_vn-46903954 2026-03-20 10:27:39,186 - DEBUG - VN 5cc4de0e-b170-489a-ad10-61c07c62ae85 still in use: Unable to complete operation on network 5cc4de0e-b170-489a-ad10-61c07c62ae85. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6c3dac80-45c0-4d55-afdb-6d01a9fbe912'] 2026-03-20 10:27:39,187 - WARNING - Deleting VN ctest-ext_vn-46903954 failed..Will retry 2026-03-20 10:27:41,294 - DEBUG - Response for deleting network () 2026-03-20 10:27:41,294 - INFO - Deleting VN ctest-vn-55123352 2026-03-20 10:27:41,389 - DEBUG - Response for deleting network () 2026-03-20 10:27:41,643 - DEBUG - No XMPP flaps were noticed during the test
2026-03-20 10:27:41,643 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-03-20 10:27:41,643 - INFO - -------------------------------------------------------------------------------- 2026-03-20 10:27:42,307 - INFO - Deleted project: ctest-TestRoutersBasic-88546091, ID : 342c497c-f3ca-4c1a-9f98-68c90d3499aa