2026-04-20 16:29:23,761 - INFO - Domain Default found not creating 2026-04-20 16:29:23,964 - INFO - Project ctest-TestRoutersBasic-64620779 not found, creating it 2026-04-20 16:29:24,437 - INFO - Created Project:ctest-TestRoutersBasic-64620779, ID : 8d7671da-233e-4e66-b639-0f23c4f64356 2026-04-20 16:29:25,882 - INFO - ================================================================================ 2026-04-20 16:29:25,882 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-20 16:29:25,882 - 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-04-20 16:29:26,135 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-04-20 16:29:26,135 - INFO - Initial checks done. Running the testcase now 2026-04-20 16:29:26,135 - INFO - 2026-04-20 16:29:26,839 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64620779 2026-04-20 16:29:26,934 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64620779 2026-04-20 16:29:27,258 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64620779', 'default']} 2026-04-20 16:29:27,550 - DEBUG - Response for create_network : {'network': {'id': 'f8b5f0ef-18cc-46b1-af62-aad4ec0ad98f', 'name': 'ctest-vn-89368854', 'tenant_id': '8d7671da233e4e66b6390f23c4f64356', 'project_id': '8d7671da233e4e66b6390f23c4f64356', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64620779', 'ctest-vn-89368854'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:29:27,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b8fdd30-dcfd-4f69-bb58-e6eda8f5e92f', 'name': '', 'tenant_id': '8d7671da233e4e66b6390f23c4f64356', 'network_id': 'f8b5f0ef-18cc-46b1-af62-aad4ec0ad98f', 'ip_version': 4, 'cidr': '149.18.24.64/26', 'allocation_pools': [{'start': '149.18.24.66', 'end': '149.18.24.126'}], 'gateway_ip': '149.18.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.18.24.66', 'tags': [], 'project_id': '8d7671da233e4e66b6390f23c4f64356'}} 2026-04-20 16:29:27,750 - INFO - Created VN ctest-vn-89368854 2026-04-20 16:29:27,802 - DEBUG - VN ctest-vn-89368854 UUID is f8b5f0ef-18cc-46b1-af62-aad4ec0ad98f 2026-04-20 16:29:28,135 - DEBUG - Response for create_network : {'network': {'id': '109f98fd-bf0c-429d-8148-80af3f3faab1', 'name': 'ctest-ext_vn-77422861', 'tenant_id': '8d7671da233e4e66b6390f23c4f64356', 'project_id': '8d7671da233e4e66b6390f23c4f64356', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64620779', 'ctest-ext_vn-77422861'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:29:28,331 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4b0780b-bf13-4d25-9889-75932aa5f32f', 'name': '', 'tenant_id': '8d7671da233e4e66b6390f23c4f64356', 'network_id': '109f98fd-bf0c-429d-8148-80af3f3faab1', 'ip_version': 4, 'cidr': '215.84.19.128/26', 'allocation_pools': [{'start': '215.84.19.130', 'end': '215.84.19.190'}], 'gateway_ip': '215.84.19.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.84.19.130', 'tags': [], 'project_id': '8d7671da233e4e66b6390f23c4f64356'}} 2026-04-20 16:29:28,349 - INFO - Created VN ctest-ext_vn-77422861 2026-04-20 16:29:28,402 - DEBUG - VN ctest-ext_vn-77422861 UUID is 109f98fd-bf0c-429d-8148-80af3f3faab1 2026-04-20 16:29:28,596 - DEBUG - Services list from nova: [, , ] 2026-04-20 16:29:29,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5651-1) 2026-04-20 16:29:30,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5651-1) 2026-04-20 16:29:30,778 - INFO - Setting gateway for router b1a19410-8769-4dc9-b8f1-dc05a3145542 to network 109f98fd-bf0c-429d-8148-80af3f3faab1 2026-04-20 16:29:30,833 - INFO - Adding interface with subnet_id 1b8fdd30-dcfd-4f69-bb58-e6eda8f5e92f, port_id None to router b1a19410-8769-4dc9-b8f1-dc05a3145542 2026-04-20 16:29:31,222 - INFO - Waiting for VM ctest-TestRoutersBasic-64620779-73413473 to be up.. 2026-04-20 16:29:31,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 16:29:36,420 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:29:36,420 - INFO - VM name : ctest-TestRoutersBasic-64620779-73413473 2026-04-20 16:29:36,502 - DEBUG - VM ctest-TestRoutersBasic-64620779-73413473 ID is 7e65b33c-e6a2-4c9d-b993-8a5d2906b806 2026-04-20 16:29:36,520 - DEBUG - VM ctest-TestRoutersBasic-64620779-73413473 launched on Node cn-jenkins-deploy-platform-ansible-os-5651-1 2026-04-20 16:29:36,591 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7e65b33c-e6a2-4c9d-b993-8a5d2906b806 2026-04-20 16:29:36,892 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/7e65b33c-e6a2-4c9d-b993-8a5d2906b806 2026-04-20 16:29:36,923 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c7e14573-2434-4063-b38d-d07ae94dabef 2026-04-20 16:29:40,161 - 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 1006ms') 2026-04-20 16:29:40,161 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64620779-73413473 failed! 2026-04-20 16:29:40,218 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64620779:ctest-vn-89368854 is 149.18.24.65 and allocation pool is NOT set 2026-04-20 16:29:42,273 - 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=2.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.487/1.636/2.786/1.149 ms') 2026-04-20 16:29:42,274 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64620779-73413473 passed 2026-04-20 16:29:42,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:29:42,426 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64620779-73413473, IP 149.18.24.67, Port 22 2026-04-20 16:29:42,581 - DEBUG - VM ctest-TestRoutersBasic-64620779-73413473 is ready for SSH connections 2026-04-20 16:29:42,581 - INFO - Waiting for VM ctest-TestRoutersBasic-64620779-21459046 to be up.. 2026-04-20 16:29:42,651 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:29:42,652 - INFO - VM name : ctest-TestRoutersBasic-64620779-21459046 2026-04-20 16:29:42,720 - DEBUG - VM ctest-TestRoutersBasic-64620779-21459046 ID is 83ba9218-8ec3-4071-b149-8272c8bf137d 2026-04-20 16:29:42,720 - DEBUG - VM ctest-TestRoutersBasic-64620779-21459046 launched on Node cn-jenkins-deploy-platform-ansible-os-5651-1 2026-04-20 16:29:42,792 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/83ba9218-8ec3-4071-b149-8272c8bf137d 2026-04-20 16:29:42,800 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b884ce2c-6895-4a91-879e-aeadc802dc89 2026-04-20 16:29:44,032 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.595/2.772/1.176 ms') 2026-04-20 16:29:44,032 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64620779-21459046 passed 2026-04-20 16:29:44,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:29:44,186 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64620779-21459046, IP 215.84.19.131, Port 22 2026-04-20 16:29:44,341 - DEBUG - VM ctest-TestRoutersBasic-64620779-21459046 is ready for SSH connections 2026-04-20 16:29:44,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:29:44,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.84.19.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-04-20 16:29:44,342 - DEBUG - ping -s 56 -c 3 -W 1 215.84.19.131 2026-04-20 16:29:48,009 - DEBUG - PING 215.84.19.131 (215.84.19.131): 56 data bytes 64 bytes from 215.84.19.131: seq=0 ttl=62 time=5.433 ms 64 bytes from 215.84.19.131: seq=1 ttl=62 time=1.261 ms 64 bytes from 215.84.19.131: seq=2 ttl=62 time=1.119 ms --- 215.84.19.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.119/2.604/5.433 ms 2026-04-20 16:29:48,009 - INFO - Ping to IP 215.84.19.131 from VM ctest-TestRoutersBasic-64620779-73413473 passed 2026-04-20 16:29:48,009 - INFO - Deleting interface with subnet_id 1b8fdd30-dcfd-4f69-bb58-e6eda8f5e92f, port_id None from router b1a19410-8769-4dc9-b8f1-dc05a3145542 2026-04-20 16:29:48,181 - INFO - Deleting VM ctest-TestRoutersBasic-64620779-21459046 2026-04-20 16:29:48,253 - INFO - Deleting VM ctest-TestRoutersBasic-64620779-73413473 2026-04-20 16:29:48,323 - INFO - Deleting VN ctest-ext_vn-77422861 2026-04-20 16:29:48,384 - DEBUG - VN 109f98fd-bf0c-429d-8148-80af3f3faab1 still in use: Unable to complete operation on network 109f98fd-bf0c-429d-8148-80af3f3faab1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b7bc467-0b91-4def-adeb-42f1f7f24e44'] 2026-04-20 16:29:48,384 - WARNING - Deleting VN ctest-ext_vn-77422861 failed..Will retry 2026-04-20 16:29:50,475 - DEBUG - Response for deleting network () 2026-04-20 16:29:50,476 - INFO - Deleting VN ctest-vn-89368854 2026-04-20 16:29:50,564 - DEBUG - Response for deleting network () 2026-04-20 16:29:50,819 - DEBUG - No XMPP flaps were noticed during the test 2026-04-20 16:29:50,819 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-04-20 16:29:50,819 - INFO - -------------------------------------------------------------------------------- 2026-04-20 16:29:51,873 - INFO - Deleted project: ctest-TestRoutersBasic-64620779, ID : 8d7671da-233e-4e66-b639-0f23c4f64356