2026-04-17 09:16:20,457 - INFO - Domain Default found not creating 2026-04-17 09:16:20,642 - INFO - Project ctest-TestRoutersBasic-40748005 not found, creating it 2026-04-17 09:16:21,129 - INFO - Created Project:ctest-TestRoutersBasic-40748005, ID : 27b635ee-45de-4c3b-a9ac-bf33d30b71e7 2026-04-17 09:16:22,680 - INFO - ================================================================================ 2026-04-17 09:16:22,680 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-17 09:16:22,681 - 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-04-17 09:16:22,937 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-17 09:16:22,937 - INFO - Initial checks done. Running the testcase now 2026-04-17 09:16:22,937 - INFO - 2026-04-17 09:16:23,681 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40748005 2026-04-17 09:16:23,778 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40748005 2026-04-17 09:16:24,106 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40748005', 'default']} 2026-04-17 09:16:24,434 - DEBUG - Response for create_network : {'network': {'id': 'f6ec1336-9ff7-4acb-b45c-65e1b5f015e6', 'name': 'ctest-vn-18747904', 'tenant_id': '27b635ee45de4c3ba9acbf33d30b71e7', 'project_id': '27b635ee45de4c3ba9acbf33d30b71e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40748005', 'ctest-vn-18747904'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:16:24,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '51640a02-a47e-4e3b-a946-5303c8661c17', 'name': '', 'tenant_id': '27b635ee45de4c3ba9acbf33d30b71e7', 'network_id': 'f6ec1336-9ff7-4acb-b45c-65e1b5f015e6', 'ip_version': 4, 'cidr': '124.118.27.192/26', 'allocation_pools': [{'start': '124.118.27.194', 'end': '124.118.27.254'}], 'gateway_ip': '124.118.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.118.27.194', 'tags': [], 'project_id': '27b635ee45de4c3ba9acbf33d30b71e7'}} 2026-04-17 09:16:24,624 - INFO - Created VN ctest-vn-18747904 2026-04-17 09:16:24,678 - DEBUG - VN ctest-vn-18747904 UUID is f6ec1336-9ff7-4acb-b45c-65e1b5f015e6 2026-04-17 09:16:25,054 - DEBUG - Response for create_network : {'network': {'id': '18aaed0f-ec3c-4727-a96d-a2783badf87c', 'name': 'ctest-ext_vn-85146408', 'tenant_id': '27b635ee45de4c3ba9acbf33d30b71e7', 'project_id': '27b635ee45de4c3ba9acbf33d30b71e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40748005', 'ctest-ext_vn-85146408'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 09:16:25,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '50cb6f6b-c65d-4335-92f1-4526f084f6ec', 'name': '', 'tenant_id': '27b635ee45de4c3ba9acbf33d30b71e7', 'network_id': '18aaed0f-ec3c-4727-a96d-a2783badf87c', 'ip_version': 4, 'cidr': '215.77.126.64/26', 'allocation_pools': [{'start': '215.77.126.66', 'end': '215.77.126.126'}], 'gateway_ip': '215.77.126.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.77.126.66', 'tags': [], 'project_id': '27b635ee45de4c3ba9acbf33d30b71e7'}} 2026-04-17 09:16:25,273 - INFO - Created VN ctest-ext_vn-85146408 2026-04-17 09:16:25,326 - DEBUG - VN ctest-ext_vn-85146408 UUID is 18aaed0f-ec3c-4727-a96d-a2783badf87c 2026-04-17 09:16:25,505 - DEBUG - Services list from nova: [, , ] 2026-04-17 09:16:26,557 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5633-1) 2026-04-17 09:16:27,737 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5633-1) 2026-04-17 09:16:27,812 - INFO - Setting gateway for router 54f57bb0-8e57-4757-a7f0-5648f4a42056 to network 18aaed0f-ec3c-4727-a96d-a2783badf87c 2026-04-17 09:16:27,878 - INFO - Adding interface with subnet_id 51640a02-a47e-4e3b-a946-5303c8661c17, port_id None to router 54f57bb0-8e57-4757-a7f0-5648f4a42056 2026-04-17 09:16:28,159 - INFO - Waiting for VM ctest-TestRoutersBasic-40748005-51377332 to be up.. 2026-04-17 09:16:28,293 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 09:16:33,375 - DEBUG - VM is in ACTIVE state now 2026-04-17 09:16:33,376 - INFO - VM name : ctest-TestRoutersBasic-40748005-51377332 2026-04-17 09:16:33,465 - DEBUG - VM ctest-TestRoutersBasic-40748005-51377332 ID is 95af4913-1002-4197-b38c-e9eaf66c0274 2026-04-17 09:16:33,495 - DEBUG - VM ctest-TestRoutersBasic-40748005-51377332 launched on Node cn-jenkins-deploy-platform-ansible-os-5633-1 2026-04-17 09:16:33,584 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/95af4913-1002-4197-b38c-e9eaf66c0274 2026-04-17 09:16:33,892 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/95af4913-1002-4197-b38c-e9eaf66c0274 2026-04-17 09:16:33,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0437277a-4147-4842-aca4-c3f03f91a091 2026-04-17 09:16:37,173 - 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 1015ms') 2026-04-17 09:16:37,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40748005-51377332 failed! 2026-04-17 09:16:37,234 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40748005:ctest-vn-18747904 is 124.118.27.193 and allocation pool is NOT set 2026-04-17 09:16:39,300 - 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=3.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.486 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.486/1.942/3.399/1.456 ms') 2026-04-17 09:16:39,300 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40748005-51377332 passed 2026-04-17 09:16:39,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:16:39,462 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40748005-51377332, IP 124.118.27.195, Port 22 2026-04-17 09:16:39,636 - DEBUG - VM ctest-TestRoutersBasic-40748005-51377332 is ready for SSH connections 2026-04-17 09:16:39,636 - INFO - Waiting for VM ctest-TestRoutersBasic-40748005-70718710 to be up.. 2026-04-17 09:16:39,730 - DEBUG - VM is in ACTIVE state now 2026-04-17 09:16:39,730 - INFO - VM name : ctest-TestRoutersBasic-40748005-70718710 2026-04-17 09:16:39,832 - DEBUG - VM ctest-TestRoutersBasic-40748005-70718710 ID is 1b689a88-9062-42d4-8e83-20824c5aebcd 2026-04-17 09:16:39,832 - DEBUG - VM ctest-TestRoutersBasic-40748005-70718710 launched on Node cn-jenkins-deploy-platform-ansible-os-5633-1 2026-04-17 09:16:39,918 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1b689a88-9062-42d4-8e83-20824c5aebcd 2026-04-17 09:16:39,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b3c4ee7a-503c-4323-aaf6-27421abfa91e 2026-04-17 09:16:41,159 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.671 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.671/1.973/3.276/1.302 ms') 2026-04-17 09:16:41,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40748005-70718710 passed 2026-04-17 09:16:41,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:16:41,310 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40748005-70718710, IP 215.77.126.67, Port 22 2026-04-17 09:16:41,477 - DEBUG - VM ctest-TestRoutersBasic-40748005-70718710 is ready for SSH connections 2026-04-17 09:16:41,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 09:16:41,477 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.77.126.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-17 09:16:41,477 - DEBUG - ping -s 56 -c 3 -W 1 215.77.126.67 2026-04-17 09:16:45,194 - DEBUG - PING 215.77.126.67 (215.77.126.67): 56 data bytes 64 bytes from 215.77.126.67: seq=0 ttl=62 time=7.229 ms 64 bytes from 215.77.126.67: seq=1 ttl=62 time=1.023 ms 64 bytes from 215.77.126.67: seq=2 ttl=62 time=1.220 ms --- 215.77.126.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.023/3.157/7.229 ms 2026-04-17 09:16:45,194 - INFO - Ping to IP 215.77.126.67 from VM ctest-TestRoutersBasic-40748005-51377332 passed 2026-04-17 09:16:45,194 - INFO - Deleting interface with subnet_id 51640a02-a47e-4e3b-a946-5303c8661c17, port_id None from router 54f57bb0-8e57-4757-a7f0-5648f4a42056 2026-04-17 09:16:45,402 - INFO - Deleting VM ctest-TestRoutersBasic-40748005-70718710 2026-04-17 09:16:45,475 - INFO - Deleting VM ctest-TestRoutersBasic-40748005-51377332 2026-04-17 09:16:45,570 - INFO - Deleting VN ctest-ext_vn-85146408 2026-04-17 09:16:45,653 - DEBUG - VN 18aaed0f-ec3c-4727-a96d-a2783badf87c still in use: Unable to complete operation on network 18aaed0f-ec3c-4727-a96d-a2783badf87c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cbd142f6-e166-485e-b838-826d15fb1f8d'] 2026-04-17 09:16:45,653 - WARNING - Deleting VN ctest-ext_vn-85146408 failed..Will retry 2026-04-17 09:16:47,762 - DEBUG - Response for deleting network () 2026-04-17 09:16:47,762 - INFO - Deleting VN ctest-vn-18747904 2026-04-17 09:16:47,866 - DEBUG - Response for deleting network () 2026-04-17 09:16:48,145 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 09:16:48,145 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-17 09:16:48,145 - INFO - -------------------------------------------------------------------------------- 2026-04-17 09:16:48,843 - INFO - Deleted project: ctest-TestRoutersBasic-40748005, ID : 27b635ee-45de-4c3b-a9ac-bf33d30b71e7