2026-03-19 02:24:31,414 - INFO - Domain Default found not creating 2026-03-19 02:24:31,622 - INFO - Project ctest-TestRoutersBasic-02354835 not found, creating it 2026-03-19 02:24:32,106 - INFO - Created Project:ctest-TestRoutersBasic-02354835, ID : 8bcd7f25-ed3e-448c-a8d2-890ee238a8d7 2026-03-19 02:24:33,731 - INFO - ================================================================================ 2026-03-19 02:24:33,731 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-19 02:24:33,731 - 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 2026-03-19 02:24:33,984 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-03-19 02:24:33,984 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:24:33,984 - INFO - 2026-03-19 02:24:34,726 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02354835 2026-03-19 02:24:34,827 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02354835 2026-03-19 02:24:35,159 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02354835', 'default']} 2026-03-19 02:24:35,460 - DEBUG - Response for create_network : {'network': {'id': '3f490420-4cef-4225-95bb-2b0f16891822', 'name': 'ctest-vn-09892408', 'tenant_id': '8bcd7f25ed3e448ca8d2890ee238a8d7', 'project_id': '8bcd7f25ed3e448ca8d2890ee238a8d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02354835', 'ctest-vn-09892408'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:24:35,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d9d01bf-a4b6-4b5f-b210-190770b7037e', 'name': '', 'tenant_id': '8bcd7f25ed3e448ca8d2890ee238a8d7', 'network_id': '3f490420-4cef-4225-95bb-2b0f16891822', 'ip_version': 4, 'cidr': '85.170.50.192/26', 'allocation_pools': [{'start': '85.170.50.194', 'end': '85.170.50.254'}], 'gateway_ip': '85.170.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.170.50.194', 'tags': [], 'project_id': '8bcd7f25ed3e448ca8d2890ee238a8d7'}} 2026-03-19 02:24:35,682 - INFO - Created VN ctest-vn-09892408 2026-03-19 02:24:35,739 - DEBUG - VN ctest-vn-09892408 UUID is 3f490420-4cef-4225-95bb-2b0f16891822 2026-03-19 02:24:36,095 - DEBUG - Response for create_network : {'network': {'id': '5273e84b-7645-4dad-8c43-a84186307c30', 'name': 'ctest-ext_vn-11051914', 'tenant_id': '8bcd7f25ed3e448ca8d2890ee238a8d7', 'project_id': '8bcd7f25ed3e448ca8d2890ee238a8d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02354835', 'ctest-ext_vn-11051914'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:24:36,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '58ebd6fd-8390-4715-9781-69de3e1a52f1', 'name': '', 'tenant_id': '8bcd7f25ed3e448ca8d2890ee238a8d7', 'network_id': '5273e84b-7645-4dad-8c43-a84186307c30', 'ip_version': 4, 'cidr': '154.236.34.192/26', 'allocation_pools': [{'start': '154.236.34.194', 'end': '154.236.34.254'}], 'gateway_ip': '154.236.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.236.34.194', 'tags': [], 'project_id': '8bcd7f25ed3e448ca8d2890ee238a8d7'}} 2026-03-19 02:24:36,353 - INFO - Created VN ctest-ext_vn-11051914 2026-03-19 02:24:36,407 - DEBUG - VN ctest-ext_vn-11051914 UUID is 5273e84b-7645-4dad-8c43-a84186307c30 2026-03-19 02:24:36,608 - DEBUG - Services list from nova: [, , ] 2026-03-19 02:24:37,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5492-1) 2026-03-19 02:24:38,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5492-1) 2026-03-19 02:24:39,022 - INFO - Setting gateway for router b28192b6-a2fe-41ae-ad7a-90f614fd84eb to network 5273e84b-7645-4dad-8c43-a84186307c30 2026-03-19 02:24:39,111 - INFO - Adding interface with subnet_id 9d9d01bf-a4b6-4b5f-b210-190770b7037e, port_id None to router b28192b6-a2fe-41ae-ad7a-90f614fd84eb 2026-03-19 02:24:39,435 - INFO - Waiting for VM ctest-TestRoutersBasic-02354835-46400749 to be up.. 2026-03-19 02:24:39,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 02:24:44,707 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:24:44,707 - INFO - VM name : ctest-TestRoutersBasic-02354835-46400749 2026-03-19 02:24:44,791 - DEBUG - VM ctest-TestRoutersBasic-02354835-46400749 ID is 416003a1-edff-48f7-9422-4fd48626119f 2026-03-19 02:24:44,811 - DEBUG - VM ctest-TestRoutersBasic-02354835-46400749 launched on Node cn-jenkins-deploy-platform-ansible-os-5492-1 2026-03-19 02:24:44,895 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/416003a1-edff-48f7-9422-4fd48626119f 2026-03-19 02:24:45,192 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/416003a1-edff-48f7-9422-4fd48626119f 2026-03-19 02:24:45,226 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4396b85b-19fe-42df-a7db-352bf71b8ab4 2026-03-19 02:24:48,487 - 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 1017ms') 2026-03-19 02:24:48,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02354835-46400749 failed! 2026-03-19 02:24:48,547 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02354835:ctest-vn-09892408 is 85.170.50.193 and allocation pool is NOT set 2026-03-19 02:24:50,614 - 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=4.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.536 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.536/2.343/4.150/1.807 ms') 2026-03-19 02:24:50,614 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-02354835-46400749 passed 2026-03-19 02:24:50,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:24:50,723 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02354835-46400749, IP 85.170.50.195, Port 22 2026-03-19 02:24:50,892 - DEBUG - VM ctest-TestRoutersBasic-02354835-46400749 is ready for SSH connections 2026-03-19 02:24:50,892 - INFO - Waiting for VM ctest-TestRoutersBasic-02354835-42350125 to be up.. 2026-03-19 02:24:50,977 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:24:50,977 - INFO - VM name : ctest-TestRoutersBasic-02354835-42350125 2026-03-19 02:24:51,071 - DEBUG - VM ctest-TestRoutersBasic-02354835-42350125 ID is 6ceea4e4-0ade-4bef-89ad-da3b6688916b 2026-03-19 02:24:51,071 - DEBUG - VM ctest-TestRoutersBasic-02354835-42350125 launched on Node cn-jenkins-deploy-platform-ansible-os-5492-1 2026-03-19 02:24:51,169 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6ceea4e4-0ade-4bef-89ad-da3b6688916b 2026-03-19 02:24:51,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/85adfed6-b106-4086-8696-0274c272bb71 2026-03-19 02:24:52,443 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/2.064/3.722/1.657 ms') 2026-03-19 02:24:52,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-02354835-42350125 passed 2026-03-19 02:24:52,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:24:52,599 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02354835-42350125, IP 154.236.34.195, Port 22 2026-03-19 02:24:52,765 - DEBUG - VM ctest-TestRoutersBasic-02354835-42350125 is ready for SSH connections 2026-03-19 02:24:52,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:24:52,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.236.34.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-19 02:24:52,766 - DEBUG - ping -s 56 -c 3 -W 1 154.236.34.195 2026-03-19 02:24:56,837 - DEBUG - PING 154.236.34.195 (154.236.34.195): 56 data bytes 64 bytes from 154.236.34.195: seq=0 ttl=62 time=5.716 ms 64 bytes from 154.236.34.195: seq=1 ttl=62 time=1.269 ms 64 bytes from 154.236.34.195: seq=2 ttl=62 time=1.078 ms --- 154.236.34.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.078/2.687/5.716 ms 2026-03-19 02:24:56,838 - INFO - Ping to IP 154.236.34.195 from VM ctest-TestRoutersBasic-02354835-46400749 passed 2026-03-19 02:24:56,838 - INFO - Deleting interface with subnet_id 9d9d01bf-a4b6-4b5f-b210-190770b7037e, port_id None from router b28192b6-a2fe-41ae-ad7a-90f614fd84eb 2026-03-19 02:24:57,030 - INFO - Deleting VM ctest-TestRoutersBasic-02354835-42350125 2026-03-19 02:24:57,106 - INFO - Deleting VM ctest-TestRoutersBasic-02354835-46400749 2026-03-19 02:24:57,201 - INFO - Deleting VN ctest-ext_vn-11051914 2026-03-19 02:24:57,266 - DEBUG - VN 5273e84b-7645-4dad-8c43-a84186307c30 still in use: Unable to complete operation on network 5273e84b-7645-4dad-8c43-a84186307c30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a715d54-7b40-4cd6-824a-4736c2bc81e5'] 2026-03-19 02:24:57,266 - WARNING - Deleting VN ctest-ext_vn-11051914 failed..Will retry 2026-03-19 02:24:59,391 - DEBUG - Response for deleting network () 2026-03-19 02:24:59,391 - INFO - Deleting VN ctest-vn-09892408 2026-03-19 02:24:59,501 - DEBUG - Response for deleting network () 2026-03-19 02:24:59,761 - DEBUG - No XMPP flaps were noticed during the test 2026-03-19 02:24:59,761 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-03-19 02:24:59,761 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:25:00,491 - INFO - Deleted project: ctest-TestRoutersBasic-02354835, ID : 8bcd7f25-ed3e-448c-a8d2-890ee238a8d7