2025-11-24 02:11:41,609 - INFO - Domain Default found not creating 2025-11-24 02:11:41,787 - INFO - Project ctest-TestRoutersBasic-59086875 not found, creating it 2025-11-24 02:11:42,227 - INFO - Created Project:ctest-TestRoutersBasic-59086875, ID : 9f4010ff-9676-46f2-a1de-e1ef45bf22c7 2025-11-24 02:11:43,678 - INFO - ================================================================================ 2025-11-24 02:11:43,678 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 02:11:43,678 - 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-11-24 02:11:43,939 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2025-11-24 02:11:43,939 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:11:43,939 - INFO - 2025-11-24 02:11:44,652 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-59086875 2025-11-24 02:11:44,754 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-59086875 2025-11-24 02:11:45,074 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59086875', 'default']} 2025-11-24 02:11:45,360 - DEBUG - Response for create_network : {'network': {'id': 'a3939266-462d-43f9-ae43-a578524eae31', 'name': 'ctest-vn-52603036', 'tenant_id': '9f4010ff967646f2a1dee1ef45bf22c7', 'project_id': '9f4010ff967646f2a1dee1ef45bf22c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59086875', 'ctest-vn-52603036'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:11:45,531 - DEBUG - Response for create_subnet : {'subnet': {'id': '064f3be0-07e9-4a63-8cb2-67d94431eb39', 'name': '', 'tenant_id': '9f4010ff967646f2a1dee1ef45bf22c7', 'network_id': 'a3939266-462d-43f9-ae43-a578524eae31', 'ip_version': 4, 'cidr': '85.49.215.0/26', 'allocation_pools': [{'start': '85.49.215.2', 'end': '85.49.215.62'}], 'gateway_ip': '85.49.215.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.49.215.2', 'tags': [], 'project_id': '9f4010ff967646f2a1dee1ef45bf22c7'}} 2025-11-24 02:11:45,548 - INFO - Created VN ctest-vn-52603036 2025-11-24 02:11:45,602 - DEBUG - VN ctest-vn-52603036 UUID is a3939266-462d-43f9-ae43-a578524eae31 2025-11-24 02:11:45,944 - DEBUG - Response for create_network : {'network': {'id': 'e2ce3e59-493e-4da9-b123-595727a39187', 'name': 'ctest-ext_vn-90869557', 'tenant_id': '9f4010ff967646f2a1dee1ef45bf22c7', 'project_id': '9f4010ff967646f2a1dee1ef45bf22c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-59086875', 'ctest-ext_vn-90869557'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:11:46,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ecc8ca1-11a0-4282-a060-4c4f7f7e4e27', 'name': '', 'tenant_id': '9f4010ff967646f2a1dee1ef45bf22c7', 'network_id': 'e2ce3e59-493e-4da9-b123-595727a39187', 'ip_version': 4, 'cidr': '45.23.179.128/26', 'allocation_pools': [{'start': '45.23.179.130', 'end': '45.23.179.190'}], 'gateway_ip': '45.23.179.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.23.179.130', 'tags': [], 'project_id': '9f4010ff967646f2a1dee1ef45bf22c7'}} 2025-11-24 02:11:46,116 - INFO - Created VN ctest-ext_vn-90869557 2025-11-24 02:11:46,166 - DEBUG - VN ctest-ext_vn-90869557 UUID is e2ce3e59-493e-4da9-b123-595727a39187 2025-11-24 02:11:46,367 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:11:47,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:11:48,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:11:48,519 - INFO - Setting gateway for router bd1b7807-9edc-4d82-99dd-93088b333875 to network e2ce3e59-493e-4da9-b123-595727a39187 2025-11-24 02:11:48,567 - INFO - Adding interface with subnet_id 064f3be0-07e9-4a63-8cb2-67d94431eb39, port_id None to router bd1b7807-9edc-4d82-99dd-93088b333875 2025-11-24 02:11:48,840 - INFO - Waiting for VM ctest-TestRoutersBasic-59086875-20011542 to be up.. 2025-11-24 02:11:48,967 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:11:54,054 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:11:54,054 - INFO - VM name : ctest-TestRoutersBasic-59086875-20011542 2025-11-24 02:11:54,138 - DEBUG - VM ctest-TestRoutersBasic-59086875-20011542 ID is 9e3de272-e63d-4e3c-846d-8023bb649a7a 2025-11-24 02:11:54,156 - DEBUG - VM ctest-TestRoutersBasic-59086875-20011542 launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:11:54,225 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9e3de272-e63d-4e3c-846d-8023bb649a7a 2025-11-24 02:11:54,526 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9e3de272-e63d-4e3c-846d-8023bb649a7a 2025-11-24 02:11:54,558 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0dd2b0f5-b321-452f-99fe-2b212cc5a354 2025-11-24 02:11:57,812 - 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-11-24 02:11:57,812 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59086875-20011542 failed! 2025-11-24 02:11:57,866 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-59086875:ctest-vn-52603036 is 85.49.215.1 and allocation pool is NOT set 2025-11-24 02:11:59,934 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.10 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 = 2.103/3.238/4.374/1.135 ms') 2025-11-24 02:11:59,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-59086875-20011542 passed 2025-11-24 02:12:00,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:12:00,086 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59086875-20011542, IP 85.49.215.3, Port 22 2025-11-24 02:12:00,257 - DEBUG - VM ctest-TestRoutersBasic-59086875-20011542 is ready for SSH connections 2025-11-24 02:12:00,257 - INFO - Waiting for VM ctest-TestRoutersBasic-59086875-42304111 to be up.. 2025-11-24 02:12:00,328 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:12:00,328 - INFO - VM name : ctest-TestRoutersBasic-59086875-42304111 2025-11-24 02:12:00,403 - DEBUG - VM ctest-TestRoutersBasic-59086875-42304111 ID is 4e76748b-b87c-4323-9352-1bdf25409c09 2025-11-24 02:12:00,404 - DEBUG - VM ctest-TestRoutersBasic-59086875-42304111 launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:12:00,470 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4e76748b-b87c-4323-9352-1bdf25409c09 2025-11-24 02:12:00,476 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b9dac550-ced9-4eb1-9123-07926cbb5697 2025-11-24 02:12:01,706 - 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.70 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/2.074/3.701/1.626 ms') 2025-11-24 02:12:01,706 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-59086875-42304111 passed 2025-11-24 02:12:01,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:12:01,854 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-59086875-42304111, IP 45.23.179.131, Port 22 2025-11-24 02:12:02,021 - DEBUG - VM ctest-TestRoutersBasic-59086875-42304111 is ready for SSH connections 2025-11-24 02:12:02,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:12:02,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.23.179.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 02:12:02,021 - DEBUG - ping -s 56 -c 3 -W 1 45.23.179.131 2025-11-24 02:12:05,745 - DEBUG - PING 45.23.179.131 (45.23.179.131): 56 data bytes 64 bytes from 45.23.179.131: seq=0 ttl=62 time=7.229 ms 64 bytes from 45.23.179.131: seq=1 ttl=62 time=0.865 ms 64 bytes from 45.23.179.131: seq=2 ttl=62 time=1.131 ms --- 45.23.179.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/3.075/7.229 ms 2025-11-24 02:12:05,745 - INFO - Ping to IP 45.23.179.131 from VM ctest-TestRoutersBasic-59086875-20011542 passed 2025-11-24 02:12:05,745 - INFO - Deleting interface with subnet_id 064f3be0-07e9-4a63-8cb2-67d94431eb39, port_id None from router bd1b7807-9edc-4d82-99dd-93088b333875 2025-11-24 02:12:05,917 - INFO - Deleting VM ctest-TestRoutersBasic-59086875-42304111 2025-11-24 02:12:05,977 - INFO - Deleting VM ctest-TestRoutersBasic-59086875-20011542 2025-11-24 02:12:06,056 - INFO - Deleting VN ctest-ext_vn-90869557 2025-11-24 02:12:06,134 - DEBUG - VN e2ce3e59-493e-4da9-b123-595727a39187 still in use: Unable to complete operation on network e2ce3e59-493e-4da9-b123-595727a39187. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e61902dc-0ab7-4098-8ff2-3a09ee7fee33'] 2025-11-24 02:12:06,134 - WARNING - Deleting VN ctest-ext_vn-90869557 failed..Will retry 2025-11-24 02:12:08,229 - DEBUG - Response for deleting network () 2025-11-24 02:12:08,229 - INFO - Deleting VN ctest-vn-52603036 2025-11-24 02:12:08,328 - DEBUG - Response for deleting network () 2025-11-24 02:12:08,583 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:12:08,583 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-11-24 02:12:08,583 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:12:09,268 - INFO - Deleted project: ctest-TestRoutersBasic-59086875, ID : 9f4010ff-9676-46f2-a1de-e1ef45bf22c7