Lines Matching +full:stdout +full:- +full:path
16 robot_pgm_dir_path = os.path.dirname(__file__) + os.sep
18 sys.path.append(repo_data_path)
96 BuiltIn().fail("Did not find any non-running BMC images.")
160 Get the path to the latest uploaded file.
163 dir_path Path to the dir from which the name of the
168 stdout, stderr, rc = bsu.bmc_execute_command(
171 + "; stat -c '%Y %n' * |"
172 + " sort -k1,1nr | head -n 1"
174 return stdout.split(" ")[-1]
182 tar_file_path The path to a tar file that holds the image
194 if content.find(b"version=") == -1:
197 content = content.decode("utf-8", "ignore").split("\n")
199 version = content[0].split("=")[-1]
210 file_path The path to a file that holds the image
214 stdout, stderr, rc = bsu.bmc_execute_command(
217 return (stdout.split("\n")[0]).split("=")[-1]
225 file_path The path to a file that holds the image
229 stdout, stderr, rc = bsu.bmc_execute_command(
232 return stdout.split("=")[-1]
247 stdout, stderr, rc = bsu.bmc_execute_command(
248 "ls -d " + var.IMAGE_UPLOAD_DIR_PATH + "*/"
251 image_list = stdout.split("\n")
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]
323 stdout, stderr, rc = bsu.bmc_execute_command(
327 + '| xargs grep -rl "version='
331 image_dir = os.path.dirname(stdout.split("\n")[0])
333 bsu.bmc_execute_command("rm -rf " + image_dir)