Lines Matching refs:logging
31 import logging
119 logging.exception("Exception in worker queue - task remains uncompleted.")
134 logging.info("Email with subject '%s' has been suppressed", subject)
163 logging.info("Email with subject '%s' has been sent", subject)
165 logging.exception("Failed to send notification email")
196 logging.info("Event '%s' detected on %s", self.name,
234 logging.info("Logging device info to %s", output)
257 logging.info("Restarting process %s", "".join(str(self.command)))
261 logging.info("Delaying for %.2f seconds", needed_delay)
295 logging.exception("Exception encountered running process")
306 logging.info("Process finished - exit code %d", self.process.exitstatus)
308 logging.info("Process finished - signal code %d",
312 logging.info("Process finished - return code %d",
315 logging.info("Process finished - no return code")
382 logging.info("Setting up device %s", self.name)
396 logging.info(line)
459 logging.error("Test event %s is not compatible with %s", event.name,
461 logging.error(str(err))
466 logging.error("Device %s test event is missing a name", self.name)
492 logging.exception("%s is not an attribute of expected_result", event)
507 logging.info(
510 logging.info("[STRESS_TEST] Will count only : %d",
532 logging.info(_SUMMARY_LINES)
533 logging.info(" iteration %d : Something wrong in %s.",
535 logging.info(_SUMMARY_LINES)
536 logging.info(_SUMMARY_COLUMNS)
537 logging.info(_SUMMARY_LINES)
539 logging.info(line)
540 logging.info(_SUMMARY_LINES)
553 logging.exception("Failed to pull %s", file_to_move.source)
560 logging.info("Condition has been met for event '%s'", event.name)
594 logging.info("Removing %s from the test", self.serial_number)
597 logging.info("Abort requested")
601 logging.info("Running command %s on %s", action, self.name)
605 logging.info(line)
632 logging.info(line.decode("utf-8"))
656 logging.info("Moving %s from %s to %s", source_file, self.name,
669 logging.info("Capturing bugreport on %s", self.name)
694 logging.info("Taking dumpsys %s on %s", dumpsys_unit, self.name)
830 logging.info("Waiting for devices to settle")
838 logging.info("Running command %s", command)
855 logging.info("Starting iteration %d", self.iteration)
865 logging.info("Waiting for %.2f seconds", step.delay_before)
869 logging.info("Playing %s", step.audio_file)
885 logging.info("Running command %s", step.command)
896 logging.info("Waiting for %.2f seconds", step.delay_after)
919 logging.error("Dropped device %s", device.name)
930 logging.info("Device %s reappeared", device.name)
954 logging.info(line)
961 logging.info("Completed full iteration : %d", self.iteration)
968 logging.debug("Stopping devices")
1020 formatter = logging.Formatter(
1022 root_logger = logging.getLogger()
1023 root_logger.setLevel(logging.INFO)
1024 root_logger.setLevel(logging.DEBUG)
1026 file_handler = logging.FileHandler(os.path.join(output_root,
1031 console_handler = logging.StreamHandler()
1039 logging.info("Stopping device logging threads")
1042 logging.info(line)