2025-08-11 10:50:54,297 - INFO - Domain Default found not creating 2025-08-11 10:50:54,413 - INFO - Project ctest-TestRoutersBasic-97560194 not found, creating it 2025-08-11 10:50:54,877 - INFO - Created Project:ctest-TestRoutersBasic-97560194, ID : 1eb04691-a23e-452a-a27e-a9543f910492 2025-08-11 10:50:56,171 - INFO - ================================================================================ 2025-08-11 10:50:56,171 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 10:50:56,171 - 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-08-11 10:50:56,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 10:50:56,430 - INFO - Initial checks done. Running the testcase now 2025-08-11 10:50:56,430 - INFO - 2025-08-11 10:50:57,096 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97560194 2025-08-11 10:50:57,194 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97560194 2025-08-11 10:50:57,517 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97560194', 'default']} 2025-08-11 10:50:57,788 - DEBUG - Response for create_network : {'network': {'id': '7c5e4f1e-315f-4675-bef5-cc3e1e4cd3e3', 'name': 'ctest-vn-04323154', 'tenant_id': '1eb04691a23e452aa27ea9543f910492', 'project_id': '1eb04691a23e452aa27ea9543f910492', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97560194', 'ctest-vn-04323154'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:50:57,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3163441-70a4-4676-9647-d56e57ea1647', 'name': '', 'tenant_id': '1eb04691a23e452aa27ea9543f910492', 'network_id': '7c5e4f1e-315f-4675-bef5-cc3e1e4cd3e3', 'ip_version': 4, 'cidr': '117.230.177.64/26', 'allocation_pools': [{'start': '117.230.177.66', 'end': '117.230.177.126'}], 'gateway_ip': '117.230.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.230.177.66', 'tags': [], 'project_id': '1eb04691a23e452aa27ea9543f910492'}} 2025-08-11 10:50:57,987 - INFO - Created VN ctest-vn-04323154 2025-08-11 10:50:58,037 - DEBUG - VN ctest-vn-04323154 UUID is 7c5e4f1e-315f-4675-bef5-cc3e1e4cd3e3 2025-08-11 10:50:58,379 - DEBUG - Response for create_network : {'network': {'id': '365b8305-3294-4867-a317-20c520202549', 'name': 'ctest-ext_vn-22478736', 'tenant_id': '1eb04691a23e452aa27ea9543f910492', 'project_id': '1eb04691a23e452aa27ea9543f910492', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97560194', 'ctest-ext_vn-22478736'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:50:58,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efbe28ad-9fee-4961-b18e-f3625db0f2b7', 'name': '', 'tenant_id': '1eb04691a23e452aa27ea9543f910492', 'network_id': '365b8305-3294-4867-a317-20c520202549', 'ip_version': 4, 'cidr': '122.50.194.192/26', 'allocation_pools': [{'start': '122.50.194.194', 'end': '122.50.194.254'}], 'gateway_ip': '122.50.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.50.194.194', 'tags': [], 'project_id': '1eb04691a23e452aa27ea9543f910492'}} 2025-08-11 10:50:58,566 - INFO - Created VN ctest-ext_vn-22478736 2025-08-11 10:50:58,617 - DEBUG - VN ctest-ext_vn-22478736 UUID is 365b8305-3294-4867-a317-20c520202549 2025-08-11 10:50:58,812 - DEBUG - Services list from nova: [, , ] 2025-08-11 10:50:59,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:51:00,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:51:00,925 - INFO - Setting gateway for router 7c4eea63-da10-4487-ac2e-efa8034cfd3e to network 365b8305-3294-4867-a317-20c520202549 2025-08-11 10:51:00,986 - INFO - Adding interface with subnet_id e3163441-70a4-4676-9647-d56e57ea1647, port_id None to router 7c4eea63-da10-4487-ac2e-efa8034cfd3e 2025-08-11 10:51:01,361 - INFO - Waiting for VM ctest-TestRoutersBasic-97560194-03263221 to be up.. 2025-08-11 10:51:01,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 10:51:06,581 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:51:06,582 - INFO - VM name : ctest-TestRoutersBasic-97560194-03263221 2025-08-11 10:51:06,649 - DEBUG - VM ctest-TestRoutersBasic-97560194-03263221 ID is 829b1bb4-0d18-47fe-ad59-a7692d840c45 2025-08-11 10:51:06,666 - DEBUG - VM ctest-TestRoutersBasic-97560194-03263221 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:51:06,729 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/829b1bb4-0d18-47fe-ad59-a7692d840c45 2025-08-11 10:51:07,016 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/829b1bb4-0d18-47fe-ad59-a7692d840c45 2025-08-11 10:51:07,043 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3733bf28-d889-4072-8e86-c15359ad74c2 2025-08-11 10:51:10,295 - 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=2 ttl=63 time=8.16 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 8.156/8.156/8.156/0.000 ms') 2025-08-11 10:51:10,295 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97560194-03263221 passed 2025-08-11 10:51:10,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:51:10,450 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97560194-03263221, IP 117.230.177.67, Port 22 2025-08-11 10:51:10,611 - DEBUG - VM ctest-TestRoutersBasic-97560194-03263221 is ready for SSH connections 2025-08-11 10:51:10,611 - INFO - Waiting for VM ctest-TestRoutersBasic-97560194-88557982 to be up.. 2025-08-11 10:51:10,693 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:51:10,694 - INFO - VM name : ctest-TestRoutersBasic-97560194-88557982 2025-08-11 10:51:10,759 - DEBUG - VM ctest-TestRoutersBasic-97560194-88557982 ID is 56929720-5ebc-43a1-8861-473169c3815f 2025-08-11 10:51:10,759 - DEBUG - VM ctest-TestRoutersBasic-97560194-88557982 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:51:10,822 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/56929720-5ebc-43a1-8861-473169c3815f 2025-08-11 10:51:10,831 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/34b9eafe-ed5f-41be-9a61-d9580f04e8ef 2025-08-11 10:51:12,067 - 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=2.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 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.388/1.416/2.444/1.028 ms') 2025-08-11 10:51:12,067 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97560194-88557982 passed 2025-08-11 10:51:12,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:51:12,217 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97560194-88557982, IP 122.50.194.195, Port 22 2025-08-11 10:51:12,376 - DEBUG - VM ctest-TestRoutersBasic-97560194-88557982 is ready for SSH connections 2025-08-11 10:51:12,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:51:12,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.50.194.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:51:12,377 - DEBUG - ping -s 56 -c 3 -W 1 122.50.194.195 2025-08-11 10:51:16,280 - DEBUG - PING 122.50.194.195 (122.50.194.195): 56 data bytes 64 bytes from 122.50.194.195: seq=0 ttl=62 time=6.149 ms 64 bytes from 122.50.194.195: seq=1 ttl=62 time=0.859 ms 64 bytes from 122.50.194.195: seq=2 ttl=62 time=0.826 ms --- 122.50.194.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/2.611/6.149 ms 2025-08-11 10:51:16,280 - INFO - Ping to IP 122.50.194.195 from VM ctest-TestRoutersBasic-97560194-03263221 passed 2025-08-11 10:51:16,281 - INFO - Deleting interface with subnet_id e3163441-70a4-4676-9647-d56e57ea1647, port_id None from router 7c4eea63-da10-4487-ac2e-efa8034cfd3e 2025-08-11 10:51:16,462 - INFO - Deleting VM ctest-TestRoutersBasic-97560194-88557982 2025-08-11 10:51:16,537 - INFO - Deleting VM ctest-TestRoutersBasic-97560194-03263221 2025-08-11 10:51:16,621 - INFO - Deleting VN ctest-ext_vn-22478736 2025-08-11 10:51:16,686 - DEBUG - VN 365b8305-3294-4867-a317-20c520202549 still in use: Unable to complete operation on network 365b8305-3294-4867-a317-20c520202549. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0a425e0-35cd-49de-8c2a-189abdd3f448'] 2025-08-11 10:51:16,687 - WARNING - Deleting VN ctest-ext_vn-22478736 failed..Will retry 2025-08-11 10:51:18,780 - DEBUG - Response for deleting network () 2025-08-11 10:51:18,780 - INFO - Deleting VN ctest-vn-04323154 2025-08-11 10:51:18,874 - DEBUG - Response for deleting network () 2025-08-11 10:51:19,131 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 10:51:19,131 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-11 10:51:19,131 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:51:19,796 - INFO - Deleted project: ctest-TestRoutersBasic-97560194, ID : 1eb04691-a23e-452a-a27e-a9543f910492