2025-09-12 19:15:22,545 - INFO - Domain Default found not creating 2025-09-12 19:15:22,701 - INFO - Project ctest-TestRoutersBasic-80325843 not found, creating it 2025-09-12 19:15:23,183 - INFO - Created Project:ctest-TestRoutersBasic-80325843, ID : 6e23d070-f0e1-4eba-92bc-246060be1c34 2025-09-12 19:15:24,653 - INFO - ================================================================================ 2025-09-12 19:15:24,654 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-12 19:15:24,654 - 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-12 19:15:24,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-12 19:15:24,915 - INFO - Initial checks done. Running the testcase now 2025-09-12 19:15:24,915 - INFO - 2025-09-12 19:15:25,620 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80325843 2025-09-12 19:15:25,715 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80325843 2025-09-12 19:15:26,034 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80325843', 'default']} 2025-09-12 19:15:26,321 - DEBUG - Response for create_network : {'network': {'id': 'f78527df-28ca-4001-81a4-41d6fb3f24e9', 'name': 'ctest-vn-67581296', 'tenant_id': '6e23d070f0e14eba92bc246060be1c34', 'project_id': '6e23d070f0e14eba92bc246060be1c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80325843', 'ctest-vn-67581296'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:15:26,532 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4678dc2-060a-441f-bb92-8b15ebd9fd93', 'name': '', 'tenant_id': '6e23d070f0e14eba92bc246060be1c34', 'network_id': 'f78527df-28ca-4001-81a4-41d6fb3f24e9', 'ip_version': 4, 'cidr': '144.70.99.0/26', 'allocation_pools': [{'start': '144.70.99.2', 'end': '144.70.99.62'}], 'gateway_ip': '144.70.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.70.99.2', 'tags': [], 'project_id': '6e23d070f0e14eba92bc246060be1c34'}} 2025-09-12 19:15:26,549 - INFO - Created VN ctest-vn-67581296 2025-09-12 19:15:26,598 - DEBUG - VN ctest-vn-67581296 UUID is f78527df-28ca-4001-81a4-41d6fb3f24e9 2025-09-12 19:15:26,897 - DEBUG - Response for create_network : {'network': {'id': '8056639e-fa0f-43d4-bed5-9f0d8e7563f4', 'name': 'ctest-ext_vn-31405503', 'tenant_id': '6e23d070f0e14eba92bc246060be1c34', 'project_id': '6e23d070f0e14eba92bc246060be1c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80325843', 'ctest-ext_vn-31405503'], 'port_security_enabled': True, 'description': ''}} 2025-09-12 19:15:27,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '9609d9d1-300f-4035-a3ae-157abecfc08d', 'name': '', 'tenant_id': '6e23d070f0e14eba92bc246060be1c34', 'network_id': '8056639e-fa0f-43d4-bed5-9f0d8e7563f4', 'ip_version': 4, 'cidr': '218.50.250.192/26', 'allocation_pools': [{'start': '218.50.250.194', 'end': '218.50.250.254'}], 'gateway_ip': '218.50.250.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.50.250.194', 'tags': [], 'project_id': '6e23d070f0e14eba92bc246060be1c34'}} 2025-09-12 19:15:27,067 - INFO - Created VN ctest-ext_vn-31405503 2025-09-12 19:15:27,119 - DEBUG - VN ctest-ext_vn-31405503 UUID is 8056639e-fa0f-43d4-bed5-9f0d8e7563f4 2025-09-12 19:15:27,324 - DEBUG - Services list from nova: [, , ] 2025-09-12 19:15:28,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:15:29,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4099-1) 2025-09-12 19:15:29,534 - INFO - Setting gateway for router 5bf0940c-58be-4827-aaf7-fd4196e9304e to network 8056639e-fa0f-43d4-bed5-9f0d8e7563f4 2025-09-12 19:15:29,583 - INFO - Adding interface with subnet_id b4678dc2-060a-441f-bb92-8b15ebd9fd93, port_id None to router 5bf0940c-58be-4827-aaf7-fd4196e9304e 2025-09-12 19:15:29,860 - INFO - Waiting for VM ctest-TestRoutersBasic-80325843-74055441 to be up.. 2025-09-12 19:15:29,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-12 19:15:35,058 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:15:35,058 - INFO - VM name : ctest-TestRoutersBasic-80325843-74055441 2025-09-12 19:15:35,132 - DEBUG - VM ctest-TestRoutersBasic-80325843-74055441 ID is 37f55446-c24f-4e61-b213-4b827ba0be32 2025-09-12 19:15:35,157 - DEBUG - VM ctest-TestRoutersBasic-80325843-74055441 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:15:35,238 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/37f55446-c24f-4e61-b213-4b827ba0be32 2025-09-12 19:15:35,545 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/37f55446-c24f-4e61-b213-4b827ba0be32 2025-09-12 19:15:35,578 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6f4576ac-b7f9-4f7c-a0cc-0d5403d23773 2025-09-12 19:15:38,810 - 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 1002ms') 2025-09-12 19:15:38,810 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80325843-74055441 failed! 2025-09-12 19:15:38,867 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80325843:ctest-vn-67581296 is 144.70.99.1 and allocation pool is NOT set 2025-09-12 19:15:40,925 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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.506/2.034/3.563/1.528 ms') 2025-09-12 19:15:40,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80325843-74055441 passed 2025-09-12 19:15:41,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:41,075 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80325843-74055441, IP 144.70.99.3, Port 22 2025-09-12 19:15:41,234 - DEBUG - VM ctest-TestRoutersBasic-80325843-74055441 is ready for SSH connections 2025-09-12 19:15:41,234 - INFO - Waiting for VM ctest-TestRoutersBasic-80325843-88286682 to be up.. 2025-09-12 19:15:41,305 - DEBUG - VM is in ACTIVE state now 2025-09-12 19:15:41,305 - INFO - VM name : ctest-TestRoutersBasic-80325843-88286682 2025-09-12 19:15:41,375 - DEBUG - VM ctest-TestRoutersBasic-80325843-88286682 ID is 6d5eef32-5aea-4ddc-9d98-024fc7efb90d 2025-09-12 19:15:41,375 - DEBUG - VM ctest-TestRoutersBasic-80325843-88286682 launched on Node cn-jenkins-deploy-platform-ansible-os-4099-1 2025-09-12 19:15:41,449 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6d5eef32-5aea-4ddc-9d98-024fc7efb90d 2025-09-12 19:15:41,457 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/023fc9d9-4c97-4478-ae75-38b8b174e064 2025-09-12 19:15:42,699 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.573 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.573/1.739/2.905/1.166 ms') 2025-09-12 19:15:42,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-80325843-88286682 passed 2025-09-12 19:15:42,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:42,855 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80325843-88286682, IP 218.50.250.195, Port 22 2025-09-12 19:15:43,014 - DEBUG - VM ctest-TestRoutersBasic-80325843-88286682 is ready for SSH connections 2025-09-12 19:15:43,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-12 19:15:43,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.50.250.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-12 19:15:43,014 - DEBUG - ping -s 56 -c 3 -W 1 218.50.250.195 2025-09-12 19:15:46,734 - DEBUG - PING 218.50.250.195 (218.50.250.195): 56 data bytes 64 bytes from 218.50.250.195: seq=0 ttl=62 time=7.964 ms 64 bytes from 218.50.250.195: seq=1 ttl=62 time=0.849 ms 64 bytes from 218.50.250.195: seq=2 ttl=62 time=1.164 ms --- 218.50.250.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/3.325/7.964 ms 2025-09-12 19:15:46,734 - INFO - Ping to IP 218.50.250.195 from VM ctest-TestRoutersBasic-80325843-74055441 passed 2025-09-12 19:15:46,734 - INFO - Deleting interface with subnet_id b4678dc2-060a-441f-bb92-8b15ebd9fd93, port_id None from router 5bf0940c-58be-4827-aaf7-fd4196e9304e 2025-09-12 19:15:46,940 - INFO - Deleting VM ctest-TestRoutersBasic-80325843-88286682 2025-09-12 19:15:47,008 - INFO - Deleting VM ctest-TestRoutersBasic-80325843-74055441 2025-09-12 19:15:47,091 - INFO - Deleting VN ctest-ext_vn-31405503 2025-09-12 19:15:47,156 - DEBUG - VN 8056639e-fa0f-43d4-bed5-9f0d8e7563f4 still in use: Unable to complete operation on network 8056639e-fa0f-43d4-bed5-9f0d8e7563f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e02e355-727c-454f-996d-82c8699aeb83'] 2025-09-12 19:15:47,157 - WARNING - Deleting VN ctest-ext_vn-31405503 failed..Will retry 2025-09-12 19:15:49,279 - DEBUG - Response for deleting network () 2025-09-12 19:15:49,279 - INFO - Deleting VN ctest-vn-67581296 2025-09-12 19:15:49,387 - DEBUG - Response for deleting network () 2025-09-12 19:15:49,640 - DEBUG - No XMPP flaps were noticed during the test 2025-09-12 19:15:49,641 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-12 19:15:49,641 - INFO - -------------------------------------------------------------------------------- 2025-09-12 19:15:50,333 - INFO - Deleted project: ctest-TestRoutersBasic-80325843, ID : 6e23d070-f0e1-4eba-92bc-246060be1c34