2025-12-29 02:25:34,557 - INFO - Domain Default found not creating 2025-12-29 02:25:34,712 - INFO - Project ctest-TestRoutersBasic-95888052 not found, creating it 2025-12-29 02:25:35,205 - INFO - Created Project:ctest-TestRoutersBasic-95888052, ID : f2288c2a-c493-4a8d-86ec-8d229c13b2a4 2025-12-29 02:25:36,634 - INFO - ================================================================================ 2025-12-29 02:25:36,634 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-29 02:25:36,634 - 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-12-29 02:25:37,918 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.145': '0', '10.20.0.18': '0'}, '10.0.0.240': {'10.20.0.252': '0', '10.20.0.18': '0'}} with 2025-12-29 02:25:37,918 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:25:37,918 - INFO - 2025-12-29 02:25:38,635 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-95888052 2025-12-29 02:25:38,694 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-95888052 2025-12-29 02:25:39,004 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95888052', 'default']} 2025-12-29 02:25:39,441 - DEBUG - Response for create_network : {'network': {'id': '8720135b-c5c1-49da-a541-96dc50fae259', 'name': 'ctest-vn-28363617', 'tenant_id': 'f2288c2ac4934a8d86ec8d229c13b2a4', 'project_id': 'f2288c2ac4934a8d86ec8d229c13b2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95888052', 'ctest-vn-28363617'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:25:39,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a9ac61d-b9c0-452a-9cac-9a536f15db3a', 'name': '', 'tenant_id': 'f2288c2ac4934a8d86ec8d229c13b2a4', 'network_id': '8720135b-c5c1-49da-a541-96dc50fae259', 'ip_version': 4, 'cidr': '77.167.241.128/26', 'allocation_pools': [{'start': '77.167.241.130', 'end': '77.167.241.190'}], 'gateway_ip': '77.167.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.167.241.130', 'tags': [], 'project_id': 'f2288c2ac4934a8d86ec8d229c13b2a4'}} 2025-12-29 02:25:39,735 - INFO - Created VN ctest-vn-28363617 2025-12-29 02:25:39,749 - DEBUG - VN ctest-vn-28363617 UUID is 8720135b-c5c1-49da-a541-96dc50fae259 2025-12-29 02:25:40,150 - DEBUG - Response for create_network : {'network': {'id': 'a398c5e8-88ef-46ad-a925-8c46c1293dab', 'name': 'ctest-ext_vn-84855419', 'tenant_id': 'f2288c2ac4934a8d86ec8d229c13b2a4', 'project_id': 'f2288c2ac4934a8d86ec8d229c13b2a4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-95888052', 'ctest-ext_vn-84855419'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:25:40,343 - DEBUG - Response for create_subnet : {'subnet': {'id': '4652f28e-e180-4397-b0c9-2579fbf6fdf3', 'name': '', 'tenant_id': 'f2288c2ac4934a8d86ec8d229c13b2a4', 'network_id': 'a398c5e8-88ef-46ad-a925-8c46c1293dab', 'ip_version': 4, 'cidr': '107.153.72.192/26', 'allocation_pools': [{'start': '107.153.72.194', 'end': '107.153.72.254'}], 'gateway_ip': '107.153.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.153.72.194', 'tags': [], 'project_id': 'f2288c2ac4934a8d86ec8d229c13b2a4'}} 2025-12-29 02:25:40,365 - INFO - Created VN ctest-ext_vn-84855419 2025-12-29 02:25:40,375 - DEBUG - VN ctest-ext_vn-84855419 UUID is a398c5e8-88ef-46ad-a925-8c46c1293dab 2025-12-29 02:25:40,535 - DEBUG - Services list from nova: [, , , ] 2025-12-29 02:25:41,581 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4934-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4934-1) 2025-12-29 02:25:42,831 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4934-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4934-2) 2025-12-29 02:25:42,958 - INFO - Setting gateway for router bab029bb-5f00-42a3-9bbb-97faa85cf33e to network a398c5e8-88ef-46ad-a925-8c46c1293dab 2025-12-29 02:25:43,030 - INFO - Adding interface with subnet_id 9a9ac61d-b9c0-452a-9cac-9a536f15db3a, port_id None to router bab029bb-5f00-42a3-9bbb-97faa85cf33e 2025-12-29 02:25:43,501 - INFO - Waiting for VM ctest-TestRoutersBasic-95888052-42652064 to be up.. 2025-12-29 02:25:43,653 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:25:48,731 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:25:48,731 - INFO - VM name : ctest-TestRoutersBasic-95888052-42652064 2025-12-29 02:25:48,806 - DEBUG - VM ctest-TestRoutersBasic-95888052-42652064 ID is 880c5d4e-7660-4f2a-afce-be4be8806803 2025-12-29 02:25:48,829 - DEBUG - VM ctest-TestRoutersBasic-95888052-42652064 launched on Node an-jenkins-deploy-platform-ansible-os-4934-1 2025-12-29 02:25:48,903 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/880c5d4e-7660-4f2a-afce-be4be8806803 2025-12-29 02:25:49,199 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/880c5d4e-7660-4f2a-afce-be4be8806803 2025-12-29 02:25:49,232 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/7b35a25c-a5ce-4bb3-98f1-f17070a7d292 2025-12-29 02:25:52,395 - 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 1001ms') 2025-12-29 02:25:52,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95888052-42652064 failed! 2025-12-29 02:25:52,409 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-95888052:ctest-vn-28363617 is 77.167.241.129 and allocation pool is NOT set 2025-12-29 02:25:54,475 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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.580/2.031/3.482/1.451 ms') 2025-12-29 02:25:54,475 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95888052-42652064 passed 2025-12-29 02:25:54,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:25:54,547 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95888052-42652064, IP 77.167.241.131, Port 22 2025-12-29 02:25:54,714 - DEBUG - VM ctest-TestRoutersBasic-95888052-42652064 is ready for SSH connections 2025-12-29 02:25:54,715 - INFO - Waiting for VM ctest-TestRoutersBasic-95888052-60306839 to be up.. 2025-12-29 02:25:54,830 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:25:54,830 - INFO - VM name : ctest-TestRoutersBasic-95888052-60306839 2025-12-29 02:25:54,908 - DEBUG - VM ctest-TestRoutersBasic-95888052-60306839 ID is 8d31d5bf-6d65-4b5a-83c9-14b4f4b63b06 2025-12-29 02:25:54,908 - DEBUG - VM ctest-TestRoutersBasic-95888052-60306839 launched on Node an-jenkins-deploy-platform-ansible-os-4934-2 2025-12-29 02:25:54,984 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8d31d5bf-6d65-4b5a-83c9-14b4f4b63b06 2025-12-29 02:25:54,993 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cbdd4e94-4733-4a86-a02f-f6116de5ccc1 2025-12-29 02:25:56,152 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.558 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.558/2.232/3.907/1.674 ms') 2025-12-29 02:25:56,152 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-95888052-60306839 passed 2025-12-29 02:25:56,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:25:56,220 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-95888052-60306839, IP 107.153.72.195, Port 22 2025-12-29 02:25:56,388 - DEBUG - VM ctest-TestRoutersBasic-95888052-60306839 is ready for SSH connections 2025-12-29 02:25:56,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:25:56,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.153.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-12-29 02:25:56,388 - DEBUG - ping -s 56 -c 3 -W 1 107.153.72.195 2025-12-29 02:26:00,134 - DEBUG - PING 107.153.72.195 (107.153.72.195): 56 data bytes 64 bytes from 107.153.72.195: seq=0 ttl=62 time=8.277 ms 64 bytes from 107.153.72.195: seq=1 ttl=62 time=1.350 ms 64 bytes from 107.153.72.195: seq=2 ttl=62 time=1.889 ms --- 107.153.72.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.350/3.838/8.277 ms 2025-12-29 02:26:00,134 - INFO - Ping to IP 107.153.72.195 from VM ctest-TestRoutersBasic-95888052-42652064 passed 2025-12-29 02:26:00,134 - INFO - Deleting interface with subnet_id 9a9ac61d-b9c0-452a-9cac-9a536f15db3a, port_id None from router bab029bb-5f00-42a3-9bbb-97faa85cf33e 2025-12-29 02:26:00,477 - INFO - Deleting VM ctest-TestRoutersBasic-95888052-60306839 2025-12-29 02:26:00,557 - INFO - Deleting VM ctest-TestRoutersBasic-95888052-42652064 2025-12-29 02:26:00,680 - INFO - Deleting VN ctest-ext_vn-84855419 2025-12-29 02:26:00,772 - DEBUG - VN a398c5e8-88ef-46ad-a925-8c46c1293dab still in use: Unable to complete operation on network a398c5e8-88ef-46ad-a925-8c46c1293dab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04fd2b2f-5118-406b-bba3-c0354a8992a5'] 2025-12-29 02:26:00,773 - WARNING - Deleting VN ctest-ext_vn-84855419 failed..Will retry 2025-12-29 02:26:02,970 - DEBUG - Response for deleting network () 2025-12-29 02:26:02,971 - INFO - Deleting VN ctest-vn-28363617 2025-12-29 02:26:03,105 - DEBUG - Response for deleting network () 2025-12-29 02:26:04,505 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:26:04,505 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-12-29 02:26:04,505 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:26:05,345 - INFO - Deleted project: ctest-TestRoutersBasic-95888052, ID : f2288c2a-c493-4a8d-86ec-8d229c13b2a4