From fe37e98a3ef1cd4cbcbf9f0a480a2222e891ba28 Mon Sep 17 00:00:00 2001 From: Ning Zhang Date: Fri, 29 Nov 2019 15:33:08 +0800 Subject: [PATCH] Get vm ip failed during test host_route_handling.robot Increase timeout for Get VM IP. JIRA:INTTEST-66 Change-Id: If446618553ba2646168676c9601d431eaa649c89 Signed-off-by: Ning Zhang --- csit/suites/netvirt/host_route/host_route_handling.robot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/csit/suites/netvirt/host_route/host_route_handling.robot b/csit/suites/netvirt/host_route/host_route_handling.robot index 4b49f22220..3f699fc40a 100644 --- a/csit/suites/netvirt/host_route/host_route_handling.robot +++ b/csit/suites/netvirt/host_route/host_route_handling.robot @@ -49,6 +49,8 @@ Verify creation of host route via openstack subnet create option OpenStackOperations.Create Port @{NETWORKS}[0] @{GATEWAY_PORTS}[0] sg=${SECURITY_GROUP} allowed_address_pairs=${ALLOWED_ADDRESS_PAIR} OpenStackOperations.Create Vm Instance With Ports On Compute Node @{GATEWAY_PORTS}[0] @{GATEWAY_PORTS}[1] @{GATEWAY_VMS}[0] ${OS_CMP1_HOSTNAME} sg=${SECURITY_GROUP} OpenStackOperations.Create Vm Instance With Ports On Compute Node @{GATEWAY_PORTS}[4] @{GATEWAY_PORTS}[5] @{GATEWAY_VMS}[1] ${OS_CMP2_HOSTNAME} sg=${SECURITY_GROUP} + OpenStackOperations.Poll VM Is ACTIVE ${NETWORK_1_VMS} + BuiltIn.Wait Until Keyword Succeeds 180s 15s OpenStackOperations.Get VM IP true ${NETWORK_1_VMS} ${NETWORK_1_VM_IPS} ${NETWORK_1_DHCP_IP} ${VM_COSOLE_OUTPUT} = OpenStackOperations.Get VM IP true ${NETWORK_1_VMS} BuiltIn.Set Suite Variable ${NETWORK_1_VM_IPS} @{GATEWAY_VM_IPS} ${GATEWAY_DHCP_IP} = OpenStackOperations.Get VM IPs @{GATEWAY_VMS} -- 2.36.6