2025-05-29 02:26:22,261 - INFO - Domain Default found not creating 2025-05-29 02:26:22,412 - INFO - Project ctest-TestRoutersBasic-66020681 not found, creating it 2025-05-29 02:26:22,878 - INFO - Created Project:ctest-TestRoutersBasic-66020681, ID : eb50dd46-acb4-4ab7-b60c-ad4f4363310e 2025-05-29 02:26:24,440 - INFO - ================================================================================ 2025-05-29 02:26:24,440 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-29 02:26:24,441 - 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-05-29 02:26:24,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-29 02:26:24,704 - INFO - Initial checks done. Running the testcase now 2025-05-29 02:26:24,704 - INFO - 2025-05-29 02:26:25,495 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-66020681 2025-05-29 02:26:25,590 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-66020681 2025-05-29 02:26:25,918 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66020681', 'default']} 2025-05-29 02:26:26,219 - DEBUG - Response for create_network : {'network': {'id': '4e26ab2e-b0ce-40cd-9774-9854866db519', 'name': 'ctest-vn-06700710', 'tenant_id': 'eb50dd46acb44ab7b60cad4f4363310e', 'project_id': 'eb50dd46acb44ab7b60cad4f4363310e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66020681', 'ctest-vn-06700710'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:26:26,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a0b25ea-b417-45ec-9d75-7ddcb5079bf4', 'name': '', 'tenant_id': 'eb50dd46acb44ab7b60cad4f4363310e', 'network_id': '4e26ab2e-b0ce-40cd-9774-9854866db519', 'ip_version': 4, 'cidr': '59.171.66.192/26', 'allocation_pools': [{'start': '59.171.66.194', 'end': '59.171.66.254'}], 'gateway_ip': '59.171.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.171.66.194', 'tags': [], 'project_id': 'eb50dd46acb44ab7b60cad4f4363310e'}} 2025-05-29 02:26:26,439 - INFO - Created VN ctest-vn-06700710 2025-05-29 02:26:26,494 - DEBUG - VN ctest-vn-06700710 UUID is 4e26ab2e-b0ce-40cd-9774-9854866db519 2025-05-29 02:26:26,824 - DEBUG - Response for create_network : {'network': {'id': '1deb37fc-d73e-4082-99ff-8d353ed49736', 'name': 'ctest-ext_vn-24525801', 'tenant_id': 'eb50dd46acb44ab7b60cad4f4363310e', 'project_id': 'eb50dd46acb44ab7b60cad4f4363310e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-66020681', 'ctest-ext_vn-24525801'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:26:26,992 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4115a6f-e9a8-433a-bcbb-f0ef39647e2b', 'name': '', 'tenant_id': 'eb50dd46acb44ab7b60cad4f4363310e', 'network_id': '1deb37fc-d73e-4082-99ff-8d353ed49736', 'ip_version': 4, 'cidr': '32.222.12.64/26', 'allocation_pools': [{'start': '32.222.12.66', 'end': '32.222.12.126'}], 'gateway_ip': '32.222.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.222.12.66', 'tags': [], 'project_id': 'eb50dd46acb44ab7b60cad4f4363310e'}} 2025-05-29 02:26:27,012 - INFO - Created VN ctest-ext_vn-24525801 2025-05-29 02:26:27,066 - DEBUG - VN ctest-ext_vn-24525801 UUID is 1deb37fc-d73e-4082-99ff-8d353ed49736 2025-05-29 02:26:27,236 - DEBUG - Services list from nova: [, , ] 2025-05-29 02:26:28,360 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3360-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3360-1) 2025-05-29 02:26:29,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3360-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3360-1) 2025-05-29 02:26:29,688 - INFO - Setting gateway for router 0bc42da5-fb6b-44c2-bfb7-46444d48df88 to network 1deb37fc-d73e-4082-99ff-8d353ed49736 2025-05-29 02:26:29,781 - INFO - Adding interface with subnet_id 1a0b25ea-b417-45ec-9d75-7ddcb5079bf4, port_id None to router 0bc42da5-fb6b-44c2-bfb7-46444d48df88 2025-05-29 02:26:30,150 - INFO - Waiting for VM ctest-TestRoutersBasic-66020681-02244185 to be up.. 2025-05-29 02:26:30,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 02:26:35,397 - DEBUG - VM is in ACTIVE state now 2025-05-29 02:26:35,398 - INFO - VM name : ctest-TestRoutersBasic-66020681-02244185 2025-05-29 02:26:35,495 - DEBUG - VM ctest-TestRoutersBasic-66020681-02244185 ID is f1c5111a-c185-41d8-b12f-60474041e3d3 2025-05-29 02:26:35,527 - DEBUG - VM ctest-TestRoutersBasic-66020681-02244185 launched on Node cn-jenkins-deploy-platform-ansible-os-3360-1 2025-05-29 02:26:35,616 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f1c5111a-c185-41d8-b12f-60474041e3d3 2025-05-29 02:26:36,199 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f1c5111a-c185-41d8-b12f-60474041e3d3 2025-05-29 02:26:36,246 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a1b7ea8d-98b6-4e59-b7f4-4565a12e8f59 2025-05-29 02:26:39,499 - 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 1007ms') 2025-05-29 02:26:39,499 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66020681-02244185 failed! 2025-05-29 02:26:39,558 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-66020681:ctest-vn-06700710 is 59.171.66.193 and allocation pool is NOT set 2025-05-29 02:26:41,615 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.737/3.038/1.300 ms') 2025-05-29 02:26:41,615 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-66020681-02244185 passed 2025-05-29 02:26:41,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:26:41,766 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66020681-02244185, IP 59.171.66.195, Port 22 2025-05-29 02:26:41,936 - DEBUG - VM ctest-TestRoutersBasic-66020681-02244185 is ready for SSH connections 2025-05-29 02:26:41,936 - INFO - Waiting for VM ctest-TestRoutersBasic-66020681-67806910 to be up.. 2025-05-29 02:26:42,019 - DEBUG - VM is in ACTIVE state now 2025-05-29 02:26:42,020 - INFO - VM name : ctest-TestRoutersBasic-66020681-67806910 2025-05-29 02:26:42,098 - DEBUG - VM ctest-TestRoutersBasic-66020681-67806910 ID is c5ce4647-dc46-464a-8f35-efe1ae3f6ae8 2025-05-29 02:26:42,099 - DEBUG - VM ctest-TestRoutersBasic-66020681-67806910 launched on Node cn-jenkins-deploy-platform-ansible-os-3360-1 2025-05-29 02:26:42,182 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c5ce4647-dc46-464a-8f35-efe1ae3f6ae8 2025-05-29 02:26:42,192 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e0e9d52a-d9bc-42b3-9446-22149efe5518 2025-05-29 02:26:43,438 - 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=4.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 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 = 1.431/3.076/4.721/1.645 ms') 2025-05-29 02:26:43,438 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-66020681-67806910 passed 2025-05-29 02:26:43,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:26:43,595 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-66020681-67806910, IP 32.222.12.67, Port 22 2025-05-29 02:26:43,753 - DEBUG - VM ctest-TestRoutersBasic-66020681-67806910 is ready for SSH connections 2025-05-29 02:26:43,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:26:43,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.222.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 02:26:43,754 - DEBUG - ping -s 56 -c 3 -W 1 32.222.12.67 2025-05-29 02:26:47,805 - DEBUG - PING 32.222.12.67 (32.222.12.67): 56 data bytes 64 bytes from 32.222.12.67: seq=0 ttl=62 time=5.404 ms 64 bytes from 32.222.12.67: seq=1 ttl=62 time=1.058 ms 64 bytes from 32.222.12.67: seq=2 ttl=62 time=0.869 ms --- 32.222.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.869/2.443/5.404 ms 2025-05-29 02:26:47,805 - INFO - Ping to IP 32.222.12.67 from VM ctest-TestRoutersBasic-66020681-02244185 passed 2025-05-29 02:26:47,805 - INFO - Deleting interface with subnet_id 1a0b25ea-b417-45ec-9d75-7ddcb5079bf4, port_id None from router 0bc42da5-fb6b-44c2-bfb7-46444d48df88 2025-05-29 02:26:48,018 - INFO - Deleting VM ctest-TestRoutersBasic-66020681-67806910 2025-05-29 02:26:48,086 - INFO - Deleting VM ctest-TestRoutersBasic-66020681-02244185 2025-05-29 02:26:48,166 - INFO - Deleting VN ctest-ext_vn-24525801 2025-05-29 02:26:48,242 - DEBUG - VN 1deb37fc-d73e-4082-99ff-8d353ed49736 still in use: Unable to complete operation on network 1deb37fc-d73e-4082-99ff-8d353ed49736. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80c125b8-62a8-4703-9e6e-8ae8295293e2'] 2025-05-29 02:26:48,242 - WARNING - Deleting VN ctest-ext_vn-24525801 failed..Will retry 2025-05-29 02:26:50,349 - DEBUG - Response for deleting network () 2025-05-29 02:26:50,349 - INFO - Deleting VN ctest-vn-06700710 2025-05-29 02:26:50,452 - DEBUG - Response for deleting network () 2025-05-29 02:26:50,709 - DEBUG - No XMPP flaps were noticed during the test 2025-05-29 02:26:50,709 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-05-29 02:26:50,710 - INFO - -------------------------------------------------------------------------------- 2025-05-29 02:26:51,426 - INFO - Deleted project: ctest-TestRoutersBasic-66020681, ID : eb50dd46-acb4-4ab7-b60c-ad4f4363310e