2025-10-09 20:32:55,300 - INFO - Domain Default found not creating 2025-10-09 20:32:55,450 - INFO - Project ctest-TestRoutersBasic-70910154 not found, creating it 2025-10-09 20:32:55,877 - INFO - Created Project:ctest-TestRoutersBasic-70910154, ID : ed78543d-fe3f-4ced-b6a5-0f1252e0af1d 2025-10-09 20:32:57,263 - INFO - ================================================================================ 2025-10-09 20:32:57,263 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-09 20:32:57,263 - 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-09 20:32:57,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.14': '0'}} with 2025-10-09 20:32:57,518 - INFO - Initial checks done. Running the testcase now 2025-10-09 20:32:57,518 - INFO - 2025-10-09 20:32:58,210 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-70910154 2025-10-09 20:32:58,305 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-70910154 2025-10-09 20:32:58,621 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70910154', 'default']} 2025-10-09 20:32:58,902 - DEBUG - Response for create_network : {'network': {'id': '79928d1c-07bc-4180-a6a1-7908aba20b60', 'name': 'ctest-vn-86531742', 'tenant_id': 'ed78543dfe3f4cedb6a50f1252e0af1d', 'project_id': 'ed78543dfe3f4cedb6a50f1252e0af1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70910154', 'ctest-vn-86531742'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:32:59,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '27937531-e740-4b41-8d2f-49bdfb5cd5ea', 'name': '', 'tenant_id': 'ed78543dfe3f4cedb6a50f1252e0af1d', 'network_id': '79928d1c-07bc-4180-a6a1-7908aba20b60', 'ip_version': 4, 'cidr': '128.141.246.192/26', 'allocation_pools': [{'start': '128.141.246.194', 'end': '128.141.246.254'}], 'gateway_ip': '128.141.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.141.246.194', 'tags': [], 'project_id': 'ed78543dfe3f4cedb6a50f1252e0af1d'}} 2025-10-09 20:32:59,062 - INFO - Created VN ctest-vn-86531742 2025-10-09 20:32:59,113 - DEBUG - VN ctest-vn-86531742 UUID is 79928d1c-07bc-4180-a6a1-7908aba20b60 2025-10-09 20:32:59,443 - DEBUG - Response for create_network : {'network': {'id': '41368a00-2f81-4294-9224-a5f0b649a76e', 'name': 'ctest-ext_vn-68818230', 'tenant_id': 'ed78543dfe3f4cedb6a50f1252e0af1d', 'project_id': 'ed78543dfe3f4cedb6a50f1252e0af1d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-70910154', 'ctest-ext_vn-68818230'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 20:32:59,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c2ee5ca-5d73-400d-9c70-ed324eca7935', 'name': '', 'tenant_id': 'ed78543dfe3f4cedb6a50f1252e0af1d', 'network_id': '41368a00-2f81-4294-9224-a5f0b649a76e', 'ip_version': 4, 'cidr': '89.22.107.192/26', 'allocation_pools': [{'start': '89.22.107.194', 'end': '89.22.107.254'}], 'gateway_ip': '89.22.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.22.107.194', 'tags': [], 'project_id': 'ed78543dfe3f4cedb6a50f1252e0af1d'}} 2025-10-09 20:32:59,629 - INFO - Created VN ctest-ext_vn-68818230 2025-10-09 20:32:59,681 - DEBUG - VN ctest-ext_vn-68818230 UUID is 41368a00-2f81-4294-9224-a5f0b649a76e 2025-10-09 20:32:59,875 - DEBUG - Services list from nova: [, , ] 2025-10-09 20:33:00,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1) 2025-10-09 20:33:01,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4278-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4278-1) 2025-10-09 20:33:02,042 - INFO - Setting gateway for router 49dbbb5b-bfa1-4545-9af8-986c4206e8d5 to network 41368a00-2f81-4294-9224-a5f0b649a76e 2025-10-09 20:33:02,092 - INFO - Adding interface with subnet_id 27937531-e740-4b41-8d2f-49bdfb5cd5ea, port_id None to router 49dbbb5b-bfa1-4545-9af8-986c4206e8d5 2025-10-09 20:33:02,411 - INFO - Waiting for VM ctest-TestRoutersBasic-70910154-28269570 to be up.. 2025-10-09 20:33:02,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 20:33:07,585 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:33:07,586 - INFO - VM name : ctest-TestRoutersBasic-70910154-28269570 2025-10-09 20:33:07,656 - DEBUG - VM ctest-TestRoutersBasic-70910154-28269570 ID is 6612cfb0-0a6d-4119-9252-7c4a171ad329 2025-10-09 20:33:07,678 - DEBUG - VM ctest-TestRoutersBasic-70910154-28269570 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1 2025-10-09 20:33:07,744 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/6612cfb0-0a6d-4119-9252-7c4a171ad329 2025-10-09 20:33:08,037 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/6612cfb0-0a6d-4119-9252-7c4a171ad329 2025-10-09 20:33:08,066 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/3e0689fc-be19-43e5-899c-8c1aad68a705 2025-10-09 20:33:11,307 - 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 1003ms') 2025-10-09 20:33:11,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70910154-28269570 failed! 2025-10-09 20:33:11,369 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-70910154:ctest-vn-86531742 is 128.141.246.193 and allocation pool is NOT set 2025-10-09 20:33:13,427 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.360 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 = 0.360/1.721/3.082/1.361 ms') 2025-10-09 20:33:13,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-70910154-28269570 passed 2025-10-09 20:33:13,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:33:13,573 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70910154-28269570, IP 128.141.246.195, Port 22 2025-10-09 20:33:13,733 - DEBUG - VM ctest-TestRoutersBasic-70910154-28269570 is ready for SSH connections 2025-10-09 20:33:13,733 - INFO - Waiting for VM ctest-TestRoutersBasic-70910154-20685762 to be up.. 2025-10-09 20:33:13,802 - DEBUG - VM is in ACTIVE state now 2025-10-09 20:33:13,802 - INFO - VM name : ctest-TestRoutersBasic-70910154-20685762 2025-10-09 20:33:13,876 - DEBUG - VM ctest-TestRoutersBasic-70910154-20685762 ID is a3479291-ffb5-4668-814b-f20b5114fe82 2025-10-09 20:33:13,877 - DEBUG - VM ctest-TestRoutersBasic-70910154-20685762 launched on Node cn-jenkins-deploy-platform-ansible-os-4278-1 2025-10-09 20:33:13,950 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/a3479291-ffb5-4668-814b-f20b5114fe82 2025-10-09 20:33:13,957 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/a9c2431f-c701-45fb-867c-7543289c18fc 2025-10-09 20:33:15,189 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.885/3.309/1.424 ms') 2025-10-09 20:33:15,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-70910154-20685762 passed 2025-10-09 20:33:15,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:33:15,341 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-70910154-20685762, IP 89.22.107.195, Port 22 2025-10-09 20:33:15,514 - DEBUG - VM ctest-TestRoutersBasic-70910154-20685762 is ready for SSH connections 2025-10-09 20:33:15,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 20:33:15,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.22.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-09 20:33:15,514 - DEBUG - ping -s 56 -c 3 -W 1 89.22.107.195 2025-10-09 20:33:19,504 - DEBUG - PING 89.22.107.195 (89.22.107.195): 56 data bytes 64 bytes from 89.22.107.195: seq=0 ttl=62 time=4.246 ms 64 bytes from 89.22.107.195: seq=1 ttl=62 time=0.931 ms 64 bytes from 89.22.107.195: seq=2 ttl=62 time=1.301 ms --- 89.22.107.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/2.159/4.246 ms 2025-10-09 20:33:19,504 - INFO - Ping to IP 89.22.107.195 from VM ctest-TestRoutersBasic-70910154-28269570 passed 2025-10-09 20:33:19,505 - INFO - Deleting interface with subnet_id 27937531-e740-4b41-8d2f-49bdfb5cd5ea, port_id None from router 49dbbb5b-bfa1-4545-9af8-986c4206e8d5 2025-10-09 20:33:19,698 - INFO - Deleting VM ctest-TestRoutersBasic-70910154-20685762 2025-10-09 20:33:19,764 - INFO - Deleting VM ctest-TestRoutersBasic-70910154-28269570 2025-10-09 20:33:19,846 - INFO - Deleting VN ctest-ext_vn-68818230 2025-10-09 20:33:19,912 - DEBUG - VN 41368a00-2f81-4294-9224-a5f0b649a76e still in use: Unable to complete operation on network 41368a00-2f81-4294-9224-a5f0b649a76e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b2f58791-fa94-4d3f-989e-4f09849de208'] 2025-10-09 20:33:19,913 - WARNING - Deleting VN ctest-ext_vn-68818230 failed..Will retry 2025-10-09 20:33:22,012 - DEBUG - Response for deleting network () 2025-10-09 20:33:22,012 - INFO - Deleting VN ctest-vn-86531742 2025-10-09 20:33:22,112 - DEBUG - Response for deleting network () 2025-10-09 20:33:22,366 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 20:33:22,366 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-09 20:33:22,366 - INFO - -------------------------------------------------------------------------------- 2025-10-09 20:33:23,045 - INFO - Deleted project: ctest-TestRoutersBasic-70910154, ID : ed78543d-fe3f-4ced-b6a5-0f1252e0af1d