2025-06-26 02:11:01,352 - INFO - Domain Default found not creating 2025-06-26 02:11:01,484 - INFO - Project ctest-TestRoutersBasic-15198466 not found, creating it 2025-06-26 02:11:01,962 - INFO - Created Project:ctest-TestRoutersBasic-15198466, ID : 87f17204-7e4e-480c-a910-46f1f89526e4 2025-06-26 02:11:03,364 - INFO - ================================================================================ 2025-06-26 02:11:03,364 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-26 02:11:03,364 - 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-26 02:11:03,620 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.193': '0'}} with 2025-06-26 02:11:03,620 - INFO - Initial checks done. Running the testcase now 2025-06-26 02:11:03,620 - INFO - 2025-06-26 02:11:04,307 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-15198466 2025-06-26 02:11:04,401 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-15198466 2025-06-26 02:11:04,721 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15198466', 'default']} 2025-06-26 02:11:05,001 - DEBUG - Response for create_network : {'network': {'id': '2fc75292-0226-4fcd-ab7c-66bdf7f88301', 'name': 'ctest-vn-82173459', 'tenant_id': '87f172047e4e480ca91046f1f89526e4', 'project_id': '87f172047e4e480ca91046f1f89526e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15198466', 'ctest-vn-82173459'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:05,192 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb2601be-ded7-43af-acf1-cf2848e935bc', 'name': '', 'tenant_id': '87f172047e4e480ca91046f1f89526e4', 'network_id': '2fc75292-0226-4fcd-ab7c-66bdf7f88301', 'ip_version': 4, 'cidr': '54.123.69.128/26', 'allocation_pools': [{'start': '54.123.69.130', 'end': '54.123.69.190'}], 'gateway_ip': '54.123.69.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.123.69.130', 'tags': [], 'project_id': '87f172047e4e480ca91046f1f89526e4'}} 2025-06-26 02:11:05,211 - INFO - Created VN ctest-vn-82173459 2025-06-26 02:11:05,266 - DEBUG - VN ctest-vn-82173459 UUID is 2fc75292-0226-4fcd-ab7c-66bdf7f88301 2025-06-26 02:11:05,626 - DEBUG - Response for create_network : {'network': {'id': '3cd511db-5b47-4501-8d2b-21ee97639a22', 'name': 'ctest-ext_vn-78970799', 'tenant_id': '87f172047e4e480ca91046f1f89526e4', 'project_id': '87f172047e4e480ca91046f1f89526e4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-15198466', 'ctest-ext_vn-78970799'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 02:11:05,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '9582f18d-08b3-461d-8993-64ddf1f95d30', 'name': '', 'tenant_id': '87f172047e4e480ca91046f1f89526e4', 'network_id': '3cd511db-5b47-4501-8d2b-21ee97639a22', 'ip_version': 4, 'cidr': '17.170.17.192/26', 'allocation_pools': [{'start': '17.170.17.194', 'end': '17.170.17.254'}], 'gateway_ip': '17.170.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.170.17.194', 'tags': [], 'project_id': '87f172047e4e480ca91046f1f89526e4'}} 2025-06-26 02:11:05,817 - INFO - Created VN ctest-ext_vn-78970799 2025-06-26 02:11:05,869 - DEBUG - VN ctest-ext_vn-78970799 UUID is 3cd511db-5b47-4501-8d2b-21ee97639a22 2025-06-26 02:11:06,137 - DEBUG - Services list from nova: [, , ] 2025-06-26 02:11:07,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3556-1) 2025-06-26 02:11:08,212 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3556-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3556-1) 2025-06-26 02:11:08,296 - INFO - Setting gateway for router 41d8717e-1616-4255-869f-7ac6f57c7d20 to network 3cd511db-5b47-4501-8d2b-21ee97639a22 2025-06-26 02:11:08,374 - INFO - Adding interface with subnet_id bb2601be-ded7-43af-acf1-cf2848e935bc, port_id None to router 41d8717e-1616-4255-869f-7ac6f57c7d20 2025-06-26 02:11:08,820 - INFO - Waiting for VM ctest-TestRoutersBasic-15198466-49122755 to be up.. 2025-06-26 02:11:08,921 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 02:11:13,999 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:11:13,999 - INFO - VM name : ctest-TestRoutersBasic-15198466-49122755 2025-06-26 02:11:14,078 - DEBUG - VM ctest-TestRoutersBasic-15198466-49122755 ID is 5cb6efe0-2da9-443f-b526-6b3b49814b66 2025-06-26 02:11:14,095 - DEBUG - VM ctest-TestRoutersBasic-15198466-49122755 launched on Node cn-jenkins-deploy-platform-ansible-os-3556-1 2025-06-26 02:11:14,171 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5cb6efe0-2da9-443f-b526-6b3b49814b66 2025-06-26 02:11:14,459 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5cb6efe0-2da9-443f-b526-6b3b49814b66 2025-06-26 02:11:14,488 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/16d65f68-fe6d-4d36-9d71-eb8753dbe5f6 2025-06-26 02:11:17,758 - 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 1021ms') 2025-06-26 02:11:17,758 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15198466-49122755 failed! 2025-06-26 02:11:17,813 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-15198466:ctest-vn-82173459 is 54.123.69.129 and allocation pool is NOT set 2025-06-26 02:11:19,872 - 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.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 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.401/1.606/2.811/1.205 ms') 2025-06-26 02:11:19,872 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-15198466-49122755 passed 2025-06-26 02:11:20,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:11:20,025 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15198466-49122755, IP 54.123.69.131, Port 22 2025-06-26 02:11:20,196 - DEBUG - VM ctest-TestRoutersBasic-15198466-49122755 is ready for SSH connections 2025-06-26 02:11:20,196 - INFO - Waiting for VM ctest-TestRoutersBasic-15198466-84199247 to be up.. 2025-06-26 02:11:20,274 - DEBUG - VM is in ACTIVE state now 2025-06-26 02:11:20,274 - INFO - VM name : ctest-TestRoutersBasic-15198466-84199247 2025-06-26 02:11:20,351 - DEBUG - VM ctest-TestRoutersBasic-15198466-84199247 ID is d29f9ce0-93a7-43fc-98d8-f334da9f6ad3 2025-06-26 02:11:20,351 - DEBUG - VM ctest-TestRoutersBasic-15198466-84199247 launched on Node cn-jenkins-deploy-platform-ansible-os-3556-1 2025-06-26 02:11:20,420 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d29f9ce0-93a7-43fc-98d8-f334da9f6ad3 2025-06-26 02:11:20,428 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/53e45dee-93aa-40d0-97fe-32facc08643a 2025-06-26 02:11:21,658 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.736/3.034/1.298 ms') 2025-06-26 02:11:21,658 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-15198466-84199247 passed 2025-06-26 02:11:21,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:11:21,810 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-15198466-84199247, IP 17.170.17.195, Port 22 2025-06-26 02:11:21,973 - DEBUG - VM ctest-TestRoutersBasic-15198466-84199247 is ready for SSH connections 2025-06-26 02:11:21,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 02:11:21,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.170.17.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-26 02:11:21,974 - DEBUG - ping -s 56 -c 3 -W 1 17.170.17.195 2025-06-26 02:11:25,940 - DEBUG - PING 17.170.17.195 (17.170.17.195): 56 data bytes 64 bytes from 17.170.17.195: seq=0 ttl=62 time=5.034 ms 64 bytes from 17.170.17.195: seq=1 ttl=62 time=0.802 ms 64 bytes from 17.170.17.195: seq=2 ttl=62 time=0.791 ms --- 17.170.17.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/2.209/5.034 ms 2025-06-26 02:11:25,940 - INFO - Ping to IP 17.170.17.195 from VM ctest-TestRoutersBasic-15198466-49122755 passed 2025-06-26 02:11:25,941 - INFO - Deleting interface with subnet_id bb2601be-ded7-43af-acf1-cf2848e935bc, port_id None from router 41d8717e-1616-4255-869f-7ac6f57c7d20 2025-06-26 02:11:26,214 - INFO - Deleting VM ctest-TestRoutersBasic-15198466-84199247 2025-06-26 02:11:26,277 - INFO - Deleting VM ctest-TestRoutersBasic-15198466-49122755 2025-06-26 02:11:26,337 - INFO - Deleting VN ctest-ext_vn-78970799 2025-06-26 02:11:26,403 - DEBUG - VN 3cd511db-5b47-4501-8d2b-21ee97639a22 still in use: Unable to complete operation on network 3cd511db-5b47-4501-8d2b-21ee97639a22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-05b6806a-2719-4314-9651-2cf6b5f9163c'] 2025-06-26 02:11:26,403 - WARNING - Deleting VN ctest-ext_vn-78970799 failed..Will retry 2025-06-26 02:11:28,509 - DEBUG - Response for deleting network () 2025-06-26 02:11:28,509 - INFO - Deleting VN ctest-vn-82173459 2025-06-26 02:11:28,607 - DEBUG - Response for deleting network () 2025-06-26 02:11:28,871 - DEBUG - No XMPP flaps were noticed during the test 2025-06-26 02:11:28,871 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-26 02:11:28,871 - INFO - -------------------------------------------------------------------------------- 2025-06-26 02:11:29,544 - INFO - Deleted project: ctest-TestRoutersBasic-15198466, ID : 87f17204-7e4e-480c-a910-46f1f89526e4