2025-11-04 21:50:59,662 - INFO - Domain Default found not creating 2025-11-04 21:50:59,825 - INFO - Project ctest-TestRoutersBasic-56773833 not found, creating it 2025-11-04 21:51:00,290 - INFO - Created Project:ctest-TestRoutersBasic-56773833, ID : 298fcb14-40bf-47df-b9c9-90780163f133 2025-11-04 21:51:01,776 - INFO - ================================================================================ 2025-11-04 21:51:01,777 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-04 21:51:01,777 - 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-04 21:51:02,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-11-04 21:51:02,044 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:51:02,044 - INFO - 2025-11-04 21:51:02,763 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56773833 2025-11-04 21:51:02,858 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56773833 2025-11-04 21:51:03,178 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56773833', 'default']} 2025-11-04 21:51:03,477 - DEBUG - Response for create_network : {'network': {'id': '56c785f6-90dc-4174-a8c9-3cbcfd1e1b9f', 'name': 'ctest-vn-57923819', 'tenant_id': '298fcb1440bf47dfb9c990780163f133', 'project_id': '298fcb1440bf47dfb9c990780163f133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56773833', 'ctest-vn-57923819'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:03,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '3275b395-1034-4afd-9195-116a8f3397ee', 'name': '', 'tenant_id': '298fcb1440bf47dfb9c990780163f133', 'network_id': '56c785f6-90dc-4174-a8c9-3cbcfd1e1b9f', 'ip_version': 4, 'cidr': '97.232.160.192/26', 'allocation_pools': [{'start': '97.232.160.194', 'end': '97.232.160.254'}], 'gateway_ip': '97.232.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.232.160.194', 'tags': [], 'project_id': '298fcb1440bf47dfb9c990780163f133'}} 2025-11-04 21:51:03,706 - INFO - Created VN ctest-vn-57923819 2025-11-04 21:51:03,758 - DEBUG - VN ctest-vn-57923819 UUID is 56c785f6-90dc-4174-a8c9-3cbcfd1e1b9f 2025-11-04 21:51:04,064 - DEBUG - Response for create_network : {'network': {'id': '81c7702a-5ecc-464e-bc6d-9a48a2ce2f71', 'name': 'ctest-ext_vn-21019549', 'tenant_id': '298fcb1440bf47dfb9c990780163f133', 'project_id': '298fcb1440bf47dfb9c990780163f133', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56773833', 'ctest-ext_vn-21019549'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:51:04,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '17b50e58-2041-48f1-8d08-992f9df70357', 'name': '', 'tenant_id': '298fcb1440bf47dfb9c990780163f133', 'network_id': '81c7702a-5ecc-464e-bc6d-9a48a2ce2f71', 'ip_version': 4, 'cidr': '43.50.21.192/26', 'allocation_pools': [{'start': '43.50.21.194', 'end': '43.50.21.254'}], 'gateway_ip': '43.50.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.50.21.194', 'tags': [], 'project_id': '298fcb1440bf47dfb9c990780163f133'}} 2025-11-04 21:51:04,274 - INFO - Created VN ctest-ext_vn-21019549 2025-11-04 21:51:04,326 - DEBUG - VN ctest-ext_vn-21019549 UUID is 81c7702a-5ecc-464e-bc6d-9a48a2ce2f71 2025-11-04 21:51:04,527 - DEBUG - Services list from nova: [, , ] 2025-11-04 21:51:05,548 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:51:06,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4624-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4624-1) 2025-11-04 21:51:06,775 - INFO - Setting gateway for router 210635e1-e3de-4d9b-be07-293fc608859d to network 81c7702a-5ecc-464e-bc6d-9a48a2ce2f71 2025-11-04 21:51:06,844 - INFO - Adding interface with subnet_id 3275b395-1034-4afd-9195-116a8f3397ee, port_id None to router 210635e1-e3de-4d9b-be07-293fc608859d 2025-11-04 21:51:07,245 - INFO - Waiting for VM ctest-TestRoutersBasic-56773833-55308012 to be up.. 2025-11-04 21:51:07,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 21:51:12,529 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:51:12,529 - INFO - VM name : ctest-TestRoutersBasic-56773833-55308012 2025-11-04 21:51:12,609 - DEBUG - VM ctest-TestRoutersBasic-56773833-55308012 ID is 177a85ab-111c-44d2-a328-8d025fe3d0c3 2025-11-04 21:51:12,633 - DEBUG - VM ctest-TestRoutersBasic-56773833-55308012 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:51:12,711 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/177a85ab-111c-44d2-a328-8d025fe3d0c3 2025-11-04 21:51:13,016 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/177a85ab-111c-44d2-a328-8d025fe3d0c3 2025-11-04 21:51:13,055 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/9af7bc39-5bf0-4c1b-9de3-b3968353f8b4 2025-11-04 21:51:16,311 - 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 1016ms') 2025-11-04 21:51:16,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56773833-55308012 failed! 2025-11-04 21:51:16,367 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56773833:ctest-vn-57923819 is 97.232.160.193 and allocation pool is NOT set 2025-11-04 21:51:18,426 - 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.446 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.446/1.644/2.843/1.198 ms') 2025-11-04 21:51:18,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56773833-55308012 passed 2025-11-04 21:51:18,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:18,578 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56773833-55308012, IP 97.232.160.195, Port 22 2025-11-04 21:51:18,739 - DEBUG - VM ctest-TestRoutersBasic-56773833-55308012 is ready for SSH connections 2025-11-04 21:51:18,739 - INFO - Waiting for VM ctest-TestRoutersBasic-56773833-80454888 to be up.. 2025-11-04 21:51:18,822 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:51:18,822 - INFO - VM name : ctest-TestRoutersBasic-56773833-80454888 2025-11-04 21:51:18,898 - DEBUG - VM ctest-TestRoutersBasic-56773833-80454888 ID is 702aab86-bc95-472c-a72f-24773e859fc8 2025-11-04 21:51:18,898 - DEBUG - VM ctest-TestRoutersBasic-56773833-80454888 launched on Node cn-jenkins-deploy-platform-ansible-os-4624-1 2025-11-04 21:51:18,973 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/702aab86-bc95-472c-a72f-24773e859fc8 2025-11-04 21:51:18,981 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/6118a198-c157-47cc-8643-ca964067241c 2025-11-04 21:51:20,212 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.831/3.234/1.403 ms') 2025-11-04 21:51:20,212 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56773833-80454888 passed 2025-11-04 21:51:20,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:20,362 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56773833-80454888, IP 43.50.21.195, Port 22 2025-11-04 21:51:20,526 - DEBUG - VM ctest-TestRoutersBasic-56773833-80454888 is ready for SSH connections 2025-11-04 21:51:20,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:51:20,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.50.21.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-04 21:51:20,526 - DEBUG - ping -s 56 -c 3 -W 1 43.50.21.195 2025-11-04 21:51:24,255 - DEBUG - PING 43.50.21.195 (43.50.21.195): 56 data bytes 64 bytes from 43.50.21.195: seq=0 ttl=62 time=4.351 ms 64 bytes from 43.50.21.195: seq=1 ttl=62 time=1.052 ms 64 bytes from 43.50.21.195: seq=2 ttl=62 time=1.146 ms --- 43.50.21.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.052/2.183/4.351 ms 2025-11-04 21:51:24,255 - INFO - Ping to IP 43.50.21.195 from VM ctest-TestRoutersBasic-56773833-55308012 passed 2025-11-04 21:51:24,255 - INFO - Deleting interface with subnet_id 3275b395-1034-4afd-9195-116a8f3397ee, port_id None from router 210635e1-e3de-4d9b-be07-293fc608859d 2025-11-04 21:51:24,454 - INFO - Deleting VM ctest-TestRoutersBasic-56773833-80454888 2025-11-04 21:51:24,528 - INFO - Deleting VM ctest-TestRoutersBasic-56773833-55308012 2025-11-04 21:51:24,604 - INFO - Deleting VN ctest-ext_vn-21019549 2025-11-04 21:51:24,677 - DEBUG - VN 81c7702a-5ecc-464e-bc6d-9a48a2ce2f71 still in use: Unable to complete operation on network 81c7702a-5ecc-464e-bc6d-9a48a2ce2f71. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b91e931-338d-46e5-b913-d4c7e4f42fb4'] 2025-11-04 21:51:24,677 - WARNING - Deleting VN ctest-ext_vn-21019549 failed..Will retry 2025-11-04 21:51:26,791 - DEBUG - Response for deleting network () 2025-11-04 21:51:26,791 - INFO - Deleting VN ctest-vn-57923819 2025-11-04 21:51:26,898 - DEBUG - Response for deleting network () 2025-11-04 21:51:27,155 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 21:51:27,155 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-11-04 21:51:27,156 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:51:27,816 - INFO - Deleted project: ctest-TestRoutersBasic-56773833, ID : 298fcb14-40bf-47df-b9c9-90780163f133