2026-04-21 16:47:12,965 - INFO - Domain Default found not creating 2026-04-21 16:47:13,161 - INFO - Project ctest-TestRoutersBasic-50273642 not found, creating it 2026-04-21 16:47:13,678 - INFO - Created Project:ctest-TestRoutersBasic-50273642, ID : d6ba1572-d443-4ad6-a8e7-0f62844eb962 2026-04-21 16:47:15,743 - INFO - ================================================================================ 2026-04-21 16:47:15,743 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-21 16:47:15,744 - 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-21 16:47:16,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 16:47:16,008 - INFO - Initial checks done. Running the testcase now 2026-04-21 16:47:16,009 - INFO - 2026-04-21 16:47:16,892 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-50273642 2026-04-21 16:47:16,986 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-50273642 2026-04-21 16:47:17,325 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50273642', 'default']} 2026-04-21 16:47:17,630 - DEBUG - Response for create_network : {'network': {'id': '7583b41f-a88e-4a00-9a1f-c45b0504d049', 'name': 'ctest-vn-18118694', 'tenant_id': 'd6ba1572d4434ad6a8e70f62844eb962', 'project_id': 'd6ba1572d4434ad6a8e70f62844eb962', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50273642', 'ctest-vn-18118694'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 16:47:17,837 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3e727b8-1e91-43b1-9a21-d4b85d7189b4', 'name': '', 'tenant_id': 'd6ba1572d4434ad6a8e70f62844eb962', 'network_id': '7583b41f-a88e-4a00-9a1f-c45b0504d049', 'ip_version': 4, 'cidr': '14.136.252.64/26', 'allocation_pools': [{'start': '14.136.252.66', 'end': '14.136.252.126'}], 'gateway_ip': '14.136.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.136.252.66', 'tags': [], 'project_id': 'd6ba1572d4434ad6a8e70f62844eb962'}} 2026-04-21 16:47:17,857 - INFO - Created VN ctest-vn-18118694 2026-04-21 16:47:17,914 - DEBUG - VN ctest-vn-18118694 UUID is 7583b41f-a88e-4a00-9a1f-c45b0504d049 2026-04-21 16:47:18,234 - DEBUG - Response for create_network : {'network': {'id': '6931b34e-7b6d-4fd8-a17f-5b10e5561cb1', 'name': 'ctest-ext_vn-95458401', 'tenant_id': 'd6ba1572d4434ad6a8e70f62844eb962', 'project_id': 'd6ba1572d4434ad6a8e70f62844eb962', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-50273642', 'ctest-ext_vn-95458401'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 16:47:18,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7577751-d4dc-4766-b801-f63e6ff88b64', 'name': '', 'tenant_id': 'd6ba1572d4434ad6a8e70f62844eb962', 'network_id': '6931b34e-7b6d-4fd8-a17f-5b10e5561cb1', 'ip_version': 4, 'cidr': '92.173.97.192/26', 'allocation_pools': [{'start': '92.173.97.194', 'end': '92.173.97.254'}], 'gateway_ip': '92.173.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.173.97.194', 'tags': [], 'project_id': 'd6ba1572d4434ad6a8e70f62844eb962'}} 2026-04-21 16:47:18,429 - INFO - Created VN ctest-ext_vn-95458401 2026-04-21 16:47:18,482 - DEBUG - VN ctest-ext_vn-95458401 UUID is 6931b34e-7b6d-4fd8-a17f-5b10e5561cb1 2026-04-21 16:47:18,664 - DEBUG - Services list from nova: [, , ] 2026-04-21 16:47:19,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5661-1) 2026-04-21 16:47:21,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5661-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5661-1) 2026-04-21 16:47:21,182 - INFO - Setting gateway for router 1a41f2c0-fec5-4c4a-b788-e411edcdbafe to network 6931b34e-7b6d-4fd8-a17f-5b10e5561cb1 2026-04-21 16:47:21,261 - INFO - Adding interface with subnet_id d3e727b8-1e91-43b1-9a21-d4b85d7189b4, port_id None to router 1a41f2c0-fec5-4c4a-b788-e411edcdbafe 2026-04-21 16:47:21,611 - INFO - Waiting for VM ctest-TestRoutersBasic-50273642-41001448 to be up.. 2026-04-21 16:47:21,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 16:47:26,900 - DEBUG - VM is in ACTIVE state now 2026-04-21 16:47:26,900 - INFO - VM name : ctest-TestRoutersBasic-50273642-41001448 2026-04-21 16:47:26,986 - DEBUG - VM ctest-TestRoutersBasic-50273642-41001448 ID is b7bb12c9-d214-4e9b-840b-18e61acc07b4 2026-04-21 16:47:27,007 - DEBUG - VM ctest-TestRoutersBasic-50273642-41001448 launched on Node cn-jenkins-deploy-platform-ansible-os-5661-1 2026-04-21 16:47:27,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b7bb12c9-d214-4e9b-840b-18e61acc07b4 2026-04-21 16:47:27,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b7bb12c9-d214-4e9b-840b-18e61acc07b4 2026-04-21 16:47:27,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/17301ee9-41fa-49f6-9bc1-b15ce7563cfe 2026-04-21 16:47:30,775 - 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 1026ms') 2026-04-21 16:47:30,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50273642-41001448 failed! 2026-04-21 16:47:30,830 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-50273642:ctest-vn-18118694 is 14.136.252.65 and allocation pool is NOT set 2026-04-21 16:47:32,897 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.41 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 = 2.409/3.719/5.030/1.310 ms') 2026-04-21 16:47:32,897 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-50273642-41001448 passed 2026-04-21 16:47:33,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:47:33,058 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50273642-41001448, IP 14.136.252.67, Port 22 2026-04-21 16:47:33,224 - DEBUG - VM ctest-TestRoutersBasic-50273642-41001448 is ready for SSH connections 2026-04-21 16:47:33,224 - INFO - Waiting for VM ctest-TestRoutersBasic-50273642-38499826 to be up.. 2026-04-21 16:47:33,316 - DEBUG - VM is in ACTIVE state now 2026-04-21 16:47:33,316 - INFO - VM name : ctest-TestRoutersBasic-50273642-38499826 2026-04-21 16:47:33,401 - DEBUG - VM ctest-TestRoutersBasic-50273642-38499826 ID is 4364b7e6-1db6-4a59-944e-46963ab0de2f 2026-04-21 16:47:33,401 - DEBUG - VM ctest-TestRoutersBasic-50273642-38499826 launched on Node cn-jenkins-deploy-platform-ansible-os-5661-1 2026-04-21 16:47:33,501 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4364b7e6-1db6-4a59-944e-46963ab0de2f 2026-04-21 16:47:33,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c101f735-2003-4ea8-baa7-85e2fae8fa0b 2026-04-21 16:47:34,765 - 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=4.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.532 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.532/2.321/4.111/1.789 ms') 2026-04-21 16:47:34,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-50273642-38499826 passed 2026-04-21 16:47:34,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:47:34,918 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-50273642-38499826, IP 92.173.97.195, Port 22 2026-04-21 16:47:35,083 - DEBUG - VM ctest-TestRoutersBasic-50273642-38499826 is ready for SSH connections 2026-04-21 16:47:35,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 16:47:35,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.173.97.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 16:47:35,084 - DEBUG - ping -s 56 -c 3 -W 1 92.173.97.195 2026-04-21 16:47:38,829 - DEBUG - PING 92.173.97.195 (92.173.97.195): 56 data bytes 64 bytes from 92.173.97.195: seq=0 ttl=62 time=5.259 ms 64 bytes from 92.173.97.195: seq=1 ttl=62 time=1.226 ms 64 bytes from 92.173.97.195: seq=2 ttl=62 time=1.344 ms --- 92.173.97.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.226/2.609/5.259 ms 2026-04-21 16:47:38,829 - INFO - Ping to IP 92.173.97.195 from VM ctest-TestRoutersBasic-50273642-41001448 passed 2026-04-21 16:47:38,830 - INFO - Deleting interface with subnet_id d3e727b8-1e91-43b1-9a21-d4b85d7189b4, port_id None from router 1a41f2c0-fec5-4c4a-b788-e411edcdbafe 2026-04-21 16:47:39,048 - INFO - Deleting VM ctest-TestRoutersBasic-50273642-38499826 2026-04-21 16:47:39,131 - INFO - Deleting VM ctest-TestRoutersBasic-50273642-41001448 2026-04-21 16:47:39,248 - INFO - Deleting VN ctest-ext_vn-95458401 2026-04-21 16:47:39,337 - DEBUG - VN 6931b34e-7b6d-4fd8-a17f-5b10e5561cb1 still in use: Unable to complete operation on network 6931b34e-7b6d-4fd8-a17f-5b10e5561cb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d647b2de-fd69-4284-8b05-9f44ec3f80e4'] 2026-04-21 16:47:39,337 - WARNING - Deleting VN ctest-ext_vn-95458401 failed..Will retry 2026-04-21 16:47:41,446 - DEBUG - Response for deleting network () 2026-04-21 16:47:41,446 - INFO - Deleting VN ctest-vn-18118694 2026-04-21 16:47:41,568 - DEBUG - Response for deleting network () 2026-04-21 16:47:41,833 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 16:47:41,833 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-04-21 16:47:41,834 - INFO - -------------------------------------------------------------------------------- 2026-04-21 16:47:42,617 - INFO - Deleted project: ctest-TestRoutersBasic-50273642, ID : d6ba1572-d443-4ad6-a8e7-0f62844eb962