2026-01-29 13:10:03,816 - INFO - Domain Default found not creating 2026-01-29 13:10:04,004 - INFO - Project ctest-TestRoutersBasic-12240024 not found, creating it 2026-01-29 13:10:04,500 - INFO - Created Project:ctest-TestRoutersBasic-12240024, ID : e9ff5c8f-a5a8-47c1-b3b0-08f3d73faae2 2026-01-29 13:10:06,126 - INFO - ================================================================================ 2026-01-29 13:10:06,126 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-29 13:10:06,126 - 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-01-29 13:10:06,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.17': '0'}} with 2026-01-29 13:10:06,380 - INFO - Initial checks done. Running the testcase now 2026-01-29 13:10:06,380 - INFO - 2026-01-29 13:10:07,136 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12240024 2026-01-29 13:10:07,233 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12240024 2026-01-29 13:10:07,566 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12240024', 'default']} 2026-01-29 13:10:07,922 - DEBUG - Response for create_network : {'network': {'id': 'c4699cfe-d079-43b1-af3e-c6c334c4ca50', 'name': 'ctest-vn-64792092', 'tenant_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2', 'project_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12240024', 'ctest-vn-64792092'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:10:08,188 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c59964a2-1cd0-46a6-a5ab-5c70e65173c4', 'name': '', 'tenant_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2', 'network_id': 'c4699cfe-d079-43b1-af3e-c6c334c4ca50', 'ip_version': 4, 'cidr': '63.130.62.0/26', 'allocation_pools': [{'start': '63.130.62.2', 'end': '63.130.62.62'}], 'gateway_ip': '63.130.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.130.62.2', 'tags': [], 'project_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2'}} 2026-01-29 13:10:08,218 - INFO - Created VN ctest-vn-64792092 2026-01-29 13:10:08,273 - DEBUG - VN ctest-vn-64792092 UUID is c4699cfe-d079-43b1-af3e-c6c334c4ca50 2026-01-29 13:10:08,677 - DEBUG - Response for create_network : {'network': {'id': '7b23dc7e-538a-4313-8cf3-58f9bb148e01', 'name': 'ctest-ext_vn-33098276', 'tenant_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2', 'project_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12240024', 'ctest-ext_vn-33098276'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 13:10:08,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '9aa2e660-1831-412d-85b9-37ca6b6ed0ef', 'name': '', 'tenant_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2', 'network_id': '7b23dc7e-538a-4313-8cf3-58f9bb148e01', 'ip_version': 4, 'cidr': '32.177.224.64/26', 'allocation_pools': [{'start': '32.177.224.66', 'end': '32.177.224.126'}], 'gateway_ip': '32.177.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.177.224.66', 'tags': [], 'project_id': 'e9ff5c8fa5a847c1b3b008f3d73faae2'}} 2026-01-29 13:10:08,936 - INFO - Created VN ctest-ext_vn-33098276 2026-01-29 13:10:08,989 - DEBUG - VN ctest-ext_vn-33098276 UUID is 7b23dc7e-538a-4313-8cf3-58f9bb148e01 2026-01-29 13:10:09,198 - DEBUG - Services list from nova: [, , ] 2026-01-29 13:10:10,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5124-1) 2026-01-29 13:10:11,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5124-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5124-1) 2026-01-29 13:10:11,715 - INFO - Setting gateway for router e8481d14-dc0f-41e7-af74-105658bf4407 to network 7b23dc7e-538a-4313-8cf3-58f9bb148e01 2026-01-29 13:10:11,811 - INFO - Adding interface with subnet_id c59964a2-1cd0-46a6-a5ab-5c70e65173c4, port_id None to router e8481d14-dc0f-41e7-af74-105658bf4407 2026-01-29 13:10:12,202 - INFO - Waiting for VM ctest-TestRoutersBasic-12240024-41755082 to be up.. 2026-01-29 13:10:12,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 13:10:17,439 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:10:17,439 - INFO - VM name : ctest-TestRoutersBasic-12240024-41755082 2026-01-29 13:10:17,537 - DEBUG - VM ctest-TestRoutersBasic-12240024-41755082 ID is 2626e22f-39f7-4e27-904b-fcb413ce3c64 2026-01-29 13:10:17,560 - DEBUG - VM ctest-TestRoutersBasic-12240024-41755082 launched on Node cn-jenkins-deploy-platform-ansible-os-5124-1 2026-01-29 13:10:17,649 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/2626e22f-39f7-4e27-904b-fcb413ce3c64 2026-01-29 13:10:17,975 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/2626e22f-39f7-4e27-904b-fcb413ce3c64 2026-01-29 13:10:18,030 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/b3ce9083-5024-4ce7-9a7c-7b64e0abb231 2026-01-29 13:10:21,277 - 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 1010ms') 2026-01-29 13:10:21,277 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12240024-41755082 failed! 2026-01-29 13:10:21,333 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12240024:ctest-vn-64792092 is 63.130.62.1 and allocation pool is NOT set 2026-01-29 13:10:23,404 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 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.543/2.664/4.785/2.121 ms') 2026-01-29 13:10:23,405 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12240024-41755082 passed 2026-01-29 13:10:23,565 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:10:23,565 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12240024-41755082, IP 63.130.62.3, Port 22 2026-01-29 13:10:23,726 - DEBUG - VM ctest-TestRoutersBasic-12240024-41755082 is ready for SSH connections 2026-01-29 13:10:23,726 - INFO - Waiting for VM ctest-TestRoutersBasic-12240024-40423446 to be up.. 2026-01-29 13:10:23,820 - DEBUG - VM is in ACTIVE state now 2026-01-29 13:10:23,820 - INFO - VM name : ctest-TestRoutersBasic-12240024-40423446 2026-01-29 13:10:23,911 - DEBUG - VM ctest-TestRoutersBasic-12240024-40423446 ID is b36a63e4-cacb-4eff-9bad-277028d6822b 2026-01-29 13:10:23,911 - DEBUG - VM ctest-TestRoutersBasic-12240024-40423446 launched on Node cn-jenkins-deploy-platform-ansible-os-5124-1 2026-01-29 13:10:24,001 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/b36a63e4-cacb-4eff-9bad-277028d6822b 2026-01-29 13:10:24,011 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/9742d977-f71c-4bec-a45b-65223638c96b 2026-01-29 13:10:25,258 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.66 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 = 3.109/3.386/3.664/0.277 ms') 2026-01-29 13:10:25,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12240024-40423446 passed 2026-01-29 13:10:25,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:10:25,413 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12240024-40423446, IP 32.177.224.67, Port 22 2026-01-29 13:10:25,470 - 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-01-29 13:10:25,559 - DEBUG - VM ctest-TestRoutersBasic-12240024-40423446 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 13:10:30,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:10:30,560 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12240024-40423446, IP 32.177.224.67, Port 22 2026-01-29 13:10:30,717 - DEBUG - VM ctest-TestRoutersBasic-12240024-40423446 is ready for SSH connections 2026-01-29 13:10:30,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 13:10:30,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.177.224.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2026-01-29 13:10:30,717 - DEBUG - ping -s 56 -c 3 -W 1 32.177.224.67 2026-01-29 13:10:34,468 - DEBUG - PING 32.177.224.67 (32.177.224.67): 56 data bytes 64 bytes from 32.177.224.67: seq=0 ttl=62 time=9.499 ms 64 bytes from 32.177.224.67: seq=1 ttl=62 time=0.990 ms 64 bytes from 32.177.224.67: seq=2 ttl=62 time=1.014 ms --- 32.177.224.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.990/3.834/9.499 ms 2026-01-29 13:10:34,468 - INFO - Ping to IP 32.177.224.67 from VM ctest-TestRoutersBasic-12240024-41755082 passed 2026-01-29 13:10:34,468 - INFO - Deleting interface with subnet_id c59964a2-1cd0-46a6-a5ab-5c70e65173c4, port_id None from router e8481d14-dc0f-41e7-af74-105658bf4407 2026-01-29 13:10:34,687 - INFO - Deleting VM ctest-TestRoutersBasic-12240024-40423446 2026-01-29 13:10:34,773 - INFO - Deleting VM ctest-TestRoutersBasic-12240024-41755082 2026-01-29 13:10:34,870 - INFO - Deleting VN ctest-ext_vn-33098276 2026-01-29 13:10:34,942 - DEBUG - VN 7b23dc7e-538a-4313-8cf3-58f9bb148e01 still in use: Unable to complete operation on network 7b23dc7e-538a-4313-8cf3-58f9bb148e01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0754b6ab-667a-415f-aec8-5fa188b473a5'] 2026-01-29 13:10:34,942 - WARNING - Deleting VN ctest-ext_vn-33098276 failed..Will retry 2026-01-29 13:10:37,067 - DEBUG - Response for deleting network () 2026-01-29 13:10:37,067 - INFO - Deleting VN ctest-vn-64792092 2026-01-29 13:10:37,194 - DEBUG - Response for deleting network () 2026-01-29 13:10:37,447 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 13:10:37,447 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2026-01-29 13:10:37,447 - INFO - -------------------------------------------------------------------------------- 2026-01-29 13:10:38,153 - INFO - Deleted project: ctest-TestRoutersBasic-12240024, ID : e9ff5c8f-a5a8-47c1-b3b0-08f3d73faae2