2026-02-10 15:05:47,881 - INFO - Domain Default found not creating 2026-02-10 15:05:48,053 - INFO - Project ctest-TestRoutersBasic-31391367 not found, creating it 2026-02-10 15:05:48,517 - INFO - Created Project:ctest-TestRoutersBasic-31391367, ID : b955106f-eaf3-494f-933f-b1520b774b30 2026-02-10 15:05:50,123 - INFO - ================================================================================ 2026-02-10 15:05:50,123 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-10 15:05:50,123 - 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-02-10 15:05:50,386 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.209': '0'}} with 2026-02-10 15:05:50,386 - INFO - Initial checks done. Running the testcase now 2026-02-10 15:05:50,386 - INFO - 2026-02-10 15:05:51,199 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31391367 2026-02-10 15:05:51,294 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31391367 2026-02-10 15:05:51,629 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31391367', 'default']} 2026-02-10 15:05:51,925 - DEBUG - Response for create_network : {'network': {'id': '8ea98e59-b8f5-4616-8338-a32cbf3cbb4e', 'name': 'ctest-vn-74785570', 'tenant_id': 'b955106feaf3494f933fb1520b774b30', 'project_id': 'b955106feaf3494f933fb1520b774b30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31391367', 'ctest-vn-74785570'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:05:52,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '4dd37a58-6e13-47ca-8d3c-e33cc8599599', 'name': '', 'tenant_id': 'b955106feaf3494f933fb1520b774b30', 'network_id': '8ea98e59-b8f5-4616-8338-a32cbf3cbb4e', 'ip_version': 4, 'cidr': '128.172.88.64/26', 'allocation_pools': [{'start': '128.172.88.66', 'end': '128.172.88.126'}], 'gateway_ip': '128.172.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.172.88.66', 'tags': [], 'project_id': 'b955106feaf3494f933fb1520b774b30'}} 2026-02-10 15:05:52,129 - INFO - Created VN ctest-vn-74785570 2026-02-10 15:05:52,182 - DEBUG - VN ctest-vn-74785570 UUID is 8ea98e59-b8f5-4616-8338-a32cbf3cbb4e 2026-02-10 15:05:52,524 - DEBUG - Response for create_network : {'network': {'id': '5fe67581-5202-4810-98e9-5a5ce61f15a0', 'name': 'ctest-ext_vn-42404550', 'tenant_id': 'b955106feaf3494f933fb1520b774b30', 'project_id': 'b955106feaf3494f933fb1520b774b30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31391367', 'ctest-ext_vn-42404550'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 15:05:52,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f196c824-df42-42de-b8d8-5f1b83b6d9d0', 'name': '', 'tenant_id': 'b955106feaf3494f933fb1520b774b30', 'network_id': '5fe67581-5202-4810-98e9-5a5ce61f15a0', 'ip_version': 4, 'cidr': '199.69.247.128/26', 'allocation_pools': [{'start': '199.69.247.130', 'end': '199.69.247.190'}], 'gateway_ip': '199.69.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.69.247.130', 'tags': [], 'project_id': 'b955106feaf3494f933fb1520b774b30'}} 2026-02-10 15:05:52,695 - INFO - Created VN ctest-ext_vn-42404550 2026-02-10 15:05:52,745 - DEBUG - VN ctest-ext_vn-42404550 UUID is 5fe67581-5202-4810-98e9-5a5ce61f15a0 2026-02-10 15:05:52,919 - DEBUG - Services list from nova: [, , ] 2026-02-10 15:05:54,044 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5270-1) 2026-02-10 15:05:55,335 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5270-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5270-1) 2026-02-10 15:05:55,415 - INFO - Setting gateway for router 02e56daf-455c-4e1f-86a8-135775740471 to network 5fe67581-5202-4810-98e9-5a5ce61f15a0 2026-02-10 15:05:55,492 - INFO - Adding interface with subnet_id 4dd37a58-6e13-47ca-8d3c-e33cc8599599, port_id None to router 02e56daf-455c-4e1f-86a8-135775740471 2026-02-10 15:05:55,933 - INFO - Waiting for VM ctest-TestRoutersBasic-31391367-19834950 to be up.. 2026-02-10 15:05:56,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 15:06:01,182 - DEBUG - VM is in ACTIVE state now 2026-02-10 15:06:01,182 - INFO - VM name : ctest-TestRoutersBasic-31391367-19834950 2026-02-10 15:06:01,277 - DEBUG - VM ctest-TestRoutersBasic-31391367-19834950 ID is b131a234-d025-419b-8f68-b1b9dda41912 2026-02-10 15:06:01,299 - DEBUG - VM ctest-TestRoutersBasic-31391367-19834950 launched on Node cn-jenkins-deploy-platform-ansible-os-5270-1 2026-02-10 15:06:01,382 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b131a234-d025-419b-8f68-b1b9dda41912 2026-02-10 15:06:01,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b131a234-d025-419b-8f68-b1b9dda41912 2026-02-10 15:06:01,764 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6275a935-8c24-423f-88fc-5ef8b53a02a2 2026-02-10 15:06:05,037 - 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 1030ms') 2026-02-10 15:06:05,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31391367-19834950 failed! 2026-02-10 15:06:05,089 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31391367:ctest-vn-74785570 is 128.172.88.65 and allocation pool is NOT set 2026-02-10 15:06:07,155 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.395/2.043/3.691/1.648 ms') 2026-02-10 15:06:07,155 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31391367-19834950 passed 2026-02-10 15:06:07,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:06:07,314 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31391367-19834950, IP 128.172.88.67, Port 22 2026-02-10 15:06:07,488 - DEBUG - VM ctest-TestRoutersBasic-31391367-19834950 is ready for SSH connections 2026-02-10 15:06:07,489 - INFO - Waiting for VM ctest-TestRoutersBasic-31391367-16120311 to be up.. 2026-02-10 15:06:07,576 - DEBUG - VM is in ACTIVE state now 2026-02-10 15:06:07,576 - INFO - VM name : ctest-TestRoutersBasic-31391367-16120311 2026-02-10 15:06:07,665 - DEBUG - VM ctest-TestRoutersBasic-31391367-16120311 ID is fce8235d-dd00-43cd-ada8-3eb5d40cb1e1 2026-02-10 15:06:07,665 - DEBUG - VM ctest-TestRoutersBasic-31391367-16120311 launched on Node cn-jenkins-deploy-platform-ansible-os-5270-1 2026-02-10 15:06:07,753 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fce8235d-dd00-43cd-ada8-3eb5d40cb1e1 2026-02-10 15:06:07,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7c6e747c-6adb-431f-82df-1b94ca69e556 2026-02-10 15:06:09,008 - 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=6.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.95 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 = 2.948/4.495/6.043/1.547 ms') 2026-02-10 15:06:09,008 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31391367-16120311 passed 2026-02-10 15:06:09,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:06:09,162 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31391367-16120311, IP 199.69.247.131, Port 22 2026-02-10 15:06:09,232 - 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-02-10 15:06:09,311 - DEBUG - VM ctest-TestRoutersBasic-31391367-16120311 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 15:06:14,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:06:14,311 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31391367-16120311, IP 199.69.247.131, Port 22 2026-02-10 15:06:14,480 - DEBUG - VM ctest-TestRoutersBasic-31391367-16120311 is ready for SSH connections 2026-02-10 15:06:14,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 15:06:14,480 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.69.247.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-10 15:06:14,480 - DEBUG - ping -s 56 -c 3 -W 1 199.69.247.131 2026-02-10 15:06:18,220 - DEBUG - PING 199.69.247.131 (199.69.247.131): 56 data bytes 64 bytes from 199.69.247.131: seq=0 ttl=62 time=5.445 ms 64 bytes from 199.69.247.131: seq=1 ttl=62 time=1.400 ms 64 bytes from 199.69.247.131: seq=2 ttl=62 time=1.043 ms --- 199.69.247.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.043/2.629/5.445 ms 2026-02-10 15:06:18,220 - INFO - Ping to IP 199.69.247.131 from VM ctest-TestRoutersBasic-31391367-19834950 passed 2026-02-10 15:06:18,221 - INFO - Deleting interface with subnet_id 4dd37a58-6e13-47ca-8d3c-e33cc8599599, port_id None from router 02e56daf-455c-4e1f-86a8-135775740471 2026-02-10 15:06:18,420 - INFO - Deleting VM ctest-TestRoutersBasic-31391367-16120311 2026-02-10 15:06:18,498 - INFO - Deleting VM ctest-TestRoutersBasic-31391367-19834950 2026-02-10 15:06:18,590 - INFO - Deleting VN ctest-ext_vn-42404550 2026-02-10 15:06:18,664 - DEBUG - VN 5fe67581-5202-4810-98e9-5a5ce61f15a0 still in use: Unable to complete operation on network 5fe67581-5202-4810-98e9-5a5ce61f15a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-06dbc99b-b55f-4e74-adfe-9ffb1ce6429a'] 2026-02-10 15:06:18,665 - WARNING - Deleting VN ctest-ext_vn-42404550 failed..Will retry 2026-02-10 15:06:20,772 - DEBUG - Response for deleting network () 2026-02-10 15:06:20,772 - INFO - Deleting VN ctest-vn-74785570 2026-02-10 15:06:20,877 - DEBUG - Response for deleting network () 2026-02-10 15:06:21,147 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 15:06:21,147 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-02-10 15:06:21,147 - INFO - -------------------------------------------------------------------------------- 2026-02-10 15:06:21,938 - INFO - Deleted project: ctest-TestRoutersBasic-31391367, ID : b955106f-eaf3-494f-933f-b1520b774b30