2026-11-02 22:06:24,561 - INFO - Domain Default found not creating 2026-11-02 22:06:24,734 - INFO - Project ctest-TestRoutersBasic-07407748 not found, creating it 2026-11-02 22:06:25,207 - INFO - Created Project:ctest-TestRoutersBasic-07407748, ID : f9ead13d-ea8c-4d41-ac48-e33b79f86060 2026-11-02 22:06:26,880 - INFO - ================================================================================ 2026-11-02 22:06:26,881 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-02 22:06:26,881 - 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-02 22:06:27,133 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-02 22:06:27,133 - INFO - Initial checks done. Running the testcase now 2026-11-02 22:06:27,134 - INFO - 2026-11-02 22:06:27,956 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-07407748 2026-11-02 22:06:28,049 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-07407748 2026-11-02 22:06:28,373 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07407748', 'default']} 2026-11-02 22:06:28,654 - DEBUG - Response for create_network : {'network': {'id': 'de5dda0f-6937-42f9-b024-0ad09629a23e', 'name': 'ctest-vn-92142130', 'tenant_id': 'f9ead13dea8c4d41ac48e33b79f86060', 'project_id': 'f9ead13dea8c4d41ac48e33b79f86060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07407748', 'ctest-vn-92142130'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 22:06:28,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e25fdfc6-dffc-44dc-9af5-f7139568a88f', 'name': '', 'tenant_id': 'f9ead13dea8c4d41ac48e33b79f86060', 'network_id': 'de5dda0f-6937-42f9-b024-0ad09629a23e', 'ip_version': 4, 'cidr': '207.62.68.64/26', 'allocation_pools': [{'start': '207.62.68.66', 'end': '207.62.68.126'}], 'gateway_ip': '207.62.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.62.68.66', 'tags': [], 'project_id': 'f9ead13dea8c4d41ac48e33b79f86060'}} 2026-11-02 22:06:28,819 - INFO - Created VN ctest-vn-92142130 2026-11-02 22:06:28,869 - DEBUG - VN ctest-vn-92142130 UUID is de5dda0f-6937-42f9-b024-0ad09629a23e 2026-11-02 22:06:29,183 - DEBUG - Response for create_network : {'network': {'id': '7a70e960-1901-42f2-ba6a-fe48452ce577', 'name': 'ctest-ext_vn-62829378', 'tenant_id': 'f9ead13dea8c4d41ac48e33b79f86060', 'project_id': 'f9ead13dea8c4d41ac48e33b79f86060', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-07407748', 'ctest-ext_vn-62829378'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 22:06:29,317 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c104e6c-a7e3-4054-acc0-a987123f3be2', 'name': '', 'tenant_id': 'f9ead13dea8c4d41ac48e33b79f86060', 'network_id': '7a70e960-1901-42f2-ba6a-fe48452ce577', 'ip_version': 4, 'cidr': '18.122.184.128/26', 'allocation_pools': [{'start': '18.122.184.130', 'end': '18.122.184.190'}], 'gateway_ip': '18.122.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.122.184.130', 'tags': [], 'project_id': 'f9ead13dea8c4d41ac48e33b79f86060'}} 2026-11-02 22:06:29,330 - INFO - Created VN ctest-ext_vn-62829378 2026-11-02 22:06:29,381 - DEBUG - VN ctest-ext_vn-62829378 UUID is 7a70e960-1901-42f2-ba6a-fe48452ce577 2026-11-02 22:06:29,565 - DEBUG - Services list from nova: [, , ] 2026-11-02 22:06:29,860 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6472-1) 2026-11-02 22:06:30,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6472-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6472-1) 2026-11-02 22:06:30,227 - INFO - Setting gateway for router e2d732d0-8d87-4973-be04-4aa9f6e13444 to network 7a70e960-1901-42f2-ba6a-fe48452ce577 2026-11-02 22:06:30,271 - INFO - Adding interface with subnet_id e25fdfc6-dffc-44dc-9af5-f7139568a88f, port_id None to router e2d732d0-8d87-4973-be04-4aa9f6e13444 2026-11-02 22:06:30,525 - INFO - Waiting for VM ctest-TestRoutersBasic-07407748-46466952 to be up.. 2026-11-02 22:06:30,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:06:35,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:06:40,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:06:45,840 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:06:50,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:06:56,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:07:01,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:07:06,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 22:07:11,306 - DEBUG - VM is in ACTIVE state now 2026-11-02 22:07:11,307 - INFO - VM name : ctest-TestRoutersBasic-07407748-46466952 2026-11-02 22:07:11,382 - DEBUG - VM ctest-TestRoutersBasic-07407748-46466952 ID is d1c1fdb7-0d51-436a-be00-1dde433f0e9b 2026-11-02 22:07:11,406 - DEBUG - VM ctest-TestRoutersBasic-07407748-46466952 launched on Node cn-jenkins-deploy-platform-ansible-os-6472-1 2026-11-02 22:07:11,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d1c1fdb7-0d51-436a-be00-1dde433f0e9b 2026-11-02 22:07:11,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d1c1fdb7-0d51-436a-be00-1dde433f0e9b 2026-11-02 22:07:11,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/960bf36a-7b67-4852-8bdf-bea809f0a4e3 2026-11-02 22:07:15,266 - 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 1024ms') 2026-11-02 22:07:15,266 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07407748-46466952 failed! 2026-11-02 22:07:15,321 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-07407748:ctest-vn-92142130 is 207.62.68.65 and allocation pool is NOT set 2026-11-02 22:07:19,391 - 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=2 ttl=63 time=6.84 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 6.839/6.839/6.839/0.000 ms') 2026-11-02 22:07:19,391 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-07407748-46466952 passed 2026-11-02 22:07:19,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:07:19,553 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07407748-46466952, IP 207.62.68.67, Port 22 2026-11-02 22:07:19,619 - 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-02 22:07:19,683 - DEBUG - VM ctest-TestRoutersBasic-07407748-46466952 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 22:07:24,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:07:24,684 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07407748-46466952, IP 207.62.68.67, Port 22 2026-11-02 22:07:24,859 - DEBUG - VM ctest-TestRoutersBasic-07407748-46466952 is ready for SSH connections 2026-11-02 22:07:24,859 - INFO - Waiting for VM ctest-TestRoutersBasic-07407748-44961492 to be up.. 2026-11-02 22:07:24,945 - DEBUG - VM is in ACTIVE state now 2026-11-02 22:07:24,945 - INFO - VM name : ctest-TestRoutersBasic-07407748-44961492 2026-11-02 22:07:25,020 - DEBUG - VM ctest-TestRoutersBasic-07407748-44961492 ID is a602f7d5-5279-4a4d-8f2a-0a9f3ee433e0 2026-11-02 22:07:25,020 - DEBUG - VM ctest-TestRoutersBasic-07407748-44961492 launched on Node cn-jenkins-deploy-platform-ansible-os-6472-1 2026-11-02 22:07:25,093 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a602f7d5-5279-4a4d-8f2a-0a9f3ee433e0 2026-11-02 22:07:25,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/46ea2197-7bee-451b-ba78-55a1ad92a43d 2026-11-02 22:07:26,336 - 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=1 ttl=63 time=3.37 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.511/1.940/3.369/1.429 ms') 2026-11-02 22:07:26,336 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-07407748-44961492 passed 2026-11-02 22:07:26,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:07:26,485 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-07407748-44961492, IP 18.122.184.132, Port 22 2026-11-02 22:07:26,654 - DEBUG - VM ctest-TestRoutersBasic-07407748-44961492 is ready for SSH connections 2026-11-02 22:07:26,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 22:07:26,655 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.122.184.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-02 22:07:26,655 - DEBUG - ping -s 56 -c 3 -W 1 18.122.184.132 2026-11-02 22:07:29,855 - DEBUG - PING 18.122.184.132 (18.122.184.132): 56 data bytes 64 bytes from 18.122.184.132: seq=0 ttl=62 time=7.579 ms 64 bytes from 18.122.184.132: seq=1 ttl=62 time=1.450 ms 64 bytes from 18.122.184.132: seq=2 ttl=62 time=1.175 ms --- 18.122.184.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.175/3.401/7.579 ms 2026-11-02 22:07:29,855 - INFO - Ping to IP 18.122.184.132 from VM ctest-TestRoutersBasic-07407748-46466952 passed 2026-11-02 22:07:29,855 - INFO - Deleting interface with subnet_id e25fdfc6-dffc-44dc-9af5-f7139568a88f, port_id None from router e2d732d0-8d87-4973-be04-4aa9f6e13444 2026-11-02 22:07:30,026 - INFO - Deleting VM ctest-TestRoutersBasic-07407748-44961492 2026-11-02 22:07:30,096 - INFO - Deleting VM ctest-TestRoutersBasic-07407748-46466952 2026-11-02 22:07:30,162 - INFO - Deleting VN ctest-ext_vn-62829378 2026-11-02 22:07:30,215 - DEBUG - VN 7a70e960-1901-42f2-ba6a-fe48452ce577 still in use: Unable to complete operation on network 7a70e960-1901-42f2-ba6a-fe48452ce577. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2b52f87-4973-4d6a-9eec-73961be52ad0'] 2026-11-02 22:07:30,215 - WARNING - Deleting VN ctest-ext_vn-62829378 failed..Will retry 2026-11-02 22:07:32,249 - DEBUG - VN 7a70e960-1901-42f2-ba6a-fe48452ce577 still in use: Unable to complete operation on network 7a70e960-1901-42f2-ba6a-fe48452ce577. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-929db2a5-7312-4835-9da1-8c098a22324a'] 2026-11-02 22:07:32,249 - WARNING - Deleting VN ctest-ext_vn-62829378 failed..Will retry 2026-11-02 22:07:34,331 - DEBUG - Response for deleting network () 2026-11-02 22:07:34,331 - INFO - Deleting VN ctest-vn-92142130 2026-11-02 22:07:34,419 - DEBUG - Response for deleting network () 2026-11-02 22:07:34,674 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 22:07:34,674 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:08] 2026-11-02 22:07:34,674 - INFO - -------------------------------------------------------------------------------- 2026-11-02 22:07:35,442 - INFO - Deleted project: ctest-TestRoutersBasic-07407748, ID : f9ead13d-ea8c-4d41-ac48-e33b79f86060