2025-08-18 09:43:50,849 - INFO - Domain Default found not creating 2025-08-18 09:43:50,977 - INFO - Project ctest-TestRoutersBasic-75214947 not found, creating it 2025-08-18 09:43:51,487 - INFO - Created Project:ctest-TestRoutersBasic-75214947, ID : 7b7c3534-e99b-4792-a2d0-b3d954d4d8be 2025-08-18 09:43:52,772 - INFO - ================================================================================ 2025-08-18 09:43:52,772 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-18 09:43:52,772 - 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-18 09:43:53,025 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.0.0.48': '0'}} with 2025-08-18 09:43:53,025 - INFO - Initial checks done. Running the testcase now 2025-08-18 09:43:53,025 - INFO - 2025-08-18 09:43:53,699 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-75214947 2025-08-18 09:43:53,795 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-75214947 2025-08-18 09:43:54,111 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75214947', 'default']} 2025-08-18 09:43:54,375 - DEBUG - Response for create_network : {'network': {'id': '2db77df2-3618-42b2-9ee3-c55011fddb66', 'name': 'ctest-vn-57206933', 'tenant_id': '7b7c3534e99b4792a2d0b3d954d4d8be', 'project_id': '7b7c3534e99b4792a2d0b3d954d4d8be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75214947', 'ctest-vn-57206933'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:43:54,580 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fa3726d-f6e2-4bfb-8ca2-6a100fcd364a', 'name': '', 'tenant_id': '7b7c3534e99b4792a2d0b3d954d4d8be', 'network_id': '2db77df2-3618-42b2-9ee3-c55011fddb66', 'ip_version': 4, 'cidr': '95.156.55.128/26', 'allocation_pools': [{'start': '95.156.55.130', 'end': '95.156.55.190'}], 'gateway_ip': '95.156.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.156.55.130', 'tags': [], 'project_id': '7b7c3534e99b4792a2d0b3d954d4d8be'}} 2025-08-18 09:43:54,595 - INFO - Created VN ctest-vn-57206933 2025-08-18 09:43:54,647 - DEBUG - VN ctest-vn-57206933 UUID is 2db77df2-3618-42b2-9ee3-c55011fddb66 2025-08-18 09:43:54,975 - DEBUG - Response for create_network : {'network': {'id': '2bb2fc66-09c9-4464-9ae0-0427c154d313', 'name': 'ctest-ext_vn-21751748', 'tenant_id': '7b7c3534e99b4792a2d0b3d954d4d8be', 'project_id': '7b7c3534e99b4792a2d0b3d954d4d8be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-75214947', 'ctest-ext_vn-21751748'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 09:43:55,172 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbce7e7d-06e3-4253-b263-e6806ca0c6f2', 'name': '', 'tenant_id': '7b7c3534e99b4792a2d0b3d954d4d8be', 'network_id': '2bb2fc66-09c9-4464-9ae0-0427c154d313', 'ip_version': 4, 'cidr': '70.191.26.192/26', 'allocation_pools': [{'start': '70.191.26.194', 'end': '70.191.26.254'}], 'gateway_ip': '70.191.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.191.26.194', 'tags': [], 'project_id': '7b7c3534e99b4792a2d0b3d954d4d8be'}} 2025-08-18 09:43:55,187 - INFO - Created VN ctest-ext_vn-21751748 2025-08-18 09:43:55,243 - DEBUG - VN ctest-ext_vn-21751748 UUID is 2bb2fc66-09c9-4464-9ae0-0427c154d313 2025-08-18 09:43:55,433 - DEBUG - Services list from nova: [, , ] 2025-08-18 09:43:56,357 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:43:57,429 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3875-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3875-1) 2025-08-18 09:43:57,497 - INFO - Setting gateway for router 483c2d5d-bf7c-40aa-af65-93294599d14c to network 2bb2fc66-09c9-4464-9ae0-0427c154d313 2025-08-18 09:43:57,568 - INFO - Adding interface with subnet_id 4fa3726d-f6e2-4bfb-8ca2-6a100fcd364a, port_id None to router 483c2d5d-bf7c-40aa-af65-93294599d14c 2025-08-18 09:43:57,947 - INFO - Waiting for VM ctest-TestRoutersBasic-75214947-74389906 to be up.. 2025-08-18 09:43:58,109 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 09:44:03,177 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:44:03,177 - INFO - VM name : ctest-TestRoutersBasic-75214947-74389906 2025-08-18 09:44:03,238 - DEBUG - VM ctest-TestRoutersBasic-75214947-74389906 ID is a21a1d8e-38d2-48ff-baa5-e545410bc793 2025-08-18 09:44:03,254 - DEBUG - VM ctest-TestRoutersBasic-75214947-74389906 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:44:03,327 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a21a1d8e-38d2-48ff-baa5-e545410bc793 2025-08-18 09:44:03,616 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a21a1d8e-38d2-48ff-baa5-e545410bc793 2025-08-18 09:44:03,642 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ce1403f8-f005-4d82-8338-0d7f4758fa1c 2025-08-18 09:44:06,892 - 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=8.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 8.551/8.551/8.551/0.000 ms') 2025-08-18 09:44:06,892 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-75214947-74389906 passed 2025-08-18 09:44:07,043 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:44:07,043 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75214947-74389906, IP 95.156.55.131, Port 22 2025-08-18 09:44:07,195 - DEBUG - VM ctest-TestRoutersBasic-75214947-74389906 is ready for SSH connections 2025-08-18 09:44:07,195 - INFO - Waiting for VM ctest-TestRoutersBasic-75214947-32454468 to be up.. 2025-08-18 09:44:07,258 - DEBUG - VM is in ACTIVE state now 2025-08-18 09:44:07,259 - INFO - VM name : ctest-TestRoutersBasic-75214947-32454468 2025-08-18 09:44:07,319 - DEBUG - VM ctest-TestRoutersBasic-75214947-32454468 ID is 43dd1bf6-116c-4ade-ab20-b55fc28989a0 2025-08-18 09:44:07,319 - DEBUG - VM ctest-TestRoutersBasic-75214947-32454468 launched on Node cn-jenkins-deploy-platform-ansible-os-3875-1. 2025-08-18 09:44:07,383 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/43dd1bf6-116c-4ade-ab20-b55fc28989a0 2025-08-18 09:44:07,390 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3a074ad5-e5e3-4c6a-a602-16ff52d9316c 2025-08-18 09:44:08,619 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.488/2.591/1.102 ms') 2025-08-18 09:44:08,619 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-75214947-32454468 passed 2025-08-18 09:44:08,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:44:08,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-75214947-32454468, IP 70.191.26.195, Port 22 2025-08-18 09:44:08,930 - DEBUG - VM ctest-TestRoutersBasic-75214947-32454468 is ready for SSH connections 2025-08-18 09:44:08,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 09:44:08,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.191.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-18 09:44:08,930 - DEBUG - ping -s 56 -c 3 -W 1 70.191.26.195 2025-08-18 09:44:12,874 - DEBUG - PING 70.191.26.195 (70.191.26.195): 56 data bytes 64 bytes from 70.191.26.195: seq=0 ttl=62 time=5.808 ms 64 bytes from 70.191.26.195: seq=1 ttl=62 time=0.749 ms 64 bytes from 70.191.26.195: seq=2 ttl=62 time=0.844 ms --- 70.191.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/2.467/5.808 ms 2025-08-18 09:44:12,874 - INFO - Ping to IP 70.191.26.195 from VM ctest-TestRoutersBasic-75214947-74389906 passed 2025-08-18 09:44:12,874 - INFO - Deleting interface with subnet_id 4fa3726d-f6e2-4bfb-8ca2-6a100fcd364a, port_id None from router 483c2d5d-bf7c-40aa-af65-93294599d14c 2025-08-18 09:44:13,043 - INFO - Deleting VM ctest-TestRoutersBasic-75214947-32454468 2025-08-18 09:44:13,105 - INFO - Deleting VM ctest-TestRoutersBasic-75214947-74389906 2025-08-18 09:44:13,165 - INFO - Deleting VN ctest-ext_vn-21751748 2025-08-18 09:44:13,239 - DEBUG - VN 2bb2fc66-09c9-4464-9ae0-0427c154d313 still in use: Unable to complete operation on network 2bb2fc66-09c9-4464-9ae0-0427c154d313. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5367963-9fc0-4dcf-8d18-3337faae25ed'] 2025-08-18 09:44:13,239 - WARNING - Deleting VN ctest-ext_vn-21751748 failed..Will retry 2025-08-18 09:44:15,331 - DEBUG - Response for deleting network () 2025-08-18 09:44:15,331 - INFO - Deleting VN ctest-vn-57206933 2025-08-18 09:44:15,420 - DEBUG - Response for deleting network () 2025-08-18 09:44:15,671 - DEBUG - No XMPP flaps were noticed during the test 2025-08-18 09:44:15,671 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-08-18 09:44:15,671 - INFO - -------------------------------------------------------------------------------- 2025-08-18 09:44:16,317 - INFO - Deleted project: ctest-TestRoutersBasic-75214947, ID : 7b7c3534-e99b-4792-a2d0-b3d954d4d8be