2025-06-20 12:50:33,395 - INFO - Domain Default found not creating 2025-06-20 12:50:33,545 - INFO - Project ctest-TestRoutersBasic-00220294 not found, creating it 2025-06-20 12:50:34,009 - INFO - Created Project:ctest-TestRoutersBasic-00220294, ID : 2ff9598c-4d37-46c2-9aaf-c5247560c403 2025-06-20 12:50:35,404 - INFO - ================================================================================ 2025-06-20 12:50:35,404 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-20 12:50:35,405 - 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-06-20 12:50:35,663 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-20 12:50:35,663 - INFO - Initial checks done. Running the testcase now 2025-06-20 12:50:35,664 - INFO - 2025-06-20 12:50:36,363 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-00220294 2025-06-20 12:50:36,458 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-00220294 2025-06-20 12:50:36,789 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00220294', 'default']} 2025-06-20 12:50:37,085 - DEBUG - Response for create_network : {'network': {'id': 'ca612953-1229-438d-b151-367ada446fff', 'name': 'ctest-vn-80213052', 'tenant_id': '2ff9598c4d3746c29aafc5247560c403', 'project_id': '2ff9598c4d3746c29aafc5247560c403', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00220294', 'ctest-vn-80213052'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 12:50:37,280 - DEBUG - Response for create_subnet : {'subnet': {'id': '16eb2610-0631-4b97-b00e-8c77d56759f6', 'name': '', 'tenant_id': '2ff9598c4d3746c29aafc5247560c403', 'network_id': 'ca612953-1229-438d-b151-367ada446fff', 'ip_version': 4, 'cidr': '163.243.241.192/26', 'allocation_pools': [{'start': '163.243.241.194', 'end': '163.243.241.254'}], 'gateway_ip': '163.243.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.243.241.194', 'tags': [], 'project_id': '2ff9598c4d3746c29aafc5247560c403'}} 2025-06-20 12:50:37,297 - INFO - Created VN ctest-vn-80213052 2025-06-20 12:50:37,354 - DEBUG - VN ctest-vn-80213052 UUID is ca612953-1229-438d-b151-367ada446fff 2025-06-20 12:50:37,696 - DEBUG - Response for create_network : {'network': {'id': '03a52775-d578-4cb6-b93a-1ba17c2c6462', 'name': 'ctest-ext_vn-70564005', 'tenant_id': '2ff9598c4d3746c29aafc5247560c403', 'project_id': '2ff9598c4d3746c29aafc5247560c403', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-00220294', 'ctest-ext_vn-70564005'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 12:50:37,875 - DEBUG - Response for create_subnet : {'subnet': {'id': '2aa01a1c-366c-4c19-b6e2-eb41c399da8e', 'name': '', 'tenant_id': '2ff9598c4d3746c29aafc5247560c403', 'network_id': '03a52775-d578-4cb6-b93a-1ba17c2c6462', 'ip_version': 4, 'cidr': '213.203.40.128/26', 'allocation_pools': [{'start': '213.203.40.130', 'end': '213.203.40.190'}], 'gateway_ip': '213.203.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.203.40.130', 'tags': [], 'project_id': '2ff9598c4d3746c29aafc5247560c403'}} 2025-06-20 12:50:37,893 - INFO - Created VN ctest-ext_vn-70564005 2025-06-20 12:50:37,950 - DEBUG - VN ctest-ext_vn-70564005 UUID is 03a52775-d578-4cb6-b93a-1ba17c2c6462 2025-06-20 12:50:38,131 - DEBUG - Services list from nova: [, , ] 2025-06-20 12:50:39,135 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3507-1) 2025-06-20 12:50:40,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3507-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3507-1) 2025-06-20 12:50:40,478 - INFO - Setting gateway for router cefb4728-67f1-4a83-b756-f6d04e3b2167 to network 03a52775-d578-4cb6-b93a-1ba17c2c6462 2025-06-20 12:50:40,556 - INFO - Adding interface with subnet_id 16eb2610-0631-4b97-b00e-8c77d56759f6, port_id None to router cefb4728-67f1-4a83-b756-f6d04e3b2167 2025-06-20 12:50:40,976 - INFO - Waiting for VM ctest-TestRoutersBasic-00220294-68227743 to be up.. 2025-06-20 12:50:41,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 12:50:46,217 - DEBUG - VM is in ACTIVE state now 2025-06-20 12:50:46,217 - INFO - VM name : ctest-TestRoutersBasic-00220294-68227743 2025-06-20 12:50:46,296 - DEBUG - VM ctest-TestRoutersBasic-00220294-68227743 ID is 89fc9692-65be-4f0d-a7e1-11e3f765efa8 2025-06-20 12:50:46,314 - DEBUG - VM ctest-TestRoutersBasic-00220294-68227743 launched on Node cn-jenkins-deploy-platform-ansible-os-3507-1 2025-06-20 12:50:46,389 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/89fc9692-65be-4f0d-a7e1-11e3f765efa8 2025-06-20 12:50:46,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/89fc9692-65be-4f0d-a7e1-11e3f765efa8 2025-06-20 12:50:46,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5a02acb7-fc62-427d-9ec8-f9144914d980 2025-06-20 12:50:49,967 - 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 1019ms') 2025-06-20 12:50:49,967 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00220294-68227743 failed! 2025-06-20 12:50:50,030 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-00220294:ctest-vn-80213052 is 163.243.241.193 and allocation pool is NOT set 2025-06-20 12:50:52,094 - 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=3.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.670 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.670/2.201/3.733/1.531 ms') 2025-06-20 12:50:52,094 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-00220294-68227743 passed 2025-06-20 12:50:52,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 12:50:52,246 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00220294-68227743, IP 163.243.241.195, Port 22 2025-06-20 12:50:52,415 - DEBUG - VM ctest-TestRoutersBasic-00220294-68227743 is ready for SSH connections 2025-06-20 12:50:52,415 - INFO - Waiting for VM ctest-TestRoutersBasic-00220294-41923631 to be up.. 2025-06-20 12:50:52,494 - DEBUG - VM is in ACTIVE state now 2025-06-20 12:50:52,495 - INFO - VM name : ctest-TestRoutersBasic-00220294-41923631 2025-06-20 12:50:52,568 - DEBUG - VM ctest-TestRoutersBasic-00220294-41923631 ID is 3779fb3b-6f44-44c8-b395-db4d86eda4c0 2025-06-20 12:50:52,568 - DEBUG - VM ctest-TestRoutersBasic-00220294-41923631 launched on Node cn-jenkins-deploy-platform-ansible-os-3507-1 2025-06-20 12:50:52,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3779fb3b-6f44-44c8-b395-db4d86eda4c0 2025-06-20 12:50:52,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/655fd4ee-75bb-4aed-b907-d7f2804ddd97 2025-06-20 12:50:53,902 - 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=3.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.924/3.410/1.485 ms') 2025-06-20 12:50:53,903 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-00220294-41923631 passed 2025-06-20 12:50:54,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 12:50:54,058 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-00220294-41923631, IP 213.203.40.131, Port 22 2025-06-20 12:50:54,237 - DEBUG - VM ctest-TestRoutersBasic-00220294-41923631 is ready for SSH connections 2025-06-20 12:50:54,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 12:50:54,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.203.40.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-20 12:50:54,237 - DEBUG - ping -s 56 -c 3 -W 1 213.203.40.131 2025-06-20 12:50:57,903 - DEBUG - PING 213.203.40.131 (213.203.40.131): 56 data bytes 64 bytes from 213.203.40.131: seq=0 ttl=62 time=6.024 ms 64 bytes from 213.203.40.131: seq=1 ttl=62 time=1.037 ms 64 bytes from 213.203.40.131: seq=2 ttl=62 time=0.817 ms --- 213.203.40.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/2.626/6.024 ms 2025-06-20 12:50:57,903 - INFO - Ping to IP 213.203.40.131 from VM ctest-TestRoutersBasic-00220294-68227743 passed 2025-06-20 12:50:57,903 - INFO - Deleting interface with subnet_id 16eb2610-0631-4b97-b00e-8c77d56759f6, port_id None from router cefb4728-67f1-4a83-b756-f6d04e3b2167 2025-06-20 12:50:58,136 - INFO - Deleting VM ctest-TestRoutersBasic-00220294-41923631 2025-06-20 12:50:58,203 - INFO - Deleting VM ctest-TestRoutersBasic-00220294-68227743 2025-06-20 12:50:58,282 - INFO - Deleting VN ctest-ext_vn-70564005 2025-06-20 12:50:58,351 - DEBUG - VN 03a52775-d578-4cb6-b93a-1ba17c2c6462 still in use: Unable to complete operation on network 03a52775-d578-4cb6-b93a-1ba17c2c6462. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-30321cbc-ad76-44b0-aaf9-1e8e5b04fb4d'] 2025-06-20 12:50:58,351 - WARNING - Deleting VN ctest-ext_vn-70564005 failed..Will retry 2025-06-20 12:51:00,452 - DEBUG - Response for deleting network () 2025-06-20 12:51:00,452 - INFO - Deleting VN ctest-vn-80213052 2025-06-20 12:51:00,571 - DEBUG - Response for deleting network () 2025-06-20 12:51:00,829 - DEBUG - No XMPP flaps were noticed during the test
2025-06-20 12:51:00,829 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-20 12:51:00,829 - INFO - -------------------------------------------------------------------------------- 2025-06-20 12:51:01,506 - INFO - Deleted project: ctest-TestRoutersBasic-00220294, ID : 2ff9598c-4d37-46c2-9aaf-c5247560c403