2025-04-23 15:33:25,422 - INFO - Domain Default found not creating 2025-04-23 15:33:25,584 - INFO - Project ctest-TestRoutersBasic-79863211 not found, creating it 2025-04-23 15:33:26,064 - INFO - Created Project:ctest-TestRoutersBasic-79863211, ID : eef79c60-72e7-42f9-bd0c-3379e94c62cf 2025-04-23 15:33:27,682 - INFO - ================================================================================ 2025-04-23 15:33:27,682 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-23 15:33:27,682 - 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-04-23 15:33:27,938 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0'}} with 2025-04-23 15:33:27,939 - INFO - Initial checks done. Running the testcase now 2025-04-23 15:33:27,939 - INFO - 2025-04-23 15:33:28,753 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79863211 2025-04-23 15:33:28,852 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79863211 2025-04-23 15:33:29,179 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79863211', 'default']} 2025-04-23 15:33:29,502 - DEBUG - Response for create_network : {'network': {'id': '93c257f9-a4db-4405-9f72-711915355e67', 'name': 'ctest-vn-17321464', 'tenant_id': 'eef79c6072e742f9bd0c3379e94c62cf', 'project_id': 'eef79c6072e742f9bd0c3379e94c62cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79863211', 'ctest-vn-17321464'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:33:29,724 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6d89c0f-6930-47ea-b672-99694b654436', 'name': '', 'tenant_id': 'eef79c6072e742f9bd0c3379e94c62cf', 'network_id': '93c257f9-a4db-4405-9f72-711915355e67', 'ip_version': 4, 'cidr': '64.115.18.0/26', 'allocation_pools': [{'start': '64.115.18.2', 'end': '64.115.18.62'}], 'gateway_ip': '64.115.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.115.18.2', 'tags': [], 'project_id': 'eef79c6072e742f9bd0c3379e94c62cf'}} 2025-04-23 15:33:29,743 - INFO - Created VN ctest-vn-17321464 2025-04-23 15:33:29,800 - DEBUG - VN ctest-vn-17321464 UUID is 93c257f9-a4db-4405-9f72-711915355e67 2025-04-23 15:33:30,174 - DEBUG - Response for create_network : {'network': {'id': 'd2a031c3-c32e-4413-ab27-be42b17e4ebe', 'name': 'ctest-ext_vn-30335489', 'tenant_id': 'eef79c6072e742f9bd0c3379e94c62cf', 'project_id': 'eef79c6072e742f9bd0c3379e94c62cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79863211', 'ctest-ext_vn-30335489'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 15:33:30,359 - DEBUG - Response for create_subnet : {'subnet': {'id': '73b3dd70-1a2f-4367-b195-81e35ee09b27', 'name': '', 'tenant_id': 'eef79c6072e742f9bd0c3379e94c62cf', 'network_id': 'd2a031c3-c32e-4413-ab27-be42b17e4ebe', 'ip_version': 4, 'cidr': '8.94.237.128/26', 'allocation_pools': [{'start': '8.94.237.130', 'end': '8.94.237.190'}], 'gateway_ip': '8.94.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.94.237.130', 'tags': [], 'project_id': 'eef79c6072e742f9bd0c3379e94c62cf'}} 2025-04-23 15:33:30,379 - INFO - Created VN ctest-ext_vn-30335489 2025-04-23 15:33:30,436 - DEBUG - VN ctest-ext_vn-30335489 UUID is d2a031c3-c32e-4413-ab27-be42b17e4ebe 2025-04-23 15:33:30,603 - DEBUG - Services list from nova: [, , ] 2025-04-23 15:33:31,724 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3189-1) 2025-04-23 15:33:32,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3189-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3189-1) 2025-04-23 15:33:33,076 - INFO - Setting gateway for router a53b97d6-6aeb-4a9c-bebc-ab9b3db0a499 to network d2a031c3-c32e-4413-ab27-be42b17e4ebe 2025-04-23 15:33:33,177 - INFO - Adding interface with subnet_id c6d89c0f-6930-47ea-b672-99694b654436, port_id None to router a53b97d6-6aeb-4a9c-bebc-ab9b3db0a499 2025-04-23 15:33:33,675 - INFO - Waiting for VM ctest-TestRoutersBasic-79863211-04479130 to be up.. 2025-04-23 15:33:33,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 15:33:39,004 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:33:39,004 - INFO - VM name : ctest-TestRoutersBasic-79863211-04479130 2025-04-23 15:33:39,119 - DEBUG - VM ctest-TestRoutersBasic-79863211-04479130 ID is 252c8f93-6de4-4041-befb-126e54d01a4b 2025-04-23 15:33:39,151 - DEBUG - VM ctest-TestRoutersBasic-79863211-04479130 launched on Node cn-jenkins-deploy-platform-ansible-os-3189-1 2025-04-23 15:33:39,278 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/252c8f93-6de4-4041-befb-126e54d01a4b 2025-04-23 15:33:39,638 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/252c8f93-6de4-4041-befb-126e54d01a4b 2025-04-23 15:33:39,681 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/78a8e3d8-9d95-4dcf-bed8-b2f622401288 2025-04-23 15:33:42,951 - 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 1004ms') 2025-04-23 15:33:42,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79863211-04479130 failed! 2025-04-23 15:33:43,016 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79863211:ctest-vn-17321464 is 64.115.18.1 and allocation pool is NOT set 2025-04-23 15:33:45,085 - 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=5.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.55 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 = 3.550/4.688/5.826/1.138 ms') 2025-04-23 15:33:45,085 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79863211-04479130 passed 2025-04-23 15:33:45,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:33:45,244 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79863211-04479130, IP 64.115.18.3, Port 22 2025-04-23 15:33:45,409 - DEBUG - VM ctest-TestRoutersBasic-79863211-04479130 is ready for SSH connections 2025-04-23 15:33:45,409 - INFO - Waiting for VM ctest-TestRoutersBasic-79863211-14299936 to be up.. 2025-04-23 15:33:45,495 - DEBUG - VM is in ACTIVE state now 2025-04-23 15:33:45,495 - INFO - VM name : ctest-TestRoutersBasic-79863211-14299936 2025-04-23 15:33:45,586 - DEBUG - VM ctest-TestRoutersBasic-79863211-14299936 ID is 2b7ee49a-df25-4871-b72a-f66dc8101b29 2025-04-23 15:33:45,586 - DEBUG - VM ctest-TestRoutersBasic-79863211-14299936 launched on Node cn-jenkins-deploy-platform-ansible-os-3189-1 2025-04-23 15:33:45,669 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2b7ee49a-df25-4871-b72a-f66dc8101b29 2025-04-23 15:33:45,682 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6cb0609a-850c-4659-8347-cea82ec57fc5 2025-04-23 15:33:46,946 - 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.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 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.055/3.756/5.457/1.701 ms') 2025-04-23 15:33:46,947 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79863211-14299936 passed 2025-04-23 15:33:47,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:33:47,108 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79863211-14299936, IP 8.94.237.131, Port 22 2025-04-23 15:33:47,274 - DEBUG - VM ctest-TestRoutersBasic-79863211-14299936 is ready for SSH connections 2025-04-23 15:33:47,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 15:33:47,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.94.237.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-04-23 15:33:47,275 - DEBUG - ping -s 56 -c 3 -W 1 8.94.237.131 2025-04-23 15:33:51,375 - DEBUG - PING 8.94.237.131 (8.94.237.131): 56 data bytes 64 bytes from 8.94.237.131: seq=0 ttl=62 time=5.478 ms 64 bytes from 8.94.237.131: seq=1 ttl=62 time=1.842 ms 64 bytes from 8.94.237.131: seq=2 ttl=62 time=1.057 ms --- 8.94.237.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/2.792/5.478 ms 2025-04-23 15:33:51,375 - INFO - Ping to IP 8.94.237.131 from VM ctest-TestRoutersBasic-79863211-04479130 passed 2025-04-23 15:33:51,375 - INFO - Deleting interface with subnet_id c6d89c0f-6930-47ea-b672-99694b654436, port_id None from router a53b97d6-6aeb-4a9c-bebc-ab9b3db0a499 2025-04-23 15:33:51,626 - INFO - Deleting VM ctest-TestRoutersBasic-79863211-14299936 2025-04-23 15:33:51,717 - INFO - Deleting VM ctest-TestRoutersBasic-79863211-04479130 2025-04-23 15:33:51,823 - INFO - Deleting VN ctest-ext_vn-30335489 2025-04-23 15:33:51,930 - DEBUG - VN d2a031c3-c32e-4413-ab27-be42b17e4ebe still in use: Unable to complete operation on network d2a031c3-c32e-4413-ab27-be42b17e4ebe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8747cc0c-3021-4d0b-978a-63799f3856fd'] 2025-04-23 15:33:51,930 - WARNING - Deleting VN ctest-ext_vn-30335489 failed..Will retry 2025-04-23 15:33:54,039 - DEBUG - Response for deleting network () 2025-04-23 15:33:54,040 - INFO - Deleting VN ctest-vn-17321464 2025-04-23 15:33:54,164 - DEBUG - Response for deleting network () 2025-04-23 15:33:54,418 - DEBUG - No XMPP flaps were noticed during the test 2025-04-23 15:33:54,418 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-04-23 15:33:54,418 - INFO - -------------------------------------------------------------------------------- 2025-04-23 15:33:55,156 - INFO - Deleted project: ctest-TestRoutersBasic-79863211, ID : eef79c60-72e7-42f9-bd0c-3379e94c62cf