2025-08-14 14:27:39,766 - INFO - Domain Default found not creating 2025-08-14 14:27:39,913 - INFO - Project ctest-TestRoutersBasic-94726215 not found, creating it 2025-08-14 14:27:40,398 - INFO - Created Project:ctest-TestRoutersBasic-94726215, ID : 7381f5e6-a3e3-42e4-8482-76a8b40d2e41 2025-08-14 14:27:41,917 - INFO - ================================================================================ 2025-08-14 14:27:41,917 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-14 14:27:41,917 - 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-14 14:27:42,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.0.0.249': '0'}} with 2025-08-14 14:27:42,179 - INFO - Initial checks done. Running the testcase now 2025-08-14 14:27:42,179 - INFO - 2025-08-14 14:27:42,952 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-94726215 2025-08-14 14:27:43,049 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-94726215 2025-08-14 14:27:43,381 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94726215', 'default']} 2025-08-14 14:27:43,696 - DEBUG - Response for create_network : {'network': {'id': '11cc7a3a-862d-4f6e-9674-b8bc14676e4f', 'name': 'ctest-vn-81238128', 'tenant_id': '7381f5e6a3e342e4848276a8b40d2e41', 'project_id': '7381f5e6a3e342e4848276a8b40d2e41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94726215', 'ctest-vn-81238128'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:27:43,860 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4b97a28-f3d4-465b-a2f5-b9ef742cc972', 'name': '', 'tenant_id': '7381f5e6a3e342e4848276a8b40d2e41', 'network_id': '11cc7a3a-862d-4f6e-9674-b8bc14676e4f', 'ip_version': 4, 'cidr': '109.46.44.64/26', 'allocation_pools': [{'start': '109.46.44.66', 'end': '109.46.44.126'}], 'gateway_ip': '109.46.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.46.44.66', 'tags': [], 'project_id': '7381f5e6a3e342e4848276a8b40d2e41'}} 2025-08-14 14:27:43,877 - INFO - Created VN ctest-vn-81238128 2025-08-14 14:27:43,929 - DEBUG - VN ctest-vn-81238128 UUID is 11cc7a3a-862d-4f6e-9674-b8bc14676e4f 2025-08-14 14:27:44,278 - DEBUG - Response for create_network : {'network': {'id': '06a90d52-d99a-485e-80f2-1b79add95291', 'name': 'ctest-ext_vn-82291792', 'tenant_id': '7381f5e6a3e342e4848276a8b40d2e41', 'project_id': '7381f5e6a3e342e4848276a8b40d2e41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-94726215', 'ctest-ext_vn-82291792'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 14:27:44,483 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4e11dae-66ee-4de5-964b-14dff79178cb', 'name': '', 'tenant_id': '7381f5e6a3e342e4848276a8b40d2e41', 'network_id': '06a90d52-d99a-485e-80f2-1b79add95291', 'ip_version': 4, 'cidr': '76.21.146.64/26', 'allocation_pools': [{'start': '76.21.146.66', 'end': '76.21.146.126'}], 'gateway_ip': '76.21.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.21.146.66', 'tags': [], 'project_id': '7381f5e6a3e342e4848276a8b40d2e41'}} 2025-08-14 14:27:44,502 - INFO - Created VN ctest-ext_vn-82291792 2025-08-14 14:27:44,557 - DEBUG - VN ctest-ext_vn-82291792 UUID is 06a90d52-d99a-485e-80f2-1b79add95291 2025-08-14 14:27:44,766 - DEBUG - Services list from nova: [, , ] 2025-08-14 14:27:45,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:27:47,076 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3856-1) 2025-08-14 14:27:47,150 - INFO - Setting gateway for router 371f5dee-d542-4200-9d1a-d1f64fbe86cf to network 06a90d52-d99a-485e-80f2-1b79add95291 2025-08-14 14:27:47,217 - INFO - Adding interface with subnet_id b4b97a28-f3d4-465b-a2f5-b9ef742cc972, port_id None to router 371f5dee-d542-4200-9d1a-d1f64fbe86cf 2025-08-14 14:27:47,592 - INFO - Waiting for VM ctest-TestRoutersBasic-94726215-39678765 to be up.. 2025-08-14 14:27:47,745 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 14:27:52,822 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:27:52,822 - INFO - VM name : ctest-TestRoutersBasic-94726215-39678765 2025-08-14 14:27:52,894 - DEBUG - VM ctest-TestRoutersBasic-94726215-39678765 ID is 4832475e-0503-4133-9b0c-01af058e4fb6 2025-08-14 14:27:52,912 - DEBUG - VM ctest-TestRoutersBasic-94726215-39678765 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:27:52,983 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4832475e-0503-4133-9b0c-01af058e4fb6 2025-08-14 14:27:53,314 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4832475e-0503-4133-9b0c-01af058e4fb6 2025-08-14 14:27:53,346 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fbf5df97-cafe-4da0-8e99-3e26c8812bcb 2025-08-14 14:27:56,604 - 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 1023ms') 2025-08-14 14:27:56,604 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94726215-39678765 failed! 2025-08-14 14:27:56,661 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-94726215:ctest-vn-81238128 is 109.46.44.65 and allocation pool is NOT set 2025-08-14 14:27:58,719 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.432/1.564/2.697/1.132 ms') 2025-08-14 14:27:58,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-94726215-39678765 passed 2025-08-14 14:27:58,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:27:58,873 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94726215-39678765, IP 109.46.44.67, Port 22 2025-08-14 14:27:59,029 - DEBUG - VM ctest-TestRoutersBasic-94726215-39678765 is ready for SSH connections 2025-08-14 14:27:59,029 - INFO - Waiting for VM ctest-TestRoutersBasic-94726215-48340904 to be up.. 2025-08-14 14:27:59,106 - DEBUG - VM is in ACTIVE state now 2025-08-14 14:27:59,106 - INFO - VM name : ctest-TestRoutersBasic-94726215-48340904 2025-08-14 14:27:59,178 - DEBUG - VM ctest-TestRoutersBasic-94726215-48340904 ID is 0c09d2c0-427c-4fba-ba83-338f6e62871a 2025-08-14 14:27:59,178 - DEBUG - VM ctest-TestRoutersBasic-94726215-48340904 launched on Node cn-jenkins-deploy-platform-ansible-os-3856-1. 2025-08-14 14:27:59,254 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0c09d2c0-427c-4fba-ba83-338f6e62871a 2025-08-14 14:27:59,263 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b2f8cfb1-c981-45d8-b4d5-afba30593d6e 2025-08-14 14:28:00,496 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.770/3.177/1.407 ms') 2025-08-14 14:28:00,496 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-94726215-48340904 passed 2025-08-14 14:28:00,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:28:00,649 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-94726215-48340904, IP 76.21.146.67, Port 22 2025-08-14 14:28:00,809 - DEBUG - VM ctest-TestRoutersBasic-94726215-48340904 is ready for SSH connections 2025-08-14 14:28:00,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 14:28:00,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.21.146.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-14 14:28:00,809 - DEBUG - ping -s 56 -c 3 -W 1 76.21.146.67 2025-08-14 14:28:04,512 - DEBUG - PING 76.21.146.67 (76.21.146.67): 56 data bytes 64 bytes from 76.21.146.67: seq=0 ttl=62 time=5.661 ms 64 bytes from 76.21.146.67: seq=1 ttl=62 time=0.911 ms 64 bytes from 76.21.146.67: seq=2 ttl=62 time=0.953 ms --- 76.21.146.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.508/5.661 ms 2025-08-14 14:28:04,513 - INFO - Ping to IP 76.21.146.67 from VM ctest-TestRoutersBasic-94726215-39678765 passed 2025-08-14 14:28:04,513 - INFO - Deleting interface with subnet_id b4b97a28-f3d4-465b-a2f5-b9ef742cc972, port_id None from router 371f5dee-d542-4200-9d1a-d1f64fbe86cf 2025-08-14 14:28:04,711 - INFO - Deleting VM ctest-TestRoutersBasic-94726215-48340904 2025-08-14 14:28:04,779 - INFO - Deleting VM ctest-TestRoutersBasic-94726215-39678765 2025-08-14 14:28:04,863 - INFO - Deleting VN ctest-ext_vn-82291792 2025-08-14 14:28:04,941 - DEBUG - VN 06a90d52-d99a-485e-80f2-1b79add95291 still in use: Unable to complete operation on network 06a90d52-d99a-485e-80f2-1b79add95291. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e2d0828-a51d-4f3c-9786-d4e382bdd898'] 2025-08-14 14:28:04,941 - WARNING - Deleting VN ctest-ext_vn-82291792 failed..Will retry 2025-08-14 14:28:07,043 - DEBUG - Response for deleting network () 2025-08-14 14:28:07,043 - INFO - Deleting VN ctest-vn-81238128 2025-08-14 14:28:07,146 - DEBUG - Response for deleting network () 2025-08-14 14:28:07,398 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 14:28:07,398 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-14 14:28:07,398 - INFO - -------------------------------------------------------------------------------- 2025-08-14 14:28:08,084 - INFO - Deleted project: ctest-TestRoutersBasic-94726215, ID : 7381f5e6-a3e3-42e4-8482-76a8b40d2e41