2025-11-24 14:34:12,877 - INFO - Domain Default found not creating 2025-11-24 14:34:13,082 - INFO - Project ctest-TestRoutersBasic-40183233 not found, creating it 2025-11-24 14:34:13,600 - INFO - Created Project:ctest-TestRoutersBasic-40183233, ID : 257690fc-56aa-4c98-bd97-223fcf488ec3 2025-11-24 14:34:15,395 - INFO - ================================================================================ 2025-11-24 14:34:15,395 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 14:34:15,396 - 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 2025-11-24 14:34:15,667 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-11-24 14:34:15,667 - INFO - Initial checks done. Running the testcase now 2025-11-24 14:34:15,667 - INFO - 2025-11-24 14:34:16,523 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40183233 2025-11-24 14:34:16,623 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40183233 2025-11-24 14:34:16,946 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40183233', 'default']} 2025-11-24 14:34:17,273 - DEBUG - Response for create_network : {'network': {'id': '0bdc1273-8095-4ae0-87bb-35268cea95c4', 'name': 'ctest-vn-93710791', 'tenant_id': '257690fc56aa4c98bd97223fcf488ec3', 'project_id': '257690fc56aa4c98bd97223fcf488ec3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40183233', 'ctest-vn-93710791'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:34:17,502 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f64e7b8c-4a8e-4a37-b2fb-9fec5ef57cbe', 'name': '', 'tenant_id': '257690fc56aa4c98bd97223fcf488ec3', 'network_id': '0bdc1273-8095-4ae0-87bb-35268cea95c4', 'ip_version': 4, 'cidr': '180.139.101.0/26', 'allocation_pools': [{'start': '180.139.101.2', 'end': '180.139.101.62'}], 'gateway_ip': '180.139.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.139.101.2', 'tags': [], 'project_id': '257690fc56aa4c98bd97223fcf488ec3'}} 2025-11-24 14:34:17,526 - INFO - Created VN ctest-vn-93710791 2025-11-24 14:34:17,578 - DEBUG - VN ctest-vn-93710791 UUID is 0bdc1273-8095-4ae0-87bb-35268cea95c4 2025-11-24 14:34:17,939 - DEBUG - Response for create_network : {'network': {'id': '7f0358bf-78eb-45eb-83b7-92e19cc23df4', 'name': 'ctest-ext_vn-06203552', 'tenant_id': '257690fc56aa4c98bd97223fcf488ec3', 'project_id': '257690fc56aa4c98bd97223fcf488ec3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40183233', 'ctest-ext_vn-06203552'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 14:34:18,136 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc291558-72f6-44cf-8387-094250ad296d', 'name': '', 'tenant_id': '257690fc56aa4c98bd97223fcf488ec3', 'network_id': '7f0358bf-78eb-45eb-83b7-92e19cc23df4', 'ip_version': 4, 'cidr': '84.163.232.192/26', 'allocation_pools': [{'start': '84.163.232.194', 'end': '84.163.232.254'}], 'gateway_ip': '84.163.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.163.232.194', 'tags': [], 'project_id': '257690fc56aa4c98bd97223fcf488ec3'}} 2025-11-24 14:34:18,160 - INFO - Created VN ctest-ext_vn-06203552 2025-11-24 14:34:18,214 - DEBUG - VN ctest-ext_vn-06203552 UUID is 7f0358bf-78eb-45eb-83b7-92e19cc23df4 2025-11-24 14:34:18,401 - DEBUG - Services list from nova: [, , ] 2025-11-24 14:34:19,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:34:20,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4807-1) 2025-11-24 14:34:21,078 - INFO - Setting gateway for router c3b12daa-ac13-4192-84c0-8eb2c9994e69 to network 7f0358bf-78eb-45eb-83b7-92e19cc23df4 2025-11-24 14:34:21,173 - INFO - Adding interface with subnet_id f64e7b8c-4a8e-4a37-b2fb-9fec5ef57cbe, port_id None to router c3b12daa-ac13-4192-84c0-8eb2c9994e69 2025-11-24 14:34:21,576 - INFO - Waiting for VM ctest-TestRoutersBasic-40183233-95474591 to be up.. 2025-11-24 14:34:21,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 14:34:26,899 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:34:26,899 - INFO - VM name : ctest-TestRoutersBasic-40183233-95474591 2025-11-24 14:34:26,999 - DEBUG - VM ctest-TestRoutersBasic-40183233-95474591 ID is 8ce963b6-5f80-449f-928a-94ee219370be 2025-11-24 14:34:27,025 - DEBUG - VM ctest-TestRoutersBasic-40183233-95474591 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:34:27,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ce963b6-5f80-449f-928a-94ee219370be 2025-11-24 14:34:27,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8ce963b6-5f80-449f-928a-94ee219370be 2025-11-24 14:34:27,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f6d9fe60-37d5-47e7-accd-d37617ebc2b3 2025-11-24 14:34:30,794 - 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 1027ms') 2025-11-24 14:34:30,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40183233-95474591 failed! 2025-11-24 14:34:30,850 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40183233:ctest-vn-93710791 is 180.139.101.1 and allocation pool is NOT set 2025-11-24 14:34:32,910 - 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=8.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.520 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.520/4.647/8.774/4.127 ms') 2025-11-24 14:34:32,910 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40183233-95474591 passed 2025-11-24 14:34:33,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:34:33,067 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40183233-95474591, IP 180.139.101.3, Port 22 2025-11-24 14:34:33,233 - DEBUG - VM ctest-TestRoutersBasic-40183233-95474591 is ready for SSH connections 2025-11-24 14:34:33,233 - INFO - Waiting for VM ctest-TestRoutersBasic-40183233-65605978 to be up.. 2025-11-24 14:34:33,322 - DEBUG - VM is in ACTIVE state now 2025-11-24 14:34:33,322 - INFO - VM name : ctest-TestRoutersBasic-40183233-65605978 2025-11-24 14:34:33,413 - DEBUG - VM ctest-TestRoutersBasic-40183233-65605978 ID is 9b0ed9b1-ef27-41cf-9c44-60fa883ce404 2025-11-24 14:34:33,413 - DEBUG - VM ctest-TestRoutersBasic-40183233-65605978 launched on Node cn-jenkins-deploy-platform-ansible-os-4807-1 2025-11-24 14:34:33,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9b0ed9b1-ef27-41cf-9c44-60fa883ce404 2025-11-24 14:34:33,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e79c144b-f3e8-4723-8730-e617bdf12387 2025-11-24 14:34:34,792 - 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=10.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.14 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 = 4.143/7.198/10.253/3.055 ms') 2025-11-24 14:34:34,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40183233-65605978 passed 2025-11-24 14:34:34,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:34:34,951 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40183233-65605978, IP 84.163.232.195, Port 22 2025-11-24 14:34:35,125 - DEBUG - VM ctest-TestRoutersBasic-40183233-65605978 is ready for SSH connections 2025-11-24 14:34:35,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 14:34:35,125 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.163.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-24 14:34:35,125 - DEBUG - ping -s 56 -c 3 -W 1 84.163.232.195 2025-11-24 14:34:38,926 - DEBUG - PING 84.163.232.195 (84.163.232.195): 56 data bytes 64 bytes from 84.163.232.195: seq=0 ttl=62 time=8.203 ms 64 bytes from 84.163.232.195: seq=1 ttl=62 time=0.932 ms 64 bytes from 84.163.232.195: seq=2 ttl=62 time=1.059 ms --- 84.163.232.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/3.398/8.203 ms 2025-11-24 14:34:38,926 - INFO - Ping to IP 84.163.232.195 from VM ctest-TestRoutersBasic-40183233-95474591 passed 2025-11-24 14:34:38,926 - INFO - Deleting interface with subnet_id f64e7b8c-4a8e-4a37-b2fb-9fec5ef57cbe, port_id None from router c3b12daa-ac13-4192-84c0-8eb2c9994e69 2025-11-24 14:34:39,172 - INFO - Deleting VM ctest-TestRoutersBasic-40183233-65605978 2025-11-24 14:34:39,266 - INFO - Deleting VM ctest-TestRoutersBasic-40183233-95474591 2025-11-24 14:34:39,379 - INFO - Deleting VN ctest-ext_vn-06203552 2025-11-24 14:34:39,480 - DEBUG - VN 7f0358bf-78eb-45eb-83b7-92e19cc23df4 still in use: Unable to complete operation on network 7f0358bf-78eb-45eb-83b7-92e19cc23df4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-14df0613-1ffb-4a14-b74f-69bce6a90988'] 2025-11-24 14:34:39,480 - WARNING - Deleting VN ctest-ext_vn-06203552 failed..Will retry 2025-11-24 14:34:41,606 - DEBUG - Response for deleting network () 2025-11-24 14:34:41,606 - INFO - Deleting VN ctest-vn-93710791 2025-11-24 14:34:41,732 - DEBUG - Response for deleting network () 2025-11-24 14:34:42,005 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 14:34:42,005 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-11-24 14:34:42,005 - INFO - -------------------------------------------------------------------------------- 2025-11-24 14:34:42,816 - INFO - Deleted project: ctest-TestRoutersBasic-40183233, ID : 257690fc-56aa-4c98-bd97-223fcf488ec3