2025-10-29 18:13:03,118 - INFO - Domain Default found not creating 2025-10-29 18:13:03,316 - INFO - Project ctest-TestRoutersBasic-73376183 not found, creating it 2025-10-29 18:13:04,041 - INFO - Created Project:ctest-TestRoutersBasic-73376183, ID : 7695e4d6-db5a-45ac-bc5d-aaf51a01f25e 2025-10-29 18:13:05,843 - INFO - ================================================================================ 2025-10-29 18:13:05,844 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-29 18:13:05,844 - 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-29 18:13:07,286 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0', '10.20.0.200': '0'}, '10.0.0.27': {'10.20.0.201': '0', '10.20.0.200': '0'}} with 2025-10-29 18:13:07,286 - INFO - Initial checks done. Running the testcase now 2025-10-29 18:13:07,286 - INFO - 2025-10-29 18:13:08,118 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73376183 2025-10-29 18:13:08,180 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73376183 2025-10-29 18:13:08,505 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73376183', 'default']} 2025-10-29 18:13:08,964 - DEBUG - Response for create_network : {'network': {'id': 'd6b26cd1-3afb-4237-b2e7-50824dba6aac', 'name': 'ctest-vn-18663685', 'tenant_id': '7695e4d6db5a45acbc5daaf51a01f25e', 'project_id': '7695e4d6db5a45acbc5daaf51a01f25e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73376183', 'ctest-vn-18663685'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 18:13:09,193 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f53e0c47-b7d2-4baa-871c-4d7e1884515d', 'name': '', 'tenant_id': '7695e4d6db5a45acbc5daaf51a01f25e', 'network_id': 'd6b26cd1-3afb-4237-b2e7-50824dba6aac', 'ip_version': 4, 'cidr': '63.141.216.64/26', 'allocation_pools': [{'start': '63.141.216.66', 'end': '63.141.216.126'}], 'gateway_ip': '63.141.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.141.216.66', 'tags': [], 'project_id': '7695e4d6db5a45acbc5daaf51a01f25e'}} 2025-10-29 18:13:09,215 - INFO - Created VN ctest-vn-18663685 2025-10-29 18:13:09,226 - DEBUG - VN ctest-vn-18663685 UUID is d6b26cd1-3afb-4237-b2e7-50824dba6aac 2025-10-29 18:13:09,660 - DEBUG - Response for create_network : {'network': {'id': 'c08fd474-bebd-4975-a2e2-cff30dd6926a', 'name': 'ctest-ext_vn-24543977', 'tenant_id': '7695e4d6db5a45acbc5daaf51a01f25e', 'project_id': '7695e4d6db5a45acbc5daaf51a01f25e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73376183', 'ctest-ext_vn-24543977'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 18:13:09,904 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edf0a3d1-adec-43f3-9ea7-534903d4c1c6', 'name': '', 'tenant_id': '7695e4d6db5a45acbc5daaf51a01f25e', 'network_id': 'c08fd474-bebd-4975-a2e2-cff30dd6926a', 'ip_version': 4, 'cidr': '22.167.57.64/26', 'allocation_pools': [{'start': '22.167.57.66', 'end': '22.167.57.126'}], 'gateway_ip': '22.167.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.167.57.66', 'tags': [], 'project_id': '7695e4d6db5a45acbc5daaf51a01f25e'}} 2025-10-29 18:13:09,925 - INFO - Created VN ctest-ext_vn-24543977 2025-10-29 18:13:09,939 - DEBUG - VN ctest-ext_vn-24543977 UUID is c08fd474-bebd-4975-a2e2-cff30dd6926a 2025-10-29 18:13:10,075 - DEBUG - Services list from nova: [, , , ] 2025-10-29 18:13:11,509 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-2) 2025-10-29 18:13:12,872 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-1) 2025-10-29 18:13:13,018 - INFO - Setting gateway for router 3d58e04b-451c-4338-80b0-cb9adb269529 to network c08fd474-bebd-4975-a2e2-cff30dd6926a 2025-10-29 18:13:13,103 - INFO - Adding interface with subnet_id f53e0c47-b7d2-4baa-871c-4d7e1884515d, port_id None to router 3d58e04b-451c-4338-80b0-cb9adb269529 2025-10-29 18:13:13,583 - INFO - Waiting for VM ctest-TestRoutersBasic-73376183-08257342 to be up.. 2025-10-29 18:13:13,784 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 18:13:18,874 - DEBUG - VM is in ACTIVE state now 2025-10-29 18:13:18,874 - INFO - VM name : ctest-TestRoutersBasic-73376183-08257342 2025-10-29 18:13:18,968 - DEBUG - VM ctest-TestRoutersBasic-73376183-08257342 ID is ec8c4e59-afc2-45fb-a934-14f3c8e7f504 2025-10-29 18:13:18,990 - DEBUG - VM ctest-TestRoutersBasic-73376183-08257342 launched on Node an-jenkins-deploy-platform-ansible-os-4526-2 2025-10-29 18:13:19,075 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ec8c4e59-afc2-45fb-a934-14f3c8e7f504 2025-10-29 18:13:19,382 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ec8c4e59-afc2-45fb-a934-14f3c8e7f504 2025-10-29 18:13:19,419 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/199f9ef5-dc6b-47ad-bc23-9a3f39003851 2025-10-29 18:13:22,586 - 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 1002ms') 2025-10-29 18:13:22,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73376183-08257342 failed! 2025-10-29 18:13:22,608 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73376183:ctest-vn-18663685 is 63.141.216.65 and allocation pool is NOT set 2025-10-29 18:13:24,674 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.400 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.400/1.646/2.892/1.246 ms') 2025-10-29 18:13:24,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73376183-08257342 passed 2025-10-29 18:13:24,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:13:24,747 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73376183-08257342, IP 63.141.216.67, Port 22 2025-10-29 18:13:24,904 - DEBUG - VM ctest-TestRoutersBasic-73376183-08257342 is ready for SSH connections 2025-10-29 18:13:24,904 - INFO - Waiting for VM ctest-TestRoutersBasic-73376183-63887964 to be up.. 2025-10-29 18:13:25,069 - DEBUG - VM is in ACTIVE state now 2025-10-29 18:13:25,070 - INFO - VM name : ctest-TestRoutersBasic-73376183-63887964 2025-10-29 18:13:25,206 - DEBUG - VM ctest-TestRoutersBasic-73376183-63887964 ID is 52f6a9ff-f5e6-4eb3-9a12-2bbbd1d37624 2025-10-29 18:13:25,206 - DEBUG - VM ctest-TestRoutersBasic-73376183-63887964 launched on Node an-jenkins-deploy-platform-ansible-os-4526-1 2025-10-29 18:13:25,300 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/52f6a9ff-f5e6-4eb3-9a12-2bbbd1d37624 2025-10-29 18:13:25,319 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/80db15ac-7895-42bb-bcd6-7b8f0975f459 2025-10-29 18:13:26,580 - 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=9.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.97 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 = 3.966/6.717/9.468/2.751 ms') 2025-10-29 18:13:26,581 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73376183-63887964 passed 2025-10-29 18:13:26,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:13:26,663 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73376183-63887964, IP 22.167.57.67, Port 22 2025-10-29 18:13:26,875 - DEBUG - VM ctest-TestRoutersBasic-73376183-63887964 is ready for SSH connections 2025-10-29 18:13:26,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:13:26,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.167.57.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-29 18:13:26,876 - DEBUG - ping -s 56 -c 3 -W 1 22.167.57.67 2025-10-29 18:13:30,654 - DEBUG - PING 22.167.57.67 (22.167.57.67): 56 data bytes 64 bytes from 22.167.57.67: seq=0 ttl=62 time=10.218 ms 64 bytes from 22.167.57.67: seq=1 ttl=62 time=1.846 ms 64 bytes from 22.167.57.67: seq=2 ttl=62 time=1.614 ms --- 22.167.57.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.614/4.559/10.218 ms 2025-10-29 18:13:30,654 - INFO - Ping to IP 22.167.57.67 from VM ctest-TestRoutersBasic-73376183-08257342 passed 2025-10-29 18:13:30,654 - INFO - Deleting interface with subnet_id f53e0c47-b7d2-4baa-871c-4d7e1884515d, port_id None from router 3d58e04b-451c-4338-80b0-cb9adb269529 2025-10-29 18:13:31,012 - INFO - Deleting VM ctest-TestRoutersBasic-73376183-63887964 2025-10-29 18:13:31,178 - INFO - Deleting VM ctest-TestRoutersBasic-73376183-08257342 2025-10-29 18:13:31,364 - INFO - Deleting VN ctest-ext_vn-24543977 2025-10-29 18:13:31,541 - DEBUG - VN c08fd474-bebd-4975-a2e2-cff30dd6926a still in use: Unable to complete operation on network c08fd474-bebd-4975-a2e2-cff30dd6926a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3695f84-877b-471e-9db2-aee0f5ed8565'] 2025-10-29 18:13:31,541 - WARNING - Deleting VN ctest-ext_vn-24543977 failed..Will retry 2025-10-29 18:13:33,724 - DEBUG - Response for deleting network () 2025-10-29 18:13:33,725 - INFO - Deleting VN ctest-vn-18663685 2025-10-29 18:13:33,899 - DEBUG - Response for deleting network () 2025-10-29 18:13:35,339 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 18:13:35,340 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2025-10-29 18:13:35,340 - INFO - -------------------------------------------------------------------------------- 2025-10-29 18:13:36,161 - INFO - Deleted project: ctest-TestRoutersBasic-73376183, ID : 7695e4d6-db5a-45ac-bc5d-aaf51a01f25e