2026-01-29 14:49:29,278 - INFO - Domain Default found not creating 2026-01-29 14:49:29,437 - INFO - Project ctest-TestRoutersBasic-59012272 not found, creating it 2026-01-29 14:49:29,872 - INFO - Created Project:ctest-TestRoutersBasic-59012272, ID : 337719e1-b933-4c82-a943-988a08b45c33 2026-01-29 14:49:31,327 - INFO - ================================================================================ 2026-01-29 14:49:31,327 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 14:49:31,327 - 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-01-29 14:49:31,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.246': {'10.20.0.17': '0'}} with 2026-01-29 14:49:31,581 - INFO - Initial checks done. Running the testcase now 2026-01-29 14:49:31,581 - INFO - 2026-01-29 14:49:32,338 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59012272 2026-01-29 14:49:32,436 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59012272 2026-01-29 14:49:32,755 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59012272', 'default']} 2026-01-29 14:49:33,084 - DEBUG - Response for create_network : {'network': {'id': '58fb05ce-7062-4665-89b5-7eaf42d0eaa9', 'name': 'ctest-vn-39327736', 'tenant_id': '337719e1b9334c82a943988a08b45c33', 'project_id': '337719e1b9334c82a943988a08b45c33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59012272', 'ctest-vn-39327736'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 14:49:33,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '049e0533-8a94-4ed9-8b86-60d4f143fbc2', 'name': '', 'tenant_id': '337719e1b9334c82a943988a08b45c33', 'network_id': '58fb05ce-7062-4665-89b5-7eaf42d0eaa9', 'ip_version': 4, 'cidr': '120.191.145.192/26', 'allocation_pools': [{'start': '120.191.145.194', 'end': '120.191.145.254'}], 'gateway_ip': '120.191.145.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.191.145.194', 'tags': [], 'project_id': '337719e1b9334c82a943988a08b45c33'}} 2026-01-29 14:49:33,263 - INFO - Created VN ctest-vn-39327736 2026-01-29 14:49:33,316 - DEBUG - VN ctest-vn-39327736 UUID is 58fb05ce-7062-4665-89b5-7eaf42d0eaa9 2026-01-29 14:49:33,683 - DEBUG - Response for create_network : {'network': {'id': '9f81812f-7a3e-46e0-91c0-0318204877d3', 'name': 'ctest-ext_vn-77819836', 'tenant_id': '337719e1b9334c82a943988a08b45c33', 'project_id': '337719e1b9334c82a943988a08b45c33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59012272', 'ctest-ext_vn-77819836'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 14:49:33,906 - DEBUG - Response for create_subnet : {'subnet': {'id': '55a6c7fc-8446-4c68-a388-eab7d9de71c5', 'name': '', 'tenant_id': '337719e1b9334c82a943988a08b45c33', 'network_id': '9f81812f-7a3e-46e0-91c0-0318204877d3', 'ip_version': 4, 'cidr': '138.21.206.0/26', 'allocation_pools': [{'start': '138.21.206.2', 'end': '138.21.206.62'}], 'gateway_ip': '138.21.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.21.206.2', 'tags': [], 'project_id': '337719e1b9334c82a943988a08b45c33'}} 2026-01-29 14:49:33,922 - INFO - Created VN ctest-ext_vn-77819836 2026-01-29 14:49:33,976 - DEBUG - VN ctest-ext_vn-77819836 UUID is 9f81812f-7a3e-46e0-91c0-0318204877d3 2026-01-29 14:49:34,177 - DEBUG - Services list from nova: [, , ] 2026-01-29 14:49:35,228 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5130-1) 2026-01-29 14:49:36,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5130-1) 2026-01-29 14:49:36,464 - INFO - Setting gateway for router 477bb5ef-8fb3-484c-a024-5066056d58f8 to network 9f81812f-7a3e-46e0-91c0-0318204877d3 2026-01-29 14:49:36,529 - INFO - Adding interface with subnet_id 049e0533-8a94-4ed9-8b86-60d4f143fbc2, port_id None to router 477bb5ef-8fb3-484c-a024-5066056d58f8 2026-01-29 14:49:36,952 - INFO - Waiting for VM ctest-TestRoutersBasic-59012272-17576485 to be up.. 2026-01-29 14:49:37,091 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 14:49:42,163 - DEBUG - VM is in ACTIVE state now 2026-01-29 14:49:42,163 - INFO - VM name : ctest-TestRoutersBasic-59012272-17576485 2026-01-29 14:49:42,230 - DEBUG - VM ctest-TestRoutersBasic-59012272-17576485 ID is 79450ba9-2167-4529-9d03-08d73e825149 2026-01-29 14:49:42,246 - DEBUG - VM ctest-TestRoutersBasic-59012272-17576485 launched on Node cn-jenkins-deploy-platform-ansible-os-5130-1 2026-01-29 14:49:42,312 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/79450ba9-2167-4529-9d03-08d73e825149 2026-01-29 14:49:42,612 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/79450ba9-2167-4529-9d03-08d73e825149 2026-01-29 14:49:42,652 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/a999d17f-563e-4481-9441-2d1207751355 2026-01-29 14:49:45,924 - 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 1027ms') 2026-01-29 14:49:45,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59012272-17576485 failed! 2026-01-29 14:49:45,980 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59012272:ctest-vn-39327736 is 120.191.145.193 and allocation pool is NOT set 2026-01-29 14:49:48,044 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.465/2.269/4.073/1.804 ms') 2026-01-29 14:49:48,044 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59012272-17576485 passed 2026-01-29 14:49:48,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:49:48,196 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59012272-17576485, IP 120.191.145.195, Port 22 2026-01-29 14:49:48,363 - DEBUG - VM ctest-TestRoutersBasic-59012272-17576485 is ready for SSH connections 2026-01-29 14:49:48,363 - INFO - Waiting for VM ctest-TestRoutersBasic-59012272-18984032 to be up.. 2026-01-29 14:49:48,459 - DEBUG - VM is in ACTIVE state now 2026-01-29 14:49:48,459 - INFO - VM name : ctest-TestRoutersBasic-59012272-18984032 2026-01-29 14:49:48,525 - DEBUG - VM ctest-TestRoutersBasic-59012272-18984032 ID is 5e907942-872b-496d-a775-c8dde3382317 2026-01-29 14:49:48,525 - DEBUG - VM ctest-TestRoutersBasic-59012272-18984032 launched on Node cn-jenkins-deploy-platform-ansible-os-5130-1 2026-01-29 14:49:48,589 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine/5e907942-872b-496d-a775-c8dde3382317 2026-01-29 14:49:48,597 - DEBUG - Requesting: http://10.0.0.246:8082/virtual-machine-interface/ea3cb830-9dfa-4087-9fa4-f6fba3e2f7d9 2026-01-29 14:49:49,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=3.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.852/3.225/1.373 ms') 2026-01-29 14:49:49,829 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59012272-18984032 passed 2026-01-29 14:49:49,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:49:49,976 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59012272-18984032, IP 138.21.206.3, Port 22 2026-01-29 14:49:50,142 - DEBUG - VM ctest-TestRoutersBasic-59012272-18984032 is ready for SSH connections 2026-01-29 14:49:50,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 14:49:50,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.21.206.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.246, gateway password: c0ntrail123 2026-01-29 14:49:50,142 - DEBUG - ping -s 56 -c 3 -W 1 138.21.206.3 2026-01-29 14:49:53,886 - DEBUG - PING 138.21.206.3 (138.21.206.3): 56 data bytes 64 bytes from 138.21.206.3: seq=0 ttl=62 time=4.503 ms 64 bytes from 138.21.206.3: seq=1 ttl=62 time=1.244 ms 64 bytes from 138.21.206.3: seq=2 ttl=62 time=1.198 ms --- 138.21.206.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.198/2.315/4.503 ms 2026-01-29 14:49:53,886 - INFO - Ping to IP 138.21.206.3 from VM ctest-TestRoutersBasic-59012272-17576485 passed 2026-01-29 14:49:53,887 - INFO - Deleting interface with subnet_id 049e0533-8a94-4ed9-8b86-60d4f143fbc2, port_id None from router 477bb5ef-8fb3-484c-a024-5066056d58f8 2026-01-29 14:49:54,070 - INFO - Deleting VM ctest-TestRoutersBasic-59012272-18984032 2026-01-29 14:49:54,135 - INFO - Deleting VM ctest-TestRoutersBasic-59012272-17576485 2026-01-29 14:49:54,211 - INFO - Deleting VN ctest-ext_vn-77819836 2026-01-29 14:49:54,270 - DEBUG - VN 9f81812f-7a3e-46e0-91c0-0318204877d3 still in use: Unable to complete operation on network 9f81812f-7a3e-46e0-91c0-0318204877d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-160e0558-96ea-4460-ad1e-8ee9bc69e737'] 2026-01-29 14:49:54,271 - WARNING - Deleting VN ctest-ext_vn-77819836 failed..Will retry 2026-01-29 14:49:56,391 - DEBUG - Response for deleting network () 2026-01-29 14:49:56,392 - INFO - Deleting VN ctest-vn-39327736 2026-01-29 14:49:56,496 - DEBUG - Response for deleting network () 2026-01-29 14:49:56,748 - DEBUG - No XMPP flaps were noticed during the test 2026-01-29 14:49:56,748 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-01-29 14:49:56,748 - INFO - -------------------------------------------------------------------------------- 2026-01-29 14:49:57,426 - INFO - Deleted project: ctest-TestRoutersBasic-59012272, ID : 337719e1-b933-4c82-a943-988a08b45c33