2025-04-24 19:32:12,526 - INFO - Domain Default found not creating 2025-04-24 19:32:12,661 - INFO - Project ctest-TestRoutersBasic-69588682 not found, creating it 2025-04-24 19:32:13,113 - INFO - Created Project:ctest-TestRoutersBasic-69588682, ID : f870e78e-1dd7-4dc5-9faf-84ad8a4fd1c2 2025-04-24 19:32:14,481 - INFO - ================================================================================ 2025-04-24 19:32:14,481 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-24 19:32:14,481 - 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-04-24 19:32:14,743 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-04-24 19:32:14,743 - INFO - Initial checks done. Running the testcase now 2025-04-24 19:32:14,743 - INFO - 2025-04-24 19:32:15,432 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-69588682 2025-04-24 19:32:15,529 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-69588682 2025-04-24 19:32:15,857 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69588682', 'default']} 2025-04-24 19:32:16,135 - DEBUG - Response for create_network : {'network': {'id': 'b13e34ee-cc29-4b20-969b-f0f96191c42a', 'name': 'ctest-vn-75635537', 'tenant_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2', 'project_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69588682', 'ctest-vn-75635537'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:32:16,298 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff25cd19-4799-4924-9195-e1306406f055', 'name': '', 'tenant_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2', 'network_id': 'b13e34ee-cc29-4b20-969b-f0f96191c42a', 'ip_version': 4, 'cidr': '157.170.220.192/26', 'allocation_pools': [{'start': '157.170.220.194', 'end': '157.170.220.254'}], 'gateway_ip': '157.170.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.170.220.194', 'tags': [], 'project_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2'}} 2025-04-24 19:32:16,316 - INFO - Created VN ctest-vn-75635537 2025-04-24 19:32:16,369 - DEBUG - VN ctest-vn-75635537 UUID is b13e34ee-cc29-4b20-969b-f0f96191c42a 2025-04-24 19:32:16,675 - DEBUG - Response for create_network : {'network': {'id': '6d464ce0-ad4f-43dd-9bb9-779625916838', 'name': 'ctest-ext_vn-17903355', 'tenant_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2', 'project_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-69588682', 'ctest-ext_vn-17903355'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 19:32:16,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c36340e-6455-475a-972d-fddb192b5d13', 'name': '', 'tenant_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2', 'network_id': '6d464ce0-ad4f-43dd-9bb9-779625916838', 'ip_version': 4, 'cidr': '121.159.198.64/26', 'allocation_pools': [{'start': '121.159.198.66', 'end': '121.159.198.126'}], 'gateway_ip': '121.159.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.159.198.66', 'tags': [], 'project_id': 'f870e78e1dd74dc59faf84ad8a4fd1c2'}} 2025-04-24 19:32:16,894 - INFO - Created VN ctest-ext_vn-17903355 2025-04-24 19:32:16,945 - DEBUG - VN ctest-ext_vn-17903355 UUID is 6d464ce0-ad4f-43dd-9bb9-779625916838 2025-04-24 19:32:17,105 - DEBUG - Services list from nova: [, , ] 2025-04-24 19:32:18,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3208-1) 2025-04-24 19:32:19,209 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3208-1) 2025-04-24 19:32:19,292 - INFO - Setting gateway for router c43be109-00ab-4f41-83ab-0df3c6abd986 to network 6d464ce0-ad4f-43dd-9bb9-779625916838 2025-04-24 19:32:19,343 - INFO - Adding interface with subnet_id ff25cd19-4799-4924-9195-e1306406f055, port_id None to router c43be109-00ab-4f41-83ab-0df3c6abd986 2025-04-24 19:32:19,912 - INFO - Waiting for VM ctest-TestRoutersBasic-69588682-67404642 to be up.. 2025-04-24 19:32:20,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 19:32:25,123 - DEBUG - VM is in ACTIVE state now 2025-04-24 19:32:25,123 - INFO - VM name : ctest-TestRoutersBasic-69588682-67404642 2025-04-24 19:32:25,200 - DEBUG - VM ctest-TestRoutersBasic-69588682-67404642 ID is 8d54340d-4174-4269-ba5c-748028faecfa 2025-04-24 19:32:25,221 - DEBUG - VM ctest-TestRoutersBasic-69588682-67404642 launched on Node cn-jenkins-deploy-platform-ansible-os-3208-1 2025-04-24 19:32:25,297 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/8d54340d-4174-4269-ba5c-748028faecfa 2025-04-24 19:32:25,592 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/8d54340d-4174-4269-ba5c-748028faecfa 2025-04-24 19:32:25,624 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b5dcb4b1-52b6-493a-b889-61f2276e3896 2025-04-24 19:32:28,880 - 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=7.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 7.321/7.321/7.321/0.000 ms') 2025-04-24 19:32:28,880 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-69588682-67404642 passed 2025-04-24 19:32:29,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:32:29,033 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69588682-67404642, IP 157.170.220.195, Port 22 2025-04-24 19:32:29,195 - DEBUG - VM ctest-TestRoutersBasic-69588682-67404642 is ready for SSH connections 2025-04-24 19:32:29,195 - INFO - Waiting for VM ctest-TestRoutersBasic-69588682-53033246 to be up.. 2025-04-24 19:32:29,277 - DEBUG - VM is in ACTIVE state now 2025-04-24 19:32:29,277 - INFO - VM name : ctest-TestRoutersBasic-69588682-53033246 2025-04-24 19:32:29,350 - DEBUG - VM ctest-TestRoutersBasic-69588682-53033246 ID is c4a203b8-a605-4366-8883-e5f85ae38c7c 2025-04-24 19:32:29,350 - DEBUG - VM ctest-TestRoutersBasic-69588682-53033246 launched on Node cn-jenkins-deploy-platform-ansible-os-3208-1 2025-04-24 19:32:29,423 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c4a203b8-a605-4366-8883-e5f85ae38c7c 2025-04-24 19:32:29,431 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/1b8b6ffc-9d02-4c25-a7aa-42db63b605b2 2025-04-24 19:32:30,671 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.989 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.989/3.249/5.510/2.260 ms') 2025-04-24 19:32:30,671 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-69588682-53033246 passed 2025-04-24 19:32:30,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:32:30,822 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-69588682-53033246, IP 121.159.198.67, Port 22 2025-04-24 19:32:31,042 - DEBUG - VM ctest-TestRoutersBasic-69588682-53033246 is ready for SSH connections 2025-04-24 19:32:31,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 19:32:31,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.159.198.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-04-24 19:32:31,042 - DEBUG - ping -s 56 -c 3 -W 1 121.159.198.67 2025-04-24 19:32:34,712 - DEBUG - PING 121.159.198.67 (121.159.198.67): 56 data bytes 64 bytes from 121.159.198.67: seq=0 ttl=62 time=8.003 ms 64 bytes from 121.159.198.67: seq=1 ttl=62 time=0.900 ms 64 bytes from 121.159.198.67: seq=2 ttl=62 time=1.058 ms --- 121.159.198.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.900/3.320/8.003 ms 2025-04-24 19:32:34,712 - INFO - Ping to IP 121.159.198.67 from VM ctest-TestRoutersBasic-69588682-67404642 passed 2025-04-24 19:32:34,713 - INFO - Deleting interface with subnet_id ff25cd19-4799-4924-9195-e1306406f055, port_id None from router c43be109-00ab-4f41-83ab-0df3c6abd986 2025-04-24 19:32:34,897 - INFO - Deleting VM ctest-TestRoutersBasic-69588682-53033246 2025-04-24 19:32:34,962 - INFO - Deleting VM ctest-TestRoutersBasic-69588682-67404642 2025-04-24 19:32:35,037 - INFO - Deleting VN ctest-ext_vn-17903355 2025-04-24 19:32:35,114 - DEBUG - VN 6d464ce0-ad4f-43dd-9bb9-779625916838 still in use: Unable to complete operation on network 6d464ce0-ad4f-43dd-9bb9-779625916838. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a51d35eb-bf5d-4ce5-b9a5-0b94c422a33c'] 2025-04-24 19:32:35,114 - WARNING - Deleting VN ctest-ext_vn-17903355 failed..Will retry 2025-04-24 19:32:37,219 - DEBUG - Response for deleting network () 2025-04-24 19:32:37,219 - INFO - Deleting VN ctest-vn-75635537 2025-04-24 19:32:37,328 - DEBUG - Response for deleting network () 2025-04-24 19:32:37,585 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 19:32:37,585 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-04-24 19:32:37,585 - INFO - -------------------------------------------------------------------------------- 2025-04-24 19:32:38,267 - INFO - Deleted project: ctest-TestRoutersBasic-69588682, ID : f870e78e-1dd7-4dc5-9faf-84ad8a4fd1c2