2026-01-05 02:06:39,367 - INFO - Domain Default found not creating 2026-01-05 02:06:39,544 - INFO - Project ctest-TestRoutersBasic-39927675 not found, creating it 2026-01-05 02:06:40,011 - INFO - Created Project:ctest-TestRoutersBasic-39927675, ID : 7d6017e3-d06c-4b98-95fa-31cd22b65696 2026-01-05 02:06:41,461 - INFO - ================================================================================ 2026-01-05 02:06:41,461 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-05 02:06:41,461 - 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-01-05 02:06:41,717 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0'}} with 2026-01-05 02:06:41,717 - INFO - Initial checks done. Running the testcase now 2026-01-05 02:06:41,717 - INFO - 2026-01-05 02:06:42,435 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-39927675 2026-01-05 02:06:42,531 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-39927675 2026-01-05 02:06:42,851 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39927675', 'default']} 2026-01-05 02:06:43,131 - DEBUG - Response for create_network : {'network': {'id': '096e420d-45d1-4553-b17a-01155d4d735f', 'name': 'ctest-vn-46235335', 'tenant_id': '7d6017e3d06c4b9895fa31cd22b65696', 'project_id': '7d6017e3d06c4b9895fa31cd22b65696', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39927675', 'ctest-vn-46235335'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:06:43,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '82628a2e-f003-4284-a426-8111ed3509e3', 'name': '', 'tenant_id': '7d6017e3d06c4b9895fa31cd22b65696', 'network_id': '096e420d-45d1-4553-b17a-01155d4d735f', 'ip_version': 4, 'cidr': '149.194.119.128/26', 'allocation_pools': [{'start': '149.194.119.130', 'end': '149.194.119.190'}], 'gateway_ip': '149.194.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.194.119.130', 'tags': [], 'project_id': '7d6017e3d06c4b9895fa31cd22b65696'}} 2026-01-05 02:06:43,326 - INFO - Created VN ctest-vn-46235335 2026-01-05 02:06:43,383 - DEBUG - VN ctest-vn-46235335 UUID is 096e420d-45d1-4553-b17a-01155d4d735f 2026-01-05 02:06:43,739 - DEBUG - Response for create_network : {'network': {'id': 'c9f5f459-1245-4238-a4f1-bbd47085b181', 'name': 'ctest-ext_vn-68733977', 'tenant_id': '7d6017e3d06c4b9895fa31cd22b65696', 'project_id': '7d6017e3d06c4b9895fa31cd22b65696', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-39927675', 'ctest-ext_vn-68733977'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:06:43,921 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4ed2906-fa82-44ba-8d53-72fcde43f5a8', 'name': '', 'tenant_id': '7d6017e3d06c4b9895fa31cd22b65696', 'network_id': 'c9f5f459-1245-4238-a4f1-bbd47085b181', 'ip_version': 4, 'cidr': '137.75.52.64/26', 'allocation_pools': [{'start': '137.75.52.66', 'end': '137.75.52.126'}], 'gateway_ip': '137.75.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.75.52.66', 'tags': [], 'project_id': '7d6017e3d06c4b9895fa31cd22b65696'}} 2026-01-05 02:06:43,937 - INFO - Created VN ctest-ext_vn-68733977 2026-01-05 02:06:43,987 - DEBUG - VN ctest-ext_vn-68733977 UUID is c9f5f459-1245-4238-a4f1-bbd47085b181 2026-01-05 02:06:44,192 - DEBUG - Services list from nova: [, , ] 2026-01-05 02:06:45,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4960-1) 2026-01-05 02:06:46,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4960-1) 2026-01-05 02:06:46,447 - INFO - Setting gateway for router a8e9a696-a4e0-4375-b060-e786eddba698 to network c9f5f459-1245-4238-a4f1-bbd47085b181 2026-01-05 02:06:46,510 - INFO - Adding interface with subnet_id 82628a2e-f003-4284-a426-8111ed3509e3, port_id None to router a8e9a696-a4e0-4375-b060-e786eddba698 2026-01-05 02:06:46,915 - INFO - Waiting for VM ctest-TestRoutersBasic-39927675-83868434 to be up.. 2026-01-05 02:06:47,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-05 02:06:52,231 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:06:52,232 - INFO - VM name : ctest-TestRoutersBasic-39927675-83868434 2026-01-05 02:06:52,303 - DEBUG - VM ctest-TestRoutersBasic-39927675-83868434 ID is e89ad0d0-0895-42ec-a06f-e987c2939bae 2026-01-05 02:06:52,320 - DEBUG - VM ctest-TestRoutersBasic-39927675-83868434 launched on Node cn-jenkins-deploy-platform-ansible-os-4960-1 2026-01-05 02:06:52,390 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e89ad0d0-0895-42ec-a06f-e987c2939bae 2026-01-05 02:06:52,693 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e89ad0d0-0895-42ec-a06f-e987c2939bae 2026-01-05 02:06:52,728 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3aebbd07-2f7a-4625-9bed-b66fa90e2037 2026-01-05 02:06:55,963 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2026-01-05 02:06:55,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39927675-83868434 failed! 2026-01-05 02:06:56,019 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-39927675:ctest-vn-46235335 is 149.194.119.129 and allocation pool is NOT set 2026-01-05 02:06:58,083 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.413/1.663/2.913/1.250 ms') 2026-01-05 02:06:58,084 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-39927675-83868434 passed 2026-01-05 02:06:58,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:06:58,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39927675-83868434, IP 149.194.119.131, Port 22 2026-01-05 02:06:58,386 - DEBUG - VM ctest-TestRoutersBasic-39927675-83868434 is ready for SSH connections 2026-01-05 02:06:58,386 - INFO - Waiting for VM ctest-TestRoutersBasic-39927675-80680564 to be up.. 2026-01-05 02:06:58,456 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:06:58,456 - INFO - VM name : ctest-TestRoutersBasic-39927675-80680564 2026-01-05 02:06:58,525 - DEBUG - VM ctest-TestRoutersBasic-39927675-80680564 ID is f15c3bfb-6ec3-4657-8b74-cdf985b287d8 2026-01-05 02:06:58,525 - DEBUG - VM ctest-TestRoutersBasic-39927675-80680564 launched on Node cn-jenkins-deploy-platform-ansible-os-4960-1 2026-01-05 02:06:58,597 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f15c3bfb-6ec3-4657-8b74-cdf985b287d8 2026-01-05 02:06:58,604 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cf214a4b-02a2-4fc1-be7e-a5548975cb4c 2026-01-05 02:06:59,835 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.406/2.234/4.062/1.828 ms') 2026-01-05 02:06:59,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-39927675-80680564 passed 2026-01-05 02:06:59,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:06:59,987 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-39927675-80680564, IP 137.75.52.67, Port 22 2026-01-05 02:07:00,161 - DEBUG - VM ctest-TestRoutersBasic-39927675-80680564 is ready for SSH connections 2026-01-05 02:07:00,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:07:00,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.75.52.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-05 02:07:00,161 - DEBUG - ping -s 56 -c 3 -W 1 137.75.52.67 2026-01-05 02:07:04,228 - DEBUG - PING 137.75.52.67 (137.75.52.67): 56 data bytes 64 bytes from 137.75.52.67: seq=0 ttl=62 time=5.006 ms 64 bytes from 137.75.52.67: seq=1 ttl=62 time=1.118 ms 64 bytes from 137.75.52.67: seq=2 ttl=62 time=0.810 ms --- 137.75.52.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/2.311/5.006 ms 2026-01-05 02:07:04,228 - INFO - Ping to IP 137.75.52.67 from VM ctest-TestRoutersBasic-39927675-83868434 passed 2026-01-05 02:07:04,228 - INFO - Deleting interface with subnet_id 82628a2e-f003-4284-a426-8111ed3509e3, port_id None from router a8e9a696-a4e0-4375-b060-e786eddba698 2026-01-05 02:07:04,403 - INFO - Deleting VM ctest-TestRoutersBasic-39927675-80680564 2026-01-05 02:07:04,466 - INFO - Deleting VM ctest-TestRoutersBasic-39927675-83868434 2026-01-05 02:07:04,546 - INFO - Deleting VN ctest-ext_vn-68733977 2026-01-05 02:07:04,600 - DEBUG - VN c9f5f459-1245-4238-a4f1-bbd47085b181 still in use: Unable to complete operation on network c9f5f459-1245-4238-a4f1-bbd47085b181. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fb5ce5d-77c3-4112-bb5c-083ed9df6235'] 2026-01-05 02:07:04,600 - WARNING - Deleting VN ctest-ext_vn-68733977 failed..Will retry 2026-01-05 02:07:06,782 - DEBUG - Response for deleting network () 2026-01-05 02:07:06,782 - INFO - Deleting VN ctest-vn-46235335 2026-01-05 02:07:06,890 - DEBUG - Response for deleting network () 2026-01-05 02:07:07,160 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 02:07:07,160 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-01-05 02:07:07,161 - INFO - -------------------------------------------------------------------------------- 2026-01-05 02:07:07,869 - INFO - Deleted project: ctest-TestRoutersBasic-39927675, ID : 7d6017e3-d06c-4b98-95fa-31cd22b65696