2025-08-28 21:26:07,726 - INFO - Domain Default found not creating 2025-08-28 21:26:07,838 - INFO - Project ctest-TestRoutersBasic-82319455 not found, creating it 2025-08-28 21:26:08,286 - INFO - Created Project:ctest-TestRoutersBasic-82319455, ID : 93cdead3-19bf-4980-9eda-36e69d807e0d 2025-08-28 21:26:09,588 - INFO - ================================================================================ 2025-08-28 21:26:09,588 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-28 21:26:09,588 - 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-28 21:26:09,849 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-08-28 21:26:09,849 - INFO - Initial checks done. Running the testcase now 2025-08-28 21:26:09,849 - INFO - 2025-08-28 21:26:10,520 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82319455 2025-08-28 21:26:10,619 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82319455 2025-08-28 21:26:10,930 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82319455', 'default']} 2025-08-28 21:26:11,185 - DEBUG - Response for create_network : {'network': {'id': 'daa5e167-c14d-4600-891f-1e1e9f10a6a8', 'name': 'ctest-vn-37632162', 'tenant_id': '93cdead319bf49809eda36e69d807e0d', 'project_id': '93cdead319bf49809eda36e69d807e0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82319455', 'ctest-vn-37632162'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:26:11,396 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cf1e924-2a21-4e5f-9dde-932e551a35ea', 'name': '', 'tenant_id': '93cdead319bf49809eda36e69d807e0d', 'network_id': 'daa5e167-c14d-4600-891f-1e1e9f10a6a8', 'ip_version': 4, 'cidr': '92.173.252.0/26', 'allocation_pools': [{'start': '92.173.252.2', 'end': '92.173.252.62'}], 'gateway_ip': '92.173.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.173.252.2', 'tags': [], 'project_id': '93cdead319bf49809eda36e69d807e0d'}} 2025-08-28 21:26:11,411 - INFO - Created VN ctest-vn-37632162 2025-08-28 21:26:11,458 - DEBUG - VN ctest-vn-37632162 UUID is daa5e167-c14d-4600-891f-1e1e9f10a6a8 2025-08-28 21:26:11,780 - DEBUG - Response for create_network : {'network': {'id': '29d6c4d6-fdd2-4a66-8de6-25320fc46cfd', 'name': 'ctest-ext_vn-16722831', 'tenant_id': '93cdead319bf49809eda36e69d807e0d', 'project_id': '93cdead319bf49809eda36e69d807e0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82319455', 'ctest-ext_vn-16722831'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:26:11,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3b4d796-5c0a-4f94-8222-53be902897cf', 'name': '', 'tenant_id': '93cdead319bf49809eda36e69d807e0d', 'network_id': '29d6c4d6-fdd2-4a66-8de6-25320fc46cfd', 'ip_version': 4, 'cidr': '142.131.163.0/26', 'allocation_pools': [{'start': '142.131.163.2', 'end': '142.131.163.62'}], 'gateway_ip': '142.131.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.131.163.2', 'tags': [], 'project_id': '93cdead319bf49809eda36e69d807e0d'}} 2025-08-28 21:26:11,954 - INFO - Created VN ctest-ext_vn-16722831 2025-08-28 21:26:12,006 - DEBUG - VN ctest-ext_vn-16722831 UUID is 29d6c4d6-fdd2-4a66-8de6-25320fc46cfd 2025-08-28 21:26:12,197 - DEBUG - Services list from nova: [, , ] 2025-08-28 21:26:13,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:26:14,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:26:14,316 - INFO - Setting gateway for router 720099e0-af49-46c9-915e-f03fd999d3e2 to network 29d6c4d6-fdd2-4a66-8de6-25320fc46cfd 2025-08-28 21:26:14,388 - INFO - Adding interface with subnet_id 7cf1e924-2a21-4e5f-9dde-932e551a35ea, port_id None to router 720099e0-af49-46c9-915e-f03fd999d3e2 2025-08-28 21:26:14,761 - INFO - Waiting for VM ctest-TestRoutersBasic-82319455-36511202 to be up.. 2025-08-28 21:26:14,867 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 21:26:19,935 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:26:19,935 - INFO - VM name : ctest-TestRoutersBasic-82319455-36511202 2025-08-28 21:26:20,006 - DEBUG - VM ctest-TestRoutersBasic-82319455-36511202 ID is d17243b1-fab2-4782-a318-b805768bac1c 2025-08-28 21:26:20,025 - DEBUG - VM ctest-TestRoutersBasic-82319455-36511202 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:26:20,094 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d17243b1-fab2-4782-a318-b805768bac1c 2025-08-28 21:26:20,387 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d17243b1-fab2-4782-a318-b805768bac1c 2025-08-28 21:26:20,424 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ff31842c-9cb0-4851-8d7a-547d2ee27444 2025-08-28 21:26:23,689 - 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 1014ms') 2025-08-28 21:26:23,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82319455-36511202 failed! 2025-08-28 21:26:23,747 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82319455:ctest-vn-37632162 is 92.173.252.1 and allocation pool is NOT set 2025-08-28 21:26:25,813 - 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=7.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.539 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.539/3.915/7.292/3.376 ms') 2025-08-28 21:26:25,813 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-82319455-36511202 passed 2025-08-28 21:26:25,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:26:25,959 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82319455-36511202, IP 92.173.252.3, Port 22 2025-08-28 21:26:26,119 - DEBUG - VM ctest-TestRoutersBasic-82319455-36511202 is ready for SSH connections 2025-08-28 21:26:26,119 - INFO - Waiting for VM ctest-TestRoutersBasic-82319455-00262027 to be up.. 2025-08-28 21:26:26,192 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:26:26,192 - INFO - VM name : ctest-TestRoutersBasic-82319455-00262027 2025-08-28 21:26:26,260 - DEBUG - VM ctest-TestRoutersBasic-82319455-00262027 ID is 5e1c81e7-a672-4b61-8a4c-fd0b9cfa30e3 2025-08-28 21:26:26,260 - DEBUG - VM ctest-TestRoutersBasic-82319455-00262027 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:26:26,319 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5e1c81e7-a672-4b61-8a4c-fd0b9cfa30e3 2025-08-28 21:26:26,325 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4be6ae4d-a66d-45ff-a246-d17b13dca416 2025-08-28 21:26:27,548 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.307 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.307/1.464/2.622/1.157 ms') 2025-08-28 21:26:27,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-82319455-00262027 passed 2025-08-28 21:26:27,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:26:27,691 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82319455-00262027, IP 142.131.163.3, Port 22 2025-08-28 21:26:27,841 - DEBUG - VM ctest-TestRoutersBasic-82319455-00262027 is ready for SSH connections 2025-08-28 21:26:27,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:26:27,841 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.131.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:26:27,842 - DEBUG - ping -s 56 -c 3 -W 1 142.131.163.3 2025-08-28 21:26:31,522 - DEBUG - PING 142.131.163.3 (142.131.163.3): 56 data bytes 64 bytes from 142.131.163.3: seq=0 ttl=62 time=7.397 ms 64 bytes from 142.131.163.3: seq=1 ttl=62 time=0.873 ms 64 bytes from 142.131.163.3: seq=2 ttl=62 time=0.729 ms --- 142.131.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.729/2.999/7.397 ms 2025-08-28 21:26:31,522 - INFO - Ping to IP 142.131.163.3 from VM ctest-TestRoutersBasic-82319455-36511202 passed 2025-08-28 21:26:31,523 - INFO - Deleting interface with subnet_id 7cf1e924-2a21-4e5f-9dde-932e551a35ea, port_id None from router 720099e0-af49-46c9-915e-f03fd999d3e2 2025-08-28 21:26:31,711 - INFO - Deleting VM ctest-TestRoutersBasic-82319455-00262027 2025-08-28 21:26:31,798 - INFO - Deleting VM ctest-TestRoutersBasic-82319455-36511202 2025-08-28 21:26:31,868 - INFO - Deleting VN ctest-ext_vn-16722831 2025-08-28 21:26:31,922 - DEBUG - VN 29d6c4d6-fdd2-4a66-8de6-25320fc46cfd still in use: Unable to complete operation on network 29d6c4d6-fdd2-4a66-8de6-25320fc46cfd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7420b296-ddd6-43ee-8eed-53bb06202862'] 2025-08-28 21:26:31,922 - WARNING - Deleting VN ctest-ext_vn-16722831 failed..Will retry 2025-08-28 21:26:34,017 - DEBUG - Response for deleting network () 2025-08-28 21:26:34,017 - INFO - Deleting VN ctest-vn-37632162 2025-08-28 21:26:34,109 - DEBUG - Response for deleting network () 2025-08-28 21:26:34,363 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 21:26:34,363 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-28 21:26:34,363 - INFO - -------------------------------------------------------------------------------- 2025-08-28 21:26:34,997 - INFO - Deleted project: ctest-TestRoutersBasic-82319455, ID : 93cdead3-19bf-4980-9eda-36e69d807e0d