2025-10-22 11:38:22,362 - INFO - Domain Default found not creating 2025-10-22 11:38:22,531 - INFO - Project ctest-TestRoutersBasic-37718436 not found, creating it 2025-10-22 11:38:22,993 - INFO - Created Project:ctest-TestRoutersBasic-37718436, ID : 4fe617a0-2550-44e4-a883-9d83f5b3d976 2025-10-22 11:38:24,459 - INFO - ================================================================================ 2025-10-22 11:38:24,459 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-22 11:38:24,459 - 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-10-22 11:38:24,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-22 11:38:24,718 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:38:24,718 - INFO - 2025-10-22 11:38:25,440 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37718436 2025-10-22 11:38:25,536 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37718436 2025-10-22 11:38:25,852 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37718436', 'default']} 2025-10-22 11:38:26,157 - DEBUG - Response for create_network : {'network': {'id': '91ddd668-3489-43d7-8482-509e7ee4599c', 'name': 'ctest-vn-64810943', 'tenant_id': '4fe617a0255044e4a8839d83f5b3d976', 'project_id': '4fe617a0255044e4a8839d83f5b3d976', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37718436', 'ctest-vn-64810943'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:38:26,338 - DEBUG - Response for create_subnet : {'subnet': {'id': '52b8a65b-dcec-4d10-a4cf-4af01fa12bfc', 'name': '', 'tenant_id': '4fe617a0255044e4a8839d83f5b3d976', 'network_id': '91ddd668-3489-43d7-8482-509e7ee4599c', 'ip_version': 4, 'cidr': '79.231.36.192/26', 'allocation_pools': [{'start': '79.231.36.194', 'end': '79.231.36.254'}], 'gateway_ip': '79.231.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.231.36.194', 'tags': [], 'project_id': '4fe617a0255044e4a8839d83f5b3d976'}} 2025-10-22 11:38:26,359 - INFO - Created VN ctest-vn-64810943 2025-10-22 11:38:26,412 - DEBUG - VN ctest-vn-64810943 UUID is 91ddd668-3489-43d7-8482-509e7ee4599c 2025-10-22 11:38:26,737 - DEBUG - Response for create_network : {'network': {'id': 'f593c76f-d3a1-4e19-abde-6ae6fd99fcb1', 'name': 'ctest-ext_vn-30720521', 'tenant_id': '4fe617a0255044e4a8839d83f5b3d976', 'project_id': '4fe617a0255044e4a8839d83f5b3d976', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37718436', 'ctest-ext_vn-30720521'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:38:26,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '65f1bb71-06d9-4834-92ed-f8a31efa312c', 'name': '', 'tenant_id': '4fe617a0255044e4a8839d83f5b3d976', 'network_id': 'f593c76f-d3a1-4e19-abde-6ae6fd99fcb1', 'ip_version': 4, 'cidr': '67.234.137.192/26', 'allocation_pools': [{'start': '67.234.137.194', 'end': '67.234.137.254'}], 'gateway_ip': '67.234.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.234.137.194', 'tags': [], 'project_id': '4fe617a0255044e4a8839d83f5b3d976'}} 2025-10-22 11:38:26,979 - INFO - Created VN ctest-ext_vn-30720521 2025-10-22 11:38:27,032 - DEBUG - VN ctest-ext_vn-30720521 UUID is f593c76f-d3a1-4e19-abde-6ae6fd99fcb1 2025-10-22 11:38:27,251 - DEBUG - Services list from nova: [, , ] 2025-10-22 11:38:28,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:38:29,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:38:29,566 - INFO - Setting gateway for router 7cf1fb22-1255-4687-acfe-14dfdc10a4ae to network f593c76f-d3a1-4e19-abde-6ae6fd99fcb1 2025-10-22 11:38:29,656 - INFO - Adding interface with subnet_id 52b8a65b-dcec-4d10-a4cf-4af01fa12bfc, port_id None to router 7cf1fb22-1255-4687-acfe-14dfdc10a4ae 2025-10-22 11:38:30,042 - INFO - Waiting for VM ctest-TestRoutersBasic-37718436-08056055 to be up.. 2025-10-22 11:38:30,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 11:38:35,270 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:38:35,270 - INFO - VM name : ctest-TestRoutersBasic-37718436-08056055 2025-10-22 11:38:35,352 - DEBUG - VM ctest-TestRoutersBasic-37718436-08056055 ID is c2310340-3030-4e39-b863-ab2ee63220aa 2025-10-22 11:38:35,371 - DEBUG - VM ctest-TestRoutersBasic-37718436-08056055 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:38:35,450 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c2310340-3030-4e39-b863-ab2ee63220aa 2025-10-22 11:38:35,746 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c2310340-3030-4e39-b863-ab2ee63220aa 2025-10-22 11:38:35,777 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e4a5a3d3-5ef7-41f0-b37f-a2eada4192b6 2025-10-22 11:38:39,041 - 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-10-22 11:38:39,041 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37718436-08056055 failed! 2025-10-22 11:38:39,096 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37718436:ctest-vn-64810943 is 79.231.36.193 and allocation pool is NOT set 2025-10-22 11:38:41,158 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.681 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.681/2.076/3.472/1.395 ms') 2025-10-22 11:38:41,158 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37718436-08056055 passed 2025-10-22 11:38:41,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:41,308 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37718436-08056055, IP 79.231.36.195, Port 22 2025-10-22 11:38:41,468 - DEBUG - VM ctest-TestRoutersBasic-37718436-08056055 is ready for SSH connections 2025-10-22 11:38:41,468 - INFO - Waiting for VM ctest-TestRoutersBasic-37718436-49450770 to be up.. 2025-10-22 11:38:41,547 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:38:41,547 - INFO - VM name : ctest-TestRoutersBasic-37718436-49450770 2025-10-22 11:38:41,621 - DEBUG - VM ctest-TestRoutersBasic-37718436-49450770 ID is 41d23229-a100-45fc-baab-25400870ee45 2025-10-22 11:38:41,621 - DEBUG - VM ctest-TestRoutersBasic-37718436-49450770 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:38:41,699 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/41d23229-a100-45fc-baab-25400870ee45 2025-10-22 11:38:41,708 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7312dc91-5c72-42f1-9085-52ba30b2ee60 2025-10-22 11:38:42,948 - 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=5.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.938 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.938/3.150/5.362/2.212 ms') 2025-10-22 11:38:42,948 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37718436-49450770 passed 2025-10-22 11:38:43,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:43,112 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37718436-49450770, IP 67.234.137.195, Port 22 2025-10-22 11:38:43,267 - DEBUG - VM ctest-TestRoutersBasic-37718436-49450770 is ready for SSH connections 2025-10-22 11:38:43,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:38:43,268 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.234.137.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:38:43,268 - DEBUG - ping -s 56 -c 3 -W 1 67.234.137.195 2025-10-22 11:38:47,041 - DEBUG - PING 67.234.137.195 (67.234.137.195): 56 data bytes 64 bytes from 67.234.137.195: seq=0 ttl=62 time=8.623 ms 64 bytes from 67.234.137.195: seq=1 ttl=62 time=0.910 ms 64 bytes from 67.234.137.195: seq=2 ttl=62 time=0.919 ms --- 67.234.137.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.910/3.484/8.623 ms 2025-10-22 11:38:47,041 - INFO - Ping to IP 67.234.137.195 from VM ctest-TestRoutersBasic-37718436-08056055 passed 2025-10-22 11:38:47,041 - INFO - Deleting interface with subnet_id 52b8a65b-dcec-4d10-a4cf-4af01fa12bfc, port_id None from router 7cf1fb22-1255-4687-acfe-14dfdc10a4ae 2025-10-22 11:38:47,231 - INFO - Deleting VM ctest-TestRoutersBasic-37718436-49450770 2025-10-22 11:38:47,302 - INFO - Deleting VM ctest-TestRoutersBasic-37718436-08056055 2025-10-22 11:38:47,391 - INFO - Deleting VN ctest-ext_vn-30720521 2025-10-22 11:38:47,469 - DEBUG - VN f593c76f-d3a1-4e19-abde-6ae6fd99fcb1 still in use: Unable to complete operation on network f593c76f-d3a1-4e19-abde-6ae6fd99fcb1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed9bce2f-d8de-4cad-b52a-3fe3983b87c4'] 2025-10-22 11:38:47,469 - WARNING - Deleting VN ctest-ext_vn-30720521 failed..Will retry 2025-10-22 11:38:49,578 - DEBUG - Response for deleting network () 2025-10-22 11:38:49,578 - INFO - Deleting VN ctest-vn-64810943 2025-10-22 11:38:49,679 - DEBUG - Response for deleting network () 2025-10-22 11:38:49,933 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 11:38:49,933 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-22 11:38:49,933 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:38:50,683 - INFO - Deleted project: ctest-TestRoutersBasic-37718436, ID : 4fe617a0-2550-44e4-a883-9d83f5b3d976