2026-08-21 13:31:12,806 - INFO - Domain Default found not creating 2026-08-21 13:31:13,003 - INFO - Project ctest-TestRoutersBasic-97291151 not found, creating it 2026-08-21 13:31:13,520 - INFO - Created Project:ctest-TestRoutersBasic-97291151, ID : b9a89b1f-1a77-4d81-a25d-6d34f2a0ce63 2026-08-21 13:31:15,405 - INFO - ================================================================================ 2026-08-21 13:31:15,405 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-21 13:31:15,406 - 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-08-21 13:31:15,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.17': '0'}} with 2026-08-21 13:31:15,666 - INFO - Initial checks done. Running the testcase now 2026-08-21 13:31:15,666 - INFO - 2026-08-21 13:31:16,544 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97291151 2026-08-21 13:31:16,648 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97291151 2026-08-21 13:31:16,988 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97291151', 'default']} 2026-08-21 13:31:17,314 - DEBUG - Response for create_network : {'network': {'id': 'b8bb0156-bb0d-48f0-b7ee-86f3496b91c0', 'name': 'ctest-vn-59956011', 'tenant_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63', 'project_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97291151', 'ctest-vn-59956011'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:31:17,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '69cb2c2b-3b33-4768-8e0b-b0febe744e56', 'name': '', 'tenant_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63', 'network_id': 'b8bb0156-bb0d-48f0-b7ee-86f3496b91c0', 'ip_version': 4, 'cidr': '37.90.10.0/26', 'allocation_pools': [{'start': '37.90.10.2', 'end': '37.90.10.62'}], 'gateway_ip': '37.90.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.90.10.2', 'tags': [], 'project_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63'}} 2026-08-21 13:31:17,550 - INFO - Created VN ctest-vn-59956011 2026-08-21 13:31:17,604 - DEBUG - VN ctest-vn-59956011 UUID is b8bb0156-bb0d-48f0-b7ee-86f3496b91c0 2026-08-21 13:31:17,986 - DEBUG - Response for create_network : {'network': {'id': 'a28dec29-f9a5-462f-9c8e-2f90d73ce5c9', 'name': 'ctest-ext_vn-57883888', 'tenant_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63', 'project_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97291151', 'ctest-ext_vn-57883888'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:31:18,213 - DEBUG - Response for create_subnet : {'subnet': {'id': '54fe6d4b-b969-4953-b6e5-a939868b9184', 'name': '', 'tenant_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63', 'network_id': 'a28dec29-f9a5-462f-9c8e-2f90d73ce5c9', 'ip_version': 4, 'cidr': '91.168.176.0/26', 'allocation_pools': [{'start': '91.168.176.2', 'end': '91.168.176.62'}], 'gateway_ip': '91.168.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.168.176.2', 'tags': [], 'project_id': 'b9a89b1f1a774d81a25d6d34f2a0ce63'}} 2026-08-21 13:31:18,231 - INFO - Created VN ctest-ext_vn-57883888 2026-08-21 13:31:18,284 - DEBUG - VN ctest-ext_vn-57883888 UUID is a28dec29-f9a5-462f-9c8e-2f90d73ce5c9 2026-08-21 13:31:18,497 - DEBUG - Services list from nova: [, , ] 2026-08-21 13:31:18,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6202-1) 2026-08-21 13:31:19,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6202-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6202-1) 2026-08-21 13:31:19,322 - INFO - Setting gateway for router ac086428-d540-4d84-890a-c4ff1d2692b2 to network a28dec29-f9a5-462f-9c8e-2f90d73ce5c9 2026-08-21 13:31:19,383 - INFO - Adding interface with subnet_id 69cb2c2b-3b33-4768-8e0b-b0febe744e56, port_id None to router ac086428-d540-4d84-890a-c4ff1d2692b2 2026-08-21 13:31:19,726 - INFO - Waiting for VM ctest-TestRoutersBasic-97291151-30821299 to be up.. 2026-08-21 13:31:19,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:31:24,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:31:29,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:31:35,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:31:40,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:31:45,327 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:31:50,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:31:55,500 - DEBUG - VM is in ACTIVE state now 2026-08-21 13:31:55,500 - INFO - VM name : ctest-TestRoutersBasic-97291151-30821299 2026-08-21 13:31:55,588 - DEBUG - VM ctest-TestRoutersBasic-97291151-30821299 ID is f984a780-3c5c-4cee-bdad-958bd2547e6f 2026-08-21 13:31:55,607 - DEBUG - VM ctest-TestRoutersBasic-97291151-30821299 launched on Node cn-jenkins-deploy-platform-ansible-os-6202-1 2026-08-21 13:31:55,681 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/f984a780-3c5c-4cee-bdad-958bd2547e6f 2026-08-21 13:31:56,050 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/f984a780-3c5c-4cee-bdad-958bd2547e6f 2026-08-21 13:31:56,082 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/ed4a27e5-83de-45c4-9d42-2e45119e0d74 2026-08-21 13:31:59,374 - 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 1028ms') 2026-08-21 13:31:59,374 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97291151-30821299 failed! 2026-08-21 13:31:59,436 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97291151:ctest-vn-59956011 is 37.90.10.1 and allocation pool is NOT set 2026-08-21 13:32:01,496 - 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=10.0 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.324 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.324/5.159/9.995/4.835 ms') 2026-08-21 13:32:01,496 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97291151-30821299 passed 2026-08-21 13:32:01,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:32:01,648 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97291151-30821299, IP 37.90.10.3, Port 22 2026-08-21 13:32:01,817 - DEBUG - VM ctest-TestRoutersBasic-97291151-30821299 is ready for SSH connections 2026-08-21 13:32:01,818 - INFO - Waiting for VM ctest-TestRoutersBasic-97291151-95052728 to be up.. 2026-08-21 13:32:01,941 - DEBUG - VM is in ACTIVE state now 2026-08-21 13:32:01,942 - INFO - VM name : ctest-TestRoutersBasic-97291151-95052728 2026-08-21 13:32:02,040 - DEBUG - VM ctest-TestRoutersBasic-97291151-95052728 ID is 59c3cf17-1494-48f1-b4cc-44c9534d8225 2026-08-21 13:32:02,040 - DEBUG - VM ctest-TestRoutersBasic-97291151-95052728 launched on Node cn-jenkins-deploy-platform-ansible-os-6202-1 2026-08-21 13:32:02,138 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/59c3cf17-1494-48f1-b4cc-44c9534d8225 2026-08-21 13:32:02,149 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/37262cb5-b2a8-40ef-b740-c5911515c1f4 2026-08-21 13:32:05,418 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms') 2026-08-21 13:32:05,418 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-97291151-95052728 failed! 2026-08-21 13:32:05,476 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97291151:ctest-ext_vn-57883888 is 91.168.176.1 and allocation pool is NOT set 2026-08-21 13:32:09,545 - 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=2 ttl=63 time=4.26 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 4.264/4.264/4.264/0.000 ms') 2026-08-21 13:32:09,545 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-97291151-95052728 passed 2026-08-21 13:32:09,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:32:09,704 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97291151-95052728, IP 91.168.176.4, Port 22 2026-08-21 13:32:09,873 - DEBUG - VM ctest-TestRoutersBasic-97291151-95052728 is ready for SSH connections 2026-08-21 13:32:09,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:32:09,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.168.176.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123 2026-08-21 13:32:09,874 - DEBUG - ping -s 56 -c 3 -W 1 91.168.176.4 2026-08-21 13:32:12,917 - DEBUG - PING 91.168.176.4 (91.168.176.4): 56 data bytes 64 bytes from 91.168.176.4: seq=0 ttl=62 time=8.161 ms 64 bytes from 91.168.176.4: seq=1 ttl=62 time=1.381 ms 64 bytes from 91.168.176.4: seq=2 ttl=62 time=1.167 ms --- 91.168.176.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.167/3.569/8.161 ms 2026-08-21 13:32:12,917 - INFO - Ping to IP 91.168.176.4 from VM ctest-TestRoutersBasic-97291151-30821299 passed 2026-08-21 13:32:12,918 - INFO - Deleting interface with subnet_id 69cb2c2b-3b33-4768-8e0b-b0febe744e56, port_id None from router ac086428-d540-4d84-890a-c4ff1d2692b2 2026-08-21 13:32:13,185 - INFO - Deleting VM ctest-TestRoutersBasic-97291151-95052728 2026-08-21 13:32:13,298 - INFO - Deleting VM ctest-TestRoutersBasic-97291151-30821299 2026-08-21 13:32:13,377 - INFO - Deleting VN ctest-ext_vn-57883888 2026-08-21 13:32:13,448 - DEBUG - VN a28dec29-f9a5-462f-9c8e-2f90d73ce5c9 still in use: Unable to complete operation on network a28dec29-f9a5-462f-9c8e-2f90d73ce5c9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bd0ca418-d748-4f11-8879-e4e5778e145d'] 2026-08-21 13:32:13,448 - WARNING - Deleting VN ctest-ext_vn-57883888 failed..Will retry 2026-08-21 13:32:15,597 - DEBUG - Response for deleting network () 2026-08-21 13:32:15,597 - INFO - Deleting VN ctest-vn-59956011 2026-08-21 13:32:15,723 - DEBUG - Response for deleting network () 2026-08-21 13:32:15,982 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 13:32:15,982 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-08-21 13:32:15,982 - INFO - -------------------------------------------------------------------------------- 2026-08-21 13:32:16,812 - INFO - Deleted project: ctest-TestRoutersBasic-97291151, ID : b9a89b1f-1a77-4d81-a25d-6d34f2a0ce63