2026-03-12 13:41:56,358 - INFO - Domain Default found not creating 2026-03-12 13:41:56,525 - INFO - Project ctest-TestRoutersBasic-73156298 not found, creating it 2026-03-12 13:41:57,011 - INFO - Created Project:ctest-TestRoutersBasic-73156298, ID : d8f383bb-4961-429b-a574-bdaffac42a18 2026-03-12 13:41:58,516 - INFO - ================================================================================ 2026-03-12 13:41:58,516 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-12 13:41:58,516 - 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-12 13:41:58,776 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-03-12 13:41:58,776 - INFO - Initial checks done. Running the testcase now 2026-03-12 13:41:58,776 - INFO - 2026-03-12 13:41:59,517 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73156298 2026-03-12 13:41:59,611 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73156298 2026-03-12 13:41:59,935 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73156298', 'default']} 2026-03-12 13:42:00,221 - DEBUG - Response for create_network : {'network': {'id': '75543883-d8bd-447b-a59b-8f07b5813490', 'name': 'ctest-vn-41124045', 'tenant_id': 'd8f383bb4961429ba574bdaffac42a18', 'project_id': 'd8f383bb4961429ba574bdaffac42a18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73156298', 'ctest-vn-41124045'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 13:42:00,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '84bc724f-611a-499e-8b2a-a4b127a49e33', 'name': '', 'tenant_id': 'd8f383bb4961429ba574bdaffac42a18', 'network_id': '75543883-d8bd-447b-a59b-8f07b5813490', 'ip_version': 4, 'cidr': '104.87.253.128/26', 'allocation_pools': [{'start': '104.87.253.130', 'end': '104.87.253.190'}], 'gateway_ip': '104.87.253.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.87.253.130', 'tags': [], 'project_id': 'd8f383bb4961429ba574bdaffac42a18'}} 2026-03-12 13:42:00,404 - INFO - Created VN ctest-vn-41124045 2026-03-12 13:42:00,459 - DEBUG - VN ctest-vn-41124045 UUID is 75543883-d8bd-447b-a59b-8f07b5813490 2026-03-12 13:42:00,785 - DEBUG - Response for create_network : {'network': {'id': '168e433e-7e0b-4eb2-932d-d6208a513efe', 'name': 'ctest-ext_vn-39199008', 'tenant_id': 'd8f383bb4961429ba574bdaffac42a18', 'project_id': 'd8f383bb4961429ba574bdaffac42a18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73156298', 'ctest-ext_vn-39199008'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 13:42:01,003 - DEBUG - Response for create_subnet : {'subnet': {'id': '884b2feb-ad92-441f-b981-16f928ad9b34', 'name': '', 'tenant_id': 'd8f383bb4961429ba574bdaffac42a18', 'network_id': '168e433e-7e0b-4eb2-932d-d6208a513efe', 'ip_version': 4, 'cidr': '213.195.196.192/26', 'allocation_pools': [{'start': '213.195.196.194', 'end': '213.195.196.254'}], 'gateway_ip': '213.195.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.195.196.194', 'tags': [], 'project_id': 'd8f383bb4961429ba574bdaffac42a18'}} 2026-03-12 13:42:01,021 - INFO - Created VN ctest-ext_vn-39199008 2026-03-12 13:42:01,071 - DEBUG - VN ctest-ext_vn-39199008 UUID is 168e433e-7e0b-4eb2-932d-d6208a513efe 2026-03-12 13:42:01,255 - DEBUG - Services list from nova: [, , ] 2026-03-12 13:42:02,341 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5464-1) 2026-03-12 13:42:03,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5464-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5464-1) 2026-03-12 13:42:03,591 - INFO - Setting gateway for router 8ce4bb3c-6c61-40e3-b897-409cbdd7fef7 to network 168e433e-7e0b-4eb2-932d-d6208a513efe 2026-03-12 13:42:03,662 - INFO - Adding interface with subnet_id 84bc724f-611a-499e-8b2a-a4b127a49e33, port_id None to router 8ce4bb3c-6c61-40e3-b897-409cbdd7fef7 2026-03-12 13:42:03,993 - INFO - Waiting for VM ctest-TestRoutersBasic-73156298-63653123 to be up.. 2026-03-12 13:42:04,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 13:42:09,242 - DEBUG - VM is in ACTIVE state now 2026-03-12 13:42:09,242 - INFO - VM name : ctest-TestRoutersBasic-73156298-63653123 2026-03-12 13:42:09,323 - DEBUG - VM ctest-TestRoutersBasic-73156298-63653123 ID is 79484692-a07b-4b2e-a584-549b8593ab5f 2026-03-12 13:42:09,342 - DEBUG - VM ctest-TestRoutersBasic-73156298-63653123 launched on Node cn-jenkins-deploy-platform-ansible-os-5464-1 2026-03-12 13:42:09,416 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/79484692-a07b-4b2e-a584-549b8593ab5f 2026-03-12 13:42:09,717 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/79484692-a07b-4b2e-a584-549b8593ab5f 2026-03-12 13:42:09,752 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1dc247f9-4874-44a9-a50d-bdde80e9abb1 2026-03-12 13:42:13,011 - 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 1013ms') 2026-03-12 13:42:13,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73156298-63653123 failed! 2026-03-12 13:42:13,063 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73156298:ctest-vn-41124045 is 104.87.253.129 and allocation pool is NOT set 2026-03-12 13:42:15,122 - 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=5.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.819 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.819/3.078/5.338/2.259 ms') 2026-03-12 13:42:15,123 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73156298-63653123 passed 2026-03-12 13:42:15,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:42:15,275 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73156298-63653123, IP 104.87.253.131, Port 22 2026-03-12 13:42:15,442 - DEBUG - VM ctest-TestRoutersBasic-73156298-63653123 is ready for SSH connections 2026-03-12 13:42:15,442 - INFO - Waiting for VM ctest-TestRoutersBasic-73156298-44059550 to be up.. 2026-03-12 13:42:15,534 - DEBUG - VM is in ACTIVE state now 2026-03-12 13:42:15,534 - INFO - VM name : ctest-TestRoutersBasic-73156298-44059550 2026-03-12 13:42:15,613 - DEBUG - VM ctest-TestRoutersBasic-73156298-44059550 ID is 3e651a98-9e0b-4343-a6c4-445968c56fbc 2026-03-12 13:42:15,613 - DEBUG - VM ctest-TestRoutersBasic-73156298-44059550 launched on Node cn-jenkins-deploy-platform-ansible-os-5464-1 2026-03-12 13:42:15,697 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3e651a98-9e0b-4343-a6c4-445968c56fbc 2026-03-12 13:42:15,705 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/efbdc1fd-ff89-483e-97ca-d7d5d0042e24 2026-03-12 13:42:16,949 - 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=3.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.501/2.121/3.742/1.620 ms') 2026-03-12 13:42:16,949 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73156298-44059550 passed 2026-03-12 13:42:17,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:42:17,103 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73156298-44059550, IP 213.195.196.195, Port 22 2026-03-12 13:42:17,273 - DEBUG - VM ctest-TestRoutersBasic-73156298-44059550 is ready for SSH connections 2026-03-12 13:42:17,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 13:42:17,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.195.196.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-12 13:42:17,274 - DEBUG - ping -s 56 -c 3 -W 1 213.195.196.195 2026-03-12 13:42:20,971 - DEBUG - PING 213.195.196.195 (213.195.196.195): 56 data bytes 64 bytes from 213.195.196.195: seq=0 ttl=62 time=7.987 ms 64 bytes from 213.195.196.195: seq=1 ttl=62 time=1.321 ms 64 bytes from 213.195.196.195: seq=2 ttl=62 time=0.898 ms --- 213.195.196.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.898/3.402/7.987 ms 2026-03-12 13:42:20,971 - INFO - Ping to IP 213.195.196.195 from VM ctest-TestRoutersBasic-73156298-63653123 passed 2026-03-12 13:42:20,971 - INFO - Deleting interface with subnet_id 84bc724f-611a-499e-8b2a-a4b127a49e33, port_id None from router 8ce4bb3c-6c61-40e3-b897-409cbdd7fef7 2026-03-12 13:42:21,139 - INFO - Deleting VM ctest-TestRoutersBasic-73156298-44059550 2026-03-12 13:42:21,214 - INFO - Deleting VM ctest-TestRoutersBasic-73156298-63653123 2026-03-12 13:42:21,297 - INFO - Deleting VN ctest-ext_vn-39199008 2026-03-12 13:42:21,370 - DEBUG - VN 168e433e-7e0b-4eb2-932d-d6208a513efe still in use: Unable to complete operation on network 168e433e-7e0b-4eb2-932d-d6208a513efe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-286f1d39-7bd8-441b-8e0a-dc8d226637ca'] 2026-03-12 13:42:21,370 - WARNING - Deleting VN ctest-ext_vn-39199008 failed..Will retry 2026-03-12 13:42:23,464 - DEBUG - Response for deleting network () 2026-03-12 13:42:23,464 - INFO - Deleting VN ctest-vn-41124045 2026-03-12 13:42:23,560 - DEBUG - Response for deleting network () 2026-03-12 13:42:23,817 - DEBUG - No XMPP flaps were noticed during the test 2026-03-12 13:42:23,817 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-12 13:42:23,817 - INFO - -------------------------------------------------------------------------------- 2026-03-12 13:42:24,515 - INFO - Deleted project: ctest-TestRoutersBasic-73156298, ID : d8f383bb-4961-429b-a574-bdaffac42a18