2026-05-19 15:43:15,927 - INFO - Domain Default found not creating 2026-05-19 15:43:16,118 - INFO - Project ctest-TestRoutersBasic-38748384 not found, creating it 2026-05-19 15:43:16,577 - INFO - Created Project:ctest-TestRoutersBasic-38748384, ID : 1fce4f0b-28d2-42a5-924a-22be8988a1d4 2026-05-19 15:43:18,217 - INFO - ================================================================================ 2026-05-19 15:43:18,217 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-19 15:43:18,217 - 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-19 15:43:18,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-05-19 15:43:18,476 - INFO - Initial checks done. Running the testcase now 2026-05-19 15:43:18,476 - INFO - 2026-05-19 15:43:19,199 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38748384 2026-05-19 15:43:19,294 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38748384 2026-05-19 15:43:19,610 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38748384', 'default']} 2026-05-19 15:43:19,921 - DEBUG - Response for create_network : {'network': {'id': '529f386f-0303-493f-8d50-5b52f9bc58f0', 'name': 'ctest-vn-91963941', 'tenant_id': '1fce4f0b28d242a5924a22be8988a1d4', 'project_id': '1fce4f0b28d242a5924a22be8988a1d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38748384', 'ctest-vn-91963941'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:43:20,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efda7b47-624d-4e3e-8b01-f66cbc46a55f', 'name': '', 'tenant_id': '1fce4f0b28d242a5924a22be8988a1d4', 'network_id': '529f386f-0303-493f-8d50-5b52f9bc58f0', 'ip_version': 4, 'cidr': '33.81.47.0/26', 'allocation_pools': [{'start': '33.81.47.2', 'end': '33.81.47.62'}], 'gateway_ip': '33.81.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.81.47.2', 'tags': [], 'project_id': '1fce4f0b28d242a5924a22be8988a1d4'}} 2026-05-19 15:43:20,134 - INFO - Created VN ctest-vn-91963941 2026-05-19 15:43:20,186 - DEBUG - VN ctest-vn-91963941 UUID is 529f386f-0303-493f-8d50-5b52f9bc58f0 2026-05-19 15:43:20,538 - DEBUG - Response for create_network : {'network': {'id': '7af8b946-a204-49a5-b02c-ea26e348c246', 'name': 'ctest-ext_vn-70648602', 'tenant_id': '1fce4f0b28d242a5924a22be8988a1d4', 'project_id': '1fce4f0b28d242a5924a22be8988a1d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38748384', 'ctest-ext_vn-70648602'], 'port_security_enabled': True, 'description': ''}} 2026-05-19 15:43:20,754 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a2c78d4-c783-42de-b3cd-d90e28065344', 'name': '', 'tenant_id': '1fce4f0b28d242a5924a22be8988a1d4', 'network_id': '7af8b946-a204-49a5-b02c-ea26e348c246', 'ip_version': 4, 'cidr': '67.40.100.64/26', 'allocation_pools': [{'start': '67.40.100.66', 'end': '67.40.100.126'}], 'gateway_ip': '67.40.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.40.100.66', 'tags': [], 'project_id': '1fce4f0b28d242a5924a22be8988a1d4'}} 2026-05-19 15:43:20,775 - INFO - Created VN ctest-ext_vn-70648602 2026-05-19 15:43:20,826 - DEBUG - VN ctest-ext_vn-70648602 UUID is 7af8b946-a204-49a5-b02c-ea26e348c246 2026-05-19 15:43:20,996 - DEBUG - Services list from nova: [, , ] 2026-05-19 15:43:22,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5798-1) 2026-05-19 15:43:23,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5798-1) 2026-05-19 15:43:23,322 - INFO - Setting gateway for router 556d69bc-22ce-41e5-89a9-c534ae6e47c1 to network 7af8b946-a204-49a5-b02c-ea26e348c246 2026-05-19 15:43:23,394 - INFO - Adding interface with subnet_id efda7b47-624d-4e3e-8b01-f66cbc46a55f, port_id None to router 556d69bc-22ce-41e5-89a9-c534ae6e47c1 2026-05-19 15:43:23,700 - INFO - Waiting for VM ctest-TestRoutersBasic-38748384-80469035 to be up.. 2026-05-19 15:43:23,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-19 15:43:29,004 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:43:29,004 - INFO - VM name : ctest-TestRoutersBasic-38748384-80469035 2026-05-19 15:43:29,103 - DEBUG - VM ctest-TestRoutersBasic-38748384-80469035 ID is 22dd6997-b27c-47f6-8161-30705b9d368e 2026-05-19 15:43:29,135 - DEBUG - VM ctest-TestRoutersBasic-38748384-80469035 launched on Node cn-jenkins-deploy-platform-ansible-os-5798-1 2026-05-19 15:43:29,224 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/22dd6997-b27c-47f6-8161-30705b9d368e 2026-05-19 15:43:29,532 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/22dd6997-b27c-47f6-8161-30705b9d368e 2026-05-19 15:43:29,574 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5448c525-5575-4625-8a95-4923f3bcb906 2026-05-19 15:43:32,841 - 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 1030ms') 2026-05-19 15:43:32,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38748384-80469035 failed! 2026-05-19 15:43:32,902 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38748384:ctest-vn-91963941 is 33.81.47.1 and allocation pool is NOT set 2026-05-19 15:43:34,963 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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 = 1.001/2.160/3.319/1.159 ms') 2026-05-19 15:43:34,963 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38748384-80469035 passed 2026-05-19 15:43:35,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:43:35,122 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38748384-80469035, IP 33.81.47.3, Port 22 2026-05-19 15:43:35,286 - DEBUG - VM ctest-TestRoutersBasic-38748384-80469035 is ready for SSH connections 2026-05-19 15:43:35,286 - INFO - Waiting for VM ctest-TestRoutersBasic-38748384-46962160 to be up.. 2026-05-19 15:43:35,374 - DEBUG - VM is in ACTIVE state now 2026-05-19 15:43:35,375 - INFO - VM name : ctest-TestRoutersBasic-38748384-46962160 2026-05-19 15:43:35,455 - DEBUG - VM ctest-TestRoutersBasic-38748384-46962160 ID is c44f0acb-3fc8-4cf5-8bdf-14b87fcd5c84 2026-05-19 15:43:35,455 - DEBUG - VM ctest-TestRoutersBasic-38748384-46962160 launched on Node cn-jenkins-deploy-platform-ansible-os-5798-1 2026-05-19 15:43:35,543 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c44f0acb-3fc8-4cf5-8bdf-14b87fcd5c84 2026-05-19 15:43:35,551 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/71e84a79-e2bf-4a43-b44f-f615cd54d9db 2026-05-19 15:43:36,794 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.553 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.553/2.176/3.800/1.623 ms') 2026-05-19 15:43:36,794 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38748384-46962160 passed 2026-05-19 15:43:36,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:43:36,950 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38748384-46962160, IP 67.40.100.67, Port 22 2026-05-19 15:43:37,106 - DEBUG - VM ctest-TestRoutersBasic-38748384-46962160 is ready for SSH connections 2026-05-19 15:43:37,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-19 15:43:37,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.40.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-19 15:43:37,106 - DEBUG - ping -s 56 -c 3 -W 1 67.40.100.67 2026-05-19 15:43:40,815 - DEBUG - PING 67.40.100.67 (67.40.100.67): 56 data bytes 64 bytes from 67.40.100.67: seq=0 ttl=62 time=5.197 ms 64 bytes from 67.40.100.67: seq=1 ttl=62 time=1.184 ms 64 bytes from 67.40.100.67: seq=2 ttl=62 time=0.880 ms --- 67.40.100.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/2.420/5.197 ms 2026-05-19 15:43:40,815 - INFO - Ping to IP 67.40.100.67 from VM ctest-TestRoutersBasic-38748384-80469035 passed 2026-05-19 15:43:40,816 - INFO - Deleting interface with subnet_id efda7b47-624d-4e3e-8b01-f66cbc46a55f, port_id None from router 556d69bc-22ce-41e5-89a9-c534ae6e47c1 2026-05-19 15:43:41,003 - INFO - Deleting VM ctest-TestRoutersBasic-38748384-46962160 2026-05-19 15:43:41,075 - INFO - Deleting VM ctest-TestRoutersBasic-38748384-80469035 2026-05-19 15:43:41,160 - INFO - Deleting VN ctest-ext_vn-70648602 2026-05-19 15:43:41,233 - DEBUG - VN 7af8b946-a204-49a5-b02c-ea26e348c246 still in use: Unable to complete operation on network 7af8b946-a204-49a5-b02c-ea26e348c246. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65972ec6-69eb-4368-a892-076a88778534'] 2026-05-19 15:43:41,233 - WARNING - Deleting VN ctest-ext_vn-70648602 failed..Will retry 2026-05-19 15:43:43,350 - DEBUG - Response for deleting network () 2026-05-19 15:43:43,350 - INFO - Deleting VN ctest-vn-91963941 2026-05-19 15:43:43,471 - DEBUG - Response for deleting network () 2026-05-19 15:43:43,724 - DEBUG - No XMPP flaps were noticed during the test 2026-05-19 15:43:43,724 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-05-19 15:43:43,724 - INFO - -------------------------------------------------------------------------------- 2026-05-19 15:43:44,466 - INFO - Deleted project: ctest-TestRoutersBasic-38748384, ID : 1fce4f0b-28d2-42a5-924a-22be8988a1d4