2025-06-30 17:27:25,106 - INFO - Domain Default found not creating 2025-06-30 17:27:25,315 - INFO - Project ctest-TestRoutersBasic-96329907 not found, creating it 2025-06-30 17:27:26,000 - INFO - Created Project:ctest-TestRoutersBasic-96329907, ID : 69cb2e72-5dd8-469c-a12c-cd97922a20e2 2025-06-30 17:27:28,001 - INFO - ================================================================================ 2025-06-30 17:27:28,002 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-30 17:27:28,002 - 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-30 17:27:28,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-30 17:27:28,302 - INFO - Initial checks done. Running the testcase now 2025-06-30 17:27:28,302 - INFO - 2025-06-30 17:27:29,322 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96329907 2025-06-30 17:27:29,435 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96329907 2025-06-30 17:27:29,874 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96329907', 'default']} 2025-06-30 17:27:30,220 - DEBUG - Response for create_network : {'network': {'id': 'd510b9af-309d-4e9b-aa23-7bee6cb8e2d5', 'name': 'ctest-vn-65141614', 'tenant_id': '69cb2e725dd8469ca12ccd97922a20e2', 'project_id': '69cb2e725dd8469ca12ccd97922a20e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96329907', 'ctest-vn-65141614'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 17:27:30,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '852d915d-059d-4820-9904-a0f22e620dc4', 'name': '', 'tenant_id': '69cb2e725dd8469ca12ccd97922a20e2', 'network_id': 'd510b9af-309d-4e9b-aa23-7bee6cb8e2d5', 'ip_version': 4, 'cidr': '9.53.134.64/26', 'allocation_pools': [{'start': '9.53.134.66', 'end': '9.53.134.126'}], 'gateway_ip': '9.53.134.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.53.134.66', 'tags': [], 'project_id': '69cb2e725dd8469ca12ccd97922a20e2'}} 2025-06-30 17:27:30,428 - INFO - Created VN ctest-vn-65141614 2025-06-30 17:27:30,486 - DEBUG - VN ctest-vn-65141614 UUID is d510b9af-309d-4e9b-aa23-7bee6cb8e2d5 2025-06-30 17:27:30,953 - DEBUG - Response for create_network : {'network': {'id': '668e7c79-f7c6-4a3e-a62e-de1f89650187', 'name': 'ctest-ext_vn-89512352', 'tenant_id': '69cb2e725dd8469ca12ccd97922a20e2', 'project_id': '69cb2e725dd8469ca12ccd97922a20e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96329907', 'ctest-ext_vn-89512352'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 17:27:31,198 - DEBUG - Response for create_subnet : {'subnet': {'id': '1baed090-f506-409a-82dd-97b8b52677af', 'name': '', 'tenant_id': '69cb2e725dd8469ca12ccd97922a20e2', 'network_id': '668e7c79-f7c6-4a3e-a62e-de1f89650187', 'ip_version': 4, 'cidr': '208.20.5.128/26', 'allocation_pools': [{'start': '208.20.5.130', 'end': '208.20.5.190'}], 'gateway_ip': '208.20.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.20.5.130', 'tags': [], 'project_id': '69cb2e725dd8469ca12ccd97922a20e2'}} 2025-06-30 17:27:31,222 - INFO - Created VN ctest-ext_vn-89512352 2025-06-30 17:27:31,278 - DEBUG - VN ctest-ext_vn-89512352 UUID is 668e7c79-f7c6-4a3e-a62e-de1f89650187 2025-06-30 17:27:31,584 - DEBUG - Services list from nova: [, , ] 2025-06-30 17:27:33,124 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3583-1) 2025-06-30 17:27:34,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3583-1) 2025-06-30 17:27:34,582 - INFO - Setting gateway for router 2f8c7bee-a1cd-4f90-80de-f61545dc52c7 to network 668e7c79-f7c6-4a3e-a62e-de1f89650187 2025-06-30 17:27:34,677 - INFO - Adding interface with subnet_id 852d915d-059d-4820-9904-a0f22e620dc4, port_id None to router 2f8c7bee-a1cd-4f90-80de-f61545dc52c7 2025-06-30 17:27:35,174 - INFO - Waiting for VM ctest-TestRoutersBasic-96329907-86279154 to be up.. 2025-06-30 17:27:35,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 17:27:40,543 - DEBUG - VM is in ACTIVE state now 2025-06-30 17:27:40,543 - INFO - VM name : ctest-TestRoutersBasic-96329907-86279154 2025-06-30 17:27:40,651 - DEBUG - VM ctest-TestRoutersBasic-96329907-86279154 ID is c527d987-0d7b-4d62-b624-cc809d1de30f 2025-06-30 17:27:40,678 - DEBUG - VM ctest-TestRoutersBasic-96329907-86279154 launched on Node cn-jenkins-deploy-platform-ansible-os-3583-1 2025-06-30 17:27:40,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c527d987-0d7b-4d62-b624-cc809d1de30f 2025-06-30 17:27:41,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c527d987-0d7b-4d62-b624-cc809d1de30f 2025-06-30 17:27:41,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e989f8b-b648-4869-93fc-43f7d4ff1086 2025-06-30 17:27:44,503 - 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-30 17:27:44,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96329907-86279154 failed! 2025-06-30 17:27:44,570 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96329907:ctest-vn-65141614 is 9.53.134.65 and allocation pool is NOT set 2025-06-30 17:27:46,636 - 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=7.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.976 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.976/4.119/7.263/3.143 ms') 2025-06-30 17:27:46,637 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96329907-86279154 passed 2025-06-30 17:27:46,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 17:27:46,827 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96329907-86279154, IP 9.53.134.67, Port 22 2025-06-30 17:27:47,024 - DEBUG - VM ctest-TestRoutersBasic-96329907-86279154 is ready for SSH connections 2025-06-30 17:27:47,024 - INFO - Waiting for VM ctest-TestRoutersBasic-96329907-19282915 to be up.. 2025-06-30 17:27:47,228 - DEBUG - VM is in ACTIVE state now 2025-06-30 17:27:47,228 - INFO - VM name : ctest-TestRoutersBasic-96329907-19282915 2025-06-30 17:27:47,378 - DEBUG - VM ctest-TestRoutersBasic-96329907-19282915 ID is 862f0285-6b6f-499b-bcc2-b44f9c66a741 2025-06-30 17:27:47,378 - DEBUG - VM ctest-TestRoutersBasic-96329907-19282915 launched on Node cn-jenkins-deploy-platform-ansible-os-3583-1 2025-06-30 17:27:47,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/862f0285-6b6f-499b-bcc2-b44f9c66a741 2025-06-30 17:27:47,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/992a46a7-72e8-4514-8d3e-865d4e826b1c 2025-06-30 17:27:48,777 - 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=5.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.741 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.741/3.222/5.704/2.481 ms') 2025-06-30 17:27:48,778 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96329907-19282915 passed 2025-06-30 17:27:48,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 17:27:48,938 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96329907-19282915, IP 208.20.5.131, Port 22 2025-06-30 17:27:49,131 - DEBUG - VM ctest-TestRoutersBasic-96329907-19282915 is ready for SSH connections 2025-06-30 17:27:49,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 17:27:49,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.20.5.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-30 17:27:49,131 - DEBUG - ping -s 56 -c 3 -W 1 208.20.5.131 2025-06-30 17:27:53,087 - DEBUG - PING 208.20.5.131 (208.20.5.131): 56 data bytes 64 bytes from 208.20.5.131: seq=0 ttl=62 time=7.614 ms 64 bytes from 208.20.5.131: seq=1 ttl=62 time=1.140 ms 64 bytes from 208.20.5.131: seq=2 ttl=62 time=2.564 ms --- 208.20.5.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.140/3.772/7.614 ms 2025-06-30 17:27:53,087 - INFO - Ping to IP 208.20.5.131 from VM ctest-TestRoutersBasic-96329907-86279154 passed 2025-06-30 17:27:53,088 - INFO - Deleting interface with subnet_id 852d915d-059d-4820-9904-a0f22e620dc4, port_id None from router 2f8c7bee-a1cd-4f90-80de-f61545dc52c7 2025-06-30 17:27:53,385 - INFO - Deleting VM ctest-TestRoutersBasic-96329907-19282915 2025-06-30 17:27:53,463 - INFO - Deleting VM ctest-TestRoutersBasic-96329907-86279154 2025-06-30 17:27:53,564 - INFO - Deleting VN ctest-ext_vn-89512352 2025-06-30 17:27:53,640 - DEBUG - VN 668e7c79-f7c6-4a3e-a62e-de1f89650187 still in use: Unable to complete operation on network 668e7c79-f7c6-4a3e-a62e-de1f89650187. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43a27970-1caa-4316-a729-2d27a4388f6d'] 2025-06-30 17:27:53,640 - WARNING - Deleting VN ctest-ext_vn-89512352 failed..Will retry 2025-06-30 17:27:55,868 - DEBUG - Response for deleting network () 2025-06-30 17:27:55,869 - INFO - Deleting VN ctest-vn-65141614 2025-06-30 17:27:56,010 - DEBUG - Response for deleting network () 2025-06-30 17:27:56,325 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 17:27:56,326 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-06-30 17:27:56,326 - INFO - -------------------------------------------------------------------------------- 2025-06-30 17:27:57,224 - INFO - Deleted project: ctest-TestRoutersBasic-96329907, ID : 69cb2e72-5dd8-469c-a12c-cd97922a20e2