2026-09-21 12:59:38,698 - INFO - Domain Default found not creating 2026-09-21 12:59:39,032 - INFO - Project ctest-TestRoutersBasic-12138466 not found, creating it 2026-09-21 12:59:39,603 - INFO - Created Project:ctest-TestRoutersBasic-12138466, ID : 41438f45-0280-4a43-9502-1ebdfc76d7f4 2026-09-21 12:59:41,446 - INFO - ================================================================================ 2026-09-21 12:59:41,446 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-21 12:59:41,446 - 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-21 12:59:41,717 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-09-21 12:59:41,717 - INFO - Initial checks done. Running the testcase now 2026-09-21 12:59:41,717 - INFO - 2026-09-21 12:59:42,647 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12138466 2026-09-21 12:59:42,751 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12138466 2026-09-21 12:59:43,094 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12138466', 'default']} 2026-09-21 12:59:43,454 - DEBUG - Response for create_network : {'network': {'id': '78f82816-eefe-4f69-85d3-cdab9aee4e3c', 'name': 'ctest-vn-36236597', 'tenant_id': '41438f4502804a4395021ebdfc76d7f4', 'project_id': '41438f4502804a4395021ebdfc76d7f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12138466', 'ctest-vn-36236597'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 12:59:43,697 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c75cb351-e604-4a43-a921-9e3007c6a168', 'name': '', 'tenant_id': '41438f4502804a4395021ebdfc76d7f4', 'network_id': '78f82816-eefe-4f69-85d3-cdab9aee4e3c', 'ip_version': 4, 'cidr': '220.142.22.128/26', 'allocation_pools': [{'start': '220.142.22.130', 'end': '220.142.22.190'}], 'gateway_ip': '220.142.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.142.22.130', 'tags': [], 'project_id': '41438f4502804a4395021ebdfc76d7f4'}} 2026-09-21 12:59:43,717 - INFO - Created VN ctest-vn-36236597 2026-09-21 12:59:43,771 - DEBUG - VN ctest-vn-36236597 UUID is 78f82816-eefe-4f69-85d3-cdab9aee4e3c 2026-09-21 12:59:44,137 - DEBUG - Response for create_network : {'network': {'id': '4ea4d461-622e-4939-a8d4-edb023973a57', 'name': 'ctest-ext_vn-09742026', 'tenant_id': '41438f4502804a4395021ebdfc76d7f4', 'project_id': '41438f4502804a4395021ebdfc76d7f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12138466', 'ctest-ext_vn-09742026'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 12:59:44,385 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f40b3812-4a5f-4104-bf05-b024fc7d609a', 'name': '', 'tenant_id': '41438f4502804a4395021ebdfc76d7f4', 'network_id': '4ea4d461-622e-4939-a8d4-edb023973a57', 'ip_version': 4, 'cidr': '219.2.19.192/26', 'allocation_pools': [{'start': '219.2.19.194', 'end': '219.2.19.254'}], 'gateway_ip': '219.2.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.2.19.194', 'tags': [], 'project_id': '41438f4502804a4395021ebdfc76d7f4'}} 2026-09-21 12:59:44,406 - INFO - Created VN ctest-ext_vn-09742026 2026-09-21 12:59:44,463 - DEBUG - VN ctest-ext_vn-09742026 UUID is 4ea4d461-622e-4939-a8d4-edb023973a57 2026-09-21 12:59:44,666 - DEBUG - Services list from nova: [, , ] 2026-09-21 12:59:45,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6314-1) 2026-09-21 12:59:45,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6314-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6314-1) 2026-09-21 12:59:45,745 - INFO - Setting gateway for router ac7baaa0-aab4-47b1-8c3c-d240eacf2dd0 to network 4ea4d461-622e-4939-a8d4-edb023973a57 2026-09-21 12:59:45,823 - INFO - Adding interface with subnet_id c75cb351-e604-4a43-a921-9e3007c6a168, port_id None to router ac7baaa0-aab4-47b1-8c3c-d240eacf2dd0 2026-09-21 12:59:46,161 - INFO - Waiting for VM ctest-TestRoutersBasic-12138466-66993701 to be up.. 2026-09-21 12:59:46,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 12:59:51,334 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 12:59:56,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 13:00:01,542 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 13:00:06,652 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 13:00:11,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 13:00:16,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 13:00:21,957 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 13:00:27,065 - DEBUG - VM is in ACTIVE state now 2026-09-21 13:00:27,066 - INFO - VM name : ctest-TestRoutersBasic-12138466-66993701 2026-09-21 13:00:27,170 - DEBUG - VM ctest-TestRoutersBasic-12138466-66993701 ID is 5db3081f-75a0-4303-84a7-2436793dbacf 2026-09-21 13:00:27,200 - DEBUG - VM ctest-TestRoutersBasic-12138466-66993701 launched on Node cn-jenkins-deploy-platform-ansible-os-6314-1 2026-09-21 13:00:27,290 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5db3081f-75a0-4303-84a7-2436793dbacf 2026-09-21 13:00:27,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5db3081f-75a0-4303-84a7-2436793dbacf 2026-09-21 13:00:27,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cffd267a-d10b-4b14-a5bf-8ffc8f7020f6 2026-09-21 13:00:30,997 - 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.49 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1026ms\r\nrtt min/avg/max/mdev = 4.487/4.487/4.487/0.000 ms') 2026-09-21 13:00:30,997 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-12138466-66993701 passed 2026-09-21 13:00:31,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 13:00:31,151 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12138466-66993701, IP 220.142.22.131, Port 22 2026-09-21 13:00:31,216 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-21 13:00:31,320 - DEBUG - VM ctest-TestRoutersBasic-12138466-66993701 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-21 13:00:36,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 13:00:36,321 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12138466-66993701, IP 220.142.22.131, Port 22 2026-09-21 13:00:36,497 - DEBUG - VM ctest-TestRoutersBasic-12138466-66993701 is ready for SSH connections 2026-09-21 13:00:36,497 - INFO - Waiting for VM ctest-TestRoutersBasic-12138466-64067502 to be up.. 2026-09-21 13:00:36,589 - DEBUG - VM is in ACTIVE state now 2026-09-21 13:00:36,589 - INFO - VM name : ctest-TestRoutersBasic-12138466-64067502 2026-09-21 13:00:36,681 - DEBUG - VM ctest-TestRoutersBasic-12138466-64067502 ID is d09c4c9f-67b7-451d-b310-0095d4fb45eb 2026-09-21 13:00:36,681 - DEBUG - VM ctest-TestRoutersBasic-12138466-64067502 launched on Node cn-jenkins-deploy-platform-ansible-os-6314-1 2026-09-21 13:00:36,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d09c4c9f-67b7-451d-b310-0095d4fb45eb 2026-09-21 13:00:36,784 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f78c2c27-d121-4706-8024-8658c26b2816 2026-09-21 13:00:38,027 - 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=3.87 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.755 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.755/2.313/3.871/1.558 ms') 2026-09-21 13:00:38,027 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-12138466-64067502 passed 2026-09-21 13:00:38,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 13:00:38,183 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12138466-64067502, IP 219.2.19.196, Port 22 2026-09-21 13:00:38,353 - DEBUG - VM ctest-TestRoutersBasic-12138466-64067502 is ready for SSH connections 2026-09-21 13:00:38,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 13:00:38,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.2.19.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-21 13:00:38,353 - DEBUG - ping -s 56 -c 3 -W 1 219.2.19.196 2026-09-21 13:00:41,457 - DEBUG - PING 219.2.19.196 (219.2.19.196): 56 data bytes 64 bytes from 219.2.19.196: seq=0 ttl=62 time=9.101 ms 64 bytes from 219.2.19.196: seq=1 ttl=62 time=1.371 ms 64 bytes from 219.2.19.196: seq=2 ttl=62 time=1.179 ms --- 219.2.19.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.179/3.883/9.101 ms 2026-09-21 13:00:41,457 - INFO - Ping to IP 219.2.19.196 from VM ctest-TestRoutersBasic-12138466-66993701 passed 2026-09-21 13:00:41,457 - INFO - Deleting interface with subnet_id c75cb351-e604-4a43-a921-9e3007c6a168, port_id None from router ac7baaa0-aab4-47b1-8c3c-d240eacf2dd0 2026-09-21 13:00:41,739 - INFO - Deleting VM ctest-TestRoutersBasic-12138466-64067502 2026-09-21 13:00:41,838 - INFO - Deleting VM ctest-TestRoutersBasic-12138466-66993701 2026-09-21 13:00:41,925 - INFO - Deleting VN ctest-ext_vn-09742026 2026-09-21 13:00:42,006 - DEBUG - VN 4ea4d461-622e-4939-a8d4-edb023973a57 still in use: Unable to complete operation on network 4ea4d461-622e-4939-a8d4-edb023973a57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5342dab4-ba23-4846-822e-0e2db088a515'] 2026-09-21 13:00:42,006 - WARNING - Deleting VN ctest-ext_vn-09742026 failed..Will retry 2026-09-21 13:00:44,203 - DEBUG - Response for deleting network () 2026-09-21 13:00:44,203 - INFO - Deleting VN ctest-vn-36236597 2026-09-21 13:00:44,348 - DEBUG - Response for deleting network () 2026-09-21 13:00:44,620 - DEBUG - No XMPP flaps were noticed during the test
2026-09-21 13:00:44,620 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03]
2026-09-21 13:00:44,620 - INFO - -------------------------------------------------------------------------------- 2026-09-21 13:00:45,451 - INFO - Deleted project: ctest-TestRoutersBasic-12138466, ID : 41438f45-0280-4a43-9502-1ebdfc76d7f4