2026-03-02 02:00:16,519 - INFO - Domain Default found not creating 2026-03-02 02:00:16,654 - INFO - Project ctest-TestRoutersBasic-55664941 not found, creating it 2026-03-02 02:00:17,130 - INFO - Created Project:ctest-TestRoutersBasic-55664941, ID : ee31e2f9-8902-4bcc-97f2-be07fe1ff33f 2026-03-02 02:00:18,535 - INFO - ================================================================================ 2026-03-02 02:00:18,535 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-02 02:00:18,535 - 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 02:00:18,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-03-02 02:00:18,793 - INFO - Initial checks done. Running the testcase now 2026-03-02 02:00:18,793 - INFO - 2026-03-02 02:00:19,481 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55664941 2026-03-02 02:00:19,576 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55664941 2026-03-02 02:00:19,892 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55664941', 'default']} 2026-03-02 02:00:20,167 - DEBUG - Response for create_network : {'network': {'id': '5b16197d-5cbc-486a-97a0-ad10ec30e56b', 'name': 'ctest-vn-92663574', 'tenant_id': 'ee31e2f989024bcc97f2be07fe1ff33f', 'project_id': 'ee31e2f989024bcc97f2be07fe1ff33f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55664941', 'ctest-vn-92663574'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:00:20,339 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0f92abc-0f70-4cbd-9eb1-d498bd2bfde8', 'name': '', 'tenant_id': 'ee31e2f989024bcc97f2be07fe1ff33f', 'network_id': '5b16197d-5cbc-486a-97a0-ad10ec30e56b', 'ip_version': 4, 'cidr': '36.168.199.0/26', 'allocation_pools': [{'start': '36.168.199.2', 'end': '36.168.199.62'}], 'gateway_ip': '36.168.199.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.168.199.2', 'tags': [], 'project_id': 'ee31e2f989024bcc97f2be07fe1ff33f'}} 2026-03-02 02:00:20,354 - INFO - Created VN ctest-vn-92663574 2026-03-02 02:00:20,404 - DEBUG - VN ctest-vn-92663574 UUID is 5b16197d-5cbc-486a-97a0-ad10ec30e56b 2026-03-02 02:00:20,719 - DEBUG - Response for create_network : {'network': {'id': '9b0c1f06-4378-4fd8-99f3-7c256fef939e', 'name': 'ctest-ext_vn-87444361', 'tenant_id': 'ee31e2f989024bcc97f2be07fe1ff33f', 'project_id': 'ee31e2f989024bcc97f2be07fe1ff33f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55664941', 'ctest-ext_vn-87444361'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:00:20,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a98d5c03-c624-468e-b447-3ac5a65aa364', 'name': '', 'tenant_id': 'ee31e2f989024bcc97f2be07fe1ff33f', 'network_id': '9b0c1f06-4378-4fd8-99f3-7c256fef939e', 'ip_version': 4, 'cidr': '194.143.147.64/26', 'allocation_pools': [{'start': '194.143.147.66', 'end': '194.143.147.126'}], 'gateway_ip': '194.143.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.143.147.66', 'tags': [], 'project_id': 'ee31e2f989024bcc97f2be07fe1ff33f'}} 2026-03-02 02:00:20,920 - INFO - Created VN ctest-ext_vn-87444361 2026-03-02 02:00:20,976 - DEBUG - VN ctest-ext_vn-87444361 UUID is 9b0c1f06-4378-4fd8-99f3-7c256fef939e 2026-03-02 02:00:21,162 - DEBUG - Services list from nova: [, , ] 2026-03-02 02:00:22,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5412-1) 2026-03-02 02:00:23,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5412-1) 2026-03-02 02:00:23,304 - INFO - Setting gateway for router 015b1bb1-a144-419c-8592-d24cc43a2baf to network 9b0c1f06-4378-4fd8-99f3-7c256fef939e 2026-03-02 02:00:23,365 - INFO - Adding interface with subnet_id a0f92abc-0f70-4cbd-9eb1-d498bd2bfde8, port_id None to router 015b1bb1-a144-419c-8592-d24cc43a2baf 2026-03-02 02:00:23,727 - INFO - Waiting for VM ctest-TestRoutersBasic-55664941-59939512 to be up.. 2026-03-02 02:00:23,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-02 02:00:28,941 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:00:28,941 - INFO - VM name : ctest-TestRoutersBasic-55664941-59939512 2026-03-02 02:00:29,018 - DEBUG - VM ctest-TestRoutersBasic-55664941-59939512 ID is fd07f70d-0c17-44c0-8c25-9e09a4c79de8 2026-03-02 02:00:29,035 - DEBUG - VM ctest-TestRoutersBasic-55664941-59939512 launched on Node cn-jenkins-deploy-platform-ansible-os-5412-1 2026-03-02 02:00:29,103 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fd07f70d-0c17-44c0-8c25-9e09a4c79de8 2026-03-02 02:00:29,392 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fd07f70d-0c17-44c0-8c25-9e09a4c79de8 2026-03-02 02:00:29,422 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/23368c5f-1ca1-4ab3-ac6c-5c503b2af54c 2026-03-02 02:00:32,701 - 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 1032ms') 2026-03-02 02:00:32,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55664941-59939512 failed! 2026-03-02 02:00:32,756 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55664941:ctest-vn-92663574 is 36.168.199.1 and allocation pool is NOT set 2026-03-02 02:00:34,819 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.171/3.055/3.940/0.884 ms') 2026-03-02 02:00:34,819 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55664941-59939512 passed 2026-03-02 02:00:34,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:00:34,973 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55664941-59939512, IP 36.168.199.3, Port 22 2026-03-02 02:00:35,127 - DEBUG - VM ctest-TestRoutersBasic-55664941-59939512 is ready for SSH connections 2026-03-02 02:00:35,128 - INFO - Waiting for VM ctest-TestRoutersBasic-55664941-53420716 to be up.. 2026-03-02 02:00:35,193 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:00:35,193 - INFO - VM name : ctest-TestRoutersBasic-55664941-53420716 2026-03-02 02:00:35,254 - DEBUG - VM ctest-TestRoutersBasic-55664941-53420716 ID is 970af09e-b5cd-4c61-a5ee-04c8fa30cb77 2026-03-02 02:00:35,254 - DEBUG - VM ctest-TestRoutersBasic-55664941-53420716 launched on Node cn-jenkins-deploy-platform-ansible-os-5412-1 2026-03-02 02:00:35,316 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/970af09e-b5cd-4c61-a5ee-04c8fa30cb77 2026-03-02 02:00:35,322 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/36c82416-40d8-4887-9e4b-6b74d11e70e8 2026-03-02 02:00:36,555 - 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=5.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.86 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 = 1.856/3.568/5.280/1.712 ms') 2026-03-02 02:00:36,556 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55664941-53420716 passed 2026-03-02 02:00:36,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:00:36,701 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55664941-53420716, IP 194.143.147.67, Port 22 2026-03-02 02:00:36,851 - DEBUG - VM ctest-TestRoutersBasic-55664941-53420716 is ready for SSH connections 2026-03-02 02:00:36,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:00:36,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.143.147.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-03-02 02:00:36,852 - DEBUG - ping -s 56 -c 3 -W 1 194.143.147.67 2026-03-02 02:00:40,810 - DEBUG - PING 194.143.147.67 (194.143.147.67): 56 data bytes 64 bytes from 194.143.147.67: seq=0 ttl=62 time=5.675 ms 64 bytes from 194.143.147.67: seq=1 ttl=62 time=0.747 ms 64 bytes from 194.143.147.67: seq=2 ttl=62 time=0.895 ms --- 194.143.147.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/2.439/5.675 ms 2026-03-02 02:00:40,810 - INFO - Ping to IP 194.143.147.67 from VM ctest-TestRoutersBasic-55664941-59939512 passed 2026-03-02 02:00:40,810 - INFO - Deleting interface with subnet_id a0f92abc-0f70-4cbd-9eb1-d498bd2bfde8, port_id None from router 015b1bb1-a144-419c-8592-d24cc43a2baf 2026-03-02 02:00:40,969 - INFO - Deleting VM ctest-TestRoutersBasic-55664941-53420716 2026-03-02 02:00:41,044 - INFO - Deleting VM ctest-TestRoutersBasic-55664941-59939512 2026-03-02 02:00:41,107 - INFO - Deleting VN ctest-ext_vn-87444361 2026-03-02 02:00:41,165 - DEBUG - VN 9b0c1f06-4378-4fd8-99f3-7c256fef939e still in use: Unable to complete operation on network 9b0c1f06-4378-4fd8-99f3-7c256fef939e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e1ad445-b5e1-4673-a0a2-2d7a587071dc'] 2026-03-02 02:00:41,165 - WARNING - Deleting VN ctest-ext_vn-87444361 failed..Will retry 2026-03-02 02:00:43,259 - DEBUG - Response for deleting network () 2026-03-02 02:00:43,260 - INFO - Deleting VN ctest-vn-92663574 2026-03-02 02:00:43,352 - DEBUG - Response for deleting network () 2026-03-02 02:00:43,604 - DEBUG - No XMPP flaps were noticed during the test 2026-03-02 02:00:43,605 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-03-02 02:00:43,605 - INFO - -------------------------------------------------------------------------------- 2026-03-02 02:00:44,250 - INFO - Deleted project: ctest-TestRoutersBasic-55664941, ID : ee31e2f9-8902-4bcc-97f2-be07fe1ff33f