2025-10-13 10:36:04,326 - INFO - Domain Default found not creating 2025-10-13 10:36:04,460 - INFO - Project ctest-TestRoutersBasic-98663003 not found, creating it 2025-10-13 10:36:04,888 - INFO - Created Project:ctest-TestRoutersBasic-98663003, ID : 140b7eb4-744d-46ec-a492-f5c0c1a5cd6f 2025-10-13 10:36:06,276 - INFO - ================================================================================ 2025-10-13 10:36:06,277 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-13 10:36:06,277 - 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-13 10:36:06,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.254': '0'}} with 2025-10-13 10:36:06,529 - INFO - Initial checks done. Running the testcase now 2025-10-13 10:36:06,529 - INFO - 2025-10-13 10:36:07,260 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98663003 2025-10-13 10:36:07,356 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98663003 2025-10-13 10:36:07,672 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98663003', 'default']} 2025-10-13 10:36:07,956 - DEBUG - Response for create_network : {'network': {'id': 'ba5bc504-9aec-491d-88c2-144e3781586a', 'name': 'ctest-vn-98027971', 'tenant_id': '140b7eb4744d46eca492f5c0c1a5cd6f', 'project_id': '140b7eb4744d46eca492f5c0c1a5cd6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98663003', 'ctest-vn-98027971'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:36:08,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '29927af9-6618-4b9f-9faa-e81439cc3065', 'name': '', 'tenant_id': '140b7eb4744d46eca492f5c0c1a5cd6f', 'network_id': 'ba5bc504-9aec-491d-88c2-144e3781586a', 'ip_version': 4, 'cidr': '120.23.249.64/26', 'allocation_pools': [{'start': '120.23.249.66', 'end': '120.23.249.126'}], 'gateway_ip': '120.23.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.23.249.66', 'tags': [], 'project_id': '140b7eb4744d46eca492f5c0c1a5cd6f'}} 2025-10-13 10:36:08,175 - INFO - Created VN ctest-vn-98027971 2025-10-13 10:36:08,228 - DEBUG - VN ctest-vn-98027971 UUID is ba5bc504-9aec-491d-88c2-144e3781586a 2025-10-13 10:36:08,534 - DEBUG - Response for create_network : {'network': {'id': '7866f0ac-51a3-49cb-9d45-5ad7892a02bb', 'name': 'ctest-ext_vn-50969967', 'tenant_id': '140b7eb4744d46eca492f5c0c1a5cd6f', 'project_id': '140b7eb4744d46eca492f5c0c1a5cd6f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98663003', 'ctest-ext_vn-50969967'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 10:36:08,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '696f21eb-eceb-405d-9eed-366ca23183dc', 'name': '', 'tenant_id': '140b7eb4744d46eca492f5c0c1a5cd6f', 'network_id': '7866f0ac-51a3-49cb-9d45-5ad7892a02bb', 'ip_version': 4, 'cidr': '203.248.105.0/26', 'allocation_pools': [{'start': '203.248.105.2', 'end': '203.248.105.62'}], 'gateway_ip': '203.248.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.248.105.2', 'tags': [], 'project_id': '140b7eb4744d46eca492f5c0c1a5cd6f'}} 2025-10-13 10:36:08,706 - INFO - Created VN ctest-ext_vn-50969967 2025-10-13 10:36:08,760 - DEBUG - VN ctest-ext_vn-50969967 UUID is 7866f0ac-51a3-49cb-9d45-5ad7892a02bb 2025-10-13 10:36:08,957 - DEBUG - Services list from nova: [, , ] 2025-10-13 10:36:09,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1) 2025-10-13 10:36:11,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4298-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4298-1) 2025-10-13 10:36:11,166 - INFO - Setting gateway for router 69fe4fae-9262-4a47-bb6b-070d73d28008 to network 7866f0ac-51a3-49cb-9d45-5ad7892a02bb 2025-10-13 10:36:11,233 - INFO - Adding interface with subnet_id 29927af9-6618-4b9f-9faa-e81439cc3065, port_id None to router 69fe4fae-9262-4a47-bb6b-070d73d28008 2025-10-13 10:36:11,670 - INFO - Waiting for VM ctest-TestRoutersBasic-98663003-33978514 to be up.. 2025-10-13 10:36:11,815 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 10:36:16,887 - DEBUG - VM is in ACTIVE state now 2025-10-13 10:36:16,887 - INFO - VM name : ctest-TestRoutersBasic-98663003-33978514 2025-10-13 10:36:16,958 - DEBUG - VM ctest-TestRoutersBasic-98663003-33978514 ID is ec7032f4-b780-40b6-aa5d-32d8d2b18b3b 2025-10-13 10:36:16,976 - DEBUG - VM ctest-TestRoutersBasic-98663003-33978514 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1 2025-10-13 10:36:17,057 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/ec7032f4-b780-40b6-aa5d-32d8d2b18b3b 2025-10-13 10:36:17,361 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/ec7032f4-b780-40b6-aa5d-32d8d2b18b3b 2025-10-13 10:36:17,390 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/43f4080c-2495-4138-a22b-ef35d777c2f2 2025-10-13 10:36:20,643 - 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 1011ms') 2025-10-13 10:36:20,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98663003-33978514 failed! 2025-10-13 10:36:20,696 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98663003:ctest-vn-98027971 is 120.23.249.65 and allocation pool is NOT set 2025-10-13 10:36:22,761 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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 = 0.446/1.581/2.716/1.135 ms') 2025-10-13 10:36:22,761 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98663003-33978514 passed 2025-10-13 10:36:22,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:36:22,908 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98663003-33978514, IP 120.23.249.67, Port 22 2025-10-13 10:36:23,064 - DEBUG - VM ctest-TestRoutersBasic-98663003-33978514 is ready for SSH connections 2025-10-13 10:36:23,064 - INFO - Waiting for VM ctest-TestRoutersBasic-98663003-58291193 to be up.. 2025-10-13 10:36:23,133 - DEBUG - VM is in ACTIVE state now 2025-10-13 10:36:23,134 - INFO - VM name : ctest-TestRoutersBasic-98663003-58291193 2025-10-13 10:36:23,202 - DEBUG - VM ctest-TestRoutersBasic-98663003-58291193 ID is 6fdb60d4-ae4b-49d0-ba87-eaffc40b2a6b 2025-10-13 10:36:23,203 - DEBUG - VM ctest-TestRoutersBasic-98663003-58291193 launched on Node cn-jenkins-deploy-platform-ansible-os-4298-1 2025-10-13 10:36:23,269 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6fdb60d4-ae4b-49d0-ba87-eaffc40b2a6b 2025-10-13 10:36:23,277 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/f0bb141e-78cb-4973-94b0-dd3c54713a64 2025-10-13 10:36:24,520 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.632/2.863/1.231 ms') 2025-10-13 10:36:24,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98663003-58291193 passed 2025-10-13 10:36:24,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:36:24,672 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98663003-58291193, IP 203.248.105.3, Port 22 2025-10-13 10:36:24,827 - DEBUG - VM ctest-TestRoutersBasic-98663003-58291193 is ready for SSH connections 2025-10-13 10:36:24,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 10:36:24,827 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.248.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-13 10:36:24,827 - DEBUG - ping -s 56 -c 3 -W 1 203.248.105.3 2025-10-13 10:36:28,557 - DEBUG - PING 203.248.105.3 (203.248.105.3): 56 data bytes 64 bytes from 203.248.105.3: seq=0 ttl=62 time=7.432 ms 64 bytes from 203.248.105.3: seq=1 ttl=62 time=0.902 ms 64 bytes from 203.248.105.3: seq=2 ttl=62 time=0.984 ms --- 203.248.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.902/3.106/7.432 ms 2025-10-13 10:36:28,557 - INFO - Ping to IP 203.248.105.3 from VM ctest-TestRoutersBasic-98663003-33978514 passed 2025-10-13 10:36:28,557 - INFO - Deleting interface with subnet_id 29927af9-6618-4b9f-9faa-e81439cc3065, port_id None from router 69fe4fae-9262-4a47-bb6b-070d73d28008 2025-10-13 10:36:28,723 - INFO - Deleting VM ctest-TestRoutersBasic-98663003-58291193 2025-10-13 10:36:28,800 - INFO - Deleting VM ctest-TestRoutersBasic-98663003-33978514 2025-10-13 10:36:28,883 - INFO - Deleting VN ctest-ext_vn-50969967 2025-10-13 10:36:28,958 - DEBUG - VN 7866f0ac-51a3-49cb-9d45-5ad7892a02bb still in use: Unable to complete operation on network 7866f0ac-51a3-49cb-9d45-5ad7892a02bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a9695d9f-8c22-4fc0-a462-f21d68dcba9b'] 2025-10-13 10:36:28,958 - WARNING - Deleting VN ctest-ext_vn-50969967 failed..Will retry 2025-10-13 10:36:31,064 - DEBUG - Response for deleting network () 2025-10-13 10:36:31,064 - INFO - Deleting VN ctest-vn-98027971 2025-10-13 10:36:31,180 - DEBUG - Response for deleting network () 2025-10-13 10:36:31,436 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 10:36:31,436 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-13 10:36:31,437 - INFO - -------------------------------------------------------------------------------- 2025-10-13 10:36:32,110 - INFO - Deleted project: ctest-TestRoutersBasic-98663003, ID : 140b7eb4-744d-46ec-a492-f5c0c1a5cd6f