2026-09-01 14:21:38,187 - INFO - Domain Default found not creating 2026-09-01 14:21:38,468 - INFO - Project ctest-TestRoutersBasic-68923905 not found, creating it 2026-09-01 14:21:39,013 - INFO - Created Project:ctest-TestRoutersBasic-68923905, ID : 0eb2e442-509c-47d1-a76e-5f432fbb2870 2026-09-01 14:21:40,828 - INFO - ================================================================================ 2026-09-01 14:21:40,829 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-01 14:21:40,829 - 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-09-01 14:21:41,093 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-09-01 14:21:41,093 - INFO - Initial checks done. Running the testcase now 2026-09-01 14:21:41,093 - INFO - 2026-09-01 14:21:41,995 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68923905 2026-09-01 14:21:42,098 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68923905 2026-09-01 14:21:42,429 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68923905', 'default']} 2026-09-01 14:21:42,753 - DEBUG - Response for create_network : {'network': {'id': '6e2bc9f6-1fc3-4f93-81d8-d91e0a462988', 'name': 'ctest-vn-21210866', 'tenant_id': '0eb2e442509c47d1a76e5f432fbb2870', 'project_id': '0eb2e442509c47d1a76e5f432fbb2870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68923905', 'ctest-vn-21210866'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:21:42,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '020577e6-85e1-488a-9e27-04b08115d10d', 'name': '', 'tenant_id': '0eb2e442509c47d1a76e5f432fbb2870', 'network_id': '6e2bc9f6-1fc3-4f93-81d8-d91e0a462988', 'ip_version': 4, 'cidr': '35.104.217.64/26', 'allocation_pools': [{'start': '35.104.217.66', 'end': '35.104.217.126'}], 'gateway_ip': '35.104.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.104.217.66', 'tags': [], 'project_id': '0eb2e442509c47d1a76e5f432fbb2870'}} 2026-09-01 14:21:43,000 - INFO - Created VN ctest-vn-21210866 2026-09-01 14:21:43,058 - DEBUG - VN ctest-vn-21210866 UUID is 6e2bc9f6-1fc3-4f93-81d8-d91e0a462988 2026-09-01 14:21:43,436 - DEBUG - Response for create_network : {'network': {'id': 'c75b0aa9-ac40-47c1-a574-bdf496a3cd13', 'name': 'ctest-ext_vn-98425516', 'tenant_id': '0eb2e442509c47d1a76e5f432fbb2870', 'project_id': '0eb2e442509c47d1a76e5f432fbb2870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68923905', 'ctest-ext_vn-98425516'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 14:21:43,672 - DEBUG - Response for create_subnet : {'subnet': {'id': '523a5cf0-7168-4afa-a2c9-78e25522cdcb', 'name': '', 'tenant_id': '0eb2e442509c47d1a76e5f432fbb2870', 'network_id': 'c75b0aa9-ac40-47c1-a574-bdf496a3cd13', 'ip_version': 4, 'cidr': '199.68.141.64/26', 'allocation_pools': [{'start': '199.68.141.66', 'end': '199.68.141.126'}], 'gateway_ip': '199.68.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.68.141.66', 'tags': [], 'project_id': '0eb2e442509c47d1a76e5f432fbb2870'}} 2026-09-01 14:21:43,692 - INFO - Created VN ctest-ext_vn-98425516 2026-09-01 14:21:43,746 - DEBUG - VN ctest-ext_vn-98425516 UUID is c75b0aa9-ac40-47c1-a574-bdf496a3cd13 2026-09-01 14:21:43,920 - DEBUG - Services list from nova: [, , ] 2026-09-01 14:21:44,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6239-1) 2026-09-01 14:21:44,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6239-1) 2026-09-01 14:21:44,833 - INFO - Setting gateway for router 441d7fa2-b0f0-44f6-8ac3-7a2f32e6c1e2 to network c75b0aa9-ac40-47c1-a574-bdf496a3cd13 2026-09-01 14:21:44,916 - INFO - Adding interface with subnet_id 020577e6-85e1-488a-9e27-04b08115d10d, port_id None to router 441d7fa2-b0f0-44f6-8ac3-7a2f32e6c1e2 2026-09-01 14:21:45,310 - INFO - Waiting for VM ctest-TestRoutersBasic-68923905-46793037 to be up.. 2026-09-01 14:21:45,376 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:21:50,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:21:55,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:22:00,722 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:22:05,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:22:10,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:22:16,009 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:22:21,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 14:22:26,198 - DEBUG - VM is in ACTIVE state now 2026-09-01 14:22:26,198 - INFO - VM name : ctest-TestRoutersBasic-68923905-46793037 2026-09-01 14:22:26,308 - DEBUG - VM ctest-TestRoutersBasic-68923905-46793037 ID is 8f1f257a-d761-4d28-8ce1-f67dadc0d900 2026-09-01 14:22:26,337 - DEBUG - VM ctest-TestRoutersBasic-68923905-46793037 launched on Node cn-jenkins-deploy-platform-ansible-os-6239-1 2026-09-01 14:22:26,426 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/8f1f257a-d761-4d28-8ce1-f67dadc0d900 2026-09-01 14:22:26,820 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/8f1f257a-d761-4d28-8ce1-f67dadc0d900 2026-09-01 14:22:26,858 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/a43e8147-fe60-4354-9447-0f8a665b3698 2026-09-01 14:22:30,155 - 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 1023ms') 2026-09-01 14:22:30,155 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-68923905-46793037 failed! 2026-09-01 14:22:30,210 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68923905:ctest-vn-21210866 is 35.104.217.65 and allocation pool is NOT set 2026-09-01 14:22:32,273 - 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.98 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.434 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.434/2.205/3.977/1.771 ms') 2026-09-01 14:22:32,274 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-68923905-46793037 passed 2026-09-01 14:22:32,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:22:32,430 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68923905-46793037, IP 35.104.217.67, Port 22 2026-09-01 14:22:32,597 - DEBUG - VM ctest-TestRoutersBasic-68923905-46793037 is ready for SSH connections 2026-09-01 14:22:32,597 - INFO - Waiting for VM ctest-TestRoutersBasic-68923905-18251634 to be up.. 2026-09-01 14:22:32,689 - DEBUG - VM is in ACTIVE state now 2026-09-01 14:22:32,689 - INFO - VM name : ctest-TestRoutersBasic-68923905-18251634 2026-09-01 14:22:32,782 - DEBUG - VM ctest-TestRoutersBasic-68923905-18251634 ID is 5e6dd95d-8064-4a88-90a1-9efd077d2f49 2026-09-01 14:22:32,782 - DEBUG - VM ctest-TestRoutersBasic-68923905-18251634 launched on Node cn-jenkins-deploy-platform-ansible-os-6239-1 2026-09-01 14:22:32,872 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/5e6dd95d-8064-4a88-90a1-9efd077d2f49 2026-09-01 14:22:32,882 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/8fc2e5a1-2e94-4740-99e1-e5d229ba726e 2026-09-01 14:22:34,134 - 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.12 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.633 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.633/2.377/4.121/1.744 ms') 2026-09-01 14:22:34,135 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-68923905-18251634 passed 2026-09-01 14:22:34,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:22:34,290 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68923905-18251634, IP 199.68.141.68, Port 22 2026-09-01 14:22:34,456 - DEBUG - VM ctest-TestRoutersBasic-68923905-18251634 is ready for SSH connections 2026-09-01 14:22:34,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 14:22:34,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.68.141.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-09-01 14:22:34,457 - DEBUG - ping -s 56 -c 3 -W 1 199.68.141.68 2026-09-01 14:22:37,658 - DEBUG - PING 199.68.141.68 (199.68.141.68): 56 data bytes 64 bytes from 199.68.141.68: seq=0 ttl=62 time=7.963 ms 64 bytes from 199.68.141.68: seq=1 ttl=62 time=1.011 ms 64 bytes from 199.68.141.68: seq=2 ttl=62 time=2.686 ms --- 199.68.141.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/3.886/7.963 ms 2026-09-01 14:22:37,658 - INFO - Ping to IP 199.68.141.68 from VM ctest-TestRoutersBasic-68923905-46793037 passed 2026-09-01 14:22:37,658 - INFO - Deleting interface with subnet_id 020577e6-85e1-488a-9e27-04b08115d10d, port_id None from router 441d7fa2-b0f0-44f6-8ac3-7a2f32e6c1e2 2026-09-01 14:22:37,954 - INFO - Deleting VM ctest-TestRoutersBasic-68923905-18251634 2026-09-01 14:22:38,039 - INFO - Deleting VM ctest-TestRoutersBasic-68923905-46793037 2026-09-01 14:22:38,128 - INFO - Deleting VN ctest-ext_vn-98425516 2026-09-01 14:22:38,223 - DEBUG - VN c75b0aa9-ac40-47c1-a574-bdf496a3cd13 still in use: Unable to complete operation on network c75b0aa9-ac40-47c1-a574-bdf496a3cd13. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2155ba63-e18a-4e75-9f7d-1079db582ed2'] 2026-09-01 14:22:38,223 - WARNING - Deleting VN ctest-ext_vn-98425516 failed..Will retry 2026-09-01 14:22:40,428 - DEBUG - Response for deleting network () 2026-09-01 14:22:40,429 - INFO - Deleting VN ctest-vn-21210866 2026-09-01 14:22:40,558 - DEBUG - Response for deleting network () 2026-09-01 14:22:40,827 - DEBUG - No XMPP flaps were noticed during the test
2026-09-01 14:22:40,827 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:00]
2026-09-01 14:22:40,827 - INFO - -------------------------------------------------------------------------------- 2026-09-01 14:22:41,638 - INFO - Deleted project: ctest-TestRoutersBasic-68923905, ID : 0eb2e442-509c-47d1-a76e-5f432fbb2870