2026-11-04 13:44:23,451 - INFO - Domain Default found not creating 2026-11-04 13:44:23,645 - INFO - Project ctest-TestRoutersBasic-02796108 not found, creating it 2026-11-04 13:44:24,186 - INFO - Created Project:ctest-TestRoutersBasic-02796108, ID : 35d0eef1-6981-4e53-9853-088e2cbbb535 2026-11-04 13:44:25,990 - INFO - ================================================================================ 2026-11-04 13:44:25,990 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-04 13:44:25,990 - 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-11-04 13:44:26,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-04 13:44:26,265 - INFO - Initial checks done. Running the testcase now 2026-11-04 13:44:26,265 - INFO - 2026-11-04 13:44:27,153 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-02796108 2026-11-04 13:44:27,256 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-02796108 2026-11-04 13:44:27,591 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02796108', 'default']} 2026-11-04 13:44:27,928 - DEBUG - Response for create_network : {'network': {'id': '813dc337-9e97-4c1e-ba63-cf8a960fa312', 'name': 'ctest-vn-00226710', 'tenant_id': '35d0eef169814e539853088e2cbbb535', 'project_id': '35d0eef169814e539853088e2cbbb535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02796108', 'ctest-vn-00226710'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 13:44:28,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a78a213-7ae2-47e5-9f08-9ec48606f1bd', 'name': '', 'tenant_id': '35d0eef169814e539853088e2cbbb535', 'network_id': '813dc337-9e97-4c1e-ba63-cf8a960fa312', 'ip_version': 4, 'cidr': '24.168.231.64/26', 'allocation_pools': [{'start': '24.168.231.66', 'end': '24.168.231.126'}], 'gateway_ip': '24.168.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.168.231.66', 'tags': [], 'project_id': '35d0eef169814e539853088e2cbbb535'}} 2026-11-04 13:44:28,135 - INFO - Created VN ctest-vn-00226710 2026-11-04 13:44:28,187 - DEBUG - VN ctest-vn-00226710 UUID is 813dc337-9e97-4c1e-ba63-cf8a960fa312 2026-11-04 13:44:28,563 - DEBUG - Response for create_network : {'network': {'id': 'e3d56da6-76b8-474a-8230-4535bbd9d889', 'name': 'ctest-ext_vn-29314100', 'tenant_id': '35d0eef169814e539853088e2cbbb535', 'project_id': '35d0eef169814e539853088e2cbbb535', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-02796108', 'ctest-ext_vn-29314100'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 13:44:28,770 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c7db9f8-fdf6-4944-ac09-52ccb75720da', 'name': '', 'tenant_id': '35d0eef169814e539853088e2cbbb535', 'network_id': 'e3d56da6-76b8-474a-8230-4535bbd9d889', 'ip_version': 4, 'cidr': '175.79.125.192/26', 'allocation_pools': [{'start': '175.79.125.194', 'end': '175.79.125.254'}], 'gateway_ip': '175.79.125.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.79.125.194', 'tags': [], 'project_id': '35d0eef169814e539853088e2cbbb535'}} 2026-11-04 13:44:28,790 - INFO - Created VN ctest-ext_vn-29314100 2026-11-04 13:44:28,847 - DEBUG - VN ctest-ext_vn-29314100 UUID is e3d56da6-76b8-474a-8230-4535bbd9d889 2026-11-04 13:44:29,027 - DEBUG - Services list from nova: [, , ] 2026-11-04 13:44:29,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6481-1) 2026-11-04 13:44:29,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6481-1) 2026-11-04 13:44:29,937 - INFO - Setting gateway for router 329e2dfd-bf0f-4760-b1fc-4eeac2f19dcf to network e3d56da6-76b8-474a-8230-4535bbd9d889 2026-11-04 13:44:30,006 - INFO - Adding interface with subnet_id 8a78a213-7ae2-47e5-9f08-9ec48606f1bd, port_id None to router 329e2dfd-bf0f-4760-b1fc-4eeac2f19dcf 2026-11-04 13:44:30,256 - INFO - Waiting for VM ctest-TestRoutersBasic-02796108-63885394 to be up.. 2026-11-04 13:44:30,324 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:44:35,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:44:40,558 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:44:45,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:44:50,739 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:44:55,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:45:00,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:45:05,998 - DEBUG - VM is in ACTIVE state now 2026-11-04 13:45:05,998 - INFO - VM name : ctest-TestRoutersBasic-02796108-63885394 2026-11-04 13:45:06,086 - DEBUG - VM ctest-TestRoutersBasic-02796108-63885394 ID is 9d5f75f7-6d16-4b42-a34d-248245aabfcd 2026-11-04 13:45:06,109 - DEBUG - VM ctest-TestRoutersBasic-02796108-63885394 launched on Node cn-jenkins-deploy-platform-ansible-os-6481-1 2026-11-04 13:45:06,206 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9d5f75f7-6d16-4b42-a34d-248245aabfcd 2026-11-04 13:45:06,589 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9d5f75f7-6d16-4b42-a34d-248245aabfcd 2026-11-04 13:45:06,628 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c1275e88-994d-49d2-9568-360571e90ff5 2026-11-04 13:45:09,907 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2026-11-04 13:45:09,907 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-02796108-63885394 failed! 2026-11-04 13:45:09,963 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-02796108:ctest-vn-00226710 is 24.168.231.65 and allocation pool is NOT set 2026-11-04 13:45:12,036 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=11.1 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.94 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.944/6.999/11.055/4.055 ms') 2026-11-04 13:45:12,036 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-02796108-63885394 passed 2026-11-04 13:45:12,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:45:12,212 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02796108-63885394, IP 24.168.231.67, Port 22 2026-11-04 13:45:12,279 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-04 13:45:12,375 - DEBUG - VM ctest-TestRoutersBasic-02796108-63885394 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-04 13:45:17,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:45:17,376 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02796108-63885394, IP 24.168.231.67, Port 22 2026-11-04 13:45:17,550 - DEBUG - VM ctest-TestRoutersBasic-02796108-63885394 is ready for SSH connections 2026-11-04 13:45:17,550 - INFO - Waiting for VM ctest-TestRoutersBasic-02796108-81254372 to be up.. 2026-11-04 13:45:17,639 - DEBUG - VM is in ACTIVE state now 2026-11-04 13:45:17,640 - INFO - VM name : ctest-TestRoutersBasic-02796108-81254372 2026-11-04 13:45:17,728 - DEBUG - VM ctest-TestRoutersBasic-02796108-81254372 ID is bc975d45-08ad-482e-9964-da5992976335 2026-11-04 13:45:17,729 - DEBUG - VM ctest-TestRoutersBasic-02796108-81254372 launched on Node cn-jenkins-deploy-platform-ansible-os-6481-1 2026-11-04 13:45:17,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bc975d45-08ad-482e-9964-da5992976335 2026-11-04 13:45:17,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f189719f-5ce7-4a09-8927-c31e1dbbd76c 2026-11-04 13:45:21,108 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=6.49 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 6.485/6.485/6.485/0.000 ms') 2026-11-04 13:45:21,109 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-02796108-81254372 passed 2026-11-04 13:45:21,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:45:21,268 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-02796108-81254372, IP 175.79.125.196, Port 22 2026-11-04 13:45:21,442 - DEBUG - VM ctest-TestRoutersBasic-02796108-81254372 is ready for SSH connections 2026-11-04 13:45:21,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:45:21,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.79.125.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-04 13:45:21,442 - DEBUG - ping -s 56 -c 3 -W 1 175.79.125.196 2026-11-04 13:45:24,553 - DEBUG - PING 175.79.125.196 (175.79.125.196): 56 data bytes 64 bytes from 175.79.125.196: seq=0 ttl=62 time=8.630 ms 64 bytes from 175.79.125.196: seq=1 ttl=62 time=1.498 ms 64 bytes from 175.79.125.196: seq=2 ttl=62 time=1.335 ms --- 175.79.125.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.335/3.821/8.630 ms 2026-11-04 13:45:24,553 - INFO - Ping to IP 175.79.125.196 from VM ctest-TestRoutersBasic-02796108-63885394 passed 2026-11-04 13:45:24,553 - INFO - Deleting interface with subnet_id 8a78a213-7ae2-47e5-9f08-9ec48606f1bd, port_id None from router 329e2dfd-bf0f-4760-b1fc-4eeac2f19dcf 2026-11-04 13:45:24,826 - INFO - Deleting VM ctest-TestRoutersBasic-02796108-81254372 2026-11-04 13:45:24,932 - INFO - Deleting VM ctest-TestRoutersBasic-02796108-63885394 2026-11-04 13:45:25,017 - INFO - Deleting VN ctest-ext_vn-29314100 2026-11-04 13:45:25,108 - DEBUG - VN e3d56da6-76b8-474a-8230-4535bbd9d889 still in use: Unable to complete operation on network e3d56da6-76b8-474a-8230-4535bbd9d889. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3745486d-585b-450a-b012-038f4587dbf6'] 2026-11-04 13:45:25,108 - WARNING - Deleting VN ctest-ext_vn-29314100 failed..Will retry 2026-11-04 13:45:27,156 - DEBUG - VN e3d56da6-76b8-474a-8230-4535bbd9d889 still in use: Unable to complete operation on network e3d56da6-76b8-474a-8230-4535bbd9d889. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8674ec41-852f-469a-bbce-57f93987f531'] 2026-11-04 13:45:27,156 - WARNING - Deleting VN ctest-ext_vn-29314100 failed..Will retry 2026-11-04 13:45:29,296 - DEBUG - Response for deleting network () 2026-11-04 13:45:29,296 - INFO - Deleting VN ctest-vn-00226710 2026-11-04 13:45:29,424 - DEBUG - Response for deleting network () 2026-11-04 13:45:29,693 - DEBUG - No XMPP flaps were noticed during the test 2026-11-04 13:45:29,693 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04] 2026-11-04 13:45:29,693 - INFO - -------------------------------------------------------------------------------- 2026-11-04 13:45:30,570 - INFO - Deleted project: ctest-TestRoutersBasic-02796108, ID : 35d0eef1-6981-4e53-9853-088e2cbbb535