2026-07-18 14:35:20,980 - INFO - Domain Default found not creating 2026-07-18 14:35:21,160 - INFO - Project ctest-TestRoutersBasic-83750669 not found, creating it 2026-07-18 14:35:21,697 - INFO - Created Project:ctest-TestRoutersBasic-83750669, ID : 19466f74-deaf-4f5b-8f8a-41b2e6b34aa2 2026-07-18 14:35:23,563 - INFO - ================================================================================ 2026-07-18 14:35:23,563 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-07-18 14:35:23,563 - 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-07-18 14:35:23,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-07-18 14:35:23,837 - INFO - Initial checks done. Running the testcase now 2026-07-18 14:35:23,837 - INFO - 2026-07-18 14:35:24,720 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83750669 2026-07-18 14:35:24,818 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83750669 2026-07-18 14:35:25,166 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83750669', 'default']} 2026-07-18 14:35:25,500 - DEBUG - Response for create_network : {'network': {'id': '8d709d18-47a5-4d2a-9f42-fe577d7af5ab', 'name': 'ctest-vn-62581337', 'tenant_id': '19466f74deaf4f5b8f8a41b2e6b34aa2', 'project_id': '19466f74deaf4f5b8f8a41b2e6b34aa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83750669', 'ctest-vn-62581337'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 14:35:25,690 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c462b695-8f85-4e72-bf50-2d8dc4e35b98', 'name': '', 'tenant_id': '19466f74deaf4f5b8f8a41b2e6b34aa2', 'network_id': '8d709d18-47a5-4d2a-9f42-fe577d7af5ab', 'ip_version': 4, 'cidr': '52.216.205.0/26', 'allocation_pools': [{'start': '52.216.205.2', 'end': '52.216.205.62'}], 'gateway_ip': '52.216.205.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.216.205.2', 'tags': [], 'project_id': '19466f74deaf4f5b8f8a41b2e6b34aa2'}} 2026-07-18 14:35:25,711 - INFO - Created VN ctest-vn-62581337 2026-07-18 14:35:25,766 - DEBUG - VN ctest-vn-62581337 UUID is 8d709d18-47a5-4d2a-9f42-fe577d7af5ab 2026-07-18 14:35:26,119 - DEBUG - Response for create_network : {'network': {'id': '32a96460-cd62-405a-8418-3c2cbd1663ba', 'name': 'ctest-ext_vn-56024522', 'tenant_id': '19466f74deaf4f5b8f8a41b2e6b34aa2', 'project_id': '19466f74deaf4f5b8f8a41b2e6b34aa2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83750669', 'ctest-ext_vn-56024522'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 14:35:26,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c76fb5e1-71b3-4b19-a844-b3486349f86d', 'name': '', 'tenant_id': '19466f74deaf4f5b8f8a41b2e6b34aa2', 'network_id': '32a96460-cd62-405a-8418-3c2cbd1663ba', 'ip_version': 4, 'cidr': '198.63.255.192/26', 'allocation_pools': [{'start': '198.63.255.194', 'end': '198.63.255.254'}], 'gateway_ip': '198.63.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.63.255.194', 'tags': [], 'project_id': '19466f74deaf4f5b8f8a41b2e6b34aa2'}} 2026-07-18 14:35:26,318 - INFO - Created VN ctest-ext_vn-56024522 2026-07-18 14:35:26,374 - DEBUG - VN ctest-ext_vn-56024522 UUID is 32a96460-cd62-405a-8418-3c2cbd1663ba 2026-07-18 14:35:26,559 - DEBUG - Services list from nova: [, , ] 2026-07-18 14:35:27,035 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1) 2026-07-18 14:35:27,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6104-1) 2026-07-18 14:35:27,628 - INFO - Setting gateway for router ff3f779c-ace8-4cf7-93d0-b3d8ecae1d3b to network 32a96460-cd62-405a-8418-3c2cbd1663ba 2026-07-18 14:35:27,720 - INFO - Adding interface with subnet_id c462b695-8f85-4e72-bf50-2d8dc4e35b98, port_id None to router ff3f779c-ace8-4cf7-93d0-b3d8ecae1d3b 2026-07-18 14:35:28,022 - INFO - Waiting for VM ctest-TestRoutersBasic-83750669-67215706 to be up.. 2026-07-18 14:35:28,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:35:33,180 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:35:38,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:35:43,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:35:48,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:35:53,607 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:35:58,688 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:36:03,787 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 14:36:08,877 - DEBUG - VM is in ACTIVE state now 2026-07-18 14:36:08,877 - INFO - VM name : ctest-TestRoutersBasic-83750669-67215706 2026-07-18 14:36:08,958 - DEBUG - VM ctest-TestRoutersBasic-83750669-67215706 ID is 749e26cd-a5c6-4e5e-a230-01c68d70055b 2026-07-18 14:36:08,984 - DEBUG - VM ctest-TestRoutersBasic-83750669-67215706 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1 2026-07-18 14:36:09,077 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/749e26cd-a5c6-4e5e-a230-01c68d70055b 2026-07-18 14:36:09,445 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/749e26cd-a5c6-4e5e-a230-01c68d70055b 2026-07-18 14:36:09,479 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/157475b5-92f0-4655-b688-7edf08fe3106 2026-07-18 14:36:12,732 - 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=2 ttl=63 time=4.87 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.871/4.871/4.871/0.000 ms') 2026-07-18 14:36:12,732 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-83750669-67215706 passed 2026-07-18 14:36:12,890 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 14:36:12,891 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83750669-67215706, IP 52.216.205.3, Port 22 2026-07-18 14:36:13,064 - DEBUG - VM ctest-TestRoutersBasic-83750669-67215706 is ready for SSH connections 2026-07-18 14:36:13,064 - INFO - Waiting for VM ctest-TestRoutersBasic-83750669-26212330 to be up.. 2026-07-18 14:36:13,157 - DEBUG - VM is in ACTIVE state now 2026-07-18 14:36:13,157 - INFO - VM name : ctest-TestRoutersBasic-83750669-26212330 2026-07-18 14:36:13,247 - DEBUG - VM ctest-TestRoutersBasic-83750669-26212330 ID is 4157e3b6-e860-4409-abf4-a085d6dca8a3 2026-07-18 14:36:13,247 - DEBUG - VM ctest-TestRoutersBasic-83750669-26212330 launched on Node cn-jenkins-deploy-platform-ansible-os-6104-1 2026-07-18 14:36:13,336 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4157e3b6-e860-4409-abf4-a085d6dca8a3 2026-07-18 14:36:13,345 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/a3f225b3-05e6-4cbf-aeca-ba6e5cd0ea4a 2026-07-18 14:36:16,597 - 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 1008ms') 2026-07-18 14:36:16,597 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-83750669-26212330 failed! 2026-07-18 14:36:16,658 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83750669:ctest-ext_vn-56024522 is 198.63.255.193 and allocation pool is NOT set 2026-07-18 14:36:18,725 - 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=5.28 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.03 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 = 1.030/3.155/5.280/2.125 ms') 2026-07-18 14:36:18,725 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-83750669-26212330 passed 2026-07-18 14:36:18,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 14:36:18,883 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83750669-26212330, IP 198.63.255.196, Port 22 2026-07-18 14:36:19,049 - DEBUG - VM ctest-TestRoutersBasic-83750669-26212330 is ready for SSH connections 2026-07-18 14:36:19,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 14:36:19,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.63.255.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-07-18 14:36:19,050 - DEBUG - ping -s 56 -c 3 -W 1 198.63.255.196 2026-07-18 14:36:22,071 - DEBUG - PING 198.63.255.196 (198.63.255.196): 56 data bytes 64 bytes from 198.63.255.196: seq=0 ttl=62 time=8.000 ms 64 bytes from 198.63.255.196: seq=1 ttl=62 time=1.557 ms 64 bytes from 198.63.255.196: seq=2 ttl=62 time=1.037 ms --- 198.63.255.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.037/3.531/8.000 ms 2026-07-18 14:36:22,071 - INFO - Ping to IP 198.63.255.196 from VM ctest-TestRoutersBasic-83750669-67215706 passed 2026-07-18 14:36:22,072 - INFO - Deleting interface with subnet_id c462b695-8f85-4e72-bf50-2d8dc4e35b98, port_id None from router ff3f779c-ace8-4cf7-93d0-b3d8ecae1d3b 2026-07-18 14:36:22,298 - INFO - Deleting VM ctest-TestRoutersBasic-83750669-26212330 2026-07-18 14:36:22,388 - INFO - Deleting VM ctest-TestRoutersBasic-83750669-67215706 2026-07-18 14:36:22,468 - INFO - Deleting VN ctest-ext_vn-56024522 2026-07-18 14:36:22,562 - DEBUG - VN 32a96460-cd62-405a-8418-3c2cbd1663ba still in use: Unable to complete operation on network 32a96460-cd62-405a-8418-3c2cbd1663ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4767b244-911b-4d46-a0a0-a8163e871f95'] 2026-07-18 14:36:22,562 - WARNING - Deleting VN ctest-ext_vn-56024522 failed..Will retry 2026-07-18 14:36:24,612 - DEBUG - VN 32a96460-cd62-405a-8418-3c2cbd1663ba still in use: Unable to complete operation on network 32a96460-cd62-405a-8418-3c2cbd1663ba. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-412d3ff4-357c-4307-ad92-a7b90c6afaa0'] 2026-07-18 14:36:24,613 - WARNING - Deleting VN ctest-ext_vn-56024522 failed..Will retry 2026-07-18 14:36:26,739 - DEBUG - Response for deleting network () 2026-07-18 14:36:26,740 - INFO - Deleting VN ctest-vn-62581337 2026-07-18 14:36:26,875 - DEBUG - Response for deleting network () 2026-07-18 14:36:27,160 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 14:36:27,160 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-07-18 14:36:27,160 - INFO - -------------------------------------------------------------------------------- 2026-07-18 14:36:28,006 - INFO - Deleted project: ctest-TestRoutersBasic-83750669, ID : 19466f74-deaf-4f5b-8f8a-41b2e6b34aa2