• Home
  • Raw
  • Download

Lines Matching refs:logging

17 import logging
233 logging.info(
367 logging.info('Checking ChromeOS image name on usbkey.')
375 logging.debug('Unexpected error occurred on mount usb drive.')
383 logging.info('The image on usbkey is not a test image')
389 logging.debug('Image check compeleted, unmounting the usb drive.')
496 logging.info('Validating image usbkey on servo.')
502 logging.error(e, exc_info=True)
503 logging.error('Unexpected error occurred on get usbkey dev path,'
515 logging.error('%s is reported from "image_usbkey_dev" control'
519 logging.warning('Timeout encountered during fdisk run,'
536 logging.error('Unexpected error when read from firmware'
597 logging.warning('Non-critical verify failure(s) detected during'
603 logging.info(
621 logging.debug('Request to reboot servohost %s has been created by '
629 logging.debug('Withdrawing request to reboot servohost %s that created'
639 logging.debug("Servohost is a localhost, skipping start servod.")
648 logging.warning('Board for DUT is unknown; starting servod'
687 logging.debug('Wait %s seconds for servod process fully up.', timeout)
697 logging.debug("Servohost is a localhost, skipping stop servod.")
700 logging.debug('Stopping servod on port %s', self.servo_port)
703 logging.debug('Wait %s seconds for servod process fully teardown.',
718 logging.error('The servo is not plugged on a usb hub that supports'
726 logging.error('No servo with serial %s found!', self.servo_serial)
729 logging.error('Unexpected error occurred from usbhub control, please'
748 logging.debug('Attempt to get servo usb-path failed due to '
755 logging.info('Usb path of servo %s is %s', self.servo_serial, usb_path)
775 logging.info('Servo reboot is only applicable for servo V3.')
781 logging.info('Uptime of servo_v3: %s hour(s)', uptime_hours)
795 logging.info(message)
800 logging.debug("Fail to reboot servo_v3; %s", e)
803 logging.info(message)
807 logging.info('Resetting servo through smart usbhub.')
819 logging.debug('Attempt to reset servo failed due to timeout;'
823 logging.debug('Wait %s seconds for servo to come back from reset.',
834 logging.info('Servo reset is not applicable to servo_v3.')
838 logging.info('Servo usb devnum before reset: %s', pre_reset_devnum)
844 logging.warning(message)
849 logging.info('Servo usb devnum after reset: %s', post_reset_devnum)
858 logging.info(message)
906 logging.info('No DEBUG logs found to extract MCU logs from.')
946 logging.info('No log timestamp grabbed successfully on servod '
950 logging.debug('Servod appears to have run without restarting')
957 logging.info('Servod has restarted %d times between the start and the '
959 logging.info('This might be an issue. Will extract all logs from each '
961 logging.info('Logs that are not the currently running (about to turn '
973 logging.info('Trying to retrieve %r panicinfo into logs',
978 logging.error('Failed to generate panicinfo for %r '
995 logging.info('Failed to find remote servod logs. Ignoring.')
1010 logging.error('Timestamp %r not in servod logs. Cannot query '
1033 logging.warning('servod log latest symlinks not found. '
1037 logging.warning('Failed to find servod logs on servo host.')
1038 logging.warning(res.stderr.strip())
1044 logging.warning('Failed to extract timestamp from servod log file '
1073 logging.info('Saving servod logs to %r.', log_dir)
1083 logging.info('No servod logs retrieved. Ignoring, and removing '
1091 logging.warning("Couldn't retrieve servod logs. Ignoring: %s",
1145 logging.debug('Locking servohost %s by touching %s file',
1153 logging.debug('Unlocking servohost by removing %s file',
1165 logging.debug('ServoHost is already closed.')
1178 logging.info('Servohost is down, will skip servod log collecting.')
1191 logging.info('Failed to grab servo logs due to: %s. '
1194 logging.error('Unexpected error probing for old logs. %s. '
1209 logging.info('Failed to grab servo logs due to: %s. '
1212 logging.error('Unexpected error grabbing servod logs. %s. '
1221 logging.error('Unlock servohost failed due to ssh timeout.'
1230 logging.info(
1260 logging.debug('Started to detect %s', servo_type)
1265 logging.debug('The %s is plugged in to the host.', servo_type)
1267 logging.debug('%s device is not detected; %s', servo_type, result)
1274 logging.error('%s device is not detected; %s', servo_type, str(e))
1283 logging.debug('Started to detect servo board on servo_v3')
1289 logging.debug('The servo board is detected on servo_v3')
1291 logging.debug('%s; %s', not_detected, result)
1298 logging.error('%s; %s', not_detected, str(e))
1309 logging.debug('latest log for servod created at %s',
1316 logging.debug('Cannot read time from log file name: %s',
1322 logging.debug('log file was created more than hour ago, too old')
1324 logging.debug('latest log was created not longer then 1 hour ago')
1332 logging.info('Servod cannot detect main device on the servo; '
1336 logging.debug('The main device is detected')
1418 logging.debug('servo_micro serial: %s', serial)
1451 logging.info('We do not have special state for this failure yet :)')
1457 logging.info('Servo-Host is not reachable.')
1460 logging.info('Servo-topology supported only for labstation.')
1463 logging.info('Servo-topology required a servo serial.')
1483 logging.debug('setting dut_health_profile field to (%s)',
1528 logging.info('Mapping AFE board=%s to %s', afe_board, mapped_board)
1548 logging.error('servo port is not an int: %s',
1636 logging.debug(
1645 logging.debug('No servo_args provided, and failed to find overrides.')
1655 logging.debug(
1660 logging.debug(
1683 logging.info('[Non-critical] Unexpected error while trying to'
1693 logging.info('Servohost is a localhost, skip device'
1699 logging.info(
1705 logging.info("Check and update servo firmware.")
1710 logging.error("Servo device update error: %s", e)
1715 logging.warning("Restart servod failed due ssh connection "
1719 logging.warning("Restart servod failed due to:\n%s\n"
1734 logging.exception('servo repair failed for %s', newhost.hostname)
1739 logging.exception('servo verify failed for %s', newhost.hostname)