2026-03-02 13:59:00,814 - INFO - Domain Default found not creating 2026-03-02 13:59:00,958 - INFO - Project ctest-TestRoutersBasic-86833842 not found, creating it 2026-03-02 13:59:01,383 - INFO - Created Project:ctest-TestRoutersBasic-86833842, ID : 483534d4-d671-47e4-9273-605e77942007 2026-03-02 13:59:02,750 - INFO - ================================================================================ 2026-03-02 13:59:02,751 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-02 13:59:02,751 - 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-02 13:59:03,000 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2026-03-02 13:59:03,000 - INFO - Initial checks done. Running the testcase now 2026-03-02 13:59:03,001 - INFO - 2026-03-02 13:59:03,675 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86833842 2026-03-02 13:59:03,772 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86833842 2026-03-02 13:59:04,084 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86833842', 'default']} 2026-03-02 13:59:04,349 - DEBUG - Response for create_network : {'network': {'id': 'f9c29e5e-79ac-4452-ab5c-98227a33fe98', 'name': 'ctest-vn-69563017', 'tenant_id': '483534d4d67147e49273605e77942007', 'project_id': '483534d4d67147e49273605e77942007', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86833842', 'ctest-vn-69563017'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 13:59:04,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '61638480-889f-4713-86e7-719edf2d1216', 'name': '', 'tenant_id': '483534d4d67147e49273605e77942007', 'network_id': 'f9c29e5e-79ac-4452-ab5c-98227a33fe98', 'ip_version': 4, 'cidr': '26.109.154.192/26', 'allocation_pools': [{'start': '26.109.154.194', 'end': '26.109.154.254'}], 'gateway_ip': '26.109.154.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.109.154.194', 'tags': [], 'project_id': '483534d4d67147e49273605e77942007'}} 2026-03-02 13:59:04,502 - INFO - Created VN ctest-vn-69563017 2026-03-02 13:59:04,552 - DEBUG - VN ctest-vn-69563017 UUID is f9c29e5e-79ac-4452-ab5c-98227a33fe98 2026-03-02 13:59:04,859 - DEBUG - Response for create_network : {'network': {'id': 'fe536760-c109-4745-9006-890c9649d9e1', 'name': 'ctest-ext_vn-56755026', 'tenant_id': '483534d4d67147e49273605e77942007', 'project_id': '483534d4d67147e49273605e77942007', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86833842', 'ctest-ext_vn-56755026'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 13:59:05,046 - DEBUG - Response for create_subnet : {'subnet': {'id': '5803d692-1ea0-42b4-b004-b12bc9e51d0d', 'name': '', 'tenant_id': '483534d4d67147e49273605e77942007', 'network_id': 'fe536760-c109-4745-9006-890c9649d9e1', 'ip_version': 4, 'cidr': '223.156.233.192/26', 'allocation_pools': [{'start': '223.156.233.194', 'end': '223.156.233.254'}], 'gateway_ip': '223.156.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.156.233.194', 'tags': [], 'project_id': '483534d4d67147e49273605e77942007'}} 2026-03-02 13:59:05,061 - INFO - Created VN ctest-ext_vn-56755026 2026-03-02 13:59:05,112 - DEBUG - VN ctest-ext_vn-56755026 UUID is fe536760-c109-4745-9006-890c9649d9e1 2026-03-02 13:59:05,299 - DEBUG - Services list from nova: [, , ] 2026-03-02 13:59:06,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5418-1) 2026-03-02 13:59:07,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5418-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5418-1) 2026-03-02 13:59:07,383 - INFO - Setting gateway for router 6858d57b-7250-466c-a583-5d26ec5fa0a3 to network fe536760-c109-4745-9006-890c9649d9e1 2026-03-02 13:59:07,438 - INFO - Adding interface with subnet_id 61638480-889f-4713-86e7-719edf2d1216, port_id None to router 6858d57b-7250-466c-a583-5d26ec5fa0a3 2026-03-02 13:59:07,764 - INFO - Waiting for VM ctest-TestRoutersBasic-86833842-51441394 to be up.. 2026-03-02 13:59:07,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-02 13:59:13,011 - DEBUG - VM is in ACTIVE state now 2026-03-02 13:59:13,011 - INFO - VM name : ctest-TestRoutersBasic-86833842-51441394 2026-03-02 13:59:13,074 - DEBUG - VM ctest-TestRoutersBasic-86833842-51441394 ID is 57687e3c-e7b5-4237-9ca0-e43f650a8014 2026-03-02 13:59:13,090 - DEBUG - VM ctest-TestRoutersBasic-86833842-51441394 launched on Node cn-jenkins-deploy-platform-ansible-os-5418-1 2026-03-02 13:59:13,152 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/57687e3c-e7b5-4237-9ca0-e43f650a8014 2026-03-02 13:59:13,440 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/57687e3c-e7b5-4237-9ca0-e43f650a8014 2026-03-02 13:59:13,474 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/155f6e0e-ee58-44d0-b6a7-611fb2d7fe45 2026-03-02 13:59:16,707 - 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=2 ttl=63 time=10.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 10.600/10.600/10.600/0.000 ms') 2026-03-02 13:59:16,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86833842-51441394 passed 2026-03-02 13:59:16,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 13:59:16,864 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86833842-51441394, IP 26.109.154.195, Port 22 2026-03-02 13:59:16,920 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-03-02 13:59:16,992 - DEBUG - VM ctest-TestRoutersBasic-86833842-51441394 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-02 13:59:21,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 13:59:21,992 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86833842-51441394, IP 26.109.154.195, Port 22 2026-03-02 13:59:22,151 - DEBUG - VM ctest-TestRoutersBasic-86833842-51441394 is ready for SSH connections 2026-03-02 13:59:22,151 - INFO - Waiting for VM ctest-TestRoutersBasic-86833842-86320697 to be up.. 2026-03-02 13:59:22,216 - DEBUG - VM is in ACTIVE state now 2026-03-02 13:59:22,216 - INFO - VM name : ctest-TestRoutersBasic-86833842-86320697 2026-03-02 13:59:22,282 - DEBUG - VM ctest-TestRoutersBasic-86833842-86320697 ID is ac52be9f-0866-462c-8a8c-a30293d5f19f 2026-03-02 13:59:22,282 - DEBUG - VM ctest-TestRoutersBasic-86833842-86320697 launched on Node cn-jenkins-deploy-platform-ansible-os-5418-1 2026-03-02 13:59:22,349 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ac52be9f-0866-462c-8a8c-a30293d5f19f 2026-03-02 13:59:22,356 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1098c258-62b9-4c5b-aa32-9c398bec8668 2026-03-02 13:59:23,584 - 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=2.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.327 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.327/1.499/2.672/1.172 ms') 2026-03-02 13:59:23,584 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86833842-86320697 passed 2026-03-02 13:59:23,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 13:59:23,732 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86833842-86320697, IP 223.156.233.195, Port 22 2026-03-02 13:59:23,904 - DEBUG - VM ctest-TestRoutersBasic-86833842-86320697 is ready for SSH connections 2026-03-02 13:59:23,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 13:59:23,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.156.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-02 13:59:23,905 - DEBUG - ping -s 56 -c 3 -W 1 223.156.233.195 2026-03-02 13:59:27,925 - DEBUG - PING 223.156.233.195 (223.156.233.195): 56 data bytes 64 bytes from 223.156.233.195: seq=0 ttl=62 time=5.876 ms 64 bytes from 223.156.233.195: seq=1 ttl=62 time=0.788 ms 64 bytes from 223.156.233.195: seq=2 ttl=62 time=0.999 ms --- 223.156.233.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/2.554/5.876 ms 2026-03-02 13:59:27,926 - INFO - Ping to IP 223.156.233.195 from VM ctest-TestRoutersBasic-86833842-51441394 passed 2026-03-02 13:59:27,926 - INFO - Deleting interface with subnet_id 61638480-889f-4713-86e7-719edf2d1216, port_id None from router 6858d57b-7250-466c-a583-5d26ec5fa0a3 2026-03-02 13:59:28,071 - INFO - Deleting VM ctest-TestRoutersBasic-86833842-86320697 2026-03-02 13:59:28,130 - INFO - Deleting VM ctest-TestRoutersBasic-86833842-51441394 2026-03-02 13:59:28,199 - INFO - Deleting VN ctest-ext_vn-56755026 2026-03-02 13:59:28,258 - DEBUG - VN fe536760-c109-4745-9006-890c9649d9e1 still in use: Unable to complete operation on network fe536760-c109-4745-9006-890c9649d9e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13b52574-982a-40d1-aabe-6815fd1dee2c'] 2026-03-02 13:59:28,258 - WARNING - Deleting VN ctest-ext_vn-56755026 failed..Will retry 2026-03-02 13:59:30,340 - DEBUG - Response for deleting network () 2026-03-02 13:59:30,340 - INFO - Deleting VN ctest-vn-69563017 2026-03-02 13:59:30,420 - DEBUG - Response for deleting network () 2026-03-02 13:59:30,674 - DEBUG - No XMPP flaps were noticed during the test 2026-03-02 13:59:30,674 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2026-03-02 13:59:30,674 - INFO - -------------------------------------------------------------------------------- 2026-03-02 13:59:31,320 - INFO - Deleted project: ctest-TestRoutersBasic-86833842, ID : 483534d4-d671-47e4-9273-605e77942007