2025-08-11 15:43:29,453 - INFO - Domain Default found not creating 2025-08-11 15:43:29,579 - INFO - Project ctest-TestRoutersBasic-26223820 not found, creating it 2025-08-11 15:43:29,991 - INFO - Created Project:ctest-TestRoutersBasic-26223820, ID : f01da96e-18a5-495f-aa78-c8ea75513753 2025-08-11 15:43:31,314 - INFO - ================================================================================ 2025-08-11 15:43:31,314 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 15:43:31,314 - 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-11 15:43:31,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-08-11 15:43:31,567 - INFO - Initial checks done. Running the testcase now 2025-08-11 15:43:31,567 - INFO - 2025-08-11 15:43:32,253 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26223820 2025-08-11 15:43:32,346 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26223820 2025-08-11 15:43:32,666 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26223820', 'default']} 2025-08-11 15:43:32,944 - DEBUG - Response for create_network : {'network': {'id': 'f0cd8f2c-d20c-42b9-9c40-82bb6e6d6cb7', 'name': 'ctest-vn-27446748', 'tenant_id': 'f01da96e18a5495faa78c8ea75513753', 'project_id': 'f01da96e18a5495faa78c8ea75513753', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26223820', 'ctest-vn-27446748'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:43:33,113 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e8bf224-29ab-4cef-89e8-2cbdb8360fb6', 'name': '', 'tenant_id': 'f01da96e18a5495faa78c8ea75513753', 'network_id': 'f0cd8f2c-d20c-42b9-9c40-82bb6e6d6cb7', 'ip_version': 4, 'cidr': '157.199.36.192/26', 'allocation_pools': [{'start': '157.199.36.194', 'end': '157.199.36.254'}], 'gateway_ip': '157.199.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.199.36.194', 'tags': [], 'project_id': 'f01da96e18a5495faa78c8ea75513753'}} 2025-08-11 15:43:33,128 - INFO - Created VN ctest-vn-27446748 2025-08-11 15:43:33,178 - DEBUG - VN ctest-vn-27446748 UUID is f0cd8f2c-d20c-42b9-9c40-82bb6e6d6cb7 2025-08-11 15:43:33,504 - DEBUG - Response for create_network : {'network': {'id': '077451cc-93fc-4334-81dd-210de37861d3', 'name': 'ctest-ext_vn-96264192', 'tenant_id': 'f01da96e18a5495faa78c8ea75513753', 'project_id': 'f01da96e18a5495faa78c8ea75513753', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26223820', 'ctest-ext_vn-96264192'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 15:43:33,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '5fcd1677-83ed-4a24-8ff4-212e45eee6ce', 'name': '', 'tenant_id': 'f01da96e18a5495faa78c8ea75513753', 'network_id': '077451cc-93fc-4334-81dd-210de37861d3', 'ip_version': 4, 'cidr': '62.210.250.192/26', 'allocation_pools': [{'start': '62.210.250.194', 'end': '62.210.250.254'}], 'gateway_ip': '62.210.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.210.250.194', 'tags': [], 'project_id': 'f01da96e18a5495faa78c8ea75513753'}} 2025-08-11 15:43:33,730 - INFO - Created VN ctest-ext_vn-96264192 2025-08-11 15:43:33,782 - DEBUG - VN ctest-ext_vn-96264192 UUID is 077451cc-93fc-4334-81dd-210de37861d3 2025-08-11 15:43:33,976 - DEBUG - Services list from nova: [, , ] 2025-08-11 15:43:34,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3811-1) 2025-08-11 15:43:35,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3811-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3811-1) 2025-08-11 15:43:36,041 - INFO - Setting gateway for router 0d1c7adb-0cfe-4e87-b1c9-7c46725f1b07 to network 077451cc-93fc-4334-81dd-210de37861d3 2025-08-11 15:43:36,103 - INFO - Adding interface with subnet_id 0e8bf224-29ab-4cef-89e8-2cbdb8360fb6, port_id None to router 0d1c7adb-0cfe-4e87-b1c9-7c46725f1b07 2025-08-11 15:43:36,450 - INFO - Waiting for VM ctest-TestRoutersBasic-26223820-06929654 to be up.. 2025-08-11 15:43:36,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 15:43:41,725 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:43:41,725 - INFO - VM name : ctest-TestRoutersBasic-26223820-06929654 2025-08-11 15:43:41,799 - DEBUG - VM ctest-TestRoutersBasic-26223820-06929654 ID is fc032131-75df-4bad-b6e6-7fe73df5d116 2025-08-11 15:43:41,816 - DEBUG - VM ctest-TestRoutersBasic-26223820-06929654 launched on Node cn-jenkins-deploy-platform-ansible-os-3811-1 2025-08-11 15:43:41,885 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fc032131-75df-4bad-b6e6-7fe73df5d116 2025-08-11 15:43:42,173 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fc032131-75df-4bad-b6e6-7fe73df5d116 2025-08-11 15:43:42,203 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b70cadcc-452b-463a-a66d-3476b50d6837 2025-08-11 15:43:45,458 - 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=2 ttl=63 time=6.62 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 6.619/6.619/6.619/0.000 ms') 2025-08-11 15:43:45,458 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26223820-06929654 passed 2025-08-11 15:43:45,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:43:45,614 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26223820-06929654, IP 157.199.36.195, Port 22 2025-08-11 15:43:45,765 - DEBUG - VM ctest-TestRoutersBasic-26223820-06929654 is ready for SSH connections 2025-08-11 15:43:45,765 - INFO - Waiting for VM ctest-TestRoutersBasic-26223820-65411907 to be up.. 2025-08-11 15:43:45,828 - DEBUG - VM is in ACTIVE state now 2025-08-11 15:43:45,828 - INFO - VM name : ctest-TestRoutersBasic-26223820-65411907 2025-08-11 15:43:45,886 - DEBUG - VM ctest-TestRoutersBasic-26223820-65411907 ID is a03acc7f-3bde-40c8-a56c-9472c52420c3 2025-08-11 15:43:45,886 - DEBUG - VM ctest-TestRoutersBasic-26223820-65411907 launched on Node cn-jenkins-deploy-platform-ansible-os-3811-1 2025-08-11 15:43:45,945 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/a03acc7f-3bde-40c8-a56c-9472c52420c3 2025-08-11 15:43:45,953 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/deef1878-b0cc-40a0-81fe-7cbb33a86e2c 2025-08-11 15:43:47,184 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.436/2.503/1.066 ms') 2025-08-11 15:43:47,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26223820-65411907 passed 2025-08-11 15:43:47,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:43:47,342 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26223820-65411907, IP 62.210.250.195, Port 22 2025-08-11 15:43:47,494 - DEBUG - VM ctest-TestRoutersBasic-26223820-65411907 is ready for SSH connections 2025-08-11 15:43:47,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 15:43:47,494 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.210.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-11 15:43:47,494 - DEBUG - ping -s 56 -c 3 -W 1 62.210.250.195 2025-08-11 15:43:51,168 - DEBUG - PING 62.210.250.195 (62.210.250.195): 56 data bytes 64 bytes from 62.210.250.195: seq=0 ttl=62 time=7.115 ms 64 bytes from 62.210.250.195: seq=1 ttl=62 time=0.813 ms 64 bytes from 62.210.250.195: seq=2 ttl=62 time=0.831 ms --- 62.210.250.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/2.919/7.115 ms 2025-08-11 15:43:51,168 - INFO - Ping to IP 62.210.250.195 from VM ctest-TestRoutersBasic-26223820-06929654 passed 2025-08-11 15:43:51,169 - INFO - Deleting interface with subnet_id 0e8bf224-29ab-4cef-89e8-2cbdb8360fb6, port_id None from router 0d1c7adb-0cfe-4e87-b1c9-7c46725f1b07 2025-08-11 15:43:51,337 - INFO - Deleting VM ctest-TestRoutersBasic-26223820-65411907 2025-08-11 15:43:51,397 - INFO - Deleting VM ctest-TestRoutersBasic-26223820-06929654 2025-08-11 15:43:51,460 - INFO - Deleting VN ctest-ext_vn-96264192 2025-08-11 15:43:51,525 - DEBUG - VN 077451cc-93fc-4334-81dd-210de37861d3 still in use: Unable to complete operation on network 077451cc-93fc-4334-81dd-210de37861d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bbe09f1d-e29f-4eb5-ac01-a8de53d2db9a'] 2025-08-11 15:43:51,526 - WARNING - Deleting VN ctest-ext_vn-96264192 failed..Will retry 2025-08-11 15:43:53,623 - DEBUG - Response for deleting network () 2025-08-11 15:43:53,623 - INFO - Deleting VN ctest-vn-27446748 2025-08-11 15:43:53,722 - DEBUG - Response for deleting network () 2025-08-11 15:43:53,975 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 15:43:53,975 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:22]
2025-08-11 15:43:53,975 - INFO - -------------------------------------------------------------------------------- 2025-08-11 15:43:54,621 - INFO - Deleted project: ctest-TestRoutersBasic-26223820, ID : f01da96e-18a5-495f-aa78-c8ea75513753