2025-06-24 08:44:11,638 - INFO - Domain Default found not creating 2025-06-24 08:44:11,769 - INFO - Project ctest-TestRoutersBasic-19579873 not found, creating it 2025-06-24 08:44:12,202 - INFO - Created Project:ctest-TestRoutersBasic-19579873, ID : ce2a4be0-5058-4527-9437-a8c4ba0699d5 2025-06-24 08:44:13,600 - INFO - ================================================================================ 2025-06-24 08:44:13,600 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-24 08:44:13,600 - 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-06-24 08:44:13,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-24 08:44:13,856 - INFO - Initial checks done. Running the testcase now 2025-06-24 08:44:13,856 - INFO - 2025-06-24 08:44:14,556 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19579873 2025-06-24 08:44:14,653 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19579873 2025-06-24 08:44:14,988 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19579873', 'default']} 2025-06-24 08:44:15,286 - DEBUG - Response for create_network : {'network': {'id': '44e9de99-f7c3-402d-9006-3971fa5400ac', 'name': 'ctest-vn-99932209', 'tenant_id': 'ce2a4be0505845279437a8c4ba0699d5', 'project_id': 'ce2a4be0505845279437a8c4ba0699d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19579873', 'ctest-vn-99932209'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:44:15,507 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a4b6fb9-b6ac-4fcd-a6c3-3312d204d407', 'name': '', 'tenant_id': 'ce2a4be0505845279437a8c4ba0699d5', 'network_id': '44e9de99-f7c3-402d-9006-3971fa5400ac', 'ip_version': 4, 'cidr': '205.164.149.64/26', 'allocation_pools': [{'start': '205.164.149.66', 'end': '205.164.149.126'}], 'gateway_ip': '205.164.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.164.149.66', 'tags': [], 'project_id': 'ce2a4be0505845279437a8c4ba0699d5'}} 2025-06-24 08:44:15,526 - INFO - Created VN ctest-vn-99932209 2025-06-24 08:44:15,577 - DEBUG - VN ctest-vn-99932209 UUID is 44e9de99-f7c3-402d-9006-3971fa5400ac 2025-06-24 08:44:15,926 - DEBUG - Response for create_network : {'network': {'id': '9bce9c80-8fa5-4e53-ac5a-5ffac751768f', 'name': 'ctest-ext_vn-90983255', 'tenant_id': 'ce2a4be0505845279437a8c4ba0699d5', 'project_id': 'ce2a4be0505845279437a8c4ba0699d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19579873', 'ctest-ext_vn-90983255'], 'port_security_enabled': True, 'description': ''}} 2025-06-24 08:44:16,117 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6a2b8d3-d0cb-40dd-8a11-66865478688d', 'name': '', 'tenant_id': 'ce2a4be0505845279437a8c4ba0699d5', 'network_id': '9bce9c80-8fa5-4e53-ac5a-5ffac751768f', 'ip_version': 4, 'cidr': '68.175.122.192/26', 'allocation_pools': [{'start': '68.175.122.194', 'end': '68.175.122.254'}], 'gateway_ip': '68.175.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.175.122.194', 'tags': [], 'project_id': 'ce2a4be0505845279437a8c4ba0699d5'}} 2025-06-24 08:44:16,140 - INFO - Created VN ctest-ext_vn-90983255 2025-06-24 08:44:16,197 - DEBUG - VN ctest-ext_vn-90983255 UUID is 9bce9c80-8fa5-4e53-ac5a-5ffac751768f 2025-06-24 08:44:16,373 - DEBUG - Services list from nova: [, , ] 2025-06-24 08:44:17,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3528-1) 2025-06-24 08:44:18,678 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3528-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3528-1) 2025-06-24 08:44:18,770 - INFO - Setting gateway for router ee2fd6fa-64a0-4b87-bc73-335bda7f9f31 to network 9bce9c80-8fa5-4e53-ac5a-5ffac751768f 2025-06-24 08:44:18,885 - INFO - Adding interface with subnet_id 9a4b6fb9-b6ac-4fcd-a6c3-3312d204d407, port_id None to router ee2fd6fa-64a0-4b87-bc73-335bda7f9f31 2025-06-24 08:44:19,317 - INFO - Waiting for VM ctest-TestRoutersBasic-19579873-29905222 to be up.. 2025-06-24 08:44:19,449 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-24 08:44:24,526 - DEBUG - VM is in ACTIVE state now 2025-06-24 08:44:24,527 - INFO - VM name : ctest-TestRoutersBasic-19579873-29905222 2025-06-24 08:44:24,613 - DEBUG - VM ctest-TestRoutersBasic-19579873-29905222 ID is f57beac2-2420-486e-be25-ff745ab97a00 2025-06-24 08:44:24,635 - DEBUG - VM ctest-TestRoutersBasic-19579873-29905222 launched on Node cn-jenkins-deploy-platform-ansible-os-3528-1 2025-06-24 08:44:24,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f57beac2-2420-486e-be25-ff745ab97a00 2025-06-24 08:44:25,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f57beac2-2420-486e-be25-ff745ab97a00 2025-06-24 08:44:25,044 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5470193-654b-4db0-8c69-37c1efcff7ab 2025-06-24 08:44:28,306 - 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 1015ms') 2025-06-24 08:44:28,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19579873-29905222 failed! 2025-06-24 08:44:28,365 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19579873:ctest-vn-99932209 is 205.164.149.65 and allocation pool is NOT set 2025-06-24 08:44:30,428 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.535 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.535/1.836/3.138/1.301 ms') 2025-06-24 08:44:30,428 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19579873-29905222 passed 2025-06-24 08:44:30,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:44:30,585 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19579873-29905222, IP 205.164.149.67, Port 22 2025-06-24 08:44:30,751 - DEBUG - VM ctest-TestRoutersBasic-19579873-29905222 is ready for SSH connections 2025-06-24 08:44:30,751 - INFO - Waiting for VM ctest-TestRoutersBasic-19579873-16736116 to be up.. 2025-06-24 08:44:30,842 - DEBUG - VM is in ACTIVE state now 2025-06-24 08:44:30,842 - INFO - VM name : ctest-TestRoutersBasic-19579873-16736116 2025-06-24 08:44:30,924 - DEBUG - VM ctest-TestRoutersBasic-19579873-16736116 ID is 56785eac-5511-4a9a-85cd-748938d9b33f 2025-06-24 08:44:30,925 - DEBUG - VM ctest-TestRoutersBasic-19579873-16736116 launched on Node cn-jenkins-deploy-platform-ansible-os-3528-1 2025-06-24 08:44:31,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/56785eac-5511-4a9a-85cd-748938d9b33f 2025-06-24 08:44:31,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e19470e9-8c2b-44e4-b0d5-70fb16ef8a43 2025-06-24 08:44:32,254 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.333 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.333/1.845/3.357/1.512 ms') 2025-06-24 08:44:32,254 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19579873-16736116 passed 2025-06-24 08:44:32,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:44:32,409 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19579873-16736116, IP 68.175.122.195, Port 22 2025-06-24 08:44:32,580 - DEBUG - VM ctest-TestRoutersBasic-19579873-16736116 is ready for SSH connections 2025-06-24 08:44:32,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-24 08:44:32,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.175.122.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-24 08:44:32,580 - DEBUG - ping -s 56 -c 3 -W 1 68.175.122.195 2025-06-24 08:44:36,334 - DEBUG - PING 68.175.122.195 (68.175.122.195): 56 data bytes 64 bytes from 68.175.122.195: seq=0 ttl=62 time=8.029 ms 64 bytes from 68.175.122.195: seq=1 ttl=62 time=0.896 ms 64 bytes from 68.175.122.195: seq=2 ttl=62 time=0.795 ms --- 68.175.122.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.795/3.240/8.029 ms 2025-06-24 08:44:36,334 - INFO - Ping to IP 68.175.122.195 from VM ctest-TestRoutersBasic-19579873-29905222 passed 2025-06-24 08:44:36,334 - INFO - Deleting interface with subnet_id 9a4b6fb9-b6ac-4fcd-a6c3-3312d204d407, port_id None from router ee2fd6fa-64a0-4b87-bc73-335bda7f9f31 2025-06-24 08:44:36,518 - INFO - Deleting VM ctest-TestRoutersBasic-19579873-16736116 2025-06-24 08:44:36,584 - INFO - Deleting VM ctest-TestRoutersBasic-19579873-29905222 2025-06-24 08:44:36,654 - INFO - Deleting VN ctest-ext_vn-90983255 2025-06-24 08:44:36,728 - DEBUG - VN 9bce9c80-8fa5-4e53-ac5a-5ffac751768f still in use: Unable to complete operation on network 9bce9c80-8fa5-4e53-ac5a-5ffac751768f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a8bb5420-5525-4f10-96ec-520c7eaf5fa5'] 2025-06-24 08:44:36,728 - WARNING - Deleting VN ctest-ext_vn-90983255 failed..Will retry 2025-06-24 08:44:38,854 - DEBUG - Response for deleting network () 2025-06-24 08:44:38,855 - INFO - Deleting VN ctest-vn-99932209 2025-06-24 08:44:38,981 - DEBUG - Response for deleting network () 2025-06-24 08:44:39,234 - DEBUG - No XMPP flaps were noticed during the test
2025-06-24 08:44:39,234 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-06-24 08:44:39,234 - INFO - -------------------------------------------------------------------------------- 2025-06-24 08:44:39,922 - INFO - Deleted project: ctest-TestRoutersBasic-19579873, ID : ce2a4be0-5058-4527-9437-a8c4ba0699d5