2025-10-31 07:54:27,035 - INFO - Domain Default found not creating 2025-10-31 07:54:27,168 - INFO - Project ctest-TestRoutersBasic-78380886 not found, creating it 2025-10-31 07:54:27,597 - INFO - Created Project:ctest-TestRoutersBasic-78380886, ID : 935fef4e-120c-461e-9645-598d296eda34 2025-10-31 07:54:28,959 - INFO - ================================================================================ 2025-10-31 07:54:28,959 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-31 07:54:28,959 - 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-31 07:54:29,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 07:54:29,214 - INFO - Initial checks done. Running the testcase now 2025-10-31 07:54:29,214 - INFO - 2025-10-31 07:54:29,907 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78380886 2025-10-31 07:54:30,001 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78380886 2025-10-31 07:54:30,325 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78380886', 'default']} 2025-10-31 07:54:30,604 - DEBUG - Response for create_network : {'network': {'id': '72d68c40-cee0-4c58-95eb-5961680a6207', 'name': 'ctest-vn-60187442', 'tenant_id': '935fef4e120c461e9645598d296eda34', 'project_id': '935fef4e120c461e9645598d296eda34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78380886', 'ctest-vn-60187442'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:54:30,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '681465b9-0581-47fb-b613-a66382357508', 'name': '', 'tenant_id': '935fef4e120c461e9645598d296eda34', 'network_id': '72d68c40-cee0-4c58-95eb-5961680a6207', 'ip_version': 4, 'cidr': '135.86.232.64/26', 'allocation_pools': [{'start': '135.86.232.66', 'end': '135.86.232.126'}], 'gateway_ip': '135.86.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.86.232.66', 'tags': [], 'project_id': '935fef4e120c461e9645598d296eda34'}} 2025-10-31 07:54:30,808 - INFO - Created VN ctest-vn-60187442 2025-10-31 07:54:30,861 - DEBUG - VN ctest-vn-60187442 UUID is 72d68c40-cee0-4c58-95eb-5961680a6207 2025-10-31 07:54:31,234 - DEBUG - Response for create_network : {'network': {'id': 'd7963cf9-89a1-418c-808d-6fe02e10da86', 'name': 'ctest-ext_vn-99960779', 'tenant_id': '935fef4e120c461e9645598d296eda34', 'project_id': '935fef4e120c461e9645598d296eda34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78380886', 'ctest-ext_vn-99960779'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 07:54:31,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '084d4c78-a467-441f-8adf-62c48b2e77ad', 'name': '', 'tenant_id': '935fef4e120c461e9645598d296eda34', 'network_id': 'd7963cf9-89a1-418c-808d-6fe02e10da86', 'ip_version': 4, 'cidr': '173.217.76.192/26', 'allocation_pools': [{'start': '173.217.76.194', 'end': '173.217.76.254'}], 'gateway_ip': '173.217.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.217.76.194', 'tags': [], 'project_id': '935fef4e120c461e9645598d296eda34'}} 2025-10-31 07:54:31,413 - INFO - Created VN ctest-ext_vn-99960779 2025-10-31 07:54:31,465 - DEBUG - VN ctest-ext_vn-99960779 UUID is d7963cf9-89a1-418c-808d-6fe02e10da86 2025-10-31 07:54:31,654 - DEBUG - Services list from nova: [, , ] 2025-10-31 07:54:32,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:54:33,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4572-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4572-1) 2025-10-31 07:54:33,745 - INFO - Setting gateway for router 40fecc4b-8ff2-4cd9-851b-730542bc27c1 to network d7963cf9-89a1-418c-808d-6fe02e10da86 2025-10-31 07:54:33,789 - INFO - Adding interface with subnet_id 681465b9-0581-47fb-b613-a66382357508, port_id None to router 40fecc4b-8ff2-4cd9-851b-730542bc27c1 2025-10-31 07:54:34,112 - INFO - Waiting for VM ctest-TestRoutersBasic-78380886-07029244 to be up.. 2025-10-31 07:54:34,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 07:54:39,290 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:54:39,290 - INFO - VM name : ctest-TestRoutersBasic-78380886-07029244 2025-10-31 07:54:39,350 - DEBUG - VM ctest-TestRoutersBasic-78380886-07029244 ID is 690ccb90-8cf1-4ce0-be46-db2cf9cbc11e 2025-10-31 07:54:39,367 - DEBUG - VM ctest-TestRoutersBasic-78380886-07029244 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:54:39,429 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/690ccb90-8cf1-4ce0-be46-db2cf9cbc11e 2025-10-31 07:54:39,721 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/690ccb90-8cf1-4ce0-be46-db2cf9cbc11e 2025-10-31 07:54:39,751 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3b463032-1b97-4f87-8e31-070e258878fa 2025-10-31 07:54:43,004 - 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 1023ms') 2025-10-31 07:54:43,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78380886-07029244 failed! 2025-10-31 07:54:43,057 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78380886:ctest-vn-60187442 is 135.86.232.65 and allocation pool is NOT set 2025-10-31 07:54:45,116 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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 = 0.432/1.637/2.843/1.205 ms') 2025-10-31 07:54:45,116 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78380886-07029244 passed 2025-10-31 07:54:45,261 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:45,261 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78380886-07029244, IP 135.86.232.67, Port 22 2025-10-31 07:54:45,416 - DEBUG - VM ctest-TestRoutersBasic-78380886-07029244 is ready for SSH connections 2025-10-31 07:54:45,416 - INFO - Waiting for VM ctest-TestRoutersBasic-78380886-20912710 to be up.. 2025-10-31 07:54:45,493 - DEBUG - VM is in ACTIVE state now 2025-10-31 07:54:45,493 - INFO - VM name : ctest-TestRoutersBasic-78380886-20912710 2025-10-31 07:54:45,564 - DEBUG - VM ctest-TestRoutersBasic-78380886-20912710 ID is eaf60ab7-4715-4ad7-b2f9-2438cb2527be 2025-10-31 07:54:45,565 - DEBUG - VM ctest-TestRoutersBasic-78380886-20912710 launched on Node cn-jenkins-deploy-platform-ansible-os-4572-1 2025-10-31 07:54:45,626 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eaf60ab7-4715-4ad7-b2f9-2438cb2527be 2025-10-31 07:54:45,633 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9a1a19f3-c946-4566-9b88-7217b1f3a2a2 2025-10-31 07:54:46,871 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.533/2.687/1.153 ms') 2025-10-31 07:54:46,871 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78380886-20912710 passed 2025-10-31 07:54:47,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:47,017 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78380886-20912710, IP 173.217.76.195, Port 22 2025-10-31 07:54:47,172 - DEBUG - VM ctest-TestRoutersBasic-78380886-20912710 is ready for SSH connections 2025-10-31 07:54:47,173 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 07:54:47,173 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.217.76.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 07:54:47,173 - DEBUG - ping -s 56 -c 3 -W 1 173.217.76.195 2025-10-31 07:54:51,147 - DEBUG - PING 173.217.76.195 (173.217.76.195): 56 data bytes 64 bytes from 173.217.76.195: seq=0 ttl=62 time=4.165 ms 64 bytes from 173.217.76.195: seq=1 ttl=62 time=0.831 ms 64 bytes from 173.217.76.195: seq=2 ttl=62 time=0.791 ms --- 173.217.76.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/1.929/4.165 ms 2025-10-31 07:54:51,148 - INFO - Ping to IP 173.217.76.195 from VM ctest-TestRoutersBasic-78380886-07029244 passed 2025-10-31 07:54:51,148 - INFO - Deleting interface with subnet_id 681465b9-0581-47fb-b613-a66382357508, port_id None from router 40fecc4b-8ff2-4cd9-851b-730542bc27c1 2025-10-31 07:54:51,304 - INFO - Deleting VM ctest-TestRoutersBasic-78380886-20912710 2025-10-31 07:54:51,367 - INFO - Deleting VM ctest-TestRoutersBasic-78380886-07029244 2025-10-31 07:54:51,449 - INFO - Deleting VN ctest-ext_vn-99960779 2025-10-31 07:54:51,515 - DEBUG - VN d7963cf9-89a1-418c-808d-6fe02e10da86 still in use: Unable to complete operation on network d7963cf9-89a1-418c-808d-6fe02e10da86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2d2e403-7704-4721-87c1-b4aaa0b699f6'] 2025-10-31 07:54:51,516 - WARNING - Deleting VN ctest-ext_vn-99960779 failed..Will retry 2025-10-31 07:54:53,603 - DEBUG - Response for deleting network () 2025-10-31 07:54:53,603 - INFO - Deleting VN ctest-vn-60187442 2025-10-31 07:54:53,750 - DEBUG - Response for deleting network () 2025-10-31 07:54:54,006 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 07:54:54,006 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-31 07:54:54,006 - INFO - -------------------------------------------------------------------------------- 2025-10-31 07:54:54,661 - INFO - Deleted project: ctest-TestRoutersBasic-78380886, ID : 935fef4e-120c-461e-9645-598d296eda34