Lines Matching defs:logger
36 """Create logger for this script"""
56 logger = None
276 logger.info("run cmd: %s", cmd)
279 logger.error("ret = %s, %s generate abc file failed. cmd: %s", str(ret), js_file, cmd)
309 logger.info("run cmd: %s", cmd)
321 logger.error("%s execute abc file failed. cmd: %s", js_file_name, cmd)
332 logger.info("%s execute abc file successfully. cmd: %s case_test_data: %s",
340 logger.error("js perf cases path is not exist. jspath: %s", jspath)
341 logger.info("begin to run js perf test via ark. js perf cases path: %s", jspath)
354 logger.info("begin to execute %s.", js_case_name)
358 logger.info("finish executing %s. executing info: %s.", js_case_name, Constants.TODAY_EXCUTE_INFO)
362 logger.info("get js case super link data")
388 logger.info("export summary info to json file successfully.")
484 logger.error("parameter --binarypath is not exist. Please check it! binary path: %s", args.binarypath)
491 logger.error("parameter --d_8_binary_path is not exist. Please check it! d 8 binary path: %s",
495 logger.error("parameter --iterations <= 0. Please check it! iterations: %s",
680 logger.error("Couldn't send file %s to device", js_file_path)
684 logger.info("run cmd:%s", cmd)
694 logger.error("execute cmd failed. cmd: %s", cmd)
701 logger.info("v 8 excute %s successfully. cmd: %s", js_file_path, cmd)
786 logger.info("run cmd: %s", hdc_cmd)
799 logger.error("Couldn't send ark_js_vm to device")
804 logger.error("Couldn't send libark_jsruntime.so to device")
807 logger.error("Couldn't send icu data to device")
812 logger.error("Couldn't find lib from config %s", lib)
815 logger.error("Couldn't send %s lib to device", lib)
818 logger.error("Couldn't send %s file to device", Constants.STUB_AN)
859 logger = get_logger("jstest", LOG_PATH)
862 logger.info("execute arguments: %s", paras)
870 logger.error("%s does not exist", Constants.ARK_JS_VM_PATH)
903 logger.info("run js perf test finished. Please check details in report.")