2025-10-30 14:04:08,748 - INFO - Domain Default found not creating 2025-10-30 14:04:08,903 - INFO - Project ctest-TestRoutersBasic-09266022 not found, creating it 2025-10-30 14:04:09,352 - INFO - Created Project:ctest-TestRoutersBasic-09266022, ID : cf5a975c-0ea7-4d55-8eb1-02ae39667d52 2025-10-30 14:04:10,762 - INFO - ================================================================================ 2025-10-30 14:04:10,762 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 14:04:10,763 - 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 2025-10-30 14:04:11,018 - DEBUG - Nothing to compare xmpp stats {'10.0.0.128': {'10.20.0.14': '0'}} with 2025-10-30 14:04:11,018 - INFO - Initial checks done. Running the testcase now 2025-10-30 14:04:11,018 - INFO - 2025-10-30 14:04:11,732 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09266022 2025-10-30 14:04:11,832 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09266022 2025-10-30 14:04:12,148 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09266022', 'default']} 2025-10-30 14:04:12,461 - DEBUG - Response for create_network : {'network': {'id': '75ed8674-2b63-414d-bdd1-45460d58a4d3', 'name': 'ctest-vn-05708857', 'tenant_id': 'cf5a975c0ea74d558eb102ae39667d52', 'project_id': 'cf5a975c0ea74d558eb102ae39667d52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09266022', 'ctest-vn-05708857'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:04:12,663 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c181e5a0-1a2c-4948-87ab-7e89a1633779', 'name': '', 'tenant_id': 'cf5a975c0ea74d558eb102ae39667d52', 'network_id': '75ed8674-2b63-414d-bdd1-45460d58a4d3', 'ip_version': 4, 'cidr': '179.60.97.64/26', 'allocation_pools': [{'start': '179.60.97.66', 'end': '179.60.97.126'}], 'gateway_ip': '179.60.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.60.97.66', 'tags': [], 'project_id': 'cf5a975c0ea74d558eb102ae39667d52'}} 2025-10-30 14:04:12,681 - INFO - Created VN ctest-vn-05708857 2025-10-30 14:04:12,732 - DEBUG - VN ctest-vn-05708857 UUID is 75ed8674-2b63-414d-bdd1-45460d58a4d3 2025-10-30 14:04:13,085 - DEBUG - Response for create_network : {'network': {'id': '53d6f68a-2239-497c-8289-2c058ae110fb', 'name': 'ctest-ext_vn-99549890', 'tenant_id': 'cf5a975c0ea74d558eb102ae39667d52', 'project_id': 'cf5a975c0ea74d558eb102ae39667d52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09266022', 'ctest-ext_vn-99549890'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 14:04:13,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c00d75e-b5d6-4ed2-9311-a6b55376b31e', 'name': '', 'tenant_id': 'cf5a975c0ea74d558eb102ae39667d52', 'network_id': '53d6f68a-2239-497c-8289-2c058ae110fb', 'ip_version': 4, 'cidr': '93.75.214.128/26', 'allocation_pools': [{'start': '93.75.214.130', 'end': '93.75.214.190'}], 'gateway_ip': '93.75.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.75.214.130', 'tags': [], 'project_id': 'cf5a975c0ea74d558eb102ae39667d52'}} 2025-10-30 14:04:13,264 - INFO - Created VN ctest-ext_vn-99549890 2025-10-30 14:04:13,316 - DEBUG - VN ctest-ext_vn-99549890 UUID is 53d6f68a-2239-497c-8289-2c058ae110fb 2025-10-30 14:04:13,493 - DEBUG - Services list from nova: [, , ] 2025-10-30 14:04:14,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4544-1) 2025-10-30 14:04:15,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4544-1) 2025-10-30 14:04:15,686 - INFO - Setting gateway for router 38f3b98b-ce6d-40cb-949e-89ec7b651aa9 to network 53d6f68a-2239-497c-8289-2c058ae110fb 2025-10-30 14:04:15,766 - INFO - Adding interface with subnet_id c181e5a0-1a2c-4948-87ab-7e89a1633779, port_id None to router 38f3b98b-ce6d-40cb-949e-89ec7b651aa9 2025-10-30 14:04:16,010 - INFO - Waiting for VM ctest-TestRoutersBasic-09266022-93760087 to be up.. 2025-10-30 14:04:16,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 14:04:21,191 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:04:21,191 - INFO - VM name : ctest-TestRoutersBasic-09266022-93760087 2025-10-30 14:04:21,278 - DEBUG - VM ctest-TestRoutersBasic-09266022-93760087 ID is 75bca290-1e14-4c46-876c-95d0bad3cf67 2025-10-30 14:04:21,300 - DEBUG - VM ctest-TestRoutersBasic-09266022-93760087 launched on Node cn-jenkins-deploy-platform-ansible-os-4544-1 2025-10-30 14:04:21,378 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/75bca290-1e14-4c46-876c-95d0bad3cf67 2025-10-30 14:04:21,673 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/75bca290-1e14-4c46-876c-95d0bad3cf67 2025-10-30 14:04:21,709 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/37a5fed2-bdb2-4c69-80a9-1cb9bc6c010c 2025-10-30 14:04:24,969 - 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 1014ms') 2025-10-30 14:04:24,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09266022-93760087 failed! 2025-10-30 14:04:25,024 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09266022:ctest-vn-05708857 is 179.60.97.65 and allocation pool is NOT set 2025-10-30 14:04:27,093 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.145/2.170/3.196/1.025 ms') 2025-10-30 14:04:27,093 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09266022-93760087 passed 2025-10-30 14:04:27,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:04:27,241 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09266022-93760087, IP 179.60.97.67, Port 22 2025-10-30 14:04:27,396 - DEBUG - VM ctest-TestRoutersBasic-09266022-93760087 is ready for SSH connections 2025-10-30 14:04:27,396 - INFO - Waiting for VM ctest-TestRoutersBasic-09266022-25132941 to be up.. 2025-10-30 14:04:27,469 - DEBUG - VM is in ACTIVE state now 2025-10-30 14:04:27,469 - INFO - VM name : ctest-TestRoutersBasic-09266022-25132941 2025-10-30 14:04:27,545 - DEBUG - VM ctest-TestRoutersBasic-09266022-25132941 ID is 876c7149-f005-4b44-a9db-c3ffe312ce15 2025-10-30 14:04:27,546 - DEBUG - VM ctest-TestRoutersBasic-09266022-25132941 launched on Node cn-jenkins-deploy-platform-ansible-os-4544-1 2025-10-30 14:04:27,622 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine/876c7149-f005-4b44-a9db-c3ffe312ce15 2025-10-30 14:04:27,631 - DEBUG - Requesting: http://10.0.0.128:8082/virtual-machine-interface/d46917a8-d4c6-4b07-961a-f202872e6ead 2025-10-30 14:04:28,867 - 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=6.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.56 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.562/3.905/6.248/2.343 ms') 2025-10-30 14:04:28,867 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09266022-25132941 passed 2025-10-30 14:04:29,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:04:29,016 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09266022-25132941, IP 93.75.214.131, Port 22 2025-10-30 14:04:29,172 - DEBUG - VM ctest-TestRoutersBasic-09266022-25132941 is ready for SSH connections 2025-10-30 14:04:29,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 14:04:29,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.75.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.128, gateway password: c0ntrail123 2025-10-30 14:04:29,173 - DEBUG - ping -s 56 -c 3 -W 1 93.75.214.131 2025-10-30 14:04:32,874 - DEBUG - PING 93.75.214.131 (93.75.214.131): 56 data bytes 64 bytes from 93.75.214.131: seq=0 ttl=62 time=5.331 ms 64 bytes from 93.75.214.131: seq=1 ttl=62 time=0.806 ms 64 bytes from 93.75.214.131: seq=2 ttl=62 time=0.852 ms --- 93.75.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/2.329/5.331 ms 2025-10-30 14:04:32,874 - INFO - Ping to IP 93.75.214.131 from VM ctest-TestRoutersBasic-09266022-93760087 passed 2025-10-30 14:04:32,874 - INFO - Deleting interface with subnet_id c181e5a0-1a2c-4948-87ab-7e89a1633779, port_id None from router 38f3b98b-ce6d-40cb-949e-89ec7b651aa9 2025-10-30 14:04:33,043 - INFO - Deleting VM ctest-TestRoutersBasic-09266022-25132941 2025-10-30 14:04:33,123 - INFO - Deleting VM ctest-TestRoutersBasic-09266022-93760087 2025-10-30 14:04:33,198 - INFO - Deleting VN ctest-ext_vn-99549890 2025-10-30 14:04:33,265 - DEBUG - VN 53d6f68a-2239-497c-8289-2c058ae110fb still in use: Unable to complete operation on network 53d6f68a-2239-497c-8289-2c058ae110fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6ef44bd-4fc8-4568-a00c-922cecf10e02'] 2025-10-30 14:04:33,265 - WARNING - Deleting VN ctest-ext_vn-99549890 failed..Will retry 2025-10-30 14:04:35,372 - DEBUG - Response for deleting network () 2025-10-30 14:04:35,372 - INFO - Deleting VN ctest-vn-05708857 2025-10-30 14:04:35,485 - DEBUG - Response for deleting network () 2025-10-30 14:04:35,742 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 14:04:35,743 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-30 14:04:35,743 - INFO - -------------------------------------------------------------------------------- 2025-10-30 14:04:36,420 - INFO - Deleted project: ctest-TestRoutersBasic-09266022, ID : cf5a975c-0ea7-4d55-8eb1-02ae39667d52