2025-11-01 13:58:27,263 - INFO - Domain Default found not creating 2025-11-01 13:58:27,400 - INFO - Project ctest-TestRoutersBasic-87009017 not found, creating it 2025-11-01 13:58:27,810 - INFO - Created Project:ctest-TestRoutersBasic-87009017, ID : f4b27a64-6aa0-4ea8-bef7-21137eb10b43 2025-11-01 13:58:29,222 - INFO - ================================================================================ 2025-11-01 13:58:29,222 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-01 13:58:29,222 - 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-11-01 13:58:29,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.129': '0'}} with 2025-11-01 13:58:29,474 - INFO - Initial checks done. Running the testcase now 2025-11-01 13:58:29,474 - INFO - 2025-11-01 13:58:30,125 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-87009017 2025-11-01 13:58:30,218 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-87009017 2025-11-01 13:58:30,529 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87009017', 'default']} 2025-11-01 13:58:30,793 - DEBUG - Response for create_network : {'network': {'id': 'e3526267-bca7-4f6c-9c24-993504d76a50', 'name': 'ctest-vn-98539365', 'tenant_id': 'f4b27a646aa04ea8bef721137eb10b43', 'project_id': 'f4b27a646aa04ea8bef721137eb10b43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87009017', 'ctest-vn-98539365'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:58:30,995 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffe2cc3f-555e-4215-bf22-4a45a71b31e0', 'name': '', 'tenant_id': 'f4b27a646aa04ea8bef721137eb10b43', 'network_id': 'e3526267-bca7-4f6c-9c24-993504d76a50', 'ip_version': 4, 'cidr': '50.251.130.0/26', 'allocation_pools': [{'start': '50.251.130.2', 'end': '50.251.130.62'}], 'gateway_ip': '50.251.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.251.130.2', 'tags': [], 'project_id': 'f4b27a646aa04ea8bef721137eb10b43'}} 2025-11-01 13:58:31,009 - INFO - Created VN ctest-vn-98539365 2025-11-01 13:58:31,058 - DEBUG - VN ctest-vn-98539365 UUID is e3526267-bca7-4f6c-9c24-993504d76a50 2025-11-01 13:58:31,366 - DEBUG - Response for create_network : {'network': {'id': '62956b21-86ac-4e1f-8be3-b7bd421a9cb4', 'name': 'ctest-ext_vn-78303825', 'tenant_id': 'f4b27a646aa04ea8bef721137eb10b43', 'project_id': 'f4b27a646aa04ea8bef721137eb10b43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-87009017', 'ctest-ext_vn-78303825'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 13:58:31,560 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cdc7530-a76a-4737-baf8-849c6b7306ef', 'name': '', 'tenant_id': 'f4b27a646aa04ea8bef721137eb10b43', 'network_id': '62956b21-86ac-4e1f-8be3-b7bd421a9cb4', 'ip_version': 4, 'cidr': '121.253.61.64/26', 'allocation_pools': [{'start': '121.253.61.66', 'end': '121.253.61.126'}], 'gateway_ip': '121.253.61.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.253.61.66', 'tags': [], 'project_id': 'f4b27a646aa04ea8bef721137eb10b43'}} 2025-11-01 13:58:31,576 - INFO - Created VN ctest-ext_vn-78303825 2025-11-01 13:58:31,626 - DEBUG - VN ctest-ext_vn-78303825 UUID is 62956b21-86ac-4e1f-8be3-b7bd421a9cb4 2025-11-01 13:58:31,825 - DEBUG - Services list from nova: [, , ] 2025-11-01 13:58:32,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:58:34,033 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4588-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4588-1) 2025-11-01 13:58:34,084 - INFO - Setting gateway for router b091d6fe-cf88-46a5-8555-0efbc87796ac to network 62956b21-86ac-4e1f-8be3-b7bd421a9cb4 2025-11-01 13:58:34,127 - INFO - Adding interface with subnet_id ffe2cc3f-555e-4215-bf22-4a45a71b31e0, port_id None to router b091d6fe-cf88-46a5-8555-0efbc87796ac 2025-11-01 13:58:34,338 - INFO - Waiting for VM ctest-TestRoutersBasic-87009017-05131259 to be up.. 2025-11-01 13:58:34,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 13:58:39,521 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:58:39,521 - INFO - VM name : ctest-TestRoutersBasic-87009017-05131259 2025-11-01 13:58:39,585 - DEBUG - VM ctest-TestRoutersBasic-87009017-05131259 ID is 27494f72-3f28-4e58-a7c9-edbac6de9776 2025-11-01 13:58:39,604 - DEBUG - VM ctest-TestRoutersBasic-87009017-05131259 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:58:39,671 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/27494f72-3f28-4e58-a7c9-edbac6de9776 2025-11-01 13:58:39,961 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/27494f72-3f28-4e58-a7c9-edbac6de9776 2025-11-01 13:58:39,987 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9499fa72-8655-4793-b104-4160ff3d7460 2025-11-01 13:58:43,217 - 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 1008ms') 2025-11-01 13:58:43,217 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87009017-05131259 failed! 2025-11-01 13:58:43,274 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-87009017:ctest-vn-98539365 is 50.251.130.1 and allocation pool is NOT set 2025-11-01 13:58:45,339 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/1.617/2.854/1.237 ms') 2025-11-01 13:58:45,339 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-87009017-05131259 passed 2025-11-01 13:58:45,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:45,486 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87009017-05131259, IP 50.251.130.3, Port 22 2025-11-01 13:58:45,641 - DEBUG - VM ctest-TestRoutersBasic-87009017-05131259 is ready for SSH connections 2025-11-01 13:58:45,641 - INFO - Waiting for VM ctest-TestRoutersBasic-87009017-45525188 to be up.. 2025-11-01 13:58:45,705 - DEBUG - VM is in ACTIVE state now 2025-11-01 13:58:45,706 - INFO - VM name : ctest-TestRoutersBasic-87009017-45525188 2025-11-01 13:58:45,766 - DEBUG - VM ctest-TestRoutersBasic-87009017-45525188 ID is 69630970-67fe-4121-83a5-d5cc34558113 2025-11-01 13:58:45,766 - DEBUG - VM ctest-TestRoutersBasic-87009017-45525188 launched on Node cn-jenkins-deploy-platform-ansible-os-4588-1 2025-11-01 13:58:45,830 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/69630970-67fe-4121-83a5-d5cc34558113 2025-11-01 13:58:45,837 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/58089b72-0dd6-419a-a361-c532f1725fbf 2025-11-01 13:58:47,068 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.551/2.695/1.144 ms') 2025-11-01 13:58:47,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-87009017-45525188 passed 2025-11-01 13:58:47,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:47,214 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-87009017-45525188, IP 121.253.61.67, Port 22 2025-11-01 13:58:47,434 - DEBUG - VM ctest-TestRoutersBasic-87009017-45525188 is ready for SSH connections 2025-11-01 13:58:47,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 13:58:47,434 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.253.61.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-01 13:58:47,434 - DEBUG - ping -s 56 -c 3 -W 1 121.253.61.67 2025-11-01 13:58:51,410 - DEBUG - PING 121.253.61.67 (121.253.61.67): 56 data bytes 64 bytes from 121.253.61.67: seq=0 ttl=62 time=3.971 ms 64 bytes from 121.253.61.67: seq=1 ttl=62 time=0.730 ms 64 bytes from 121.253.61.67: seq=2 ttl=62 time=0.782 ms --- 121.253.61.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.827/3.971 ms 2025-11-01 13:58:51,410 - INFO - Ping to IP 121.253.61.67 from VM ctest-TestRoutersBasic-87009017-05131259 passed 2025-11-01 13:58:51,410 - INFO - Deleting interface with subnet_id ffe2cc3f-555e-4215-bf22-4a45a71b31e0, port_id None from router b091d6fe-cf88-46a5-8555-0efbc87796ac 2025-11-01 13:58:51,578 - INFO - Deleting VM ctest-TestRoutersBasic-87009017-45525188 2025-11-01 13:58:51,648 - INFO - Deleting VM ctest-TestRoutersBasic-87009017-05131259 2025-11-01 13:58:51,716 - INFO - Deleting VN ctest-ext_vn-78303825 2025-11-01 13:58:51,768 - DEBUG - VN 62956b21-86ac-4e1f-8be3-b7bd421a9cb4 still in use: Unable to complete operation on network 62956b21-86ac-4e1f-8be3-b7bd421a9cb4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c81f2d94-c676-4505-8abb-f22c0eecae1d'] 2025-11-01 13:58:51,768 - WARNING - Deleting VN ctest-ext_vn-78303825 failed..Will retry 2025-11-01 13:58:53,860 - DEBUG - Response for deleting network () 2025-11-01 13:58:53,860 - INFO - Deleting VN ctest-vn-98539365 2025-11-01 13:58:53,950 - DEBUG - Response for deleting network () 2025-11-01 13:58:54,202 - DEBUG - No XMPP flaps were noticed during the test
2025-11-01 13:58:54,203 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-01 13:58:54,203 - INFO - -------------------------------------------------------------------------------- 2025-11-01 13:58:54,884 - INFO - Deleted project: ctest-TestRoutersBasic-87009017, ID : f4b27a64-6aa0-4ea8-bef7-21137eb10b43