2025-08-19 12:57:20,661 - INFO - Domain Default found not creating 2025-08-19 12:57:20,777 - INFO - Project ctest-TestRoutersBasic-14102408 not found, creating it 2025-08-19 12:57:21,280 - INFO - Created Project:ctest-TestRoutersBasic-14102408, ID : 43f2c174-b13b-4727-b0ab-1d92ba9b4b0c 2025-08-19 12:57:22,621 - INFO - ================================================================================ 2025-08-19 12:57:22,621 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-19 12:57:22,621 - 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-19 12:57:22,873 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.0.0.57': '0'}} with 2025-08-19 12:57:22,873 - INFO - Initial checks done. Running the testcase now 2025-08-19 12:57:22,873 - INFO - 2025-08-19 12:57:23,571 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14102408 2025-08-19 12:57:23,672 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14102408 2025-08-19 12:57:24,008 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14102408', 'default']} 2025-08-19 12:57:24,288 - DEBUG - Response for create_network : {'network': {'id': 'e4a93908-450d-4750-96fb-7fd759cfa7f5', 'name': 'ctest-vn-73586830', 'tenant_id': '43f2c174b13b4727b0ab1d92ba9b4b0c', 'project_id': '43f2c174b13b4727b0ab1d92ba9b4b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14102408', 'ctest-vn-73586830'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:57:24,447 - DEBUG - Response for create_subnet : {'subnet': {'id': '34382826-a207-41e2-8b5c-e00ecd3d7218', 'name': '', 'tenant_id': '43f2c174b13b4727b0ab1d92ba9b4b0c', 'network_id': 'e4a93908-450d-4750-96fb-7fd759cfa7f5', 'ip_version': 4, 'cidr': '47.106.90.64/26', 'allocation_pools': [{'start': '47.106.90.66', 'end': '47.106.90.126'}], 'gateway_ip': '47.106.90.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.106.90.66', 'tags': [], 'project_id': '43f2c174b13b4727b0ab1d92ba9b4b0c'}} 2025-08-19 12:57:24,462 - INFO - Created VN ctest-vn-73586830 2025-08-19 12:57:24,512 - DEBUG - VN ctest-vn-73586830 UUID is e4a93908-450d-4750-96fb-7fd759cfa7f5 2025-08-19 12:57:24,841 - DEBUG - Response for create_network : {'network': {'id': 'a8ec2b02-3a32-4e4a-b4c4-14b0e51cf0b2', 'name': 'ctest-ext_vn-00972531', 'tenant_id': '43f2c174b13b4727b0ab1d92ba9b4b0c', 'project_id': '43f2c174b13b4727b0ab1d92ba9b4b0c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14102408', 'ctest-ext_vn-00972531'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 12:57:25,049 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a7e26cb-9d2b-4d77-adb1-2a31ea40237e', 'name': '', 'tenant_id': '43f2c174b13b4727b0ab1d92ba9b4b0c', 'network_id': 'a8ec2b02-3a32-4e4a-b4c4-14b0e51cf0b2', 'ip_version': 4, 'cidr': '193.235.49.192/26', 'allocation_pools': [{'start': '193.235.49.194', 'end': '193.235.49.254'}], 'gateway_ip': '193.235.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.235.49.194', 'tags': [], 'project_id': '43f2c174b13b4727b0ab1d92ba9b4b0c'}} 2025-08-19 12:57:25,064 - INFO - Created VN ctest-ext_vn-00972531 2025-08-19 12:57:25,116 - DEBUG - VN ctest-ext_vn-00972531 UUID is a8ec2b02-3a32-4e4a-b4c4-14b0e51cf0b2 2025-08-19 12:57:25,299 - DEBUG - Services list from nova: [, , ] 2025-08-19 12:57:26,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:57:27,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3883-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3883-1) 2025-08-19 12:57:27,491 - INFO - Setting gateway for router ed50490a-51ee-4df7-96f5-19e4e31c022b to network a8ec2b02-3a32-4e4a-b4c4-14b0e51cf0b2 2025-08-19 12:57:27,555 - INFO - Adding interface with subnet_id 34382826-a207-41e2-8b5c-e00ecd3d7218, port_id None to router ed50490a-51ee-4df7-96f5-19e4e31c022b 2025-08-19 12:57:27,979 - INFO - Waiting for VM ctest-TestRoutersBasic-14102408-63097473 to be up.. 2025-08-19 12:57:28,104 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 12:57:33,181 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:57:33,181 - INFO - VM name : ctest-TestRoutersBasic-14102408-63097473 2025-08-19 12:57:33,245 - DEBUG - VM ctest-TestRoutersBasic-14102408-63097473 ID is 7abde0a9-4164-4e48-884f-f9fa6cecd674 2025-08-19 12:57:33,277 - DEBUG - VM ctest-TestRoutersBasic-14102408-63097473 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:57:33,349 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7abde0a9-4164-4e48-884f-f9fa6cecd674 2025-08-19 12:57:33,641 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7abde0a9-4164-4e48-884f-f9fa6cecd674 2025-08-19 12:57:33,679 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/a0ef6c1e-35f7-4704-97bf-83e0a8108693 2025-08-19 12:57:36,939 - 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=7.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 7.324/7.324/7.324/0.000 ms') 2025-08-19 12:57:36,939 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14102408-63097473 passed 2025-08-19 12:57:37,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:57:37,088 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14102408-63097473, IP 47.106.90.67, Port 22 2025-08-19 12:57:37,239 - DEBUG - VM ctest-TestRoutersBasic-14102408-63097473 is ready for SSH connections 2025-08-19 12:57:37,239 - INFO - Waiting for VM ctest-TestRoutersBasic-14102408-86766313 to be up.. 2025-08-19 12:57:37,308 - DEBUG - VM is in ACTIVE state now 2025-08-19 12:57:37,308 - INFO - VM name : ctest-TestRoutersBasic-14102408-86766313 2025-08-19 12:57:37,373 - DEBUG - VM ctest-TestRoutersBasic-14102408-86766313 ID is fd74d2af-5d32-42b7-95c8-9dc48b838edb 2025-08-19 12:57:37,373 - DEBUG - VM ctest-TestRoutersBasic-14102408-86766313 launched on Node cn-jenkins-deploy-platform-ansible-os-3883-1. 2025-08-19 12:57:37,439 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/fd74d2af-5d32-42b7-95c8-9dc48b838edb 2025-08-19 12:57:37,446 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/66dcfd6d-4100-4f8e-94bc-e47e1722dea6 2025-08-19 12:57:38,692 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.630 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 = 0.630/1.745/2.860/1.115 ms') 2025-08-19 12:57:38,692 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14102408-86766313 passed 2025-08-19 12:57:38,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:57:38,836 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14102408-86766313, IP 193.235.49.195, Port 22 2025-08-19 12:57:38,987 - DEBUG - VM ctest-TestRoutersBasic-14102408-86766313 is ready for SSH connections 2025-08-19 12:57:38,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 12:57:38,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.235.49.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-08-19 12:57:38,987 - DEBUG - ping -s 56 -c 3 -W 1 193.235.49.195 2025-08-19 12:57:42,905 - DEBUG - PING 193.235.49.195 (193.235.49.195): 56 data bytes 64 bytes from 193.235.49.195: seq=0 ttl=62 time=6.752 ms 64 bytes from 193.235.49.195: seq=1 ttl=62 time=0.708 ms 64 bytes from 193.235.49.195: seq=2 ttl=62 time=1.110 ms --- 193.235.49.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.708/2.856/6.752 ms 2025-08-19 12:57:42,905 - INFO - Ping to IP 193.235.49.195 from VM ctest-TestRoutersBasic-14102408-63097473 passed 2025-08-19 12:57:42,906 - INFO - Deleting interface with subnet_id 34382826-a207-41e2-8b5c-e00ecd3d7218, port_id None from router ed50490a-51ee-4df7-96f5-19e4e31c022b 2025-08-19 12:57:43,087 - INFO - Deleting VM ctest-TestRoutersBasic-14102408-86766313 2025-08-19 12:57:43,151 - INFO - Deleting VM ctest-TestRoutersBasic-14102408-63097473 2025-08-19 12:57:43,220 - INFO - Deleting VN ctest-ext_vn-00972531 2025-08-19 12:57:43,281 - DEBUG - VN a8ec2b02-3a32-4e4a-b4c4-14b0e51cf0b2 still in use: Unable to complete operation on network a8ec2b02-3a32-4e4a-b4c4-14b0e51cf0b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-012db6dd-11d4-4682-b898-8a8d4e0b3d17'] 2025-08-19 12:57:43,281 - WARNING - Deleting VN ctest-ext_vn-00972531 failed..Will retry 2025-08-19 12:57:45,371 - DEBUG - Response for deleting network () 2025-08-19 12:57:45,372 - INFO - Deleting VN ctest-vn-73586830 2025-08-19 12:57:45,455 - DEBUG - Response for deleting network () 2025-08-19 12:57:45,704 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 12:57:45,704 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23] 2025-08-19 12:57:45,704 - INFO - -------------------------------------------------------------------------------- 2025-08-19 12:57:46,359 - INFO - Deleted project: ctest-TestRoutersBasic-14102408, ID : 43f2c174-b13b-4727-b0ab-1d92ba9b4b0c