2026-09-29 18:08:17,378 - INFO - Domain Default found not creating 2026-09-29 18:08:17,612 - INFO - Project ctest-TestRoutersBasic-16003932 not found, creating it 2026-09-29 18:08:18,254 - INFO - Created Project:ctest-TestRoutersBasic-16003932, ID : 4c2ef268-667c-4626-adc7-1ce475e16361 2026-09-29 18:08:20,297 - INFO - ================================================================================ 2026-09-29 18:08:20,297 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-29 18:08:20,297 - 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-29 18:08:20,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with 2026-09-29 18:08:20,584 - INFO - Initial checks done. Running the testcase now 2026-09-29 18:08:20,584 - INFO - 2026-09-29 18:08:21,558 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-16003932 2026-09-29 18:08:21,674 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-16003932 2026-09-29 18:08:22,033 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16003932', 'default']} 2026-09-29 18:08:22,424 - DEBUG - Response for create_network : {'network': {'id': '169c51b2-cbbc-4a30-a663-edf82d0c483a', 'name': 'ctest-vn-03446442', 'tenant_id': '4c2ef268667c4626adc71ce475e16361', 'project_id': '4c2ef268667c4626adc71ce475e16361', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16003932', 'ctest-vn-03446442'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 18:08:22,686 - DEBUG - Response for create_subnet : {'subnet': {'id': '129285d9-68c0-4f09-8802-537c5c835c1d', 'name': '', 'tenant_id': '4c2ef268667c4626adc71ce475e16361', 'network_id': '169c51b2-cbbc-4a30-a663-edf82d0c483a', 'ip_version': 4, 'cidr': '48.217.17.0/26', 'allocation_pools': [{'start': '48.217.17.2', 'end': '48.217.17.62'}], 'gateway_ip': '48.217.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.217.17.2', 'tags': [], 'project_id': '4c2ef268667c4626adc71ce475e16361'}} 2026-09-29 18:08:22,711 - INFO - Created VN ctest-vn-03446442 2026-09-29 18:08:22,770 - DEBUG - VN ctest-vn-03446442 UUID is 169c51b2-cbbc-4a30-a663-edf82d0c483a 2026-09-29 18:08:23,219 - DEBUG - Response for create_network : {'network': {'id': '1c4c8467-706b-4785-8c38-e84cd9707fa0', 'name': 'ctest-ext_vn-00125406', 'tenant_id': '4c2ef268667c4626adc71ce475e16361', 'project_id': '4c2ef268667c4626adc71ce475e16361', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-16003932', 'ctest-ext_vn-00125406'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 18:08:23,481 - DEBUG - Response for create_subnet : {'subnet': {'id': '50f3b835-3be1-4633-9363-634a1ed05387', 'name': '', 'tenant_id': '4c2ef268667c4626adc71ce475e16361', 'network_id': '1c4c8467-706b-4785-8c38-e84cd9707fa0', 'ip_version': 4, 'cidr': '111.209.58.128/26', 'allocation_pools': [{'start': '111.209.58.130', 'end': '111.209.58.190'}], 'gateway_ip': '111.209.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.209.58.130', 'tags': [], 'project_id': '4c2ef268667c4626adc71ce475e16361'}} 2026-09-29 18:08:23,505 - INFO - Created VN ctest-ext_vn-00125406 2026-09-29 18:08:23,561 - DEBUG - VN ctest-ext_vn-00125406 UUID is 1c4c8467-706b-4785-8c38-e84cd9707fa0 2026-09-29 18:08:23,774 - DEBUG - Services list from nova: [, , ] 2026-09-29 18:08:24,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6329-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6329-1) 2026-09-29 18:08:24,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6329-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6329-1) 2026-09-29 18:08:24,959 - INFO - Setting gateway for router 785c64f3-9d21-4c05-91ac-d73082c2cf5e to network 1c4c8467-706b-4785-8c38-e84cd9707fa0 2026-09-29 18:08:25,042 - INFO - Adding interface with subnet_id 129285d9-68c0-4f09-8802-537c5c835c1d, port_id None to router 785c64f3-9d21-4c05-91ac-d73082c2cf5e 2026-09-29 18:08:25,445 - INFO - Waiting for VM ctest-TestRoutersBasic-16003932-16015670 to be up.. 2026-09-29 18:08:25,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:08:30,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:08:35,934 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:08:41,041 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:08:46,139 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:08:51,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:08:56,337 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:09:01,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:09:06,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:09:11,677 - DEBUG - VM is in ACTIVE state now 2026-09-29 18:09:11,677 - INFO - VM name : ctest-TestRoutersBasic-16003932-16015670 2026-09-29 18:09:11,803 - DEBUG - VM ctest-TestRoutersBasic-16003932-16015670 ID is d1f93388-7200-4199-8543-52d4b671ade6 2026-09-29 18:09:11,838 - DEBUG - VM ctest-TestRoutersBasic-16003932-16015670 launched on Node cn-jenkins-deploy-platform-ansible-os-6329-1 2026-09-29 18:09:11,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d1f93388-7200-4199-8543-52d4b671ade6 2026-09-29 18:09:12,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d1f93388-7200-4199-8543-52d4b671ade6 2026-09-29 18:09:12,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/543ac80c-84b0-4c23-bb31-c8152c74c55f 2026-09-29 18:09:15,745 - 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 1024ms') 2026-09-29 18:09:15,746 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-16003932-16015670 failed! 2026-09-29 18:09:15,805 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-16003932:ctest-vn-03446442 is 48.217.17.1 and allocation pool is NOT set 2026-09-29 18:09:17,872 - 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=4.09 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.781 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.781/2.437/4.093/1.656 ms') 2026-09-29 18:09:17,872 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-16003932-16015670 passed 2026-09-29 18:09:18,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 18:09:18,030 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16003932-16015670, IP 48.217.17.3, Port 22 2026-09-29 18:09:18,200 - DEBUG - VM ctest-TestRoutersBasic-16003932-16015670 is ready for SSH connections 2026-09-29 18:09:18,200 - INFO - Waiting for VM ctest-TestRoutersBasic-16003932-38510426 to be up.. 2026-09-29 18:09:18,309 - DEBUG - VM is in ACTIVE state now 2026-09-29 18:09:18,309 - INFO - VM name : ctest-TestRoutersBasic-16003932-38510426 2026-09-29 18:09:18,410 - DEBUG - VM ctest-TestRoutersBasic-16003932-38510426 ID is eff8172a-bc6b-4438-ade7-85e0ac69666a 2026-09-29 18:09:18,410 - DEBUG - VM ctest-TestRoutersBasic-16003932-38510426 launched on Node cn-jenkins-deploy-platform-ansible-os-6329-1 2026-09-29 18:09:18,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eff8172a-bc6b-4438-ade7-85e0ac69666a 2026-09-29 18:09:18,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2bb9a648-a9e3-423e-91a3-de92445741f3 2026-09-29 18:09:19,786 - 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=4.25 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.667 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.667/2.460/4.253/1.793 ms') 2026-09-29 18:09:19,786 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-16003932-38510426 passed 2026-09-29 18:09:19,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 18:09:19,946 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-16003932-38510426, IP 111.209.58.132, Port 22 2026-09-29 18:09:20,115 - DEBUG - VM ctest-TestRoutersBasic-16003932-38510426 is ready for SSH connections 2026-09-29 18:09:20,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 18:09:20,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.209.58.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-29 18:09:20,116 - DEBUG - ping -s 56 -c 3 -W 1 111.209.58.132 2026-09-29 18:09:23,347 - DEBUG - PING 111.209.58.132 (111.209.58.132): 56 data bytes 64 bytes from 111.209.58.132: seq=0 ttl=62 time=9.740 ms 64 bytes from 111.209.58.132: seq=1 ttl=62 time=1.288 ms 64 bytes from 111.209.58.132: seq=2 ttl=62 time=1.780 ms --- 111.209.58.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.288/4.269/9.740 ms 2026-09-29 18:09:23,347 - INFO - Ping to IP 111.209.58.132 from VM ctest-TestRoutersBasic-16003932-16015670 passed 2026-09-29 18:09:23,348 - INFO - Deleting interface with subnet_id 129285d9-68c0-4f09-8802-537c5c835c1d, port_id None from router 785c64f3-9d21-4c05-91ac-d73082c2cf5e 2026-09-29 18:09:23,680 - INFO - Deleting VM ctest-TestRoutersBasic-16003932-38510426 2026-09-29 18:09:23,789 - INFO - Deleting VM ctest-TestRoutersBasic-16003932-16015670 2026-09-29 18:09:23,892 - INFO - Deleting VN ctest-ext_vn-00125406 2026-09-29 18:09:24,049 - DEBUG - VN 1c4c8467-706b-4785-8c38-e84cd9707fa0 still in use: Unable to complete operation on network 1c4c8467-706b-4785-8c38-e84cd9707fa0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da62351b-373f-4fcf-a4e1-a79a94615c89'] 2026-09-29 18:09:24,049 - WARNING - Deleting VN ctest-ext_vn-00125406 failed..Will retry 2026-09-29 18:09:26,306 - DEBUG - Response for deleting network () 2026-09-29 18:09:26,307 - INFO - Deleting VN ctest-vn-03446442 2026-09-29 18:09:26,495 - DEBUG - Response for deleting network () 2026-09-29 18:09:26,771 - DEBUG - No XMPP flaps were noticed during the test 2026-09-29 18:09:26,771 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:06] 2026-09-29 18:09:26,772 - INFO - -------------------------------------------------------------------------------- 2026-09-29 18:09:28,091 - INFO - Deleted project: ctest-TestRoutersBasic-16003932, ID : 4c2ef268-667c-4626-adc7-1ce475e16361