2025-06-17 10:58:04,121 - INFO - Domain Default found not creating 2025-06-17 10:58:04,264 - INFO - Project ctest-TestRoutersBasic-88655228 not found, creating it 2025-06-17 10:58:04,720 - INFO - Created Project:ctest-TestRoutersBasic-88655228, ID : be35216c-01c2-48f0-8ff3-4c8892bd1f3c 2025-06-17 10:58:06,125 - INFO - ================================================================================ 2025-06-17 10:58:06,126 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-17 10:58:06,126 - 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-17 10:58:06,380 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-17 10:58:06,380 - INFO - Initial checks done. Running the testcase now 2025-06-17 10:58:06,380 - INFO - 2025-06-17 10:58:07,078 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88655228 2025-06-17 10:58:07,175 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88655228 2025-06-17 10:58:07,494 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88655228', 'default']} 2025-06-17 10:58:07,785 - DEBUG - Response for create_network : {'network': {'id': '982ae443-0db2-4228-9301-a07bb008882f', 'name': 'ctest-vn-88505553', 'tenant_id': 'be35216c01c248f08ff34c8892bd1f3c', 'project_id': 'be35216c01c248f08ff34c8892bd1f3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88655228', 'ctest-vn-88505553'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:58:07,941 - DEBUG - Response for create_subnet : {'subnet': {'id': '479f7fff-1d6b-448e-bac7-70ada41a46cf', 'name': '', 'tenant_id': 'be35216c01c248f08ff34c8892bd1f3c', 'network_id': '982ae443-0db2-4228-9301-a07bb008882f', 'ip_version': 4, 'cidr': '60.54.86.192/26', 'allocation_pools': [{'start': '60.54.86.194', 'end': '60.54.86.254'}], 'gateway_ip': '60.54.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.54.86.194', 'tags': [], 'project_id': 'be35216c01c248f08ff34c8892bd1f3c'}} 2025-06-17 10:58:07,960 - INFO - Created VN ctest-vn-88505553 2025-06-17 10:58:08,015 - DEBUG - VN ctest-vn-88505553 UUID is 982ae443-0db2-4228-9301-a07bb008882f 2025-06-17 10:58:08,384 - DEBUG - Response for create_network : {'network': {'id': '18c1245a-6b08-4bdd-ad52-24240d4eb47c', 'name': 'ctest-ext_vn-28844583', 'tenant_id': 'be35216c01c248f08ff34c8892bd1f3c', 'project_id': 'be35216c01c248f08ff34c8892bd1f3c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88655228', 'ctest-ext_vn-28844583'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:58:08,526 - DEBUG - Response for create_subnet : {'subnet': {'id': '9625be96-8302-4726-b4c2-c90a9d8a2977', 'name': '', 'tenant_id': 'be35216c01c248f08ff34c8892bd1f3c', 'network_id': '18c1245a-6b08-4bdd-ad52-24240d4eb47c', 'ip_version': 4, 'cidr': '196.248.200.192/26', 'allocation_pools': [{'start': '196.248.200.194', 'end': '196.248.200.254'}], 'gateway_ip': '196.248.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.248.200.194', 'tags': [], 'project_id': 'be35216c01c248f08ff34c8892bd1f3c'}} 2025-06-17 10:58:08,543 - INFO - Created VN ctest-ext_vn-28844583 2025-06-17 10:58:08,594 - DEBUG - VN ctest-ext_vn-28844583 UUID is 18c1245a-6b08-4bdd-ad52-24240d4eb47c 2025-06-17 10:58:08,796 - DEBUG - Services list from nova: [, , ] 2025-06-17 10:58:09,793 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3461-1) 2025-06-17 10:58:11,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3461-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3461-1) 2025-06-17 10:58:11,122 - INFO - Setting gateway for router d83f1a2f-c7df-4223-9371-3356722b9c0d to network 18c1245a-6b08-4bdd-ad52-24240d4eb47c 2025-06-17 10:58:11,197 - INFO - Adding interface with subnet_id 479f7fff-1d6b-448e-bac7-70ada41a46cf, port_id None to router d83f1a2f-c7df-4223-9371-3356722b9c0d 2025-06-17 10:58:11,683 - INFO - Waiting for VM ctest-TestRoutersBasic-88655228-04125303 to be up.. 2025-06-17 10:58:11,841 - DEBUG - VM is in ACTIVE state now 2025-06-17 10:58:11,841 - INFO - VM name : ctest-TestRoutersBasic-88655228-04125303 2025-06-17 10:58:11,943 - DEBUG - VM ctest-TestRoutersBasic-88655228-04125303 ID is 6b474b24-647d-40cc-ba1c-7e1c804ff7c7 2025-06-17 10:58:11,966 - DEBUG - VM ctest-TestRoutersBasic-88655228-04125303 launched on Node cn-jenkins-deploy-platform-ansible-os-3461-1 2025-06-17 10:58:12,077 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/6b474b24-647d-40cc-ba1c-7e1c804ff7c7 2025-06-17 10:58:12,386 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/6b474b24-647d-40cc-ba1c-7e1c804ff7c7 2025-06-17 10:58:12,445 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/be8eaee4-0f24-43c0-b345-33d67b08d5df 2025-06-17 10:58:15,701 - 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-06-17 10:58:15,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88655228-04125303 failed! 2025-06-17 10:58:15,754 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88655228:ctest-vn-88505553 is 60.54.86.193 and allocation pool is NOT set 2025-06-17 10:58:19,830 - 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 1015ms') 2025-06-17 10:58:19,830 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88655228-04125303 failed! 2025-06-17 10:58:19,894 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88655228:ctest-vn-88505553 is 60.54.86.193 and allocation pool is NOT set 2025-06-17 10:58:21,963 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.397 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.397/1.494/2.592/1.097 ms') 2025-06-17 10:58:21,963 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-88655228-04125303 passed 2025-06-17 10:58:22,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:58:22,115 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88655228-04125303, IP 60.54.86.195, Port 22 2025-06-17 10:58:22,270 - DEBUG - VM ctest-TestRoutersBasic-88655228-04125303 is ready for SSH connections 2025-06-17 10:58:22,270 - INFO - Waiting for VM ctest-TestRoutersBasic-88655228-28306831 to be up.. 2025-06-17 10:58:22,350 - DEBUG - VM is in ACTIVE state now 2025-06-17 10:58:22,350 - INFO - VM name : ctest-TestRoutersBasic-88655228-28306831 2025-06-17 10:58:22,426 - DEBUG - VM ctest-TestRoutersBasic-88655228-28306831 ID is cde56b9d-565b-469a-a575-35f6efb8ffba 2025-06-17 10:58:22,426 - DEBUG - VM ctest-TestRoutersBasic-88655228-28306831 launched on Node cn-jenkins-deploy-platform-ansible-os-3461-1 2025-06-17 10:58:22,504 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/cde56b9d-565b-469a-a575-35f6efb8ffba 2025-06-17 10:58:22,513 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/805f8d4c-33f2-4d8c-8442-17be0c944a31 2025-06-17 10:58:23,755 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.378 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.378/1.556/2.734/1.178 ms') 2025-06-17 10:58:23,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-88655228-28306831 passed 2025-06-17 10:58:23,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:58:23,903 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88655228-28306831, IP 196.248.200.195, Port 22 2025-06-17 10:58:24,078 - DEBUG - VM ctest-TestRoutersBasic-88655228-28306831 is ready for SSH connections 2025-06-17 10:58:24,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:58:24,078 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.248.200.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-17 10:58:24,078 - DEBUG - ping -s 56 -c 3 -W 1 196.248.200.195 2025-06-17 10:58:28,060 - DEBUG - PING 196.248.200.195 (196.248.200.195): 56 data bytes 64 bytes from 196.248.200.195: seq=0 ttl=62 time=8.286 ms 64 bytes from 196.248.200.195: seq=1 ttl=62 time=0.794 ms 64 bytes from 196.248.200.195: seq=2 ttl=62 time=0.954 ms --- 196.248.200.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/3.344/8.286 ms 2025-06-17 10:58:28,060 - INFO - Ping to IP 196.248.200.195 from VM ctest-TestRoutersBasic-88655228-04125303 passed 2025-06-17 10:58:28,061 - INFO - Deleting interface with subnet_id 479f7fff-1d6b-448e-bac7-70ada41a46cf, port_id None from router d83f1a2f-c7df-4223-9371-3356722b9c0d 2025-06-17 10:58:28,270 - INFO - Deleting VM ctest-TestRoutersBasic-88655228-28306831 2025-06-17 10:58:28,358 - INFO - Deleting VM ctest-TestRoutersBasic-88655228-04125303 2025-06-17 10:58:28,453 - INFO - Deleting VN ctest-ext_vn-28844583 2025-06-17 10:58:28,532 - DEBUG - VN 18c1245a-6b08-4bdd-ad52-24240d4eb47c still in use: Unable to complete operation on network 18c1245a-6b08-4bdd-ad52-24240d4eb47c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e51142f-a528-4592-9fe9-8577424cd7a0'] 2025-06-17 10:58:28,532 - WARNING - Deleting VN ctest-ext_vn-28844583 failed..Will retry 2025-06-17 10:58:30,653 - DEBUG - Response for deleting network () 2025-06-17 10:58:30,653 - INFO - Deleting VN ctest-vn-88505553 2025-06-17 10:58:30,760 - DEBUG - Response for deleting network () 2025-06-17 10:58:31,016 - DEBUG - No XMPP flaps were noticed during the test 2025-06-17 10:58:31,016 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-06-17 10:58:31,016 - INFO - -------------------------------------------------------------------------------- 2025-06-17 10:58:31,691 - INFO - Deleted project: ctest-TestRoutersBasic-88655228, ID : be35216c-01c2-48f0-8ff3-4c8892bd1f3c