2025-06-10 23:32:14,739 - INFO - Domain Default found not creating 2025-06-10 23:32:14,888 - INFO - Project ctest-TestRoutersBasic-19634877 not found, creating it 2025-06-10 23:32:15,349 - INFO - Created Project:ctest-TestRoutersBasic-19634877, ID : a005af83-0c36-4e12-8158-ad61c45ef081 2025-06-10 23:32:16,749 - INFO - ================================================================================ 2025-06-10 23:32:16,749 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-10 23:32:16,749 - 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-10 23:32:17,006 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-10 23:32:17,006 - INFO - Initial checks done. Running the testcase now 2025-06-10 23:32:17,006 - INFO - 2025-06-10 23:32:17,692 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19634877 2025-06-10 23:32:17,787 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19634877 2025-06-10 23:32:18,118 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19634877', 'default']} 2025-06-10 23:32:18,404 - DEBUG - Response for create_network : {'network': {'id': '9cde39a8-9c06-404a-80a0-18182f6b906c', 'name': 'ctest-vn-66350070', 'tenant_id': 'a005af830c364e128158ad61c45ef081', 'project_id': 'a005af830c364e128158ad61c45ef081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19634877', 'ctest-vn-66350070'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 23:32:18,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '50160233-3746-4d5c-9ce0-0c19eeceb525', 'name': '', 'tenant_id': 'a005af830c364e128158ad61c45ef081', 'network_id': '9cde39a8-9c06-404a-80a0-18182f6b906c', 'ip_version': 4, 'cidr': '188.46.242.192/26', 'allocation_pools': [{'start': '188.46.242.194', 'end': '188.46.242.254'}], 'gateway_ip': '188.46.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.46.242.194', 'tags': [], 'project_id': 'a005af830c364e128158ad61c45ef081'}} 2025-06-10 23:32:18,617 - INFO - Created VN ctest-vn-66350070 2025-06-10 23:32:18,671 - DEBUG - VN ctest-vn-66350070 UUID is 9cde39a8-9c06-404a-80a0-18182f6b906c 2025-06-10 23:32:19,014 - DEBUG - Response for create_network : {'network': {'id': 'd6d27f88-e61e-4ebc-8bfa-f2966533b6bf', 'name': 'ctest-ext_vn-80370061', 'tenant_id': 'a005af830c364e128158ad61c45ef081', 'project_id': 'a005af830c364e128158ad61c45ef081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19634877', 'ctest-ext_vn-80370061'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 23:32:19,178 - DEBUG - Response for create_subnet : {'subnet': {'id': '52d91cb6-83d3-4050-b6af-1a1a9b8e4a36', 'name': '', 'tenant_id': 'a005af830c364e128158ad61c45ef081', 'network_id': 'd6d27f88-e61e-4ebc-8bfa-f2966533b6bf', 'ip_version': 4, 'cidr': '85.183.206.64/26', 'allocation_pools': [{'start': '85.183.206.66', 'end': '85.183.206.126'}], 'gateway_ip': '85.183.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.183.206.66', 'tags': [], 'project_id': 'a005af830c364e128158ad61c45ef081'}} 2025-06-10 23:32:19,195 - INFO - Created VN ctest-ext_vn-80370061 2025-06-10 23:32:19,247 - DEBUG - VN ctest-ext_vn-80370061 UUID is d6d27f88-e61e-4ebc-8bfa-f2966533b6bf 2025-06-10 23:32:19,450 - DEBUG - Services list from nova: [, , ] 2025-06-10 23:32:20,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3440-1) 2025-06-10 23:32:21,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3440-1) 2025-06-10 23:32:21,733 - INFO - Setting gateway for router b15b1a2e-e46b-457d-b844-5d79e593081a to network d6d27f88-e61e-4ebc-8bfa-f2966533b6bf 2025-06-10 23:32:21,808 - INFO - Adding interface with subnet_id 50160233-3746-4d5c-9ce0-0c19eeceb525, port_id None to router b15b1a2e-e46b-457d-b844-5d79e593081a 2025-06-10 23:32:22,257 - INFO - Waiting for VM ctest-TestRoutersBasic-19634877-79805202 to be up.. 2025-06-10 23:32:22,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 23:32:27,499 - DEBUG - VM is in ACTIVE state now 2025-06-10 23:32:27,499 - INFO - VM name : ctest-TestRoutersBasic-19634877-79805202 2025-06-10 23:32:27,572 - DEBUG - VM ctest-TestRoutersBasic-19634877-79805202 ID is c0142bd1-3613-432c-a713-1dec46019e3d 2025-06-10 23:32:27,589 - DEBUG - VM ctest-TestRoutersBasic-19634877-79805202 launched on Node cn-jenkins-deploy-platform-ansible-os-3440-1 2025-06-10 23:32:27,666 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c0142bd1-3613-432c-a713-1dec46019e3d 2025-06-10 23:32:27,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c0142bd1-3613-432c-a713-1dec46019e3d 2025-06-10 23:32:27,992 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d2e25ac1-9390-4fd8-86b1-5cd4ad247981 2025-06-10 23:32:31,268 - 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 1030ms') 2025-06-10 23:32:31,268 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19634877-79805202 failed! 2025-06-10 23:32:31,323 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19634877:ctest-vn-66350070 is 188.46.242.193 and allocation pool is NOT set 2025-06-10 23:32:33,383 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/1.745/3.029/1.283 ms') 2025-06-10 23:32:33,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19634877-79805202 passed 2025-06-10 23:32:33,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 23:32:33,503 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19634877-79805202, IP 188.46.242.195, Port 22 2025-06-10 23:32:33,654 - DEBUG - VM ctest-TestRoutersBasic-19634877-79805202 is ready for SSH connections 2025-06-10 23:32:33,654 - INFO - Waiting for VM ctest-TestRoutersBasic-19634877-78952138 to be up.. 2025-06-10 23:32:33,726 - DEBUG - VM is in ACTIVE state now 2025-06-10 23:32:33,726 - INFO - VM name : ctest-TestRoutersBasic-19634877-78952138 2025-06-10 23:32:33,797 - DEBUG - VM ctest-TestRoutersBasic-19634877-78952138 ID is 6dfa3c41-509a-4271-a05d-298516f7541a 2025-06-10 23:32:33,797 - DEBUG - VM ctest-TestRoutersBasic-19634877-78952138 launched on Node cn-jenkins-deploy-platform-ansible-os-3440-1 2025-06-10 23:32:33,865 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6dfa3c41-509a-4271-a05d-298516f7541a 2025-06-10 23:32:33,875 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3f6ef7ce-b63b-448c-86b4-13b4b8af78df 2025-06-10 23:32:35,110 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.295 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.295/1.794/3.294/1.499 ms') 2025-06-10 23:32:35,110 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19634877-78952138 passed 2025-06-10 23:32:35,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 23:32:35,263 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19634877-78952138, IP 85.183.206.67, Port 22 2025-06-10 23:32:35,414 - DEBUG - VM ctest-TestRoutersBasic-19634877-78952138 is ready for SSH connections 2025-06-10 23:32:35,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 23:32:35,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.183.206.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-10 23:32:35,414 - DEBUG - ping -s 56 -c 3 -W 1 85.183.206.67 2025-06-10 23:32:39,442 - DEBUG - PING 85.183.206.67 (85.183.206.67): 56 data bytes 64 bytes from 85.183.206.67: seq=0 ttl=62 time=5.908 ms 64 bytes from 85.183.206.67: seq=1 ttl=62 time=1.019 ms 64 bytes from 85.183.206.67: seq=2 ttl=62 time=0.990 ms --- 85.183.206.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.990/2.639/5.908 ms 2025-06-10 23:32:39,442 - INFO - Ping to IP 85.183.206.67 from VM ctest-TestRoutersBasic-19634877-79805202 passed 2025-06-10 23:32:39,442 - INFO - Deleting interface with subnet_id 50160233-3746-4d5c-9ce0-0c19eeceb525, port_id None from router b15b1a2e-e46b-457d-b844-5d79e593081a 2025-06-10 23:32:39,626 - INFO - Deleting VM ctest-TestRoutersBasic-19634877-78952138 2025-06-10 23:32:39,705 - INFO - Deleting VM ctest-TestRoutersBasic-19634877-79805202 2025-06-10 23:32:39,784 - INFO - Deleting VN ctest-ext_vn-80370061 2025-06-10 23:32:39,846 - DEBUG - VN d6d27f88-e61e-4ebc-8bfa-f2966533b6bf still in use: Unable to complete operation on network d6d27f88-e61e-4ebc-8bfa-f2966533b6bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5b6468a-2188-4277-a34b-70cfb2e3fdf8'] 2025-06-10 23:32:39,846 - WARNING - Deleting VN ctest-ext_vn-80370061 failed..Will retry 2025-06-10 23:32:41,948 - DEBUG - Response for deleting network () 2025-06-10 23:32:41,948 - INFO - Deleting VN ctest-vn-66350070 2025-06-10 23:32:42,041 - DEBUG - Response for deleting network () 2025-06-10 23:32:42,300 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 23:32:42,300 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-10 23:32:42,300 - INFO - -------------------------------------------------------------------------------- 2025-06-10 23:32:42,974 - INFO - Deleted project: ctest-TestRoutersBasic-19634877, ID : a005af83-0c36-4e12-8158-ad61c45ef081