2025-09-25 01:49:05,603 - INFO - Domain Default found not creating 2025-09-25 01:49:05,750 - INFO - Project ctest-TestRoutersBasic-89543161 not found, creating it 2025-09-25 01:49:06,182 - INFO - Created Project:ctest-TestRoutersBasic-89543161, ID : 16828cd7-0795-4659-9186-cbf41a548d95 2025-09-25 01:49:07,702 - INFO - ================================================================================ 2025-09-25 01:49:07,702 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-25 01:49:07,702 - 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-09-25 01:49:07,960 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-09-25 01:49:07,960 - INFO - Initial checks done. Running the testcase now 2025-09-25 01:49:07,960 - INFO - 2025-09-25 01:49:08,734 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89543161 2025-09-25 01:49:08,827 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89543161 2025-09-25 01:49:09,143 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89543161', 'default']} 2025-09-25 01:49:09,416 - DEBUG - Response for create_network : {'network': {'id': '03e6eab8-7fa0-4910-b57d-ab021fc7e828', 'name': 'ctest-vn-76054809', 'tenant_id': '16828cd7079546599186cbf41a548d95', 'project_id': '16828cd7079546599186cbf41a548d95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89543161', 'ctest-vn-76054809'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:49:09,562 - DEBUG - Response for create_subnet : {'subnet': {'id': '4989f8cc-9a96-4d1c-9d79-705c3a3b7f0f', 'name': '', 'tenant_id': '16828cd7079546599186cbf41a548d95', 'network_id': '03e6eab8-7fa0-4910-b57d-ab021fc7e828', 'ip_version': 4, 'cidr': '206.93.230.64/26', 'allocation_pools': [{'start': '206.93.230.66', 'end': '206.93.230.126'}], 'gateway_ip': '206.93.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.93.230.66', 'tags': [], 'project_id': '16828cd7079546599186cbf41a548d95'}} 2025-09-25 01:49:09,579 - INFO - Created VN ctest-vn-76054809 2025-09-25 01:49:09,631 - DEBUG - VN ctest-vn-76054809 UUID is 03e6eab8-7fa0-4910-b57d-ab021fc7e828 2025-09-25 01:49:09,925 - DEBUG - Response for create_network : {'network': {'id': '33abbb59-449a-4830-93ef-3542a9de4f5f', 'name': 'ctest-ext_vn-23258808', 'tenant_id': '16828cd7079546599186cbf41a548d95', 'project_id': '16828cd7079546599186cbf41a548d95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89543161', 'ctest-ext_vn-23258808'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 01:49:10,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '6050771a-a77f-480c-8039-bb0884a0c844', 'name': '', 'tenant_id': '16828cd7079546599186cbf41a548d95', 'network_id': '33abbb59-449a-4830-93ef-3542a9de4f5f', 'ip_version': 4, 'cidr': '31.128.110.192/26', 'allocation_pools': [{'start': '31.128.110.194', 'end': '31.128.110.254'}], 'gateway_ip': '31.128.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.128.110.194', 'tags': [], 'project_id': '16828cd7079546599186cbf41a548d95'}} 2025-09-25 01:49:10,134 - INFO - Created VN ctest-ext_vn-23258808 2025-09-25 01:49:10,187 - DEBUG - VN ctest-ext_vn-23258808 UUID is 33abbb59-449a-4830-93ef-3542a9de4f5f 2025-09-25 01:49:10,381 - DEBUG - Services list from nova: [, , ] 2025-09-25 01:49:11,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4187-1) 2025-09-25 01:49:12,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4187-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4187-1) 2025-09-25 01:49:12,718 - INFO - Setting gateway for router 275b6f37-ca74-4ef0-8fb8-0ebd253e44bc to network 33abbb59-449a-4830-93ef-3542a9de4f5f 2025-09-25 01:49:12,774 - INFO - Adding interface with subnet_id 4989f8cc-9a96-4d1c-9d79-705c3a3b7f0f, port_id None to router 275b6f37-ca74-4ef0-8fb8-0ebd253e44bc 2025-09-25 01:49:13,064 - INFO - Waiting for VM ctest-TestRoutersBasic-89543161-15050220 to be up.. 2025-09-25 01:49:13,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 01:49:18,339 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:49:18,339 - INFO - VM name : ctest-TestRoutersBasic-89543161-15050220 2025-09-25 01:49:18,406 - DEBUG - VM ctest-TestRoutersBasic-89543161-15050220 ID is c2adbdf7-e190-4023-8943-b8b0dbd6df29 2025-09-25 01:49:18,424 - DEBUG - VM ctest-TestRoutersBasic-89543161-15050220 launched on Node cn-jenkins-deploy-platform-ansible-os-4187-1 2025-09-25 01:49:18,491 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c2adbdf7-e190-4023-8943-b8b0dbd6df29 2025-09-25 01:49:18,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c2adbdf7-e190-4023-8943-b8b0dbd6df29 2025-09-25 01:49:18,852 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7a7ac540-56ed-4fa8-8bc4-b0f013fea5e6 2025-09-25 01:49:22,117 - 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 1027ms') 2025-09-25 01:49:22,117 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89543161-15050220 failed! 2025-09-25 01:49:22,171 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89543161:ctest-vn-76054809 is 206.93.230.65 and allocation pool is NOT set 2025-09-25 01:49:24,234 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/1.722/3.020/1.297 ms') 2025-09-25 01:49:24,234 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89543161-15050220 passed 2025-09-25 01:49:24,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:49:24,383 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89543161-15050220, IP 206.93.230.67, Port 22 2025-09-25 01:49:24,539 - DEBUG - VM ctest-TestRoutersBasic-89543161-15050220 is ready for SSH connections 2025-09-25 01:49:24,539 - INFO - Waiting for VM ctest-TestRoutersBasic-89543161-38543506 to be up.. 2025-09-25 01:49:24,621 - DEBUG - VM is in ACTIVE state now 2025-09-25 01:49:24,621 - INFO - VM name : ctest-TestRoutersBasic-89543161-38543506 2025-09-25 01:49:24,693 - DEBUG - VM ctest-TestRoutersBasic-89543161-38543506 ID is c3650fbb-3bc5-4974-8034-0b0fd4da7c57 2025-09-25 01:49:24,693 - DEBUG - VM ctest-TestRoutersBasic-89543161-38543506 launched on Node cn-jenkins-deploy-platform-ansible-os-4187-1 2025-09-25 01:49:24,758 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c3650fbb-3bc5-4974-8034-0b0fd4da7c57 2025-09-25 01:49:24,765 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d20f02e4-01e8-40ce-a593-bc64d05daba0 2025-09-25 01:49:26,007 - 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=5.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.876 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.876/3.120/5.364/2.244 ms') 2025-09-25 01:49:26,007 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89543161-38543506 passed 2025-09-25 01:49:26,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:49:26,155 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89543161-38543506, IP 31.128.110.195, Port 22 2025-09-25 01:49:26,314 - DEBUG - VM ctest-TestRoutersBasic-89543161-38543506 is ready for SSH connections 2025-09-25 01:49:26,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 01:49:26,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.128.110.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-25 01:49:26,314 - DEBUG - ping -s 56 -c 3 -W 1 31.128.110.195 2025-09-25 01:49:30,032 - DEBUG - PING 31.128.110.195 (31.128.110.195): 56 data bytes 64 bytes from 31.128.110.195: seq=0 ttl=62 time=5.528 ms 64 bytes from 31.128.110.195: seq=1 ttl=62 time=0.879 ms 64 bytes from 31.128.110.195: seq=2 ttl=62 time=1.382 ms --- 31.128.110.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/2.596/5.528 ms 2025-09-25 01:49:30,032 - INFO - Ping to IP 31.128.110.195 from VM ctest-TestRoutersBasic-89543161-15050220 passed 2025-09-25 01:49:30,033 - INFO - Deleting interface with subnet_id 4989f8cc-9a96-4d1c-9d79-705c3a3b7f0f, port_id None from router 275b6f37-ca74-4ef0-8fb8-0ebd253e44bc 2025-09-25 01:49:30,207 - INFO - Deleting VM ctest-TestRoutersBasic-89543161-38543506 2025-09-25 01:49:30,276 - INFO - Deleting VM ctest-TestRoutersBasic-89543161-15050220 2025-09-25 01:49:30,347 - INFO - Deleting VN ctest-ext_vn-23258808 2025-09-25 01:49:30,411 - DEBUG - VN 33abbb59-449a-4830-93ef-3542a9de4f5f still in use: Unable to complete operation on network 33abbb59-449a-4830-93ef-3542a9de4f5f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44c929c0-89e5-471b-bb68-5a681a1830f2'] 2025-09-25 01:49:30,411 - WARNING - Deleting VN ctest-ext_vn-23258808 failed..Will retry 2025-09-25 01:49:32,507 - DEBUG - Response for deleting network () 2025-09-25 01:49:32,507 - INFO - Deleting VN ctest-vn-76054809 2025-09-25 01:49:32,603 - DEBUG - Response for deleting network () 2025-09-25 01:49:32,860 - DEBUG - No XMPP flaps were noticed during the test 2025-09-25 01:49:32,860 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-25 01:49:32,860 - INFO - -------------------------------------------------------------------------------- 2025-09-25 01:49:33,565 - INFO - Deleted project: ctest-TestRoutersBasic-89543161, ID : 16828cd7-0795-4659-9186-cbf41a548d95