2026-01-19 02:14:48,940 - INFO - Domain Default found not creating 2026-01-19 02:14:49,094 - INFO - Project ctest-TestRoutersBasic-32340341 not found, creating it 2026-01-19 02:14:49,530 - INFO - Created Project:ctest-TestRoutersBasic-32340341, ID : 06ebfb50-9b55-445a-b5f5-315e2ee357af 2026-01-19 02:14:51,027 - INFO - ================================================================================ 2026-01-19 02:14:51,027 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-19 02:14:51,027 - 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-19 02:14:51,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.209': '0'}} with 2026-01-19 02:14:51,280 - INFO - Initial checks done. Running the testcase now 2026-01-19 02:14:51,281 - INFO - 2026-01-19 02:14:52,027 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-32340341 2026-01-19 02:14:52,123 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-32340341 2026-01-19 02:14:52,439 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32340341', 'default']} 2026-01-19 02:14:52,723 - DEBUG - Response for create_network : {'network': {'id': 'fb76c9ff-a98d-4fa9-a44d-57b7628531be', 'name': 'ctest-vn-43194144', 'tenant_id': '06ebfb509b55445ab5f5315e2ee357af', 'project_id': '06ebfb509b55445ab5f5315e2ee357af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32340341', 'ctest-vn-43194144'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:14:52,876 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a14180b8-d84c-4503-905b-66af659b4474', 'name': '', 'tenant_id': '06ebfb509b55445ab5f5315e2ee357af', 'network_id': 'fb76c9ff-a98d-4fa9-a44d-57b7628531be', 'ip_version': 4, 'cidr': '82.162.168.192/26', 'allocation_pools': [{'start': '82.162.168.194', 'end': '82.162.168.254'}], 'gateway_ip': '82.162.168.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.162.168.194', 'tags': [], 'project_id': '06ebfb509b55445ab5f5315e2ee357af'}} 2026-01-19 02:14:52,892 - INFO - Created VN ctest-vn-43194144 2026-01-19 02:14:52,943 - DEBUG - VN ctest-vn-43194144 UUID is fb76c9ff-a98d-4fa9-a44d-57b7628531be 2026-01-19 02:14:53,288 - DEBUG - Response for create_network : {'network': {'id': '3b6268cb-3f21-4585-bbc6-b11a1e8a5ac8', 'name': 'ctest-ext_vn-05761004', 'tenant_id': '06ebfb509b55445ab5f5315e2ee357af', 'project_id': '06ebfb509b55445ab5f5315e2ee357af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-32340341', 'ctest-ext_vn-05761004'], 'port_security_enabled': True, 'description': ''}} 2026-01-19 02:14:53,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '20984728-2eff-471c-ae32-68eab5b34dad', 'name': '', 'tenant_id': '06ebfb509b55445ab5f5315e2ee357af', 'network_id': '3b6268cb-3f21-4585-bbc6-b11a1e8a5ac8', 'ip_version': 4, 'cidr': '21.50.150.64/26', 'allocation_pools': [{'start': '21.50.150.66', 'end': '21.50.150.126'}], 'gateway_ip': '21.50.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.50.150.66', 'tags': [], 'project_id': '06ebfb509b55445ab5f5315e2ee357af'}} 2026-01-19 02:14:53,441 - INFO - Created VN ctest-ext_vn-05761004 2026-01-19 02:14:53,491 - DEBUG - VN ctest-ext_vn-05761004 UUID is 3b6268cb-3f21-4585-bbc6-b11a1e8a5ac8 2026-01-19 02:14:53,655 - DEBUG - Services list from nova: [, , ] 2026-01-19 02:14:54,663 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5037-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5037-1) 2026-01-19 02:14:55,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5037-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5037-1) 2026-01-19 02:14:55,941 - INFO - Setting gateway for router 690d8333-d129-454d-aa5a-1e428950b185 to network 3b6268cb-3f21-4585-bbc6-b11a1e8a5ac8 2026-01-19 02:14:55,993 - INFO - Adding interface with subnet_id a14180b8-d84c-4503-905b-66af659b4474, port_id None to router 690d8333-d129-454d-aa5a-1e428950b185 2026-01-19 02:14:56,308 - INFO - Waiting for VM ctest-TestRoutersBasic-32340341-58192825 to be up.. 2026-01-19 02:14:56,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-19 02:15:01,573 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:15:01,573 - INFO - VM name : ctest-TestRoutersBasic-32340341-58192825 2026-01-19 02:15:01,672 - DEBUG - VM ctest-TestRoutersBasic-32340341-58192825 ID is 34997a2a-1a8e-417a-8765-5506e8008141 2026-01-19 02:15:01,696 - DEBUG - VM ctest-TestRoutersBasic-32340341-58192825 launched on Node cn-jenkins-deploy-platform-ansible-os-5037-1 2026-01-19 02:15:01,786 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/34997a2a-1a8e-417a-8765-5506e8008141 2026-01-19 02:15:02,094 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/34997a2a-1a8e-417a-8765-5506e8008141 2026-01-19 02:15:02,147 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/d8c5fac2-a56b-4b40-99a2-9afb653c9f37 2026-01-19 02:15:05,401 - 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 1017ms') 2026-01-19 02:15:05,401 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32340341-58192825 failed! 2026-01-19 02:15:05,455 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-32340341:ctest-vn-43194144 is 82.162.168.193 and allocation pool is NOT set 2026-01-19 02:15:07,522 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.02 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.019/3.797/5.576/1.778 ms') 2026-01-19 02:15:07,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-32340341-58192825 passed 2026-01-19 02:15:07,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:15:07,679 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32340341-58192825, IP 82.162.168.195, Port 22 2026-01-19 02:15:07,850 - DEBUG - VM ctest-TestRoutersBasic-32340341-58192825 is ready for SSH connections 2026-01-19 02:15:07,850 - INFO - Waiting for VM ctest-TestRoutersBasic-32340341-07815941 to be up.. 2026-01-19 02:15:07,937 - DEBUG - VM is in ACTIVE state now 2026-01-19 02:15:07,937 - INFO - VM name : ctest-TestRoutersBasic-32340341-07815941 2026-01-19 02:15:08,030 - DEBUG - VM ctest-TestRoutersBasic-32340341-07815941 ID is 492e9f1e-5967-4efc-8b1e-3dcef6574294 2026-01-19 02:15:08,030 - DEBUG - VM ctest-TestRoutersBasic-32340341-07815941 launched on Node cn-jenkins-deploy-platform-ansible-os-5037-1 2026-01-19 02:15:08,111 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/492e9f1e-5967-4efc-8b1e-3dcef6574294 2026-01-19 02:15:08,121 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/41468023-704e-4f88-ab04-22d7e95271b4 2026-01-19 02:15:09,366 - 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=7.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.643 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.643/3.862/7.082/3.219 ms') 2026-01-19 02:15:09,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-32340341-07815941 passed 2026-01-19 02:15:09,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:15:09,519 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-32340341-07815941, IP 21.50.150.67, Port 22 2026-01-19 02:15:09,674 - DEBUG - VM ctest-TestRoutersBasic-32340341-07815941 is ready for SSH connections 2026-01-19 02:15:09,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-19 02:15:09,675 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.50.150.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-01-19 02:15:09,675 - DEBUG - ping -s 56 -c 3 -W 1 21.50.150.67 2026-01-19 02:15:13,452 - DEBUG - PING 21.50.150.67 (21.50.150.67): 56 data bytes 64 bytes from 21.50.150.67: seq=0 ttl=62 time=5.808 ms 64 bytes from 21.50.150.67: seq=1 ttl=62 time=1.052 ms 64 bytes from 21.50.150.67: seq=2 ttl=62 time=1.120 ms --- 21.50.150.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/2.660/5.808 ms 2026-01-19 02:15:13,453 - INFO - Ping to IP 21.50.150.67 from VM ctest-TestRoutersBasic-32340341-58192825 passed 2026-01-19 02:15:13,453 - INFO - Deleting interface with subnet_id a14180b8-d84c-4503-905b-66af659b4474, port_id None from router 690d8333-d129-454d-aa5a-1e428950b185 2026-01-19 02:15:13,676 - INFO - Deleting VM ctest-TestRoutersBasic-32340341-07815941 2026-01-19 02:15:13,747 - INFO - Deleting VM ctest-TestRoutersBasic-32340341-58192825 2026-01-19 02:15:13,850 - INFO - Deleting VN ctest-ext_vn-05761004 2026-01-19 02:15:13,916 - DEBUG - VN 3b6268cb-3f21-4585-bbc6-b11a1e8a5ac8 still in use: Unable to complete operation on network 3b6268cb-3f21-4585-bbc6-b11a1e8a5ac8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85dc1a13-6381-43de-a517-2870c03ed31b'] 2026-01-19 02:15:13,917 - WARNING - Deleting VN ctest-ext_vn-05761004 failed..Will retry 2026-01-19 02:15:16,018 - DEBUG - Response for deleting network () 2026-01-19 02:15:16,018 - INFO - Deleting VN ctest-vn-43194144 2026-01-19 02:15:16,133 - DEBUG - Response for deleting network () 2026-01-19 02:15:16,395 - DEBUG - No XMPP flaps were noticed during the test
2026-01-19 02:15:16,395 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-01-19 02:15:16,395 - INFO - -------------------------------------------------------------------------------- 2026-01-19 02:15:17,137 - INFO - Deleted project: ctest-TestRoutersBasic-32340341, ID : 06ebfb50-9b55-445a-b5f5-315e2ee357af