2026-10-12 02:12:57,386 - INFO - Domain Default found not creating 2026-10-12 02:12:57,521 - INFO - Project ctest-TestRoutersBasic-14496125 not found, creating it 2026-10-12 02:12:57,940 - INFO - Created Project:ctest-TestRoutersBasic-14496125, ID : a13997bb-a26d-44d2-a4a7-519c53738f4f 2026-10-12 02:12:59,575 - INFO - ================================================================================ 2026-10-12 02:12:59,575 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-12 02:12:59,576 - 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-10-12 02:12:59,831 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.17': '0'}} with 2026-10-12 02:12:59,831 - INFO - Initial checks done. Running the testcase now 2026-10-12 02:12:59,831 - INFO - 2026-10-12 02:13:00,719 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14496125 2026-10-12 02:13:00,814 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14496125 2026-10-12 02:13:01,138 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14496125', 'default']} 2026-10-12 02:13:01,420 - DEBUG - Response for create_network : {'network': {'id': '89eebb4b-77ae-4f88-9b94-dc846e6cad72', 'name': 'ctest-vn-36230309', 'tenant_id': 'a13997bba26d44d2a4a7519c53738f4f', 'project_id': 'a13997bba26d44d2a4a7519c53738f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14496125', 'ctest-vn-36230309'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-12 02:13:01,635 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd32c02b0-7626-4ce8-9c4d-b6c93578a9a2', 'name': '', 'tenant_id': 'a13997bba26d44d2a4a7519c53738f4f', 'network_id': '89eebb4b-77ae-4f88-9b94-dc846e6cad72', 'ip_version': 4, 'cidr': '111.189.251.0/26', 'allocation_pools': [{'start': '111.189.251.2', 'end': '111.189.251.62'}], 'gateway_ip': '111.189.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-12T02:13:01.589503', 'updated_at': '2026-10-12T02:13:01.589503', 'dns_server_address': '111.189.251.2', 'tags': [], 'project_id': 'a13997bba26d44d2a4a7519c53738f4f'}} 2026-10-12 02:13:01,650 - INFO - Created VN ctest-vn-36230309 2026-10-12 02:13:01,702 - DEBUG - VN ctest-vn-36230309 UUID is 89eebb4b-77ae-4f88-9b94-dc846e6cad72 2026-10-12 02:13:02,032 - DEBUG - Response for create_network : {'network': {'id': '6cf07131-6e3b-4deb-8412-5c6decdf3a48', 'name': 'ctest-ext_vn-19462801', 'tenant_id': 'a13997bba26d44d2a4a7519c53738f4f', 'project_id': 'a13997bba26d44d2a4a7519c53738f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14496125', 'ctest-ext_vn-19462801'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-10-12 02:13:02,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c23f6660-f837-41c6-a031-9e24bb8b2ada', 'name': '', 'tenant_id': 'a13997bba26d44d2a4a7519c53738f4f', 'network_id': '6cf07131-6e3b-4deb-8412-5c6decdf3a48', 'ip_version': 4, 'cidr': '124.189.185.128/26', 'allocation_pools': [{'start': '124.189.185.130', 'end': '124.189.185.190'}], 'gateway_ip': '124.189.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-12T02:13:02.174082', 'updated_at': '2026-10-12T02:13:02.174082', 'dns_server_address': '124.189.185.130', 'tags': [], 'project_id': 'a13997bba26d44d2a4a7519c53738f4f'}} 2026-10-12 02:13:02,234 - INFO - Created VN ctest-ext_vn-19462801 2026-10-12 02:13:02,282 - DEBUG - VN ctest-ext_vn-19462801 UUID is 6cf07131-6e3b-4deb-8412-5c6decdf3a48 2026-10-12 02:13:02,470 - DEBUG - Services list from nova: [, , ] 2026-10-12 02:13:02,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6356-1) 2026-10-12 02:13:03,105 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6356-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6356-1) 2026-10-12 02:13:03,188 - INFO - Setting gateway for router 92d7e298-59e5-4c0f-a735-9919fa6204e7 to network 6cf07131-6e3b-4deb-8412-5c6decdf3a48 2026-10-12 02:13:03,273 - INFO - Adding interface with subnet_id d32c02b0-7626-4ce8-9c4d-b6c93578a9a2, port_id None to router 92d7e298-59e5-4c0f-a735-9919fa6204e7 2026-10-12 02:13:03,567 - INFO - Waiting for VM ctest-TestRoutersBasic-14496125-44838719 to be up.. 2026-10-12 02:13:03,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:08,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:13,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:18,827 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:23,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:28,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:34,027 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:39,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:13:44,231 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:13:44,231 - INFO - VM name : ctest-TestRoutersBasic-14496125-44838719 2026-10-12 02:13:44,288 - DEBUG - VM ctest-TestRoutersBasic-14496125-44838719 ID is c4e749bf-d29a-43d1-896c-9d76bebd96d5 2026-10-12 02:13:44,305 - DEBUG - VM ctest-TestRoutersBasic-14496125-44838719 launched on Node cn-jenkins-deploy-platform-ansible-os-6356-1 2026-10-12 02:13:44,364 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/c4e749bf-d29a-43d1-896c-9d76bebd96d5 2026-10-12 02:13:44,723 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/c4e749bf-d29a-43d1-896c-9d76bebd96d5 2026-10-12 02:13:44,748 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/c7dbb858-ad8e-44dd-890b-7a3e35afe2c6 2026-10-12 02:13:47,996 - 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 1014ms') 2026-10-12 02:13:47,996 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14496125-44838719 failed! 2026-10-12 02:13:48,050 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14496125:ctest-vn-36230309 is 111.189.251.1 and allocation pool is NOT set 2026-10-12 02:13:50,116 - 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=8.06 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.523 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.523/4.293/8.064/3.770 ms') 2026-10-12 02:13:50,116 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-14496125-44838719 passed 2026-10-12 02:13:50,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:13:50,266 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14496125-44838719, IP 111.189.251.3, Port 22 2026-10-12 02:13:50,421 - DEBUG - VM ctest-TestRoutersBasic-14496125-44838719 is ready for SSH connections 2026-10-12 02:13:50,422 - INFO - Waiting for VM ctest-TestRoutersBasic-14496125-64513137 to be up.. 2026-10-12 02:13:50,488 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:13:50,489 - INFO - VM name : ctest-TestRoutersBasic-14496125-64513137 2026-10-12 02:13:50,551 - DEBUG - VM ctest-TestRoutersBasic-14496125-64513137 ID is f5872f3a-98e9-491c-b820-766a63c6b7ff 2026-10-12 02:13:50,551 - DEBUG - VM ctest-TestRoutersBasic-14496125-64513137 launched on Node cn-jenkins-deploy-platform-ansible-os-6356-1 2026-10-12 02:13:50,612 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/f5872f3a-98e9-491c-b820-766a63c6b7ff 2026-10-12 02:13:50,619 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/3496443a-2ec3-489e-9f60-864e688649ff 2026-10-12 02:13:51,847 - 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.35 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.359 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.359/1.853/3.348/1.494 ms') 2026-10-12 02:13:51,847 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-14496125-64513137 passed 2026-10-12 02:13:51,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:13:51,994 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14496125-64513137, IP 124.189.185.132, Port 22 2026-10-12 02:13:52,153 - DEBUG - VM ctest-TestRoutersBasic-14496125-64513137 is ready for SSH connections 2026-10-12 02:13:52,153 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:13:52,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.189.185.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-12 02:13:52,153 - DEBUG - ping -s 56 -c 3 -W 1 124.189.185.132 2026-10-12 02:13:55,071 - DEBUG - PING 124.189.185.132 (124.189.185.132): 56 data bytes 64 bytes from 124.189.185.132: seq=0 ttl=62 time=4.747 ms 64 bytes from 124.189.185.132: seq=1 ttl=62 time=0.812 ms 64 bytes from 124.189.185.132: seq=2 ttl=62 time=1.371 ms --- 124.189.185.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.812/2.310/4.747 ms 2026-10-12 02:13:55,071 - INFO - Ping to IP 124.189.185.132 from VM ctest-TestRoutersBasic-14496125-44838719 passed 2026-10-12 02:13:55,071 - INFO - Deleting interface with subnet_id d32c02b0-7626-4ce8-9c4d-b6c93578a9a2, port_id None from router 92d7e298-59e5-4c0f-a735-9919fa6204e7 2026-10-12 02:13:55,238 - INFO - Deleting VM ctest-TestRoutersBasic-14496125-64513137 2026-10-12 02:13:55,301 - INFO - Deleting VM ctest-TestRoutersBasic-14496125-44838719 2026-10-12 02:13:55,360 - INFO - Deleting VN ctest-ext_vn-19462801 2026-10-12 02:13:55,412 - DEBUG - VN 6cf07131-6e3b-4deb-8412-5c6decdf3a48 still in use: Unable to complete operation on network 6cf07131-6e3b-4deb-8412-5c6decdf3a48. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2859d12b-e2e9-450b-904e-d663eea4ef15'] 2026-10-12 02:13:55,412 - WARNING - Deleting VN ctest-ext_vn-19462801 failed..Will retry 2026-10-12 02:13:57,539 - DEBUG - Response for deleting network () 2026-10-12 02:13:57,540 - INFO - Deleting VN ctest-vn-36230309 2026-10-12 02:13:57,637 - DEBUG - Response for deleting network () 2026-10-12 02:13:57,895 - DEBUG - No XMPP flaps were noticed during the test
2026-10-12 02:13:57,895 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58]
2026-10-12 02:13:57,895 - INFO - -------------------------------------------------------------------------------- 2026-10-12 02:13:58,653 - INFO - Deleted project: ctest-TestRoutersBasic-14496125, ID : a13997bb-a26d-44d2-a4a7-519c53738f4f