2026-03-27 14:56:12,337 - INFO - Domain Default found not creating 2026-03-27 14:56:12,646 - INFO - Project ctest-TestRoutersBasic-93822214 not found, creating it 2026-03-27 14:56:13,169 - INFO - Created Project:ctest-TestRoutersBasic-93822214, ID : b3fdf35b-dee6-4fb1-98c6-9cd773a7ea70 2026-03-27 14:56:15,189 - INFO - ================================================================================ 2026-03-27 14:56:15,189 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-27 14:56:15,189 - 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-27 14:56:15,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-03-27 14:56:15,479 - INFO - Initial checks done. Running the testcase now 2026-03-27 14:56:15,479 - INFO - 2026-03-27 14:56:16,316 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93822214 2026-03-27 14:56:16,418 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93822214 2026-03-27 14:56:16,802 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93822214', 'default']} 2026-03-27 14:56:17,152 - DEBUG - Response for create_network : {'network': {'id': '697d91fe-8d19-41db-ac24-0de067579d2a', 'name': 'ctest-vn-48808693', 'tenant_id': 'b3fdf35bdee64fb198c69cd773a7ea70', 'project_id': 'b3fdf35bdee64fb198c69cd773a7ea70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93822214', 'ctest-vn-48808693'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:56:17,373 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6122204-2943-47ee-b24a-4c3342756649', 'name': '', 'tenant_id': 'b3fdf35bdee64fb198c69cd773a7ea70', 'network_id': '697d91fe-8d19-41db-ac24-0de067579d2a', 'ip_version': 4, 'cidr': '57.182.201.0/26', 'allocation_pools': [{'start': '57.182.201.2', 'end': '57.182.201.62'}], 'gateway_ip': '57.182.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.182.201.2', 'tags': [], 'project_id': 'b3fdf35bdee64fb198c69cd773a7ea70'}} 2026-03-27 14:56:17,397 - INFO - Created VN ctest-vn-48808693 2026-03-27 14:56:17,454 - DEBUG - VN ctest-vn-48808693 UUID is 697d91fe-8d19-41db-ac24-0de067579d2a 2026-03-27 14:56:17,864 - DEBUG - Response for create_network : {'network': {'id': '2e8fb9cb-82c3-468d-bd5b-82a6e9e1b242', 'name': 'ctest-ext_vn-27788435', 'tenant_id': 'b3fdf35bdee64fb198c69cd773a7ea70', 'project_id': 'b3fdf35bdee64fb198c69cd773a7ea70', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93822214', 'ctest-ext_vn-27788435'], 'port_security_enabled': True, 'description': ''}} 2026-03-27 14:56:18,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '796b87eb-e668-45d2-8ab4-94c70caa3994', 'name': '', 'tenant_id': 'b3fdf35bdee64fb198c69cd773a7ea70', 'network_id': '2e8fb9cb-82c3-468d-bd5b-82a6e9e1b242', 'ip_version': 4, 'cidr': '158.200.255.192/26', 'allocation_pools': [{'start': '158.200.255.194', 'end': '158.200.255.254'}], 'gateway_ip': '158.200.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.200.255.194', 'tags': [], 'project_id': 'b3fdf35bdee64fb198c69cd773a7ea70'}} 2026-03-27 14:56:18,140 - INFO - Created VN ctest-ext_vn-27788435 2026-03-27 14:56:18,198 - DEBUG - VN ctest-ext_vn-27788435 UUID is 2e8fb9cb-82c3-468d-bd5b-82a6e9e1b242 2026-03-27 14:56:18,433 - DEBUG - Services list from nova: [, , ] 2026-03-27 14:56:19,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5555-1) 2026-03-27 14:56:21,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5555-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5555-1) 2026-03-27 14:56:21,362 - INFO - Setting gateway for router 5be4e221-601c-4b7c-b7cd-5f427bf1c650 to network 2e8fb9cb-82c3-468d-bd5b-82a6e9e1b242 2026-03-27 14:56:21,460 - INFO - Adding interface with subnet_id e6122204-2943-47ee-b24a-4c3342756649, port_id None to router 5be4e221-601c-4b7c-b7cd-5f427bf1c650 2026-03-27 14:56:21,994 - INFO - Waiting for VM ctest-TestRoutersBasic-93822214-46851747 to be up.. 2026-03-27 14:56:22,204 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-27 14:56:27,318 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:56:27,319 - INFO - VM name : ctest-TestRoutersBasic-93822214-46851747 2026-03-27 14:56:27,412 - DEBUG - VM ctest-TestRoutersBasic-93822214-46851747 ID is 18da380a-f571-404a-bfdc-15ec4bbf6338 2026-03-27 14:56:27,442 - DEBUG - VM ctest-TestRoutersBasic-93822214-46851747 launched on Node cn-jenkins-deploy-platform-ansible-os-5555-1 2026-03-27 14:56:27,543 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/18da380a-f571-404a-bfdc-15ec4bbf6338 2026-03-27 14:56:27,887 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/18da380a-f571-404a-bfdc-15ec4bbf6338 2026-03-27 14:56:27,957 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d83f9a72-3763-46d8-80b8-90e06706a5d9 2026-03-27 14:56:31,240 - 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 1008ms') 2026-03-27 14:56:31,240 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93822214-46851747 failed! 2026-03-27 14:56:31,298 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93822214:ctest-vn-48808693 is 57.182.201.1 and allocation pool is NOT set 2026-03-27 14:56:33,382 - 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=12.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.727 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.727/6.499/12.272/5.772 ms') 2026-03-27 14:56:33,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93822214-46851747 passed 2026-03-27 14:56:33,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:56:33,546 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93822214-46851747, IP 57.182.201.3, Port 22 2026-03-27 14:56:33,728 - DEBUG - VM ctest-TestRoutersBasic-93822214-46851747 is ready for SSH connections 2026-03-27 14:56:33,728 - INFO - Waiting for VM ctest-TestRoutersBasic-93822214-02946776 to be up.. 2026-03-27 14:56:33,833 - DEBUG - VM is in ACTIVE state now 2026-03-27 14:56:33,833 - INFO - VM name : ctest-TestRoutersBasic-93822214-02946776 2026-03-27 14:56:33,934 - DEBUG - VM ctest-TestRoutersBasic-93822214-02946776 ID is 4c0d8d7c-49bd-4805-9e14-2f668b0139ff 2026-03-27 14:56:33,934 - DEBUG - VM ctest-TestRoutersBasic-93822214-02946776 launched on Node cn-jenkins-deploy-platform-ansible-os-5555-1 2026-03-27 14:56:34,022 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4c0d8d7c-49bd-4805-9e14-2f668b0139ff 2026-03-27 14:56:34,034 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7e85cbdf-aa45-4036-98a4-f0c539096099 2026-03-27 14:56:35,291 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.863 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.863/2.207/3.552/1.344 ms') 2026-03-27 14:56:35,291 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93822214-02946776 passed 2026-03-27 14:56:35,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:56:35,470 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93822214-02946776, IP 158.200.255.195, Port 22 2026-03-27 14:56:35,551 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-27 14:56:35,659 - DEBUG - VM ctest-TestRoutersBasic-93822214-02946776 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-27 14:56:40,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:56:40,661 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93822214-02946776, IP 158.200.255.195, Port 22 2026-03-27 14:56:40,846 - DEBUG - VM ctest-TestRoutersBasic-93822214-02946776 is ready for SSH connections 2026-03-27 14:56:40,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-27 14:56:40,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.200.255.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-27 14:56:40,846 - DEBUG - ping -s 56 -c 3 -W 1 158.200.255.195 2026-03-27 14:56:44,890 - DEBUG - PING 158.200.255.195 (158.200.255.195): 56 data bytes 64 bytes from 158.200.255.195: seq=0 ttl=62 time=10.087 ms 64 bytes from 158.200.255.195: seq=1 ttl=62 time=1.954 ms 64 bytes from 158.200.255.195: seq=2 ttl=62 time=1.316 ms --- 158.200.255.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.316/4.452/10.087 ms 2026-03-27 14:56:44,891 - INFO - Ping to IP 158.200.255.195 from VM ctest-TestRoutersBasic-93822214-46851747 passed 2026-03-27 14:56:44,891 - INFO - Deleting interface with subnet_id e6122204-2943-47ee-b24a-4c3342756649, port_id None from router 5be4e221-601c-4b7c-b7cd-5f427bf1c650 2026-03-27 14:56:45,145 - INFO - Deleting VM ctest-TestRoutersBasic-93822214-02946776 2026-03-27 14:56:45,253 - INFO - Deleting VM ctest-TestRoutersBasic-93822214-46851747 2026-03-27 14:56:45,355 - INFO - Deleting VN ctest-ext_vn-27788435 2026-03-27 14:56:45,458 - DEBUG - VN 2e8fb9cb-82c3-468d-bd5b-82a6e9e1b242 still in use: Unable to complete operation on network 2e8fb9cb-82c3-468d-bd5b-82a6e9e1b242. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6164359a-d814-4f5c-ae42-2ceeaa3e3032'] 2026-03-27 14:56:45,458 - WARNING - Deleting VN ctest-ext_vn-27788435 failed..Will retry 2026-03-27 14:56:47,620 - DEBUG - Response for deleting network () 2026-03-27 14:56:47,620 - INFO - Deleting VN ctest-vn-48808693 2026-03-27 14:56:47,764 - DEBUG - Response for deleting network () 2026-03-27 14:56:48,045 - DEBUG - No XMPP flaps were noticed during the test 2026-03-27 14:56:48,045 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-03-27 14:56:48,045 - INFO - -------------------------------------------------------------------------------- 2026-03-27 14:56:48,929 - INFO - Deleted project: ctest-TestRoutersBasic-93822214, ID : b3fdf35b-dee6-4fb1-98c6-9cd773a7ea70