2025-10-27 00:03:17,618 - INFO - Domain Default found not creating 2025-10-27 00:03:17,747 - INFO - Project ctest-TestRoutersBasic-40449127 not found, creating it 2025-10-27 00:03:18,208 - INFO - Created Project:ctest-TestRoutersBasic-40449127, ID : 56d8666d-c52c-47e7-8248-d24ee1c5178c 2025-10-27 00:03:19,734 - INFO - ================================================================================ 2025-10-27 00:03:19,734 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 00:03:19,734 - 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-10-27 00:03:19,993 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-27 00:03:19,993 - INFO - Initial checks done. Running the testcase now 2025-10-27 00:03:19,993 - INFO - 2025-10-27 00:03:20,766 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40449127 2025-10-27 00:03:20,860 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40449127 2025-10-27 00:03:21,176 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40449127', 'default']} 2025-10-27 00:03:21,475 - DEBUG - Response for create_network : {'network': {'id': '7da60f9f-4190-4fac-b20b-6f9629882fd9', 'name': 'ctest-vn-46860776', 'tenant_id': '56d8666dc52c47e78248d24ee1c5178c', 'project_id': '56d8666dc52c47e78248d24ee1c5178c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40449127', 'ctest-vn-46860776'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 00:03:21,641 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6859ae4-675c-489a-bb78-1fb7d14e4107', 'name': '', 'tenant_id': '56d8666dc52c47e78248d24ee1c5178c', 'network_id': '7da60f9f-4190-4fac-b20b-6f9629882fd9', 'ip_version': 4, 'cidr': '68.7.169.64/26', 'allocation_pools': [{'start': '68.7.169.66', 'end': '68.7.169.126'}], 'gateway_ip': '68.7.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.7.169.66', 'tags': [], 'project_id': '56d8666dc52c47e78248d24ee1c5178c'}} 2025-10-27 00:03:21,659 - INFO - Created VN ctest-vn-46860776 2025-10-27 00:03:21,712 - DEBUG - VN ctest-vn-46860776 UUID is 7da60f9f-4190-4fac-b20b-6f9629882fd9 2025-10-27 00:03:22,051 - DEBUG - Response for create_network : {'network': {'id': '137fb377-aad9-4a92-b5d3-7968254a490c', 'name': 'ctest-ext_vn-18068370', 'tenant_id': '56d8666dc52c47e78248d24ee1c5178c', 'project_id': '56d8666dc52c47e78248d24ee1c5178c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40449127', 'ctest-ext_vn-18068370'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 00:03:22,263 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef85f5c3-02a2-47a8-91f7-10b520531170', 'name': '', 'tenant_id': '56d8666dc52c47e78248d24ee1c5178c', 'network_id': '137fb377-aad9-4a92-b5d3-7968254a490c', 'ip_version': 4, 'cidr': '130.7.51.64/26', 'allocation_pools': [{'start': '130.7.51.66', 'end': '130.7.51.126'}], 'gateway_ip': '130.7.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.7.51.66', 'tags': [], 'project_id': '56d8666dc52c47e78248d24ee1c5178c'}} 2025-10-27 00:03:22,280 - INFO - Created VN ctest-ext_vn-18068370 2025-10-27 00:03:22,332 - DEBUG - VN ctest-ext_vn-18068370 UUID is 137fb377-aad9-4a92-b5d3-7968254a490c 2025-10-27 00:03:22,533 - DEBUG - Services list from nova: [, , ] 2025-10-27 00:03:23,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1) 2025-10-27 00:03:24,788 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1) 2025-10-27 00:03:24,869 - INFO - Setting gateway for router e0800717-cfcd-4a05-a46c-3a5d83ce3826 to network 137fb377-aad9-4a92-b5d3-7968254a490c 2025-10-27 00:03:24,931 - INFO - Adding interface with subnet_id b6859ae4-675c-489a-bb78-1fb7d14e4107, port_id None to router e0800717-cfcd-4a05-a46c-3a5d83ce3826 2025-10-27 00:03:25,250 - INFO - Waiting for VM ctest-TestRoutersBasic-40449127-89447759 to be up.. 2025-10-27 00:03:25,397 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 00:03:30,477 - DEBUG - VM is in ACTIVE state now 2025-10-27 00:03:30,477 - INFO - VM name : ctest-TestRoutersBasic-40449127-89447759 2025-10-27 00:03:30,548 - DEBUG - VM ctest-TestRoutersBasic-40449127-89447759 ID is 93c3bf69-8ffb-456b-84eb-8d1e2792e15e 2025-10-27 00:03:30,568 - DEBUG - VM ctest-TestRoutersBasic-40449127-89447759 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1 2025-10-27 00:03:30,640 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/93c3bf69-8ffb-456b-84eb-8d1e2792e15e 2025-10-27 00:03:30,972 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/93c3bf69-8ffb-456b-84eb-8d1e2792e15e 2025-10-27 00:03:31,003 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/aca088d4-5c2b-4c38-bb8b-50434002a9e9 2025-10-27 00:03:34,257 - 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 1014ms') 2025-10-27 00:03:34,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40449127-89447759 failed! 2025-10-27 00:03:34,312 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40449127:ctest-vn-46860776 is 68.7.169.65 and allocation pool is NOT set 2025-10-27 00:03:36,376 - 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=4.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.104/2.950/4.796/1.846 ms') 2025-10-27 00:03:36,376 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40449127-89447759 passed 2025-10-27 00:03:36,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:03:36,528 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40449127-89447759, IP 68.7.169.67, Port 22 2025-10-27 00:03:36,683 - DEBUG - VM ctest-TestRoutersBasic-40449127-89447759 is ready for SSH connections 2025-10-27 00:03:36,683 - INFO - Waiting for VM ctest-TestRoutersBasic-40449127-03893148 to be up.. 2025-10-27 00:03:36,757 - DEBUG - VM is in ACTIVE state now 2025-10-27 00:03:36,757 - INFO - VM name : ctest-TestRoutersBasic-40449127-03893148 2025-10-27 00:03:36,829 - DEBUG - VM ctest-TestRoutersBasic-40449127-03893148 ID is 47074817-c932-473d-965f-8bea0a20859e 2025-10-27 00:03:36,829 - DEBUG - VM ctest-TestRoutersBasic-40449127-03893148 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1 2025-10-27 00:03:36,896 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/47074817-c932-473d-965f-8bea0a20859e 2025-10-27 00:03:36,904 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/be8fe3af-5925-4514-908a-ad379a4e2152 2025-10-27 00:03:38,132 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.746/3.044/1.298 ms') 2025-10-27 00:03:38,133 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40449127-03893148 passed 2025-10-27 00:03:38,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:03:38,280 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40449127-03893148, IP 130.7.51.67, Port 22 2025-10-27 00:03:38,439 - DEBUG - VM ctest-TestRoutersBasic-40449127-03893148 is ready for SSH connections 2025-10-27 00:03:38,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:03:38,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.7.51.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 00:03:38,440 - DEBUG - ping -s 56 -c 3 -W 1 130.7.51.67 2025-10-27 00:03:42,172 - DEBUG - PING 130.7.51.67 (130.7.51.67): 56 data bytes 64 bytes from 130.7.51.67: seq=0 ttl=62 time=5.251 ms 64 bytes from 130.7.51.67: seq=1 ttl=62 time=0.943 ms 64 bytes from 130.7.51.67: seq=2 ttl=62 time=0.780 ms --- 130.7.51.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/2.324/5.251 ms 2025-10-27 00:03:42,172 - INFO - Ping to IP 130.7.51.67 from VM ctest-TestRoutersBasic-40449127-89447759 passed 2025-10-27 00:03:42,172 - INFO - Deleting interface with subnet_id b6859ae4-675c-489a-bb78-1fb7d14e4107, port_id None from router e0800717-cfcd-4a05-a46c-3a5d83ce3826 2025-10-27 00:03:42,352 - INFO - Deleting VM ctest-TestRoutersBasic-40449127-03893148 2025-10-27 00:03:42,421 - INFO - Deleting VM ctest-TestRoutersBasic-40449127-89447759 2025-10-27 00:03:42,508 - INFO - Deleting VN ctest-ext_vn-18068370 2025-10-27 00:03:42,582 - DEBUG - VN 137fb377-aad9-4a92-b5d3-7968254a490c still in use: Unable to complete operation on network 137fb377-aad9-4a92-b5d3-7968254a490c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cf30a146-2b09-4c53-aa3d-853cb87360c4'] 2025-10-27 00:03:42,582 - WARNING - Deleting VN ctest-ext_vn-18068370 failed..Will retry 2025-10-27 00:03:44,677 - DEBUG - Response for deleting network () 2025-10-27 00:03:44,677 - INFO - Deleting VN ctest-vn-46860776 2025-10-27 00:03:44,787 - DEBUG - Response for deleting network () 2025-10-27 00:03:45,048 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 00:03:45,048 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-10-27 00:03:45,049 - INFO - -------------------------------------------------------------------------------- 2025-10-27 00:03:45,746 - INFO - Deleted project: ctest-TestRoutersBasic-40449127, ID : 56d8666d-c52c-47e7-8248-d24ee1c5178c