Lines Matching +full:retry +full:- +full:time
12 import time
96 BuiltIn().fail("Did not find any non-running BMC images.")
130 retry = 0
133 while retry < 60:
145 time.sleep(10)
150 time.sleep(10)
151 retry += 1
171 + "; stat -c '%Y %n' * |"
172 + " sort -k1,1nr | head -n 1"
174 return stdout.split(" ")[-1]
194 if content.find(b"version=") == -1:
197 content = content.decode("utf-8", "ignore").split("\n")
199 version = content[0].split("=")[-1]
217 return (stdout.split("\n")[0]).split("=")[-1]
232 return stdout.split("=")[-1]
248 "ls -d " + var.IMAGE_UPLOAD_DIR_PATH + "*/"
252 retry = 0
253 while retry < 10:
258 time.sleep(10)
259 retry += 1
265 a valid d-bus object. If the first check for the image
270 (e.g. "v2.2-253-g00050f1").
276 image_version_id = image_path.split("/")[-2]
298 time.sleep(30)
311 BMCs image uploads directory. If no image is found, retry every 30 seconds
312 until the given timeout is hit, in case the BMC takes time
327 + '| xargs grep -rl "version='
333 bsu.bmc_execute_command("rm -rf " + image_dir)
335 time.sleep(30)