2025-08-28 17:56:10,680 - INFO - Domain Default found not creating 2025-08-28 17:56:11,074 - INFO - Project ctest-TestRoutersBasic-51083262 not found, creating it 2025-08-28 17:56:11,723 - INFO - Created Project:ctest-TestRoutersBasic-51083262, ID : 5e0a3aae-159c-494e-8d87-b330845b9397 2025-08-28 17:56:13,875 - INFO - ================================================================================ 2025-08-28 17:56:13,875 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-28 17:56:13,875 - 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-08-28 17:56:14,195 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-28 17:56:14,195 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:56:14,195 - INFO - 2025-08-28 17:56:15,104 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-51083262 2025-08-28 17:56:15,237 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-51083262 2025-08-28 17:56:15,620 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51083262', 'default']} 2025-08-28 17:56:16,030 - DEBUG - Response for create_network : {'network': {'id': '54c464b4-9913-4922-82a6-77c25800f0a2', 'name': 'ctest-vn-56237853', 'tenant_id': '5e0a3aae159c494e8d87b330845b9397', 'project_id': '5e0a3aae159c494e8d87b330845b9397', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51083262', 'ctest-vn-56237853'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:56:16,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '47f23a38-5bc2-40ae-b15c-74db24d4d68d', 'name': '', 'tenant_id': '5e0a3aae159c494e8d87b330845b9397', 'network_id': '54c464b4-9913-4922-82a6-77c25800f0a2', 'ip_version': 4, 'cidr': '80.57.215.192/26', 'allocation_pools': [{'start': '80.57.215.194', 'end': '80.57.215.254'}], 'gateway_ip': '80.57.215.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.57.215.194', 'tags': [], 'project_id': '5e0a3aae159c494e8d87b330845b9397'}} 2025-08-28 17:56:16,230 - INFO - Created VN ctest-vn-56237853 2025-08-28 17:56:16,284 - DEBUG - VN ctest-vn-56237853 UUID is 54c464b4-9913-4922-82a6-77c25800f0a2 2025-08-28 17:56:16,858 - DEBUG - Response for create_network : {'network': {'id': '459ae5b6-c385-4058-823d-f70aad05b349', 'name': 'ctest-ext_vn-55815891', 'tenant_id': '5e0a3aae159c494e8d87b330845b9397', 'project_id': '5e0a3aae159c494e8d87b330845b9397', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-51083262', 'ctest-ext_vn-55815891'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:56:17,135 - DEBUG - Response for create_subnet : {'subnet': {'id': '099ff080-7df3-45f0-8005-54f8b339cfd0', 'name': '', 'tenant_id': '5e0a3aae159c494e8d87b330845b9397', 'network_id': '459ae5b6-c385-4058-823d-f70aad05b349', 'ip_version': 4, 'cidr': '183.179.73.192/26', 'allocation_pools': [{'start': '183.179.73.194', 'end': '183.179.73.254'}], 'gateway_ip': '183.179.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.179.73.194', 'tags': [], 'project_id': '5e0a3aae159c494e8d87b330845b9397'}} 2025-08-28 17:56:17,166 - INFO - Created VN ctest-ext_vn-55815891 2025-08-28 17:56:17,225 - DEBUG - VN ctest-ext_vn-55815891 UUID is 459ae5b6-c385-4058-823d-f70aad05b349 2025-08-28 17:56:17,553 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:56:19,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:56:20,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:56:20,598 - INFO - Setting gateway for router c3ab9c26-389e-4dec-8eec-c4d02439ee1b to network 459ae5b6-c385-4058-823d-f70aad05b349 2025-08-28 17:56:20,648 - INFO - Adding interface with subnet_id 47f23a38-5bc2-40ae-b15c-74db24d4d68d, port_id None to router c3ab9c26-389e-4dec-8eec-c4d02439ee1b 2025-08-28 17:56:20,915 - INFO - Waiting for VM ctest-TestRoutersBasic-51083262-74724523 to be up.. 2025-08-28 17:56:21,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:56:26,269 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:56:26,270 - INFO - VM name : ctest-TestRoutersBasic-51083262-74724523 2025-08-28 17:56:26,438 - DEBUG - VM ctest-TestRoutersBasic-51083262-74724523 ID is b33e90be-31ce-423e-82f3-80c03bed4335 2025-08-28 17:56:26,468 - DEBUG - VM ctest-TestRoutersBasic-51083262-74724523 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:56:26,594 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b33e90be-31ce-423e-82f3-80c03bed4335 2025-08-28 17:56:26,917 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b33e90be-31ce-423e-82f3-80c03bed4335 2025-08-28 17:56:26,988 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ad718f7f-e71d-4f09-aa68-1801eb61d288 2025-08-28 17:56:30,345 - 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 1024ms') 2025-08-28 17:56:30,345 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51083262-74724523 failed! 2025-08-28 17:56:30,416 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-51083262:ctest-vn-56237853 is 80.57.215.193 and allocation pool is NOT set 2025-08-28 17:56:32,508 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.591 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.591/6.096/11.602/5.505 ms') 2025-08-28 17:56:32,508 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-51083262-74724523 passed 2025-08-28 17:56:32,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:56:32,676 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51083262-74724523, IP 80.57.215.195, Port 22 2025-08-28 17:56:32,850 - DEBUG - VM ctest-TestRoutersBasic-51083262-74724523 is ready for SSH connections 2025-08-28 17:56:32,851 - INFO - Waiting for VM ctest-TestRoutersBasic-51083262-10322200 to be up.. 2025-08-28 17:56:33,001 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:56:33,001 - INFO - VM name : ctest-TestRoutersBasic-51083262-10322200 2025-08-28 17:56:33,173 - DEBUG - VM ctest-TestRoutersBasic-51083262-10322200 ID is f45ece3f-8a10-4360-a533-27d305106238 2025-08-28 17:56:33,174 - DEBUG - VM ctest-TestRoutersBasic-51083262-10322200 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:56:33,372 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f45ece3f-8a10-4360-a533-27d305106238 2025-08-28 17:56:33,394 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1828ce1e-f7a0-48bf-9970-6b3bd2512a52 2025-08-28 17:56:34,735 - 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=4.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.44 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 = 2.440/3.604/4.768/1.164 ms') 2025-08-28 17:56:34,736 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-51083262-10322200 passed 2025-08-28 17:56:34,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:56:34,913 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-51083262-10322200, IP 183.179.73.195, Port 22 2025-08-28 17:56:35,113 - DEBUG - VM ctest-TestRoutersBasic-51083262-10322200 is ready for SSH connections 2025-08-28 17:56:35,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:56:35,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.179.73.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:56:35,114 - DEBUG - ping -s 56 -c 3 -W 1 183.179.73.195 2025-08-28 17:56:39,329 - DEBUG - PING 183.179.73.195 (183.179.73.195): 56 data bytes 64 bytes from 183.179.73.195: seq=0 ttl=62 time=13.376 ms 64 bytes from 183.179.73.195: seq=1 ttl=62 time=1.467 ms 64 bytes from 183.179.73.195: seq=2 ttl=62 time=1.896 ms --- 183.179.73.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.467/5.579/13.376 ms 2025-08-28 17:56:39,329 - INFO - Ping to IP 183.179.73.195 from VM ctest-TestRoutersBasic-51083262-74724523 passed 2025-08-28 17:56:39,330 - INFO - Deleting interface with subnet_id 47f23a38-5bc2-40ae-b15c-74db24d4d68d, port_id None from router c3ab9c26-389e-4dec-8eec-c4d02439ee1b 2025-08-28 17:56:39,666 - INFO - Deleting VM ctest-TestRoutersBasic-51083262-10322200 2025-08-28 17:56:39,748 - INFO - Deleting VM ctest-TestRoutersBasic-51083262-74724523 2025-08-28 17:56:39,830 - INFO - Deleting VN ctest-ext_vn-55815891 2025-08-28 17:56:39,927 - DEBUG - VN 459ae5b6-c385-4058-823d-f70aad05b349 still in use: Unable to complete operation on network 459ae5b6-c385-4058-823d-f70aad05b349. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8de06a08-c54b-42ea-a5e1-200236eff778'] 2025-08-28 17:56:39,928 - WARNING - Deleting VN ctest-ext_vn-55815891 failed..Will retry 2025-08-28 17:56:42,161 - DEBUG - Response for deleting network () 2025-08-28 17:56:42,162 - INFO - Deleting VN ctest-vn-56237853 2025-08-28 17:56:42,310 - DEBUG - Response for deleting network () 2025-08-28 17:56:42,620 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 17:56:42,620 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-08-28 17:56:42,620 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:56:43,764 - INFO - Deleted project: ctest-TestRoutersBasic-51083262, ID : 5e0a3aae-159c-494e-8d87-b330845b9397