2026-05-14 13:37:45,680 - INFO - Domain Default found not creating 2026-05-14 13:37:45,880 - INFO - Project ctest-TestRoutersBasic-58097148 not found, creating it 2026-05-14 13:37:46,355 - INFO - Created Project:ctest-TestRoutersBasic-58097148, ID : 98522bd3-b8e2-461c-bd17-2fd498b00a05 2026-05-14 13:37:47,936 - INFO - ================================================================================ 2026-05-14 13:37:47,936 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-14 13:37:47,936 - 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-05-14 13:37:48,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-05-14 13:37:48,200 - INFO - Initial checks done. Running the testcase now 2026-05-14 13:37:48,200 - INFO - 2026-05-14 13:37:48,924 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58097148 2026-05-14 13:37:49,021 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58097148 2026-05-14 13:37:49,337 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58097148', 'default']} 2026-05-14 13:37:49,665 - DEBUG - Response for create_network : {'network': {'id': '68265de3-15d7-4e40-b568-100763743f41', 'name': 'ctest-vn-55115879', 'tenant_id': '98522bd3b8e2461cbd172fd498b00a05', 'project_id': '98522bd3b8e2461cbd172fd498b00a05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58097148', 'ctest-vn-55115879'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 13:37:49,861 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a05a753a-aeb9-4df5-8192-c11e3bece082', 'name': '', 'tenant_id': '98522bd3b8e2461cbd172fd498b00a05', 'network_id': '68265de3-15d7-4e40-b568-100763743f41', 'ip_version': 4, 'cidr': '147.56.223.128/26', 'allocation_pools': [{'start': '147.56.223.130', 'end': '147.56.223.190'}], 'gateway_ip': '147.56.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.56.223.130', 'tags': [], 'project_id': '98522bd3b8e2461cbd172fd498b00a05'}} 2026-05-14 13:37:49,879 - INFO - Created VN ctest-vn-55115879 2026-05-14 13:37:49,934 - DEBUG - VN ctest-vn-55115879 UUID is 68265de3-15d7-4e40-b568-100763743f41 2026-05-14 13:37:50,270 - DEBUG - Response for create_network : {'network': {'id': '83df428e-20d1-45ca-be6c-b08c02ee9582', 'name': 'ctest-ext_vn-39602732', 'tenant_id': '98522bd3b8e2461cbd172fd498b00a05', 'project_id': '98522bd3b8e2461cbd172fd498b00a05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58097148', 'ctest-ext_vn-39602732'], 'port_security_enabled': True, 'description': ''}} 2026-05-14 13:37:50,486 - DEBUG - Response for create_subnet : {'subnet': {'id': '3acb6e9d-8b1c-4cc5-b19f-2c22d83635d7', 'name': '', 'tenant_id': '98522bd3b8e2461cbd172fd498b00a05', 'network_id': '83df428e-20d1-45ca-be6c-b08c02ee9582', 'ip_version': 4, 'cidr': '85.163.224.0/26', 'allocation_pools': [{'start': '85.163.224.2', 'end': '85.163.224.62'}], 'gateway_ip': '85.163.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.163.224.2', 'tags': [], 'project_id': '98522bd3b8e2461cbd172fd498b00a05'}} 2026-05-14 13:37:50,508 - INFO - Created VN ctest-ext_vn-39602732 2026-05-14 13:37:50,561 - DEBUG - VN ctest-ext_vn-39602732 UUID is 83df428e-20d1-45ca-be6c-b08c02ee9582 2026-05-14 13:37:50,743 - DEBUG - Services list from nova: [, , ] 2026-05-14 13:37:51,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5784-1) 2026-05-14 13:37:53,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5784-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5784-1) 2026-05-14 13:37:53,097 - INFO - Setting gateway for router c0553e9b-312d-4d2d-8097-a1438c0e574a to network 83df428e-20d1-45ca-be6c-b08c02ee9582 2026-05-14 13:37:53,185 - INFO - Adding interface with subnet_id a05a753a-aeb9-4df5-8192-c11e3bece082, port_id None to router c0553e9b-312d-4d2d-8097-a1438c0e574a 2026-05-14 13:37:53,629 - INFO - Waiting for VM ctest-TestRoutersBasic-58097148-69162988 to be up.. 2026-05-14 13:37:53,826 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-14 13:37:58,913 - DEBUG - VM is in ACTIVE state now 2026-05-14 13:37:58,913 - INFO - VM name : ctest-TestRoutersBasic-58097148-69162988 2026-05-14 13:37:58,994 - DEBUG - VM ctest-TestRoutersBasic-58097148-69162988 ID is 24baa111-65fe-4ada-bc45-c7f1e6af3f6d 2026-05-14 13:37:59,015 - DEBUG - VM ctest-TestRoutersBasic-58097148-69162988 launched on Node cn-jenkins-deploy-platform-ansible-os-5784-1 2026-05-14 13:37:59,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/24baa111-65fe-4ada-bc45-c7f1e6af3f6d 2026-05-14 13:37:59,394 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/24baa111-65fe-4ada-bc45-c7f1e6af3f6d 2026-05-14 13:37:59,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/22c7d8b0-e342-4b04-a110-1d36dd29b3b4 2026-05-14 13:38:02,703 - 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 1031ms') 2026-05-14 13:38:02,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58097148-69162988 failed! 2026-05-14 13:38:02,757 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58097148:ctest-vn-55115879 is 147.56.223.129 and allocation pool is NOT set 2026-05-14 13:38:04,822 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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 = 1.164/2.485/3.807/1.321 ms') 2026-05-14 13:38:04,822 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58097148-69162988 passed 2026-05-14 13:38:04,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 13:38:04,973 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58097148-69162988, IP 147.56.223.131, Port 22 2026-05-14 13:38:05,133 - DEBUG - VM ctest-TestRoutersBasic-58097148-69162988 is ready for SSH connections 2026-05-14 13:38:05,133 - INFO - Waiting for VM ctest-TestRoutersBasic-58097148-89992324 to be up.. 2026-05-14 13:38:05,217 - DEBUG - VM is in ACTIVE state now 2026-05-14 13:38:05,217 - INFO - VM name : ctest-TestRoutersBasic-58097148-89992324 2026-05-14 13:38:05,302 - DEBUG - VM ctest-TestRoutersBasic-58097148-89992324 ID is 2e674ed3-a97b-4db1-9600-7b039a89a4b0 2026-05-14 13:38:05,302 - DEBUG - VM ctest-TestRoutersBasic-58097148-89992324 launched on Node cn-jenkins-deploy-platform-ansible-os-5784-1 2026-05-14 13:38:05,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2e674ed3-a97b-4db1-9600-7b039a89a4b0 2026-05-14 13:38:05,391 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0c3ce9e4-90e7-4fd3-b86d-616c3620051b 2026-05-14 13:38:06,639 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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 = 0.462/1.747/3.032/1.285 ms') 2026-05-14 13:38:06,639 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58097148-89992324 passed 2026-05-14 13:38:06,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 13:38:06,789 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58097148-89992324, IP 85.163.224.3, Port 22 2026-05-14 13:38:06,959 - DEBUG - VM ctest-TestRoutersBasic-58097148-89992324 is ready for SSH connections 2026-05-14 13:38:06,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-14 13:38:06,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.163.224.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-14 13:38:06,959 - DEBUG - ping -s 56 -c 3 -W 1 85.163.224.3 2026-05-14 13:38:10,669 - DEBUG - PING 85.163.224.3 (85.163.224.3): 56 data bytes 64 bytes from 85.163.224.3: seq=0 ttl=62 time=8.493 ms 64 bytes from 85.163.224.3: seq=1 ttl=62 time=1.119 ms 64 bytes from 85.163.224.3: seq=2 ttl=62 time=1.032 ms --- 85.163.224.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/3.548/8.493 ms 2026-05-14 13:38:10,669 - INFO - Ping to IP 85.163.224.3 from VM ctest-TestRoutersBasic-58097148-69162988 passed 2026-05-14 13:38:10,669 - INFO - Deleting interface with subnet_id a05a753a-aeb9-4df5-8192-c11e3bece082, port_id None from router c0553e9b-312d-4d2d-8097-a1438c0e574a 2026-05-14 13:38:10,955 - INFO - Deleting VM ctest-TestRoutersBasic-58097148-89992324 2026-05-14 13:38:11,041 - INFO - Deleting VM ctest-TestRoutersBasic-58097148-69162988 2026-05-14 13:38:11,141 - INFO - Deleting VN ctest-ext_vn-39602732 2026-05-14 13:38:11,214 - DEBUG - VN 83df428e-20d1-45ca-be6c-b08c02ee9582 still in use: Unable to complete operation on network 83df428e-20d1-45ca-be6c-b08c02ee9582. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-827f13b4-2848-46e3-a8a3-0fbc944c96fb'] 2026-05-14 13:38:11,214 - WARNING - Deleting VN ctest-ext_vn-39602732 failed..Will retry 2026-05-14 13:38:13,333 - DEBUG - Response for deleting network () 2026-05-14 13:38:13,333 - INFO - Deleting VN ctest-vn-55115879 2026-05-14 13:38:13,429 - DEBUG - Response for deleting network () 2026-05-14 13:38:13,686 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 13:38:13,686 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2026-05-14 13:38:13,687 - INFO - -------------------------------------------------------------------------------- 2026-05-14 13:38:14,388 - INFO - Deleted project: ctest-TestRoutersBasic-58097148, ID : 98522bd3-b8e2-461c-bd17-2fd498b00a05