2025-12-29 02:09:14,901 - INFO - Domain Default found not creating 2025-12-29 02:09:15,079 - INFO - Project ctest-TestRoutersBasic-17694498 not found, creating it 2025-12-29 02:09:15,553 - INFO - Created Project:ctest-TestRoutersBasic-17694498, ID : 570ae1db-0d0f-40c6-92e3-eeb89a5e6d7e 2025-12-29 02:09:17,120 - INFO - ================================================================================ 2025-12-29 02:09:17,120 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-29 02:09:17,120 - 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-12-29 02:09:17,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2025-12-29 02:09:17,379 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:09:17,379 - INFO - 2025-12-29 02:09:18,223 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17694498 2025-12-29 02:09:18,317 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17694498 2025-12-29 02:09:18,657 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17694498', 'default']} 2025-12-29 02:09:18,966 - DEBUG - Response for create_network : {'network': {'id': 'be86b2d1-558c-496a-bf70-7485dd670a1b', 'name': 'ctest-vn-48709425', 'tenant_id': '570ae1db0d0f40c692e3eeb89a5e6d7e', 'project_id': '570ae1db0d0f40c692e3eeb89a5e6d7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17694498', 'ctest-vn-48709425'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:09:19,152 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c15ea1b-334f-4a31-818a-483c7af6524b', 'name': '', 'tenant_id': '570ae1db0d0f40c692e3eeb89a5e6d7e', 'network_id': 'be86b2d1-558c-496a-bf70-7485dd670a1b', 'ip_version': 4, 'cidr': '33.24.170.128/26', 'allocation_pools': [{'start': '33.24.170.130', 'end': '33.24.170.190'}], 'gateway_ip': '33.24.170.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.24.170.130', 'tags': [], 'project_id': '570ae1db0d0f40c692e3eeb89a5e6d7e'}} 2025-12-29 02:09:19,172 - INFO - Created VN ctest-vn-48709425 2025-12-29 02:09:19,225 - DEBUG - VN ctest-vn-48709425 UUID is be86b2d1-558c-496a-bf70-7485dd670a1b 2025-12-29 02:09:19,558 - DEBUG - Response for create_network : {'network': {'id': '2d692399-5a7e-4eb9-8150-098f724d1397', 'name': 'ctest-ext_vn-50745081', 'tenant_id': '570ae1db0d0f40c692e3eeb89a5e6d7e', 'project_id': '570ae1db0d0f40c692e3eeb89a5e6d7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17694498', 'ctest-ext_vn-50745081'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:09:19,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d6b5afe-b8d1-43d9-8a30-d922350fd052', 'name': '', 'tenant_id': '570ae1db0d0f40c692e3eeb89a5e6d7e', 'network_id': '2d692399-5a7e-4eb9-8150-098f724d1397', 'ip_version': 4, 'cidr': '19.207.18.192/26', 'allocation_pools': [{'start': '19.207.18.194', 'end': '19.207.18.254'}], 'gateway_ip': '19.207.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.207.18.194', 'tags': [], 'project_id': '570ae1db0d0f40c692e3eeb89a5e6d7e'}} 2025-12-29 02:09:19,743 - INFO - Created VN ctest-ext_vn-50745081 2025-12-29 02:09:19,797 - DEBUG - VN ctest-ext_vn-50745081 UUID is 2d692399-5a7e-4eb9-8150-098f724d1397 2025-12-29 02:09:19,988 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:09:21,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:09:22,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4930-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4930-1) 2025-12-29 02:09:22,512 - INFO - Setting gateway for router d3a805c8-663e-440d-a49f-b63d73889346 to network 2d692399-5a7e-4eb9-8150-098f724d1397 2025-12-29 02:09:22,598 - INFO - Adding interface with subnet_id 1c15ea1b-334f-4a31-818a-483c7af6524b, port_id None to router d3a805c8-663e-440d-a49f-b63d73889346 2025-12-29 02:09:22,998 - INFO - Waiting for VM ctest-TestRoutersBasic-17694498-81235364 to be up.. 2025-12-29 02:09:23,186 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:09:28,274 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:09:28,274 - INFO - VM name : ctest-TestRoutersBasic-17694498-81235364 2025-12-29 02:09:28,358 - DEBUG - VM ctest-TestRoutersBasic-17694498-81235364 ID is 6c6821c2-6e7c-480c-b5c8-e2cb02c3b690 2025-12-29 02:09:28,379 - DEBUG - VM ctest-TestRoutersBasic-17694498-81235364 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:09:28,460 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6c6821c2-6e7c-480c-b5c8-e2cb02c3b690 2025-12-29 02:09:28,776 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/6c6821c2-6e7c-480c-b5c8-e2cb02c3b690 2025-12-29 02:09:28,814 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/acdbc7dc-4239-4b3e-bcaa-ba8450a284da 2025-12-29 02:09:32,062 - 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 1010ms') 2025-12-29 02:09:32,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17694498-81235364 failed! 2025-12-29 02:09:32,117 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17694498:ctest-vn-48709425 is 33.24.170.129 and allocation pool is NOT set 2025-12-29 02:09:34,188 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.554 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.554/1.648/2.742/1.094 ms') 2025-12-29 02:09:34,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17694498-81235364 passed 2025-12-29 02:09:34,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:09:34,345 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17694498-81235364, IP 33.24.170.131, Port 22 2025-12-29 02:09:34,500 - DEBUG - VM ctest-TestRoutersBasic-17694498-81235364 is ready for SSH connections 2025-12-29 02:09:34,501 - INFO - Waiting for VM ctest-TestRoutersBasic-17694498-89055149 to be up.. 2025-12-29 02:09:34,583 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:09:34,583 - INFO - VM name : ctest-TestRoutersBasic-17694498-89055149 2025-12-29 02:09:34,675 - DEBUG - VM ctest-TestRoutersBasic-17694498-89055149 ID is a8477c3d-97f7-4824-b391-2cf7d1ed446b 2025-12-29 02:09:34,675 - DEBUG - VM ctest-TestRoutersBasic-17694498-89055149 launched on Node cn-jenkins-deploy-platform-ansible-os-4930-1 2025-12-29 02:09:34,763 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a8477c3d-97f7-4824-b391-2cf7d1ed446b 2025-12-29 02:09:34,772 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b4ba8f20-363a-49dd-a67c-b58f67f144ec 2025-12-29 02:09:36,011 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.877 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.877/3.153/5.429/2.276 ms') 2025-12-29 02:09:36,011 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17694498-89055149 passed 2025-12-29 02:09:36,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:09:36,161 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17694498-89055149, IP 19.207.18.195, Port 22 2025-12-29 02:09:36,317 - DEBUG - VM ctest-TestRoutersBasic-17694498-89055149 is ready for SSH connections 2025-12-29 02:09:36,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:09:36,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.207.18.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-29 02:09:36,317 - DEBUG - ping -s 56 -c 3 -W 1 19.207.18.195 2025-12-29 02:09:40,096 - DEBUG - PING 19.207.18.195 (19.207.18.195): 56 data bytes 64 bytes from 19.207.18.195: seq=0 ttl=62 time=5.391 ms 64 bytes from 19.207.18.195: seq=1 ttl=62 time=1.065 ms 64 bytes from 19.207.18.195: seq=2 ttl=62 time=0.892 ms --- 19.207.18.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/2.449/5.391 ms 2025-12-29 02:09:40,097 - INFO - Ping to IP 19.207.18.195 from VM ctest-TestRoutersBasic-17694498-81235364 passed 2025-12-29 02:09:40,097 - INFO - Deleting interface with subnet_id 1c15ea1b-334f-4a31-818a-483c7af6524b, port_id None from router d3a805c8-663e-440d-a49f-b63d73889346 2025-12-29 02:09:40,291 - INFO - Deleting VM ctest-TestRoutersBasic-17694498-89055149 2025-12-29 02:09:40,368 - INFO - Deleting VM ctest-TestRoutersBasic-17694498-81235364 2025-12-29 02:09:40,457 - INFO - Deleting VN ctest-ext_vn-50745081 2025-12-29 02:09:40,543 - DEBUG - VN 2d692399-5a7e-4eb9-8150-098f724d1397 still in use: Unable to complete operation on network 2d692399-5a7e-4eb9-8150-098f724d1397. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9df0bd3f-2b27-4dc9-9faf-80448fb0d556'] 2025-12-29 02:09:40,543 - WARNING - Deleting VN ctest-ext_vn-50745081 failed..Will retry 2025-12-29 02:09:42,651 - DEBUG - Response for deleting network () 2025-12-29 02:09:42,651 - INFO - Deleting VN ctest-vn-48709425 2025-12-29 02:09:42,757 - DEBUG - Response for deleting network () 2025-12-29 02:09:43,018 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 02:09:43,019 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-12-29 02:09:43,019 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:09:43,767 - INFO - Deleted project: ctest-TestRoutersBasic-17694498, ID : 570ae1db-0d0f-40c6-92e3-eeb89a5e6d7e