2025-09-09 20:50:31,420 - INFO - Domain Default found not creating 2025-09-09 20:50:31,546 - INFO - Project ctest-TestRoutersBasic-41687696 not found, creating it 2025-09-09 20:50:31,969 - INFO - Created Project:ctest-TestRoutersBasic-41687696, ID : 845afc86-5fc9-46aa-9a4f-098b4193fe4a 2025-09-09 20:50:33,321 - INFO - ================================================================================ 2025-09-09 20:50:33,321 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-09 20:50:33,321 - 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-09-09 20:50:33,573 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-09 20:50:33,573 - INFO - Initial checks done. Running the testcase now 2025-09-09 20:50:33,573 - INFO - 2025-09-09 20:50:34,271 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-41687696 2025-09-09 20:50:34,364 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-41687696 2025-09-09 20:50:34,688 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41687696', 'default']} 2025-09-09 20:50:34,977 - DEBUG - Response for create_network : {'network': {'id': 'b67b5179-9c1b-45bd-aa22-10c747497f3c', 'name': 'ctest-vn-81858242', 'tenant_id': '845afc865fc946aa9a4f098b4193fe4a', 'project_id': '845afc865fc946aa9a4f098b4193fe4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41687696', 'ctest-vn-81858242'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 20:50:35,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b0441f5-a8fc-4c81-bbcc-91ca361ddae7', 'name': '', 'tenant_id': '845afc865fc946aa9a4f098b4193fe4a', 'network_id': 'b67b5179-9c1b-45bd-aa22-10c747497f3c', 'ip_version': 4, 'cidr': '221.103.119.0/26', 'allocation_pools': [{'start': '221.103.119.2', 'end': '221.103.119.62'}], 'gateway_ip': '221.103.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.103.119.2', 'tags': [], 'project_id': '845afc865fc946aa9a4f098b4193fe4a'}} 2025-09-09 20:50:35,138 - INFO - Created VN ctest-vn-81858242 2025-09-09 20:50:35,188 - DEBUG - VN ctest-vn-81858242 UUID is b67b5179-9c1b-45bd-aa22-10c747497f3c 2025-09-09 20:50:35,507 - DEBUG - Response for create_network : {'network': {'id': '6d4fff12-488b-4b57-8f91-993fe0f949d0', 'name': 'ctest-ext_vn-44336235', 'tenant_id': '845afc865fc946aa9a4f098b4193fe4a', 'project_id': '845afc865fc946aa9a4f098b4193fe4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-41687696', 'ctest-ext_vn-44336235'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 20:50:35,690 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbe7728b-da0e-4355-a814-5a8e492e9c5e', 'name': '', 'tenant_id': '845afc865fc946aa9a4f098b4193fe4a', 'network_id': '6d4fff12-488b-4b57-8f91-993fe0f949d0', 'ip_version': 4, 'cidr': '164.91.142.0/26', 'allocation_pools': [{'start': '164.91.142.2', 'end': '164.91.142.62'}], 'gateway_ip': '164.91.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.91.142.2', 'tags': [], 'project_id': '845afc865fc946aa9a4f098b4193fe4a'}} 2025-09-09 20:50:35,704 - INFO - Created VN ctest-ext_vn-44336235 2025-09-09 20:50:35,752 - DEBUG - VN ctest-ext_vn-44336235 UUID is 6d4fff12-488b-4b57-8f91-993fe0f949d0 2025-09-09 20:50:35,942 - DEBUG - Services list from nova: [, , ] 2025-09-09 20:50:36,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4062-1) 2025-09-09 20:50:38,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4062-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4062-1) 2025-09-09 20:50:38,169 - INFO - Setting gateway for router aed566ef-9172-4ef6-afae-d6a7dfa1bd5d to network 6d4fff12-488b-4b57-8f91-993fe0f949d0 2025-09-09 20:50:38,209 - INFO - Adding interface with subnet_id 7b0441f5-a8fc-4c81-bbcc-91ca361ddae7, port_id None to router aed566ef-9172-4ef6-afae-d6a7dfa1bd5d 2025-09-09 20:50:38,464 - INFO - Waiting for VM ctest-TestRoutersBasic-41687696-74454774 to be up.. 2025-09-09 20:50:38,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 20:50:43,658 - DEBUG - VM is in ACTIVE state now 2025-09-09 20:50:43,659 - INFO - VM name : ctest-TestRoutersBasic-41687696-74454774 2025-09-09 20:50:43,720 - DEBUG - VM ctest-TestRoutersBasic-41687696-74454774 ID is 3e65c603-43b6-470a-bf47-27d555d0e56b 2025-09-09 20:50:43,736 - DEBUG - VM ctest-TestRoutersBasic-41687696-74454774 launched on Node cn-jenkins-deploy-platform-ansible-os-4062-1 2025-09-09 20:50:43,797 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3e65c603-43b6-470a-bf47-27d555d0e56b 2025-09-09 20:50:44,086 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3e65c603-43b6-470a-bf47-27d555d0e56b 2025-09-09 20:50:44,113 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9321352e-839d-4abc-b90b-1b46a0340fbf 2025-09-09 20:50:47,347 - 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-09-09 20:50:47,347 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41687696-74454774 failed! 2025-09-09 20:50:47,400 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-41687696:ctest-vn-81858242 is 221.103.119.1 and allocation pool is NOT set 2025-09-09 20:50:49,463 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.329 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.329/1.647/2.965/1.318 ms') 2025-09-09 20:50:49,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-41687696-74454774 passed 2025-09-09 20:50:49,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:49,568 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41687696-74454774, IP 221.103.119.3, Port 22 2025-09-09 20:50:49,720 - DEBUG - VM ctest-TestRoutersBasic-41687696-74454774 is ready for SSH connections 2025-09-09 20:50:49,720 - INFO - Waiting for VM ctest-TestRoutersBasic-41687696-00946364 to be up.. 2025-09-09 20:50:49,806 - DEBUG - VM is in ACTIVE state now 2025-09-09 20:50:49,806 - INFO - VM name : ctest-TestRoutersBasic-41687696-00946364 2025-09-09 20:50:49,878 - DEBUG - VM ctest-TestRoutersBasic-41687696-00946364 ID is 91a5af94-c1e5-4b13-b3ee-c4d227384354 2025-09-09 20:50:49,878 - DEBUG - VM ctest-TestRoutersBasic-41687696-00946364 launched on Node cn-jenkins-deploy-platform-ansible-os-4062-1 2025-09-09 20:50:49,942 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/91a5af94-c1e5-4b13-b3ee-c4d227384354 2025-09-09 20:50:49,949 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c43d140a-4065-4d86-900a-5809da754234 2025-09-09 20:50:51,169 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.657/2.909/1.251 ms') 2025-09-09 20:50:51,169 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-41687696-00946364 passed 2025-09-09 20:50:51,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:51,312 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-41687696-00946364, IP 164.91.142.3, Port 22 2025-09-09 20:50:51,475 - DEBUG - VM ctest-TestRoutersBasic-41687696-00946364 is ready for SSH connections 2025-09-09 20:50:51,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 20:50:51,475 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.91.142.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-09 20:50:51,476 - DEBUG - ping -s 56 -c 3 -W 1 164.91.142.3 2025-09-09 20:50:55,545 - DEBUG - PING 164.91.142.3 (164.91.142.3): 56 data bytes 64 bytes from 164.91.142.3: seq=0 ttl=62 time=8.170 ms 64 bytes from 164.91.142.3: seq=1 ttl=62 time=1.920 ms 64 bytes from 164.91.142.3: seq=2 ttl=62 time=1.148 ms --- 164.91.142.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.148/3.746/8.170 ms 2025-09-09 20:50:55,545 - INFO - Ping to IP 164.91.142.3 from VM ctest-TestRoutersBasic-41687696-74454774 passed 2025-09-09 20:50:55,545 - INFO - Deleting interface with subnet_id 7b0441f5-a8fc-4c81-bbcc-91ca361ddae7, port_id None from router aed566ef-9172-4ef6-afae-d6a7dfa1bd5d 2025-09-09 20:50:55,710 - INFO - Deleting VM ctest-TestRoutersBasic-41687696-00946364 2025-09-09 20:50:55,776 - INFO - Deleting VM ctest-TestRoutersBasic-41687696-74454774 2025-09-09 20:50:55,839 - INFO - Deleting VN ctest-ext_vn-44336235 2025-09-09 20:50:55,899 - DEBUG - VN 6d4fff12-488b-4b57-8f91-993fe0f949d0 still in use: Unable to complete operation on network 6d4fff12-488b-4b57-8f91-993fe0f949d0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f35146c-efa1-4fcb-a22d-0cefc105b075'] 2025-09-09 20:50:55,899 - WARNING - Deleting VN ctest-ext_vn-44336235 failed..Will retry 2025-09-09 20:50:57,995 - DEBUG - Response for deleting network () 2025-09-09 20:50:57,995 - INFO - Deleting VN ctest-vn-81858242 2025-09-09 20:50:58,093 - DEBUG - Response for deleting network () 2025-09-09 20:50:58,351 - DEBUG - No XMPP flaps were noticed during the test 2025-09-09 20:50:58,351 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-09 20:50:58,351 - INFO - -------------------------------------------------------------------------------- 2025-09-09 20:50:58,996 - INFO - Deleted project: ctest-TestRoutersBasic-41687696, ID : 845afc86-5fc9-46aa-9a4f-098b4193fe4a