2026-06-19 15:51:14,589 - INFO - Domain Default found not creating 2026-06-19 15:51:14,793 - INFO - Project ctest-TestRoutersBasic-67600358 not found, creating it 2026-06-19 15:51:15,258 - INFO - Created Project:ctest-TestRoutersBasic-67600358, ID : 8a42987a-899a-4f54-8d27-73be4cc4f195 2026-06-19 15:51:16,652 - INFO - ================================================================================ 2026-06-19 15:51:16,652 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-19 15:51:16,652 - 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-06-19 15:51:16,903 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2026-06-19 15:51:16,903 - INFO - Initial checks done. Running the testcase now 2026-06-19 15:51:16,903 - INFO - 2026-06-19 15:51:17,628 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-67600358 2026-06-19 15:51:17,722 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-67600358 2026-06-19 15:51:18,034 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67600358', 'default']} 2026-06-19 15:51:18,287 - DEBUG - Response for create_network : {'network': {'id': '7533eb36-cda6-47f9-98ce-f5fe2fa9602c', 'name': 'ctest-vn-97111350', 'tenant_id': '8a42987a899a4f548d2773be4cc4f195', 'project_id': '8a42987a899a4f548d2773be4cc4f195', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67600358', 'ctest-vn-97111350'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 15:51:18,445 - DEBUG - Response for create_subnet : {'subnet': {'id': '617e360d-94fe-417a-9f47-db30fb636441', 'name': '', 'tenant_id': '8a42987a899a4f548d2773be4cc4f195', 'network_id': '7533eb36-cda6-47f9-98ce-f5fe2fa9602c', 'ip_version': 4, 'cidr': '138.189.230.0/26', 'allocation_pools': [{'start': '138.189.230.2', 'end': '138.189.230.62'}], 'gateway_ip': '138.189.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.189.230.2', 'tags': [], 'project_id': '8a42987a899a4f548d2773be4cc4f195'}} 2026-06-19 15:51:18,457 - INFO - Created VN ctest-vn-97111350 2026-06-19 15:51:18,506 - DEBUG - VN ctest-vn-97111350 UUID is 7533eb36-cda6-47f9-98ce-f5fe2fa9602c 2026-06-19 15:51:18,818 - DEBUG - Response for create_network : {'network': {'id': 'a25f3563-b5ae-44f3-b996-deabbf2de775', 'name': 'ctest-ext_vn-98051941', 'tenant_id': '8a42987a899a4f548d2773be4cc4f195', 'project_id': '8a42987a899a4f548d2773be4cc4f195', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-67600358', 'ctest-ext_vn-98051941'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 15:51:19,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da60b885-d9f6-4425-aa6f-951b88950e90', 'name': '', 'tenant_id': '8a42987a899a4f548d2773be4cc4f195', 'network_id': 'a25f3563-b5ae-44f3-b996-deabbf2de775', 'ip_version': 4, 'cidr': '31.153.142.128/26', 'allocation_pools': [{'start': '31.153.142.130', 'end': '31.153.142.190'}], 'gateway_ip': '31.153.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.153.142.130', 'tags': [], 'project_id': '8a42987a899a4f548d2773be4cc4f195'}} 2026-06-19 15:51:19,024 - INFO - Created VN ctest-ext_vn-98051941 2026-06-19 15:51:19,074 - DEBUG - VN ctest-ext_vn-98051941 UUID is a25f3563-b5ae-44f3-b996-deabbf2de775 2026-06-19 15:51:19,251 - DEBUG - Services list from nova: [, , ] 2026-06-19 15:51:20,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5997-1) 2026-06-19 15:51:21,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5997-1) 2026-06-19 15:51:21,308 - INFO - Setting gateway for router 1be34181-e754-44cb-979d-dc3720e4b108 to network a25f3563-b5ae-44f3-b996-deabbf2de775 2026-06-19 15:51:21,360 - INFO - Adding interface with subnet_id 617e360d-94fe-417a-9f47-db30fb636441, port_id None to router 1be34181-e754-44cb-979d-dc3720e4b108 2026-06-19 15:51:21,527 - INFO - Waiting for VM ctest-TestRoutersBasic-67600358-22021345 to be up.. 2026-06-19 15:51:21,567 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 15:51:26,651 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 15:51:31,721 - DEBUG - VM is in ACTIVE state now 2026-06-19 15:51:31,721 - INFO - VM name : ctest-TestRoutersBasic-67600358-22021345 2026-06-19 15:51:31,780 - DEBUG - VM ctest-TestRoutersBasic-67600358-22021345 ID is 9e7c6ab5-de24-4580-8ee0-dabef38974be 2026-06-19 15:51:31,797 - DEBUG - VM ctest-TestRoutersBasic-67600358-22021345 launched on Node cn-jenkins-deploy-platform-ansible-os-5997-1 2026-06-19 15:51:31,855 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9e7c6ab5-de24-4580-8ee0-dabef38974be 2026-06-19 15:51:32,176 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9e7c6ab5-de24-4580-8ee0-dabef38974be 2026-06-19 15:51:32,200 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3892294a-b4fc-4d62-9aea-6019c9ed5add 2026-06-19 15:51:35,460 - 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 1022ms') 2026-06-19 15:51:35,460 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-67600358-22021345 failed! 2026-06-19 15:51:35,514 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-67600358:ctest-vn-97111350 is 138.189.230.1 and allocation pool is NOT set 2026-06-19 15:51:37,580 - 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=3.05 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.441 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.441/1.746/3.052/1.305 ms') 2026-06-19 15:51:37,580 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-67600358-22021345 passed 2026-06-19 15:51:37,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 15:51:37,726 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67600358-22021345, IP 138.189.230.3, Port 22 2026-06-19 15:51:37,886 - DEBUG - VM ctest-TestRoutersBasic-67600358-22021345 is ready for SSH connections 2026-06-19 15:51:37,886 - INFO - Waiting for VM ctest-TestRoutersBasic-67600358-52445954 to be up.. 2026-06-19 15:51:37,949 - DEBUG - VM is in ACTIVE state now 2026-06-19 15:51:37,949 - INFO - VM name : ctest-TestRoutersBasic-67600358-52445954 2026-06-19 15:51:38,008 - DEBUG - VM ctest-TestRoutersBasic-67600358-52445954 ID is 2d7aa821-21ab-47c2-84b8-690a53e32706 2026-06-19 15:51:38,008 - DEBUG - VM ctest-TestRoutersBasic-67600358-52445954 launched on Node cn-jenkins-deploy-platform-ansible-os-5997-1 2026-06-19 15:51:38,067 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2d7aa821-21ab-47c2-84b8-690a53e32706 2026-06-19 15:51:38,074 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c08fcbba-89e9-4110-8d84-0f5e30edda63 2026-06-19 15:51:39,297 - 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.55 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.859 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.859/2.705/4.552/1.846 ms') 2026-06-19 15:51:39,298 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-67600358-52445954 passed 2026-06-19 15:51:39,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 15:51:39,447 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-67600358-52445954, IP 31.153.142.132, Port 22 2026-06-19 15:51:39,598 - DEBUG - VM ctest-TestRoutersBasic-67600358-52445954 is ready for SSH connections 2026-06-19 15:51:39,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 15:51:39,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.153.142.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-19 15:51:39,598 - DEBUG - ping -s 56 -c 3 -W 1 31.153.142.132 2026-06-19 15:51:42,173 - DEBUG - PING 31.153.142.132 (31.153.142.132): 56 data bytes 64 bytes from 31.153.142.132: seq=0 ttl=62 time=7.841 ms 64 bytes from 31.153.142.132: seq=1 ttl=62 time=0.877 ms 64 bytes from 31.153.142.132: seq=2 ttl=62 time=1.045 ms --- 31.153.142.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/3.254/7.841 ms 2026-06-19 15:51:42,173 - INFO - Ping to IP 31.153.142.132 from VM ctest-TestRoutersBasic-67600358-22021345 passed 2026-06-19 15:51:42,173 - INFO - Deleting interface with subnet_id 617e360d-94fe-417a-9f47-db30fb636441, port_id None from router 1be34181-e754-44cb-979d-dc3720e4b108 2026-06-19 15:51:42,320 - INFO - Deleting VM ctest-TestRoutersBasic-67600358-52445954 2026-06-19 15:51:42,389 - INFO - Deleting VM ctest-TestRoutersBasic-67600358-22021345 2026-06-19 15:51:42,448 - INFO - Deleting VN ctest-ext_vn-98051941 2026-06-19 15:51:42,497 - DEBUG - VN a25f3563-b5ae-44f3-b996-deabbf2de775 still in use: Unable to complete operation on network a25f3563-b5ae-44f3-b996-deabbf2de775. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c137c8ed-fd6a-4646-9426-41f3d23f1ef7'] 2026-06-19 15:51:42,497 - WARNING - Deleting VN ctest-ext_vn-98051941 failed..Will retry 2026-06-19 15:51:44,589 - DEBUG - Response for deleting network () 2026-06-19 15:51:44,589 - INFO - Deleting VN ctest-vn-97111350 2026-06-19 15:51:44,668 - DEBUG - Response for deleting network () 2026-06-19 15:51:44,918 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 15:51:44,918 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2026-06-19 15:51:44,919 - INFO - -------------------------------------------------------------------------------- 2026-06-19 15:51:45,608 - INFO - Deleted project: ctest-TestRoutersBasic-67600358, ID : 8a42987a-899a-4f54-8d27-73be4cc4f195