2025-08-25 21:21:23,978 - INFO - Domain Default found not creating 2025-08-25 21:21:24,130 - INFO - Project ctest-TestRoutersBasic-73240382 not found, creating it 2025-08-25 21:21:24,609 - INFO - Created Project:ctest-TestRoutersBasic-73240382, ID : 6f999b44-7b3a-464a-92cc-46dad1b85f2a 2025-08-25 21:21:26,120 - INFO - ================================================================================ 2025-08-25 21:21:26,120 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-25 21:21:26,120 - 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-25 21:21:26,390 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-25 21:21:26,390 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:21:26,390 - INFO - 2025-08-25 21:21:27,092 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-73240382 2025-08-25 21:21:27,193 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-73240382 2025-08-25 21:21:27,529 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73240382', 'default']} 2025-08-25 21:21:27,869 - DEBUG - Response for create_network : {'network': {'id': '4f302b2e-6bb2-4232-aa61-95ff0c57b6f1', 'name': 'ctest-vn-43521387', 'tenant_id': '6f999b447b3a464a92cc46dad1b85f2a', 'project_id': '6f999b447b3a464a92cc46dad1b85f2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73240382', 'ctest-vn-43521387'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:21:28,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '4571db0d-0923-44e3-a83a-f716d6af9b48', 'name': '', 'tenant_id': '6f999b447b3a464a92cc46dad1b85f2a', 'network_id': '4f302b2e-6bb2-4232-aa61-95ff0c57b6f1', 'ip_version': 4, 'cidr': '2.237.229.128/26', 'allocation_pools': [{'start': '2.237.229.130', 'end': '2.237.229.190'}], 'gateway_ip': '2.237.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.237.229.130', 'tags': [], 'project_id': '6f999b447b3a464a92cc46dad1b85f2a'}} 2025-08-25 21:21:28,114 - INFO - Created VN ctest-vn-43521387 2025-08-25 21:21:28,165 - DEBUG - VN ctest-vn-43521387 UUID is 4f302b2e-6bb2-4232-aa61-95ff0c57b6f1 2025-08-25 21:21:28,543 - DEBUG - Response for create_network : {'network': {'id': '54752229-d8d5-43d1-84a6-08ba30b45caa', 'name': 'ctest-ext_vn-58978268', 'tenant_id': '6f999b447b3a464a92cc46dad1b85f2a', 'project_id': '6f999b447b3a464a92cc46dad1b85f2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-73240382', 'ctest-ext_vn-58978268'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:21:28,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '27fb2cd9-b8eb-40b1-b15b-8534f530ba6d', 'name': '', 'tenant_id': '6f999b447b3a464a92cc46dad1b85f2a', 'network_id': '54752229-d8d5-43d1-84a6-08ba30b45caa', 'ip_version': 4, 'cidr': '192.155.206.64/26', 'allocation_pools': [{'start': '192.155.206.66', 'end': '192.155.206.126'}], 'gateway_ip': '192.155.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.155.206.66', 'tags': [], 'project_id': '6f999b447b3a464a92cc46dad1b85f2a'}} 2025-08-25 21:21:28,755 - INFO - Created VN ctest-ext_vn-58978268 2025-08-25 21:21:28,809 - DEBUG - VN ctest-ext_vn-58978268 UUID is 54752229-d8d5-43d1-84a6-08ba30b45caa 2025-08-25 21:21:28,997 - DEBUG - Services list from nova: [, , ] 2025-08-25 21:21:30,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3929-1) 2025-08-25 21:21:31,293 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3929-1) 2025-08-25 21:21:31,415 - INFO - Setting gateway for router bae1b26e-9beb-439a-8e9b-c6d2a4a73bc9 to network 54752229-d8d5-43d1-84a6-08ba30b45caa 2025-08-25 21:21:31,539 - INFO - Adding interface with subnet_id 4571db0d-0923-44e3-a83a-f716d6af9b48, port_id None to router bae1b26e-9beb-439a-8e9b-c6d2a4a73bc9 2025-08-25 21:21:32,081 - INFO - Waiting for VM ctest-TestRoutersBasic-73240382-22177875 to be up.. 2025-08-25 21:21:32,270 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 21:21:37,346 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:21:37,346 - INFO - VM name : ctest-TestRoutersBasic-73240382-22177875 2025-08-25 21:21:37,426 - DEBUG - VM ctest-TestRoutersBasic-73240382-22177875 ID is e85bf2fb-29ff-4a42-8e35-7f09304bb7bf 2025-08-25 21:21:37,453 - DEBUG - VM ctest-TestRoutersBasic-73240382-22177875 launched on Node cn-jenkins-deploy-platform-ansible-os-3929-1 2025-08-25 21:21:37,549 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e85bf2fb-29ff-4a42-8e35-7f09304bb7bf 2025-08-25 21:21:37,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e85bf2fb-29ff-4a42-8e35-7f09304bb7bf 2025-08-25 21:21:37,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8005e2f4-6c4d-4b7b-bcb8-5592d8cefcbd 2025-08-25 21:21:41,140 - 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 1006ms') 2025-08-25 21:21:41,140 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73240382-22177875 failed! 2025-08-25 21:21:41,197 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-73240382:ctest-vn-43521387 is 2.237.229.129 and allocation pool is NOT set 2025-08-25 21:21:43,259 - 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=4.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.947 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.947/2.752/4.557/1.805 ms') 2025-08-25 21:21:43,259 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-73240382-22177875 passed 2025-08-25 21:21:43,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:21:43,409 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73240382-22177875, IP 2.237.229.131, Port 22 2025-08-25 21:21:43,565 - DEBUG - VM ctest-TestRoutersBasic-73240382-22177875 is ready for SSH connections 2025-08-25 21:21:43,565 - INFO - Waiting for VM ctest-TestRoutersBasic-73240382-72799077 to be up.. 2025-08-25 21:21:43,638 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:21:43,638 - INFO - VM name : ctest-TestRoutersBasic-73240382-72799077 2025-08-25 21:21:43,710 - DEBUG - VM ctest-TestRoutersBasic-73240382-72799077 ID is 58bbbfba-ed2a-4c71-bdf6-437dc389ac22 2025-08-25 21:21:43,711 - DEBUG - VM ctest-TestRoutersBasic-73240382-72799077 launched on Node cn-jenkins-deploy-platform-ansible-os-3929-1 2025-08-25 21:21:43,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/58bbbfba-ed2a-4c71-bdf6-437dc389ac22 2025-08-25 21:21:43,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e3a3f558-b00d-4400-b167-1725c9f9f954 2025-08-25 21:21:45,051 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 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 = 1.243/2.561/3.880/1.318 ms') 2025-08-25 21:21:45,051 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-73240382-72799077 passed 2025-08-25 21:21:45,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:21:45,214 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-73240382-72799077, IP 192.155.206.67, Port 22 2025-08-25 21:21:45,369 - DEBUG - VM ctest-TestRoutersBasic-73240382-72799077 is ready for SSH connections 2025-08-25 21:21:45,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:21:45,369 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.155.206.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-25 21:21:45,369 - DEBUG - ping -s 56 -c 3 -W 1 192.155.206.67 2025-08-25 21:21:49,042 - DEBUG - PING 192.155.206.67 (192.155.206.67): 56 data bytes 64 bytes from 192.155.206.67: seq=0 ttl=62 time=5.514 ms 64 bytes from 192.155.206.67: seq=1 ttl=62 time=0.808 ms 64 bytes from 192.155.206.67: seq=2 ttl=62 time=1.005 ms --- 192.155.206.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.442/5.514 ms 2025-08-25 21:21:49,042 - INFO - Ping to IP 192.155.206.67 from VM ctest-TestRoutersBasic-73240382-22177875 passed 2025-08-25 21:21:49,042 - INFO - Deleting interface with subnet_id 4571db0d-0923-44e3-a83a-f716d6af9b48, port_id None from router bae1b26e-9beb-439a-8e9b-c6d2a4a73bc9 2025-08-25 21:21:49,305 - INFO - Deleting VM ctest-TestRoutersBasic-73240382-72799077 2025-08-25 21:21:49,379 - INFO - Deleting VM ctest-TestRoutersBasic-73240382-22177875 2025-08-25 21:21:49,496 - INFO - Deleting VN ctest-ext_vn-58978268 2025-08-25 21:21:49,587 - DEBUG - VN 54752229-d8d5-43d1-84a6-08ba30b45caa still in use: Unable to complete operation on network 54752229-d8d5-43d1-84a6-08ba30b45caa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58cea430-c133-4b35-8030-93c5d16d15cb'] 2025-08-25 21:21:49,587 - WARNING - Deleting VN ctest-ext_vn-58978268 failed..Will retry 2025-08-25 21:21:51,720 - DEBUG - Response for deleting network () 2025-08-25 21:21:51,720 - INFO - Deleting VN ctest-vn-43521387 2025-08-25 21:21:51,853 - DEBUG - Response for deleting network () 2025-08-25 21:21:52,113 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:21:52,113 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-25 21:21:52,113 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:21:52,819 - INFO - Deleted project: ctest-TestRoutersBasic-73240382, ID : 6f999b44-7b3a-464a-92cc-46dad1b85f2a