2025-08-08 02:59:07,628 - INFO - Domain Default found not creating 2025-08-08 02:59:07,804 - INFO - Project ctest-TestRoutersBasic-03010564 not found, creating it 2025-08-08 02:59:08,311 - INFO - Created Project:ctest-TestRoutersBasic-03010564, ID : fd940ac3-3248-4729-b87d-f2c1ce4e0aa5 2025-08-08 02:59:09,895 - INFO - ================================================================================ 2025-08-08 02:59:09,895 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-08 02:59:09,895 - 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-08 02:59:10,163 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-08 02:59:10,163 - INFO - Initial checks done. Running the testcase now 2025-08-08 02:59:10,163 - INFO - 2025-08-08 02:59:10,950 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03010564 2025-08-08 02:59:11,053 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03010564 2025-08-08 02:59:11,385 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03010564', 'default']} 2025-08-08 02:59:11,674 - DEBUG - Response for create_network : {'network': {'id': '8c008486-1efd-4895-b30f-c1b6f9b87072', 'name': 'ctest-vn-74637594', 'tenant_id': 'fd940ac332484729b87df2c1ce4e0aa5', 'project_id': 'fd940ac332484729b87df2c1ce4e0aa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03010564', 'ctest-vn-74637594'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 02:59:11,903 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4229be3-a84a-4fc4-aa8f-2fdd6b802ee7', 'name': '', 'tenant_id': 'fd940ac332484729b87df2c1ce4e0aa5', 'network_id': '8c008486-1efd-4895-b30f-c1b6f9b87072', 'ip_version': 4, 'cidr': '164.12.61.0/26', 'allocation_pools': [{'start': '164.12.61.2', 'end': '164.12.61.62'}], 'gateway_ip': '164.12.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.12.61.2', 'tags': [], 'project_id': 'fd940ac332484729b87df2c1ce4e0aa5'}} 2025-08-08 02:59:11,920 - INFO - Created VN ctest-vn-74637594 2025-08-08 02:59:11,977 - DEBUG - VN ctest-vn-74637594 UUID is 8c008486-1efd-4895-b30f-c1b6f9b87072 2025-08-08 02:59:12,295 - DEBUG - Response for create_network : {'network': {'id': '6299eddf-367e-43c0-925a-8684e86da345', 'name': 'ctest-ext_vn-68244984', 'tenant_id': 'fd940ac332484729b87df2c1ce4e0aa5', 'project_id': 'fd940ac332484729b87df2c1ce4e0aa5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03010564', 'ctest-ext_vn-68244984'], 'port_security_enabled': True, 'description': ''}} 2025-08-08 02:59:12,459 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc1a948b-0d35-4de3-9fef-008906e6a3f4', 'name': '', 'tenant_id': 'fd940ac332484729b87df2c1ce4e0aa5', 'network_id': '6299eddf-367e-43c0-925a-8684e86da345', 'ip_version': 4, 'cidr': '19.78.192.128/26', 'allocation_pools': [{'start': '19.78.192.130', 'end': '19.78.192.190'}], 'gateway_ip': '19.78.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.78.192.130', 'tags': [], 'project_id': 'fd940ac332484729b87df2c1ce4e0aa5'}} 2025-08-08 02:59:12,478 - INFO - Created VN ctest-ext_vn-68244984 2025-08-08 02:59:12,533 - DEBUG - VN ctest-ext_vn-68244984 UUID is 6299eddf-367e-43c0-925a-8684e86da345 2025-08-08 02:59:12,733 - DEBUG - Services list from nova: [, , ] 2025-08-08 02:59:13,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1) 2025-08-08 02:59:15,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3779-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3779-1) 2025-08-08 02:59:15,109 - INFO - Setting gateway for router 38e6d473-39da-4c8b-be06-390be7a83eff to network 6299eddf-367e-43c0-925a-8684e86da345 2025-08-08 02:59:15,174 - INFO - Adding interface with subnet_id e4229be3-a84a-4fc4-aa8f-2fdd6b802ee7, port_id None to router 38e6d473-39da-4c8b-be06-390be7a83eff 2025-08-08 02:59:15,520 - INFO - Waiting for VM ctest-TestRoutersBasic-03010564-98155081 to be up.. 2025-08-08 02:59:15,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-08 02:59:20,823 - DEBUG - VM is in ACTIVE state now 2025-08-08 02:59:20,823 - INFO - VM name : ctest-TestRoutersBasic-03010564-98155081 2025-08-08 02:59:20,897 - DEBUG - VM ctest-TestRoutersBasic-03010564-98155081 ID is fdcf15ff-3881-4b60-8f1f-62728c744f29 2025-08-08 02:59:20,917 - DEBUG - VM ctest-TestRoutersBasic-03010564-98155081 launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1 2025-08-08 02:59:20,991 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdcf15ff-3881-4b60-8f1f-62728c744f29 2025-08-08 02:59:21,325 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fdcf15ff-3881-4b60-8f1f-62728c744f29 2025-08-08 02:59:21,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/79a39874-2d55-4ef7-be10-dfea61508f81 2025-08-08 02:59:24,615 - 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 1010ms') 2025-08-08 02:59:24,615 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03010564-98155081 failed! 2025-08-08 02:59:24,669 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03010564:ctest-vn-74637594 is 164.12.61.1 and allocation pool is NOT set 2025-08-08 02:59:26,736 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.711 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.711/2.182/3.653/1.471 ms') 2025-08-08 02:59:26,736 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03010564-98155081 passed 2025-08-08 02:59:26,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:59:26,889 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03010564-98155081, IP 164.12.61.3, Port 22 2025-08-08 02:59:27,058 - DEBUG - VM ctest-TestRoutersBasic-03010564-98155081 is ready for SSH connections 2025-08-08 02:59:27,058 - INFO - Waiting for VM ctest-TestRoutersBasic-03010564-29762174 to be up.. 2025-08-08 02:59:27,134 - DEBUG - VM is in ACTIVE state now 2025-08-08 02:59:27,134 - INFO - VM name : ctest-TestRoutersBasic-03010564-29762174 2025-08-08 02:59:27,216 - DEBUG - VM ctest-TestRoutersBasic-03010564-29762174 ID is 92830460-27c7-44eb-b935-fa810ae24649 2025-08-08 02:59:27,216 - DEBUG - VM ctest-TestRoutersBasic-03010564-29762174 launched on Node cn-jenkins-deploy-platform-ansible-os-3779-1 2025-08-08 02:59:27,286 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/92830460-27c7-44eb-b935-fa810ae24649 2025-08-08 02:59:27,295 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d47de7c8-ae40-4419-bc5a-4aaa3ab4471b 2025-08-08 02:59:28,545 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.654/2.916/1.261 ms') 2025-08-08 02:59:28,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03010564-29762174 passed 2025-08-08 02:59:28,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:59:28,697 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03010564-29762174, IP 19.78.192.131, Port 22 2025-08-08 02:59:28,857 - DEBUG - VM ctest-TestRoutersBasic-03010564-29762174 is ready for SSH connections 2025-08-08 02:59:28,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-08 02:59:28,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.78.192.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-08 02:59:28,857 - DEBUG - ping -s 56 -c 3 -W 1 19.78.192.131 2025-08-08 02:59:32,574 - DEBUG - PING 19.78.192.131 (19.78.192.131): 56 data bytes 64 bytes from 19.78.192.131: seq=0 ttl=62 time=5.940 ms 64 bytes from 19.78.192.131: seq=1 ttl=62 time=0.871 ms 64 bytes from 19.78.192.131: seq=2 ttl=62 time=0.859 ms --- 19.78.192.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/2.556/5.940 ms 2025-08-08 02:59:32,574 - INFO - Ping to IP 19.78.192.131 from VM ctest-TestRoutersBasic-03010564-98155081 passed 2025-08-08 02:59:32,574 - INFO - Deleting interface with subnet_id e4229be3-a84a-4fc4-aa8f-2fdd6b802ee7, port_id None from router 38e6d473-39da-4c8b-be06-390be7a83eff 2025-08-08 02:59:32,772 - INFO - Deleting VM ctest-TestRoutersBasic-03010564-29762174 2025-08-08 02:59:32,839 - INFO - Deleting VM ctest-TestRoutersBasic-03010564-98155081 2025-08-08 02:59:32,919 - INFO - Deleting VN ctest-ext_vn-68244984 2025-08-08 02:59:32,988 - DEBUG - VN 6299eddf-367e-43c0-925a-8684e86da345 still in use: Unable to complete operation on network 6299eddf-367e-43c0-925a-8684e86da345. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2eb1b3e7-ca4b-4a77-9028-50543e5f138c'] 2025-08-08 02:59:32,988 - WARNING - Deleting VN ctest-ext_vn-68244984 failed..Will retry 2025-08-08 02:59:35,094 - DEBUG - Response for deleting network () 2025-08-08 02:59:35,095 - INFO - Deleting VN ctest-vn-74637594 2025-08-08 02:59:35,198 - DEBUG - Response for deleting network () 2025-08-08 02:59:35,451 - DEBUG - No XMPP flaps were noticed during the test 2025-08-08 02:59:35,451 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-08 02:59:35,452 - INFO - -------------------------------------------------------------------------------- 2025-08-08 02:59:36,172 - INFO - Deleted project: ctest-TestRoutersBasic-03010564, ID : fd940ac3-3248-4729-b87d-f2c1ce4e0aa5