2025-07-22 13:50:08,871 - INFO - Domain Default found not creating 2025-07-22 13:50:09,028 - INFO - Project ctest-TestRoutersBasic-76044220 not found, creating it 2025-07-22 13:50:09,487 - INFO - Created Project:ctest-TestRoutersBasic-76044220, ID : 8c151727-7b23-4d2b-8e66-7828c4710a59 2025-07-22 13:50:10,997 - INFO - ================================================================================ 2025-07-22 13:50:10,997 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-22 13:50:10,997 - 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-07-22 13:50:11,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.18': '0'}} with 2025-07-22 13:50:11,253 - INFO - Initial checks done. Running the testcase now 2025-07-22 13:50:11,254 - INFO - 2025-07-22 13:50:11,977 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-76044220 2025-07-22 13:50:12,079 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-76044220 2025-07-22 13:50:12,418 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76044220', 'default']} 2025-07-22 13:50:12,725 - DEBUG - Response for create_network : {'network': {'id': 'd9b42308-212a-494c-857b-83f83858629c', 'name': 'ctest-vn-16757521', 'tenant_id': '8c1517277b234d2b8e667828c4710a59', 'project_id': '8c1517277b234d2b8e667828c4710a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76044220', 'ctest-vn-16757521'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 13:50:12,928 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4a4d970-bd23-4b76-a605-3f6ab36e3d5c', 'name': '', 'tenant_id': '8c1517277b234d2b8e667828c4710a59', 'network_id': 'd9b42308-212a-494c-857b-83f83858629c', 'ip_version': 4, 'cidr': '202.32.59.192/26', 'allocation_pools': [{'start': '202.32.59.194', 'end': '202.32.59.254'}], 'gateway_ip': '202.32.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.32.59.194', 'tags': [], 'project_id': '8c1517277b234d2b8e667828c4710a59'}} 2025-07-22 13:50:12,947 - INFO - Created VN ctest-vn-16757521 2025-07-22 13:50:13,003 - DEBUG - VN ctest-vn-16757521 UUID is d9b42308-212a-494c-857b-83f83858629c 2025-07-22 13:50:13,331 - DEBUG - Response for create_network : {'network': {'id': 'f7c75e33-bbda-452c-83aa-362a614fdc3e', 'name': 'ctest-ext_vn-71881866', 'tenant_id': '8c1517277b234d2b8e667828c4710a59', 'project_id': '8c1517277b234d2b8e667828c4710a59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-76044220', 'ctest-ext_vn-71881866'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 13:50:13,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '456ac862-3470-4b0f-a1b8-8eec18500249', 'name': '', 'tenant_id': '8c1517277b234d2b8e667828c4710a59', 'network_id': 'f7c75e33-bbda-452c-83aa-362a614fdc3e', 'ip_version': 4, 'cidr': '180.251.8.128/26', 'allocation_pools': [{'start': '180.251.8.130', 'end': '180.251.8.190'}], 'gateway_ip': '180.251.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.251.8.130', 'tags': [], 'project_id': '8c1517277b234d2b8e667828c4710a59'}} 2025-07-22 13:50:13,562 - INFO - Created VN ctest-ext_vn-71881866 2025-07-22 13:50:13,615 - DEBUG - VN ctest-ext_vn-71881866 UUID is f7c75e33-bbda-452c-83aa-362a614fdc3e 2025-07-22 13:50:13,787 - DEBUG - Services list from nova: [, , ] 2025-07-22 13:50:14,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3691-1) 2025-07-22 13:50:16,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3691-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3691-1) 2025-07-22 13:50:16,136 - INFO - Setting gateway for router 1a4e332c-4130-4503-954f-abc5160cdca1 to network f7c75e33-bbda-452c-83aa-362a614fdc3e 2025-07-22 13:50:16,222 - INFO - Adding interface with subnet_id c4a4d970-bd23-4b76-a605-3f6ab36e3d5c, port_id None to router 1a4e332c-4130-4503-954f-abc5160cdca1 2025-07-22 13:50:16,768 - INFO - Waiting for VM ctest-TestRoutersBasic-76044220-44649423 to be up.. 2025-07-22 13:50:16,895 - DEBUG - VM is in ACTIVE state now 2025-07-22 13:50:16,896 - INFO - VM name : ctest-TestRoutersBasic-76044220-44649423 2025-07-22 13:50:17,049 - DEBUG - VM ctest-TestRoutersBasic-76044220-44649423 ID is 67568bbd-215f-41b8-8065-35ef0b5c8a49 2025-07-22 13:50:17,078 - DEBUG - VM ctest-TestRoutersBasic-76044220-44649423 launched on Node cn-jenkins-deploy-platform-ansible-os-3691-1 2025-07-22 13:50:17,207 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/67568bbd-215f-41b8-8065-35ef0b5c8a49 2025-07-22 13:50:17,517 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/67568bbd-215f-41b8-8065-35ef0b5c8a49 2025-07-22 13:50:17,557 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/b953a26a-8f84-4f23-8473-7331edd1c736 2025-07-22 13:50:20,848 - 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 1012ms') 2025-07-22 13:50:20,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76044220-44649423 failed! 2025-07-22 13:50:20,906 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76044220:ctest-vn-16757521 is 202.32.59.193 and allocation pool is NOT set 2025-07-22 13:50:24,973 - 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 1007ms') 2025-07-22 13:50:24,973 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76044220-44649423 failed! 2025-07-22 13:50:25,035 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-76044220:ctest-vn-16757521 is 202.32.59.193 and allocation pool is NOT set 2025-07-22 13:50:27,098 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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.474/1.749/3.025/1.275 ms') 2025-07-22 13:50:27,098 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-76044220-44649423 passed 2025-07-22 13:50:27,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:50:27,263 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044220-44649423, IP 202.32.59.195, Port 22 2025-07-22 13:50:27,418 - DEBUG - VM ctest-TestRoutersBasic-76044220-44649423 is ready for SSH connections 2025-07-22 13:50:27,418 - INFO - Waiting for VM ctest-TestRoutersBasic-76044220-89708156 to be up.. 2025-07-22 13:50:27,507 - DEBUG - VM is in ACTIVE state now 2025-07-22 13:50:27,507 - INFO - VM name : ctest-TestRoutersBasic-76044220-89708156 2025-07-22 13:50:27,609 - DEBUG - VM ctest-TestRoutersBasic-76044220-89708156 ID is 154fd864-60da-4310-9202-2affe726f320 2025-07-22 13:50:27,609 - DEBUG - VM ctest-TestRoutersBasic-76044220-89708156 launched on Node cn-jenkins-deploy-platform-ansible-os-3691-1 2025-07-22 13:50:27,697 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/154fd864-60da-4310-9202-2affe726f320 2025-07-22 13:50:27,708 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/98225437-4881-487c-a722-c6be65b5602e 2025-07-22 13:50:28,968 - 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.38 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.907/3.378/1.470 ms') 2025-07-22 13:50:28,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-76044220-89708156 passed 2025-07-22 13:50:29,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:50:29,123 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-76044220-89708156, IP 180.251.8.131, Port 22 2025-07-22 13:50:29,282 - DEBUG - VM ctest-TestRoutersBasic-76044220-89708156 is ready for SSH connections 2025-07-22 13:50:29,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 13:50:29,282 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.251.8.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-22 13:50:29,283 - DEBUG - ping -s 56 -c 3 -W 1 180.251.8.131 2025-07-22 13:50:32,982 - DEBUG - PING 180.251.8.131 (180.251.8.131): 56 data bytes 64 bytes from 180.251.8.131: seq=0 ttl=62 time=7.053 ms 64 bytes from 180.251.8.131: seq=1 ttl=62 time=1.086 ms 64 bytes from 180.251.8.131: seq=2 ttl=62 time=0.893 ms --- 180.251.8.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.893/3.010/7.053 ms 2025-07-22 13:50:32,983 - INFO - Ping to IP 180.251.8.131 from VM ctest-TestRoutersBasic-76044220-44649423 passed 2025-07-22 13:50:32,983 - INFO - Deleting interface with subnet_id c4a4d970-bd23-4b76-a605-3f6ab36e3d5c, port_id None from router 1a4e332c-4130-4503-954f-abc5160cdca1 2025-07-22 13:50:33,228 - INFO - Deleting VM ctest-TestRoutersBasic-76044220-89708156 2025-07-22 13:50:33,300 - INFO - Deleting VM ctest-TestRoutersBasic-76044220-44649423 2025-07-22 13:50:33,386 - INFO - Deleting VN ctest-ext_vn-71881866 2025-07-22 13:50:33,488 - DEBUG - VN f7c75e33-bbda-452c-83aa-362a614fdc3e still in use: Unable to complete operation on network f7c75e33-bbda-452c-83aa-362a614fdc3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f471790-5da2-4b1c-83f6-f333ccad585f'] 2025-07-22 13:50:33,489 - WARNING - Deleting VN ctest-ext_vn-71881866 failed..Will retry 2025-07-22 13:50:35,602 - DEBUG - Response for deleting network () 2025-07-22 13:50:35,602 - INFO - Deleting VN ctest-vn-16757521 2025-07-22 13:50:35,724 - DEBUG - Response for deleting network () 2025-07-22 13:50:35,987 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 13:50:35,987 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-07-22 13:50:35,987 - INFO - -------------------------------------------------------------------------------- 2025-07-22 13:50:36,679 - INFO - Deleted project: ctest-TestRoutersBasic-76044220, ID : 8c151727-7b23-4d2b-8e66-7828c4710a59