2025-09-23 20:35:11,881 - INFO - Domain Default found not creating 2025-09-23 20:35:12,192 - INFO - Project ctest-TestRoutersBasic-45019569 not found, creating it 2025-09-23 20:35:12,844 - INFO - Created Project:ctest-TestRoutersBasic-45019569, ID : 4c475d2b-2d01-4565-9479-3900d447ae3a 2025-09-23 20:35:14,827 - INFO - ================================================================================ 2025-09-23 20:35:14,827 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-23 20:35:14,827 - 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-09-23 20:35:15,152 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 20:35:15,153 - INFO - Initial checks done. Running the testcase now 2025-09-23 20:35:15,153 - INFO - 2025-09-23 20:35:16,703 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-45019569 2025-09-23 20:35:16,807 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-45019569 2025-09-23 20:35:17,206 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45019569', 'default']} 2025-09-23 20:35:17,653 - DEBUG - Response for create_network : {'network': {'id': '0cf7e827-4ccf-4bc9-a88e-d88936da803f', 'name': 'ctest-vn-20725102', 'tenant_id': '4c475d2b2d01456594793900d447ae3a', 'project_id': '4c475d2b2d01456594793900d447ae3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45019569', 'ctest-vn-20725102'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:35:17,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '5677b9f3-cef1-4935-b85b-389664cf57b2', 'name': '', 'tenant_id': '4c475d2b2d01456594793900d447ae3a', 'network_id': '0cf7e827-4ccf-4bc9-a88e-d88936da803f', 'ip_version': 4, 'cidr': '138.216.41.0/26', 'allocation_pools': [{'start': '138.216.41.2', 'end': '138.216.41.62'}], 'gateway_ip': '138.216.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.216.41.2', 'tags': [], 'project_id': '4c475d2b2d01456594793900d447ae3a'}} 2025-09-23 20:35:17,892 - INFO - Created VN ctest-vn-20725102 2025-09-23 20:35:17,955 - DEBUG - VN ctest-vn-20725102 UUID is 0cf7e827-4ccf-4bc9-a88e-d88936da803f 2025-09-23 20:35:18,375 - DEBUG - Response for create_network : {'network': {'id': '0e9885ac-4223-49c0-a918-3d8fa8b5a41b', 'name': 'ctest-ext_vn-41313175', 'tenant_id': '4c475d2b2d01456594793900d447ae3a', 'project_id': '4c475d2b2d01456594793900d447ae3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-45019569', 'ctest-ext_vn-41313175'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 20:35:18,633 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e87cf15-ad70-4d21-803d-58b7d113bfe8', 'name': '', 'tenant_id': '4c475d2b2d01456594793900d447ae3a', 'network_id': '0e9885ac-4223-49c0-a918-3d8fa8b5a41b', 'ip_version': 4, 'cidr': '55.53.87.192/26', 'allocation_pools': [{'start': '55.53.87.194', 'end': '55.53.87.254'}], 'gateway_ip': '55.53.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.53.87.194', 'tags': [], 'project_id': '4c475d2b2d01456594793900d447ae3a'}} 2025-09-23 20:35:18,657 - INFO - Created VN ctest-ext_vn-41313175 2025-09-23 20:35:18,716 - DEBUG - VN ctest-ext_vn-41313175 UUID is 0e9885ac-4223-49c0-a918-3d8fa8b5a41b 2025-09-23 20:35:19,010 - DEBUG - Services list from nova: [, , ] 2025-09-23 20:35:20,585 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1) 2025-09-23 20:35:22,061 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4178-1) 2025-09-23 20:35:22,146 - INFO - Setting gateway for router b8f424bc-f9ab-45f9-aba1-82d77b5aba94 to network 0e9885ac-4223-49c0-a918-3d8fa8b5a41b 2025-09-23 20:35:22,229 - INFO - Adding interface with subnet_id 5677b9f3-cef1-4935-b85b-389664cf57b2, port_id None to router b8f424bc-f9ab-45f9-aba1-82d77b5aba94 2025-09-23 20:35:22,540 - INFO - Waiting for VM ctest-TestRoutersBasic-45019569-28639615 to be up.. 2025-09-23 20:35:22,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 20:35:27,796 - DEBUG - VM is in ACTIVE state now 2025-09-23 20:35:27,796 - INFO - VM name : ctest-TestRoutersBasic-45019569-28639615 2025-09-23 20:35:27,935 - DEBUG - VM ctest-TestRoutersBasic-45019569-28639615 ID is 62d6fe4e-a914-450e-a2e1-b8e569e98bd2 2025-09-23 20:35:27,968 - DEBUG - VM ctest-TestRoutersBasic-45019569-28639615 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1 2025-09-23 20:35:28,115 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/62d6fe4e-a914-450e-a2e1-b8e569e98bd2 2025-09-23 20:35:28,469 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/62d6fe4e-a914-450e-a2e1-b8e569e98bd2 2025-09-23 20:35:28,508 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/62047529-5564-4d32-a90d-67e384589154 2025-09-23 20:35:31,791 - 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 1004ms') 2025-09-23 20:35:31,791 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45019569-28639615 failed! 2025-09-23 20:35:31,863 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-45019569:ctest-vn-20725102 is 138.216.41.1 and allocation pool is NOT set 2025-09-23 20:35:33,940 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.824 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.824/5.906/10.989/5.082 ms') 2025-09-23 20:35:33,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-45019569-28639615 passed 2025-09-23 20:35:34,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:35:34,128 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45019569-28639615, IP 138.216.41.3, Port 22 2025-09-23 20:35:34,331 - DEBUG - VM ctest-TestRoutersBasic-45019569-28639615 is ready for SSH connections 2025-09-23 20:35:34,331 - INFO - Waiting for VM ctest-TestRoutersBasic-45019569-53809948 to be up.. 2025-09-23 20:35:34,535 - DEBUG - VM is in ACTIVE state now 2025-09-23 20:35:34,535 - INFO - VM name : ctest-TestRoutersBasic-45019569-53809948 2025-09-23 20:35:34,731 - DEBUG - VM ctest-TestRoutersBasic-45019569-53809948 ID is 5773f460-092c-42ad-8b61-5f86f1403e7b 2025-09-23 20:35:34,731 - DEBUG - VM ctest-TestRoutersBasic-45019569-53809948 launched on Node cn-jenkins-deploy-platform-ansible-os-4178-1 2025-09-23 20:35:34,902 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5773f460-092c-42ad-8b61-5f86f1403e7b 2025-09-23 20:35:34,920 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9248f826-7936-450a-b3cb-300fe9b2ae7c 2025-09-23 20:35:36,231 - 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=9.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.199/5.535/9.872/4.336 ms') 2025-09-23 20:35:36,231 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-45019569-53809948 passed 2025-09-23 20:35:36,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:35:36,408 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-45019569-53809948, IP 55.53.87.195, Port 22 2025-09-23 20:35:36,609 - DEBUG - VM ctest-TestRoutersBasic-45019569-53809948 is ready for SSH connections 2025-09-23 20:35:36,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 20:35:36,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.53.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 20:35:36,610 - DEBUG - ping -s 56 -c 3 -W 1 55.53.87.195 2025-09-23 20:35:40,850 - DEBUG - PING 55.53.87.195 (55.53.87.195): 56 data bytes 64 bytes from 55.53.87.195: seq=0 ttl=62 time=7.146 ms 64 bytes from 55.53.87.195: seq=1 ttl=62 time=1.843 ms 64 bytes from 55.53.87.195: seq=2 ttl=62 time=1.899 ms --- 55.53.87.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.843/3.629/7.146 ms 2025-09-23 20:35:40,897 - INFO - Ping to IP 55.53.87.195 from VM ctest-TestRoutersBasic-45019569-28639615 passed 2025-09-23 20:35:40,897 - INFO - Deleting interface with subnet_id 5677b9f3-cef1-4935-b85b-389664cf57b2, port_id None from router b8f424bc-f9ab-45f9-aba1-82d77b5aba94 2025-09-23 20:35:41,227 - INFO - Deleting VM ctest-TestRoutersBasic-45019569-53809948 2025-09-23 20:35:41,299 - INFO - Deleting VM ctest-TestRoutersBasic-45019569-28639615 2025-09-23 20:35:41,391 - INFO - Deleting VN ctest-ext_vn-41313175 2025-09-23 20:35:41,481 - DEBUG - VN 0e9885ac-4223-49c0-a918-3d8fa8b5a41b still in use: Unable to complete operation on network 0e9885ac-4223-49c0-a918-3d8fa8b5a41b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-560270df-54d8-4737-a697-d8debb9d6e5a'] 2025-09-23 20:35:41,481 - WARNING - Deleting VN ctest-ext_vn-41313175 failed..Will retry 2025-09-23 20:35:43,666 - DEBUG - Response for deleting network () 2025-09-23 20:35:43,666 - INFO - Deleting VN ctest-vn-20725102 2025-09-23 20:35:43,800 - DEBUG - Response for deleting network () 2025-09-23 20:35:44,109 - DEBUG - No XMPP flaps were noticed during the test 2025-09-23 20:35:44,109 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2025-09-23 20:35:44,109 - INFO - -------------------------------------------------------------------------------- 2025-09-23 20:35:45,105 - INFO - Deleted project: ctest-TestRoutersBasic-45019569, ID : 4c475d2b-2d01-4565-9479-3900d447ae3a