2025-06-08 21:44:56,923 - INFO - Domain Default found not creating 2025-06-08 21:44:57,073 - INFO - Project ctest-TestRoutersBasic-09454814 not found, creating it 2025-06-08 21:44:57,525 - INFO - Created Project:ctest-TestRoutersBasic-09454814, ID : e55b8b28-bc9a-4bbb-ad4a-be3405700baf 2025-06-08 21:44:58,970 - INFO - ================================================================================ 2025-06-08 21:44:58,970 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-08 21:44:58,970 - 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-08 21:44:59,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-08 21:44:59,224 - INFO - Initial checks done. Running the testcase now 2025-06-08 21:44:59,224 - INFO - 2025-06-08 21:44:59,925 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09454814 2025-06-08 21:45:00,026 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09454814 2025-06-08 21:45:00,346 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09454814', 'default']} 2025-06-08 21:45:00,651 - DEBUG - Response for create_network : {'network': {'id': '5cf52ba6-80eb-4f69-9af8-209e9325581a', 'name': 'ctest-vn-39728920', 'tenant_id': 'e55b8b28bc9a4bbbad4abe3405700baf', 'project_id': 'e55b8b28bc9a4bbbad4abe3405700baf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09454814', 'ctest-vn-39728920'], 'port_security_enabled': True, 'description': ''}} 2025-06-08 21:45:00,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ea7f3da-e999-4007-8e8a-77a1ade5ecd4', 'name': '', 'tenant_id': 'e55b8b28bc9a4bbbad4abe3405700baf', 'network_id': '5cf52ba6-80eb-4f69-9af8-209e9325581a', 'ip_version': 4, 'cidr': '53.170.81.128/26', 'allocation_pools': [{'start': '53.170.81.130', 'end': '53.170.81.190'}], 'gateway_ip': '53.170.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.170.81.130', 'tags': [], 'project_id': 'e55b8b28bc9a4bbbad4abe3405700baf'}} 2025-06-08 21:45:00,888 - INFO - Created VN ctest-vn-39728920 2025-06-08 21:45:00,942 - DEBUG - VN ctest-vn-39728920 UUID is 5cf52ba6-80eb-4f69-9af8-209e9325581a 2025-06-08 21:45:01,273 - DEBUG - Response for create_network : {'network': {'id': '8819f438-bed3-47ef-9b41-2c249403d0cd', 'name': 'ctest-ext_vn-92451295', 'tenant_id': 'e55b8b28bc9a4bbbad4abe3405700baf', 'project_id': 'e55b8b28bc9a4bbbad4abe3405700baf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09454814', 'ctest-ext_vn-92451295'], 'port_security_enabled': True, 'description': ''}} 2025-06-08 21:45:01,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c524c16-b85b-4c77-9643-6a9a7358a151', 'name': '', 'tenant_id': 'e55b8b28bc9a4bbbad4abe3405700baf', 'network_id': '8819f438-bed3-47ef-9b41-2c249403d0cd', 'ip_version': 4, 'cidr': '25.37.226.0/26', 'allocation_pools': [{'start': '25.37.226.2', 'end': '25.37.226.62'}], 'gateway_ip': '25.37.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.37.226.2', 'tags': [], 'project_id': 'e55b8b28bc9a4bbbad4abe3405700baf'}} 2025-06-08 21:45:01,501 - INFO - Created VN ctest-ext_vn-92451295 2025-06-08 21:45:01,554 - DEBUG - VN ctest-ext_vn-92451295 UUID is 8819f438-bed3-47ef-9b41-2c249403d0cd 2025-06-08 21:45:01,719 - DEBUG - Services list from nova: [, , ] 2025-06-08 21:45:02,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3417-1) 2025-06-08 21:45:03,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3417-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3417-1) 2025-06-08 21:45:03,946 - INFO - Setting gateway for router da5f5ca5-fa7c-451b-b428-bb7dcb2176cf to network 8819f438-bed3-47ef-9b41-2c249403d0cd 2025-06-08 21:45:04,024 - INFO - Adding interface with subnet_id 0ea7f3da-e999-4007-8e8a-77a1ade5ecd4, port_id None to router da5f5ca5-fa7c-451b-b428-bb7dcb2176cf 2025-06-08 21:45:04,449 - INFO - Waiting for VM ctest-TestRoutersBasic-09454814-99583709 to be up.. 2025-06-08 21:45:04,653 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-08 21:45:09,732 - DEBUG - VM is in ACTIVE state now 2025-06-08 21:45:09,732 - INFO - VM name : ctest-TestRoutersBasic-09454814-99583709 2025-06-08 21:45:09,806 - DEBUG - VM ctest-TestRoutersBasic-09454814-99583709 ID is bbcce9f5-d962-426c-a105-87e2467488b8 2025-06-08 21:45:09,824 - DEBUG - VM ctest-TestRoutersBasic-09454814-99583709 launched on Node cn-jenkins-deploy-platform-ansible-os-3417-1 2025-06-08 21:45:09,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bbcce9f5-d962-426c-a105-87e2467488b8 2025-06-08 21:45:10,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bbcce9f5-d962-426c-a105-87e2467488b8 2025-06-08 21:45:10,234 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5639617a-d5ff-4453-a418-1f0b76802148 2025-06-08 21:45:13,483 - 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 1011ms') 2025-06-08 21:45:13,483 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09454814-99583709 failed! 2025-06-08 21:45:13,546 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09454814:ctest-vn-39728920 is 53.170.81.129 and allocation pool is NOT set 2025-06-08 21:45:15,606 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.466/1.701/2.937/1.235 ms') 2025-06-08 21:45:15,606 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09454814-99583709 passed 2025-06-08 21:45:15,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 21:45:15,718 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09454814-99583709, IP 53.170.81.131, Port 22 2025-06-08 21:45:15,884 - DEBUG - VM ctest-TestRoutersBasic-09454814-99583709 is ready for SSH connections 2025-06-08 21:45:15,884 - INFO - Waiting for VM ctest-TestRoutersBasic-09454814-69841578 to be up.. 2025-06-08 21:45:15,970 - DEBUG - VM is in ACTIVE state now 2025-06-08 21:45:15,970 - INFO - VM name : ctest-TestRoutersBasic-09454814-69841578 2025-06-08 21:45:16,044 - DEBUG - VM ctest-TestRoutersBasic-09454814-69841578 ID is 50348865-635d-4318-8283-5a3157c7cd6c 2025-06-08 21:45:16,044 - DEBUG - VM ctest-TestRoutersBasic-09454814-69841578 launched on Node cn-jenkins-deploy-platform-ansible-os-3417-1 2025-06-08 21:45:16,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/50348865-635d-4318-8283-5a3157c7cd6c 2025-06-08 21:45:16,126 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/edc23703-23d3-486a-8ab3-cf97b2a8bfde 2025-06-08 21:45:17,366 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.588/2.719/1.130 ms') 2025-06-08 21:45:17,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09454814-69841578 passed 2025-06-08 21:45:17,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 21:45:17,522 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09454814-69841578, IP 25.37.226.3, Port 22 2025-06-08 21:45:17,681 - DEBUG - VM ctest-TestRoutersBasic-09454814-69841578 is ready for SSH connections 2025-06-08 21:45:17,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-08 21:45:17,682 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.37.226.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-08 21:45:17,682 - DEBUG - ping -s 56 -c 3 -W 1 25.37.226.3 2025-06-08 21:45:21,354 - DEBUG - PING 25.37.226.3 (25.37.226.3): 56 data bytes 64 bytes from 25.37.226.3: seq=0 ttl=62 time=6.286 ms 64 bytes from 25.37.226.3: seq=1 ttl=62 time=0.843 ms 64 bytes from 25.37.226.3: seq=2 ttl=62 time=0.906 ms --- 25.37.226.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/2.678/6.286 ms 2025-06-08 21:45:21,354 - INFO - Ping to IP 25.37.226.3 from VM ctest-TestRoutersBasic-09454814-99583709 passed 2025-06-08 21:45:21,355 - INFO - Deleting interface with subnet_id 0ea7f3da-e999-4007-8e8a-77a1ade5ecd4, port_id None from router da5f5ca5-fa7c-451b-b428-bb7dcb2176cf 2025-06-08 21:45:21,645 - INFO - Deleting VM ctest-TestRoutersBasic-09454814-69841578 2025-06-08 21:45:21,710 - INFO - Deleting VM ctest-TestRoutersBasic-09454814-99583709 2025-06-08 21:45:21,783 - INFO - Deleting VN ctest-ext_vn-92451295 2025-06-08 21:45:21,865 - DEBUG - VN 8819f438-bed3-47ef-9b41-2c249403d0cd still in use: Unable to complete operation on network 8819f438-bed3-47ef-9b41-2c249403d0cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5ea6b14-8fc8-402a-b20e-d30fef4acd1a'] 2025-06-08 21:45:21,865 - WARNING - Deleting VN ctest-ext_vn-92451295 failed..Will retry 2025-06-08 21:45:23,976 - DEBUG - Response for deleting network () 2025-06-08 21:45:23,976 - INFO - Deleting VN ctest-vn-39728920 2025-06-08 21:45:24,075 - DEBUG - Response for deleting network () 2025-06-08 21:45:24,333 - DEBUG - No XMPP flaps were noticed during the test
2025-06-08 21:45:24,333 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-08 21:45:24,333 - INFO - -------------------------------------------------------------------------------- 2025-06-08 21:45:24,985 - INFO - Deleted project: ctest-TestRoutersBasic-09454814, ID : e55b8b28-bc9a-4bbb-ad4a-be3405700baf