2025-09-15 16:14:47,102 - INFO - Domain Default found not creating 2025-09-15 16:14:47,288 - INFO - Project ctest-TestRoutersBasic-46653355 not found, creating it 2025-09-15 16:14:47,793 - INFO - Created Project:ctest-TestRoutersBasic-46653355, ID : 5b1f9b29-771f-43e7-b1e8-d3ece6f12d60 2025-09-15 16:14:49,364 - INFO - ================================================================================ 2025-09-15 16:14:49,365 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-15 16:14:49,365 - 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-15 16:14:49,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-15 16:14:49,623 - INFO - Initial checks done. Running the testcase now 2025-09-15 16:14:49,623 - INFO - 2025-09-15 16:14:50,355 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46653355 2025-09-15 16:14:50,452 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46653355 2025-09-15 16:14:50,788 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46653355', 'default']} 2025-09-15 16:14:51,093 - DEBUG - Response for create_network : {'network': {'id': '91433912-d7e7-4db6-a792-4d170a365c2c', 'name': 'ctest-vn-15496622', 'tenant_id': '5b1f9b29771f43e7b1e8d3ece6f12d60', 'project_id': '5b1f9b29771f43e7b1e8d3ece6f12d60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46653355', 'ctest-vn-15496622'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 16:14:51,292 - DEBUG - Response for create_subnet : {'subnet': {'id': '571ddc51-eb70-4e80-93a6-16e5fca76489', 'name': '', 'tenant_id': '5b1f9b29771f43e7b1e8d3ece6f12d60', 'network_id': '91433912-d7e7-4db6-a792-4d170a365c2c', 'ip_version': 4, 'cidr': '207.18.28.128/26', 'allocation_pools': [{'start': '207.18.28.130', 'end': '207.18.28.190'}], 'gateway_ip': '207.18.28.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.18.28.130', 'tags': [], 'project_id': '5b1f9b29771f43e7b1e8d3ece6f12d60'}} 2025-09-15 16:14:51,314 - INFO - Created VN ctest-vn-15496622 2025-09-15 16:14:51,368 - DEBUG - VN ctest-vn-15496622 UUID is 91433912-d7e7-4db6-a792-4d170a365c2c 2025-09-15 16:14:51,705 - DEBUG - Response for create_network : {'network': {'id': 'ee5e40cf-4e2b-4866-aeae-d28e0b54fc79', 'name': 'ctest-ext_vn-95599277', 'tenant_id': '5b1f9b29771f43e7b1e8d3ece6f12d60', 'project_id': '5b1f9b29771f43e7b1e8d3ece6f12d60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46653355', 'ctest-ext_vn-95599277'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 16:14:51,886 - DEBUG - Response for create_subnet : {'subnet': {'id': '59cb028d-1722-4ca2-99f2-65371fe11b84', 'name': '', 'tenant_id': '5b1f9b29771f43e7b1e8d3ece6f12d60', 'network_id': 'ee5e40cf-4e2b-4866-aeae-d28e0b54fc79', 'ip_version': 4, 'cidr': '216.255.71.128/26', 'allocation_pools': [{'start': '216.255.71.130', 'end': '216.255.71.190'}], 'gateway_ip': '216.255.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.255.71.130', 'tags': [], 'project_id': '5b1f9b29771f43e7b1e8d3ece6f12d60'}} 2025-09-15 16:14:51,906 - INFO - Created VN ctest-ext_vn-95599277 2025-09-15 16:14:51,964 - DEBUG - VN ctest-ext_vn-95599277 UUID is ee5e40cf-4e2b-4866-aeae-d28e0b54fc79 2025-09-15 16:14:52,144 - DEBUG - Services list from nova: [, , ] 2025-09-15 16:14:53,223 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4118-1) 2025-09-15 16:14:54,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4118-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4118-1) 2025-09-15 16:14:54,496 - INFO - Setting gateway for router 2361f5b9-9020-4f4e-afae-07f612327dfe to network ee5e40cf-4e2b-4866-aeae-d28e0b54fc79 2025-09-15 16:14:54,577 - INFO - Adding interface with subnet_id 571ddc51-eb70-4e80-93a6-16e5fca76489, port_id None to router 2361f5b9-9020-4f4e-afae-07f612327dfe 2025-09-15 16:14:54,980 - INFO - Waiting for VM ctest-TestRoutersBasic-46653355-28381978 to be up.. 2025-09-15 16:14:55,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 16:15:00,293 - DEBUG - VM is in ACTIVE state now 2025-09-15 16:15:00,293 - INFO - VM name : ctest-TestRoutersBasic-46653355-28381978 2025-09-15 16:15:00,376 - DEBUG - VM ctest-TestRoutersBasic-46653355-28381978 ID is a3ee9a87-e74f-4803-aae5-5b566b86338c 2025-09-15 16:15:00,401 - DEBUG - VM ctest-TestRoutersBasic-46653355-28381978 launched on Node cn-jenkins-deploy-platform-ansible-os-4118-1 2025-09-15 16:15:00,484 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a3ee9a87-e74f-4803-aae5-5b566b86338c 2025-09-15 16:15:00,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a3ee9a87-e74f-4803-aae5-5b566b86338c 2025-09-15 16:15:00,849 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4f011b88-ca5b-4e22-a02c-9bdb6d069fc9 2025-09-15 16:15:04,139 - 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 1026ms') 2025-09-15 16:15:04,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46653355-28381978 failed! 2025-09-15 16:15:04,196 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46653355:ctest-vn-15496622 is 207.18.28.129 and allocation pool is NOT set 2025-09-15 16:15:06,254 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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 = 1.418/2.770/4.123/1.352 ms') 2025-09-15 16:15:06,254 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46653355-28381978 passed 2025-09-15 16:15:06,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:15:06,408 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46653355-28381978, IP 207.18.28.131, Port 22 2025-09-15 16:15:06,582 - DEBUG - VM ctest-TestRoutersBasic-46653355-28381978 is ready for SSH connections 2025-09-15 16:15:06,582 - INFO - Waiting for VM ctest-TestRoutersBasic-46653355-35009851 to be up.. 2025-09-15 16:15:06,667 - DEBUG - VM is in ACTIVE state now 2025-09-15 16:15:06,668 - INFO - VM name : ctest-TestRoutersBasic-46653355-35009851 2025-09-15 16:15:06,756 - DEBUG - VM ctest-TestRoutersBasic-46653355-35009851 ID is a2f23e6e-bfcf-4f39-826c-5130fb722fc1 2025-09-15 16:15:06,756 - DEBUG - VM ctest-TestRoutersBasic-46653355-35009851 launched on Node cn-jenkins-deploy-platform-ansible-os-4118-1 2025-09-15 16:15:06,856 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a2f23e6e-bfcf-4f39-826c-5130fb722fc1 2025-09-15 16:15:06,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5fa620d2-afdc-4581-bdbd-aff2e8b565d7 2025-09-15 16:15:08,126 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/2.041/3.611/1.569 ms') 2025-09-15 16:15:08,126 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46653355-35009851 passed 2025-09-15 16:15:08,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:15:08,276 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46653355-35009851, IP 216.255.71.131, Port 22 2025-09-15 16:15:08,439 - DEBUG - VM ctest-TestRoutersBasic-46653355-35009851 is ready for SSH connections 2025-09-15 16:15:08,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 16:15:08,439 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.255.71.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-15 16:15:08,439 - DEBUG - ping -s 56 -c 3 -W 1 216.255.71.131 2025-09-15 16:15:12,226 - DEBUG - PING 216.255.71.131 (216.255.71.131): 56 data bytes 64 bytes from 216.255.71.131: seq=0 ttl=62 time=9.525 ms 64 bytes from 216.255.71.131: seq=1 ttl=62 time=1.515 ms 64 bytes from 216.255.71.131: seq=2 ttl=62 time=1.266 ms --- 216.255.71.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.266/4.102/9.525 ms 2025-09-15 16:15:12,226 - INFO - Ping to IP 216.255.71.131 from VM ctest-TestRoutersBasic-46653355-28381978 passed 2025-09-15 16:15:12,227 - INFO - Deleting interface with subnet_id 571ddc51-eb70-4e80-93a6-16e5fca76489, port_id None from router 2361f5b9-9020-4f4e-afae-07f612327dfe 2025-09-15 16:15:12,446 - INFO - Deleting VM ctest-TestRoutersBasic-46653355-35009851 2025-09-15 16:15:12,530 - INFO - Deleting VM ctest-TestRoutersBasic-46653355-28381978 2025-09-15 16:15:12,620 - INFO - Deleting VN ctest-ext_vn-95599277 2025-09-15 16:15:12,697 - DEBUG - VN ee5e40cf-4e2b-4866-aeae-d28e0b54fc79 still in use: Unable to complete operation on network ee5e40cf-4e2b-4866-aeae-d28e0b54fc79. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6f2649b1-6c27-48b2-adc4-d3a18cfa4208'] 2025-09-15 16:15:12,697 - WARNING - Deleting VN ctest-ext_vn-95599277 failed..Will retry 2025-09-15 16:15:14,816 - DEBUG - Response for deleting network () 2025-09-15 16:15:14,816 - INFO - Deleting VN ctest-vn-15496622 2025-09-15 16:15:14,948 - DEBUG - Response for deleting network () 2025-09-15 16:15:15,216 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 16:15:15,216 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-15 16:15:15,216 - INFO - -------------------------------------------------------------------------------- 2025-09-15 16:15:15,914 - INFO - Deleted project: ctest-TestRoutersBasic-46653355, ID : 5b1f9b29-771f-43e7-b1e8-d3ece6f12d60